Home
last modified time | relevance | path

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

/third_party/skia/src/sksl/ir/
DSkSLConstructor.h24 virtual SkSpan<std::unique_ptr<Expression>> argumentSpan() = 0;
25 virtual SkSpan<const std::unique_ptr<Expression>> argumentSpan() const = 0;
28 for (const std::unique_ptr<Expression>& arg : this->argumentSpan()) { in hasProperty()
39 for (const std::unique_ptr<Expression>& arg : this->argumentSpan()) { in description()
53 for (const std::unique_ptr<Expression>& arg : this->argumentSpan()) { in isCompileTimeConstant()
62 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
DSkSLConstructorArrayCast.cpp24 auto inputArgs = constCtor->as<ConstructorArray>().argumentSpan(); in cast_constant_array()
DSkSLConstructor.cpp178 for (const std::unique_ptr<Expression>& arg : this->argumentSpan()) { in getConstantValue()
DSkSLSwizzle.cpp111 auto baseArguments = base.argumentSpan(); in optimize_constructor_swizzle()
/third_party/skia/src/sksl/
DSkSLDehydrator.cpp283 this->writeExpressionSpan(e->as<ConstructorArray>().argumentSpan()); in write()
289 this->writeExpressionSpan(e->as<ConstructorArrayCast>().argumentSpan()); in write()
295 this->writeExpressionSpan(e->as<ConstructorCompound>().argumentSpan()); in write()
301 this->writeExpressionSpan(e->as<ConstructorCompoundCast>().argumentSpan()); in write()
307 this->writeExpressionSpan(e->as<ConstructorDiagonalMatrix>().argumentSpan()); in write()
313 this->writeExpressionSpan(e->as<ConstructorMatrixResize>().argumentSpan()); in write()
319 this->writeExpressionSpan(e->as<ConstructorScalarCast>().argumentSpan()); in write()
325 this->writeExpressionSpan(e->as<ConstructorSplat>().argumentSpan()); in write()
331 this->writeExpressionSpan(e->as<ConstructorStruct>().argumentSpan()); in write()
DSkSLAnalysis.cpp414 expr.asAnyConstructor().argumentSpan().size() == 1 && in IsTrivialExpression()
415 IsTrivialExpression(*expr.asAnyConstructor().argumentSpan().front())) || in IsTrivialExpression()
450 const auto leftSpan = leftCtor.argumentSpan(); in IsSameExpressionTree()
451 const auto rightSpan = rightCtor.argumentSpan(); in IsSameExpressionTree()
661 for (auto& arg : c.argumentSpan()) { in visitExpression()
DSkSLInliner.cpp985 for (std::unique_ptr<Expression>& arg : constructorExpr.argumentSpan()) { in visitExpression()
/third_party/skia/src/sksl/codegen/
DSkSLMetalCodeGenerator.cpp961 auto args = ctor.argumentSpan(); in assembleMatrixFromExpressions()
1035 auto args = c.argumentSpan(); in getMatrixConstructHelper()
1198 if (c.type().columns() == 4 && c.argumentSpan().size() == 1) { in writeConstructorCompoundVector()
1199 const Expression& expr = *c.argumentSpan().front(); in writeConstructorCompoundVector()
1270 for (const std::unique_ptr<Expression>& arg : c.argumentSpan()) { in writeAnyConstructor()
2575 for (const auto& arg : c.argumentSpan()) { in requirements()
DSkSLSPIRVCodeGenerator.cpp1339 SkASSERT(c.argumentSpan().size() == 1); in writeFloatConstructor()
1341 const Expression& ctorExpr = *c.argumentSpan().front(); in writeFloatConstructor()
1373 SkASSERT(c.argumentSpan().size() == 1); in writeIntConstructor()
1375 const Expression& ctorExpr = *c.argumentSpan().front(); in writeIntConstructor()
1408 SkASSERT(c.argumentSpan().size() == 1); in writeUIntConstructor()
1410 const Expression& ctorExpr = *c.argumentSpan().front(); in writeUIntConstructor()
1443 SkASSERT(c.argumentSpan().size() == 1); in writeBooleanConstructor()
1445 const Expression& ctorExpr = *c.argumentSpan().front(); in writeBooleanConstructor()
1740 auto ctorArgs = c.argumentSpan(); in writeCompositeConstructor()
DSkSLGLSLCodeGenerator.cpp710 const auto arguments = c.argumentSpan(); in writeCastConstructor()
731 for (const auto& arg : c.argumentSpan()) { in writeAnyConstructor()
DSkSLPipelineStageCodeGenerator.cpp520 for (const auto& arg : c.argumentSpan()) { in writeAnyConstructor()
DSkSLVMCodeGenerator.cpp751 for (const auto &arg : c.argumentSpan()) { in writeAggregationConstructor()
830 auto arguments = c.argumentSpan(); in writeConstructorCast()