Home
last modified time | relevance | path

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

/third_party/skia/src/sksl/ir/
DSkSLIndexExpression.cpp80 const Expression* indexExpr = ConstantFolder::GetConstantValueForVariable(*index); in Convert()
97 const Expression* indexExpr = ConstantFolder::GetConstantValueForVariable(*index); in Make()
110 const Expression* baseExpr = ConstantFolder::GetConstantValueForVariable(*base); in Make()
126 const Expression* baseExpr = ConstantFolder::GetConstantValueForVariable(*base); in Make()
DSkSLPrefixExpression.cpp28 const Expression* value = ConstantFolder::GetConstantValueForVariable(originalExpr); in simplify_negation()
124 const Expression* value = ConstantFolder::GetConstantValueForVariable(*operand); in logical_not_operand()
DSkSLTernaryExpression.cpp69 const Expression* testExpr = ConstantFolder::GetConstantValueForVariable(*test); in Make()
DSkSLIfStatement.cpp86 const Expression* testValue = ConstantFolder::GetConstantValueForVariable(*test); in Make()
DSkSLSwizzle.cpp490 const Expression* value = ConstantFolder::GetConstantValueForVariable(*expr); in Make()
DSkSLFunctionCall.cpp35 const Expression* expr = ConstantFolder::GetConstantValueForVariable(*arg); in has_compile_time_constant_arguments()
441 arguments[index] = ConstantFolder::GetConstantValueForVariable(*argArray[index]); in optimize_intrinsic_call()
DSkSLType.cpp818 const Expression* valueExpr = ConstantFolder::GetConstantValueForVariable(expr); in checkForOutOfRangeLiteral()
/third_party/skia/src/sksl/
DSkSLConstantFolder.cpp140 const Expression* expr = GetConstantValueForVariable(value); in GetConstantInt()
149 const Expression* expr = GetConstantValueForVariable(value); in GetConstantValue()
196 const Expression* ConstantFolder::GetConstantValueForVariable(const Expression& inExpr) { in GetConstantValueForVariable() function in SkSL::ConstantFolder
224 const Expression* constantExpr = GetConstantValueForVariable(*expr); in MakeConstantValueForVariable()
340 const Expression* left = GetConstantValueForVariable(leftExpr); in Simplify()
341 const Expression* right = GetConstantValueForVariable(rightExpr); in Simplify()
DSkSLConstantFolder.h43 static const Expression* GetConstantValueForVariable(const Expression& value);