llvm::RegionNode

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

Synopsis

Declared in <llvm/Analysis/RegionInfo.h>

class RegionNode
    : public RegionNodeBase<RegionTraits<Function>>

Base Classes

NameDescription
RegionNodeBase<RegionTraits<Function>>A region node that holds a basic block or a nested subregion.

Type Aliases

NameDescription
BlockT Basic block type used by this RegionNode specialization.
RegionT Region type used by this RegionNode specialization.

Member Functions

NameDescription
RegionNode [constructor]Create a RegionNode for Entry under Parent.
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?
operator== Return true if this node is the RegionNode view of RN.