LLVM  3.7.0
Public Member Functions | List of all members
llvm::MachineRegionInfo Class Reference

#include <MachineRegionInfo.h>

Inheritance diagram for llvm::MachineRegionInfo:
[legend]
Collaboration diagram for llvm::MachineRegionInfo:
[legend]

Public Member Functions

 MachineRegionInfo ()
 
 ~MachineRegionInfo () override
 
void updateStatistics (MachineRegion *R) final
 
void recalculate (MachineFunction &F, MachineDominatorTree *DT, MachinePostDominatorTree *PDT, MachineDominanceFrontier *DF)
 
- Public Member Functions inherited from llvm::RegionInfoBase< RegionTraits< MachineFunction > >
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 splitBlock (BlockT *NewBB, BlockT *OldBB)
 Update RegionInfo after a basic block was split. More...
 
void clearNodeCache ()
 Clear the Node Cache for all Regions. More...
 
void verifyAnalysis () const
 

Additional Inherited Members

- Static Public Attributes inherited from llvm::RegionInfoBase< RegionTraits< MachineFunction > >
static bool VerifyRegionInfo
 
static RegionT::PrintStyle printStyle
 

Detailed Description

Definition at line 77 of file MachineRegionInfo.h.

Constructor & Destructor Documentation

MachineRegionInfo::MachineRegionInfo ( )
explicit

Definition at line 37 of file MachineRegionInfo.cpp.

MachineRegionInfo::~MachineRegionInfo ( )
override

Definition at line 42 of file MachineRegionInfo.cpp.

Member Function Documentation

void MachineRegionInfo::recalculate ( MachineFunction F,
MachineDominatorTree DT,
MachinePostDominatorTree PDT,
MachineDominanceFrontier DF 
)
void MachineRegionInfo::updateStatistics ( MachineRegion R)
final

Definition at line 46 of file MachineRegionInfo.cpp.

References llvm::RegionBase< RegionTr >::isSimple().

Referenced by recalculate().


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