LLVM 19.0.0git
Public Member Functions | Static Public Member Functions | List of all members
llvm::StackLifetimePrinterPass Class Reference

Printer pass for testing. More...

#include "llvm/Analysis/StackLifetime.h"

Inheritance diagram for llvm::StackLifetimePrinterPass:
Inheritance graph
[legend]

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.
 

Detailed Description

Printer pass for testing.

Definition at line 184 of file StackLifetime.h.

Constructor & Destructor Documentation

◆ StackLifetimePrinterPass()

llvm::StackLifetimePrinterPass::StackLifetimePrinterPass ( raw_ostream OS,
StackLifetime::LivenessType  Type 
)
inline

Definition at line 190 of file StackLifetime.h.

References OS.

Member Function Documentation

◆ isRequired()

static bool llvm::StackLifetimePrinterPass::isRequired ( )
inlinestatic

Definition at line 193 of file StackLifetime.h.

◆ printPipeline()

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().

◆ run()

PreservedAnalyses StackLifetimePrinterPass::run ( Function F,
FunctionAnalysisManager AM 
)

The documentation for this class was generated from the following files: