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

#include "llvm/Passes/StandardInstrumentations.h"

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

Public Member Functions

 InLineChangePrinter (bool VerboseMode, bool ColourMode)
 
 ~InLineChangePrinter () override
 
void registerCallbacks (PassInstrumentationCallbacks &PIC)
 
- Public Member Functions inherited from llvm::ChangeReporter< IRUnitT >
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, IRDataT< EmptyData > &Output) override
 
void handleAfter (StringRef PassID, std::string &Name, const IRDataT< EmptyData > &Before, const IRDataT< EmptyData > &After, Any) override
 
void handleFunctionCompare (StringRef Name, StringRef Prefix, StringRef PassID, StringRef Divider, bool InModule, unsigned Minor, const FuncDataT< EmptyData > &Before, const FuncDataT< EmptyData > &After)
 
- Protected Member Functions inherited from llvm::TextChangeReporter< IRDataT< EmptyData > >
 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< IRUnitT >
 ChangeReporter (bool RunInVerboseMode)
 
void registerRequiredCallbacks (PassInstrumentationCallbacks &PIC)
 
virtual void handleInitialIR (Any IR)=0
 
virtual void generateIRRepresentation (Any IR, StringRef PassID, IRUnitT &Output)=0
 
virtual void omitAfter (StringRef PassID, std::string &Name)=0
 
virtual void handleAfter (StringRef PassID, std::string &Name, const IRUnitT &Before, const IRUnitT &After, Any)=0
 
virtual void handleInvalidated (StringRef PassID)=0
 
virtual void handleFiltered (StringRef PassID, std::string &Name)=0
 
virtual void handleIgnored (StringRef PassID, std::string &Name)=0
 

Protected Attributes

bool UseColour
 
- Protected Attributes inherited from llvm::TextChangeReporter< IRDataT< EmptyData > >
raw_ostreamOut
 
- Protected Attributes inherited from llvm::ChangeReporter< IRUnitT >
std::vector< IRUnitT > BeforeStack
 
bool InitialIR = true
 
const bool VerboseMode
 

Detailed Description

Definition at line 404 of file StandardInstrumentations.h.

Constructor & Destructor Documentation

◆ InLineChangePrinter()

llvm::InLineChangePrinter::InLineChangePrinter ( bool  VerboseMode,
bool  ColourMode 
)
inline

Definition at line 406 of file StandardInstrumentations.h.

◆ ~InLineChangePrinter()

InLineChangePrinter::~InLineChangePrinter ( )
overridedefault

Member Function Documentation

◆ generateIRRepresentation()

void InLineChangePrinter::generateIRRepresentation ( Any  IR,
StringRef  PassID,
IRDataT< EmptyData > &  Output 
)
overrideprotected

Definition at line 1168 of file StandardInstrumentations.cpp.

References llvm::IRComparer< T >::analyzeIR(), D, and IR.

◆ handleAfter()

void InLineChangePrinter::handleAfter ( StringRef  PassID,
std::string &  Name,
const IRDataT< EmptyData > &  Before,
const IRDataT< EmptyData > &  After,
Any  IR 
)
overrideprotected

◆ handleFunctionCompare()

void InLineChangePrinter::handleFunctionCompare ( StringRef  Name,
StringRef  Prefix,
StringRef  PassID,
StringRef  Divider,
bool  InModule,
unsigned  Minor,
const FuncDataT< EmptyData > &  Before,
const FuncDataT< EmptyData > &  After 
)
protected

◆ registerCallbacks()

void InLineChangePrinter::registerCallbacks ( PassInstrumentationCallbacks PIC)

Member Data Documentation

◆ UseColour

bool llvm::InLineChangePrinter::UseColour
protected

Definition at line 427 of file StandardInstrumentations.h.


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