/external/llvm/unittests/IR/ |
D | DominatorTreeTest.cpp | 68 EXPECT_TRUE(DT->dominates(BB0, BB0)); in runOnFunction() 69 EXPECT_TRUE(DT->dominates(BB0, BB1)); in runOnFunction() 70 EXPECT_TRUE(DT->dominates(BB0, BB2)); in runOnFunction() 71 EXPECT_TRUE(DT->dominates(BB0, BB3)); in runOnFunction() 72 EXPECT_TRUE(DT->dominates(BB0, BB4)); in runOnFunction() 74 EXPECT_FALSE(DT->dominates(BB1, BB0)); in runOnFunction() 75 EXPECT_TRUE(DT->dominates(BB1, BB1)); in runOnFunction() 76 EXPECT_FALSE(DT->dominates(BB1, BB2)); in runOnFunction() 77 EXPECT_TRUE(DT->dominates(BB1, BB3)); in runOnFunction() 78 EXPECT_FALSE(DT->dominates(BB1, BB4)); in runOnFunction() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Vectorize/ |
D | VPlanDominatorTreeTest.cpp | 67 EXPECT_TRUE(VPDT.dominates(PH, PH)); in TEST_F() 68 EXPECT_TRUE(VPDT.dominates(PH, H)); in TEST_F() 69 EXPECT_TRUE(VPDT.dominates(PH, IfThen)); in TEST_F() 70 EXPECT_TRUE(VPDT.dominates(PH, IfElse)); in TEST_F() 71 EXPECT_TRUE(VPDT.dominates(PH, Latch)); in TEST_F() 72 EXPECT_TRUE(VPDT.dominates(PH, Exit)); in TEST_F() 74 EXPECT_FALSE(VPDT.dominates(H, PH)); in TEST_F() 75 EXPECT_TRUE(VPDT.dominates(H, H)); in TEST_F() 76 EXPECT_TRUE(VPDT.dominates(H, IfThen)); in TEST_F() 77 EXPECT_TRUE(VPDT.dominates(H, IfElse)); in TEST_F() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/ |
D | DominatorTreeTest.cpp | 112 EXPECT_TRUE(DT->dominates(BB0, BB0)); in TEST() 113 EXPECT_TRUE(DT->dominates(BB0, BB1)); in TEST() 114 EXPECT_TRUE(DT->dominates(BB0, BB2)); in TEST() 115 EXPECT_TRUE(DT->dominates(BB0, BB3)); in TEST() 116 EXPECT_TRUE(DT->dominates(BB0, BB4)); in TEST() 118 EXPECT_FALSE(DT->dominates(BB1, BB0)); in TEST() 119 EXPECT_TRUE(DT->dominates(BB1, BB1)); in TEST() 120 EXPECT_FALSE(DT->dominates(BB1, BB2)); in TEST() 121 EXPECT_TRUE(DT->dominates(BB1, BB3)); in TEST() 122 EXPECT_FALSE(DT->dominates(BB1, BB4)); in TEST() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/ |
D | OrderedBasicBlockTest.cpp | 47 EXPECT_FALSE(OBB.dominates(Add, Add)); in TEST_F() 48 EXPECT_FALSE(OBB.dominates(Add, Add)); in TEST_F() 49 EXPECT_TRUE(OBB.dominates(Add, Ret)); in TEST_F() 50 EXPECT_TRUE(OBB.dominates(Add, Ret)); in TEST_F() 51 EXPECT_FALSE(OBB.dominates(Ret, Add)); in TEST_F() 52 EXPECT_FALSE(OBB.dominates(Ret, Add)); in TEST_F() 53 EXPECT_FALSE(OBB.dominates(Ret, Ret)); in TEST_F() 54 EXPECT_FALSE(OBB.dominates(Ret, Ret)); in TEST_F()
|
/external/llvm/lib/IR/ |
D | Dominators.cpp | 75 bool DominatorTree::dominates(const Instruction *Def, in dominates() function in DominatorTree 97 return dominates(Def, UseBB); in dominates() 100 return dominates(DefBB, UseBB); in dominates() 112 bool DominatorTree::dominates(const Instruction *Def, in dominates() function in DominatorTree 132 return dominates(E, UseBB); in dominates() 135 return dominates(DefBB, UseBB); in dominates() 138 bool DominatorTree::dominates(const BasicBlockEdge &BBE, in dominates() function in DominatorTree 150 if (!dominates(End, UseBB)) in dominates() 184 if (!dominates(End, BB)) in dominates() 190 bool DominatorTree::dominates(const BasicBlockEdge &BBE, const Use &U) const { in dominates() function in DominatorTree [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | Dominators.cpp | 111 bool DominatorTree::dominates(const Instruction *Def, in dominates() function in DominatorTree 133 return dominates(Def, UseBB); in dominates() 136 return dominates(DefBB, UseBB); in dominates() 148 bool DominatorTree::dominates(const Instruction *Def, in dominates() function in DominatorTree 168 return dominates(E, UseBB); in dominates() 171 return dominates(DefBB, UseBB); in dominates() 174 bool DominatorTree::dominates(const BasicBlockEdge &BBE, in dominates() function in DominatorTree 180 if (!dominates(End, UseBB)) in dominates() 220 if (!dominates(End, BB)) in dominates() 226 bool DominatorTree::dominates(const BasicBlockEdge &BBE, const Use &U) const { in dominates() function in DominatorTree [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
D | MachineDominators.h | 71 inline bool dominates(MachineDomTreeNode* A, MachineDomTreeNode* B) const { in dominates() function 72 return DT->dominates(A, B); in dominates() 75 inline bool dominates(MachineBasicBlock* A, MachineBasicBlock* B) const { in dominates() function 76 return DT->dominates(A, B); in dominates() 81 bool dominates(MachineInstr *A, MachineInstr *B) const { in dominates() function 83 if (BBA != BBB) return DT->dominates(BBA, BBB); in dominates()
|
D | LexicalScopes.h | 76 bool dominates(DebugLoc DL, MachineBasicBlock *MBB); 207 if (Parent && (!NewScope || !Parent->dominates(NewScope))) 212 bool dominates(const LexicalScope *S) const { in dominates() function
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/ |
D | MachinePostDominators.h | 56 bool dominates(const MachineDomTreeNode *A, in dominates() function 58 return DT->dominates(A, B); in dominates() 61 bool dominates(const MachineBasicBlock *A, const MachineBasicBlock *B) const { in dominates() function 62 return DT->dominates(A, B); in dominates()
|
D | MachineDominators.h | 113 inline bool dominates(const MachineDomTreeNode* A, in dominates() function 116 return DT->dominates(A, B); in dominates() 119 inline bool dominates(const MachineBasicBlock* A, in dominates() function 122 return DT->dominates(A, B); in dominates() 127 bool dominates(const MachineInstr *A, const MachineInstr *B) const { in dominates() function 130 if (BBA != BBB) return DT->dominates(BBA, BBB); in dominates()
|
D | LexicalScopes.h | 100 if (Parent && (!NewScope || !Parent->dominates(NewScope))) 105 bool dominates(const LexicalScope *S) const { in dominates() function 169 bool dominates(const DILocation *DL, MachineBasicBlock *MBB);
|
/external/llvm/include/llvm/CodeGen/ |
D | MachinePostDominators.h | 56 bool dominates(const MachineDomTreeNode *A, in dominates() function 58 return DT->dominates(A, B); in dominates() 61 bool dominates(const MachineBasicBlock *A, const MachineBasicBlock *B) const { in dominates() function 62 return DT->dominates(A, B); in dominates()
|
D | MachineDominators.h | 105 inline bool dominates(const MachineDomTreeNode* A, in dominates() function 108 return DT->dominates(A, B); in dominates() 111 inline bool dominates(const MachineBasicBlock* A, in dominates() function 114 return DT->dominates(A, B); in dominates() 119 bool dominates(const MachineInstr *A, const MachineInstr *B) const { in dominates() function 122 if (BBA != BBB) return DT->dominates(BBA, BBB); in dominates()
|
D | LexicalScopes.h | 98 if (Parent && (!NewScope || !Parent->dominates(NewScope))) 103 bool dominates(const LexicalScope *S) const { in dominates() function 167 bool dominates(const DILocation *DL, MachineBasicBlock *MBB);
|
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/ |
D | PostDominators.h | 57 inline bool dominates(DomTreeNode* A, DomTreeNode* B) const { in dominates() function 58 return DT->dominates(A, B); in dominates() 61 inline bool dominates(const BasicBlock* A, const BasicBlock* B) const { in dominates() function 62 return DT->dominates(A, B); in dominates()
|
D | Dominators.h | 248 if (ND != NewBB && !DT.dominates(NewBBSucc, ND) && in Split() 373 return dominates(&A->getParent()->front(), A); in isReachableFromEntry() 379 inline bool dominates(const DomTreeNodeBase<NodeT> *A, in dominates() function 409 inline bool dominates(const NodeT *A, const NodeT *B) { in dominates() function 416 return dominates(getNode(const_cast<NodeT *>(A)), in dominates() 440 if (dominates(B, A)) in findNearestCommonDominator() 444 if (dominates(A, B)) in findNearestCommonDominator() 744 inline bool dominates(const DomTreeNode* A, const DomTreeNode* B) const { in dominates() function 745 return DT->dominates(A, B); in dominates() 748 inline bool dominates(const BasicBlock* A, const BasicBlock* B) const { in dominates() function [all …]
|
/external/llvm/include/llvm/IR/ |
D | Dominators.h | 128 using Base::dominates; 134 bool dominates(const Instruction *Def, const Use &U) const; 135 bool dominates(const Instruction *Def, const Instruction *User) const; 136 bool dominates(const Instruction *Def, const BasicBlock *BB) const; 137 bool dominates(const BasicBlockEdge &BBE, const Use &U) const; 138 bool dominates(const BasicBlockEdge &BBE, const BasicBlock *BB) const;
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | OrderedInstructions.cpp | 26 return OBB->second->dominates(InstA, InstB); in localDominates() 32 bool OrderedInstructions::dominates(const Instruction *InstA, in dominates() function in OrderedInstructions 38 return DT->dominates(InstA->getParent(), InstB->getParent()); in dominates()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Utils/ |
D | OrderedInstructions.cpp | 60 EXPECT_TRUE(OI.dominates(LoadInstX, LoadInstY)); in TEST() 61 EXPECT_FALSE(OI.dominates(LoadInstY, LoadInstX)); in TEST() 64 EXPECT_TRUE(OI.dominates(LoadInstY, LoadInstZ)); in TEST()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | Dominators.h | 154 using Base::dominates; 160 bool dominates(const Instruction *Def, const Use &U) const; 161 bool dominates(const Instruction *Def, const Instruction *User) const; 162 bool dominates(const Instruction *Def, const BasicBlock *BB) const; 168 bool dominates(const BasicBlockEdge &BBE, const Use &U) const; 169 bool dominates(const BasicBlockEdge &BBE, const BasicBlock *BB) const;
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | RegionInfo.cpp | 94 return (DT->dominates(entry, BB) in contains() 95 && !(DT->dominates(exit, BB) && DT->dominates(entry, exit))); in contains() 391 if (!DT->dominates(getEntry(), *PI)) in getExpandedRegion() 406 if (!DT->dominates(getEntry(), R->getExit())) in getExpandedRegion() 409 if (!DT->dominates(R->getExit(), *PI)) in getExpandedRegion() 471 if (DT->dominates(entry, P) && !DT->dominates(exit, P)) in isCommonDomFrontier() 485 if (!DT->dominates(entry, exit)) { in isRegion() 612 if (!DT->dominates(entry, exit)) in findRegionsWithEntry() 774 if (DT->dominates(Exit, BB)) in getMaxRegionExit()
|
/external/llvm/include/llvm/Support/ |
D | GenericDomTree.h | 277 if (ND != NewBB && !DT.dominates(NewBBSucc, ND) && in Split() 420 return dominates(A, B); in properlyDominates() 438 bool dominates(const DomTreeNodeBase<NodeT> *A, in dominates() function 474 bool dominates(const NodeT *A, const NodeT *B) const; 496 if (dominates(B, A)) in findNearestCommonDominator() 500 if (dominates(A, B)) in findNearestCommonDominator() 744 bool DominatorTreeBase<NodeT>::dominates(const NodeT *A, const NodeT *B) const { in dominates() function 751 return dominates(getNode(const_cast<NodeT *>(A)), in dominates() 763 return dominates(getNode(const_cast<NodeT *>(A)), in properlyDominates()
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | Dominators.cpp | 85 bool DominatorTree::dominates(const Instruction *A, const Instruction *B) const{ in dominates() function in DominatorTree 93 if (BBA != BBB) return dominates(BBA, BBB); in dominates()
|
/external/llvm/test/Transforms/JumpThreading/ |
D | assume-edge-dom.ll | 25 ; An assume that can be used to simplify this comparison dominates each 26 ; predecessor branch (although no assume dominates the cmp itself). Make sure
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/JumpThreading/ |
D | assume-edge-dom.ll | 25 ; An assume that can be used to simplify this comparison dominates each 26 ; predecessor branch (although no assume dominates the cmp itself). Make sure
|