/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
Mem2Reg.cpp | 64 DominatorTree &DT = getAnalysis<DominatorTree>(); 78 PromoteMemToReg(Allocas, DT);
|
SimplifyInstructions.cpp | 46 const DominatorTree *DT = getAnalysisIfAvailable<DominatorTree>(); 63 if (Value *V = SimplifyInstruction(I, TD, DT)) {
|
BreakCriticalEdges.cpp | 240 DominatorTree *DT = P->getAnalysisIfAvailable<DominatorTree>(); 245 if (DT == 0 && LI == 0 && PI == 0) 273 if (DT) { 274 DomTreeNode *TINode = DT->getNode(TIBB); 280 DomTreeNode *NewBBNode = DT->addNewBlock(NewBB, TIBB); 283 // If NewBBDominatesDestBB hasn't been computed yet, do so with DT. 285 DestBBNode = DT->getNode(DestBB); 287 if (DomTreeNode *OPNode = DT->getNode(OtherPreds.back())) 288 NewBBDominatesDestBB = DT->dominates(DestBBNode, OPNode); 297 if (!DestBBNode) DestBBNode = DT->getNode(DestBB) [all...] |
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
Dominators.cpp | 59 DT->recalculate(F); 80 DT->print(OS);
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/GenMetaFile/ |
GenMetaFileMisc.py | 20 from Library import DataType as DT
35 Statement = (u'%s ' % DT.TAB_INF_DEFINES_ENTRY_POINT).ljust(LeftOffset) + u'= %s' % EntryPoint
45 Statement = (u'%s ' % DT.TAB_INF_DEFINES_UNLOAD_IMAGE).ljust(LeftOffset) + u'= %s' % UnloadImage
56 Statement = (u'%s ' % DT.TAB_INF_DEFINES_CONSTRUCTOR).ljust(LeftOffset) + u'= %s' % Constructor
67 Statement = (u'%s ' % DT.TAB_INF_DEFINES_DESTRUCTOR).ljust(LeftOffset) + u'= %s' % Destructor
|
/external/llvm/include/llvm/Analysis/ |
DominanceFrontier.h | 127 void analyze(DomTreeT &DT) { 128 this->Roots = DT.getRoots(); 131 calculate(DT, DT[this->Roots[0]]); 134 const DomSetType &calculate(const DomTreeT &DT, const DomTreeNodeT *Node);
|
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/ |
DominanceFrontier.h | 171 DominatorTree &DT = getAnalysis<DominatorTree>(); 172 Roots = DT.getRoots(); 174 calculate(DT, DT[Roots[0]]); 183 const DomSetType &calculate(const DominatorTree &DT,
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
Sink.cpp | 32 DominatorTree *DT; 89 if (!DT->dominates(BB, UseBlock)) 96 DT = &getAnalysis<DominatorTree>(); 124 if (!DT->isReachableFromEntry(&BB)) return false; 250 if (!DT->dominates(ParentBlock, SuccToSinkTo)) {
|
LoopRotation.cpp | 306 if (DominatorTree *DT = getAnalysisIfAvailable<DominatorTree>()) { 309 DT->changeImmediateDominator(Exit, OrigPreheader); 310 DT->changeImmediateDominator(NewHeader, OrigPreheader); 313 DT->changeImmediateDominator(OrigHeader, OrigLatch); 334 if (DominatorTree *DT = getAnalysisIfAvailable<DominatorTree>()) { 336 DT->changeImmediateDominator(NewHeader, OrigPreheader); 337 DT->changeImmediateDominator(OrigHeader, OrigLatch);
|
/external/llvm/lib/Transforms/Utils/ |
BasicBlockUtils.cpp | 95 bool llvm::MergeBlockIntoPredecessor(BasicBlock *BB, DominatorTree *DT, 151 if (DT) 152 if (DomTreeNode *DTN = DT->getNode(BB)) { 153 DomTreeNode *PredDTN = DT->getNode(PredBB); 156 DT->changeImmediateDominator(DI, PredDTN); 158 DT->eraseNode(BB); 210 BasicBlock *llvm::SplitEdge(BasicBlock *BB, BasicBlock *Succ, DominatorTree *DT, 216 if (SplitCriticalEdge(LatchTerm, SuccNum, CriticalEdgeSplittingOptions(DT, LI) 227 return SplitBlock(Succ, &Succ->front(), DT, LI); 234 return SplitBlock(BB, BB->getTerminator(), DT, LI) [all...] |
LoopSimplify.cpp | 118 BasicBlock *llvm::InsertPreheaderForLoop(Loop *L, DominatorTree *DT, 140 PreheaderBB = SplitBlockPredecessors(Header, OutsideBlocks, ".preheader", DT, 160 DominatorTree *DT, LoopInfo *LI, 176 NewExitBB = SplitBlockPredecessors(Exit, LoopBlocks, ".loopexit", DT, LI, 207 static PHINode *findPHIToPartitionLoops(Loop *L, DominatorTree *DT, 213 if (Value *V = SimplifyInstruction(PN, DL, nullptr, DT, AC)) { 250 DominatorTree *DT, LoopInfo *LI, 261 PHINode *PN = findPHIToPartitionLoops(L, DT, AC); 286 DT, LI, PreserveLCSSA); 317 if (DT->dominates(Header, P) [all...] |
LoopVersioning.cpp | 34 DominatorTree *DT, ScalarEvolution *SE, 36 : VersionedLoop(L), NonVersionedLoop(nullptr), LAI(LAI), LI(LI), DT(DT), 96 SplitBlock(RuntimeCheckBB, RuntimeCheckBB->getTerminator(), DT, LI); 106 ".lver.orig", LI, DT, NonVersionedLoopBlocks); 117 DT->changeImmediateDominator(VersionedLoop->getExitBlock(), RuntimeCheckBB); 263 auto *DT = &getAnalysis<DominatorTreeWrapperPass>().getDomTree(); 283 LoopVersioning LVer(LAI, L, LI, DT, SE);
|
/external/llvm/lib/Transforms/Scalar/ |
LoopDistribute.cpp | 141 DominatorTree *DT) { 144 LI, DT, ClonedLoopBlocks); 237 InstPartitionContainer(Loop *L, LoopInfo *LI, DominatorTree *DT) 238 : L(L), LI(LI), DT(DT) {} 285 if (!LoopAccessInfo::blockNeedsPredication(Inst->getParent(), L, DT)) 420 NewLoop = Part->cloneLoopWithPreheader(TopPH, Pred, Index, LI, DT); 434 DT->changeImmediateDominator( 521 DominatorTree *DT; 591 LoopDistributeForLoop(Loop *L, Function *F, LoopInfo *LI, DominatorTree *DT, [all...] |
PlaceSafepoints.cpp | 114 DominatorTree *DT = nullptr; 132 DT = &getAnalysis<DominatorTreeWrapperPass>().getDomTree(); 197 DominatorTree &DT) { 208 assert(DT.dominates(Header, Pred) && "loop latch not dominated by header?"); 226 Current = DT.getNode(Current)->getIDom()->getBlock(); 324 containsUnconditionalCallSafepoint(L, Header, Pred, *DT)) { 379 DominatorTree &DT) { 487 DominatorTree DT; 488 DT.recalculate(F); 506 DT.recalculate(F) [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Ecc/ |
Check.py | 16 import Common.DataType as DT
[all...] |
/external/llvm/lib/Analysis/ |
InstructionSimplify.cpp | 52 const DominatorTree *DT; 57 const DominatorTree *dt, AssumptionCache *ac = nullptr, 59 : DL(DL), TLI(tli), DT(dt), AC(ac), CxtI(cxti) {} 105 static bool ValueDominatesPHI(Value *V, PHINode *P, const DominatorTree *DT) { 118 if (DT) { 119 if (!DT->isReachableFromEntry(P->getParent())) 121 if (!DT->isReachableFromEntry(I->getParent())) 123 return DT->dominates(I, P); 461 if (!ValueDominatesPHI(RHS, PI, Q.DT)) [all...] |
DivergenceAnalysis.cpp | 85 DivergencePropagator(Function &F, TargetTransformInfo &TTI, DominatorTree &DT, 87 : F(F), TTI(TTI), DT(DT), PDT(PDT), DV(DV) {} 107 DominatorTree &DT; 143 if (!DT.isReachableFromEntry(ThisBB)) 192 DomTreeNode *IDomNode = DT.getNode(InfluencedBB)->getIDom();
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Library/ |
UniClassObject.py | 29 from Library import DataType as DT
236 if not Value or Lang == DT.TAB_LANGUAGE_EN_X:
239 Lang = DT.TAB_LANGUAGE_EN_US
241 Lang = DT.TAB_LANGUAGE_EN_US
459 if Line.startswith(DT.TAB_COMMENT_EDK1_SPLIT) and (Line.find(DT.TAB_HEADER_COMMENT) > -1) \
462 if not Line.startswith(DT.TAB_COMMENT_EDK1_SPLIT) and HeaderStart and not HeaderEnd:
464 if Line.startswith(DT.TAB_COMMENT_EDK1_SPLIT) and HeaderStart and not HeaderEnd and FirstGenHeader:
618 if StrName and not StrName.split()[1].startswith(DT.TAB_STR_TOKENCNAME + DT.TAB_UNDERLINE_SPLIT): [all...] |
/external/clang/lib/Lex/ |
PPExpressions.cpp | 88 static bool EvaluateDefined(PPValue &Result, Token &PeekTok, DefinedTracker &DT, 201 DT.State = DefinedTracker::DefinedMacro; 202 DT.TheMacro = II; 209 /// expression in DT. See above for information on what DT means. 214 static bool EvaluateValue(PPValue &Result, Token &PeekTok, DefinedTracker &DT, 216 DT.State = DefinedTracker::Unknown; 233 return EvaluateDefined(Result, PeekTok, DT, ValueLive, PP); 384 if (EvaluateValue(Result, PeekTok, DT, ValueLive, PP)) return true; 389 // Just use DT unmodified as our result [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Object/Parser/ |
InfMisc.py | 22 from Library import DataType as DT
113 if Type == DT.TYPE_HOB_SECTION or \
114 Type == DT.TYPE_EVENT_SECTION or \
115 Type == DT.TYPE_BOOTMODE_SECTION:
|
InfPcdObject.py | 25 from Library import DataType as DT
49 if PcdTypeItem1.upper != DT.TAB_INF_FEATURE_PCD.upper():
76 DT.ALL_USAGE_TOKENS,
84 CommentItemUsage = DT.USAGE_ITEM_CONSUMES
91 FFEHelpText = FFEHelpText + DT.END_OF_LINE + CommentItemHelpText
101 if Count == len(CommentList) and CommentItemUsage == DT.ITEM_UNDEFINED:
102 CommentItemHelpText = DT.END_OF_LINE
105 if CommentItemUsage == DT.ITEM_UNDEFINED:
113 if CommentItemUsage == DT.ITEM_UNDEFINED:
126 if CommentItemUsage == PreUsage == DT.ITEM_UNDEFINED: [all...] |
/external/llvm/include/llvm/Transforms/Vectorize/ |
LoopVectorize.h | 80 DominatorTree *DT;
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
DominanceFrontier.cpp | 39 DominanceFrontier::calculate(const DominatorTree &DT, 68 if (DT[*SI]->getIDom() != currentNode) 100 if (!DT.properlyDominates(parentNode, DT[*CDFI]))
|
/external/llvm/include/llvm/Transforms/Utils/ |
Local.h | 116 void MergeBasicBlockIntoOnlyPred(BasicBlock *BB, DominatorTree *DT = nullptr); 172 const DominatorTree *DT = nullptr); 178 const DominatorTree *DT = nullptr) { 179 return getOrEnforceKnownAlignment(V, 0, DL, CxtI, AC, DT); 321 unsigned replaceDominatedUsesWith(Value *From, Value *To, DominatorTree &DT, 325 unsigned replaceDominatedUsesWith(Value *From, Value *To, DominatorTree &DT,
|
/external/llvm/lib/CodeGen/ |
DwarfEHPrepare.cpp | 42 DominatorTree *DT; 58 : FunctionPass(ID), TM(nullptr), RewindFunction(nullptr), DT(nullptr), 62 : FunctionPass(ID), TM(TM), RewindFunction(nullptr), DT(nullptr), 146 if (isPotentiallyReachable(LP, RI, DT)) { 258 DT = &getAnalysis<DominatorTreeWrapperPass>().getDomTree(); 261 DT = nullptr;
|