Home
last modified time | relevance | path

Searched refs:newCond (Results 1 – 2 of 2) sorted by relevance

/external/angle/src/compiler/translator/msl/
DIntermRebuild.cpp649 auto *const newCond = traverseAnyAs<TIntermTyped>(*cond); in traverseTernaryChildren() local
650 GUARD(newCond); in traverseTernaryChildren()
656 if (newCond != cond || newTrue != true_ || newFalse != false_) in traverseTernaryChildren()
658 return new TIntermTernary(newCond, newTrue, newFalse); in traverseTernaryChildren()
671 auto *const newCond = traverseAnyAs<TIntermTyped>(*cond); in traverseIfElseChildren() local
672 GUARD(newCond); in traverseIfElseChildren()
684 if (newCond != cond || newTrue != true_ || newFalse != false_) in traverseIfElseChildren()
686 return new TIntermIfElse(newCond, newTrue, newFalse); in traverseIfElseChildren()
716 TIntermTyped *newCond = nullptr; in traverseCaseChildren() local
719 GUARD(traverseAnyAs(*cond, newCond)); in traverseCaseChildren()
[all …]
/external/angle/src/compiler/translator/tree_ops/msl/
DSeparateCompoundExpressions.cpp508 TIntermTyped *newCond = pullMappedExpr(cond, true); in visitTernaryPost() local
511 pushStmt(*new TIntermIfElse(newCond, thenBlock, elseBlock)); in visitTernaryPost()
598 TIntermTyped *newCond = pullMappedExpr(cond, false); in visitIfElsePost() local
599 if (cond == newCond) in visitIfElsePost()
605 pushStmt(*new TIntermIfElse(newCond, node.getTrueBlock(), node.getFalseBlock())); in visitIfElsePost()