Home
last modified time | relevance | path

Searched refs:TIntermIfElse (Results 1 – 25 of 36) sorted by relevance

12

/external/angle/src/compiler/translator/tree_ops/d3d/
DRewriteElseBlocks.cpp34 TIntermNode *rewriteIfElse(TIntermIfElse *ifElse);
58 TIntermIfElse *ifElse = statement->getAsIfElseNode(); in visitBlock()
68 TIntermNode *ElseBlockRewriter::rewriteIfElse(TIntermIfElse *ifElse) in rewriteIfElse()
97 TIntermIfElse *falseIfElse = in rewriteIfElse()
98 new TIntermIfElse(negatedCondition, ifElse->getFalseBlock(), negatedElse); in rewriteIfElse()
103 TIntermIfElse *newIfElse = in rewriteIfElse()
104 new TIntermIfElse(conditionSymbolSel, ifElse->getTrueBlock(), falseBlock); in rewriteIfElse()
DUnfoldShortCircuitToIf.cpp91 TIntermIfElse *ifNode = new TIntermIfElse(notTempSymbol, assignRightBlock, nullptr); in visitBinary()
116 TIntermIfElse *ifNode = in visitBinary()
117 new TIntermIfElse(CreateTempSymbolNode(resultVariable), assignRightBlock, nullptr); in visitBinary()
161 TIntermIfElse *ifNode = in visitTernary()
162 new TIntermIfElse(node->getCondition()->getAsTyped(), trueBlock, falseBlock); in visitTernary()
DRemoveSwitchFallThrough.cpp39 bool visitIfElse(Visit visit, TIntermIfElse *node) override;
141 bool RemoveSwitchFallThroughTraverser::visitIfElse(Visit, TIntermIfElse *node) in visitIfElse()
/external/angle/src/compiler/translator/
DASTMetadataHLSL.h20 class TIntermIfElse; variable
35 bool hasGradientLoop(TIntermIfElse *node);
49 std::set<TIntermIfElse *> mIfsContainingGradientLoop;
DASTMetadataHLSL.cpp95 bool visitIfElse(Visit visit, TIntermIfElse *ifElse) override in visitIfElse()
198 bool visitIfElse(Visit visit, TIntermIfElse *node) override in visitIfElse()
308 std::vector<TIntermIfElse *> mIfs;
380 bool ASTMetadataHLSL::hasGradientLoop(TIntermIfElse *node) in hasGradientLoop()
DTranslatorMetal.cpp335 TIntermIfElse *ifCall = new TIntermIfElse(coverageMaskEnabled, callBlock, nullptr); in insertSampleMaskWritingLogic()
387 TIntermIfElse *ifCall = new TIntermIfElse(discardEnabled, discardBlock, nullptr); in insertRasterizerDiscardLogic()
DIntermNode.h50 class TIntermIfElse; variable
102 virtual TIntermIfElse *getAsIfElseNode() { return nullptr; } in getAsIfElseNode()
900 class TIntermIfElse : public TIntermNode
903 TIntermIfElse(TIntermTyped *cond, TIntermBlock *trueB, TIntermBlock *falseB);
905 TIntermIfElse *getAsIfElseNode() override { return this; } in getAsIfElseNode()
916 TIntermIfElse *deepCopy() const override { return new TIntermIfElse(*this); } in deepCopy()
924 TIntermIfElse(const TIntermIfElse &);
DTranslatorVulkan.cpp362 TIntermIfElse *ifEmulation = in AddBresenhamEmulationVS()
363 new TIntermIfElse(specConst->getLineRasterEmulation(), emulationBlock, nullptr); in AddBresenhamEmulationVS()
490 TIntermIfElse *captureXfb = new TIntermIfElse(isXfbActiveUnpaused, captureXfbBlock, nullptr); in AddXfbEmulationSupport()
734 TIntermIfElse *ifStatement = new TIntermIfElse(checkXY, discardBlock, nullptr); in AddBresenhamEmulationFS()
743 TIntermIfElse *ifEmulation = in AddBresenhamEmulationFS()
744 new TIntermIfElse(specConst->getLineRasterEmulation(), emulationBlock, nullptr); in AddBresenhamEmulationFS()
DValidateSwitch.cpp36 bool visitIfElse(Visit visit, TIntermIfElse *) override;
160 bool ValidateSwitch::visitIfElse(Visit visit, TIntermIfElse *) in visitIfElse() argument
DValidateBarrierFunctionCall.cpp77 bool visitIfElse(Visit visit, TIntermIfElse *node) override in visitIfElse()
DOutputHLSL.h98 bool visitIfElse(Visit visit, TIntermIfElse *) override;
143 void writeIfElse(TInfoSinkBase &out, TIntermIfElse *node);
DTranslatorMetalDirect.cpp535 TIntermIfElse *ifCall = new TIntermIfElse(coverageMaskEnabled, callBlock, nullptr); in insertSampleMaskWritingLogic()
574 TIntermIfElse *ifCall = new TIntermIfElse(discardEnabled, discardBlock, nullptr); in insertRasterizationDiscardLogic()
DOutputTree.cpp45 bool visitIfElse(Visit visit, TIntermIfElse *node) override;
526 bool TOutputTraverser::visitIfElse(Visit visit, TIntermIfElse *node) in visitIfElse()
DOutputGLSLBase.h65 bool visitIfElse(Visit visit, TIntermIfElse *node) override;
/external/angle/src/compiler/translator/tree_ops/gl/mac/
DRewriteDoWhile.cpp91 TIntermIfElse *breakIf = nullptr; in visitBlock()
101 TIntermIfElse *innerIf = new TIntermIfElse(negatedCondition, breakBlock, nullptr); in visitBlock()
106 breakIf = new TIntermIfElse(CreateTempSymbolNode(conditionVariable), innerIfBlock, in visitBlock()
/external/angle/src/compiler/translator/tree_util/
DRewriteSampleMaskVariable.cpp161 TIntermIfElse *multiSampleOrNot = new TIntermIfElse(equalTo, trueBlock, nullptr); in RewriteSampleMask()
DAsNode.h113 struct AsNode<TIntermIfElse>
115 static ANGLE_INLINE TIntermIfElse *exec(TIntermNode *node)
/external/angle/src/compiler/translator/tree_ops/
DDeclareAndInitBuiltinsForInstancedMultiview.cpp117 TIntermIfElse *multiviewBranch = in SelectViewIndexInVertexShader()
118 new TIntermIfElse(multiviewBaseViewLayerIndexZeroComparison, in SelectViewIndexInVertexShader()
DRewriteCubeMapSamplersAs2DArray.cpp586 TIntermIfElse *calculateYZL = new TIntermIfElse(isYMajor, calculateYL, calculateZL); in declareCoordTranslationFunction()
589 TIntermIfElse *calculateXYZL = new TIntermIfElse(isXMajor, calculateXL, calculateYZLBlock); in declareCoordTranslationFunction()
650 TIntermIfElse *calculateYZUcVc = in declareCoordTranslationFunction()
651 new TIntermIfElse(isYMajor, calculateYUcVc, calculateZUcVc); in declareCoordTranslationFunction()
654 TIntermIfElse *calculateXYZUcVc = in declareCoordTranslationFunction()
655 new TIntermIfElse(isXMajor, calculateXUcVc, calculateYZUcVcBlock); in declareCoordTranslationFunction()
/external/angle/src/compiler/translator/TranslatorMetalDirect/
DIntermRebuild.h222 virtual PreResult visitIfElsePre(TIntermIfElse &node);
241 virtual PostResult visitIfElsePost(TIntermIfElse &node);
302 TIntermNode *traverseIfElseChildren(TIntermIfElse &node);
DSkippingTraverser.h30 bool visitIfElse(Visit, TIntermIfElse *) { return false; } in visitIfElse() argument
DSeparateCompoundExpressions.cpp415 pushStmt(*new TIntermIfElse(cond, rightBlock, nullptr)); in visitBinaryPost()
482 pushStmt(*new TIntermIfElse(newCond, thenBlock, elseBlock)); in visitTernaryPost()
566 PostResult visitIfElsePost(TIntermIfElse &node) override in visitIfElsePost()
576 pushStmt(*new TIntermIfElse(newCond, node.getTrueBlock(), node.getFalseBlock())); in visitIfElsePost()
DNodeType.h92 bool visitIfElse(Visit, TIntermIfElse *) override in visitIfElse() argument
DIntermRebuild.cpp652 TIntermNode *TIntermRebuild::traverseIfElseChildren(TIntermIfElse &node) in traverseIfElseChildren()
674 return new TIntermIfElse(newCond, newTrue, newFalse); in traverseIfElseChildren()
884 PreResult TIntermRebuild::visitIfElsePre(TIntermIfElse &node) in visitIfElsePre()
977 PostResult TIntermRebuild::visitIfElsePost(TIntermIfElse &node) in visitIfElsePost()
DName.cpp154 bool visitIfElse(Visit visit, TIntermIfElse *node) override in visitIfElse()

12