Searched refs:fIfTrue (Results 1 – 9 of 9) sorted by relevance
/external/skia/src/sksl/ir/ |
D | SkSLTernaryExpression.h | 24 , 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
|
D | SkSLIfStatement.h | 25 , 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/ |
D | SkSLASTTernaryExpression.h | 24 , fIfTrue(std::move(ifTrue)) in ASTTernaryExpression() 28 return "(" + fTest->description() + " ? " + fIfTrue->description() + " : " + in description() 33 const std::unique_ptr<ASTExpression> fIfTrue; member
|
D | SkSLASTIfStatement.h | 24 , fIfTrue(std::move(ifTrue)) in ASTIfStatement() 35 result += fIfTrue->description(); in description() 45 const std::unique_ptr<ASTStatement> fIfTrue; member
|
/external/skia/src/sksl/ |
D | SkSLCompiler.cpp | 625 (*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()
|
D | SkSLGLSLCodeGenerator.cpp | 438 this->writeExpression(*t.fIfTrue, kTernary_Precedence); in writeTernaryExpression() 738 this->writeStatement(*stmt.fIfTrue); in writeIfStatement()
|
D | SkSLCFGGenerator.cpp | 396 this->addExpression(cfg, &t->fIfTrue, constantPropagate); in addExpression() 449 this->addStatement(cfg, &ifs.fIfTrue); in addStatement()
|
D | SkSLSPIRVCodeGenerator.cpp | 2410 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()
|
D | SkSLIRGenerator.cpp | 317 std::unique_ptr<Statement> ifTrue = this->convertStatement(*s.fIfTrue); in convertIf() 1252 std::unique_ptr<Expression> ifTrue = this->convertExpression(*expression.fIfTrue); in convertTernaryExpression()
|