LLVM 22.0.0git
RegionPrinter.cpp File Reference

Go to the source code of this file.

Classes

struct  llvm::DOTGraphTraits< RegionInfo * >

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.

Functions

 INITIALIZE_PASS (RegionPrinter, "dot-regions", "Print regions of function to 'dot' file", true, true) INITIALIZE_PASS(RegionOnlyPrinter
dot regions Print regions of function to dot file (with no function bodies)"
dot regions Print regions of function to dot true INITIALIZE_PASS (RegionViewer, "view-regions", "View regions of function", true, true) INITIALIZE_PASS(RegionOnlyViewer
dot regions Print regions of function to dot true view regions View regions of function (with no function bodies)"
static void viewRegionInfo (RegionInfo *RI, bool ShortNames)
static void invokeFunctionPass (const Function *F, FunctionPass *ViewerPass)

Variables

static cl::opt< boolonlySimpleRegions ("only-simple-regions", cl::desc("Show only simple regions in the graphviz viewer"), cl::Hidden, cl::init(false))
 onlySimpleRegion - Show only the simple regions in the RegionViewer.
dot regions only
dot regions Print regions of function to dot true

Function Documentation

◆ file()

◆ function()

dot regions Print regions of function to dot true view regions View regions of function ( with no function bodies)

◆ INITIALIZE_PASS() [1/2]

INITIALIZE_PASS ( RegionPrinter ,
"dot-regions" ,
"Print regions of function to 'dot' file" ,
true ,
true  )

◆ INITIALIZE_PASS() [2/2]

dot regions Print regions of function to dot true INITIALIZE_PASS ( RegionViewer ,
"view-regions" ,
"View regions of function" ,
true ,
true  )

◆ invokeFunctionPass()

◆ viewRegionInfo()

void viewRegionInfo ( RegionInfo * RI,
bool ShortNames )
static

Variable Documentation

◆ only

dot regions Print regions of function to dot true view regions only

Definition at line 187 of file RegionPrinter.cpp.

◆ onlySimpleRegions

cl::opt< bool > onlySimpleRegions("only-simple-regions", cl::desc("Show only simple regions in the graphviz viewer"), cl::Hidden, cl::init(false)) ( "only-simple-regions" ,
cl::desc("Show only simple regions in the graphviz viewer") ,
cl::Hidden ,
cl::init(false)  )
static

onlySimpleRegion - Show only the simple regions in the RegionViewer.

Referenced by llvm::DOTGraphTraits< RegionInfo * >::printRegionCluster().

◆ true

dot regions Print regions of function to dot true view regions View regions of true

Definition at line 188 of file RegionPrinter.cpp.