LLVM  6.0.0svn
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() [1/3]

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() [2/3]

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

◆ INITIALIZE_PASS() [3/3]

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().

◆ writeCFGToDotFile()

static void writeCFGToDotFile ( Function F)
static