|
LLVM 23.0.0git
|
#include "Target/AMDGPU/Utils/AMDGPUBaseInfo.h"
Public Member Functions | |
| AMDGPUTargetID (const MCSubtargetInfo &STI) | |
| ~AMDGPUTargetID ()=default | |
| bool | isXnackSupported () const |
| bool | isXnackOnOrAny () const |
| bool | isXnackOnOrOff () const |
| TargetIDSetting | getXnackSetting () const |
| void | setXnackSetting (TargetIDSetting NewXnackSetting) |
Sets xnack setting to NewXnackSetting. | |
| bool | isSramEccSupported () const |
| bool | isSramEccOnOrAny () const |
| bool | isSramEccOnOrOff () const |
| TargetIDSetting | getSramEccSetting () const |
| void | setSramEccSetting (TargetIDSetting NewSramEccSetting) |
Sets sramecc setting to NewSramEccSetting. | |
| void | setTargetIDFromFeaturesString (StringRef FS) |
| void | setTargetIDFromTargetIDStream (StringRef TargetID) |
| void | print (raw_ostream &OS) const |
Write string representation to OS. | |
| std::string | toString () const |
Definition at line 154 of file AMDGPUBaseInfo.h.
|
explicit |
Definition at line 1047 of file AMDGPUBaseInfo.cpp.
References llvm::AMDGPU::IsaInfo::Any, if(), and llvm::AMDGPU::IsaInfo::Unsupported.
|
default |
|
inline |
Definition at line 211 of file AMDGPUBaseInfo.h.
Referenced by isSramEccOnOrOff(), and print().
|
inline |
Definition at line 184 of file AMDGPUBaseInfo.h.
Referenced by isXnackOnOrOff(), and print().
|
inline |
Definition at line 197 of file AMDGPUBaseInfo.h.
References llvm::AMDGPU::IsaInfo::Any, and llvm::AMDGPU::IsaInfo::On.
|
inline |
Definition at line 204 of file AMDGPUBaseInfo.h.
References getSramEccSetting(), llvm::AMDGPU::IsaInfo::Off, and llvm::AMDGPU::IsaInfo::On.
|
inline |
Definition at line 192 of file AMDGPUBaseInfo.h.
References llvm::AMDGPU::IsaInfo::Unsupported.
Referenced by setTargetIDFromFeaturesString().
|
inline |
Definition at line 170 of file AMDGPUBaseInfo.h.
References llvm::AMDGPU::IsaInfo::Any, and llvm::AMDGPU::IsaInfo::On.
Referenced by llvm::AMDGPUAsmPrinter::runOnMachineFunction().
|
inline |
Definition at line 177 of file AMDGPUBaseInfo.h.
References getXnackSetting(), llvm::AMDGPU::IsaInfo::Off, and llvm::AMDGPU::IsaInfo::On.
|
inline |
Definition at line 165 of file AMDGPUBaseInfo.h.
References llvm::AMDGPU::IsaInfo::Unsupported.
Referenced by setTargetIDFromFeaturesString().
| void llvm::AMDGPU::IsaInfo::AMDGPUTargetID::print | ( | raw_ostream & | OS | ) | const |
Write string representation to OS.
Definition at line 1136 of file AMDGPUBaseInfo.cpp.
References llvm::Triple::AMDHSA, llvm::Triple::getArchName(), llvm::Triple::getEnvironmentName(), llvm::AMDGPU::getIsaVersion(), llvm::Triple::getOS(), llvm::Triple::getOSName(), getSramEccSetting(), llvm::Triple::getVendorName(), getXnackSetting(), llvm::AMDGPU::IsaInfo::Off, llvm::AMDGPU::IsaInfo::On, llvm::StringRef::str(), and llvm::Version.
Referenced by llvm::AMDGPU::IsaInfo::operator<<().
|
inline |
Sets sramecc setting to NewSramEccSetting.
Definition at line 214 of file AMDGPUBaseInfo.h.
| void llvm::AMDGPU::IsaInfo::AMDGPUTargetID::setTargetIDFromFeaturesString | ( | StringRef | FS | ) |
Definition at line 1056 of file AMDGPUBaseInfo.cpp.
References llvm::errs(), llvm::SubtargetFeatures::getFeatures(), isSramEccSupported(), isXnackSupported(), llvm::AMDGPU::IsaInfo::Off, and llvm::AMDGPU::IsaInfo::On.
| void llvm::AMDGPU::IsaInfo::AMDGPUTargetID::setTargetIDFromTargetIDStream | ( | StringRef | TargetID | ) |
Definition at line 1124 of file AMDGPUBaseInfo.cpp.
References llvm::AMDGPU::IsaInfo::getTargetIDSettingFromFeatureString(), and llvm::StringRef::split().
|
inline |
Sets xnack setting to NewXnackSetting.
Definition at line 187 of file AMDGPUBaseInfo.h.
| std::string llvm::AMDGPU::IsaInfo::AMDGPUTargetID::toString | ( | ) | const |
Definition at line 1172 of file AMDGPUBaseInfo.cpp.
Referenced by llvm::AMDGPU::HSAMD::MetadataStreamerMsgPackV4::emitTargetID().