Searched refs:IDom (Results 1 - 7 of 7) sorted by relevance

/external/llvm/include/llvm/Support/
H A DGenericDomTree.h65 DomTreeNodeBase<NodeT> *IDom; member in class:llvm::DomTreeNodeBase
82 DomTreeNodeBase<NodeT> *getIDom() const { return IDom; }
88 : TheBB(BB), IDom(iDom), DFSNumIn(-1), DFSNumOut(-1) { }
122 assert(IDom && "No immediate dominator?");
123 if (IDom != NewIDom) {
125 std::find(IDom->Children.begin(), IDom->Children.end(), this);
126 assert(I != IDom->Children.end() &&
129 IDom->Children.erase(I);
132 IDom
188 const DomTreeNodeBase<NodeT> *IDom; local
542 DomTreeNodeBase<NodeT> *IDom = Node->getIDom(); local
[all...]
/external/llvm/include/llvm/Transforms/Utils/
H A DSSAUpdaterImpl.h51 BBInfo *IDom; // Immediate dominator. member in class:llvm::SSAUpdaterImpl::BBInfo
58 IDom(nullptr), NumPreds(0), Preds(nullptr), PHITag(nullptr) {}
159 Info->IDom = PseudoEntry;
205 Blk1 = Blk1->IDom;
210 Blk2 = Blk2->IDom;
257 // Check if the IDom value has changed.
258 if (NewIDom && NewIDom != Info->IDom) {
259 Info->IDom = NewIDom;
266 /// IsDefInDomFrontier - Search up the dominator tree from Pred to IDom for
270 bool IsDefInDomFrontier(const BBInfo *Pred, const BBInfo *IDom) { argument
[all...]
/external/llvm/lib/CodeGen/
H A DLiveRangeCalc.cpp295 MachineDomTreeNode *IDom = Node->getIDom(); local
300 bool needPHI = !IDom || !Seen.test(IDom->getBlock()->getNumber());
302 // IDom dominates all of our predecessors, but it may not be their
304 // properly dominated by IDom. If so, we need a phi-def here.
306 IDomValue = LiveOut[IDom->getBlock()];
310 LiveOut[IDom->getBlock()].second = IDomValue.second =
327 if (DomTree->dominates(IDom, Value.second)) {
H A DSplitKit.cpp721 MachineDomTreeNode *IDom = MDT[Loop->getHeader()]->getIDom(); local
724 if (!IDom || !MDT.dominates(DefDomNode, IDom))
727 MBB = IDom->getBlock();
/external/llvm/lib/Target/R600/
H A DSIAnnotateControlFlow.cpp169 BasicBlock *IDom = DT->getNode(Phi->getParent())->getIDom()->getBlock(); local
171 if (Phi->getIncomingBlock(i) == IDom) {
226 BasicBlock *IDom = DT->getNode(Parent)->getIDom()->getBlock(); local
235 if (From == IDom) {
/external/llvm/lib/Transforms/Scalar/
H A DConstantHoisting.cpp231 BasicBlock *IDom = DT->getNode(Inst->getParent())->getIDom()->getBlock();
232 return IDom->getTerminator();
H A DLoopStrengthReduce.cpp4413 BasicBlock *IDom; local
4418 IDom = Rung->getBlock();
4421 const Loop *IDomLoop = LI.getLoopFor(IDom);
4430 Instruction *Tentative = IDom->getTerminator();
4440 if (IDom == Inst->getParent() &&

Completed in 213 milliseconds