A region node that holds a basic block or a nested subregion.

Synopsis

Declared in <llvm/Analysis/RegionInfo.h>

template<class Tr>
class RegionNodeBase;

Description

Each node is either a single BasicBlock or a nested Region that belongs to a parent Region. The same BasicBlock can appear as multiple RegionNodes when it is an element of more than one Region.

Type Aliases

Name

Description

BlockT

Basic block type used by this RegionNode specialization.

RegionT

Region type used by this RegionNode specialization.

Member Functions

Name

Description

RegionNodeBase [constructor] [deleted]

Deleted copy constructor; RegionNodeBase is not copyable.

operator= [deleted]

Deleted copy assignment; RegionNodeBase is not copyable.

getEntry

Get the entry BasicBlock of this RegionNode.

getNodeAs

Get the content of this RegionNode.

getParent

Get the parent Region of this RegionNode.

isSubRegion

Is this RegionNode a subregion?

Protected Member Functions

Name

Description

RegionNodeBase [constructor]

Create a RegionNode.

Friends

Name

Description

llvm::RegionBase

A single‐entry single‐exit region in a control‐flow graph.

Derived Classes

Name

Description

MachineRegionNode

Region node that holds either a MachineBasicBlock or a nested MachineRegion.

RegionBase

A single‐entry single‐exit region in a control‐flow graph.

RegionNode

A RegionNode that holds a BasicBlock or subregion in an LLVM IR Function.

Template Parameters

Name

Description

Tr

RegionTraits specialization that supplies the IR types.

Created with MrDocs