LLVM  14.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< IRDataT< EmptyData > >
virtual ~ChangeReporter ()
 
void saveIRBeforePass (Any IR, StringRef PassID)
 
void handleIRAfterPass (Any IR, StringRef PassID)
 
void handleInvalidatedPass (StringRef PassID)
 

Protected Member Functions

virtual void generateIRRepresentation (Any IR, StringRef PassID, IRDataT< EmptyData > &Output) override
 
virtual 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< IRDataT< EmptyData > >
 ChangeReporter (bool RunInVerboseMode)
 
void registerRequiredCallbacks (PassInstrumentationCallbacks &PIC)
 
bool isInterestingFunction (const Function &F)
 
bool isInterestingPass (StringRef PassID)
 
bool isInteresting (Any IR, StringRef PassID)
 

Protected Attributes

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

Detailed Description

Definition at line 377 of file StandardInstrumentations.h.

Constructor & Destructor Documentation

◆ InLineChangePrinter()

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

Definition at line 379 of file StandardInstrumentations.h.

◆ ~InLineChangePrinter()

InLineChangePrinter::~InLineChangePrinter ( )
override

Definition at line 1150 of file StandardInstrumentations.cpp.

Member Function Documentation

◆ generateIRRepresentation()

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

◆ handleAfter()

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

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


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