LLVM  13.0.0git
Classes | Namespaces | Macros | Enumerations | Functions
TargetParser.h File Reference
#include "llvm/ADT/Triple.h"
#include "llvm/Support/ARMTargetParser.h"
#include "llvm/Support/AArch64TargetParser.h"
#include <vector>
#include "RISCVTargetParser.def"
Include dependency graph for TargetParser.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  llvm::AMDGPU::IsaVersion
 Instruction set architecture version. More...
 

Namespaces

 llvm
 ---------------------— PointerInfo ------------------------------------—
 
 llvm::AMDGPU
 
 llvm::RISCV
 

Macros

#define PROC(ENUM, NAME, FEATURES, DEFAULT_MARCH)   CK_##ENUM,
 

Enumerations

enum  llvm::AMDGPU::GPUKind : uint32_t {
  llvm::AMDGPU::GK_NONE = 0, llvm::AMDGPU::GK_R600 = 1, llvm::AMDGPU::GK_R630 = 2, llvm::AMDGPU::GK_RS880 = 3,
  llvm::AMDGPU::GK_RV670 = 4, llvm::AMDGPU::GK_RV710 = 5, llvm::AMDGPU::GK_RV730 = 6, llvm::AMDGPU::GK_RV770 = 7,
  llvm::AMDGPU::GK_CEDAR = 8, llvm::AMDGPU::GK_CYPRESS = 9, llvm::AMDGPU::GK_JUNIPER = 10, llvm::AMDGPU::GK_REDWOOD = 11,
  llvm::AMDGPU::GK_SUMO = 12, llvm::AMDGPU::GK_BARTS = 13, llvm::AMDGPU::GK_CAICOS = 14, llvm::AMDGPU::GK_CAYMAN = 15,
  llvm::AMDGPU::GK_TURKS = 16, llvm::AMDGPU::GK_R600_FIRST = GK_R600, llvm::AMDGPU::GK_R600_LAST = GK_TURKS, llvm::AMDGPU::GK_GFX600 = 32,
  llvm::AMDGPU::GK_GFX601 = 33, llvm::AMDGPU::GK_GFX602 = 34, llvm::AMDGPU::GK_GFX700 = 40, llvm::AMDGPU::GK_GFX701 = 41,
  llvm::AMDGPU::GK_GFX702 = 42, llvm::AMDGPU::GK_GFX703 = 43, llvm::AMDGPU::GK_GFX704 = 44, llvm::AMDGPU::GK_GFX705 = 45,
  llvm::AMDGPU::GK_GFX801 = 50, llvm::AMDGPU::GK_GFX802 = 51, llvm::AMDGPU::GK_GFX803 = 52, llvm::AMDGPU::GK_GFX805 = 53,
  llvm::AMDGPU::GK_GFX810 = 54, llvm::AMDGPU::GK_GFX900 = 60, llvm::AMDGPU::GK_GFX902 = 61, llvm::AMDGPU::GK_GFX904 = 62,
  llvm::AMDGPU::GK_GFX906 = 63, llvm::AMDGPU::GK_GFX908 = 64, llvm::AMDGPU::GK_GFX909 = 65, llvm::AMDGPU::GK_GFX90A = 66,
  llvm::AMDGPU::GK_GFX90C = 67, llvm::AMDGPU::GK_GFX1010 = 71, llvm::AMDGPU::GK_GFX1011 = 72, llvm::AMDGPU::GK_GFX1012 = 73,
  llvm::AMDGPU::GK_GFX1013 = 74, llvm::AMDGPU::GK_GFX1030 = 75, llvm::AMDGPU::GK_GFX1031 = 76, llvm::AMDGPU::GK_GFX1032 = 77,
  llvm::AMDGPU::GK_GFX1033 = 78, llvm::AMDGPU::GK_GFX1034 = 79, llvm::AMDGPU::GK_GFX1035 = 80, llvm::AMDGPU::GK_AMDGCN_FIRST = GK_GFX600,
  llvm::AMDGPU::GK_AMDGCN_LAST = GK_GFX1035
}
 GPU kinds supported by the AMDGPU target. More...
 
enum  llvm::AMDGPU::ArchFeatureKind : uint32_t {
  llvm::AMDGPU::FEATURE_NONE = 0, llvm::AMDGPU::FEATURE_FMA = 1 << 1, llvm::AMDGPU::FEATURE_LDEXP = 1 << 2, llvm::AMDGPU::FEATURE_FP64 = 1 << 3,
  llvm::AMDGPU::FEATURE_FAST_FMA_F32 = 1 << 4, llvm::AMDGPU::FEATURE_FAST_DENORMAL_F32 = 1 << 5, llvm::AMDGPU::FEATURE_WAVE32 = 1 << 6, llvm::AMDGPU::FEATURE_XNACK = 1 << 7,
  llvm::AMDGPU::FEATURE_SRAMECC = 1 << 8
}
 
enum  llvm::RISCV::CPUKind : unsigned
 
enum  llvm::RISCV::FeatureKind : unsigned {
  llvm::RISCV::FK_INVALID = 0, llvm::RISCV::FK_NONE = 1, llvm::RISCV::FK_STDEXTM = 1 << 2, llvm::RISCV::FK_STDEXTA = 1 << 3,
  llvm::RISCV::FK_STDEXTF = 1 << 4, llvm::RISCV::FK_STDEXTD = 1 << 5, llvm::RISCV::FK_STDEXTC = 1 << 6, llvm::RISCV::FK_64BIT = 1 << 7
}
 

Functions

StringRef llvm::AMDGPU::getArchNameAMDGCN (GPUKind AK)
 
StringRef llvm::AMDGPU::getArchNameR600 (GPUKind AK)
 
StringRef llvm::AMDGPU::getCanonicalArchName (const Triple &T, StringRef Arch)
 
GPUKind llvm::AMDGPU::parseArchAMDGCN (StringRef CPU)
 
GPUKind llvm::AMDGPU::parseArchR600 (StringRef CPU)
 
unsigned llvm::AMDGPU::getArchAttrAMDGCN (GPUKind AK)
 
unsigned llvm::AMDGPU::getArchAttrR600 (GPUKind AK)
 
void llvm::AMDGPU::fillValidArchListAMDGCN (SmallVectorImpl< StringRef > &Values)
 
void llvm::AMDGPU::fillValidArchListR600 (SmallVectorImpl< StringRef > &Values)
 
IsaVersion llvm::AMDGPU::getIsaVersion (StringRef GPU)
 
bool llvm::RISCV::checkCPUKind (CPUKind Kind, bool IsRV64)
 
bool llvm::RISCV::checkTuneCPUKind (CPUKind Kind, bool IsRV64)
 
CPUKind llvm::RISCV::parseCPUKind (StringRef CPU)
 
CPUKind llvm::RISCV::parseTuneCPUKind (StringRef CPU, bool IsRV64)
 
StringRef llvm::RISCV::getMArchFromMcpu (StringRef CPU)
 
void llvm::RISCV::fillValidCPUArchList (SmallVectorImpl< StringRef > &Values, bool IsRV64)
 Provide a list of valid CPU names. More...
 
void llvm::RISCV::fillValidTuneCPUArchList (SmallVectorImpl< StringRef > &Values, bool IsRV64)
 
bool llvm::RISCV::getCPUFeaturesExceptStdExt (CPUKind Kind, std::vector< StringRef > &Features)
 
StringRef llvm::RISCV::resolveTuneCPUAlias (StringRef TuneCPU, bool IsRV64)
 

Macro Definition Documentation

◆ PROC

#define PROC (   ENUM,
  NAME,
  FEATURES,
  DEFAULT_MARCH 
)    CK_##ENUM,

Definition at line 153 of file TargetParser.h.