Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DLiveRangeCalc.cpp56 DomTree = MDT; in reset()
91 assert(DomTree && "Missing dominator tree"); in extend()
117 assert(DomTree && "Missing dominator tree"); in calculateValues()
322 addLiveInBlock(LR, DomTree->getNode(MBB)); in findReachingDefs()
334 assert(DomTree && "Missing dominator tree"); in updateSSA()
361 // Cache the DomTree node that defined the value. in updateSSA()
365 DomTree->getNode(Indexes->getMBBFromIndex(IDomValue.first->def)); in updateSSA()
377 // Cache the DomTree node that defined the value. in updateSSA()
380 DomTree->getNode(Indexes->getMBBFromIndex(Value.first->def)); in updateSSA()
385 if (DomTree in updateSSA()
[all...]
H A DEarlyIfConversion.cpp765 MachineDominatorTree *DomTree = nullptr; member in __anon4c5015260311::EarlyIfConverter
809 void updateDomTree(MachineDominatorTree *DomTree, const SSAIfConv &IfConv, in updateDomTree() argument
814 MachineDomTreeNode *HeadNode = DomTree->getNode(IfConv.Head); in updateDomTree()
816 MachineDomTreeNode *Node = DomTree->getNode(B); in updateDomTree()
820 DomTree->changeImmediateDominator(Node->back(), HeadNode); in updateDomTree()
822 DomTree->eraseNode(B); in updateDomTree()
1068 updateDomTree(DomTree, IfConv, RemovedBlocks); in tryConvertIf()
1089 DomTree = &getAnalysis<MachineDominatorTreeWrapperPass>().getDomTree(); in runOnMachineFunction()
1101 for (auto *DomNode : post_order(DomTree)) in runOnMachineFunction()
1118 MachineDominatorTree *DomTree = nullptr; member in __anon4c5015260b11::EarlyIfPredicator
[all …]
H A DLiveIntervalCalc.cpp89 MachineDominatorTree *DomTree = getDomTree(); in calculate()
95 SubLIC.reset(MF, Indexes, DomTree, Alloc); in calculate()
90 MachineDominatorTree *DomTree = getDomTree(); calculate() local
H A DMachineUniformityAnalysis.cpp202 auto &DomTree = in runOnMachineFunction() local
207 UI = computeMachineUniformityInfo(MF, CI, DomTree, true); in runOnMachineFunction()
H A DLiveIntervals.cpp88 LIS.DomTree = &getAnalysis<MachineDominatorTreeWrapperPass>().getDomTree(); in INITIALIZE_PASS_DEPENDENCY()
216 LICalc->reset(MF, getSlotIndexes(), DomTree, &getVNInfoAllocator()); in computeVirtRegInterval()
298 LICalc->reset(MF, getSlotIndexes(), DomTree, &getVNInfoAllocator()); in computeRegUnitRange()
644 LICalc->reset(MF, getSlotIndexes(), DomTree, &getVNInfoAllocator()); in extendToIndices()
1784 LICalc->reset(MF, getSlotIndexes(), DomTree, &getVNInfoAllocator()); in constructMainRangeFromSubranges()
H A DRegAllocGreedy.h175 MachineDominatorTree *DomTree = nullptr; variable
H A DRegAllocGreedy.cpp2730 DomTree = &getAnalysis<MachineDominatorTreeWrapperPass>().getDomTree(); in runOnMachineFunction()
2763 SE.reset(new SplitEditor(*SA, *LIS, *VRM, *DomTree, *MBFI, *VRAI)); in runOnMachineFunction()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/
H A DLiveDebugValues.cpp120 MachineDominatorTree *DomTree = nullptr; in runOnMachineFunction() local
122 DomTree = &MDT; in runOnMachineFunction()
127 return TheImpl->ExtendRanges(MF, DomTree, TPC, InputBBLimit, in runOnMachineFunction()
H A DLiveDebugValues.h27 virtual bool ExtendRanges(MachineFunction &MF, MachineDominatorTree *DomTree,
H A DInstrRefBasedImpl.h1165 MachineDominatorTree *DomTree;
1500 bool ExtendRanges(MachineFunction &MF, MachineDominatorTree *DomTree,
H A DVarLocBasedImpl.cpp1086 bool ExtendRanges(MachineFunction &MF, MachineDominatorTree *DomTree,
2208 MachineDominatorTree *DomTree, in ExtendRanges() argument
2211 (void)DomTree; in ExtendRanges()
H A DInstrRefBasedImpl.cpp2790 IDFCalculatorBase<MachineBasicBlock, false> IDF(DomTree->getBase()); in BlockPHIPlacement()
3404 if (!DomTree->properlyDominates(AssignMBB, ScopeBlock)) in placePHIsForSingleVarDefinition()
3678 MachineDominatorTree *DomTree, in ExtendRanges() argument
3689 this->DomTree = DomTree; in ExtendRanges()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DGenericLoopInfoImpl.h449 const DomTreeBase<BlockT> &DomTree) { in discoverAndMapSubloop() argument
463 if (!DomTree.isReachableFromEntry(PredBB)) in discoverAndMapSubloop()
566 void LoopInfoBase<BlockT, LoopT>::analyze(const DomTreeBase<BlockT> &DomTree) { in analyze() argument
568 const DomTreeNodeBase<BlockT> *DomRoot = DomTree.getRootNode(); in analyze()
577 const DomTreeNodeBase<BlockT> *BackedgeNode = DomTree.getNode(Backedge); in analyze()
578 if (BackedgeNode && DomTree.dominates(DomNode, BackedgeNode)) in analyze()
584 discoverAndMapSubloop(L, ArrayRef<BlockT *>(Backedges), this, DomTree); in analyze()
708 const DomTreeBase<BlockT> &DomTree) const { in verify() argument
729 OtherLI.analyze(DomTree); in verify()
H A DGenericLoopInfo.h689 void analyze(const DominatorTreeBase<BlockT, false> &DomTree); in isNotAlreadyContainedIn()
694 void verify(const DominatorTreeBase<BlockT, false> &DomTree) const; in isNotAlreadyContainedIn()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPURegBankSelect.cpp66 MachineDominatorTree &DomTree = in INITIALIZE_PASS_DEPENDENCY() local
70 computeMachineUniformityInfo(MF, CycleInfo, DomTree.getBase(), in INITIALIZE_PASS_DEPENDENCY()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ConditionalCompares.cpp767 MachineDominatorTree *DomTree; member in __anon79d718350211::AArch64ConditionalCompares
823 MachineDomTreeNode *HeadNode = DomTree->getNode(CmpConv.Head); in updateDomTree()
825 MachineDomTreeNode *Node = DomTree->getNode(RemovedMBB); in updateDomTree()
829 DomTree->changeImmediateDominator(Node->back(), HeadNode); in updateDomTree()
830 DomTree->eraseNode(RemovedMBB); in updateDomTree()
936 DomTree = &getAnalysis<MachineDominatorTreeWrapperPass>().getDomTree(); in runOnMachineFunction()
951 for (auto *I : depth_first(DomTree)) in runOnMachineFunction()
H A DAArch64ConditionOptimizer.cpp96 MachineDominatorTree *DomTree; member in __anond07520510111::AArch64ConditionOptimizer
335 DomTree = &getAnalysis<MachineDominatorTreeWrapperPass>().getDomTree(); in runOnMachineFunction()
345 for (MachineDomTreeNode *I : depth_first(DomTree)) { in runOnMachineFunction()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DLiveRangeCalc.h49 MachineDominatorTree *DomTree = nullptr; variable
169 MachineDominatorTree *getDomTree() { return DomTree; } in getDomTree()
H A DLiveIntervals.h63 MachineDominatorTree *DomTree = nullptr; variable
103 : Indexes(&SI), DomTree(&DT) { in LiveIntervals()
305 MachineDominatorTree &getDomTree() { return *DomTree; } in getDomTree()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DInlineSizeEstimatorAnalysis.cpp157 auto &DomTree = FAM.getResult<DominatorTreeAnalysis>(F); in getFunctionFeatures() local
200 FF[NamedFeatureIndex::MaxDomTreeLevel] = getMaxDominatorTreeDepth(F, DomTree); in getFunctionFeatures()
H A DLoopInfo.cpp876 LoopInfo::LoopInfo(const DomTreeBase<BasicBlock> &DomTree) { analyze(DomTree); } in LoopInfo() argument
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DSampleProfileLoaderBaseImpl.h245 PostDominatorTreeT *DomTree);
606 PostDominatorTreeT *DomTree) {
610 bool IsDomParent = DomTree->dominates(BB2, BB1);
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DLoopInfo.h422 explicit LoopInfo(const DominatorTreeBase<BasicBlock, false> &DomTree);
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DStructurizeCFG.cpp174 explicit NearestCommonDominator(DominatorTree *DomTree) : DT(DomTree) {} in NearestCommonDominator() argument
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroSplit.cpp746 DominatorTree DomTree(*NewF); in salvageDebugInfo() local
749 &DomTree); in salvageDebugInfo()