LLVM: llvm::RegionInfoBase< Tr > Class Template Reference (original) (raw)

Analysis that detects all canonical Regions. More...

#include "[llvm/Analysis/RegionInfo.h](RegionInfo%5F8h%5Fsource.html)"

Public Member Functions
RegionInfoBase (const RegionInfoBase &)=delete
RegionInfoBase & operator= (const RegionInfoBase &)=delete
void print (raw_ostream &OS) const
void dump () const
void releaseMemory ()
RegionT * getRegionFor (BlockT *BB) const
Get the smallest region that contains a BasicBlock.
void setRegionFor (BlockT *BB, RegionT *R)
Set the smallest region that surrounds a basic block.
RegionT * operator[] (BlockT *BB) const
A shortcut for getRegionFor().
BlockT * getMaxRegionExit (BlockT *BB) const
Return the exit of the maximal refined region, that starts at a BasicBlock.
RegionT * getCommonRegion (RegionT *A, RegionT *B) const
Find the smallest region that contains two regions.
RegionT * getCommonRegion (BlockT *A, BlockT *B) const
Find the smallest region that contains two basic blocks.
RegionT * getCommonRegion (SmallVectorImpl< RegionT * > &Regions) const
Find the smallest region that contains a set of regions.
RegionT * getCommonRegion (SmallVectorImpl< BlockT * > &BBs) const
Find the smallest region that contains a set of basic blocks.
RegionT * getTopLevelRegion () const
void clearNodeCache ()
Clear the Node Cache for all Regions.
void verifyAnalysis () const
Static Public Attributes
static bool VerifyRegionInfo
static RegionT::PrintStyle printStyle
Protected Member Functions
template
void updateRegionTree (RegionInfoT &RI, TheRegionT *R)
Update refences to a RegionInfoT held by the RegionT managed here.
Friends
class RegionInfo
class MachineRegionInfo

template
class llvm::RegionInfoBase< Tr >

Analysis that detects all canonical Regions.

The RegionInfo pass detects all canonical regions in a function. The Regions are connected using the parent relation. This builds a Program Structure Tree.

Definition at line 672 of file RegionInfo.h.

clearNodeCache()

dump()

getCommonRegion() [1/4]

Find the smallest region that contains two basic blocks.

Parameters

A The first basic block.
B The second basic block.

Returns

The smallest region that contains A and B.

Definition at line 848 of file RegionInfo.h.

getCommonRegion() [2/4]

getCommonRegion() [3/4]

getCommonRegion() [4/4]

getMaxRegionExit()

getRegionFor()

getTopLevelRegion()

operator=()

operator[]()

A shortcut for getRegionFor().

Parameters

Returns

The smallest region, that contains BB or NULL, if there is no region containing BB.

Definition at line 794 of file RegionInfoImpl.h.

References getRegionFor().

print()

releaseMemory()

setRegionFor()

Set the smallest region that surrounds a basic block.

Parameters

BB The basic block surrounded by a region.
R The smallest region that surrounds BB.

Definition at line 789 of file RegionInfoImpl.h.

updateRegionTree()

template

template

verifyAnalysis()

MachineRegionInfo

RegionInfo

printStyle

VerifyRegionInfo


The documentation for this class was generated from the following files: