LLVM: llvm::RegionNodeBase< Tr > Class Template Reference (original) (raw)
A RegionNode represents a subregion or a BasicBlock that is part of a Region. More...
#include "[llvm/Analysis/RegionInfo.h](RegionInfo%5F8h%5Fsource.html)"
| Public Types | |
|---|---|
| using | BlockT = typename Tr::BlockT |
| using | RegionT = typename Tr::RegionT |
| Public Member Functions | |
|---|---|
| RegionNodeBase (const RegionNodeBase &)=delete | |
| RegionNodeBase & | operator= (const RegionNodeBase &)=delete |
| RegionT * | getParent () const |
| Get the parent Region of this RegionNode. | |
| BlockT * | getEntry () const |
| Get the entry BasicBlock of this RegionNode. | |
| template<class T> | |
| T * | getNodeAs () const |
| Get the content of this RegionNode. | |
| bool | isSubRegion () const |
| Is this RegionNode a subregion? | |
| BasicBlock * | getNodeAs () const |
| Region * | getNodeAs () const |
| MachineBasicBlock * | getNodeAs () const |
| MachineRegion * | getNodeAs () const |
| Friends | |
|---|---|
| class | RegionBase< Tr > |
template
class llvm::RegionNodeBase< Tr >
A RegionNode represents a subregion or a BasicBlock that is part of a Region.
Definition at line 115 of file RegionInfo.h.
◆ BlockT
◆ RegionT
◆ RegionNodeBase() [2/2]
◆ getEntry()
◆ getNodeAs() [1/5]
template
template<class T>
Get the content of this RegionNode.
This can be either a BasicBlock or a subregion. Before calling getNodeAs() check the type of the content with the isSubRegion() function call.
Returns
The content of this RegionNode.
References T.
◆ getNodeAs() [2/5]
◆ getNodeAs() [3/5]
◆ getNodeAs() [4/5]
◆ getNodeAs() [5/5]
◆ getParent()
◆ isSubRegion()
◆ operator=()
◆ RegionBase< Tr >
The documentation for this class was generated from the following file:
- include/llvm/Analysis/RegionInfo.h