LLVM API Documentation

Public Member Functions
llvm::NVPTXSubtarget Class Reference

#include <NVPTXSubtarget.h>

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

List of all members.

Public Member Functions

 NVPTXSubtarget (const std::string &TT, const std::string &CPU, const std::string &FS, const TargetMachine &TM, bool is64Bit)
const TargetFrameLoweringgetFrameLowering () const override
const NVPTXInstrInfogetInstrInfo () const override
const DataLayoutgetDataLayout () const override
const NVPTXRegisterInfogetRegisterInfo () const override
const NVPTXTargetLoweringgetTargetLowering () const override
const TargetSelectionDAGInfogetSelectionDAGInfo () const override
bool hasBrkPt () const
bool hasAtomRedG32 () const
bool hasAtomRedS32 () const
bool hasAtomRedG64 () const
bool hasAtomRedS64 () const
bool hasAtomRedGen32 () const
bool hasAtomRedGen64 () const
bool hasAtomAddF32 () const
bool hasVote () const
bool hasDouble () const
bool reqPTX20 () const
bool hasF32FTZ () const
bool hasFMAF32 () const
bool hasFMAF64 () const
bool hasLDG () const
bool hasLDU () const
bool hasGenericLdSt () const
bool hasHWROT32 () const
bool hasSWROT32 () const
bool hasROT32 () const
bool hasROT64 () const
bool hasImageHandles () const
bool is64Bit () const
unsigned int getSmVersion () const
NVPTX::DrvInterface getDrvInterface () const
std::string getTargetName () const
unsigned getPTXVersion () const
NVPTXSubtargetinitializeSubtargetDependencies (StringRef CPU, StringRef FS)
void ParseSubtargetFeatures (StringRef CPU, StringRef FS)

Detailed Description

Definition at line 32 of file NVPTXSubtarget.h.


Constructor & Destructor Documentation

NVPTXSubtarget::NVPTXSubtarget ( const std::string &  TT,
const std::string &  CPU,
const std::string &  FS,
const TargetMachine TM,
bool  is64Bit 
)

This constructor initializes the data members to match that of the specified module.

Definition at line 56 of file NVPTXSubtarget.cpp.

References llvm::NVPTX::CUDA, llvm::Triple::getOS(), llvm::NVPTX::NVCL, and T.


Member Function Documentation

const DataLayout* llvm::NVPTXSubtarget::getDataLayout ( ) const [inline, override]

Definition at line 64 of file NVPTXSubtarget.h.

Definition at line 111 of file NVPTXSubtarget.h.

Referenced by hasImageHandles().

Definition at line 60 of file NVPTXSubtarget.h.

Definition at line 63 of file NVPTXSubtarget.h.

Definition at line 114 of file NVPTXSubtarget.h.

Definition at line 65 of file NVPTXSubtarget.h.

References llvm::NVPTXInstrInfo::getRegisterInfo().

Definition at line 71 of file NVPTXSubtarget.h.

Definition at line 68 of file NVPTXSubtarget.h.

Referenced by llvm::NVPTXTargetLowering::LowerCall().

std::string llvm::NVPTXSubtarget::getTargetName ( ) const [inline]

Definition at line 112 of file NVPTXSubtarget.h.

Definition at line 82 of file NVPTXSubtarget.h.

Definition at line 76 of file NVPTXSubtarget.h.

Definition at line 78 of file NVPTXSubtarget.h.

Definition at line 80 of file NVPTXSubtarget.h.

Definition at line 81 of file NVPTXSubtarget.h.

Definition at line 77 of file NVPTXSubtarget.h.

Definition at line 79 of file NVPTXSubtarget.h.

Definition at line 75 of file NVPTXSubtarget.h.

Definition at line 84 of file NVPTXSubtarget.h.

Definition at line 86 of file NVPTXSubtarget.h.

Definition at line 87 of file NVPTXSubtarget.h.

Definition at line 88 of file NVPTXSubtarget.h.

Definition at line 91 of file NVPTXSubtarget.h.

Definition at line 92 of file NVPTXSubtarget.h.

Referenced by hasROT32().

Definition at line 99 of file NVPTXSubtarget.h.

References llvm::NVPTX::CUDA, and getDrvInterface().

bool llvm::NVPTXSubtarget::hasLDG ( ) const [inline]

Definition at line 89 of file NVPTXSubtarget.h.

bool llvm::NVPTXSubtarget::hasLDU ( ) const [inline]

Definition at line 90 of file NVPTXSubtarget.h.

Definition at line 96 of file NVPTXSubtarget.h.

References hasHWROT32(), and hasSWROT32().

Referenced by llvm::NVPTXTargetLowering::NVPTXTargetLowering().

Definition at line 97 of file NVPTXSubtarget.h.

Referenced by llvm::NVPTXTargetLowering::NVPTXTargetLowering().

Definition at line 93 of file NVPTXSubtarget.h.

Referenced by hasROT32().

bool llvm::NVPTXSubtarget::hasVote ( ) const [inline]

Definition at line 83 of file NVPTXSubtarget.h.

bool llvm::NVPTXSubtarget::is64Bit ( ) const [inline]

Definition at line 108 of file NVPTXSubtarget.h.

Definition at line 85 of file NVPTXSubtarget.h.


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