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

Public Member Functions

 DebugPass (char *output)
 
const char * getPassName () const
 
bool runOnModule (llvm::Module &m)
 

Static Public Attributes

static char ID = 0
 

Private Attributes

char str_output [100]
 

Detailed Description

This pass is added in list of passes after optimizations which we want to debug and print dump of LLVM IR in stderr. Also it prints name and number of previous optimization.

Definition at line 4376 of file opt.cpp.

Constructor & Destructor Documentation

◆ DebugPass()

DebugPass::DebugPass ( char *  output)
inline

Definition at line 4379 of file opt.cpp.

References str_output.

Member Function Documentation

◆ getPassName()

const char* DebugPass::getPassName ( ) const
inline

Definition at line 4382 of file opt.cpp.

◆ runOnModule()

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

Definition at line 4394 of file opt.cpp.

References str_output.

Member Data Documentation

◆ ID

char DebugPass::ID = 0
static

Definition at line 4378 of file opt.cpp.

◆ str_output

char DebugPass::str_output[100]
private

Definition at line 4389 of file opt.cpp.

Referenced by DebugPass(), and runOnModule().


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