LLVM 20.0.0git
|
#include "llvm/Analysis/RegionPrinter.h"
#include "llvm/Analysis/DOTGraphTraitsPass.h"
#include "llvm/Analysis/RegionInfo.h"
#include "llvm/Analysis/RegionIterator.h"
#include "llvm/InitializePasses.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/IR/LegacyPassManager.h"
Go to the source code of this file.
Classes | |
struct | llvm::DOTGraphTraits< RegionInfo * > |
Namespaces | |
namespace | llvm |
This is an optimization pass for GlobalISel generic memory operations. | |
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< bool > | onlySimpleRegions ("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. | |
dot regions | only |
dot regions Print regions of function to dot | true |
Referenced by llvm::gcovOneInput(), llvm::llvm_unreachable_internal(), and rpmalloc_dump_statistics().
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 |
Definition at line 229 of file RegionPrinter.cpp.
References llvm::legacy::FunctionPassManager::add(), assert(), llvm::legacy::FunctionPassManager::doFinalization(), llvm::legacy::FunctionPassManager::doInitialization(), F, and llvm::legacy::FunctionPassManager::run().
Referenced by llvm::viewRegion(), and llvm::viewRegionOnly().
|
static |
Definition at line 219 of file RegionPrinter.cpp.
References assert(), F, llvm::RegionInfoBase< Tr >::getTopLevelRegion(), and llvm::ViewGraph().
Referenced by llvm::viewRegion(), and llvm::viewRegionOnly().
Definition at line 193 of file RegionPrinter.cpp.
|
static |
onlySimpleRegion - Show only the simple regions in the RegionViewer.
Referenced by llvm::DOTGraphTraits< RegionInfo * >::printRegionCluster().