LLVM 20.0.0git
|
#include "llvm/Passes/StandardInstrumentations.h"
Public Member Functions | |
IRChangedTester () | |
~IRChangedTester () override | |
void | registerCallbacks (PassInstrumentationCallbacks &PIC) |
Public Member Functions inherited from llvm::IRChangedPrinter | |
IRChangedPrinter (bool VerboseMode) | |
~IRChangedPrinter () 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 | handleIR (const std::string &IR, StringRef PassID) |
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 |
void | handleAfter (StringRef PassID, std::string &Name, const std::string &Before, const std::string &After, Any) override |
Protected Member Functions inherited from llvm::IRChangedPrinter | |
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 |
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< 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 |
Additional Inherited Members | |
Protected Attributes inherited from llvm::TextChangeReporter< std::string > | |
raw_ostream & | Out |
Protected Attributes inherited from llvm::ChangeReporter< IRUnitT > | |
std::vector< IRUnitT > | BeforeStack |
bool | InitialIR = true |
const bool | VerboseMode |
Definition at line 287 of file StandardInstrumentations.h.
|
inline |
Definition at line 289 of file StandardInstrumentations.h.
|
override |
Definition at line 538 of file StandardInstrumentations.cpp.
|
overrideprotected |
Definition at line 583 of file StandardInstrumentations.cpp.
References After, and handleIR().
|
overrideprotectedvirtual |
Implements llvm::ChangeReporter< IRUnitT >.
Definition at line 581 of file StandardInstrumentations.cpp.
|
overrideprotectedvirtual |
Implements llvm::ChangeReporter< IRUnitT >.
Definition at line 582 of file StandardInstrumentations.cpp.
|
overrideprotectedvirtual |
Implements llvm::ChangeReporter< IRUnitT >.
Definition at line 571 of file StandardInstrumentations.cpp.
References llvm::IRChangedPrinter::generateIRRepresentation(), handleIR(), and IR.
|
overrideprotectedvirtual |
Implements llvm::ChangeReporter< IRUnitT >.
Definition at line 580 of file StandardInstrumentations.cpp.
Definition at line 545 of file StandardInstrumentations.cpp.
References llvm::cleanUpTempFiles(), llvm::dbgs(), llvm::sys::ExecuteAndWait(), llvm::sys::findProgramByName(), and llvm::prepareTempFiles().
Referenced by handleAfter(), and handleInitialIR().
|
overrideprotectedvirtual |
Implements llvm::ChangeReporter< IRUnitT >.
Definition at line 579 of file StandardInstrumentations.cpp.
void IRChangedTester::registerCallbacks | ( | PassInstrumentationCallbacks & | PIC | ) |
Definition at line 540 of file StandardInstrumentations.cpp.
References PIC, and llvm::ChangeReporter< IRUnitT >::registerRequiredCallbacks().
Referenced by llvm::StandardInstrumentations::registerCallbacks().