LLVM API Documentation
#include <AMDGPUSubtarget.h>
Public Types | |
enum | Generation { R600 = 0, R700, EVERGREEN, NORTHERN_ISLANDS, SOUTHERN_ISLANDS, SEA_ISLANDS } |
Public Member Functions | |
AMDGPUSubtarget (StringRef TT, StringRef CPU, StringRef FS) | |
const InstrItineraryData & | getInstrItineraryData () const |
virtual void | ParseSubtargetFeatures (StringRef CPU, StringRef FS) |
bool | is64bit () const |
bool | hasVertexCache () const |
short | getTexVTXClauseSize () const |
enum Generation | getGeneration () const |
bool | hasHWFP64 () const |
bool | hasCaymanISA () const |
bool | IsIRStructurizerEnabled () const |
bool | isIfCvtEnabled () const |
virtual bool | enableMachineScheduler () const |
bool | isTargetELF () const |
std::string | getDataLayout () const |
std::string | getDeviceName () const |
virtual size_t | getDefaultSize (uint32_t dim) const |
bool | dumpCode () const |
bool | r600ALUEncoding () const |
Definition at line 29 of file AMDGPUSubtarget.h.
Enumerator | |
---|---|
R600 | |
R700 | |
EVERGREEN | |
NORTHERN_ISLANDS | |
SOUTHERN_ISLANDS | |
SEA_ISLANDS |
Definition at line 31 of file AMDGPUSubtarget.h.
Definition at line 24 of file AMDGPUSubtarget.cpp.
References ParseSubtargetFeatures(), and R600.
|
inline |
Definition at line 81 of file AMDGPUSubtarget.h.
Referenced by llvm::AMDGPUAsmPrinter::runOnMachineFunction().
|
inlinevirtual |
Definition at line 72 of file AMDGPUSubtarget.h.
References getGeneration(), and NORTHERN_ISLANDS.
std::string AMDGPUSubtarget::getDataLayout | ( | ) | const |
Definition at line 91 of file AMDGPUSubtarget.cpp.
References hasHWFP64(), is64bit(), and SOUTHERN_ISLANDS.
|
virtual |
Definition at line 82 of file AMDGPUSubtarget.cpp.
std::string AMDGPUSubtarget::getDeviceName | ( | ) | const |
Definition at line 118 of file AMDGPUSubtarget.cpp.
enum AMDGPUSubtarget::Generation AMDGPUSubtarget::getGeneration | ( | ) | const |
|
inline |
Definition at line 60 of file AMDGPUSubtarget.h.
short AMDGPUSubtarget::getTexVTXClauseSize | ( | ) | const |
Definition at line 54 of file AMDGPUSubtarget.cpp.
Referenced by llvm::R600SchedStrategy::initialize().
bool AMDGPUSubtarget::hasCaymanISA | ( | ) | const |
Definition at line 66 of file AMDGPUSubtarget.cpp.
Referenced by llvm::R600InstrInfo::isTransOnly().
bool AMDGPUSubtarget::hasHWFP64 | ( | ) | const |
Definition at line 62 of file AMDGPUSubtarget.cpp.
Referenced by getDataLayout().
bool AMDGPUSubtarget::hasVertexCache | ( | ) | const |
Definition at line 50 of file AMDGPUSubtarget.cpp.
Referenced by llvm::R600InstrInfo::usesTextureCache(), and llvm::R600InstrInfo::usesVertexCache().
bool AMDGPUSubtarget::is64bit | ( | ) | const |
Definition at line 46 of file AMDGPUSubtarget.cpp.
Referenced by getDataLayout().
bool AMDGPUSubtarget::isIfCvtEnabled | ( | ) | const |
Definition at line 74 of file AMDGPUSubtarget.cpp.
bool AMDGPUSubtarget::IsIRStructurizerEnabled | ( | ) | const |
Definition at line 70 of file AMDGPUSubtarget.cpp.
bool AMDGPUSubtarget::isTargetELF | ( | ) | const |
Definition at line 78 of file AMDGPUSubtarget.cpp.
Referenced by AMDGPUSubtarget().
|
inline |
Definition at line 82 of file AMDGPUSubtarget.h.