Home
last modified time | relevance | path

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

1234

/external/llvm/unittests/IR/
DDominatorTreeTest.cpp66 EXPECT_TRUE(DT->dominates(BB0, BB0)); in runOnFunction()
67 EXPECT_TRUE(DT->dominates(BB0, BB1)); in runOnFunction()
68 EXPECT_TRUE(DT->dominates(BB0, BB2)); in runOnFunction()
69 EXPECT_TRUE(DT->dominates(BB0, BB3)); in runOnFunction()
70 EXPECT_TRUE(DT->dominates(BB0, BB4)); in runOnFunction()
72 EXPECT_FALSE(DT->dominates(BB1, BB0)); in runOnFunction()
73 EXPECT_TRUE(DT->dominates(BB1, BB1)); in runOnFunction()
74 EXPECT_FALSE(DT->dominates(BB1, BB2)); in runOnFunction()
75 EXPECT_TRUE(DT->dominates(BB1, BB3)); in runOnFunction()
76 EXPECT_FALSE(DT->dominates(BB1, BB4)); in runOnFunction()
[all …]
/external/llvm/lib/IR/
DDominators.cpp80 bool DominatorTree::dominates(const Instruction *Def, in dominates() function in DominatorTree
102 return dominates(Def, UseBB); in dominates()
105 return dominates(DefBB, UseBB); in dominates()
117 bool DominatorTree::dominates(const Instruction *Def, in dominates() function in DominatorTree
134 return dominates(DefBB, UseBB); in dominates()
140 return dominates(E, UseBB); in dominates()
143 bool DominatorTree::dominates(const BasicBlockEdge &BBE, in dominates() function in DominatorTree
154 if (!dominates(End, UseBB)) in dominates()
188 if (!dominates(End, BB)) in dominates()
194 bool DominatorTree::dominates(const BasicBlockEdge &BBE, const Use &U) const { in dominates() function in DominatorTree
[all …]
/external/llvm/include/llvm/CodeGen/
DMachineDominators.h71 inline bool dominates(const MachineDomTreeNode* A, in dominates() function
73 return DT->dominates(A, B); in dominates()
76 inline bool dominates(const MachineBasicBlock* A, in dominates() function
78 return DT->dominates(A, B); in dominates()
83 bool dominates(const MachineInstr *A, const MachineInstr *B) const { in dominates() function
85 if (BBA != BBB) return DT->dominates(BBA, BBB); in dominates()
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()
DLexicalScopes.h95 if (Parent && (!NewScope || !Parent->dominates(NewScope)))
100 bool dominates(const LexicalScope *S) const { in dominates() function
170 bool dominates(DebugLoc DL, MachineBasicBlock *MBB);
/external/llvm/include/llvm/IR/
DDominators.h88 using Base::dominates;
94 bool dominates(const Instruction *Def, const Use &U) const;
95 bool dominates(const Instruction *Def, const Instruction *User) const;
96 bool dominates(const Instruction *Def, const BasicBlock *BB) const;
97 bool dominates(const BasicBlockEdge &BBE, const Use &U) const;
98 bool dominates(const BasicBlockEdge &BBE, const BasicBlock *BB) const;
/external/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()
DTrace.h79 bool dominates(const BasicBlock *B1, const BasicBlock *B2) const { in dominates() function
/external/llvm/lib/Analysis/
DRegionInfo.cpp122 return (DT->dominates(entry, BB) in contains()
123 && !(DT->dominates(exit, BB) && DT->dominates(entry, exit))); in contains()
407 if (!DT->dominates(getEntry(), *PI)) in getExpandedRegion()
422 if (!DT->dominates(getEntry(), R->getExit())) in getExpandedRegion()
425 if (!DT->dominates(R->getExit(), *PI)) in getExpandedRegion()
489 if (DT->dominates(entry, P) && !DT->dominates(exit, P)) in isCommonDomFrontier()
503 if (!DT->dominates(entry, exit)) { in isRegion()
630 if (!DT->dominates(entry, exit)) in findRegionsWithEntry()
792 if (DT->dominates(Exit, BB)) in getMaxRegionExit()
DPHITransAddr.cpp209 (!DT || DT->dominates(CastI->getParent(), PredBB))) in PHITranslateSubExpr()
245 (!DT || DT->dominates(GEPI->getParent(), PredBB))) { in PHITranslateSubExpr()
303 (!DT || DT->dominates(BO->getParent(), PredBB))) in PHITranslateSubExpr()
328 if (!DT->dominates(Inst->getParent(), PredBB)) in PHITranslateValue()
DScalarEvolutionExpander.cpp79 assert(SE.DT->dominates(Ret, BIP)); in ReuseOrCreateCast()
521 SE.DT->dominates(cast<Instruction>(V), Builder.GetInsertPoint())); in expandAddToGEP()
621 if (DT.dominates(A->getHeader(), B->getHeader())) return B; in PickMostRelevantLoop()
622 if (DT.dominates(B->getHeader(), A->getHeader())) return A; in PickMostRelevantLoop()
866 if (!SE.DT->dominates(OInst, IVIncInsertPos)) in isNormalAddRecExprPHI()
905 if (!OInst || SE.DT->dominates(OInst, InsertPos)) in getIVIncOperand()
917 if (!SE.DT->dominates(OInst, InsertPos)) in getIVIncOperand()
944 if (SE.DT->dominates(IncV, InsertPos)) in hoistIVInc()
950 || !SE.DT->dominates(InsertPos->getParent(), IncV->getParent())) in hoistIVInc()
962 if (SE.DT->dominates(IncV, InsertPos)) in hoistIVInc()
[all …]
DScalarEvolutionNormalization.cpp40 if (DT->dominates(LatchBlock, User->getParent())) in IVUseShouldUsePostIncValue()
55 !DT->dominates(LatchBlock, PN->getIncomingBlock(i))) in IVUseShouldUsePostIncValue()
/external/llvm/include/llvm/Support/
DGenericDomTree.h254 if (ND != NewBB && !DT.dominates(NewBBSucc, ND) && in Split()
372 return dominates(A, B); in properlyDominates()
392 inline bool dominates(const DomTreeNodeBase<NodeT> *A, in dominates() function
428 bool dominates(const NodeT *A, const NodeT *B) const;
450 if (dominates(B, A)) in findNearestCommonDominator()
454 if (dominates(A, B)) in findNearestCommonDominator()
711 bool DominatorTreeBase<NodeT>::dominates(const NodeT *A, const NodeT *B) const { in dominates() function
718 return dominates(getNode(const_cast<NodeT *>(A)), in dominates()
730 return dominates(getNode(const_cast<NodeT *>(A)), in properlyDominates()
/external/llvm/lib/Target/AArch64/
DAArch64PromoteConstant.cpp356 if (NewPt == IPI.first || DT.dominates(IPI.first, NewPt) || in isDominated()
361 DT.dominates(IPI.first->getParent(), NewPt->getParent()))) { in isDominated()
518 assert((DT.dominates(LoadedCst, cast<Instruction>(*Use)) || in insertDefinitions()
520 DT.dominates(LoadedCst, findInsertionPoint(Use)))) && in insertDefinitions()
DAArch64AddressTypePromotion.cpp388 if (DT.dominates(Inst, Pt)) { in mergeSExts()
397 if (!DT.dominates(Pt, Inst)) in mergeSExts()
/external/clang/include/clang/Analysis/Analyses/
DDominators.h111 inline bool dominates(const CFGBlock* A, const CFGBlock* B) const { in dominates() function
112 return DT->dominates(A, B); in dominates()
/external/llvm/test/CodeGen/AArch64/
Darm64-collect-loh.ll23 ; dominates the second.
25 ; 'a' is loaded in if.then, 'b' in if.end4, if.then does not dominates if.end4.
/external/llvm/lib/CodeGen/
DLexicalScopes.cpp273 if (PrevLexicalScope && !PrevLexicalScope->dominates(S)) in assignInstructionRanges()
311 bool LexicalScopes::dominates(DebugLoc DL, MachineBasicBlock *MBB) { in dominates() function in LexicalScopes
327 if (Scope->dominates(IScope)) in dominates()
DMachineSink.cpp203 if (!DT->dominates(MBB, UseBlock)) in AllUsesDominatedByBlock()
391 if (!DT->dominates(ToBB, *PI)) in SplitCriticalEdge()
643 if (!TryBreak && !DT->dominates(ParentBlock, SuccToSinkTo)) { in SinkInstruction()
/external/llvm/lib/Transforms/Scalar/
DSink.cpp93 if (!DT->dominates(BB, UseBlock)) in AllUsesDominatedByBlock()
205 if (!DT->dominates(Inst->getParent(), SuccToSinkTo)) in IsAcceptableTarget()
DStructurizeCFG.cpp689 if (!DT->dominates(BB, PI->first)) in dominatesPredicates()
710 if (!Dominated && DT->dominates(I->first, PrevNode->getEntry())) in isPredictableTrue()
801 bool EntryDominatesExit = DT->dominates(ParentRegion->getEntry(), Exit); in createFlow()
841 if (DT->dominates(II, User)) in rebuildSSA()
/external/llvm/lib/Transforms/Utils/
DLCSSA.cpp107 if (!DT.dominates(DomNode, DT.getNode(ExitBB))) in processInstruction()
177 if (DT.dominates(DomNode, DT.getNode(ExitBlocks[i]))) in blockDominatesAnExit()
/external/clang/lib/CodeGen/
DREADME.txt28 variables as long as the declaration dominates all statements in the
/external/checkpolicy/
Dpolicy_define.c2098 if (ebitmap_or(&new->dominates, &r1->dominates, &r2->dominates)) { in merge_roles_dom()
2111 ebitmap_destroy(&r1->dominates); in merge_roles_dom()
2118 ebitmap_destroy(&r2->dominates); in merge_roles_dom()
2138 if (ebitmap_get_bit(&(rdatum->dominates), rdp->s.value - 1)) { in dominate_role_recheck()
2146 ebitmap_for_each_bit(&rdp->dominates, node, i) { in dominate_role_recheck()
2149 (&rdatum->dominates, i, TRUE)) in dominate_role_recheck()
2226 if (ebitmap_set_bit(&role->dominates, role->s.value - 1, TRUE)) { in define_role_dom()
2234 ebitmap_for_each_bit(&r->dominates, node, i) { in define_role_dom()
2236 if (ebitmap_set_bit(&role->dominates, i, TRUE)) in define_role_dom()
2253 ebitmap_destroy(&r->dominates); in define_role_dom()
[all …]
/external/libsepol/tests/
Dtest-linker-roles.c61 ebitmap_for_each_bit(&role->dominates, tnode, i) { in only_dominates_self()

1234