Home
last modified time | relevance | path

Searched refs:IDom (Results 1 – 9 of 9) sorted by relevance

/external/llvm/include/llvm/Support/
DGenericDomTree.h71 DomTreeNodeBase<NodeT> *IDom; variable
89 DomTreeNodeBase<NodeT> *getIDom() const { return IDom; } in getIDom()
95 : TheBB(BB), IDom(iDom), DFSNumIn(-1), DFSNumOut(-1) {} in DomTreeNodeBase()
126 assert(IDom && "No immediate dominator?"); in setIDom()
127 if (IDom != NewIDom) { in setIDom()
129 std::find(IDom->Children.begin(), IDom->Children.end(), this); in setIDom()
130 assert(I != IDom->Children.end() && in setIDom()
133 IDom->Children.erase(I); in setIDom()
136 IDom = NewIDom; in setIDom()
137 IDom->Children.push_back(this); in setIDom()
[all …]
/external/llvm/include/llvm/Transforms/Utils/
DSSAUpdaterImpl.h51 BBInfo *IDom; // Immediate dominator. variable
58 IDom(nullptr), NumPreds(0), Preds(nullptr), PHITag(nullptr) {} in BBInfo()
159 Info->IDom = PseudoEntry; in BuildBlockList()
205 Blk1 = Blk1->IDom; in IntersectDominators()
210 Blk2 = Blk2->IDom; in IntersectDominators()
258 if (NewIDom && NewIDom != Info->IDom) { in FindDominators()
259 Info->IDom = NewIDom; in FindDominators()
270 bool IsDefInDomFrontier(const BBInfo *Pred, const BBInfo *IDom) { in IsDefInDomFrontier() argument
271 for (; Pred != IDom; Pred = Pred->IDom) { in IsDefInDomFrontier()
296 BBInfo *NewDefBB = Info->IDom->DefBB; in FindPHIPlacement()
[all …]
/external/llvm/lib/CodeGen/
DShrinkWrap.cpp260 MachineBasicBlock *IDom = &Block; in FindIDom() local
262 IDom = Dom.findNearestCommonDominator(IDom, BB); in FindIDom()
263 if (!IDom) in FindIDom()
266 return IDom; in FindIDom()
355 MachineBasicBlock *IDom = FindIDom<>(*Save, Save->predecessors(), *MDT); in updateSaveRestorePoints() local
356 if (IDom != Save) in updateSaveRestorePoints()
357 Save = IDom; in updateSaveRestorePoints()
DLiveRangeCalc.cpp388 MachineDomTreeNode *IDom = Node->getIDom(); in updateSSA() local
393 bool needPHI = !IDom || !Seen.test(IDom->getBlock()->getNumber()); in updateSSA()
399 IDomValue = Map[IDom->getBlock()]; in updateSSA()
403 Map[IDom->getBlock()].second = IDomValue.second = in updateSSA()
420 if (DomTree->dominates(IDom, Value.second)) { in updateSSA()
DSplitKit.cpp708 MachineDomTreeNode *IDom = MDT[Loop->getHeader()]->getIDom(); in findShallowDominator() local
711 if (!IDom || !MDT.dominates(DefDomNode, IDom)) in findShallowDominator()
714 MBB = IDom->getBlock(); in findShallowDominator()
/external/llvm/lib/Target/AMDGPU/
DSIAnnotateControlFlow.cpp173 BasicBlock *IDom = DT->getNode(Phi->getParent())->getIDom()->getBlock(); in isElse() local
175 if (Phi->getIncomingBlock(i) == IDom) { in isElse()
239 BasicBlock *IDom = DT->getNode(Parent)->getIDom()->getBlock(); in handleLoopCondition() local
248 if (From == IDom) { in handleLoopCondition()
/external/llvm/lib/Transforms/Scalar/
DConstantHoisting.cpp235 BasicBlock *IDom = DT->getNode(Inst->getParent())->getIDom()->getBlock(); in findMatInsertPt() local
236 return IDom->getTerminator(); in findMatInsertPt()
DLoopStrengthReduce.cpp4338 BasicBlock *IDom; in HoistInsertPosition() local
4343 IDom = Rung->getBlock(); in HoistInsertPosition()
4346 const Loop *IDomLoop = LI.getLoopFor(IDom); in HoistInsertPosition()
4355 Instruction *Tentative = IDom->getTerminator(); in HoistInsertPosition()
4363 if (IDom == Inst->getParent() && in HoistInsertPosition()
/external/llvm/lib/Analysis/
DScalarEvolution.cpp3952 BasicBlock *IDom = DT[PN->getParent()]->getIDom()->getBlock(); in createNodeFromSelectLikePHI() local
3953 assert(IDom && "At least the entry block should dominate PN"); in createNodeFromSelectLikePHI()
3955 auto *BI = dyn_cast<BranchInst>(IDom->getTerminator()); in createNodeFromSelectLikePHI()