LLVM API Documentation
#include <NVPTXLowerAggrCopies.h>


Public Member Functions | |
| NVPTXLowerAggrCopies () | |
| void | getAnalysisUsage (AnalysisUsage &AU) const |
| virtual bool | runOnFunction (Function &F) |
| virtual const char * | getPassName () const |
Public Member Functions inherited from llvm::FunctionPass | |
| FunctionPass (char &pid) | |
| Pass * | createPrinterPass (raw_ostream &O, const std::string &Banner) const |
| createPrinterPass - Get a function printer pass. More... | |
| virtual void | assignPassManager (PMStack &PMS, PassManagerType T) |
| virtual PassManagerType | getPotentialPassManagerType () const |
| Return what kind of Pass Manager can manage this pass. More... | |
Public Member Functions inherited from llvm::Pass | |
| Pass (PassKind K, char &pid) | |
| virtual | ~Pass () |
| PassKind | getPassKind () const |
| AnalysisID | getPassID () const |
| getPassID - Return the PassID number that corresponds to this pass. More... | |
| virtual bool | doInitialization (Module &) |
| virtual bool | doFinalization (Module &) |
| virtual void | print (raw_ostream &O, const Module *M) const |
| void | dump () const |
| virtual void | preparePassManager (PMStack &) |
| Check if available pass managers are suitable for this pass or not. More... | |
| void | setResolver (AnalysisResolver *AR) |
| AnalysisResolver * | getResolver () const |
| virtual void | releaseMemory () |
| virtual void * | getAdjustedAnalysisPointer (AnalysisID ID) |
| virtual ImmutablePass * | getAsImmutablePass () |
| virtual PMDataManager * | getAsPMDataManager () |
| virtual void | verifyAnalysis () const |
| virtual void | dumpPassStructure (unsigned Offset=0) |
| template<typename AnalysisType > | |
| AnalysisType * | getAnalysisIfAvailable () const |
| bool | mustPreserveAnalysisID (char &AID) const |
| template<typename AnalysisType > | |
| AnalysisType & | getAnalysis () const |
| template<typename AnalysisType > | |
| AnalysisType & | getAnalysis (Function &F) |
| template<typename AnalysisType > | |
| AnalysisType & | getAnalysisID (AnalysisID PI) const |
| template<typename AnalysisType > | |
| AnalysisType & | getAnalysisID (AnalysisID PI, Function &F) |
Static Public Attributes | |
| static char | ID = 0 |
| static const unsigned | MaxAggrCopySize = 128 |
Additional Inherited Members | |
Static Public Member Functions inherited from llvm::Pass | |
| static const PassInfo * | lookupPassInfo (const void *TI) |
| static const PassInfo * | lookupPassInfo (StringRef Arg) |
| static Pass * | createPass (AnalysisID ID) |
Definition at line 25 of file NVPTXLowerAggrCopies.h.
|
inline |
Definition at line 28 of file NVPTXLowerAggrCopies.h.
|
inlinevirtual |
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 30 of file NVPTXLowerAggrCopies.h.
References llvm::AnalysisUsage::addPreserved(), and llvm::AnalysisUsage::addRequired().
|
inlinevirtual |
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 NVPTXLowerAggrCopies.h.
runOnFunction - Virtual method overriden by subclasses to do the per-function processing of the pass.
Implements llvm::FunctionPass.
Definition at line 102 of file NVPTXLowerAggrCopies.cpp.
References llvm::Function::begin(), convertMemSetToLoop(), convertTransferToLoop(), llvm::dyn_cast(), llvm::Function::end(), llvm::Instruction::eraseFromParent(), F(), llvm::ConstantInt::get(), llvm::Module::getContext(), llvm::MemIntrinsic::getDest(), llvm::Type::getInt32Ty(), llvm::MemIntrinsic::getLength(), llvm::User::getOperand(), llvm::GlobalValue::getParent(), llvm::MemTransferInst::getSource(), llvm::Value::getType(), llvm::DataLayout::getTypeStoreSize(), llvm::MemSetInst::getValue(), llvm::ARM_PROC::IE, llvm::LoadInst::isVolatile(), llvm::StoreInst::isVolatile(), MaxAggrCopySize, llvm::SmallVectorTemplateBase< T, isPodLike< T >::value >::push_back(), llvm::SmallVectorTemplateCommon< T >::size(), TD, and llvm::Value::use_begin().
|
static |
Definition at line 26 of file NVPTXLowerAggrCopies.h.
|
static |
Definition at line 37 of file NVPTXLowerAggrCopies.h.
Referenced by runOnFunction().