Home
last modified time | relevance | path

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

/external/skia/src/sksl/ir/
DSkSLTernaryExpression.h24 , fIfTrue(std::move(ifTrue)) in TernaryExpression()
26 ASSERT(fIfTrue->fType == fIfFalse->fType); in TernaryExpression()
30 return fTest->hasSideEffects() || fIfTrue->hasSideEffects() || fIfFalse->hasSideEffects(); in hasSideEffects()
34 return "(" + fTest->description() + " ? " + fIfTrue->description() + " : " + in description()
39 std::unique_ptr<Expression> fIfTrue; member
DSkSLIfStatement.h25 , fIfTrue(std::move(ifTrue)) in IfStatement()
33 result += "if (" + fTest->description() + ") " + fIfTrue->description(); in description()
42 std::unique_ptr<Statement> fIfTrue; member
/external/skia/src/sksl/ast/
DSkSLASTTernaryExpression.h24 , fIfTrue(std::move(ifTrue)) in ASTTernaryExpression()
28 return "(" + fTest->description() + " ? " + fIfTrue->description() + " : " + in description()
33 const std::unique_ptr<ASTExpression> fIfTrue; member
DSkSLASTIfStatement.h24 , fIfTrue(std::move(ifTrue)) in ASTIfStatement()
35 result += fIfTrue->description(); in description()
45 const std::unique_ptr<ASTStatement> fIfTrue; member
/external/skia/src/sksl/
DSkSLCompiler.cpp625 (*iter)->setExpression(std::move(t->fIfTrue)); in simplifyExpression()
810 return contains_break(*i.fIfTrue) || (i.fIfFalse && contains_break(*i.fIfFalse)); in contains_break()
881 ASSERT(i.fIfTrue); in simplifyStatement()
882 (*iter)->setStatement(std::move(i.fIfTrue)); in simplifyStatement()
900 if (!i.fIfFalse && i.fIfTrue->isEmpty()) { in simplifyStatement()
DSkSLGLSLCodeGenerator.cpp438 this->writeExpression(*t.fIfTrue, kTernary_Precedence); in writeTernaryExpression()
738 this->writeStatement(*stmt.fIfTrue); in writeIfStatement()
DSkSLCFGGenerator.cpp396 this->addExpression(cfg, &t->fIfTrue, constantPropagate); in addExpression()
449 this->addStatement(cfg, &ifs.fIfTrue); in addStatement()
DSkSLSPIRVCodeGenerator.cpp2410 if (t.fIfTrue->isConstant() && t.fIfFalse->isConstant()) { in writeTernaryExpression()
2413 SpvId trueId = this->writeExpression(*t.fIfTrue, out); in writeTernaryExpression()
2430 this->writeInstruction(SpvOpStore, var, this->writeExpression(*t.fIfTrue, out), out); in writeTernaryExpression()
2880 this->writeStatement(*stmt.fIfTrue, out); in writeIfStatement()
2894 this->writeStatement(*stmt.fIfTrue, out); in writeIfStatement()
DSkSLIRGenerator.cpp317 std::unique_ptr<Statement> ifTrue = this->convertStatement(*s.fIfTrue); in convertIf()
1252 std::unique_ptr<Expression> ifTrue = this->convertExpression(*expression.fIfTrue); in convertTernaryExpression()