Intel SPMD Program Compiler  1.12.0
Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes | List of all members
DebugPassFile Class Reference
Inheritance diagram for DebugPassFile:
Inheritance graph
[legend]
Collaboration diagram for DebugPassFile:
Collaboration graph
[legend]

Public Member Functions

 DebugPassFile (int number, llvm::StringRef name)
 
const char * getPassName () const
 
bool runOnModule (llvm::Module &m)
 
bool doInitialization (llvm::Module &m)
 

Static Public Attributes

static char ID = 0
 

Private Member Functions

void run (llvm::Module &m, bool init)
 

Private Attributes

int pnum
 
llvm::StringRef pname
 

Detailed Description

This pass is added in list of passes after optimizations which we want to debug and print dump of LLVM IR to file.

Definition at line 4423 of file opt.cpp.

Constructor & Destructor Documentation

◆ DebugPassFile()

DebugPassFile::DebugPassFile ( int  number,
llvm::StringRef  name 
)
inline

Definition at line 4426 of file opt.cpp.

Member Function Documentation

◆ doInitialization()

bool DebugPassFile::doInitialization ( llvm::Module &  m)

Definition at line 4468 of file opt.cpp.

References DebugPassManager::run().

◆ getPassName()

const char* DebugPassFile::getPassName ( ) const
inline

Definition at line 4429 of file opt.cpp.

References m, and DebugPassManager::run().

◆ run()

void DebugPassFile::run ( llvm::Module &  m,
bool  init 
)
private

Definition at line 4454 of file opt.cpp.

References Assert, and sanitize().

◆ runOnModule()

bool DebugPassFile::runOnModule ( llvm::Module &  m)

Definition at line 4463 of file opt.cpp.

References DebugPassManager::run().

Member Data Documentation

◆ ID

char DebugPassFile::ID = 0
static

Definition at line 4425 of file opt.cpp.

◆ pname

llvm::StringRef DebugPassFile::pname
private

Definition at line 4439 of file opt.cpp.

◆ pnum

int DebugPassFile::pnum
private

Definition at line 4438 of file opt.cpp.


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