Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DGenericDomTree.h62 DomTreeNodeBase *IDom;
70 : TheBB(BB), IDom(iDom), Level(IDom ? IDom->Level + 1 : 0) {}
82 DomTreeNodeBase *getIDom() const { return IDom; }
118 assert(IDom && "No immediate dominator?");
119 if (IDom == NewIDom) return;
121 auto I = find(IDom->Children, this);
122 assert(I != IDom->Children.end() &&
125 IDom->Children.erase(I);
128 IDom = NewIDom;
129 IDom->Children.push_back(this);
[all …]
DGenericDomTreeConstruction.h66 NodePtr IDom = nullptr; member
173 return InfoIt->second.IDom; in getIDom()
181 NodePtr IDom = getIDom(BB); in getNodeForBlock() local
183 assert(IDom || DT.DomTreeNodes[nullptr]); in getNodeForBlock()
184 TreeNodePtr IDomNode = getNodeForBlock(IDom, DT); in getNodeForBlock()
310 VInfo.IDom = NumToNode[VInfo.Parent];
343 NodePtr WIDomCandidate = WInfo.IDom;
345 WIDomCandidate = NodeToInfo[WIDomCandidate].IDom;
347 WInfo.IDom = WIDomCandidate;
596 NodeToInfo[NumToNode[1]].IDom = AttachTo->getBlock(); in attachNewSubtree()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DSSAUpdaterImpl.h57 BBInfo *IDom = nullptr; variable
171 Info->IDom = PseudoEntry; in BuildBlockList()
217 Blk1 = Blk1->IDom; in IntersectDominators()
222 Blk2 = Blk2->IDom; in IntersectDominators()
270 if (NewIDom && NewIDom != Info->IDom) { in FindDominators()
271 Info->IDom = NewIDom; in FindDominators()
282 bool IsDefInDomFrontier(const BBInfo *Pred, const BBInfo *IDom) { in IsDefInDomFrontier() argument
283 for (; Pred != IDom; Pred = Pred->IDom) { in IsDefInDomFrontier()
308 BBInfo *NewDefBB = Info->IDom->DefBB; in FindPHIPlacement()
310 if (IsDefInDomFrontier(Info->Preds[p], Info->IDom)) { in FindPHIPlacement()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DShrinkWrap.cpp316 MachineBasicBlock *IDom = &Block; in FindIDom() local
318 IDom = Dom.findNearestCommonDominator(IDom, BB); in FindIDom()
319 if (!IDom) in FindIDom()
322 if (IDom == &Block) in FindIDom()
324 return IDom; in FindIDom()
DLiveRangeCalc.cpp498 MachineDomTreeNode *IDom = Node->getIDom(); in updateSSA() local
503 bool needPHI = !IDom || !Seen.test(IDom->getBlock()->getNumber()); in updateSSA()
509 IDomValue = Map[IDom->getBlock()]; in updateSSA()
514 Map[IDom->getBlock()].second = IDomValue.second = in updateSSA()
535 if (DomTree->dominates(IDom, Value.second)) { in updateSSA()
DSplitKit.cpp937 MachineDomTreeNode *IDom = MDT[Loop->getHeader()]->getIDom(); in findShallowDominator() local
940 if (!IDom || !MDT.dominates(DefDomNode, IDom)) in findShallowDominator()
943 MBB = IDom->getBlock(); in findShallowDominator()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MCA/HardwareUnits/
DLSUnit.cpp91 MemoryGroup &IDom = getGroup(ImmediateLoadDominator); in dispatch() local
94 IDom.addSuccessor(&NewGroup); in dispatch()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSSAUpdaterBulk.cpp80 BasicBlock *IDom = DT->getNode(BB)->getIDom()->getBlock(); in computeValueAt() local
81 Value *V = computeValueAt(IDom, R, DT); in computeValueAt()
DLoopUnrollPeel.cpp521 DomTreeNode *IDom = DT->getNode(*BB)->getIDom(); in cloneLoopBlocks() local
523 DT->addNewBlock(NewBB, cast<BasicBlock>(VMap[IDom->getBlock()])); in cloneLoopBlocks()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DConstantHoisting.cpp194 auto IDom = DT->getNode(Inst->getParent())->getIDom(); in findMatInsertPt() local
195 while (IDom->getBlock()->isEHPad()) { in findMatInsertPt()
196 assert(Entry != IDom->getBlock() && "eh pad in entry block"); in findMatInsertPt()
197 IDom = IDom->getIDom(); in findMatInsertPt()
200 return IDom->getBlock()->getTerminator(); in findMatInsertPt()
DLoopStrengthReduce.cpp5040 BasicBlock *IDom; in HoistInsertPosition() local
5045 IDom = Rung->getBlock(); in HoistInsertPosition()
5048 const Loop *IDomLoop = LI.getLoopFor(IDom); in HoistInsertPosition()
5055 Tentative = IDom->getTerminator(); in HoistInsertPosition()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIAnnotateControlFlow.cpp186 BasicBlock *IDom = DT->getNode(Phi->getParent())->getIDom()->getBlock(); in isElse() local
188 if (Phi->getIncomingBlock(i) == IDom) { in isElse()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DMemorySSAUpdater.cpp847 if (auto *IDom = DT.getNode(BB)->getIDom()) in applyInsertUpdates() local
848 if (IDom->getBlock() != BB) { in applyInsertUpdates()
849 BB = IDom->getBlock(); in applyInsertUpdates()
1110 auto *IDom = DT.getNode(DominatedBlock)->getIDom(); in applyInsertUpdates() local
1111 assert(IDom && "Block must have a valid IDom."); in applyInsertUpdates()
1112 U.set(GetLastDef(IDom->getBlock())); in applyInsertUpdates()
DScalarEvolution.cpp5304 BasicBlock *IDom = DT[PN->getParent()]->getIDom()->getBlock(); in createNodeFromSelectLikePHI() local
5305 assert(IDom && "At least the entry block should dominate PN"); in createNodeFromSelectLikePHI()
5307 auto *BI = dyn_cast<BranchInst>(IDom->getTerminator()); in createNodeFromSelectLikePHI()