LLVM API Documentation
#include <NVPTXAllocaHoisting.h>
Public Member Functions | |
NVPTXAllocaHoisting () | |
void | getAnalysisUsage (AnalysisUsage &AU) const override |
const char * | getPassName () const override |
bool | runOnFunction (Function &function) override |
Static Public Attributes | |
static char | ID = 1 |
Definition at line 28 of file NVPTXAllocaHoisting.h.
llvm::NVPTXAllocaHoisting::NVPTXAllocaHoisting | ( | ) | [inline] |
Definition at line 31 of file NVPTXAllocaHoisting.h.
void llvm::NVPTXAllocaHoisting::getAnalysisUsage | ( | AnalysisUsage & | ) | const [inline, override, virtual] |
getAnalysisUsage - This function should be overriden by passes that need analysis information to do their job. If a pass specifies that it uses a particular analysis result to this function, it can then use the getAnalysis<AnalysisType>() function, below.
Reimplemented from llvm::Pass.
Definition at line 33 of file NVPTXAllocaHoisting.h.
References llvm::AnalysisUsage::addPreserved(), and llvm::AnalysisUsage::addRequired().
const char* llvm::NVPTXAllocaHoisting::getPassName | ( | ) | const [inline, override, virtual] |
getPassName - Return a nice clean name for a pass. This usually implemented in terms of the name that is registered by one of the Registration templates, but can be overloaded directly.
Reimplemented from llvm::Pass.
Definition at line 39 of file NVPTXAllocaHoisting.h.
bool llvm::NVPTXAllocaHoisting::runOnFunction | ( | Function & | F | ) | [override, virtual] |
runOnFunction - Virtual method overriden by subclasses to do the per-function processing of the pass.
Implements llvm::FunctionPass.
Definition at line 21 of file NVPTXAllocaHoisting.cpp.
References llvm::dyn_cast(), llvm::sys::path::end(), llvm::AllocaInst::getArraySize(), I, and llvm::Instruction::moveBefore().
char llvm::NVPTXAllocaHoisting::ID = 1 [static] |
Definition at line 30 of file NVPTXAllocaHoisting.h.