Home
last modified time | relevance | path

Searched refs:dominates (Results 1 – 25 of 158) sorted by relevance

1234567

/external/llvm/unittests/IR/
DDominatorTreeTest.cpp68 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/llvm/lib/IR/
DDominators.cpp75 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/include/llvm/CodeGen/
DMachineDominators.h71 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()
DLexicalScopes.h76 bool dominates(DebugLoc DL, MachineBasicBlock *MBB);
207 if (Parent && (!NewScope || !Parent->dominates(NewScope)))
212 bool dominates(const LexicalScope *S) const { in dominates() function
/external/llvm/include/llvm/CodeGen/
DMachinePostDominators.h56 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()
DMachineDominators.h105 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()
DLexicalScopes.h98 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/
DPostDominators.h57 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()
DDominators.h248 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/
DDominators.h128 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/lib/Analysis/
DRegionInfo.cpp94 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()
DPHITransAddr.cpp209 (!DT || DT->dominates(CastI->getParent(), PredBB))) in PHITranslateSubExpr()
246 (!DT || DT->dominates(GEPI->getParent(), PredBB))) { in PHITranslateSubExpr()
305 (!DT || DT->dominates(BO->getParent(), PredBB))) in PHITranslateSubExpr()
330 if (!DT->dominates(Inst->getParent(), PredBB)) in PHITranslateValue()
/external/llvm/include/llvm/Support/
DGenericDomTree.h277 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/
DDominators.cpp85 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/
Dassume-edge-dom.ll25 ; 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/clang/include/clang/Analysis/Analyses/
DDominators.h109 inline bool dominates(const CFGBlock* A, const CFGBlock* B) const { in dominates() function
110 return DT->dominates(A, B); in dominates()
/external/llvm/lib/Analysis/
DScalarEvolutionExpander.cpp83 assert(SE.DT.dominates(Ret, &*BIP)); in ReuseOrCreateCast()
495 SE.DT.dominates(cast<Instruction>(V), &*Builder.GetInsertPoint())); in expandAddToGEP()
589 if (DT.dominates(A->getHeader(), B->getHeader())) return B; in PickMostRelevantLoop()
590 if (DT.dominates(B->getHeader(), A->getHeader())) return A; in PickMostRelevantLoop()
833 if (!SE.DT.dominates(OInst, IVIncInsertPos)) in isNormalAddRecExprPHI()
872 if (!OInst || SE.DT.dominates(OInst, InsertPos)) in getIVIncOperand()
883 if (!SE.DT.dominates(OInst, InsertPos)) in getIVIncOperand()
927 if (SE.DT.dominates(IncV, InsertPos)) in hoistIVInc()
933 !SE.DT.dominates(InsertPos->getParent(), IncV->getParent())) in hoistIVInc()
948 if (SE.DT.dominates(IncV, InsertPos)) in hoistIVInc()
[all …]
DPHITransAddr.cpp210 (!DT || DT->dominates(CastI->getParent(), PredBB))) in PHITranslateSubExpr()
247 (!DT || DT->dominates(GEPI->getParent(), PredBB))) { in PHITranslateSubExpr()
300 (!DT || DT->dominates(BO->getParent(), PredBB))) in PHITranslateSubExpr()
331 if (!DT->dominates(Inst->getParent(), PredBB)) in PHITranslateValue()
DScalarEvolutionNormalization.cpp40 if (DT->dominates(LatchBlock, User->getParent())) in IVUseShouldUsePostIncValue()
55 !DT->dominates(LatchBlock, PN->getIncomingBlock(i))) in IVUseShouldUsePostIncValue()
/external/llvm/include/llvm/Analysis/
DRegionInfoImpl.h114 return (DT->dominates(entry, BB) && in contains()
115 !(DT->dominates(exit, BB) && DT->dominates(entry, exit))); in contains()
563 if (DT->dominates(entry, P) && !DT->dominates(exit, P)) in isCommonDomFrontier()
579 if (!DT->dominates(entry, exit)) { in isRegion()
709 if (!DT->dominates(entry, exit)) in findRegionsWithEntry()
861 if (DT->dominates(Exit, BB)) in getMaxRegionExit()
DOrderedBasicBlock.h61 bool dominates(const Instruction *A, const Instruction *B);
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DLexicalScopes.cpp253 if (PrevLexicalScope && !PrevLexicalScope->dominates(S)) in assignInstructionRanges()
292 bool LexicalScopes::dominates(DebugLoc DL, MachineBasicBlock *MBB) { in dominates() function in LexicalScopes
308 if (Scope->dominates(IScope)) in dominates()
/external/llvm/lib/CodeGen/
DLexicalScopes.cpp256 if (PrevLexicalScope && !PrevLexicalScope->dominates(S)) in assignInstructionRanges()
294 bool LexicalScopes::dominates(const DILocation *DL, MachineBasicBlock *MBB) { in dominates() function in LexicalScopes
308 if (Scope->dominates(IScope)) in dominates()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DSink.cpp89 if (!DT->dominates(BB, UseBlock)) in AllUsesDominatedByBlock()
250 if (!DT->dominates(ParentBlock, SuccToSinkTo)) { in SinkInstruction()
/external/llvm/lib/Target/AArch64/
DAArch64PromoteConstant.cpp369 if (NewPt == IPI.first || DT.dominates(IPI.first, NewPt) || in isDominated()
374 DT.dominates(IPI.first->getParent(), NewPt->getParent()))) { in isDominated()
499 assert(DT.dominates(LoadedCst, in insertDefinitions()

1234567