LLVM 20.0.0git
|
#include "llvm/Passes/StandardInstrumentations.h"
Public Member Functions | |
DotCfgChangeReporter (bool Verbose) | |
~DotCfgChangeReporter () override | |
void | registerCallbacks (PassInstrumentationCallbacks &PIC) |
Public Member Functions inherited from llvm::ChangeReporter< IRDataT< DCData > > | |
virtual | ~ChangeReporter () |
void | saveIRBeforePass (Any IR, StringRef PassID, StringRef PassName) |
void | handleIRAfterPass (Any IR, StringRef PassID, StringRef PassName) |
void | handleInvalidatedPass (StringRef PassID) |
Static Protected Member Functions | |
static std::string | genHTML (StringRef Text, StringRef DotFile, StringRef PDFFileName) |
Protected Attributes | |
unsigned | N = 0 |
std::unique_ptr< raw_fd_ostream > | HTML |
Protected Attributes inherited from llvm::ChangeReporter< IRDataT< DCData > > | |
std::vector< IRDataT< DCData > > | BeforeStack |
bool | InitialIR |
const bool | VerboseMode |
Definition at line 520 of file StandardInstrumentations.h.
llvm::DotCfgChangeReporter::DotCfgChangeReporter | ( | bool | Verbose | ) |
Definition at line 2222 of file StandardInstrumentations.cpp.
|
override |
Definition at line 2401 of file StandardInstrumentations.cpp.
References HTML.
|
overrideprotectedvirtual |
Implements llvm::ChangeReporter< IRDataT< DCData > >.
Definition at line 2310 of file StandardInstrumentations.cpp.
References llvm::IRComparer< T >::analyzeIR(), llvm::Data, and IR.
|
staticprotected |
Definition at line 2267 of file StandardInstrumentations.cpp.
References llvm::SmallString< InternalLen >::c_str(), DotBinary, DotCfgDir, llvm::sys::ExecuteAndWait(), llvm::sys::findProgramByName(), and llvm::formatv().
Referenced by handleFunctionCompare().
|
overrideprotectedvirtual |
Implements llvm::ChangeReporter< IRDataT< DCData > >.
Definition at line 2324 of file StandardInstrumentations.cpp.
References After, assert(), Before, llvm::IRComparer< T >::compare(), handleFunctionCompare(), HTML, IR, N, and Name.
|
overrideprotectedvirtual |
Implements llvm::ChangeReporter< IRDataT< DCData > >.
Definition at line 2348 of file StandardInstrumentations.cpp.
References assert(), llvm::formatv(), HTML, N, and Name.
|
protected |
Definition at line 2225 of file StandardInstrumentations.cpp.
References After, assert(), Before, llvm::sys::fs::createUniquePath(), llvm::errs(), llvm::formatv(), genHTML(), HTML, N, Name, llvm::Number, llvm::sys::fs::remove(), and llvm::Twine::str().
Referenced by handleAfter(), and handleInitialIR().
|
overrideprotectedvirtual |
Implements llvm::ChangeReporter< IRDataT< DCData > >.
Definition at line 2357 of file StandardInstrumentations.cpp.
References assert(), llvm::formatv(), HTML, N, and Name.
|
overrideprotectedvirtual |
Implements llvm::ChangeReporter< IRDataT< DCData > >.
Definition at line 2286 of file StandardInstrumentations.cpp.
References After, llvm::IRComparer< T >::analyzeIR(), assert(), Before, llvm::IRComparer< T >::compare(), llvm::Data, handleFunctionCompare(), HTML, IR, and N.
|
overrideprotectedvirtual |
Implements llvm::ChangeReporter< IRDataT< DCData > >.
Definition at line 2340 of file StandardInstrumentations.cpp.
References assert(), llvm::formatv(), HTML, and N.
|
protected |
Definition at line 2365 of file StandardInstrumentations.cpp.
References DotCfgDir, and HTML.
Referenced by registerCallbacks().
|
overrideprotectedvirtual |
Implements llvm::ChangeReporter< IRDataT< DCData > >.
Definition at line 2315 of file StandardInstrumentations.cpp.
References assert(), llvm::formatv(), HTML, N, and Name.
void llvm::DotCfgChangeReporter::registerCallbacks | ( | PassInstrumentationCallbacks & | PIC | ) |
Definition at line 2426 of file StandardInstrumentations.cpp.
References assert(), llvm::SmallString< InternalLen >::c_str(), llvm::dbgs(), DotCfgDir, llvm::DotCfgQuiet, llvm::DotCfgVerbose, llvm::SmallVectorBase< Size_T >::empty(), llvm::sys::fs::expand_tilde(), initializeHTML(), llvm::sys::fs::make_absolute(), PIC, llvm::PrintChanged, and llvm::ChangeReporter< IRDataT< DCData > >::registerRequiredCallbacks().
Referenced by llvm::StandardInstrumentations::registerCallbacks().
|
protected |
Definition at line 559 of file StandardInstrumentations.h.
Referenced by handleAfter(), handleFiltered(), handleFunctionCompare(), handleIgnored(), handleInitialIR(), handleInvalidated(), initializeHTML(), omitAfter(), and ~DotCfgChangeReporter().
|
protected |
Definition at line 558 of file StandardInstrumentations.h.
Referenced by handleAfter(), handleFiltered(), handleFunctionCompare(), handleIgnored(), handleInitialIR(), handleInvalidated(), and omitAfter().