LLVM  17.0.0git
Public Member Functions | Protected Member Functions | List of all members
llvm::IRChangedPrinter Class Reference

#include "llvm/Passes/StandardInstrumentations.h"

Inheritance diagram for llvm::IRChangedPrinter:
Inheritance graph
[legend]
Collaboration diagram for llvm::IRChangedPrinter:
Collaboration graph
[legend]

Public Member Functions

 IRChangedPrinter (bool VerboseMode)
 
 ~IRChangedPrinter () override
 
void registerCallbacks (PassInstrumentationCallbacks &PIC)
 
- Public Member Functions inherited from llvm::ChangeReporter< std::string >
virtual ~ChangeReporter ()
 
void saveIRBeforePass (Any IR, StringRef PassID, StringRef PassName)
 
void handleIRAfterPass (Any IR, StringRef PassID, StringRef PassName)
 
void handleInvalidatedPass (StringRef PassID)
 

Protected Member Functions

void generateIRRepresentation (Any IR, StringRef PassID, std::string &Output) override
 
void handleAfter (StringRef PassID, std::string &Name, const std::string &Before, const std::string &After, Any) override
 
- Protected Member Functions inherited from llvm::TextChangeReporter< std::string >
 TextChangeReporter (bool Verbose)
 
void handleInitialIR (Any IR) override
 
void omitAfter (StringRef PassID, std::string &Name) override
 
void handleInvalidated (StringRef PassID) override
 
void handleFiltered (StringRef PassID, std::string &Name) override
 
void handleIgnored (StringRef PassID, std::string &Name) override
 
- Protected Member Functions inherited from llvm::ChangeReporter< std::string >
 ChangeReporter (bool RunInVerboseMode)
 
void registerRequiredCallbacks (PassInstrumentationCallbacks &PIC)
 

Additional Inherited Members

- Protected Attributes inherited from llvm::TextChangeReporter< std::string >
raw_ostreamOut
 
- Protected Attributes inherited from llvm::ChangeReporter< std::string >
std::vector< std::string > BeforeStack
 
bool InitialIR
 
const bool VerboseMode
 

Detailed Description

Definition at line 248 of file StandardInstrumentations.h.

Constructor & Destructor Documentation

◆ IRChangedPrinter()

llvm::IRChangedPrinter::IRChangedPrinter ( bool  VerboseMode)
inline

Definition at line 250 of file StandardInstrumentations.h.

References string.

◆ ~IRChangedPrinter()

IRChangedPrinter::~IRChangedPrinter ( )
overridedefault

Member Function Documentation

◆ generateIRRepresentation()

void IRChangedPrinter::generateIRRepresentation ( Any  IR,
StringRef  PassID,
std::string &  Output 
)
overrideprotectedvirtual

◆ handleAfter()

void IRChangedPrinter::handleAfter ( StringRef  PassID,
std::string &  Name,
const std::string &  Before,
const std::string &  After,
Any   
)
overrideprotectedvirtual

◆ registerCallbacks()

void IRChangedPrinter::registerCallbacks ( PassInstrumentationCallbacks PIC)

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