Home
last modified time | relevance | path

Searched refs:TIntermTernary (Results 1 – 25 of 31) sorted by relevance

12

/external/angle/src/compiler/translator/tree_ops/gl/mac/
DUnfoldShortCircuitAST.cpp20 TIntermTernary *UnfoldOR(TIntermTyped *x, TIntermTyped *y) in UnfoldOR()
22 return new TIntermTernary(x, CreateBoolNode(true), y); in UnfoldOR()
26 TIntermTernary *UnfoldAND(TIntermTyped *x, TIntermTyped *y) in UnfoldAND()
28 return new TIntermTernary(x, y, CreateBoolNode(false)); in UnfoldAND()
45 TIntermTernary *replacement = nullptr; in visitBinary()
/external/angle/src/compiler/translator/tree_util/
DIntermNodePatternMatcher.h21 class TIntermTernary; variable
70 bool match(TIntermTernary *node) const;
DAsNode.h104 struct AsNode<TIntermTernary>
106 static ANGLE_INLINE TIntermTernary *exec(TIntermNode *node)
DIntermNodePatternMatcher.cpp167 bool IntermNodePatternMatcher::match(TIntermTernary *node) const in match()
DIntermTraverse.h49 virtual bool visitTernary(Visit visit, TIntermTernary *node) { return true; } in visitTernary()
/external/angle/src/compiler/translator/tree_ops/
DSplitSequenceOperator.cpp31 bool visitTernary(Visit visit, TIntermTernary *node) override;
133 bool SplitSequenceOperatorTraverser::visitTernary(Visit visit, TIntermTernary *node) in visitTernary()
DFoldExpressions.cpp37 bool visitTernary(Visit visit, TIntermTernary *node) override in visitTernary()
DSimplifyLoopConditions.cpp42 bool visitTernary(Visit visit, TIntermTernary *node) override;
114 bool SimplifyLoopConditionsTraverser::visitTernary(Visit visit, TIntermTernary *node) in visitTernary()
/external/angle/src/compiler/translator/
DIntermNode.h49 class TIntermTernary; variable
101 virtual TIntermTernary *getAsTernaryNode() { return nullptr; } in getAsTernaryNode()
862 class TIntermTernary : public TIntermExpression
865 TIntermTernary(TIntermTyped *cond, TIntermTyped *trueExpression, TIntermTyped *falseExpression);
867 TIntermTernary *getAsTernaryNode() override { return this; } in getAsTernaryNode()
878 TIntermTyped *deepCopy() const override { return new TIntermTernary(*this); } in deepCopy()
889 TIntermTernary(const TIntermTernary &node); // Note: not deleted, just private!
DValidateSwitch.cpp34 bool visitTernary(Visit, TIntermTernary *) override;
144 bool ValidateSwitch::visitTernary(Visit, TIntermTernary *) in visitTernary() argument
DOutputTree.cpp44 bool visitTernary(Visit visit, TIntermTernary *node) override;
495 bool TOutputTraverser::visitTernary(Visit visit, TIntermTernary *node) in visitTernary()
DIntermNode.cpp968 size_t TIntermTernary::getChildCount() const in getChildCount()
973 TIntermNode *TIntermTernary::getChildNode(size_t index) const in getChildNode()
987 bool TIntermTernary::replaceChildNode(TIntermNode *original, TIntermNode *replacement) in replaceChildNode()
1156 TIntermTernary::TIntermTernary(const TIntermTernary &node) : TIntermExpression(node) in TIntermTernary() function in sh::TIntermTernary
1432 TIntermTernary::TIntermTernary(TIntermTyped *cond, in TIntermTernary() function in sh::TIntermTernary
1444 TIntermTernary::DetermineQualifier(cond, trueExpression, falseExpression)); in TIntermTernary()
1506 TQualifier TIntermTernary::DetermineQualifier(TIntermTyped *cond, in DetermineQualifier()
1518 TIntermTyped *TIntermTernary::fold(TDiagnostics * /* diagnostics */) in fold()
DOutputGLSLBase.h64 bool visitTernary(Visit visit, TIntermTernary *node) override;
DValidateAST.cpp33 bool visitTernary(Visit visit, TIntermTernary *node) override;
456 bool ValidateAST::visitTernary(Visit visit, TIntermTernary *node) in visitTernary()
DOutputHLSL.h97 bool visitTernary(Visit visit, TIntermTernary *) override;
/external/angle/src/compiler/translator/tree_ops/d3d/
DUnfoldShortCircuitToIf.cpp32 bool visitTernary(Visit visit, TIntermTernary *node) override;
131 bool UnfoldShortCircuitTraverser::visitTernary(Visit visit, TIntermTernary *node) in visitTernary()
DRemoveSwitchFallThrough.cpp37 bool visitTernary(Visit visit, TIntermTernary *node) override;
127 bool RemoveSwitchFallThroughTraverser::visitTernary(Visit, TIntermTernary *node) in visitTernary()
/external/angle/src/tests/compiler_tests/
DIntermNode_test.cpp249 TIntermTernary *original = new TIntermTernary(createTestSymbol(TType(EbtBool, EbpUndefined)), in TEST_F()
253 TIntermTernary *copy = copyTyped->getAsTernaryNode(); in TEST_F()
/external/angle/src/compiler/translator/TranslatorMetalDirect/
DIntermRebuild.h220 virtual PreResult visitTernaryPre(TIntermTernary &node);
239 virtual PostResult visitTernaryPost(TIntermTernary &node);
300 TIntermNode *traverseTernaryChildren(TIntermTernary &node);
DSkippingTraverser.h29 bool visitTernary(Visit, TIntermTernary *) { return false; } in visitTernary() argument
DNodeType.h86 bool visitTernary(Visit, TIntermTernary *) override in visitTernary() argument
DIntermRebuild.cpp628 TIntermNode *TIntermRebuild::traverseTernaryChildren(TIntermTernary &node) in traverseTernaryChildren()
646 return new TIntermTernary(newCond, newTrue, newFalse); in traverseTernaryChildren()
874 PreResult TIntermRebuild::visitTernaryPre(TIntermTernary &node) in visitTernaryPre()
967 PostResult TIntermRebuild::visitTernaryPost(TIntermTernary &node) in visitTernaryPost()
DName.cpp130 bool visitTernary(Visit visit, TIntermTernary *node) override { return !mFoundName; } in visitTernary()
DSeparateCompoundExpressions.cpp449 PreResult visitTernaryPre(TIntermTernary &node) override in visitTernaryPre()
465 PostResult visitTernaryPost(TIntermTernary &node) override in visitTernaryPost()
/external/angle/src/tests/test_utils/
DShaderCompileTreeTest.cpp42 bool visitTernary(Visit, TIntermTernary *node) override in visitTernary()

12