LLVM 22.0.0git
|
Printer pass for testing. More...
#include "llvm/Analysis/StackLifetime.h"
Public Member Functions | |
StackLifetimePrinterPass (raw_ostream &OS, StackLifetime::LivenessType Type) | |
PreservedAnalyses | run (Function &F, FunctionAnalysisManager &AM) |
void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Public Member Functions inherited from llvm::PassInfoMixin< StackLifetimePrinterPass > | |
void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Static Public Member Functions | |
static bool | isRequired () |
Static Public Member Functions inherited from llvm::PassInfoMixin< StackLifetimePrinterPass > | |
static StringRef | name () |
Gets the name of the pass we are mixed into. |
Printer pass for testing.
Definition at line 182 of file StackLifetime.h.
|
inline |
Definition at line 188 of file StackLifetime.h.
|
inlinestatic |
Definition at line 191 of file StackLifetime.h.
void StackLifetimePrinterPass::printPipeline | ( | raw_ostream & | OS, |
function_ref< StringRef(StringRef)> | MapClassName2PassName ) |
Definition at line 372 of file StackLifetime.cpp.
References llvm::StackLifetime::May, llvm::StackLifetime::Must, and printPipeline().
Referenced by printPipeline().
PreservedAnalyses StackLifetimePrinterPass::run | ( | Function & | F, |
FunctionAnalysisManager & | AM ) |
Definition at line 360 of file StackLifetime.cpp.
References llvm::PreservedAnalyses::all(), llvm::dyn_cast(), F, I, instructions, llvm::StackLifetime::print(), llvm::SmallVectorTemplateBase< T, bool >::push_back(), and llvm::StackLifetime::run().