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

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

Constructor & Destructor Documentation

◆ MakeInternalFuncsStaticPass()

MakeInternalFuncsStaticPass::MakeInternalFuncsStaticPass ( bool  last = false)

Definition at line 4493 of file opt.cpp.

Member Function Documentation

◆ getAnalysisUsage()

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

Definition at line 4495 of file opt.cpp.

◆ getPassName()

const char* MakeInternalFuncsStaticPass::getPassName ( ) const

Definition at line 4498 of file opt.cpp.

References ID, and m.

◆ runOnModule()

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

Definition at line 4507 of file opt.cpp.

References m, and Module::module.

Member Data Documentation

◆ ID

char MakeInternalFuncsStaticPass::ID = 0

Definition at line 4492 of file opt.cpp.

Referenced by getPassName().

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