LLVM  4.0.0
Functions
CFGPrinter.cpp File Reference
#include "llvm/Analysis/CFGPrinter.h"
#include "llvm/Pass.h"
#include "llvm/Support/FileSystem.h"
Include dependency graph for CFGPrinter.cpp:

Go to the source code of this file.

Functions

 INITIALIZE_PASS (CFGOnlyViewerLegacyPass,"view-cfg-only","View CFG of function (with no function bodies)", false, true) PreservedAnalyses CFGOnlyViewerPass
 
static void writeCFGToDotFile (Function &F)
 
 INITIALIZE_PASS (CFGPrinterLegacyPass,"dot-cfg","Print CFG of function to 'dot' file", false, true) PreservedAnalyses CFGPrinterPass
 
 INITIALIZE_PASS (CFGOnlyPrinterLegacyPass,"dot-cfg-only","Print CFG of function to 'dot' file (with no function bodies)", false, true) PreservedAnalyses CFGOnlyPrinterPass
 

Function Documentation

INITIALIZE_PASS ( CFGOnlyViewerLegacyPass  ,
"view-cfg-only ,
"View CFG of function (with no function bodies)"  ,
false  ,
true   
)

Definition at line 76 of file CFGPrinter.cpp.

References llvm::PreservedAnalyses::all().

INITIALIZE_PASS ( CFGPrinterLegacyPass  ,
"dot-cfg"  ,
"Print CFG of function to 'dot' file ,
false  ,
true   
)

Definition at line 120 of file CFGPrinter.cpp.

References llvm::PreservedAnalyses::all(), and writeCFGToDotFile().

INITIALIZE_PASS ( CFGOnlyPrinterLegacyPass  ,
"dot-cfg-only ,
"Print CFG of function to 'dot' file (with no function bodies)"  ,
false  ,
true   
)

Definition at line 149 of file CFGPrinter.cpp.

References llvm::PreservedAnalyses::all(), and writeCFGToDotFile().

static void writeCFGToDotFile ( Function F)
static