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

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 4388 of file opt.cpp.

Constructor & Destructor Documentation

◆ DebugPass()

DebugPass::DebugPass ( char *  output)

Definition at line 4391 of file opt.cpp.

Member Function Documentation

◆ getPassName()

const char* DebugPass::getPassName ( ) const

Definition at line 4394 of file opt.cpp.

References m.

◆ runOnModule()

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

Definition at line 4406 of file opt.cpp.

Member Data Documentation

◆ ID

char DebugPass::ID = 0

Definition at line 4390 of file opt.cpp.

◆ str_output

char DebugPass::str_output[100]

Definition at line 4401 of file opt.cpp.

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