LLVM  3.7.0
Public Member Functions | List of all members
llvm::NVPTXSubtarget Class Reference

#include <NVPTXSubtarget.h>

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

Public Member Functions

 NVPTXSubtarget (const Triple &TT, const std::string &CPU, const std::string &FS, const NVPTXTargetMachine &TM)
 This constructor initializes the data members to match that of the specified module. More...
 
const TargetFrameLoweringgetFrameLowering () const override
 
const NVPTXInstrInfogetInstrInfo () 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
 
unsigned int getSmVersion () 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 Triple TT,
const std::string &  CPU,
const std::string &  FS,
const NVPTXTargetMachine TM 
)

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

Definition at line 46 of file NVPTXSubtarget.cpp.

Member Function Documentation

const TargetFrameLowering* llvm::NVPTXSubtarget::getFrameLowering ( ) const
inlineoverride

Definition at line 58 of file NVPTXSubtarget.h.

const NVPTXInstrInfo* llvm::NVPTXSubtarget::getInstrInfo ( ) const
inlineoverride

Definition at line 61 of file NVPTXSubtarget.h.

unsigned llvm::NVPTXSubtarget::getPTXVersion ( ) const
inline

Definition at line 100 of file NVPTXSubtarget.h.

const NVPTXRegisterInfo* llvm::NVPTXSubtarget::getRegisterInfo ( ) const
inlineoverride
const TargetSelectionDAGInfo* llvm::NVPTXSubtarget::getSelectionDAGInfo ( ) const
inlineoverride

Definition at line 68 of file NVPTXSubtarget.h.

unsigned int llvm::NVPTXSubtarget::getSmVersion ( ) const
inline
const NVPTXTargetLowering* llvm::NVPTXSubtarget::getTargetLowering ( ) const
inlineoverride
std::string llvm::NVPTXSubtarget::getTargetName ( ) const
inline

Definition at line 98 of file NVPTXSubtarget.h.

bool llvm::NVPTXSubtarget::hasAtomAddF32 ( ) const
inline

Definition at line 79 of file NVPTXSubtarget.h.

bool llvm::NVPTXSubtarget::hasAtomRedG32 ( ) const
inline

Definition at line 73 of file NVPTXSubtarget.h.

bool llvm::NVPTXSubtarget::hasAtomRedG64 ( ) const
inline

Definition at line 75 of file NVPTXSubtarget.h.

bool llvm::NVPTXSubtarget::hasAtomRedGen32 ( ) const
inline

Definition at line 77 of file NVPTXSubtarget.h.

bool llvm::NVPTXSubtarget::hasAtomRedGen64 ( ) const
inline

Definition at line 78 of file NVPTXSubtarget.h.

bool llvm::NVPTXSubtarget::hasAtomRedS32 ( ) const
inline

Definition at line 74 of file NVPTXSubtarget.h.

bool llvm::NVPTXSubtarget::hasAtomRedS64 ( ) const
inline

Definition at line 76 of file NVPTXSubtarget.h.

bool llvm::NVPTXSubtarget::hasBrkPt ( ) const
inline

Definition at line 72 of file NVPTXSubtarget.h.

bool llvm::NVPTXSubtarget::hasDouble ( ) const
inline

Definition at line 81 of file NVPTXSubtarget.h.

bool llvm::NVPTXSubtarget::hasF32FTZ ( ) const
inline

Definition at line 83 of file NVPTXSubtarget.h.

bool llvm::NVPTXSubtarget::hasFMAF32 ( ) const
inline

Definition at line 84 of file NVPTXSubtarget.h.

bool llvm::NVPTXSubtarget::hasFMAF64 ( ) const
inline

Definition at line 85 of file NVPTXSubtarget.h.

bool llvm::NVPTXSubtarget::hasGenericLdSt ( ) const
inline

Definition at line 88 of file NVPTXSubtarget.h.

bool llvm::NVPTXSubtarget::hasHWROT32 ( ) const
inline

Definition at line 89 of file NVPTXSubtarget.h.

Referenced by hasROT32().

bool NVPTXSubtarget::hasImageHandles ( ) const
bool llvm::NVPTXSubtarget::hasLDG ( ) const
inline

Definition at line 86 of file NVPTXSubtarget.h.

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

Definition at line 87 of file NVPTXSubtarget.h.

bool llvm::NVPTXSubtarget::hasROT32 ( ) const
inline

Definition at line 93 of file NVPTXSubtarget.h.

References hasHWROT32(), and hasSWROT32().

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

bool llvm::NVPTXSubtarget::hasROT64 ( ) const
inline

Definition at line 94 of file NVPTXSubtarget.h.

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

bool llvm::NVPTXSubtarget::hasSWROT32 ( ) const
inline

Definition at line 90 of file NVPTXSubtarget.h.

Referenced by hasROT32().

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

Definition at line 80 of file NVPTXSubtarget.h.

NVPTXSubtarget & NVPTXSubtarget::initializeSubtargetDependencies ( StringRef  CPU,
StringRef  FS 
)
void llvm::NVPTXSubtarget::ParseSubtargetFeatures ( StringRef  CPU,
StringRef  FS 
)
bool llvm::NVPTXSubtarget::reqPTX20 ( ) const
inline

Definition at line 82 of file NVPTXSubtarget.h.


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