22#define CONTAINER_PART(PartName) .Case(#PartName, PartType::PartName)
24#include "llvm/BinaryFormat/DXContainerConstants.def"
25 .
Default(dxbc::PartType::Unknown);
29 static uint8_t Zeros[16] = {0};
33#define COMPONENT_PRECISION(Val, Enum) {#Enum, SigMinPrecision::Enum},
36#include "llvm/BinaryFormat/DXContainerConstants.def"
43#define D3D_SYSTEM_VALUE(Val, Enum) {#Enum, D3DSystemValue::Enum},
46#include "llvm/BinaryFormat/DXContainerConstants.def"
53#define COMPONENT_TYPE(Val, Enum) {#Enum, SigComponentType::Enum},
56#include "llvm/BinaryFormat/DXContainerConstants.def"
63#define SEMANTIC_KIND(Val, Enum) {#Enum, PSV::SemanticKind::Enum},
66#include "llvm/BinaryFormat/DXContainerConstants.def"
73#define COMPONENT_TYPE(Val, Enum) {#Enum, PSV::ComponentType::Enum},
76#include "llvm/BinaryFormat/DXContainerConstants.def"
83#define INTERPOLATION_MODE(Val, Enum) {#Enum, PSV::InterpolationMode::Enum},
86#include "llvm/BinaryFormat/DXContainerConstants.def"
Merge contiguous icmps into a memcmp
This file implements the StringSwitch template, which mimics a switch() statement whose cases are str...
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory),...
StringRef - Represent a constant reference to a string, i.e.
A switch()-like statement whose cases are string literals.
ArrayRef< EnumEntry< ComponentType > > getComponentTypes()
ArrayRef< EnumEntry< SemanticKind > > getSemanticKinds()
ArrayRef< EnumEntry< InterpolationMode > > getInterpolationModes()
PartType parsePartType(StringRef S)
ArrayRef< EnumEntry< SigComponentType > > getSigComponentTypes()
ArrayRef< EnumEntry< SigMinPrecision > > getSigMinPrecisions()
ArrayRef< EnumEntry< D3DSystemValue > > getD3DSystemValues()
This is an optimization pass for GlobalISel generic memory operations.