Home
last modified time | relevance | path

Searched refs:ConstructorCompoundCast (Results 1 – 10 of 10) sorted by relevance

/third_party/skia/src/sksl/ir/
DSkSLConstructorCompoundCast.h25 class ConstructorCompoundCast final : public SingleArgumentConstructor {
29 ConstructorCompoundCast(int line, const Type& type, std::unique_ptr<Expression> arg) in ConstructorCompoundCast() function
43 return std::make_unique<ConstructorCompoundCast>(fLine, this->type(), argument()->clone()); in clone()
DSkSLConstructorCompoundCast.cpp68 std::unique_ptr<Expression> ConstructorCompoundCast::Make(const Context& context, in Make()
92 return std::make_unique<ConstructorCompoundCast>(line, type, std::move(arg)); in Make()
DSkSLConstructor.cpp74 return ConstructorCompoundCast::Make(context, line, type, std::move(argument)); in convert_compound_constructor()
87 argument = ConstructorCompoundCast::Make(context, line, typecastType, in convert_compound_constructor()
108 return ConstructorCompoundCast::Make(context, line, type, std::move(vecCtor)); in convert_compound_constructor()
DSkSLConstructorArrayCast.cpp33 typecastArgs.push_back(ConstructorCompoundCast::Make(context, line, scalarType, in cast_constant_array()
DSkSLType.cpp767 return ConstructorCompoundCast::Make(context, line, *this, std::move(expr)); in coerceExpression()
/third_party/skia/src/sksl/codegen/
DSkSLSPIRVCodeGenerator.h26 class ConstructorCompoundCast; variable
325 SpvId writeConstructorCompoundCast(const ConstructorCompoundCast& c, OutputStream& out);
DSkSLSPIRVCodeGenerator.cpp785 return this->writeConstructorCompoundCast(expr.as<ConstructorCompoundCast>(), out); in writeExpression()
1763 SpvId SPIRVCodeGenerator::writeConstructorCompoundCast(const ConstructorCompoundCast& c, in writeConstructorCompoundCast()
/third_party/skia/src/sksl/
DSkSLInliner.cpp356 const ConstructorCompoundCast& ctor = expression.as<ConstructorCompoundCast>(); in inlineExpression()
357 return ConstructorCompoundCast::Make(*fContext, line, in inlineExpression()
DSkSLDehydrator.cpp301 this->writeExpressionSpan(e->as<ConstructorCompoundCast>().argumentSpan()); in write()
DSkSLRehydrator.cpp466 return ConstructorCompoundCast::Make(fContext,/*line=*/-1, *type, std::move(args[0])); in expression()