/external/llvm/unittests/IR/ |
D | DominatorTreeTest.cpp | 66 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/ |
D | Dominators.cpp | 80 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/ |
D | MachineDominators.h | 71 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()
|
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 | LexicalScopes.h | 95 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/ |
D | Dominators.h | 88 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/ |
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 | Trace.h | 79 bool dominates(const BasicBlock *B1, const BasicBlock *B2) const { in dominates() function
|
/external/llvm/lib/Analysis/ |
D | RegionInfo.cpp | 122 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()
|
D | PHITransAddr.cpp | 209 (!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()
|
D | ScalarEvolutionExpander.cpp | 79 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 …]
|
D | ScalarEvolutionNormalization.cpp | 40 if (DT->dominates(LatchBlock, User->getParent())) in IVUseShouldUsePostIncValue() 55 !DT->dominates(LatchBlock, PN->getIncomingBlock(i))) in IVUseShouldUsePostIncValue()
|
/external/llvm/include/llvm/Support/ |
D | GenericDomTree.h | 254 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/ |
D | AArch64PromoteConstant.cpp | 356 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()
|
D | AArch64AddressTypePromotion.cpp | 388 if (DT.dominates(Inst, Pt)) { in mergeSExts() 397 if (!DT.dominates(Pt, Inst)) in mergeSExts()
|
/external/clang/include/clang/Analysis/Analyses/ |
D | Dominators.h | 111 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/ |
D | arm64-collect-loh.ll | 23 ; 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/ |
D | LexicalScopes.cpp | 273 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()
|
D | MachineSink.cpp | 203 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/ |
D | Sink.cpp | 93 if (!DT->dominates(BB, UseBlock)) in AllUsesDominatedByBlock() 205 if (!DT->dominates(Inst->getParent(), SuccToSinkTo)) in IsAcceptableTarget()
|
D | StructurizeCFG.cpp | 689 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/ |
D | LCSSA.cpp | 107 if (!DT.dominates(DomNode, DT.getNode(ExitBB))) in processInstruction() 177 if (DT.dominates(DomNode, DT.getNode(ExitBlocks[i]))) in blockDominatesAnExit()
|
/external/clang/lib/CodeGen/ |
D | README.txt | 28 variables as long as the declaration dominates all statements in the
|
/external/checkpolicy/ |
D | policy_define.c | 2098 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/ |
D | test-linker-roles.c | 61 ebitmap_for_each_bit(&role->dominates, tnode, i) { in only_dominates_self()
|