LLVM  17.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
Collaboration diagram for llvm::DotCfgChangeReporter:
Collaboration graph

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)

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 489 of file StandardInstrumentations.h.

Constructor & Destructor Documentation

◆ DotCfgChangeReporter()

llvm::DotCfgChangeReporter::DotCfgChangeReporter ( bool  Verbose)

Definition at line 1872 of file StandardInstrumentations.cpp.

References llvm::Verbose.

◆ ~DotCfgChangeReporter()

llvm::DotCfgChangeReporter::~DotCfgChangeReporter ( )

Definition at line 2051 of file StandardInstrumentations.cpp.

References HTML.

Member Function Documentation

◆ generateIRRepresentation()

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

◆ genHTML()

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

◆ handleAfter()

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

◆ handleFiltered()

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

◆ 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 

◆ handleIgnored()

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

◆ handleInitialIR()

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

◆ handleInvalidated()

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

◆ initializeHTML()

bool llvm::DotCfgChangeReporter::initializeHTML ( )

Definition at line 2015 of file StandardInstrumentations.cpp.

References DotCfgDir, and HTML.

Referenced by registerCallbacks().

◆ omitAfter()

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

◆ registerCallbacks()

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

Member Data Documentation


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

◆ N

unsigned llvm::DotCfgChangeReporter::N = 0

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