Home
last modified time | relevance | path

Searched refs:argumentSpan (Results 1 – 13 of 13) sorted by relevance

/external/skia/src/sksl/ir/
DSkSLConstructor.h25 virtual SkSpan<std::unique_ptr<Expression>> argumentSpan() = 0;
26 virtual SkSpan<const std::unique_ptr<Expression>> argumentSpan() const = 0;
29 for (const std::unique_ptr<Expression>& arg : this->argumentSpan()) { in hasProperty()
40 for (const std::unique_ptr<Expression>& arg : this->argumentSpan()) { in description()
54 for (const std::unique_ptr<Expression>& arg : this->argumentSpan()) { in isCompileTimeConstant()
63 for (const std::unique_ptr<Expression>& arg : this->argumentSpan()) { in isConstantOrUniform()
99 SkSpan<std::unique_ptr<Expression>> argumentSpan() final { in argumentSpan() function
103 SkSpan<const std::unique_ptr<Expression>> argumentSpan() const final { in argumentSpan() function
139 SkSpan<std::unique_ptr<Expression>> argumentSpan() final { in argumentSpan() function
143 SkSpan<const std::unique_ptr<Expression>> argumentSpan() const final { in argumentSpan() function
DSkSLConstructorCompoundCast.cpp44 auto inputArgs = constCtor->asAnyConstructor().argumentSpan(); in cast_constant_composite()
DSkSLConstructor.cpp139 for (const std::unique_ptr<Expression>& arg : this->argumentSpan()) { in getConstantSubexpression()
DSkSLSwizzle.cpp205 auto baseArguments = base.argumentSpan(); in Make()
/external/skia/src/sksl/
DSkSLDehydrator.cpp294 this->writeExpressionSpan(e->as<ConstructorArray>().argumentSpan()); in write()
300 this->writeExpressionSpan(e->as<ConstructorCompound>().argumentSpan()); in write()
306 this->writeExpressionSpan(e->as<ConstructorCompoundCast>().argumentSpan()); in write()
312 this->writeExpressionSpan(e->as<ConstructorDiagonalMatrix>().argumentSpan()); in write()
318 this->writeExpressionSpan(e->as<ConstructorMatrixResize>().argumentSpan()); in write()
324 this->writeExpressionSpan(e->as<ConstructorScalarCast>().argumentSpan()); in write()
330 this->writeExpressionSpan(e->as<ConstructorSplat>().argumentSpan()); in write()
336 this->writeExpressionSpan(e->as<ConstructorStruct>().argumentSpan()); in write()
DSkSLAnalysis.cpp723 expr.asAnyConstructor().argumentSpan().size() == 1 && in IsTrivialExpression()
724 IsTrivialExpression(*expr.asAnyConstructor().argumentSpan().front())) || in IsTrivialExpression()
764 const auto leftSpan = leftCtor.argumentSpan(); in IsSameExpressionTree()
765 const auto rightSpan = rightCtor.argumentSpan(); in IsSameExpressionTree()
1167 for (auto& arg : c.argumentSpan()) { in visitExpression()
DSkSLConstantFolder.cpp164 for (const auto& arg : expr.asAnyConstructor().argumentSpan()) { in contains_constant_zero()
179 for (const auto& arg : expr.asAnyConstructor().argumentSpan()) { in is_constant_value()
DSkSLInliner.cpp964 for (std::unique_ptr<Expression>& arg : constructorExpr.argumentSpan()) { in visitExpression()
/external/skia/src/sksl/codegen/
DSkSLMetalCodeGenerator.cpp864 auto args = ctor.argumentSpan(); in assembleMatrixFromExpressions()
928 auto args = c.argumentSpan(); in getMatrixConstructHelper()
1097 for (const std::unique_ptr<Expression>& arg : c.argumentSpan()) { in writeAnyConstructor()
1110 auto args = c.argumentSpan(); in writeCastConstructor()
2316 for (const auto& arg : c.argumentSpan()) { in requirements()
DSkSLSPIRVCodeGenerator.cpp1246 SkASSERT(c.argumentSpan().size() == 1); in writeFloatConstructor()
1248 const Expression& ctorExpr = *c.argumentSpan().front(); in writeFloatConstructor()
1282 SkASSERT(c.argumentSpan().size() == 1); in writeIntConstructor()
1284 const Expression& ctorExpr = *c.argumentSpan().front(); in writeIntConstructor()
1319 SkASSERT(c.argumentSpan().size() == 1); in writeUIntConstructor()
1321 const Expression& ctorExpr = *c.argumentSpan().front(); in writeUIntConstructor()
1356 SkASSERT(c.argumentSpan().size() == 1); in writeBooleanConstructor()
1358 const Expression& ctorExpr = *c.argumentSpan().front(); in writeBooleanConstructor()
1667 auto ctorArgs = c.argumentSpan(); in writeCompositeConstructor()
DSkSLGLSLCodeGenerator.cpp694 const auto arguments = c.argumentSpan(); in writeCastConstructor()
715 for (const auto& arg : c.argumentSpan()) { in writeAnyConstructor()
DSkSLPipelineStageCodeGenerator.cpp450 for (const auto& arg : c.argumentSpan()) { in writeAnyConstructor()
DSkSLVMCodeGenerator.cpp643 for (const auto &arg : c.argumentSpan()) { in writeAggregationConstructor()
722 auto arguments = c.argumentSpan(); in writeConstructorCast()