Home
last modified time | relevance | path

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

/external/skia/src/sksl/ir/
DSkSLTernaryExpression.h25 , 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
DSkSLIfStatement.h26 , 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/
DSkSLASTIfStatement.h25 , 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
DSkSLASTTernaryExpression.h25 , fIfFalse(std::move(ifFalse)) {} in ASTTernaryExpression()
29 fIfFalse->description() + ")"; in description()
34 const std::unique_ptr<ASTExpression> fIfFalse; member
/external/skia/src/sksl/
DSkSLCompiler.cpp627 (*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()
DSkSLGLSLCodeGenerator.cpp440 this->writeExpression(*t.fIfFalse, kTernary_Precedence); in writeTernaryExpression()
739 if (stmt.fIfFalse) { in writeIfStatement()
741 this->writeStatement(*stmt.fIfFalse); in writeIfStatement()
DSkSLCFGGenerator.cpp400 this->addExpression(cfg, &t->fIfFalse, constantPropagate); in addExpression()
451 if (ifs.fIfFalse) { in addStatement()
454 this->addStatement(cfg, &ifs.fIfFalse); in addStatement()
DSkSLIRGenerator.cpp322 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()
DSkSLSPIRVCodeGenerator.cpp2410 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()