|
LLVM
8.0.1
|
#include "Target/NVPTX/NVPTXMachineFunctionInfo.h"


Public Member Functions | |
| NVPTXMachineFunctionInfo (MachineFunction &MF) | |
| unsigned | getImageHandleSymbolIndex (const char *Symbol) |
Returns the index for the symbol Symbol. More... | |
| const char * | getImageHandleSymbol (unsigned Idx) const |
| Returns the symbol name at the given index. More... | |
Public Member Functions inherited from llvm::MachineFunctionInfo | |
| virtual | ~MachineFunctionInfo () |
Additional Inherited Members | |
Static Public Member Functions inherited from llvm::MachineFunctionInfo | |
| template<typename Ty > | |
| static Ty * | create (BumpPtrAllocator &Allocator, MachineFunction &MF) |
| Factory function: default behavior is to call new using the supplied allocator. More... | |
Definition at line 21 of file NVPTXMachineFunctionInfo.h.
|
inline |
Definition at line 28 of file NVPTXMachineFunctionInfo.h.
Returns the symbol name at the given index.
Definition at line 44 of file NVPTXMachineFunctionInfo.h.
References assert(), and llvm::SmallVectorBase::size().
Referenced by VisitGlobalVariableForEmission().
Returns the index for the symbol Symbol.
If the symbol was previously, added, the same index is returned. Otherwise, the symbol is added and the new index is returned.
Definition at line 33 of file NVPTXMachineFunctionInfo.h.
References llvm::SmallVectorTemplateBase< T, bool >::push_back(), and llvm::SmallVectorBase::size().
1.8.13