/external/llvm/include/llvm/Transforms/Utils/ |
CodeExtractor.h | 48 DominatorTree *const DT; 69 CodeExtractor(ArrayRef<BasicBlock *> BBs, DominatorTree *DT = 0, 76 CodeExtractor(DominatorTree &DT, Loop &L, bool AggregateArgs = false); 82 CodeExtractor(DominatorTree &DT, const RegionNode &RN,
|
/external/llvm/include/llvm/CodeGen/ |
MachinePostDominators.h | 30 DominatorTreeBase<MachineBasicBlock> *DT; 42 return DT->getRoots(); 46 return DT->getRootNode(); 50 return DT->getNode(BB); 54 return DT->getNode(BB); 59 return DT->dominates(A, B); 63 return DT->dominates(A, B); 68 return DT->properlyDominates(A, B); 73 return DT->properlyDominates(A, B); 78 return DT->findNearestCommonDominator(A, B) [all...] |
MachineDominators.h | 43 DominatorTreeBase<MachineBasicBlock>* DT; 49 DominatorTreeBase<MachineBasicBlock>& getBase() { return *DT; } 58 return DT->getRoots(); 62 return DT->getRoot(); 66 return DT->getRootNode(); 73 return DT->dominates(A, B); 78 return DT->dominates(A, B); 85 if (BBA != BBB) return DT->dominates(BBA, BBB); 92 //if(!DT.IsPostDominators) { 103 return DT->properlyDominates(A, B) [all...] |
/external/llvm/lib/Transforms/Utils/ |
Mem2Reg.cpp | 66 DominatorTree &DT = getAnalysis<DominatorTree>(); 81 PromoteMemToReg(Allocas, DT, DL);
|
SimplifyInstructions.cpp | 48 const DominatorTree *DT = getAnalysisIfAvailable<DominatorTree>(); 66 if (Value *V = SimplifyInstruction(I, TD, TLI, DT)) {
|
LCSSA.cpp | 55 DominatorTree *DT; 83 assert(L->isLCSSAForm(*DT) && "LCSSA form not preserved!"); 107 DominatorTree *DT) { 108 DomTreeNode *DomNode = DT->getNode(BB); 110 if (DT->dominates(DomNode, DT->getNode(ExitBlocks[i]))) 121 DT = &getAnalysis<DominatorTree>(); 148 if (!BlockDominatesAnExit(BB, ExitBlocks, DT)) 170 assert(L->isLCSSAForm(*DT)); 218 DomTreeNode *DomNode = DT->getNode(DomBB) [all...] |
/external/llvm/include/llvm/Analysis/ |
PostDominators.h | 26 DominatorTreeBase<BasicBlock>* DT; 30 DT = new DominatorTreeBase<BasicBlock>(true); 42 return DT->getRoots(); 46 return DT->getRootNode(); 50 return DT->getNode(BB); 54 return DT->getNode(BB); 58 return DT->dominates(A, B); 62 return DT->dominates(A, B); 66 return DT->properlyDominates(A, B); 70 return DT->properlyDominates(A, B) [all...] |
DominanceFrontier.h | 172 DominatorTree &DT = getAnalysis<DominatorTree>(); 173 Roots = DT.getRoots(); 175 calculate(DT, DT[Roots[0]]); 184 const DomSetType &calculate(const DominatorTree &DT,
|
IVUsers.h | 123 DominatorTree *DT;
|
RegionInfo.h | 209 DominatorTree *DT; 244 /// @param DT The dominator tree of the current function. 248 DominatorTree *DT, Region *Parent = 0); 585 DominatorTree *DT;
|
/external/llvm/lib/Transforms/Scalar/ |
LoopDeletion.cpp | 205 DominatorTree &DT = getAnalysis<DominatorTree>(); 211 ChildNodes.insert(ChildNodes.begin(), DT[*LI]->begin(), DT[*LI]->end()); 214 DT.changeImmediateDominator(*DI, DT[preheader]); 218 DT.eraseNode(*LI);
|
LoopInstSimplify.cpp | 68 DominatorTree *DT = getAnalysisIfAvailable<DominatorTree>(); 112 Value *V = SimplifyInstruction(I, TD, TLI, DT);
|
Sink.cpp | 34 DominatorTree *DT; 92 if (!DT->dominates(BB, UseBlock)) 99 DT = &getAnalysis<DominatorTree>(); 126 if (!DT->isReachableFromEntry(&BB)) return false; 202 if (!DT->dominates(Inst->getParent(), SuccToSinkTo)) 240 DomTreeNode *DTN = DT->getNode(Inst->getParent());
|
/external/llvm/lib/Analysis/ |
ScalarEvolutionNormalization.cpp | 30 const Loop *L, DominatorTree *DT) { 40 if (DT->dominates(LatchBlock, User->getParent())) 55 !DT->dominates(LatchBlock, PN->getIncomingBlock(i))) 71 DominatorTree &DT; 77 ScalarEvolution &se, DominatorTree &dt): 78 Kind(kind), Loops(loops), SE(se), DT(dt) {} 122 if (IVUseShouldUsePostIncValue(User, OperandValToReplace, L, &DT)) { 220 DominatorTree &DT) { 221 PostIncTransform Transform(Kind, Loops, SE, DT); [all...] |
AliasAnalysis.cpp | 370 CapturesBefore(const Instruction *I, DominatorTree *DT) 371 : BeforeHere(I), DT(DT), Captured(false) {} 380 if (BeforeHere != I && !DT->isReachableFromEntry(BB)) 385 if (BeforeHere != I && DT->dominates(BeforeHere, I) && 386 !isPotentiallyReachable(I, BeforeHere, DT)) 395 if (BeforeHere != I && !DT->isReachableFromEntry(BB)) 397 if (BeforeHere != I && DT->dominates(BeforeHere, I) && 398 !isPotentiallyReachable(I, BeforeHere, DT)) 405 DominatorTree *DT; [all...] |
/external/llvm/lib/Transforms/IPO/ |
PartialInlining.cpp | 121 DominatorTree DT; 122 DT.runOnFunction(*duplicateFunction); 126 = CodeExtractor(toExtract, &DT).extractCodeRegion();
|
/external/llvm/unittests/Analysis/ |
CFGTest.cpp | 96 DominatorTree *DT = &getAnalysis<DominatorTree>(); 98 EXPECT_EQ(isPotentiallyReachable(A, B, DT, 0), ExpectedResult); 100 EXPECT_EQ(isPotentiallyReachable(A, B, DT, LI), ExpectedResult);
|
/external/clang/include/clang/Analysis/Analyses/ |
Dominators.h | 35 llvm::DominatorTreeBase<CFGBlock>* DT; 38 DT = new llvm::DominatorTreeBase<CFGBlock>(false); 42 delete DT; 45 llvm::DominatorTreeBase<CFGBlock>& getBase() { return *DT; } 50 return DT->getRoot(); 56 return DT->getRootNode(); 70 if (DT->compare(Other.getBase())) 81 DT->recalculate(*cfg); 91 if(DT->getNode(*I)->getIDom()) 94 << DT->getNode(*I)->getIDom()->getBlock()->getBlockID( [all...] |
/external/llvm/unittests/IR/ |
DominatorTreeTest.cpp | 28 DominatorTree *DT = &getAnalysis<DominatorTree>(); 56 EXPECT_TRUE(DT->isReachableFromEntry(BB0)); 57 EXPECT_TRUE(DT->isReachableFromEntry(BB1)); 58 EXPECT_TRUE(DT->isReachableFromEntry(BB2)); 59 EXPECT_FALSE(DT->isReachableFromEntry(BB3)); 60 EXPECT_TRUE(DT->isReachableFromEntry(BB4)); 63 EXPECT_TRUE(DT->dominates(BB0, BB0)); 64 EXPECT_TRUE(DT->dominates(BB0, BB1)); 65 EXPECT_TRUE(DT->dominates(BB0, BB2)); 66 EXPECT_TRUE(DT->dominates(BB0, BB3)) [all...] |
/external/clang/lib/Lex/ |
PPExpressions.cpp | 82 static bool EvaluateDefined(PPValue &Result, Token &PeekTok, DefinedTracker &DT, 157 DT.State = DefinedTracker::DefinedMacro; 158 DT.TheMacro = II; 165 /// expression in DT. See above for information on what DT means. 170 static bool EvaluateValue(PPValue &Result, Token &PeekTok, DefinedTracker &DT, 172 DT.State = DefinedTracker::Unknown; 187 return(EvaluateDefined(Result, PeekTok, DT, ValueLive, PP)); 331 if (EvaluateValue(Result, PeekTok, DT, ValueLive, PP)) return true; 336 // Just use DT unmodified as our result [all...] |
/external/llvm/lib/CodeGen/ |
MachineSink.cpp | 49 MachineDominatorTree *DT; // Machine dominator tree 214 if (!DT->dominates(MBB, UseBlock)) 228 DT = &getAnalysis<MachineDominatorTree>(); 257 if (!DT->isReachableFromEntry(&MBB)) return false; 382 if (!DT->dominates(ToBB, *PI)) 633 if (!TryBreak && !DT->dominates(ParentBlock, SuccToSinkTo)) {
|
PeepholeOptimizer.cpp | 95 MachineDominatorTree *DT; // Machine dominator tree 238 } else if (Aggressive && DT->dominates(MBB, UseMBB)) { 491 DT = Aggressive ? &getAnalysis<MachineDominatorTree>() : 0;
|
StackProtector.cpp | 55 DominatorTree *DT; 121 DT = getAnalysisIfAvailable<DominatorTree>(); 356 if (DT && DT->isReachableFromEntry(BB)) { 357 DT->addNewBlock(NewBB, BB); 358 FailBBDom = FailBBDom ? DT->findNearestCommonDominator(FailBBDom, BB) :BB; 379 if (DT && FailBBDom) 380 DT->addNewBlock(FailBB, FailBBDom);
|
/external/llvm/lib/Target/PowerPC/ |
PPCCTRLoops.cpp | 113 DominatorTree *DT; 173 DT = &getAnalysis<DominatorTree>(); 441 if (!DT->dominates(*I, *PI)) {
|
/external/llvm/lib/Target/R600/ |
SIAnnotateControlFlow.cpp | 64 DominatorTree *DT; 168 BasicBlock *IDom = DT->getNode(Phi->getParent())->getIDom()->getBlock(); 219 BasicBlock *IDom = DT->getNode(Parent)->getIDom()->getBlock(); 292 DT = &getAnalysis<DominatorTree>();
|