/external/llvm-project/llvm/include/llvm/Support/ |
D | GenericDomTree.h | 61 DomTreeNodeBase *IDom; 69 : TheBB(BB), IDom(iDom), Level(IDom ? IDom->Level + 1 : 0) {} 89 DomTreeNodeBase *getIDom() const { return IDom; } 124 assert(IDom && "No immediate dominator?"); 125 if (IDom == NewIDom) return; 127 auto I = find(IDom->Children, this); 128 assert(I != IDom->Children.end() && 131 IDom->Children.erase(I); 134 IDom = NewIDom; 135 IDom->Children.push_back(this); [all …]
|
D | GenericDomTreeConstruction.h | 69 NodePtr IDom = nullptr; member 130 return InfoIt->second.IDom; in getIDom() 138 NodePtr IDom = getIDom(BB); in getNodeForBlock() local 140 assert(IDom || DT.DomTreeNodes[nullptr]); in getNodeForBlock() 141 TreeNodePtr IDomNode = getNodeForBlock(IDom, DT); in getNodeForBlock() 277 VInfo.IDom = NumToNode[VInfo.Parent]; 310 NodePtr WIDomCandidate = WInfo.IDom; 312 WIDomCandidate = NodeToInfo[WIDomCandidate].IDom; 314 WInfo.IDom = WIDomCandidate; 601 NodeToInfo[NumToNode[1]].IDom = AttachTo->getBlock(); in attachNewSubtree() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | GenericDomTree.h | 62 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 …]
|
D | GenericDomTreeConstruction.h | 66 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 …]
|
/external/llvm/include/llvm/Support/ |
D | GenericDomTree.h | 71 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/ |
D | SSAUpdaterImpl.h | 52 BBInfo *IDom; // Immediate dominator. variable 59 IDom(nullptr), NumPreds(0), Preds(nullptr), PHITag(nullptr) {} in BBInfo() 160 Info->IDom = PseudoEntry; in BuildBlockList() 206 Blk1 = Blk1->IDom; in IntersectDominators() 211 Blk2 = Blk2->IDom; in IntersectDominators() 259 if (NewIDom && NewIDom != Info->IDom) { in FindDominators() 260 Info->IDom = NewIDom; in FindDominators() 271 bool IsDefInDomFrontier(const BBInfo *Pred, const BBInfo *IDom) { in IsDefInDomFrontier() argument 272 for (; Pred != IDom; Pred = Pred->IDom) { in IsDefInDomFrontier() 297 BBInfo *NewDefBB = Info->IDom->DefBB; in FindPHIPlacement() [all …]
|
/external/llvm-project/llvm/include/llvm/Transforms/Utils/ |
D | SSAUpdaterImpl.h | 57 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()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/ |
D | SSAUpdaterImpl.h | 57 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()
|
/external/llvm-project/clang/include/clang/Analysis/Analyses/ |
D | Dominators.h | 104 DomTreeNode *IDom = DT.getNode(*I)->getIDom(); in dump() local 105 if (IDom && IDom->getBlock()) in dump() 108 << IDom->getBlock()->getBlockID() in dump() 114 bool IsDomTreeRoot = !IDom && !IsPostDom && IsEntryBlock; in dump() 116 IDom && !IDom->getBlock() && IsPostDom && IsExitBlock; in dump()
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | CodeMoverUtils.cpp | 125 BasicBlock *IDom = DT.getNode(CurBlock)->getIDom()->getBlock(); in collectControlConditions() local 126 assert(DT.dominates(&Dominator, IDom) && in collectControlConditions() 130 const BranchInst *BI = dyn_cast<BranchInst>(IDom->getTerminator()); in collectControlConditions() 135 if (PDT.dominates(CurBlock, IDom)) { in collectControlConditions() 138 << IDom->getName() << "\n"); in collectControlConditions() 142 << IDom->getName() << "\n"); in collectControlConditions() 148 << IDom->getName() << "\n"); in collectControlConditions() 160 CurBlock = IDom; in collectControlConditions()
|
D | SSAUpdaterBulk.cpp | 80 BasicBlock *IDom = DT->getNode(BB)->getIDom()->getBlock(); in computeValueAt() local 81 Value *V = computeValueAt(IDom, R, DT); in computeValueAt()
|
/external/llvm/lib/CodeGen/ |
D | ShrinkWrap.cpp | 261 MachineBasicBlock *IDom = &Block; in FindIDom() local 263 IDom = Dom.findNearestCommonDominator(IDom, BB); in FindIDom() 264 if (!IDom) in FindIDom() 267 if (IDom == &Block) in FindIDom() 269 return IDom; in FindIDom()
|
D | LiveRangeCalc.cpp | 404 MachineDomTreeNode *IDom = Node->getIDom(); in updateSSA() local 409 bool needPHI = !IDom || !Seen.test(IDom->getBlock()->getNumber()); in updateSSA() 415 IDomValue = Map[IDom->getBlock()]; in updateSSA() 419 Map[IDom->getBlock()].second = IDomValue.second = in updateSSA() 436 if (DomTree->dominates(IDom, Value.second)) { in updateSSA()
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | ShrinkWrap.cpp | 316 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()
|
D | LiveRangeCalc.cpp | 346 MachineDomTreeNode *IDom = Node->getIDom(); in updateSSA() local 351 bool needPHI = !IDom || !Seen.test(IDom->getBlock()->getNumber()); in updateSSA() 357 IDomValue = Map[IDom->getBlock()]; in updateSSA() 362 Map[IDom->getBlock()].second = IDomValue.second = in updateSSA() 383 if (DomTree->dominates(IDom, Value.second)) { in updateSSA()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | ShrinkWrap.cpp | 316 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()
|
D | LiveRangeCalc.cpp | 498 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()
|
/external/llvm/lib/Target/AMDGPU/ |
D | SIAnnotateControlFlow.cpp | 192 BasicBlock *IDom = DT->getNode(Phi->getParent())->getIDom()->getBlock(); in isElse() local 194 if (Phi->getIncomingBlock(i) == IDom) { in isElse() 264 BasicBlock *IDom = DT->getNode(Parent)->getIDom()->getBlock(); in handleLoopCondition() local 273 if (From == IDom) { in handleLoopCondition()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | SSAUpdaterBulk.cpp | 80 BasicBlock *IDom = DT->getNode(BB)->getIDom()->getBlock(); in computeValueAt() local 81 Value *V = computeValueAt(IDom, R, DT); in computeValueAt()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MCA/HardwareUnits/ |
D | LSUnit.cpp | 91 MemoryGroup &IDom = getGroup(ImmediateLoadDominator); in dispatch() local 94 IDom.addSuccessor(&NewGroup); in dispatch()
|
/external/llvm-project/llvm/lib/MCA/HardwareUnits/ |
D | LSUnit.cpp | 88 MemoryGroup &IDom = getGroup(ImmediateLoadDominator); in dispatch() local 91 IDom.addSuccessor(&NewGroup, !assumeNoAlias()); in dispatch()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | ConstantHoisting.cpp | 194 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()
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | ConstantHoisting.cpp | 194 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()
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | SIAnnotateControlFlow.cpp | 186 BasicBlock *IDom = DT->getNode(Phi->getParent())->getIDom()->getBlock(); in isElse() local 188 if (Phi->getIncomingBlock(i) == IDom) { in isElse()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | SIAnnotateControlFlow.cpp | 186 BasicBlock *IDom = DT->getNode(Phi->getParent())->getIDom()->getBlock(); in isElse() local 188 if (Phi->getIncomingBlock(i) == IDom) { in isElse()
|