Home
last modified time | relevance | path

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

123

/external/llvm/unittests/VMCore/
DDominatorTreeTest.cpp54 EXPECT_TRUE(DT->dominates(BB0, BB0)); in runOnFunction()
55 EXPECT_TRUE(DT->dominates(BB0, BB1)); in runOnFunction()
56 EXPECT_TRUE(DT->dominates(BB0, BB2)); in runOnFunction()
57 EXPECT_TRUE(DT->dominates(BB0, BB3)); in runOnFunction()
58 EXPECT_TRUE(DT->dominates(BB0, BB4)); in runOnFunction()
60 EXPECT_FALSE(DT->dominates(BB1, BB0)); in runOnFunction()
61 EXPECT_TRUE(DT->dominates(BB1, BB1)); in runOnFunction()
62 EXPECT_FALSE(DT->dominates(BB1, BB2)); in runOnFunction()
63 EXPECT_TRUE(DT->dominates(BB1, BB3)); in runOnFunction()
64 EXPECT_FALSE(DT->dominates(BB1, BB4)); in runOnFunction()
[all …]
/external/llvm/lib/VMCore/
DDominators.cpp99 bool DominatorTree::dominates(const Instruction *Def, in dominates() function in DominatorTree
121 return dominates(Def, UseBB); in dominates()
124 return dominates(DefBB, UseBB); in dominates()
136 bool DominatorTree::dominates(const Instruction *Def, in dominates() function in DominatorTree
153 return dominates(DefBB, UseBB); in dominates()
159 return dominates(E, UseBB); in dominates()
162 bool DominatorTree::dominates(const BasicBlockEdge &BBE, in dominates() function in DominatorTree
173 if (!dominates(End, UseBB)) in dominates()
207 if (!dominates(End, BB)) in dominates()
213 bool DominatorTree::dominates(const BasicBlockEdge &BBE, in dominates() function in DominatorTree
[all …]
/external/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);
211 if (Parent && (!NewScope || !Parent->dominates(NewScope)))
216 bool dominates(const LexicalScope *S) const { in dominates() function
/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()
DDominators.h260 if (ND != NewBB && !DT.dominates(NewBBSucc, ND) && in Split()
358 return dominates(A, B); in properlyDominates()
378 inline bool dominates(const DomTreeNodeBase<NodeT> *A, in dominates() function
414 bool dominates(const NodeT *A, const NodeT *B);
436 if (dominates(B, A)) in findNearestCommonDominator()
440 if (dominates(A, B)) in findNearestCommonDominator()
683 bool DominatorTreeBase<NodeT>::dominates(const NodeT *A, const NodeT *B) { in dominates() function
690 return dominates(getNode(const_cast<NodeT *>(A)), in dominates()
702 return dominates(getNode(const_cast<NodeT *>(A)), in properlyDominates()
782 inline bool dominates(const DomTreeNode* A, const DomTreeNode* B) const { in dominates() function
[all …]
DTrace.h79 bool dominates(const BasicBlock *B1, const BasicBlock *B2) const { in dominates() function
/external/llvm/lib/Analysis/
DRegionInfo.cpp94 return (DT->dominates(entry, BB) in contains()
95 && !(DT->dominates(exit, BB) && DT->dominates(entry, exit))); in contains()
373 if (!DT->dominates(getEntry(), *PI)) in getExpandedRegion()
388 if (!DT->dominates(getEntry(), R->getExit())) in getExpandedRegion()
391 if (!DT->dominates(R->getExit(), *PI)) in getExpandedRegion()
455 if (DT->dominates(entry, P) && !DT->dominates(exit, P)) in isCommonDomFrontier()
469 if (!DT->dominates(entry, exit)) { in isRegion()
596 if (!DT->dominates(entry, exit)) in findRegionsWithEntry()
758 if (DT->dominates(Exit, BB)) in getMaxRegionExit()
DPHITransAddr.cpp210 (!DT || DT->dominates(CastI->getParent(), PredBB))) in PHITranslateSubExpr()
247 (!DT || DT->dominates(GEPI->getParent(), PredBB))) { in PHITranslateSubExpr()
306 (!DT || DT->dominates(BO->getParent(), PredBB))) in PHITranslateSubExpr()
331 if (!DT->dominates(Inst->getParent(), PredBB)) in PHITranslateValue()
DScalarEvolutionExpander.cpp79 assert(SE.DT->dominates(Ret, BIP)); in ReuseOrCreateCast()
522 SE.DT->dominates(cast<Instruction>(V), Builder.GetInsertPoint())); in expandAddToGEP()
629 if (DT.dominates(A->getHeader(), B->getHeader())) return B; in PickMostRelevantLoop()
630 if (DT.dominates(B->getHeader(), A->getHeader())) return A; in PickMostRelevantLoop()
875 if (!SE.DT->dominates(OInst, IVIncInsertPos)) in isNormalAddRecExprPHI()
914 if (!OInst || SE.DT->dominates(OInst, InsertPos)) in getIVIncOperand()
926 if (!SE.DT->dominates(OInst, InsertPos)) in getIVIncOperand()
953 if (SE.DT->dominates(IncV, InsertPos)) in hoistIVInc()
959 || !SE.DT->dominates(InsertPos->getParent(), IncV->getParent())) in hoistIVInc()
971 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()
DAliasAnalysis.cpp376 (!DT->isReachableFromEntry(BB) || DT->dominates(BeforeHere, I))) in shouldExplore()
385 (!DT->isReachableFromEntry(BB) || DT->dominates(BeforeHere, I))) in captured()
/external/clang/include/clang/Analysis/Analyses/
DDominators.h106 inline bool dominates(const CFGBlock* A, const CFGBlock* B) const { in dominates() function
107 return DT->dominates(A, B); in dominates()
/external/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()
DMachineSink.cpp215 if (!DT->dominates(MBB, UseBlock)) in AllUsesDominatedByBlock()
384 if (!DT->dominates(ToBB, *PI)) in SplitCriticalEdge()
635 if (!TryBreak && !DT->dominates(ParentBlock, SuccToSinkTo)) { in SinkInstruction()
DLiveDebugVariables.cpp87 bool dominates(MachineBasicBlock *MBB) { in dominates() function in __anonf795f96c0111::UserValueScopes
90 if (LBlocks.count(MBB) != 0 || LS.dominates(DL, MBB)) in dominates()
540 if (UVS.dominates(MBB)) in extendDef()
/external/llvm/lib/Transforms/Scalar/
DSink.cpp92 if (!DT->dominates(BB, UseBlock)) in AllUsesDominatedByBlock()
202 if (!DT->dominates(Inst->getParent(), SuccToSinkTo)) in IsAcceptableTarget()
DLICM.cpp492 if (!DT->dominates(I.getParent(), ExitBlocks[0])) { in sink()
543 if (!DT->dominates(InstOrigBB, ExitBlock)) in sink()
646 if (!DT->dominates(Inst.getParent(), ExitBlocks[i])) in isGuaranteedToExecute()
/external/llvm/lib/Transforms/Utils/
DLCSSA.cpp108 if (DT->dominates(DomNode, DT->getNode(ExitBlocks[i]))) in BlockDominatesAnExit()
220 if (!DT->dominates(DomNode, DT->getNode(ExitBB))) continue; in ProcessInstruction()
DPromoteMemoryToRegister.cpp259 bool dominates(BasicBlock *BB1, BasicBlock *BB2) const { in dominates() function
260 return DT.dominates(BB1, BB2); in dominates()
872 !dominates(StoreBB, LI->getParent())) { in RewriteSingleStoreAlloca()
/external/checkpolicy/
Dpolicy_define.c1955 if (ebitmap_or(&new->dominates, &r1->dominates, &r2->dominates)) { in merge_roles_dom()
1966 ebitmap_destroy(&r1->dominates); in merge_roles_dom()
1973 ebitmap_destroy(&r2->dominates); in merge_roles_dom()
1993 if (ebitmap_get_bit(&(rdatum->dominates), rdp->s.value - 1)) { in dominate_role_recheck()
2001 ebitmap_for_each_bit(&rdp->dominates, node, i) { in dominate_role_recheck()
2004 (&rdatum->dominates, i, TRUE)) in dominate_role_recheck()
2081 if (ebitmap_set_bit(&role->dominates, role->s.value - 1, TRUE)) { in define_role_dom()
2089 ebitmap_for_each_bit(&r->dominates, node, i) { in define_role_dom()
2091 if (ebitmap_set_bit(&role->dominates, i, TRUE)) in define_role_dom()
2108 ebitmap_destroy(&r->dominates); in define_role_dom()
[all …]
/external/clang/lib/CodeGen/
DREADME.txt28 variables as long as the declaration dominates all statements in the
/external/libsepol/tests/
Dtest-linker-roles.c61 ebitmap_for_each_bit(&role->dominates, tnode, i) { in only_dominates_self()
/external/libsepol/src/
Dservices.c174 ebitmap_get_bit(&r1->dominates, in constraint_expr_eval()
179 ebitmap_get_bit(&r2->dominates, in constraint_expr_eval()
185 (&r1->dominates, val2 - 1) in constraint_expr_eval()
186 && !ebitmap_get_bit(&r2->dominates, in constraint_expr_eval()
Dgenusers.c161 ebitmap_for_each_bit(&roldatum->dominates, rnode, bit) {

123