LLVM 24.0.0git
IntelGPUTargetParser.h File Reference
#include "llvm/ADT/STLForwardCompat.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Compiler.h"
#include <cstdint>
#include <string>
#include "llvm/TargetParser/IntelGPUTargetParser.def"

Go to the source code of this file.

Classes

class  llvm::IntelGPU::IGCATarget
 Wrapper around an IGCA target's uint32_t representation, packed using the following format: More...

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
namespace  llvm::IntelGPU

Macros

#define INTEL_GPU(NAME, KIND, MAJOR, MINOR, IGCA_TARGET, IGCA_FEATURE_SETS)
#define INTEL_GPU_COMPAT(NAME, KIND, IGCA_TARGET, IGCA_FEATURE_SETS)

Enumerations

enum  llvm::IntelGPU::GPUKind : uint8_t { llvm::IntelGPU::GK_NONE = 0 }
 Intel GPU architecture names, covering both physical devices and the compatibility names that stand for a whole product line. More...
enum class  llvm::IntelGPU::IGCAFeatureSet : uint8_t {
  llvm::IntelGPU::Core = 0b000 , llvm::IntelGPU::Compute = 0b010 , llvm::IntelGPU::ComputeExact = 0b011 , llvm::IntelGPU::Render = 0b100 ,
  llvm::IntelGPU::RenderExact = 0b101
}
 Represents an IGCA feature set, including whether or not it is exact. More...

Functions

LLVM_ABI StringRef llvm::IntelGPU::getArchName (uint32_t GPUIPVersion)
LLVM_ABI StringRef llvm::IntelGPU::getArchName (GPUKind Kind)
LLVM_ABI std::string llvm::IntelGPU::getNumericArchName (uint32_t GPUIPVersion)
LLVM_ABI GPUKind llvm::IntelGPU::parseArch (StringRef Name)
LLVM_ABI IGCATarget llvm::IntelGPU::parseIGCATarget (StringRef MaybeTarget)
 Parse an IGCA target string such as "igca_20ca".
LLVM_ABI StringRef llvm::IntelGPU::getIGCATargetName (IGCATarget Target)

Macro Definition Documentation

◆ INTEL_GPU

#define INTEL_GPU ( NAME,
KIND,
MAJOR,
MINOR,
IGCA_TARGET,
IGCA_FEATURE_SETS )
Value:
GK_##KIND,
#define KIND(ENUM, FIELD)
Definition LVSupport.h:116

Definition at line 34 of file IntelGPUTargetParser.h.

◆ INTEL_GPU_COMPAT

#define INTEL_GPU_COMPAT ( NAME,
KIND,
IGCA_TARGET,
IGCA_FEATURE_SETS )
Value:
GK_##KIND,

Definition at line 36 of file IntelGPUTargetParser.h.