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
Collaboration diagram for llvm::InLineChangePrinter:
Collaboration graph

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 > >
- Protected Attributes inherited from llvm::ChangeReporter< IRUnitT >
std::vector< IRUnitT > BeforeStack
bool InitialIR = true
const bool VerboseMode

Detailed Description

Definition at line 403 of file StandardInstrumentations.h.

Constructor & Destructor Documentation

◆ InLineChangePrinter()

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

Definition at line 405 of file StandardInstrumentations.h.

◆ ~InLineChangePrinter()

InLineChangePrinter::~InLineChangePrinter ( )

Member Function Documentation

◆ generateIRRepresentation()

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

Definition at line 1248 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 

◆ handleFunctionCompare()

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

◆ registerCallbacks()

void InLineChangePrinter::registerCallbacks ( PassInstrumentationCallbacks PIC)

Member Data Documentation

◆ UseColour

bool llvm::InLineChangePrinter::UseColour

Definition at line 426 of file StandardInstrumentations.h.

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