Intel® Implicit SPMD Program Compiler (Intel® ISPC)  1.13.0
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
 
llvm::StringRef 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 4307 of file opt.cpp.

Constructor & Destructor Documentation

◆ MakeInternalFuncsStaticPass()

MakeInternalFuncsStaticPass::MakeInternalFuncsStaticPass ( bool  last = false)
inline

Definition at line 4310 of file opt.cpp.

Member Function Documentation

◆ getAnalysisUsage()

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

Definition at line 4312 of file opt.cpp.

◆ getPassName()

llvm::StringRef MakeInternalFuncsStaticPass::getPassName ( ) const
inline

Definition at line 4314 of file opt.cpp.

References ID, and m.

◆ runOnModule()

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

Definition at line 4320 of file opt.cpp.

References m, and Module::module.

Member Data Documentation

◆ ID

char MakeInternalFuncsStaticPass::ID = 0
static

Definition at line 4309 of file opt.cpp.

Referenced by getPassName().


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