LLVM  9.0.0svn
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 "llvm/Support/X86TargetParser.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
 This class represents lattice values for constants.
 
 llvm::X86
 Define some predicates that are used for node matching.
 
 llvm::AMDGPU
 

Macros

#define X86_VENDOR(ENUM, STRING)   ENUM,
 
#define X86_CPU_TYPE(ARCHNAME, ENUM)   ENUM,
 
#define X86_CPU_SUBTYPE(ARCHNAME, ENUM)   ENUM,
 
#define X86_FEATURE(VAL, ENUM)   ENUM = VAL,
 

Enumerations

enum  llvm::X86::ProcessorVendors : unsigned { llvm::X86::VENDOR_DUMMY, llvm::X86::VENDOR_OTHER }
 
enum  llvm::X86::ProcessorTypes : unsigned { llvm::X86::CPU_TYPE_DUMMY, llvm::X86::CPU_TYPE_MAX }
 
enum  llvm::X86::ProcessorSubtypes : unsigned { llvm::X86::CPU_SUBTYPE_DUMMY, llvm::X86::CPU_SUBTYPE_MAX }
 
enum  llvm::X86::ProcessorFeatures
 
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_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_GFX801 = 50, llvm::AMDGPU::GK_GFX802 = 51,
  llvm::AMDGPU::GK_GFX803 = 52, llvm::AMDGPU::GK_GFX810 = 53, llvm::AMDGPU::GK_GFX900 = 60, llvm::AMDGPU::GK_GFX902 = 61,
  llvm::AMDGPU::GK_GFX904 = 62, llvm::AMDGPU::GK_GFX906 = 63, llvm::AMDGPU::GK_GFX909 = 65, llvm::AMDGPU::GK_AMDGCN_FIRST = GK_GFX600,
  llvm::AMDGPU::GK_AMDGCN_LAST = GK_GFX909
}
 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
}
 

Functions

StringRef llvm::AMDGPU::getArchNameAMDGCN (GPUKind AK)
 
StringRef llvm::AMDGPU::getArchNameR600 (GPUKind AK)
 
StringRef llvm::AMDGPU::getCanonicalArchName (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)
 

Macro Definition Documentation

◆ X86_CPU_SUBTYPE

#define X86_CPU_SUBTYPE (   ARCHNAME,
  ENUM 
)    ENUM,

Definition at line 60 of file TargetParser.h.

◆ X86_CPU_TYPE

#define X86_CPU_TYPE (   ARCHNAME,
  ENUM 
)    ENUM,

Definition at line 50 of file TargetParser.h.

◆ X86_FEATURE

#define X86_FEATURE (   VAL,
  ENUM 
)    ENUM = VAL,

Definition at line 69 of file TargetParser.h.

◆ X86_VENDOR

#define X86_VENDOR (   ENUM,
  STRING 
)    ENUM,

Definition at line 40 of file TargetParser.h.