LLVM  14.0.0git
Protected Member Functions | Protected Attributes | List of all members
llvm::TextChangeReporter< IRUnitT > Class Template Reference

#include "llvm/Passes/StandardInstrumentations.h"

Inheritance diagram for llvm::TextChangeReporter< IRUnitT >:
Inheritance graph
[legend]
Collaboration diagram for llvm::TextChangeReporter< IRUnitT >:
Collaboration graph
[legend]

Protected Member Functions

 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)
 
bool isInterestingFunction (const Function &F)
 
bool isInterestingPass (StringRef PassID)
 
bool isInteresting (Any IR, StringRef PassID)
 
virtual void generateIRRepresentation (Any IR, StringRef PassID, IRUnitT &Output)=0
 
virtual void handleAfter (StringRef PassID, std::string &Name, const IRUnitT &Before, const IRUnitT &After, Any)=0
 

Protected Attributes

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

Additional Inherited Members

- Public Member Functions inherited from llvm::ChangeReporter< IRUnitT >
virtual ~ChangeReporter ()
 
void saveIRBeforePass (Any IR, StringRef PassID)
 
void handleIRAfterPass (Any IR, StringRef PassID)
 
void handleInvalidatedPass (StringRef PassID)
 

Detailed Description

template<typename IRUnitT>
class llvm::TextChangeReporter< IRUnitT >

Definition at line 231 of file StandardInstrumentations.h.

Constructor & Destructor Documentation

◆ TextChangeReporter()

template<typename T >
TextChangeReporter::TextChangeReporter ( bool  Verbose)
protected

Definition at line 494 of file StandardInstrumentations.cpp.

Member Function Documentation

◆ handleFiltered()

template<typename T >
void TextChangeReporter::handleFiltered ( StringRef  PassID,
std::string &  Name 
)
overrideprotectedvirtual

Implements llvm::ChangeReporter< IRUnitT >.

Definition at line 518 of file StandardInstrumentations.cpp.

◆ handleIgnored()

template<typename T >
void TextChangeReporter::handleIgnored ( StringRef  PassID,
std::string &  Name 
)
overrideprotectedvirtual

Implements llvm::ChangeReporter< IRUnitT >.

Definition at line 526 of file StandardInstrumentations.cpp.

◆ handleInitialIR()

template<typename T >
void TextChangeReporter::handleInitialIR ( Any  IR)
overrideprotectedvirtual

Implements llvm::ChangeReporter< IRUnitT >.

Definition at line 497 of file StandardInstrumentations.cpp.

◆ handleInvalidated()

template<typename T >
void TextChangeReporter::handleInvalidated ( StringRef  PassID)
overrideprotectedvirtual

Implements llvm::ChangeReporter< IRUnitT >.

Definition at line 513 of file StandardInstrumentations.cpp.

◆ omitAfter()

template<typename T >
void TextChangeReporter::omitAfter ( StringRef  PassID,
std::string &  Name 
)
overrideprotectedvirtual

Implements llvm::ChangeReporter< IRUnitT >.

Definition at line 507 of file StandardInstrumentations.cpp.

Member Data Documentation

◆ Out

template<typename IRUnitT >
raw_ostream& llvm::TextChangeReporter< IRUnitT >::Out
protected

Definition at line 248 of file StandardInstrumentations.h.


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