Home
last modified time | relevance | path

Searched refs:GetConstantValueForVariable (Results 1 – 8 of 8) sorted by relevance

/external/skia/src/sksl/
DSkSLConstantFolder.cpp139 const Expression* expr = GetConstantValueForVariable(value); in GetConstantInt()
148 const Expression* expr = GetConstantValueForVariable(value); in GetConstantFloat()
157 const Expression* expr = ConstantFolder::GetConstantValueForVariable(inExpr); in is_constant_scalar_value()
206 const Expression* ConstantFolder::GetConstantValueForVariable(const Expression& inExpr) { in GetConstantValueForVariable() function in SkSL::ConstantFolder
238 const Expression* constantExpr = GetConstantValueForVariable(*expr); in MakeConstantValueForVariable()
331 left = GetConstantValueForVariable(leftExpr); in Simplify()
332 right = GetConstantValueForVariable(rightExpr); in Simplify()
DSkSLConstantFolder.h44 static const Expression* GetConstantValueForVariable(const Expression& value);
/external/skia/src/sksl/ir/
DSkSLIndexExpression.cpp52 const Expression* indexExpr = ConstantFolder::GetConstantValueForVariable(*index); in Convert()
77 const Expression* indexExpr = ConstantFolder::GetConstantValueForVariable(*index); in Make()
DSkSLFunctionCall.cpp22 const Expression* expr = ConstantFolder::GetConstantValueForVariable(*arg); in has_compile_time_constant_arguments()
35 const Expression* arg = ConstantFolder::GetConstantValueForVariable(*arguments.front()); in coalesce_bool_vector()
82 const Expression* left = ConstantFolder::GetConstantValueForVariable(*arguments[0]); in optimize_comparison()
83 const Expression* right = ConstantFolder::GetConstantValueForVariable(*arguments[1]); in optimize_comparison()
131 const Expression* arg = ConstantFolder::GetConstantValueForVariable(*arguments.front()); in evaluate_intrinsic_generic1()
DSkSLPrefixExpression.cpp26 const Expression* value = ConstantFolder::GetConstantValueForVariable(*operand); in negate_operand()
106 const Expression* value = ConstantFolder::GetConstantValueForVariable(*operand); in logical_not_operand()
DSkSLTernaryExpression.cpp68 const Expression* testExpr = ConstantFolder::GetConstantValueForVariable(*test); in Make()
DSkSLIfStatement.cpp76 const Expression* testValue = ConstantFolder::GetConstantValueForVariable(*test); in Make()
DSkSLSwizzle.cpp189 const Expression* value = ConstantFolder::GetConstantValueForVariable(*expr); in Make()