LLVM API Documentation
#include "llvm/Function.h"#include "llvm/Instructions.h"#include "llvm/Pass.h"#include "llvm/Analysis/CFGPrinter.h"#include "llvm/Assembly/Writer.h"#include "llvm/Support/CFG.h"#include "llvm/Support/Compiler.h"#include "llvm/Support/GraphWriter.h"#include "llvm/Config/config.h"#include <iosfwd>#include <sstream>#include <fstream>
Go to the source code of this file.
Namespaces | |
| namespace | llvm |
Classes | |
| struct | llvm::DOTGraphTraits< const Function * > |
Functions | |
| FunctionPass * | llvm::createCFGPrinterPass () |
| FunctionPass * | llvm::createCFGOnlyPrinterPass () |
Variables | |
| static RegisterPass< CFGViewer > | V0 ("view-cfg","View CFG of function", false, true) |
| static RegisterPass < CFGOnlyViewer > | V1 ("view-cfg-only","View CFG of function (with no function bodies)", false, true) |
| static RegisterPass< CFGPrinter > | P1 ("dot-cfg","Print CFG of function to 'dot' file", false, true) |
| static RegisterPass < CFGOnlyPrinter > | P2 ("dot-cfg-only","Print CFG of function to 'dot' file (with no function bodies)", false, true) |
char ID [static] |
Definition at line 89 of file CFGPrinter.cpp.
RegisterPass<CFGPrinter> P1("dot-cfg","Print CFG of function to 'dot' file", false, true) [static] |
Referenced by CompareByFrequency(), llvm::BlackfinRegisterInfo::eliminateCallFramePseudoInstr(), llvm::BlackfinRegisterInfo::emitEpilogue(), llvm::BlackfinRegisterInfo::emitPrologue(), llvm::BlackfinTargetLowering::getRegClassForInlineAsmConstraint(), llvm::BlackfinTargetLowering::getRegForInlineAsmConstraint(), and llvm::PMDataManager::preserveHigherLevelAnalysis().
RegisterPass<CFGOnlyPrinter> P2("dot-cfg-only","Print CFG of function to 'dot' file (with no function bodies)", false, true) [static] |
RegisterPass<CFGViewer> V0("view-cfg","View CFG of function", false, true) [static] |
RegisterPass<CFGOnlyViewer> V1("view-cfg-only","View CFG of function (with no function bodies)", false, true) [static] |
Referenced by CompareNumbers(), llvm::ConstantFoldCompareInstruction(), EmitAddTreeOfValues(), llvm::SelectionDAG::getNode(), llvm::PPCRegisterInfo::getRegisterNumbering(), llvm::MipsRegisterInfo::getRegisterNumbering(), getShuffleVectorZeroOrUndef(), isZeroShuffle(), LowerVECTOR_SHUFFLE(), LowerVECTOR_SHUFFLE_4wide(), LowerVECTOR_SHUFFLEv16i8(), LowerVECTOR_SHUFFLEv8i16(), llvm::LiveInterval::MergeValueInAsValue(), PromoteSplat(), RewriteAsNarrowerShuffle(), llvm::Use::swap(), and ValuesOverlap().