|
LLVM 24.0.0git
|
#include "llvm/Analysis/CFGPrinter.h"#include "AnalysisOptions.h"#include "llvm/ADT/PostOrderIterator.h"#include "llvm/IR/ModuleSlotTracker.h"#include "llvm/Support/FileSystem.h"#include "llvm/Support/GraphWriter.h"Go to the source code of this file.
Functions | |
| static void | writeCFGToDotFile (const AnalysisOptions &Opts, Function &F, BlockFrequencyInfo *BFI, BranchProbabilityInfo *BPI, uint64_t MaxFreq, bool CFGOnly=false) |
| static void | viewCFG (const AnalysisOptions &Opts, Function &F, const BlockFrequencyInfo *BFI, const BranchProbabilityInfo *BPI, uint64_t MaxFreq, bool CFGOnly=false) |
|
static |
Definition at line 52 of file CFGPrinter.cpp.
References CFGOnly, F, llvm::DOTFuncInfo::setEdgeWeights(), llvm::DOTFuncInfo::setHeatColors(), llvm::DOTFuncInfo::setRawEdgeWeights(), uint64_t, and llvm::ViewGraph().
Referenced by llvm::CFGOnlyViewerPass::run(), and llvm::CFGViewerPass::run().
|
static |
Definition at line 29 of file CFGPrinter.cpp.
References CFGOnly, llvm::errs(), F, Filename, llvm::sys::fs::OF_Text, llvm::DOTFuncInfo::setEdgeWeights(), llvm::DOTFuncInfo::setHeatColors(), llvm::DOTFuncInfo::setRawEdgeWeights(), uint64_t, and llvm::WriteGraph().
Referenced by llvm::CFGOnlyPrinterPass::run(), and llvm::CFGPrinterPass::run().