Lines Matching defs:arg
71 std::unique_ptr<Expression> arg) {
75 SkASSERT(arg->type().isVector() == type.isVector());
76 SkASSERT(arg->type().isMatrix() == type.isMatrix());
77 SkASSERT(type.columns() == arg->type().columns());
78 SkASSERT(type.rows() == arg->type().rows());
81 if (type == arg->type()) {
82 return arg;
86 arg = ConstantFolder::MakeConstantValueForVariable(std::move(arg));
89 if (arg->isCompileTimeConstant()) {
90 return cast_constant_composite(context, type, std::move(arg));
92 return std::make_unique<ConstructorCompoundCast>(line, type, std::move(arg));