Home
last modified time | relevance | path

Searched refs:BoolLiteral (Results 1 – 24 of 24) sorted by relevance

/external/skqp/src/sksl/ir/
DSkSLBoolLiteral.h19 struct BoolLiteral : public Expression { struct
20 BoolLiteral(const Context& context, int offset, bool value) in BoolLiteral() function
37 BoolLiteral& b = (BoolLiteral&) other; in compareConstant() argument
DSkSLVariableReference.h99 return std::unique_ptr<Expression>(new BoolLiteral(irGenerator.fContext, in copy_constant()
101 ((BoolLiteral*) expr)->fValue)); in copy_constant()
DSkSLProgram.h45 return std::unique_ptr<Expression>(new BoolLiteral(context, in literal()
/external/skia/src/sksl/ir/
DSkSLBoolLiteral.h19 struct BoolLiteral : public Expression { struct
20 BoolLiteral(const Context& context, int offset, bool value) in BoolLiteral() argument
37 BoolLiteral& b = (BoolLiteral&) other; in compareConstant() argument
DSkSLVariableReference.h102 return std::unique_ptr<Expression>(new BoolLiteral(irGenerator.fContext, in copy_constant()
104 ((BoolLiteral*) expr)->fValue)); in copy_constant()
DSkSLProgram.h45 return std::unique_ptr<Expression>(new BoolLiteral(context, in literal()
/external/deqp/framework/randomshaders/
DrsgExpression.hpp142 class BoolLiteral : public Expression class
145 BoolLiteral (GeneratorState& state, ConstValueRangeAccess valueRange);
146 virtual ~BoolLiteral (void) {} in ~BoolLiteral()
DrsgExpression.cpp285 { getWeight<BoolLiteral>, create<BoolLiteral> },
471 BoolLiteral::BoolLiteral (GeneratorState& state, ConstValueRangeAccess valueRange) in BoolLiteral() function in rsg::BoolLiteral
490 float BoolLiteral::getWeight (const GeneratorState& state, ConstValueRangeAccess valueRange) in getWeight()
502 void BoolLiteral::tokenize (GeneratorState& state, TokenStream& str) const in tokenize()
/external/skia/src/sksl/
DSkSLIRGenerator.cpp356 if (((BoolLiteral&) *test).fValue) { in convertIf()
944 return std::unique_ptr<Expression>(new BoolLiteral(fContext, expr.fOffset, in convertExpression()
1249 bool leftVal = ((BoolLiteral&) left).fValue; in constantFold()
1250 bool rightVal = ((BoolLiteral&) right).fValue; in constantFold()
1258 return std::unique_ptr<Expression>(new BoolLiteral(fContext, left.fOffset, result)); in constantFold()
1334 return std::unique_ptr<Expression>(new BoolLiteral(fContext, -1, in constantFold()
1337 return std::unique_ptr<Expression>(new BoolLiteral(fContext, -1, in constantFold()
1351 return std::unique_ptr<Expression>(new BoolLiteral(fContext, -1, in constantFold()
1354 return std::unique_ptr<Expression>(new BoolLiteral(fContext, -1, in constantFold()
1453 if (((BoolLiteral&) *test).fValue) { in convertTernaryExpression()
[all …]
DSkSLMetalCodeGenerator.h163 void writeBoolLiteral(const BoolLiteral& b);
DSkSLGLSLCodeGenerator.h167 void writeBoolLiteral(const BoolLiteral& b);
DSkSLSPIRVCodeGenerator.h238 SpvId writeBoolLiteral(const BoolLiteral& b);
DSkSLMetalCodeGenerator.cpp92 this->writeBoolLiteral((BoolLiteral&) expr); in writeExpression()
372 void MetalCodeGenerator::writeBoolLiteral(const BoolLiteral& b) { in writeBoolLiteral()
DSkSLGLSLCodeGenerator.cpp183 this->writeBoolLiteral((BoolLiteral&) expr); in writeExpression()
848 void GLSLCodeGenerator::writeBoolLiteral(const BoolLiteral& b) { in writeBoolLiteral()
DSkSLCompiler.cpp677 if (((BoolLiteral&) *t->fTest).fValue) { in simplifyExpression()
942 if (((BoolLiteral&) *i.fTest).fValue) { in simplifyStatement()
DSkSLSPIRVCodeGenerator.cpp633 return this->writeBoolLiteral((BoolLiteral&) expr); in writeExpression()
2126 BoolLiteral falseLiteral(fContext, -1, false); in writeLogicalAnd()
2147 BoolLiteral trueLiteral(fContext, -1, true); in writeLogicalOr()
2285 SpvId SPIRVCodeGenerator::writeBoolLiteral(const BoolLiteral& b) { in writeBoolLiteral()
/external/skqp/src/sksl/
DSkSLIRGenerator.cpp357 if (((BoolLiteral&) *test).fValue) { in convertIf()
943 return std::unique_ptr<Expression>(new BoolLiteral(fContext, expr.fOffset, in convertExpression()
1248 bool leftVal = ((BoolLiteral&) left).fValue; in constantFold()
1249 bool rightVal = ((BoolLiteral&) right).fValue; in constantFold()
1257 return std::unique_ptr<Expression>(new BoolLiteral(fContext, left.fOffset, result)); in constantFold()
1333 return std::unique_ptr<Expression>(new BoolLiteral(fContext, -1, in constantFold()
1336 return std::unique_ptr<Expression>(new BoolLiteral(fContext, -1, in constantFold()
1350 return std::unique_ptr<Expression>(new BoolLiteral(fContext, -1, in constantFold()
1353 return std::unique_ptr<Expression>(new BoolLiteral(fContext, -1, in constantFold()
1452 if (((BoolLiteral&) *test).fValue) { in convertTernaryExpression()
[all …]
DSkSLMetalCodeGenerator.h163 void writeBoolLiteral(const BoolLiteral& b);
DSkSLGLSLCodeGenerator.h167 void writeBoolLiteral(const BoolLiteral& b);
DSkSLSPIRVCodeGenerator.h238 SpvId writeBoolLiteral(const BoolLiteral& b);
DSkSLMetalCodeGenerator.cpp92 this->writeBoolLiteral((BoolLiteral&) expr); in writeExpression()
372 void MetalCodeGenerator::writeBoolLiteral(const BoolLiteral& b) { in writeBoolLiteral()
DSkSLGLSLCodeGenerator.cpp183 this->writeBoolLiteral((BoolLiteral&) expr); in writeExpression()
838 void GLSLCodeGenerator::writeBoolLiteral(const BoolLiteral& b) { in writeBoolLiteral()
DSkSLCompiler.cpp677 if (((BoolLiteral&) *t->fTest).fValue) { in simplifyExpression()
942 if (((BoolLiteral&) *i.fTest).fValue) { in simplifyStatement()
DSkSLSPIRVCodeGenerator.cpp633 return this->writeBoolLiteral((BoolLiteral&) expr); in writeExpression()
2118 BoolLiteral falseLiteral(fContext, -1, false); in writeLogicalAnd()
2139 BoolLiteral trueLiteral(fContext, -1, true); in writeLogicalOr()
2277 SpvId SPIRVCodeGenerator::writeBoolLiteral(const BoolLiteral& b) { in writeBoolLiteral()