LLVM API Documentation
#include <NVPTXMachineFunctionInfo.h>
Public Member Functions | |
NVPTXMachineFunctionInfo (MachineFunction &MF) | |
unsigned | getImageHandleSymbolIndex (const char *Symbol) |
const char * | getImageHandleSymbol (unsigned Idx) const |
Returns the symbol name at the given index. |
Definition at line 21 of file NVPTXMachineFunctionInfo.h.
llvm::NVPTXMachineFunctionInfo::NVPTXMachineFunctionInfo | ( | MachineFunction & | MF | ) | [inline] |
Definition at line 28 of file NVPTXMachineFunctionInfo.h.
const char* llvm::NVPTXMachineFunctionInfo::getImageHandleSymbol | ( | unsigned | Idx | ) | const [inline] |
Returns the symbol name at the given index.
Definition at line 44 of file NVPTXMachineFunctionInfo.h.
References llvm::SmallVectorTemplateCommon< T, typename >::size().
unsigned llvm::NVPTXMachineFunctionInfo::getImageHandleSymbolIndex | ( | const char * | Symbol | ) | [inline] |
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, isPodLike >::push_back(), and llvm::SmallVectorTemplateCommon< T, typename >::size().