LLVM  6.0.0svn
Public Member Functions | List of all members
llvm::NVPTXMachineFunctionInfo Class Reference

#include "Target/NVPTX/NVPTXMachineFunctionInfo.h"

Inheritance diagram for llvm::NVPTXMachineFunctionInfo:
Inheritance graph
[legend]
Collaboration diagram for llvm::NVPTXMachineFunctionInfo:
Collaboration graph
[legend]

Public Member Functions

 NVPTXMachineFunctionInfo (MachineFunction &MF)
 
unsigned getImageHandleSymbolIndex (const char *Symbol)
 Returns the index for the symbol Symbol. More...
 
const chargetImageHandleSymbol (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...
 

Detailed Description

Definition at line 21 of file NVPTXMachineFunctionInfo.h.

Constructor & Destructor Documentation

◆ NVPTXMachineFunctionInfo()

llvm::NVPTXMachineFunctionInfo::NVPTXMachineFunctionInfo ( MachineFunction MF)
inline

Definition at line 28 of file NVPTXMachineFunctionInfo.h.

Member Function Documentation

◆ getImageHandleSymbol()

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 assert(), and llvm::SmallVectorTemplateCommon< T, typename >::size().

Referenced by llvm::NVPTXAsmPrinter::emitLineNumberAsDotLoc().

◆ getImageHandleSymbolIndex()

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().


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