Searched refs:ConstructorCompound (Results 1 – 15 of 15) sorted by relevance
/third_party/skia/src/sksl/ir/ |
D | SkSLConstructorCompound.cpp | 17 std::unique_ptr<Expression> ConstructorCompound::Make(const Context& context, in Make() 54 fields += arg->is<ConstructorCompound>() in Make() 55 ? arg->as<ConstructorCompound>().arguments().size() in Make() 66 if (!arg->is<ConstructorCompound>()) { in Make() 71 ConstructorCompound& compositeCtor = arg->as<ConstructorCompound>(); in Make() 86 return std::make_unique<ConstructorCompound>(line, type, std::move(args)); in Make()
|
D | SkSLConstructorCompound.h | 27 class ConstructorCompound final : public MultiArgumentConstructor { 31 ConstructorCompound(int line, const Type& type, ExpressionArray args) in ConstructorCompound() function 40 return std::make_unique<ConstructorCompound>(fLine, this->type(), this->cloneArguments()); in clone()
|
D | SkSLPrefixExpression.cpp | 84 const ConstructorCompound& ctor = value->as<ConstructorCompound>(); in simplify_negation() 85 return ConstructorCompound::Make(context, originalExpr.fLine, ctor.type(), in simplify_negation()
|
D | SkSLConstructor.cpp | 104 ConstructorCompound::Make(context, line, vectorType, std::move(args)); in convert_compound_constructor() 147 return ConstructorCompound::Make(context, line, type, std::move(args)); in convert_compound_constructor()
|
D | SkSLConstructorCompoundCast.cpp | 64 return ConstructorCompound::Make(context, constCtor->fLine, destType, in cast_constant_composite()
|
D | SkSLIndexExpression.cpp | 146 return ConstructorCompound::Make(context, line, vecType, std::move(ctorArgs)); in Make()
|
D | SkSLFunctionCall.cpp | 71 return ConstructorCompound::Make(context, line, returnType, std::move(array)); in assemble_compound()
|
/third_party/skia/src/sksl/codegen/ |
D | SkSLMetalCodeGenerator.h | 23 class ConstructorCompound; variable 164 bool matrixConstructHelperIsNeeded(const ConstructorCompound& c); 193 void writeConstructorCompound(const ConstructorCompound& c, Precedence parentPrecedence); 195 void writeConstructorCompoundVector(const ConstructorCompound& c, Precedence parentPrecedence); 197 void writeConstructorCompoundMatrix(const ConstructorCompound& c, Precedence parentPrecedence);
|
D | SkSLSPIRVCodeGenerator.h | 25 class ConstructorCompound; variable 309 SpvId writeConstructorCompound(const ConstructorCompound& c, OutputStream& out); 311 SpvId writeMatrixConstructor(const ConstructorCompound& c, OutputStream& out); 313 SpvId writeVectorConstructor(const ConstructorCompound& c, OutputStream& out);
|
D | SkSLMetalCodeGenerator.cpp | 144 this->writeConstructorCompound(expr.as<ConstructorCompound>(), parentPrecedence); in writeExpression() 1076 bool MetalCodeGenerator::matrixConstructHelperIsNeeded(const ConstructorCompound& c) { in matrixConstructHelperIsNeeded() 1130 void MetalCodeGenerator::writeConstructorCompound(const ConstructorCompound& c, in writeConstructorCompound() 1192 void MetalCodeGenerator::writeConstructorCompoundVector(const ConstructorCompound& c, in writeConstructorCompoundVector() 1212 void MetalCodeGenerator::writeConstructorCompoundMatrix(const ConstructorCompound& c, in writeConstructorCompoundMatrix()
|
D | SkSLSPIRVCodeGenerator.cpp | 783 return this->writeConstructorCompound(expr.as<ConstructorCompound>(), out); in writeExpression() 1011 ConstructorCompound ctor(/*line=*/-1, *fContext.fTypes.fInt2, std::move(args)); in writeSpecialIntrinsic() 1597 SpvId SPIRVCodeGenerator::writeMatrixConstructor(const ConstructorCompound& c, OutputStream& out) { in writeMatrixConstructor() 1657 SpvId SPIRVCodeGenerator::writeConstructorCompound(const ConstructorCompound& c, in writeConstructorCompound() 1663 SpvId SPIRVCodeGenerator::writeVectorConstructor(const ConstructorCompound& c, OutputStream& out) { in writeVectorConstructor()
|
/third_party/skia/src/sksl/ |
D | SkSLInliner.cpp | 350 const ConstructorCompound& ctor = expression.as<ConstructorCompound>(); in inlineExpression() 351 return ConstructorCompound::Make(*fContext, line, in inlineExpression()
|
D | SkSLDehydrator.cpp | 295 this->writeExpressionSpan(e->as<ConstructorCompound>().argumentSpan()); in write()
|
D | SkSLConstantFolder.cpp | 128 return ConstructorCompound::Make(context, left.fLine, type, std::move(args)); in simplify_vector()
|
D | SkSLRehydrator.cpp | 429 return ConstructorCompound::Make(fContext, /*line=*/-1, *type, in expression()
|