Searched refs:getConstantSubexpression (Results 1 – 15 of 15) sorted by relevance
137 const Expression* AnyConstructor::getConstantSubexpression(int n) const { in getConstantSubexpression() function in SkSL::AnyConstructor142 return arg->getConstantSubexpression(n); in getConstantSubexpression()158 const Expression* left = this->getConstantSubexpression(n); in compareConstant()162 const Expression* right = other.getConstantSubexpression(n); in compareConstant()
24 const Expression* ConstructorDiagonalMatrix::getConstantSubexpression(int n) const { in getConstantSubexpression() function in SkSL::ConstructorDiagonalMatrix34 return (col == row) ? this->argument()->getConstantSubexpression(0) : &fZeroLiteral; in getConstantSubexpression()
41 const Expression* getConstantSubexpression(int n) const override { in getConstantSubexpression() function43 return this->argument()->getConstantSubexpression(0); in getConstantSubexpression()
30 const Expression* ConstructorMatrixResize::getConstantSubexpression(int n) const { in getConstantSubexpression() function in SkSL::ConstructorMatrixResize50 return this->argument()->getConstantSubexpression(n); in getConstantSubexpression()
42 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()
43 const Expression* getConstantSubexpression(int n) const override;
45 const Expression* getConstantSubexpression(int n) const override;
72 const Expression* getConstantSubexpression(int n) const override { in getConstantSubexpression() function
78 const Expression* getConstantSubexpression(int n) const override { in getConstantSubexpression() function
80 const Expression* getConstantSubexpression(int n) const override { in getConstantSubexpression() function
166 virtual const Expression* getConstantSubexpression(int n) const { in getConstantSubexpression() function
71 const Expression* getConstantSubexpression(int n) const override;
102 U value = foldFn(left.getConstantSubexpression(i)->as<Literal<T>>().value(), in simplify_vector()103 right.getConstantSubexpression(i)->as<Literal<T>>().value()); in simplify_vector()
801 const Expression* valExpr = expr.getConstantSubexpression(0); in get_constant_value()
1199 const Expression* expr = c.getConstantSubexpression(n); in writeConstantVector()