Home
last modified time | relevance | path

Searched refs:isBoolLiteral (Results 1 – 5 of 5) sorted by relevance

/third_party/skia/src/sksl/
DSkSLConstantFolder.cpp357 if (left->isBoolLiteral() && right->isBoolLiteral()) { in Simplify()
373 if (left->isBoolLiteral()) { in Simplify()
378 if (right->isBoolLiteral()) { in Simplify()
/third_party/skia/src/sksl/ir/
DSkSLBinaryExpression.cpp184 bool capsBitIsTrue = caps->isBoolLiteral() && caps->as<Literal>().boolValue(); in Make()
185 if (capsBitIsTrue || !caps->isBoolLiteral()) { in Make()
DSkSLTernaryExpression.cpp70 if (testExpr->isBoolLiteral()) { in Make()
DSkSLIfStatement.cpp87 if (testValue->isBoolLiteral()) { in Make()
DSkSLExpression.h106 bool isBoolLiteral() const { in isBoolLiteral() function