Home
last modified time | relevance | path

Searched refs:ConstructorArray (Results 1 – 9 of 9) sorted by relevance

/third_party/skia/src/sksl/ir/
DSkSLConstructorArray.cpp15 std::unique_ptr<Expression> ConstructorArray::Convert(const Context& context, in Convert()
60 return ConstructorArray::Make(context, line, type, std::move(args)); in Convert()
63 std::unique_ptr<Expression> ConstructorArray::Make(const Context& context, in Make()
74 return std::make_unique<ConstructorArray>(line, type, std::move(args)); in Make()
DSkSLConstructorArray.h18 class ConstructorArray final : public MultiArgumentConstructor {
22 ConstructorArray(int line, const Type& type, ExpressionArray arguments) in ConstructorArray() function
39 return std::make_unique<ConstructorArray>(fLine, this->type(), this->cloneArguments()); in clone()
DSkSLIndexExpression.cpp111 if (baseExpr->is<ConstructorArray>()) { in Make()
112 const ConstructorArray& arrayCtor = baseExpr->as<ConstructorArray>(); in Make()
DSkSLConstructorArrayCast.cpp24 auto inputArgs = constCtor->as<ConstructorArray>().argumentSpan(); in cast_constant_array()
38 return ConstructorArray::Make(context, constCtor->fLine, destType, std::move(typecastArgs)); in cast_constant_array()
DSkSLPrefixExpression.cpp51 const ConstructorArray& ctor = value->as<ConstructorArray>(); in simplify_negation()
52 return ConstructorArray::Make(context, originalExpr.fLine, ctor.type(), in simplify_negation()
DSkSLConstructor.cpp166 return ConstructorArray::Convert(context, line, type, std::move(args)); in Convert()
/third_party/skia/src/sksl/
DSkSLInliner.cpp338 const ConstructorArray& ctor = expression.as<ConstructorArray>(); in inlineExpression()
339 return ConstructorArray::Make(*fContext, line, in inlineExpression()
DSkSLDehydrator.cpp283 this->writeExpressionSpan(e->as<ConstructorArray>().argumentSpan()); in write()
DSkSLRehydrator.cpp425 return ConstructorArray::Make(fContext, /*line=*/-1, *type, this->expressionArray()); in expression()