Home
last modified time | relevance | path

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

/third_party/skia/src/sksl/ir/
DSkSLExpression.h132 virtual bool isCompileTimeConstant() const { in isCompileTimeConstant() function
162 SkASSERT(!this->isCompileTimeConstant() || !this->hasSideEffects()); in isConstantOrUniform()
163 return this->isCompileTimeConstant(); in isConstantOrUniform()
DSkSLPrefixExpression.cpp50 if (value->isCompileTimeConstant()) { in simplify_negation()
59 if (value->isCompileTimeConstant()) { in simplify_negation()
71 if (value->isCompileTimeConstant()) { in simplify_negation()
83 if (value->isCompileTimeConstant()) { in simplify_negation()
DSkSLConstructor.h52 bool isCompileTimeConstant() const override { in isCompileTimeConstant() function
54 if (!arg->isCompileTimeConstant()) { in isCompileTimeConstant()
DSkSLConstructorArrayCast.h39 bool isCompileTimeConstant() const override { in isCompileTimeConstant() function
DSkSLConstructorCompoundCast.h37 bool isCompileTimeConstant() const override { in isCompileTimeConstant() function
DSkSLConstructorScalarCast.h50 bool isCompileTimeConstant() const override { in isCompileTimeConstant() function
DSkSLConstructorArrayCast.cpp61 if (arg->isCompileTimeConstant()) { in Make()
DSkSLConstructorCompoundCast.cpp89 if (arg->isCompileTimeConstant()) { in Make()
DSkSLLiteral.h114 bool isCompileTimeConstant() const override { in isCompileTimeConstant() function
DSkSLFunctionCall.cpp36 if (!expr->isCompileTimeConstant()) { in has_compile_time_constant_arguments()
/third_party/skia/src/sksl/
DSkSLConstantFolder.cpp214 if (expr->isCompileTimeConstant()) { in GetConstantValueForVariable()
418 if (!left->isCompileTimeConstant() || !right->isCompileTimeConstant()) { in Simplify()
/third_party/skia/src/sksl/codegen/
DSkSLSPIRVCodeGenerator.cpp1284 SkASSERT(type.isVector() && c.isCompileTimeConstant()); in writeConstantVector()
1668 if (c.isCompileTimeConstant()) { in writeVectorConstructor()
1725 if (c.isCompileTimeConstant()) { in writeConstructorSplat()
2768 t.ifTrue()->isCompileTimeConstant() && in writeTernaryExpression()
2769 t.ifFalse()->isCompileTimeConstant()) { in writeTernaryExpression()