LLVM 20.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 184 of file StackLifetime.h.
|
inline |
Definition at line 190 of file StackLifetime.h.
References OS.
|
inlinestatic |
Definition at line 193 of file StackLifetime.h.
void StackLifetimePrinterPass::printPipeline | ( | raw_ostream & | OS, |
function_ref< StringRef(StringRef)> | MapClassName2PassName | ||
) |
Definition at line 413 of file StackLifetime.cpp.
References llvm::StackLifetime::May, llvm::StackLifetime::Must, OS, and printPipeline().
Referenced by printPipeline().
PreservedAnalyses StackLifetimePrinterPass::run | ( | Function & | F, |
FunctionAnalysisManager & | AM | ||
) |
Definition at line 401 of file StackLifetime.cpp.
References llvm::PreservedAnalyses::all(), F, I, instructions, llvm::StackLifetime::print(), llvm::SmallVectorTemplateBase< T, bool >::push_back(), and llvm::StackLifetime::run().