|
LLVM
4.0.0
|
#include <RegionInfo.h>
Public Types | |
| typedef RegionInfoBase < RegionTraits< Function > > | Base |
Public Member Functions | |
| RegionInfo () | |
| ~RegionInfo () override | |
| RegionInfo (RegionInfo &&Arg) | |
| RegionInfo & | operator= (RegionInfo &&RHS) |
| void | updateStatistics (Region *R) final |
| void | recalculate (Function &F, DominatorTree *DT, PostDominatorTree *PDT, DominanceFrontier *DF) |
| void | view () |
| Opens a viewer to show the GraphViz visualization of the regions. More... | |
| void | viewOnly () |
| Opens a viewer to show the GraphViz visualization of this region without instructions in the BasicBlocks. More... | |
Public Member Functions inherited from llvm::RegionInfoBase< RegionTraits< Function > > | |
| void | print (raw_ostream &OS) const |
| void | dump () const |
| void | releaseMemory () |
| RegionT * | getRegionFor (BlockT *BB) const |
| Get the smallest region that contains a BasicBlock. More... | |
| void | setRegionFor (BlockT *BB, RegionT *R) |
| Set the smallest region that surrounds a basic block. More... | |
| RegionT * | operator[] (BlockT *BB) const |
| A shortcut for getRegionFor(). More... | |
| BlockT * | getMaxRegionExit (BlockT *BB) const |
| Return the exit of the maximal refined region, that starts at a BasicBlock. More... | |
| RegionT * | getCommonRegion (RegionT *A, RegionT *B) const |
| Find the smallest region that contains two regions. More... | |
| RegionT * | getCommonRegion (BlockT *A, BlockT *B) const |
| Find the smallest region that contains two basic blocks. More... | |
| RegionT * | getCommonRegion (SmallVectorImpl< RegionT * > &Regions) const |
| Find the smallest region that contains a set of regions. More... | |
| RegionT * | getCommonRegion (SmallVectorImpl< BlockT * > &BBs) const |
| Find the smallest region that contains a set of basic blocks. More... | |
| RegionT * | getTopLevelRegion () const |
| void | clearNodeCache () |
| Clear the Node Cache for all Regions. More... | |
| void | verifyAnalysis () const |
Additional Inherited Members | |
Static Public Attributes inherited from llvm::RegionInfoBase< RegionTraits< Function > > | |
| static bool | VerifyRegionInfo |
| static RegionT::PrintStyle | printStyle |
Definition at line 874 of file RegionInfo.h.
| typedef RegionInfoBase<RegionTraits<Function> > llvm::RegionInfo::Base |
Definition at line 876 of file RegionInfo.h.
|
explicit |
Definition at line 77 of file RegionInfo.cpp.
|
override |
Definition at line 82 of file RegionInfo.cpp.
|
inline |
Definition at line 882 of file RegionInfo.h.
|
inline |
Definition at line 884 of file RegionInfo.h.
| void RegionInfo::recalculate | ( | Function & | F, |
| DominatorTree * | DT, | ||
| PostDominatorTree * | PDT, | ||
| DominanceFrontier * | DF | ||
| ) |
Definition at line 94 of file RegionInfo.cpp.
References llvm::Function::getEntryBlock(), AMDGPU::RuntimeMD::KernelArg::Region, and updateStatistics().
Referenced by llvm::RegionInfoAnalysis::run(), and llvm::RegionInfoPass::runOnFunction().
|
final |
Definition at line 86 of file RegionInfo.cpp.
References llvm::RegionBase< RegionTr >::isSimple().
Referenced by recalculate().
| void RegionInfo::view | ( | ) |
Opens a viewer to show the GraphViz visualization of the regions.
Useful during debugging as an alternative to dump().
Definition at line 107 of file RegionInfo.cpp.
References llvm::viewRegion().
| void RegionInfo::viewOnly | ( | ) |
Opens a viewer to show the GraphViz visualization of this region without instructions in the BasicBlocks.
Useful during debugging as an alternative to dump().
Definition at line 109 of file RegionInfo.cpp.
References llvm::viewRegionOnly().
1.8.6