LLVM  15.0.0git
Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
llvm::DotCfgChangeReporter Class Reference

#include "llvm/Passes/StandardInstrumentations.h"

Inheritance diagram for llvm::DotCfgChangeReporter:
Inheritance graph
[legend]
Collaboration diagram for llvm::DotCfgChangeReporter:
Collaboration graph
[legend]

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)
 
void handleIRAfterPass (Any IR, StringRef PassID)
 
void handleInvalidatedPass (StringRef PassID)
 

Protected Member Functions

bool initializeHTML ()
 
void handleInitialIR (Any IR) override
 
void generateIRRepresentation (Any IR, StringRef PassID, IRDataT< DCData > &Output) override
 
void omitAfter (StringRef PassID, std::string &Name) override
 
void handleAfter (StringRef PassID, std::string &Name, const IRDataT< DCData > &Before, const IRDataT< DCData > &After, Any) override
 
void handleInvalidated (StringRef PassID) override
 
void handleFiltered (StringRef PassID, std::string &Name) override
 
void handleIgnored (StringRef PassID, std::string &Name) override
 
void handleFunctionCompare (StringRef Name, StringRef Prefix, StringRef PassID, StringRef Divider, bool InModule, unsigned Minor, const FuncDataT< DCData > &Before, const FuncDataT< DCData > &After)
 
- Protected Member Functions inherited from llvm::ChangeReporter< IRDataT< DCData > >
 ChangeReporter (bool RunInVerboseMode)
 
void registerRequiredCallbacks (PassInstrumentationCallbacks &PIC)
 

Static Protected Member Functions

static std::string genHTML (StringRef Text, StringRef DotFile, StringRef PDFFileName)
 

Protected Attributes

unsigned N = 0
 
std::unique_ptr< raw_fd_ostreamHTML
 
- Protected Attributes inherited from llvm::ChangeReporter< IRDataT< DCData > >
std::vector< IRDataT< DCData > > BeforeStack
 
bool InitialIR
 
const bool VerboseMode
 

Detailed Description

Definition at line 441 of file StandardInstrumentations.h.

Constructor & Destructor Documentation

◆ DotCfgChangeReporter()

llvm::DotCfgChangeReporter::DotCfgChangeReporter ( bool  Verbose)

Definition at line 1908 of file StandardInstrumentations.cpp.

References llvm::Verbose.

◆ ~DotCfgChangeReporter()

llvm::DotCfgChangeReporter::~DotCfgChangeReporter ( )
override

Definition at line 2087 of file StandardInstrumentations.cpp.

References HTML.

Member Function Documentation

◆ generateIRRepresentation()

void llvm::DotCfgChangeReporter::generateIRRepresentation ( Any  IR,
StringRef  PassID,
IRDataT< DCData > &  Output 
)
overrideprotectedvirtual

◆ genHTML()

std::string llvm::DotCfgChangeReporter::genHTML ( StringRef  Text,
StringRef  DotFile,
StringRef  PDFFileName 
)
staticprotected

◆ handleAfter()

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

◆ handleFiltered()

void llvm::DotCfgChangeReporter::handleFiltered ( StringRef  PassID,
std::string &  Name 
)
overrideprotectedvirtual

◆ handleFunctionCompare()

void llvm::DotCfgChangeReporter::handleFunctionCompare ( StringRef  Name,
StringRef  Prefix,
StringRef  PassID,
StringRef  Divider,
bool  InModule,
unsigned  Minor,
const FuncDataT< DCData > &  Before,
const FuncDataT< DCData > &  After 
)
protected

◆ handleIgnored()

void llvm::DotCfgChangeReporter::handleIgnored ( StringRef  PassID,
std::string &  Name 
)
overrideprotectedvirtual

◆ handleInitialIR()

void llvm::DotCfgChangeReporter::handleInitialIR ( Any  IR)
overrideprotectedvirtual

◆ handleInvalidated()

void llvm::DotCfgChangeReporter::handleInvalidated ( StringRef  PassID)
overrideprotectedvirtual

◆ initializeHTML()

bool llvm::DotCfgChangeReporter::initializeHTML ( )
protected

Definition at line 2051 of file StandardInstrumentations.cpp.

References DotCfgDir, and HTML.

Referenced by registerCallbacks().

◆ omitAfter()

void llvm::DotCfgChangeReporter::omitAfter ( StringRef  PassID,
std::string &  Name 
)
overrideprotectedvirtual

◆ registerCallbacks()

void llvm::DotCfgChangeReporter::registerCallbacks ( PassInstrumentationCallbacks PIC)

Member Data Documentation

◆ HTML

std::unique_ptr<raw_fd_ostream> llvm::DotCfgChangeReporter::HTML
protected

◆ N

unsigned llvm::DotCfgChangeReporter::N = 0
protected

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