Intel SPMD Program Compiler  1.9.1
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 4796 of file opt.cpp.

Constructor & Destructor Documentation

DebugPass::DebugPass ( char *  output)
inline

Definition at line 4799 of file opt.cpp.

References str_output.

Member Function Documentation

const char* DebugPass::getPassName ( ) const
inline

Definition at line 4803 of file opt.cpp.

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

Definition at line 4813 of file opt.cpp.

References str_output.

Member Data Documentation

char DebugPass::ID = 0
static

Definition at line 4798 of file opt.cpp.

char DebugPass::str_output[100]
private

Definition at line 4807 of file opt.cpp.

Referenced by DebugPass(), and runOnModule().


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