LLVM  13.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)
 
void handleIRAfterPass (Any IR, StringRef PassID)
 
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
 
bool same (const std::string &Before, const std::string &After) 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)
 
bool isInterestingFunction (const Function &F)
 
bool isInterestingPass (StringRef PassID)
 
bool isInteresting (Any IR, StringRef PassID)
 

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 257 of file StandardInstrumentations.h.

Constructor & Destructor Documentation

◆ IRChangedPrinter()

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

Definition at line 259 of file StandardInstrumentations.h.

References string.

◆ ~IRChangedPrinter()

IRChangedPrinter::~IRChangedPrinter ( )
override

Definition at line 530 of file StandardInstrumentations.cpp.

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)

◆ same()

bool IRChangedPrinter::same ( const std::string &  Before,
const std::string &  After 
)
overrideprotectedvirtual

Implements llvm::ChangeReporter< std::string >.

Definition at line 564 of file StandardInstrumentations.cpp.


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