LLVM
12.0.0git
|
This file defines IR-printing pass instrumentation callbacks as well as StandardInstrumentations class that manages standard pass instrumentations. More...
#include "llvm/Passes/StandardInstrumentations.h"
#include "llvm/ADT/Any.h"
#include "llvm/ADT/Optional.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Analysis/CallGraphSCCPass.h"
#include "llvm/Analysis/LazyCallGraph.h"
#include "llvm/Analysis/LoopInfo.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/PassInstrumentation.h"
#include "llvm/IR/PrintPasses.h"
#include "llvm/IR/Verifier.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/FormatVariadic.h"
#include "llvm/Support/raw_ostream.h"
#include <unordered_set>
#include <vector>
Go to the source code of this file.
Namespaces | |
llvm | |
This class represents lattice values for constants. | |
Enumerations | |
enum | ChangePrinter { NoChangePrinter, PrintChangedVerbose, PrintChangedQuiet } |
Functions | |
static std::string | getBisectDescription (Any IR) |
static void | printBBName (raw_ostream &out, const BasicBlock *BB) |
Variables | |
static cl::opt< bool > | DebugPMVerbose ("debug-pass-manager-verbose", cl::Hidden, cl::init(false), cl::desc("Print all pass management debugging information. " "`-debug-pass-manager` must also be specified")) |
static cl::opt< ChangePrinter > | PrintChanged ("print-changed", cl::desc("Print changed IRs"), cl::Hidden, cl::ValueOptional, cl::init(NoChangePrinter), cl::values(clEnumValN(PrintChangedQuiet, "quiet", "Run in quiet mode"), clEnumValN(PrintChangedVerbose, "", ""))) |
static cl::list< std::string > | PrintPassesList ("filter-passes", cl::value_desc("pass names"), cl::desc("Only consider IR changes for passes whose names " "match for the print-changed option"), cl::CommaSeparated, cl::Hidden) |
static cl::opt< bool > | PrintChangedBefore ("print-before-changed", cl::desc("Print before passes that change them"), cl::init(false), cl::Hidden) |
This file defines IR-printing pass instrumentation callbacks as well as StandardInstrumentations class that manages standard pass instrumentations.
Definition in file StandardInstrumentations.cpp.
enum ChangePrinter |
Enumerator | |
---|---|
NoChangePrinter | |
PrintChangedVerbose | |
PrintChangedQuiet |
Definition at line 70 of file StandardInstrumentations.cpp.
|
static |
Definition at line 610 of file StandardInstrumentations.cpp.
References assert(), C, F(), llvm::Value::getName(), IR, and llvm_unreachable.
Referenced by llvm::OptBisectInstrumentation::registerCallbacks().
|
static |
Definition at line 694 of file StandardInstrumentations.cpp.
References llvm::Function::getEntryBlock(), llvm::Value::getName(), llvm::BasicBlock::getParent(), and llvm::Value::hasName().
|
static |
Referenced by llvm::PrintPassInstrumentation::registerCallbacks().
|
static |
Referenced by llvm::IRChangedPrinter::registerCallbacks().
|
static |
Referenced by llvm::IRChangedPrinter::handleAfter().