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

Public Member Functions

 MakeInternalFuncsStaticPass (bool last=false)
 
void getAnalysisUsage (llvm::AnalysisUsage &AU) const
 
const char * getPassName () const
 
bool runOnModule (llvm::Module &m)
 

Static Public Attributes

static char ID = 0
 

Detailed Description

There are a number of target-specific functions that we use during these optimization passes. By the time we are done with optimization, any uses of these should be inlined and no calls to these functions should remain. This pass marks all of these functions as having private linkage so that subsequent passes can eliminate them as dead code, thus cleaning up the final code output by the compiler. We can't just declare these as static from the start, however, since then they end up being eliminated as dead code during early optimization passes even though we may need to generate calls to them during later optimization passes.

Definition at line 4839 of file opt.cpp.

Constructor & Destructor Documentation

MakeInternalFuncsStaticPass::MakeInternalFuncsStaticPass ( bool  last = false)
inline

Definition at line 4842 of file opt.cpp.

Member Function Documentation

void MakeInternalFuncsStaticPass::getAnalysisUsage ( llvm::AnalysisUsage &  AU) const
inline

Definition at line 4845 of file opt.cpp.

const char* MakeInternalFuncsStaticPass::getPassName ( ) const
inline

Definition at line 4849 of file opt.cpp.

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

Definition at line 4856 of file opt.cpp.

References m, and Module::module.

Member Data Documentation

char MakeInternalFuncsStaticPass::ID = 0
static

Definition at line 4841 of file opt.cpp.


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