Home
last modified time | relevance | path

Searched refs:getConstantSubexpression (Results 1 – 15 of 15) sorted by relevance

/external/skia/src/sksl/ir/
DSkSLConstructor.cpp137 const Expression* AnyConstructor::getConstantSubexpression(int n) const { in getConstantSubexpression() function in SkSL::AnyConstructor
142 return arg->getConstantSubexpression(n); in getConstantSubexpression()
158 const Expression* left = this->getConstantSubexpression(n); in compareConstant()
162 const Expression* right = other.getConstantSubexpression(n); in compareConstant()
DSkSLConstructorDiagonalMatrix.cpp24 const Expression* ConstructorDiagonalMatrix::getConstantSubexpression(int n) const { in getConstantSubexpression() function in SkSL::ConstructorDiagonalMatrix
34 return (col == row) ? this->argument()->getConstantSubexpression(0) : &fZeroLiteral; in getConstantSubexpression()
DSkSLConstructorSplat.h41 const Expression* getConstantSubexpression(int n) const override { in getConstantSubexpression() function
43 return this->argument()->getConstantSubexpression(0); in getConstantSubexpression()
DSkSLConstructorMatrixResize.cpp30 const Expression* ConstructorMatrixResize::getConstantSubexpression(int n) const { in getConstantSubexpression() function in SkSL::ConstructorMatrixResize
50 return this->argument()->getConstantSubexpression(n); in getConstantSubexpression()
DSkSLFunctionCall.cpp42 const Expression* subexpression = arg->getConstantSubexpression(index); in coalesce_bool_vector()
64 const Expression* leftSubexpr = left.getConstantSubexpression(index); in optimize_comparison_of_type()
65 const Expression* rightSubexpr = right.getConstantSubexpression(index); in optimize_comparison_of_type()
108 const Expression* subexpr = arg->getConstantSubexpression(index); in evaluate_intrinsic_1_of_type()
DSkSLConstructorDiagonalMatrix.h43 const Expression* getConstantSubexpression(int n) const override;
DSkSLConstructorMatrixResize.h45 const Expression* getConstantSubexpression(int n) const override;
DSkSLBoolLiteral.h72 const Expression* getConstantSubexpression(int n) const override { in getConstantSubexpression() function
DSkSLFloatLiteral.h78 const Expression* getConstantSubexpression(int n) const override { in getConstantSubexpression() function
DSkSLIntLiteral.h80 const Expression* getConstantSubexpression(int n) const override { in getConstantSubexpression() function
DSkSLExpression.h166 virtual const Expression* getConstantSubexpression(int n) const { in getConstantSubexpression() function
DSkSLConstructor.h71 const Expression* getConstantSubexpression(int n) const override;
/external/skia/src/sksl/
DSkSLConstantFolder.cpp102 U value = foldFn(left.getConstantSubexpression(i)->as<Literal<T>>().value(), in simplify_vector()
103 right.getConstantSubexpression(i)->as<Literal<T>>().value()); in simplify_vector()
DSkSLAnalysis.cpp801 const Expression* valExpr = expr.getConstantSubexpression(0); in get_constant_value()
/external/skia/src/sksl/codegen/
DSkSLSPIRVCodeGenerator.cpp1199 const Expression* expr = c.getConstantSubexpression(n); in writeConstantVector()