LLVM 20.0.0git
Public Member Functions | List of all members
llvm::PassManagerPrettyStackEntry Class Reference

PassManagerPrettyStackEntry - This is used to print informative information about what pass is running when/if a stack trace is generated. More...

#include "llvm/IR/LegacyPassManagers.h"

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

Public Member Functions

 PassManagerPrettyStackEntry (Pass *p)
 
 PassManagerPrettyStackEntry (Pass *p, Value &v)
 
 PassManagerPrettyStackEntry (Pass *p, Module &m)
 
void print (raw_ostream &OS) const override
 print - Emit information about this stack frame to OS.
 
- Public Member Functions inherited from llvm::PrettyStackTraceEntry
 PrettyStackTraceEntry ()
 
virtual ~PrettyStackTraceEntry ()
 
virtual void print (raw_ostream &OS) const =0
 print - Emit information about this stack frame to OS.
 
const PrettyStackTraceEntrygetNextEntry () const
 getNextEntry - Return the next entry in the list of frames.
 

Detailed Description

PassManagerPrettyStackEntry - This is used to print informative information about what pass is running when/if a stack trace is generated.

Definition at line 109 of file LegacyPassManagers.h.

Constructor & Destructor Documentation

◆ PassManagerPrettyStackEntry() [1/3]

llvm::PassManagerPrettyStackEntry::PassManagerPrettyStackEntry ( Pass p)
inlineexplicit

Definition at line 115 of file LegacyPassManagers.h.

References P.

◆ PassManagerPrettyStackEntry() [2/3]

llvm::PassManagerPrettyStackEntry::PassManagerPrettyStackEntry ( Pass p,
Value v 
)
inline

Definition at line 117 of file LegacyPassManagers.h.

References P.

◆ PassManagerPrettyStackEntry() [3/3]

llvm::PassManagerPrettyStackEntry::PassManagerPrettyStackEntry ( Pass p,
Module m 
)
inline

Definition at line 119 of file LegacyPassManagers.h.

References P.

Member Function Documentation

◆ print()

void PassManagerPrettyStackEntry::print ( raw_ostream OS) const
overridevirtual

print - Emit information about this stack frame to OS.

Implements llvm::PrettyStackTraceEntry.

Definition at line 209 of file LegacyPassManager.cpp.

References llvm::Module::getModuleIdentifier(), llvm::Pass::getPassName(), OS, and llvm::Value::printAsOperand().


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