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 289 of file StandardInstrumentations.h.
|
inline |
Definition at line 291 of file StandardInstrumentations.h.
|
override |
Definition at line 545 of file StandardInstrumentations.cpp.
|
overrideprotected |
Definition at line 590 of file StandardInstrumentations.cpp.
References After, and handleIR().
|
overrideprotectedvirtual |
Implements llvm::ChangeReporter< IRUnitT >.
Definition at line 588 of file StandardInstrumentations.cpp.
|
overrideprotectedvirtual |
Implements llvm::ChangeReporter< IRUnitT >.
Definition at line 589 of file StandardInstrumentations.cpp.
|
overrideprotectedvirtual |
Implements llvm::ChangeReporter< IRUnitT >.
Definition at line 578 of file StandardInstrumentations.cpp.
References llvm::IRChangedPrinter::generateIRRepresentation(), handleIR(), and IR.
|
overrideprotectedvirtual |
Implements llvm::ChangeReporter< IRUnitT >.
Definition at line 587 of file StandardInstrumentations.cpp.
Definition at line 552 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 586 of file StandardInstrumentations.cpp.
void IRChangedTester::registerCallbacks | ( | PassInstrumentationCallbacks & | PIC | ) |
Definition at line 547 of file StandardInstrumentations.cpp.
References PIC, and llvm::ChangeReporter< IRUnitT >::registerRequiredCallbacks().
Referenced by llvm::StandardInstrumentations::registerCallbacks().