Searched refs:fIfFalse (Results 1 – 9 of 9) sorted by relevance
/external/skia/src/sksl/ir/ |
D | SkSLTernaryExpression.h | 25 , fIfFalse(std::move(ifFalse)) { in TernaryExpression() 26 ASSERT(fIfTrue->fType == fIfFalse->fType); in TernaryExpression() 30 return fTest->hasSideEffects() || fIfTrue->hasSideEffects() || fIfFalse->hasSideEffects(); in hasSideEffects() 35 fIfFalse->description() + ")"; in description() 40 std::unique_ptr<Expression> fIfFalse; member
|
D | SkSLIfStatement.h | 26 , fIfFalse(std::move(ifFalse)) {} in IfStatement() 34 if (fIfFalse) { in description() 35 result += " else " + fIfFalse->description(); in description() 44 std::unique_ptr<Statement> fIfFalse; member
|
/external/skia/src/sksl/ast/ |
D | SkSLASTIfStatement.h | 25 , fIfFalse(std::move(ifFalse)) {} in ASTIfStatement() 36 if (fIfFalse) { in description() 38 result += fIfFalse->description(); in description() 46 const std::unique_ptr<ASTStatement> fIfFalse; member
|
D | SkSLASTTernaryExpression.h | 25 , fIfFalse(std::move(ifFalse)) {} in ASTTernaryExpression() 29 fIfFalse->description() + ")"; in description() 34 const std::unique_ptr<ASTExpression> fIfFalse; member
|
/external/skia/src/sksl/ |
D | SkSLCompiler.cpp | 627 (*iter)->setExpression(std::move(t->fIfFalse)); in simplifyExpression() 810 return contains_break(*i.fIfTrue) || (i.fIfFalse && contains_break(*i.fIfFalse)); in contains_break() 884 if (i.fIfFalse) { in simplifyStatement() 885 (*iter)->setStatement(std::move(i.fIfFalse)); in simplifyStatement() 894 if (i.fIfFalse && i.fIfFalse->isEmpty()) { in simplifyStatement() 896 i.fIfFalse.reset(); in simplifyStatement() 900 if (!i.fIfFalse && i.fIfTrue->isEmpty()) { in simplifyStatement()
|
D | SkSLGLSLCodeGenerator.cpp | 440 this->writeExpression(*t.fIfFalse, kTernary_Precedence); in writeTernaryExpression() 739 if (stmt.fIfFalse) { in writeIfStatement() 741 this->writeStatement(*stmt.fIfFalse); in writeIfStatement()
|
D | SkSLCFGGenerator.cpp | 400 this->addExpression(cfg, &t->fIfFalse, constantPropagate); in addExpression() 451 if (ifs.fIfFalse) { in addStatement() 454 this->addStatement(cfg, &ifs.fIfFalse); in addStatement()
|
D | SkSLIRGenerator.cpp | 322 if (s.fIfFalse) { in convertIf() 323 ifFalse = this->convertStatement(*s.fIfFalse); in convertIf() 332 } else if (s.fIfFalse) { in convertIf() 1256 std::unique_ptr<Expression> ifFalse = this->convertExpression(*expression.fIfFalse); in convertTernaryExpression()
|
D | SkSLSPIRVCodeGenerator.cpp | 2410 if (t.fIfTrue->isConstant() && t.fIfFalse->isConstant()) { in writeTernaryExpression() 2414 SpvId falseId = this->writeExpression(*t.fIfFalse, out); in writeTernaryExpression() 2433 this->writeInstruction(SpvOpStore, var, this->writeExpression(*t.fIfFalse, out), out); in writeTernaryExpression() 2875 if (stmt.fIfFalse) { in writeIfStatement() 2885 this->writeStatement(*stmt.fIfFalse, out); in writeIfStatement()
|