A single entry single exit Region in an LLVM IR Function.
Synopsis
Declared in <llvm/Analysis/RegionInfo.h>
class Region
: public RegionBase<RegionTraits<Function>>
Base Classes
Name |
Description |
A single‐entry single‐exit region in a control‐flow graph. |
Types
Name |
Description |
Depth‐first flat iterator over BasicBlocks contained in a Region. |
Type Aliases
Name |
Description |
Mutable flat iterator over BasicBlocks in this Region. |
|
Range of mutable flat BasicBlock iterators. |
|
Const flat iterator over BasicBlocks in this Region. |
|
Range of const flat BasicBlock iterators. |
|
Const depth‐first iterator over direct child RegionNodes. |
|
Const iterator over the direct subregions of this Region. |
|
Depth‐first iterator over direct child RegionNodes. |
|
Mutable iterator over the direct subregions of this Region. |
Enums
Name |
Description |
Print style used when dumping a Region. |
Member Functions
Name |
Description |
|
Create a Region spanning from |
|
Delete the Region and all its subregions. |
|
Deleted copy assignment; RegionBase is not copyable. |
Add a new subregion to this Region. |
|
|
|
|
|
|
|
|
|
Clear the cache for BB RegionNodes. |
|
|
|
Print the region to stderr. |
|
|
|
|
|
|
|
|
|
Get the BasicBlock RegionNode for a BasicBlock |
|
Get the nesting level of this Region. |
|
Return the first block of this region's single entry edge, if existing. |
|
Get the entry BasicBlock of the Region. |
|
Get the exit BasicBlock of the Region. |
|
Return the first block of this region's single exit edge, if existing. |
|
Collect all blocks of this region's single exit edge, if existing. |
|
Return a new (non‐canonical) region, that is obtained by joining this region with its predecessors. |
|
Returns the name of the Region. |
|
|
|
Get the parent of the Region. |
|
Return the RegionInfo object, that belongs to this Region. |
|
Get the subregion that starts at a BasicBlock |
|
Is this a simple region? |
|
Check if a Region is the TopLevel region. |
|
|
|
Print the region. |
|
Remove a subregion from this Region. |
|
Replace the entry basic block of the region with the new basic block. |
|
Recursively replace the entry basic block of the region. |
|
Replace the exit basic block of the region with the new basic block. |
|
Recursively replace the exit basic block of the region. |
|
Move all direct child nodes of this Region to another Region. |
|
Verify if the region is a correct region. |
|
Return true if |
Created with MrDocs