• Home
  • Raw
  • Download

Lines Matching refs:BasicBlock

55 Region::Region(BasicBlock *Entry, BasicBlock *Exit, RegionInfo* RInfo,  in Region()
73 void Region::replaceEntry(BasicBlock *BB) { in replaceEntry()
77 void Region::replaceExit(BasicBlock *BB) { in replaceExit()
82 void Region::replaceEntryRecursive(BasicBlock *NewEntry) { in replaceEntryRecursive()
84 BasicBlock *OldEntry = getEntry(); in replaceEntryRecursive()
98 void Region::replaceExitRecursive(BasicBlock *NewExit) { in replaceExitRecursive()
100 BasicBlock *OldExit = getExit(); in replaceExitRecursive()
114 bool Region::contains(const BasicBlock *B) const { in contains()
115 BasicBlock *BB = const_cast<BasicBlock*>(B); in contains()
120 BasicBlock *entry = getEntry(), *exit = getExit(); in contains()
140 SmallVector<BasicBlock *, 8> ExitingBlocks; in contains()
143 for (SmallVectorImpl<BasicBlock*>::iterator BI = ExitingBlocks.begin(), in contains()
162 Loop *Region::outermostLoopInRegion(LoopInfo *LI, BasicBlock* BB) const { in outermostLoopInRegion()
168 BasicBlock *Region::getEnteringBlock() const { in getEnteringBlock()
169 BasicBlock *entry = getEntry(); in getEnteringBlock()
170 BasicBlock *Pred; in getEnteringBlock()
171 BasicBlock *enteringBlock = 0; in getEnteringBlock()
187 BasicBlock *Region::getExitingBlock() const { in getExitingBlock()
188 BasicBlock *exit = getExit(); in getExitingBlock()
189 BasicBlock *Pred; in getExitingBlock()
190 BasicBlock *exitingBlock = 0; in getExitingBlock()
237 void Region::verifyBBInRegion(BasicBlock *BB) const { in verifyBBInRegion()
241 BasicBlock *entry = getEntry(), *exit = getExit(); in verifyBBInRegion()
253 void Region::verifyWalk(BasicBlock *BB, std::set<BasicBlock*> *visited) const { in verifyWalk()
254 BasicBlock *exit = getExit(); in verifyWalk()
270 std::set<BasicBlock*> visited; in verifyRegion()
297 Region* Region::getSubRegionNode(BasicBlock *BB) const { in getSubRegionNode()
315 RegionNode* Region::getBBNode(BasicBlock *BB) const { in getBBNode()
328 RegionNode* Region::getNode(BasicBlock *BB) const { in getNode()
360 BasicBlock *BB = (*I)->getNodeAs<BasicBlock>(); in addSubRegion()
483 bool RegionInfo::isCommonDomFrontier(BasicBlock *BB, BasicBlock *entry, in isCommonDomFrontier()
484 BasicBlock *exit) const { in isCommonDomFrontier()
486 BasicBlock *P = *PI; in isCommonDomFrontier()
493 bool RegionInfo::isRegion(BasicBlock *entry, BasicBlock *exit) const { in isRegion()
533 void RegionInfo::insertShortCut(BasicBlock *entry, BasicBlock *exit, in insertShortCut()
546 BasicBlock *BB = e->second; in insertShortCut()
561 bool RegionInfo::isTrivialRegion(BasicBlock *entry, BasicBlock *exit) const { in isTrivialRegion()
579 Region *RegionInfo::createRegion(BasicBlock *entry, BasicBlock *exit) { in createRegion()
598 void RegionInfo::findRegionsWithEntry(BasicBlock *entry, BBtoBBMap *ShortCut) { in findRegionsWithEntry()
607 BasicBlock *lastExit = entry; in findRegionsWithEntry()
612 BasicBlock *exit = N->getBlock(); in findRegionsWithEntry()
639 BasicBlock *entry = &(F.getEntryBlock()); in scanForRegions()
660 BasicBlock *BB = N->getBlock(); in buildRegionsTree()
705 BasicBlock *BB = &F.getEntryBlock(); in Calculate()
747 Region *RegionInfo::getRegionFor(BasicBlock *BB) const { in getRegionFor()
753 void RegionInfo::setRegionFor(BasicBlock *BB, Region *R) { in setRegionFor()
757 Region *RegionInfo::operator[](BasicBlock *BB) const { in operator []()
761 BasicBlock *RegionInfo::getMaxRegionExit(BasicBlock *BB) const { in getMaxRegionExit()
762 BasicBlock *Exit = NULL; in getMaxRegionExit()
824 RegionInfo::getCommonRegion(SmallVectorImpl<BasicBlock*> &BBs) const { in getCommonRegion()
828 for (SmallVectorImpl<BasicBlock*>::const_iterator I = BBs.begin(), in getCommonRegion()
835 void RegionInfo::splitBlock(BasicBlock* NewBB, BasicBlock *OldBB) in splitBlock()