Searched refs:ConstructorCompound (Results 1 – 14 of 14) sorted by relevance
/external/skia/src/sksl/ir/ |
D | SkSLConstructorCompound.cpp | 16 std::unique_ptr<Expression> ConstructorCompound::Make(const Context& context, in Make() 51 fields += arg->is<ConstructorCompound>() in Make() 52 ? arg->as<ConstructorCompound>().arguments().size() in Make() 63 if (!arg->is<ConstructorCompound>()) { in Make() 68 ConstructorCompound& compositeCtor = arg->as<ConstructorCompound>(); in Make() 83 return std::make_unique<ConstructorCompound>(offset, type, std::move(args)); in Make()
|
D | SkSLConstructorCompound.h | 27 class ConstructorCompound final : public MultiArgumentConstructor { 31 ConstructorCompound(int offset, const Type& type, ExpressionArray args) in ConstructorCompound() function 40 return std::make_unique<ConstructorCompound>(fOffset, this->type(), this->cloneArguments()); in clone()
|
D | SkSLPrefixExpression.cpp | 82 ConstructorCompound& ctor = operand->as<ConstructorCompound>(); in negate_operand() 83 return ConstructorCompound::Make( in negate_operand()
|
D | SkSLConstructorCompoundCast.cpp | 63 return ConstructorCompound::Make(context, constCtor->fOffset, destType, in cast_constant_composite()
|
D | SkSLFunctionCall.cpp | 74 return ConstructorCompound::Make(context, left.fOffset, bvecType, std::move(result)); in optimize_comparison_of_type() 120 return ConstructorCompound::Make(context, arg->fOffset, vecType, std::move(result)); in evaluate_intrinsic_1_of_type()
|
D | SkSLConstructor.cpp | 108 return ConstructorCompound::Make(context, offset, type, std::move(args)); in convert_compound_constructor()
|
/external/skia/src/sksl/codegen/ |
D | SkSLMetalCodeGenerator.h | 176 bool matrixConstructHelperIsNeeded(const ConstructorCompound& c); 201 void writeConstructorCompound(const ConstructorCompound& c, Precedence parentPrecedence); 203 void writeConstructorCompoundMatrix(const ConstructorCompound& c, Precedence parentPrecedence);
|
D | SkSLSPIRVCodeGenerator.h | 292 SpvId writeConstructorCompound(const ConstructorCompound& c, OutputStream& out); 294 SpvId writeMatrixConstructor(const ConstructorCompound& c, OutputStream& out); 296 SpvId writeVectorConstructor(const ConstructorCompound& c, OutputStream& out);
|
D | SkSLMetalCodeGenerator.cpp | 144 this->writeConstructorCompound(expr.as<ConstructorCompound>(), parentPrecedence); in writeExpression() 978 bool MetalCodeGenerator::matrixConstructHelperIsNeeded(const ConstructorCompound& c) { in matrixConstructHelperIsNeeded() 1032 void MetalCodeGenerator::writeConstructorCompound(const ConstructorCompound& c, in writeConstructorCompound() 1041 void MetalCodeGenerator::writeConstructorCompoundMatrix(const ConstructorCompound& c, in writeConstructorCompoundMatrix()
|
D | SkSLSPIRVCodeGenerator.cpp | 729 return this->writeConstructorCompound(expr.as<ConstructorCompound>(), out); in writeExpression() 937 ConstructorCompound ctor(/*offset=*/-1, *fContext.fTypes.fInt2, std::move(args)); in writeSpecialIntrinsic() 1522 SpvId SPIRVCodeGenerator::writeMatrixConstructor(const ConstructorCompound& c, OutputStream& out) { in writeMatrixConstructor() 1596 SpvId SPIRVCodeGenerator::writeConstructorCompound(const ConstructorCompound& c, in writeConstructorCompound() 1602 SpvId SPIRVCodeGenerator::writeVectorConstructor(const ConstructorCompound& c, OutputStream& out) { in writeVectorConstructor()
|
/external/skia/src/sksl/ |
D | SkSLInliner.cpp | 321 const ConstructorCompound& ctor = expression.as<ConstructorCompound>(); in inlineExpression() 322 return ConstructorCompound::Make(*fContext, offset, in inlineExpression()
|
D | SkSLConstantFolder.cpp | 106 return ConstructorCompound::Make(context, left.fOffset, type, std::move(args)); in simplify_vector()
|
D | SkSLDehydrator.cpp | 300 this->writeExpressionSpan(e->as<ConstructorCompound>().argumentSpan()); in write()
|
D | SkSLRehydrator.cpp | 467 return ConstructorCompound::Make(fContext, /*offset=*/-1, *type, in expression()
|