Home
last modified time | relevance | path

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

/external/skia/src/sksl/ir/
DSkSLExpression.h117 virtual bool isCompileTimeConstant() const { in isCompileTimeConstant() function
140 SkASSERT(!this->isCompileTimeConstant() || !this->hasSideEffects()); in isConstantOrUniform()
141 return this->isCompileTimeConstant(); in isConstantOrUniform()
DSkSLPrefixExpression.cpp52 if (context.fConfig->fSettings.fOptimize && value->isCompileTimeConstant()) { in negate_operand()
62 if (context.fConfig->fSettings.fOptimize && value->isCompileTimeConstant()) { in negate_operand()
72 if (context.fConfig->fSettings.fOptimize && value->isCompileTimeConstant()) { in negate_operand()
81 if (context.fConfig->fSettings.fOptimize && value->isCompileTimeConstant()) { in negate_operand()
DSkSLConstructor.h53 bool isCompileTimeConstant() const override { in isCompileTimeConstant() function
55 if (!arg->isCompileTimeConstant()) { in isCompileTimeConstant()
DSkSLConstructorCompoundCast.h37 bool isCompileTimeConstant() const override { in isCompileTimeConstant() function
DSkSLConstructorScalarCast.h50 bool isCompileTimeConstant() const override { in isCompileTimeConstant() function
DSkSLBoolLiteral.h56 bool isCompileTimeConstant() const override { in isCompileTimeConstant() function
DSkSLFloatLiteral.h55 bool isCompileTimeConstant() const override { in isCompileTimeConstant() function
DSkSLIntLiteral.h57 bool isCompileTimeConstant() const override { in isCompileTimeConstant() function
DSkSLConstructorCompoundCast.cpp89 if (arg->isCompileTimeConstant()) { in Make()
DSkSLFunctionCall.cpp23 if (!expr->isCompileTimeConstant()) { in has_compile_time_constant_arguments()
/external/skia/src/sksl/
DSkSLConstantFolder.cpp225 if (expr->isCompileTimeConstant()) { in GetConstantValueForVariable()
413 if (!left->isCompileTimeConstant() || !right->isCompileTimeConstant()) { in Simplify()
/external/skia/src/sksl/codegen/
DSkSLSPIRVCodeGenerator.cpp1192 SkASSERT(type.isVector() && c.isCompileTimeConstant()); in writeConstantVector()
1607 if (c.isCompileTimeConstant()) { in writeVectorConstructor()
1652 if (c.isCompileTimeConstant()) { in writeConstructorSplat()
2724 t.ifTrue()->isCompileTimeConstant() && in writeTernaryExpression()
2725 t.ifFalse()->isCompileTimeConstant()) { in writeTernaryExpression()