Home | History | Annotate | Download | only in Analysis

Lines Matching defs:RegionInfo

1 //===- RegionInfo.cpp - SESE region detection analysis --------------------===//
12 #include "llvm/Analysis/RegionInfo.h"
55 Region::Region(BasicBlock *Entry, BasicBlock *Exit, RegionInfo* RInfo,
480 // RegionInfo implementation
483 bool RegionInfo::isCommonDomFrontier(BasicBlock *BB, BasicBlock *entry,
493 bool RegionInfo::isRegion(BasicBlock *entry, BasicBlock *exit) const {
533 void RegionInfo::insertShortCut(BasicBlock *entry, BasicBlock *exit,
551 DomTreeNode* RegionInfo::getNextPostDom(DomTreeNode* N,
561 bool RegionInfo::isTrivialRegion(BasicBlock *entry, BasicBlock *exit) const {
572 void RegionInfo::updateStatistics(Region *R) {
579 Region *RegionInfo::createRegion(BasicBlock *entry, BasicBlock *exit) {
598 void RegionInfo::findRegionsWithEntry(BasicBlock *entry, BBtoBBMap *ShortCut) {
638 void RegionInfo::scanForRegions(Function &F, BBtoBBMap *ShortCut) {
652 Region *RegionInfo::getTopMostParent(Region *region) {
659 void RegionInfo::buildRegionsTree(DomTreeNode *N, Region *region) {
682 void RegionInfo::releaseMemory() {
689 RegionInfo::RegionInfo() : FunctionPass(ID) {
694 RegionInfo::~RegionInfo() {
698 void RegionInfo::Calculate(Function &F) {
709 bool RegionInfo::runOnFunction(Function &F) {
724 void RegionInfo::getAnalysisUsage(AnalysisUsage &AU) const {
731 void RegionInfo::print(raw_ostream &OS, const Module *) const {
737 void RegionInfo::verifyAnalysis() const {
747 Region *RegionInfo::getRegionFor(BasicBlock *BB) const {
753 void RegionInfo::setRegionFor(BasicBlock *BB, Region *R) {
757 Region *RegionInfo::operator[](BasicBlock *BB) const {
761 BasicBlock *RegionInfo::getMaxRegionExit(BasicBlock *BB) const {
800 RegionInfo::getCommonRegion(Region *A, Region *B) const {
812 RegionInfo::getCommonRegion(SmallVectorImpl<Region*> &Regions) const {
824 RegionInfo::getCommonRegion(SmallVectorImpl<BasicBlock*> &BBs) const {
835 void RegionInfo::splitBlock(BasicBlock* NewBB, BasicBlock *OldBB)
849 char RegionInfo::ID = 0;
850 INITIALIZE_PASS_BEGIN(RegionInfo, "regions",
855 INITIALIZE_PASS_END(RegionInfo, "regions",
864 return new RegionInfo();