LLVM  4.0.0
Classes | Namespaces | Functions | Variables
RegionPrinter.cpp File Reference
#include "llvm/Analysis/Passes.h"
#include "llvm/ADT/DepthFirstIterator.h"
#include "llvm/ADT/PostOrderIterator.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/Analysis/DOTGraphTraitsPass.h"
#include "llvm/Analysis/RegionInfo.h"
#include "llvm/Analysis/RegionIterator.h"
#include "llvm/Analysis/RegionPrinter.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/IR/LegacyPassManager.h"
Include dependency graph for RegionPrinter.cpp:

Go to the source code of this file.

Classes

struct  llvm::DOTGraphTraits< RegionNode * >
 
struct  llvm::DOTGraphTraits< RegionInfo * >
 

Namespaces

 llvm
 Compute iterated dominance frontiers using a linear time algorithm.
 

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. More...
 
dot regions only
 
dot regions Print regions of
function to dot 
true
 

Function Documentation

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

Variable Documentation

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

Definition at line 205 of file RegionPrinter.cpp.

cl::opt<bool> onlySimpleRegions("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().

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

Definition at line 206 of file RegionPrinter.cpp.