LLVM  15.0.0git
Classes | Typedefs | Enumerations | Functions
llvm::SPIRV Namespace Reference

Classes

struct  ModuleAnalysisInfo
 

Typedefs

using InstrList = SmallVector< MachineInstr * >
 
using LocalToGlobalRegTable = std::map< Register, Register >
 
using RegisterAliasMapTy = std::map< const MachineFunction *, LocalToGlobalRegTable >
 

Enumerations

enum  Capability : uint32_t {
  Capability::Matrix = 0, Capability::Shader = 1, Capability::Geometry = 2, Capability::Tessellation = 3,
  Capability::Addresses = 4, Capability::Linkage = 5, Capability::Kernel = 6, Capability::Vector16 = 7,
  Capability::Float16Buffer = 8, Capability::Float16 = 9, Capability::Float64 = 10, Capability::Int64 = 11,
  Capability::Int64Atomics = 12, Capability::ImageBasic = 13, Capability::ImageReadWrite = 14, Capability::ImageMipmap = 15,
  Capability::Pipes = 17, Capability::Groups = 18, Capability::DeviceEnqueue = 19, Capability::LiteralSampler = 20,
  Capability::AtomicStorage = 21, Capability::Int16 = 22, Capability::TessellationPointSize = 23, Capability::GeometryPointSize = 24,
  Capability::ImageGatherExtended = 25, Capability::StorageImageMultisample = 27, Capability::UniformBufferArrayDynamicIndexing = 28, Capability::SampledImageArrayDymnamicIndexing = 29,
  Capability::ClipDistance = 32, Capability::CullDistance = 33, Capability::ImageCubeArray = 34, Capability::SampleRateShading = 35,
  Capability::ImageRect = 36, Capability::SampledRect = 37, Capability::GenericPointer = 38, Capability::Int8 = 39,
  Capability::InputAttachment = 40, Capability::SparseResidency = 41, Capability::MinLod = 42, Capability::Sampled1D = 43,
  Capability::Image1D = 44, Capability::SampledCubeArray = 45, Capability::SampledBuffer = 46, Capability::ImageBuffer = 47,
  Capability::ImageMSArray = 48, Capability::StorageImageExtendedFormats = 49, Capability::ImageQuery = 50, Capability::DerivativeControl = 51,
  Capability::InterpolationFunction = 52, Capability::TransformFeedback = 53, Capability::GeometryStreams = 54, Capability::StorageImageReadWithoutFormat = 55,
  Capability::StorageImageWriteWithoutFormat = 56, Capability::MultiViewport = 57, Capability::SubgroupDispatch = 58, Capability::NamedBarrier = 59,
  Capability::PipeStorage = 60, Capability::GroupNonUniform = 61, Capability::GroupNonUniformVote = 62, Capability::GroupNonUniformArithmetic = 63,
  Capability::GroupNonUniformBallot = 64, Capability::GroupNonUniformShuffle = 65, Capability::GroupNonUniformShuffleRelative = 66, Capability::GroupNonUniformClustered = 67,
  Capability::GroupNonUniformQuad = 68, Capability::SubgroupBallotKHR = 4423, Capability::DrawParameters = 4427, Capability::SubgroupVoteKHR = 4431,
  Capability::StorageBuffer16BitAccess = 4433, Capability::StorageUniform16 = 4434, Capability::StoragePushConstant16 = 4435, Capability::StorageInputOutput16 = 4436,
  Capability::DeviceGroup = 4437, Capability::MultiView = 4439, Capability::VariablePointersStorageBuffer = 4441, Capability::VariablePointers = 4442,
  Capability::AtomicStorageOps = 4445, Capability::SampleMaskPostDepthCoverage = 4447, Capability::StorageBuffer8BitAccess = 4448, Capability::UniformAndStorageBuffer8BitAccess = 4449,
  Capability::StoragePushConstant8 = 4450, Capability::DenormPreserve = 4464, Capability::DenormFlushToZero = 4465, Capability::SignedZeroInfNanPreserve = 4466,
  Capability::RoundingModeRTE = 4467, Capability::RoundingModeRTZ = 4468, Capability::Float16ImageAMD = 5008, Capability::ImageGatherBiasLodAMD = 5009,
  Capability::FragmentMaskAMD = 5010, Capability::StencilExportEXT = 5013, Capability::ImageReadWriteLodAMD = 5015, Capability::SampleMaskOverrideCoverageNV = 5249,
  Capability::GeometryShaderPassthroughNV = 5251, Capability::ShaderViewportIndexLayerEXT = 5254, Capability::ShaderViewportMaskNV = 5255, Capability::ShaderStereoViewNV = 5259,
  Capability::PerViewAttributesNV = 5260, Capability::FragmentFullyCoveredEXT = 5265, Capability::MeshShadingNV = 5266, Capability::ShaderNonUniformEXT = 5301,
  Capability::RuntimeDescriptorArrayEXT = 5302, Capability::InputAttachmentArrayDynamicIndexingEXT = 5303, Capability::UniformTexelBufferArrayDynamicIndexingEXT = 5304, Capability::StorageTexelBufferArrayDynamicIndexingEXT = 5305,
  Capability::UniformBufferArrayNonUniformIndexingEXT = 5306, Capability::SampledImageArrayNonUniformIndexingEXT = 5307, Capability::StorageBufferArrayNonUniformIndexingEXT = 5308, Capability::StorageImageArrayNonUniformIndexingEXT = 5309,
  Capability::InputAttachmentArrayNonUniformIndexingEXT = 5310, Capability::UniformTexelBufferArrayNonUniformIndexingEXT = 5311, Capability::StorageTexelBufferArrayNonUniformIndexingEXT = 5312, Capability::RayTracingNV = 5340,
  Capability::SubgroupShuffleINTEL = 5568, Capability::SubgroupBufferBlockIOINTEL = 5569, Capability::SubgroupImageBlockIOINTEL = 5570, Capability::SubgroupImageMediaBlockIOINTEL = 5579,
  Capability::SubgroupAvcMotionEstimationINTEL = 5696, Capability::SubgroupAvcMotionEstimationIntraINTEL = 5697, Capability::SubgroupAvcMotionEstimationChromaINTEL = 5698, Capability::GroupNonUniformPartitionedNV = 5297,
  Capability::VulkanMemoryModelKHR = 5345, Capability::VulkanMemoryModelDeviceScopeKHR = 5346, Capability::ImageFootprintNV = 5282, Capability::FragmentBarycentricNV = 5284,
  Capability::ComputeDerivativeGroupQuadsNV = 5288, Capability::ComputeDerivativeGroupLinearNV = 5350, Capability::FragmentDensityEXT = 5291, Capability::PhysicalStorageBufferAddressesEXT = 5347,
  Capability::CooperativeMatrixNV = 5357
}
 
enum  SourceLanguage : uint32_t {
  SourceLanguage::Unknown = 0, SourceLanguage::ESSL = 1, SourceLanguage::GLSL = 2, SourceLanguage::OpenCL_C = 3,
  SourceLanguage::OpenCL_CPP = 4, SourceLanguage::HLSL = 5
}
 
enum  AddressingModel : uint32_t { AddressingModel::Logical = 0, AddressingModel::Physical32 = 1, AddressingModel::Physical64 = 2, AddressingModel::PhysicalStorageBuffer64EXT = 5348 }
 
enum  ExecutionModel : uint32_t {
  ExecutionModel::Vertex = 0, ExecutionModel::TessellationControl = 1, ExecutionModel::TessellationEvaluation = 2, ExecutionModel::Geometry = 3,
  ExecutionModel::Fragment = 4, ExecutionModel::GLCompute = 5, ExecutionModel::Kernel = 6, ExecutionModel::TaskNV = 5267,
  ExecutionModel::MeshNV = 5268, ExecutionModel::RayGenerationNV = 5313, ExecutionModel::IntersectionNV = 5314, ExecutionModel::AnyHitNV = 5315,
  ExecutionModel::ClosestHitNV = 5316, ExecutionModel::MissNV = 5317, ExecutionModel::CallableNV = 5318
}
 
enum  MemoryModel : uint32_t { MemoryModel::Simple = 0, MemoryModel::GLSL450 = 1, MemoryModel::OpenCL = 2, MemoryModel::VulkanKHR = 3 }
 
enum  ExecutionMode : uint32_t {
  ExecutionMode::Invocations = 0, ExecutionMode::SpacingEqual = 1, ExecutionMode::SpacingFractionalEven = 2, ExecutionMode::SpacingFractionalOdd = 3,
  ExecutionMode::VertexOrderCw = 4, ExecutionMode::VertexOrderCcw = 5, ExecutionMode::PixelCenterInteger = 6, ExecutionMode::OriginUpperLeft = 7,
  ExecutionMode::OriginLowerLeft = 8, ExecutionMode::EarlyFragmentTests = 9, ExecutionMode::PointMode = 10, ExecutionMode::Xfb = 11,
  ExecutionMode::DepthReplacing = 12, ExecutionMode::DepthGreater = 14, ExecutionMode::DepthLess = 15, ExecutionMode::DepthUnchanged = 16,
  ExecutionMode::LocalSize = 17, ExecutionMode::LocalSizeHint = 18, ExecutionMode::InputPoints = 19, ExecutionMode::InputLines = 20,
  ExecutionMode::InputLinesAdjacency = 21, ExecutionMode::Triangles = 22, ExecutionMode::InputTrianglesAdjacency = 23, ExecutionMode::Quads = 24,
  ExecutionMode::Isolines = 25, ExecutionMode::OutputVertices = 26, ExecutionMode::OutputPoints = 27, ExecutionMode::OutputLineStrip = 28,
  ExecutionMode::OutputTriangleStrip = 29, ExecutionMode::VecTypeHint = 30, ExecutionMode::ContractionOff = 31, ExecutionMode::Initializer = 33,
  ExecutionMode::Finalizer = 34, ExecutionMode::SubgroupSize = 35, ExecutionMode::SubgroupsPerWorkgroup = 36, ExecutionMode::SubgroupsPerWorkgroupId = 37,
  ExecutionMode::LocalSizeId = 38, ExecutionMode::LocalSizeHintId = 39, ExecutionMode::PostDepthCoverage = 4446, ExecutionMode::DenormPreserve = 4459,
  ExecutionMode::DenormFlushToZero = 4460, ExecutionMode::SignedZeroInfNanPreserve = 4461, ExecutionMode::RoundingModeRTE = 4462, ExecutionMode::RoundingModeRTZ = 4463,
  ExecutionMode::StencilRefReplacingEXT = 5027, ExecutionMode::OutputLinesNV = 5269, ExecutionMode::DerivativeGroupQuadsNV = 5289, ExecutionMode::DerivativeGroupLinearNV = 5290,
  ExecutionMode::OutputTrianglesNV = 5298
}
 
enum  StorageClass : uint32_t {
  StorageClass::UniformConstant = 0, StorageClass::Input = 1, StorageClass::Uniform = 2, StorageClass::Output = 3,
  StorageClass::Workgroup = 4, StorageClass::CrossWorkgroup = 5, StorageClass::Private = 6, StorageClass::Function = 7,
  StorageClass::Generic = 8, StorageClass::PushConstant = 9, StorageClass::AtomicCounter = 10, StorageClass::Image = 11,
  StorageClass::StorageBuffer = 12, StorageClass::CallableDataNV = 5328, StorageClass::IncomingCallableDataNV = 5329, StorageClass::RayPayloadNV = 5338,
  StorageClass::HitAttributeNV = 5339, StorageClass::IncomingRayPayloadNV = 5342, StorageClass::ShaderRecordBufferNV = 5343, StorageClass::PhysicalStorageBufferEXT = 5349
}
 
enum  Dim : uint32_t {
  Dim::DIM_1D = 0, Dim::DIM_2D = 1, Dim::DIM_3D = 2, Dim::DIM_Cube = 3,
  Dim::DIM_Rect = 4, Dim::DIM_Buffer = 5, Dim::DIM_SubpassData = 6
}
 
enum  SamplerAddressingMode : uint32_t {
  SamplerAddressingMode::None = 0, SamplerAddressingMode::ClampToEdge = 1, SamplerAddressingMode::Clamp = 2, SamplerAddressingMode::Repeat = 3,
  SamplerAddressingMode::RepeatMirrored = 4
}
 
enum  SamplerFilterMode : uint32_t { SamplerFilterMode::Nearest = 0, SamplerFilterMode::Linear = 1 }
 
enum  ImageFormat : uint32_t {
  ImageFormat::Unknown = 0, ImageFormat::Rgba32f = 1, ImageFormat::Rgba16f = 2, ImageFormat::R32f = 3,
  ImageFormat::Rgba8 = 4, ImageFormat::Rgba8Snorm = 5, ImageFormat::Rg32f = 6, ImageFormat::Rg16f = 7,
  ImageFormat::R11fG11fB10f = 8, ImageFormat::R16f = 9, ImageFormat::Rgba16 = 10, ImageFormat::Rgb10A2 = 11,
  ImageFormat::Rg16 = 12, ImageFormat::Rg8 = 13, ImageFormat::R16 = 14, ImageFormat::R8 = 15,
  ImageFormat::Rgba16Snorm = 16, ImageFormat::Rg16Snorm = 17, ImageFormat::Rg8Snorm = 18, ImageFormat::R16Snorm = 19,
  ImageFormat::R8Snorm = 20, ImageFormat::Rgba32i = 21, ImageFormat::Rgba16i = 22, ImageFormat::Rgba8i = 23,
  ImageFormat::R32i = 24, ImageFormat::Rg32i = 25, ImageFormat::Rg16i = 26, ImageFormat::Rg8i = 27,
  ImageFormat::R16i = 28, ImageFormat::R8i = 29, ImageFormat::Rgba32ui = 30, ImageFormat::Rgba16ui = 31,
  ImageFormat::Rgba8ui = 32, ImageFormat::R32ui = 33, ImageFormat::Rgb10a2ui = 34, ImageFormat::Rg32ui = 35,
  ImageFormat::Rg16ui = 36, ImageFormat::Rg8ui = 37, ImageFormat::R16ui = 38, ImageFormat::R8ui = 39
}
 
enum  ImageChannelOrder : uint32_t {
  ImageChannelOrder::R = 0, ImageChannelOrder::A = 1, ImageChannelOrder::RG = 2, ImageChannelOrder::RA = 3,
  ImageChannelOrder::RGB = 4, ImageChannelOrder::RGBA = 5, ImageChannelOrder::BGRA = 6, ImageChannelOrder::ARGB = 7,
  ImageChannelOrder::Intensity = 8, ImageChannelOrder::Luminance = 9, ImageChannelOrder::Rx = 10, ImageChannelOrder::RGx = 11,
  ImageChannelOrder::RGBx = 12, ImageChannelOrder::Depth = 13, ImageChannelOrder::DepthStencil = 14, ImageChannelOrder::sRGB = 15,
  ImageChannelOrder::sRGBx = 16, ImageChannelOrder::sRGBA = 17, ImageChannelOrder::sBGRA = 18, ImageChannelOrder::ABGR = 19
}
 
enum  ImageChannelDataType : uint32_t {
  ImageChannelDataType::SnormInt8 = 0, ImageChannelDataType::SnormInt16 = 1, ImageChannelDataType::UnormInt8 = 2, ImageChannelDataType::UnormInt16 = 3,
  ImageChannelDataType::UnormShort565 = 4, ImageChannelDataType::UnormShort555 = 5, ImageChannelDataType::UnormInt101010 = 6, ImageChannelDataType::SignedInt8 = 7,
  ImageChannelDataType::SignedInt16 = 8, ImageChannelDataType::SignedInt32 = 9, ImageChannelDataType::UnsignedInt8 = 10, ImageChannelDataType::UnsignedInt16 = 11,
  ImageChannelDataType::UnsigendInt32 = 12, ImageChannelDataType::HalfFloat = 13, ImageChannelDataType::Float = 14, ImageChannelDataType::UnormInt24 = 15,
  ImageChannelDataType::UnormInt101010_2 = 16
}
 
enum  ImageOperand : uint32_t {
  ImageOperand::None = 0x0, ImageOperand::Bias = 0x1, ImageOperand::Lod = 0x2, ImageOperand::Grad = 0x4,
  ImageOperand::ConstOffset = 0x8, ImageOperand::Offset = 0x10, ImageOperand::ConstOffsets = 0x20, ImageOperand::Sample = 0x40,
  ImageOperand::MinLod = 0x80, ImageOperand::MakeTexelAvailableKHR = 0x100, ImageOperand::MakeTexelVisibleKHR = 0x200, ImageOperand::NonPrivateTexelKHR = 0x400,
  ImageOperand::VolatileTexelKHR = 0x800, ImageOperand::SignExtend = 0x1000, ImageOperand::ZeroExtend = 0x2000
}
 
enum  FPFastMathMode : uint32_t {
  FPFastMathMode::None = 0x0, FPFastMathMode::NotNaN = 0x1, FPFastMathMode::NotInf = 0x2, FPFastMathMode::NSZ = 0x4,
  FPFastMathMode::AllowRecip = 0x8, FPFastMathMode::Fast = 0x10
}
 
enum  FPRoundingMode : uint32_t { FPRoundingMode::RTE = 0, FPRoundingMode::RTZ = 1, FPRoundingMode::RTP = 2, FPRoundingMode::RTN = 3 }
 
enum  LinkageType : uint32_t { LinkageType::Export = 0, LinkageType::Import = 1 }
 
enum  AccessQualifier : uint32_t { AccessQualifier::ReadOnly = 0, AccessQualifier::WriteOnly = 1, AccessQualifier::ReadWrite = 2 }
 
enum  FunctionParameterAttribute : uint32_t {
  FunctionParameterAttribute::Zext = 0, FunctionParameterAttribute::Sext = 1, FunctionParameterAttribute::ByVal = 2, FunctionParameterAttribute::Sret = 3,
  FunctionParameterAttribute::NoAlias = 4, FunctionParameterAttribute::NoCapture = 5, FunctionParameterAttribute::NoWrite = 6, FunctionParameterAttribute::NoReadWrite = 7
}
 
enum  Decoration : uint32_t {
  Decoration::RelaxedPrecision = 0, Decoration::SpecId = 1, Decoration::Block = 2, Decoration::BufferBlock = 3,
  Decoration::RowMajor = 4, Decoration::ColMajor = 5, Decoration::ArrayStride = 6, Decoration::MatrixStride = 7,
  Decoration::GLSLShared = 8, Decoration::GLSLPacked = 9, Decoration::CPacked = 10, Decoration::BuiltIn = 11,
  Decoration::NoPerspective = 13, Decoration::Flat = 14, Decoration::Patch = 15, Decoration::Centroid = 16,
  Decoration::Sample = 17, Decoration::Invariant = 18, Decoration::Restrict = 19, Decoration::Aliased = 20,
  Decoration::Volatile = 21, Decoration::Constant = 22, Decoration::Coherent = 23, Decoration::NonWritable = 24,
  Decoration::NonReadable = 25, Decoration::Uniform = 26, Decoration::UniformId = 27, Decoration::SaturatedConversion = 28,
  Decoration::Stream = 29, Decoration::Location = 30, Decoration::Component = 31, Decoration::Index = 32,
  Decoration::Binding = 33, Decoration::DescriptorSet = 34, Decoration::Offset = 35, Decoration::XfbBuffer = 36,
  Decoration::XfbStride = 37, Decoration::FuncParamAttr = 38, Decoration::FPRoundingMode = 39, Decoration::FPFastMathMode = 40,
  Decoration::LinkageAttributes = 41, Decoration::NoContraction = 42, Decoration::InputAttachmentIndex = 43, Decoration::Alignment = 44,
  Decoration::MaxByteOffset = 45, Decoration::AlignmentId = 46, Decoration::MaxByteOffsetId = 47, Decoration::NoSignedWrap = 4469,
  Decoration::NoUnsignedWrap = 4470, Decoration::ExplicitInterpAMD = 4999, Decoration::OverrideCoverageNV = 5248, Decoration::PassthroughNV = 5250,
  Decoration::ViewportRelativeNV = 5252, Decoration::SecondaryViewportRelativeNV = 5256, Decoration::PerPrimitiveNV = 5271, Decoration::PerViewNV = 5272,
  Decoration::PerVertexNV = 5273, Decoration::NonUniformEXT = 5300, Decoration::CountBuffer = 5634, Decoration::UserSemantic = 5635,
  Decoration::RestrictPointerEXT = 5355, Decoration::AliasedPointerEXT = 5356
}
 
enum  BuiltIn : uint32_t {
  BuiltIn::Position = 0, BuiltIn::PointSize = 1, BuiltIn::ClipDistance = 3, BuiltIn::CullDistance = 4,
  BuiltIn::VertexId = 5, BuiltIn::InstanceId = 6, BuiltIn::PrimitiveId = 7, BuiltIn::InvocationId = 8,
  BuiltIn::Layer = 9, BuiltIn::ViewportIndex = 10, BuiltIn::TessLevelOuter = 11, BuiltIn::TessLevelInner = 12,
  BuiltIn::TessCoord = 13, BuiltIn::PatchVertices = 14, BuiltIn::FragCoord = 15, BuiltIn::PointCoord = 16,
  BuiltIn::FrontFacing = 17, BuiltIn::SampleId = 18, BuiltIn::SamplePosition = 19, BuiltIn::SampleMask = 20,
  BuiltIn::FragDepth = 22, BuiltIn::HelperInvocation = 23, BuiltIn::NumWorkgroups = 24, BuiltIn::WorkgroupSize = 25,
  BuiltIn::WorkgroupId = 26, BuiltIn::LocalInvocationId = 27, BuiltIn::GlobalInvocationId = 28, BuiltIn::LocalInvocationIndex = 29,
  BuiltIn::WorkDim = 30, BuiltIn::GlobalSize = 31, BuiltIn::EnqueuedWorkgroupSize = 32, BuiltIn::GlobalOffset = 33,
  BuiltIn::GlobalLinearId = 34, BuiltIn::SubgroupSize = 36, BuiltIn::SubgroupMaxSize = 37, BuiltIn::NumSubgroups = 38,
  BuiltIn::NumEnqueuedSubgroups = 39, BuiltIn::SubgroupId = 40, BuiltIn::SubgroupLocalInvocationId = 41, BuiltIn::VertexIndex = 42,
  BuiltIn::InstanceIndex = 43, BuiltIn::SubgroupEqMask = 4416, BuiltIn::SubgroupGeMask = 4417, BuiltIn::SubgroupGtMask = 4418,
  BuiltIn::SubgroupLeMask = 4419, BuiltIn::SubgroupLtMask = 4420, BuiltIn::BaseVertex = 4424, BuiltIn::BaseInstance = 4425,
  BuiltIn::DrawIndex = 4426, BuiltIn::DeviceIndex = 4438, BuiltIn::ViewIndex = 4440, BuiltIn::BaryCoordNoPerspAMD = 4492,
  BuiltIn::BaryCoordNoPerspCentroidAMD = 4493, BuiltIn::BaryCoordNoPerspSampleAMD = 4494, BuiltIn::BaryCoordSmoothAMD = 4495, BuiltIn::BaryCoordSmoothCentroid = 4496,
  BuiltIn::BaryCoordSmoothSample = 4497, BuiltIn::BaryCoordPullModel = 4498, BuiltIn::FragStencilRefEXT = 5014, BuiltIn::ViewportMaskNV = 5253,
  BuiltIn::SecondaryPositionNV = 5257, BuiltIn::SecondaryViewportMaskNV = 5258, BuiltIn::PositionPerViewNV = 5261, BuiltIn::ViewportMaskPerViewNV = 5262,
  BuiltIn::FullyCoveredEXT = 5264, BuiltIn::TaskCountNV = 5274, BuiltIn::PrimitiveCountNV = 5275, BuiltIn::PrimitiveIndicesNV = 5276,
  BuiltIn::ClipDistancePerViewNV = 5277, BuiltIn::CullDistancePerViewNV = 5278, BuiltIn::LayerPerViewNV = 5279, BuiltIn::MeshViewCountNV = 5280,
  BuiltIn::MeshViewIndices = 5281, BuiltIn::BaryCoordNV = 5286, BuiltIn::BaryCoordNoPerspNV = 5287, BuiltIn::FragSizeEXT = 5292,
  BuiltIn::FragInvocationCountEXT = 5293, BuiltIn::LaunchIdNV = 5319, BuiltIn::LaunchSizeNV = 5320, BuiltIn::WorldRayOriginNV = 5321,
  BuiltIn::WorldRayDirectionNV = 5322, BuiltIn::ObjectRayOriginNV = 5323, BuiltIn::ObjectRayDirectionNV = 5324, BuiltIn::RayTminNV = 5325,
  BuiltIn::RayTmaxNV = 5326, BuiltIn::InstanceCustomIndexNV = 5327, BuiltIn::ObjectToWorldNV = 5330, BuiltIn::WorldToObjectNV = 5331,
  BuiltIn::HitTNV = 5332, BuiltIn::HitKindNV = 5333, BuiltIn::IncomingRayFlagsNV = 5351
}
 
enum  SelectionControl : uint32_t { SelectionControl::None = 0x0, SelectionControl::Flatten = 0x1, SelectionControl::DontFlatten = 0x2 }
 
enum  LoopControl : uint32_t {
  LoopControl::None = 0x0, LoopControl::Unroll = 0x1, LoopControl::DontUnroll = 0x2, LoopControl::DependencyInfinite = 0x4,
  LoopControl::DependencyLength = 0x8, LoopControl::MinIterations = 0x10, LoopControl::MaxIterations = 0x20, LoopControl::IterationMultiple = 0x40,
  LoopControl::PeelCount = 0x80, LoopControl::PartialCount = 0x100
}
 
enum  FunctionControl : uint32_t {
  FunctionControl::None = 0x0, FunctionControl::Inline = 0x1, FunctionControl::DontInline = 0x2, FunctionControl::Pure = 0x4,
  FunctionControl::Const = 0x8
}
 
enum  MemorySemantics : uint32_t {
  MemorySemantics::None = 0x0, MemorySemantics::Acquire = 0x2, MemorySemantics::Release = 0x4, MemorySemantics::AcquireRelease = 0x8,
  MemorySemantics::SequentiallyConsistent = 0x10, MemorySemantics::UniformMemory = 0x40, MemorySemantics::SubgroupMemory = 0x80, MemorySemantics::WorkgroupMemory = 0x100,
  MemorySemantics::CrossWorkgroupMemory = 0x200, MemorySemantics::AtomicCounterMemory = 0x400, MemorySemantics::ImageMemory = 0x800, MemorySemantics::OutputMemoryKHR = 0x1000,
  MemorySemantics::MakeAvailableKHR = 0x2000, MemorySemantics::MakeVisibleKHR = 0x4000
}
 
enum  MemoryOperand : uint32_t {
  MemoryOperand::None = 0x0, MemoryOperand::Volatile = 0x1, MemoryOperand::Aligned = 0x2, MemoryOperand::Nontemporal = 0x4,
  MemoryOperand::MakePointerAvailableKHR = 0x8, MemoryOperand::MakePointerVisibleKHR = 0x10, MemoryOperand::NonPrivatePointerKHR = 0x20
}
 
enum  Scope : uint32_t {
  Scope::CrossDevice = 0, Scope::Device = 1, Scope::Workgroup = 2, Scope::Subgroup = 3,
  Scope::Invocation = 4, Scope::QueueFamilyKHR = 5
}
 
enum  GroupOperation : uint32_t {
  GroupOperation::Reduce = 0, GroupOperation::InclusiveScan = 1, GroupOperation::ExclusiveScan = 2, GroupOperation::ClusteredReduce = 3,
  GroupOperation::PartitionedReduceNV = 6, GroupOperation::PartitionedInclusiveScanNV = 7, GroupOperation::PartitionedExclusiveScanNV = 8
}
 
enum  KernelEnqueueFlags : uint32_t { KernelEnqueueFlags::NoWait = 0, KernelEnqueueFlags::WaitKernel = 1, KernelEnqueueFlags::WaitWorkGroup = 2 }
 
enum  KernelProfilingInfo : uint32_t { KernelProfilingInfo::None = 0x0, KernelProfilingInfo::CmdExecTime = 0x1 }
 
enum  ModuleSectionType {
  MB_EntryPoints, MB_DebugNames, MB_DebugModuleProcessed, MB_Annotations,
  MB_TypeConstVars, MB_ExtFuncDecls, NUM_MODULE_SECTIONS
}
 

Functions

StringRef getCapabilityName (Capability e)
 
StringRef getSourceLanguageName (SourceLanguage e)
 
StringRef getExecutionModelName (ExecutionModel e)
 
StringRef getAddressingModelName (AddressingModel e)
 
StringRef getMemoryModelName (MemoryModel e)
 
StringRef getExecutionModeName (ExecutionMode e)
 
StringRef getStorageClassName (StorageClass e)
 
StringRef getDimName (Dim dim)
 
StringRef getSamplerAddressingModeName (SamplerAddressingMode e)
 
StringRef getSamplerFilterModeName (SamplerFilterMode e)
 
StringRef getImageFormatName (ImageFormat e)
 
StringRef getImageChannelOrderName (ImageChannelOrder e)
 
StringRef getImageChannelDataTypeName (ImageChannelDataType e)
 
std::string getImageOperandName (uint32_t e)
 
std::string getFPFastMathModeName (uint32_t e)
 
StringRef getFPRoundingModeName (FPRoundingMode e)
 
StringRef getLinkageTypeName (LinkageType e)
 
StringRef getAccessQualifierName (AccessQualifier e)
 
StringRef getFunctionParameterAttributeName (FunctionParameterAttribute e)
 
StringRef getDecorationName (Decoration e)
 
StringRef getBuiltInName (BuiltIn e)
 
std::string getSelectionControlName (uint32_t e)
 
std::string getLoopControlName (uint32_t e)
 
std::string getFunctionControlName (uint32_t e)
 
std::string getMemorySemanticsName (uint32_t e)
 
std::string getMemoryOperandName (uint32_t e)
 
StringRef getScopeName (Scope e)
 
StringRef getGroupOperationName (GroupOperation e)
 
StringRef getKernelEnqueueFlagsName (KernelEnqueueFlags e)
 
StringRef getKernelProfilingInfoName (KernelProfilingInfo e)
 

Typedef Documentation

◆ InstrList

Definition at line 41 of file SPIRVModuleAnalysis.h.

◆ LocalToGlobalRegTable

Definition at line 43 of file SPIRVModuleAnalysis.h.

◆ RegisterAliasMapTy

Definition at line 45 of file SPIRVModuleAnalysis.h.

Enumeration Type Documentation

◆ AccessQualifier

Enumerator
ReadOnly 
WriteOnly 
ReadWrite 

Definition at line 437 of file SPIRVBaseInfo.h.

◆ AddressingModel

Enumerator
Logical 
Physical32 
Physical64 
PhysicalStorageBuffer64EXT 

Definition at line 167 of file SPIRVBaseInfo.h.

◆ BuiltIn

Enumerator
Position 
PointSize 
ClipDistance 
CullDistance 
VertexId 
InstanceId 
PrimitiveId 
InvocationId 
Layer 
ViewportIndex 
TessLevelOuter 
TessLevelInner 
TessCoord 
PatchVertices 
FragCoord 
PointCoord 
FrontFacing 
SampleId 
SamplePosition 
SampleMask 
FragDepth 
HelperInvocation 
NumWorkgroups 
WorkgroupSize 
WorkgroupId 
LocalInvocationId 
GlobalInvocationId 
LocalInvocationIndex 
WorkDim 
GlobalSize 
EnqueuedWorkgroupSize 
GlobalOffset 
GlobalLinearId 
SubgroupSize 
SubgroupMaxSize 
NumSubgroups 
NumEnqueuedSubgroups 
SubgroupId 
SubgroupLocalInvocationId 
VertexIndex 
InstanceIndex 
SubgroupEqMask 
SubgroupGeMask 
SubgroupGtMask 
SubgroupLeMask 
SubgroupLtMask 
BaseVertex 
BaseInstance 
DrawIndex 
DeviceIndex 
ViewIndex 
BaryCoordNoPerspAMD 
BaryCoordNoPerspCentroidAMD 
BaryCoordNoPerspSampleAMD 
BaryCoordSmoothAMD 
BaryCoordSmoothCentroid 
BaryCoordSmoothSample 
BaryCoordPullModel 
FragStencilRefEXT 
ViewportMaskNV 
SecondaryPositionNV 
SecondaryViewportMaskNV 
PositionPerViewNV 
ViewportMaskPerViewNV 
FullyCoveredEXT 
TaskCountNV 
PrimitiveCountNV 
PrimitiveIndicesNV 
ClipDistancePerViewNV 
CullDistancePerViewNV 
LayerPerViewNV 
MeshViewCountNV 
MeshViewIndices 
BaryCoordNV 
BaryCoordNoPerspNV 
FragSizeEXT 
FragInvocationCountEXT 
LaunchIdNV 
LaunchSizeNV 
WorldRayOriginNV 
WorldRayDirectionNV 
ObjectRayOriginNV 
ObjectRayDirectionNV 
RayTminNV 
RayTmaxNV 
InstanceCustomIndexNV 
ObjectToWorldNV 
WorldToObjectNV 
HitTNV 
HitKindNV 
IncomingRayFlagsNV 

Definition at line 522 of file SPIRVBaseInfo.h.

◆ Capability

Enumerator
Matrix 
Shader 
Geometry 
Tessellation 
Addresses 
Linkage 
Kernel 
Vector16 
Float16Buffer 
Float16 
Float64 
Int64 
Int64Atomics 
ImageBasic 
ImageReadWrite 
ImageMipmap 
Pipes 
Groups 
DeviceEnqueue 
LiteralSampler 
AtomicStorage 
Int16 
TessellationPointSize 
GeometryPointSize 
ImageGatherExtended 
StorageImageMultisample 
UniformBufferArrayDynamicIndexing 
SampledImageArrayDymnamicIndexing 
ClipDistance 
CullDistance 
ImageCubeArray 
SampleRateShading 
ImageRect 
SampledRect 
GenericPointer 
Int8 
InputAttachment 
SparseResidency 
MinLod 
Sampled1D 
Image1D 
SampledCubeArray 
SampledBuffer 
ImageBuffer 
ImageMSArray 
StorageImageExtendedFormats 
ImageQuery 
DerivativeControl 
InterpolationFunction 
TransformFeedback 
GeometryStreams 
StorageImageReadWithoutFormat 
StorageImageWriteWithoutFormat 
MultiViewport 
SubgroupDispatch 
NamedBarrier 
PipeStorage 
GroupNonUniform 
GroupNonUniformVote 
GroupNonUniformArithmetic 
GroupNonUniformBallot 
GroupNonUniformShuffle 
GroupNonUniformShuffleRelative 
GroupNonUniformClustered 
GroupNonUniformQuad 
SubgroupBallotKHR 
DrawParameters 
SubgroupVoteKHR 
StorageBuffer16BitAccess 
StorageUniform16 
StoragePushConstant16 
StorageInputOutput16 
DeviceGroup 
MultiView 
VariablePointersStorageBuffer 
VariablePointers 
AtomicStorageOps 
SampleMaskPostDepthCoverage 
StorageBuffer8BitAccess 
UniformAndStorageBuffer8BitAccess 
StoragePushConstant8 
DenormPreserve 
DenormFlushToZero 
SignedZeroInfNanPreserve 
RoundingModeRTE 
RoundingModeRTZ 
Float16ImageAMD 
ImageGatherBiasLodAMD 
FragmentMaskAMD 
StencilExportEXT 
ImageReadWriteLodAMD 
SampleMaskOverrideCoverageNV 
GeometryShaderPassthroughNV 
ShaderViewportIndexLayerEXT 
ShaderViewportMaskNV 
ShaderStereoViewNV 
PerViewAttributesNV 
FragmentFullyCoveredEXT 
MeshShadingNV 
ShaderNonUniformEXT 
RuntimeDescriptorArrayEXT 
InputAttachmentArrayDynamicIndexingEXT 
UniformTexelBufferArrayDynamicIndexingEXT 
StorageTexelBufferArrayDynamicIndexingEXT 
UniformBufferArrayNonUniformIndexingEXT 
SampledImageArrayNonUniformIndexingEXT 
StorageBufferArrayNonUniformIndexingEXT 
StorageImageArrayNonUniformIndexingEXT 
InputAttachmentArrayNonUniformIndexingEXT 
UniformTexelBufferArrayNonUniformIndexingEXT 
StorageTexelBufferArrayNonUniformIndexingEXT 
RayTracingNV 
SubgroupShuffleINTEL 
SubgroupBufferBlockIOINTEL 
SubgroupImageBlockIOINTEL 
SubgroupImageMediaBlockIOINTEL 
SubgroupAvcMotionEstimationINTEL 
SubgroupAvcMotionEstimationIntraINTEL 
SubgroupAvcMotionEstimationChromaINTEL 
GroupNonUniformPartitionedNV 
VulkanMemoryModelKHR 
VulkanMemoryModelDeviceScopeKHR 
ImageFootprintNV 
FragmentBarycentricNV 
ComputeDerivativeGroupQuadsNV 
ComputeDerivativeGroupLinearNV 
FragmentDensityEXT 
PhysicalStorageBufferAddressesEXT 
CooperativeMatrixNV 

Definition at line 24 of file SPIRVBaseInfo.h.

◆ Decoration

Enumerator
RelaxedPrecision 
SpecId 
Block 
BufferBlock 
RowMajor 
ColMajor 
ArrayStride 
MatrixStride 
GLSLShared 
GLSLPacked 
CPacked 
BuiltIn 
NoPerspective 
Flat 
Patch 
Centroid 
Sample 
Invariant 
Restrict 
Aliased 
Volatile 
Constant 
Coherent 
NonWritable 
NonReadable 
Uniform 
UniformId 
SaturatedConversion 
Stream 
Location 
Component 
Index 
Binding 
DescriptorSet 
Offset 
XfbBuffer 
XfbStride 
FuncParamAttr 
FPRoundingMode 
FPFastMathMode 
LinkageAttributes 
NoContraction 
InputAttachmentIndex 
Alignment 
MaxByteOffset 
AlignmentId 
MaxByteOffsetId 
NoSignedWrap 
NoUnsignedWrap 
ExplicitInterpAMD 
OverrideCoverageNV 
PassthroughNV 
ViewportRelativeNV 
SecondaryViewportRelativeNV 
PerPrimitiveNV 
PerViewNV 
PerVertexNV 
NonUniformEXT 
CountBuffer 
UserSemantic 
RestrictPointerEXT 
AliasedPointerEXT 

Definition at line 456 of file SPIRVBaseInfo.h.

◆ Dim

enum llvm::SPIRV::Dim : uint32_t
strong
Enumerator
DIM_1D 
DIM_2D 
DIM_3D 
DIM_Cube 
DIM_Rect 
DIM_Buffer 
DIM_SubpassData 

Definition at line 279 of file SPIRVBaseInfo.h.

◆ ExecutionMode

Enumerator
Invocations 
SpacingEqual 
SpacingFractionalEven 
SpacingFractionalOdd 
VertexOrderCw 
VertexOrderCcw 
PixelCenterInteger 
OriginUpperLeft 
OriginLowerLeft 
EarlyFragmentTests 
PointMode 
Xfb 
DepthReplacing 
DepthGreater 
DepthLess 
DepthUnchanged 
LocalSize 
LocalSizeHint 
InputPoints 
InputLines 
InputLinesAdjacency 
Triangles 
InputTrianglesAdjacency 
Quads 
Isolines 
OutputVertices 
OutputPoints 
OutputLineStrip 
OutputTriangleStrip 
VecTypeHint 
ContractionOff 
Initializer 
Finalizer 
SubgroupSize 
SubgroupsPerWorkgroup 
SubgroupsPerWorkgroupId 
LocalSizeId 
LocalSizeHintId 
PostDepthCoverage 
DenormPreserve 
DenormFlushToZero 
SignedZeroInfNanPreserve 
RoundingModeRTE 
RoundingModeRTZ 
StencilRefReplacingEXT 
OutputLinesNV 
DerivativeGroupQuadsNV 
DerivativeGroupLinearNV 
OutputTrianglesNV 

Definition at line 202 of file SPIRVBaseInfo.h.

◆ ExecutionModel

Enumerator
Vertex 
TessellationControl 
TessellationEvaluation 
Geometry 
Fragment 
GLCompute 
Kernel 
TaskNV 
MeshNV 
RayGenerationNV 
IntersectionNV 
AnyHitNV 
ClosestHitNV 
MissNV 
CallableNV 

Definition at line 175 of file SPIRVBaseInfo.h.

◆ FPFastMathMode

Enumerator
None 
NotNaN 
NotInf 
NSZ 
AllowRecip 
Fast 

Definition at line 413 of file SPIRVBaseInfo.h.

◆ FPRoundingMode

Enumerator
RTE 
RTZ 
RTP 
RTN 

Definition at line 423 of file SPIRVBaseInfo.h.

◆ FunctionControl

Enumerator
None 
Inline 
DontInline 
Pure 
Const 

Definition at line 638 of file SPIRVBaseInfo.h.

◆ FunctionParameterAttribute

Enumerator
Zext 
Sext 
ByVal 
Sret 
NoAlias 
NoCapture 
NoWrite 
NoReadWrite 

Definition at line 444 of file SPIRVBaseInfo.h.

◆ GroupOperation

Enumerator
Reduce 
InclusiveScan 
ExclusiveScan 
ClusteredReduce 
PartitionedReduceNV 
PartitionedInclusiveScanNV 
PartitionedExclusiveScanNV 

Definition at line 686 of file SPIRVBaseInfo.h.

◆ ImageChannelDataType

Enumerator
SnormInt8 
SnormInt16 
UnormInt8 
UnormInt16 
UnormShort565 
UnormShort555 
UnormInt101010 
SignedInt8 
SignedInt16 
SignedInt32 
UnsignedInt8 
UnsignedInt16 
UnsigendInt32 
HalfFloat 
Float 
UnormInt24 
UnormInt101010_2 

Definition at line 373 of file SPIRVBaseInfo.h.

◆ ImageChannelOrder

Enumerator
RG 
RA 
RGB 
RGBA 
BGRA 
ARGB 
Intensity 
Luminance 
Rx 
RGx 
RGBx 
Depth 
DepthStencil 
sRGB 
sRGBx 
sRGBA 
sBGRA 
ABGR 

Definition at line 349 of file SPIRVBaseInfo.h.

◆ ImageFormat

Enumerator
Unknown 
Rgba32f 
Rgba16f 
R32f 
Rgba8 
Rgba8Snorm 
Rg32f 
Rg16f 
R11fG11fB10f 
R16f 
Rgba16 
Rgb10A2 
Rg16 
Rg8 
R16 
R8 
Rgba16Snorm 
Rg16Snorm 
Rg8Snorm 
R16Snorm 
R8Snorm 
Rgba32i 
Rgba16i 
Rgba8i 
R32i 
Rg32i 
Rg16i 
Rg8i 
R16i 
R8i 
Rgba32ui 
Rgba16ui 
Rgba8ui 
R32ui 
Rgb10a2ui 
Rg32ui 
Rg16ui 
Rg8ui 
R16ui 
R8ui 

Definition at line 305 of file SPIRVBaseInfo.h.

◆ ImageOperand

Enumerator
None 
Bias 
Lod 
Grad 
ConstOffset 
Offset 
ConstOffsets 
Sample 
MinLod 
MakeTexelAvailableKHR 
MakeTexelVisibleKHR 
NonPrivateTexelKHR 
VolatileTexelKHR 
SignExtend 
ZeroExtend 

Definition at line 394 of file SPIRVBaseInfo.h.

◆ KernelEnqueueFlags

Enumerator
NoWait 
WaitKernel 
WaitWorkGroup 

Definition at line 697 of file SPIRVBaseInfo.h.

◆ KernelProfilingInfo

Enumerator
None 
CmdExecTime 

Definition at line 704 of file SPIRVBaseInfo.h.

◆ LinkageType

Enumerator
Export 
Import 

Definition at line 431 of file SPIRVBaseInfo.h.

◆ LoopControl

Enumerator
None 
Unroll 
DontUnroll 
DependencyInfinite 
DependencyLength 
MinIterations 
MaxIterations 
IterationMultiple 
PeelCount 
PartialCount 

Definition at line 624 of file SPIRVBaseInfo.h.

◆ MemoryModel

Enumerator
Simple 
GLSL450 
OpenCL 
VulkanKHR 

Definition at line 194 of file SPIRVBaseInfo.h.

◆ MemoryOperand

Enumerator
None 
Volatile 
Aligned 
Nontemporal 
MakePointerAvailableKHR 
MakePointerVisibleKHR 
NonPrivatePointerKHR 

Definition at line 665 of file SPIRVBaseInfo.h.

◆ MemorySemantics

Enumerator
None 
Acquire 
Release 
AcquireRelease 
SequentiallyConsistent 
UniformMemory 
SubgroupMemory 
WorkgroupMemory 
CrossWorkgroupMemory 
AtomicCounterMemory 
ImageMemory 
OutputMemoryKHR 
MakeAvailableKHR 
MakeVisibleKHR 

Definition at line 647 of file SPIRVBaseInfo.h.

◆ ModuleSectionType

Enumerator
MB_EntryPoints 
MB_DebugNames 
MB_DebugModuleProcessed 
MB_Annotations 
MB_TypeConstVars 
MB_ExtFuncDecls 
NUM_MODULE_SECTIONS 

Definition at line 29 of file SPIRVModuleAnalysis.h.

◆ SamplerAddressingMode

Enumerator
None 
ClampToEdge 
Clamp 
Repeat 
RepeatMirrored 

Definition at line 290 of file SPIRVBaseInfo.h.

◆ SamplerFilterMode

Enumerator
Nearest 
Linear 

Definition at line 299 of file SPIRVBaseInfo.h.

◆ Scope

Enumerator
CrossDevice 
Device 
Workgroup 
Subgroup 
Invocation 
QueueFamilyKHR 

Definition at line 676 of file SPIRVBaseInfo.h.

◆ SelectionControl

Enumerator
None 
Flatten 
DontFlatten 

Definition at line 617 of file SPIRVBaseInfo.h.

◆ SourceLanguage

Enumerator
Unknown 
ESSL 
GLSL 
OpenCL_C 
OpenCL_CPP 
HLSL 

Definition at line 157 of file SPIRVBaseInfo.h.

◆ StorageClass

Enumerator
UniformConstant 
Input 
Uniform 
Output 
Workgroup 
CrossWorkgroup 
Private 
Function 
Generic 
PushConstant 
AtomicCounter 
Image 
StorageBuffer 
CallableDataNV 
IncomingCallableDataNV 
RayPayloadNV 
HitAttributeNV 
IncomingRayPayloadNV 
ShaderRecordBufferNV 
PhysicalStorageBufferEXT 

Definition at line 255 of file SPIRVBaseInfo.h.

Function Documentation

◆ getAccessQualifierName()

StringRef llvm::SPIRV::getAccessQualifierName ( AccessQualifier  e)

Definition at line 590 of file SPIRVBaseInfo.cpp.

References CASE, llvm::numbers::e, and llvm_unreachable.

Referenced by llvm::SPIRVInstPrinter::printAccessQualifier().

◆ getAddressingModelName()

StringRef llvm::SPIRV::getAddressingModelName ( AddressingModel  e)

◆ getBuiltInName()

StringRef llvm::SPIRV::getBuiltInName ( BuiltIn  e)

Definition at line 684 of file SPIRVBaseInfo.cpp.

References BaryCoordNoPerspAMD, BaryCoordNoPerspCentroidAMD, BaryCoordNoPerspNV, BaryCoordNoPerspSampleAMD, BaryCoordNV, BaryCoordPullModel, BaryCoordSmoothAMD, BaryCoordSmoothCentroid, BaryCoordSmoothSample, BaseInstance, BaseVertex, CASE, ClipDistance, ClipDistancePerViewNV, CullDistance, CullDistancePerViewNV, DeviceIndex, DrawIndex, llvm::numbers::e, EnqueuedWorkgroupSize, FragCoord, FragDepth, FragInvocationCountEXT, FragSizeEXT, FragStencilRefEXT, FrontFacing, FullyCoveredEXT, GlobalInvocationId, GlobalLinearId, GlobalOffset, GlobalSize, HelperInvocation, HitKindNV, HitTNV, IncomingRayFlagsNV, InstanceCustomIndexNV, InstanceId, InstanceIndex, InvocationId, LaunchIdNV, LaunchSizeNV, Layer, LayerPerViewNV, llvm_unreachable, LocalInvocationId, LocalInvocationIndex, MeshViewCountNV, MeshViewIndices, NumEnqueuedSubgroups, NumSubgroups, NumWorkgroups, ObjectRayDirectionNV, ObjectRayOriginNV, ObjectToWorldNV, PatchVertices, PointCoord, PointSize, PositionPerViewNV, PrimitiveCountNV, PrimitiveId, PrimitiveIndicesNV, RayTmaxNV, RayTminNV, SampleId, SampleMask, SamplePosition, SecondaryPositionNV, SecondaryViewportMaskNV, SubgroupEqMask, SubgroupGeMask, SubgroupGtMask, SubgroupId, SubgroupLeMask, SubgroupLocalInvocationId, SubgroupLtMask, SubgroupMaxSize, SubgroupSize, TaskCountNV, TessCoord, TessLevelInner, TessLevelOuter, VertexId, VertexIndex, ViewIndex, ViewportIndex, ViewportMaskNV, ViewportMaskPerViewNV, WorkDim, WorkgroupId, WorkgroupSize, WorldRayDirectionNV, WorldRayOriginNV, and WorldToObjectNV.

Referenced by llvm::SPIRVInstPrinter::printBuiltIn().

◆ getCapabilityName()

StringRef llvm::SPIRV::getCapabilityName ( Capability  e)

Definition at line 31 of file SPIRVBaseInfo.cpp.

References Addresses, AtomicStorage, AtomicStorageOps, CASE, ClipDistance, ComputeDerivativeGroupLinearNV, ComputeDerivativeGroupQuadsNV, CooperativeMatrixNV, CullDistance, DenormFlushToZero, DenormPreserve, DerivativeControl, DeviceEnqueue, DeviceGroup, DrawParameters, llvm::numbers::e, Float16Buffer, Float16ImageAMD, FragmentBarycentricNV, FragmentDensityEXT, FragmentFullyCoveredEXT, FragmentMaskAMD, GenericPointer, Geometry, GeometryPointSize, GeometryShaderPassthroughNV, GeometryStreams, GroupNonUniform, GroupNonUniformArithmetic, GroupNonUniformBallot, GroupNonUniformClustered, GroupNonUniformPartitionedNV, GroupNonUniformQuad, GroupNonUniformShuffle, GroupNonUniformShuffleRelative, GroupNonUniformVote, Groups, Image1D, ImageBasic, ImageBuffer, ImageCubeArray, ImageFootprintNV, ImageGatherBiasLodAMD, ImageGatherExtended, ImageMipmap, ImageMSArray, ImageQuery, ImageReadWrite, ImageReadWriteLodAMD, ImageRect, InputAttachment, InputAttachmentArrayDynamicIndexingEXT, InputAttachmentArrayNonUniformIndexingEXT, Int64Atomics, InterpolationFunction, LiteralSampler, llvm_unreachable, Matrix, MeshShadingNV, MinLod, MultiView, MultiViewport, NamedBarrier, PerViewAttributesNV, PhysicalStorageBufferAddressesEXT, Pipes, PipeStorage, RayTracingNV, RoundingModeRTE, RoundingModeRTZ, RuntimeDescriptorArrayEXT, Sampled1D, SampledBuffer, SampledCubeArray, SampledImageArrayDymnamicIndexing, SampledImageArrayNonUniformIndexingEXT, SampledRect, SampleMaskOverrideCoverageNV, SampleMaskPostDepthCoverage, SampleRateShading, Shader, ShaderNonUniformEXT, ShaderStereoViewNV, ShaderViewportIndexLayerEXT, ShaderViewportMaskNV, SignedZeroInfNanPreserve, SparseResidency, StencilExportEXT, StorageBuffer16BitAccess, StorageBuffer8BitAccess, StorageBufferArrayNonUniformIndexingEXT, StorageImageArrayNonUniformIndexingEXT, StorageImageExtendedFormats, StorageImageMultisample, StorageImageReadWithoutFormat, StorageImageWriteWithoutFormat, StorageInputOutput16, StoragePushConstant16, StoragePushConstant8, StorageTexelBufferArrayDynamicIndexingEXT, StorageTexelBufferArrayNonUniformIndexingEXT, StorageUniform16, SubgroupAvcMotionEstimationChromaINTEL, SubgroupAvcMotionEstimationINTEL, SubgroupAvcMotionEstimationIntraINTEL, SubgroupBallotKHR, SubgroupBufferBlockIOINTEL, SubgroupDispatch, SubgroupImageBlockIOINTEL, SubgroupImageMediaBlockIOINTEL, SubgroupShuffleINTEL, SubgroupVoteKHR, Tessellation, TessellationPointSize, TransformFeedback, UniformAndStorageBuffer8BitAccess, UniformBufferArrayDynamicIndexing, UniformBufferArrayNonUniformIndexingEXT, UniformTexelBufferArrayDynamicIndexingEXT, UniformTexelBufferArrayNonUniformIndexingEXT, VariablePointers, VariablePointersStorageBuffer, Vector16, VulkanMemoryModelDeviceScopeKHR, and VulkanMemoryModelKHR.

Referenced by llvm::SPIRVInstPrinter::printCapability().

◆ getDecorationName()

StringRef llvm::SPIRV::getDecorationName ( Decoration  e)

◆ getDimName()

StringRef llvm::SPIRV::getDimName ( Dim  dim)

Definition at line 307 of file SPIRVBaseInfo.cpp.

References CASE_SUF, D, and llvm_unreachable.

Referenced by llvm::SPIRVInstPrinter::printDim().

◆ getExecutionModelName()

StringRef llvm::SPIRV::getExecutionModelName ( ExecutionModel  e)

◆ getExecutionModeName()

StringRef llvm::SPIRV::getExecutionModeName ( ExecutionMode  e)

◆ getFPFastMathModeName()

std::string llvm::SPIRV::getFPFastMathModeName ( uint32_t  e)

Definition at line 532 of file SPIRVBaseInfo.cpp.

References AllowRecip, llvm::numbers::e, Fast, None, NotInf, NotNaN, and NSZ.

Referenced by llvm::SPIRVInstPrinter::printFPFastMathMode().

◆ getFPRoundingModeName()

StringRef llvm::SPIRV::getFPRoundingModeName ( FPRoundingMode  e)

Definition at line 570 of file SPIRVBaseInfo.cpp.

References CASE, llvm::numbers::e, llvm_unreachable, RTE, RTN, and RTP.

Referenced by llvm::SPIRVInstPrinter::printFPRoundingMode().

◆ getFunctionControlName()

std::string llvm::SPIRV::getFunctionControlName ( uint32_t  e)

Definition at line 864 of file SPIRVBaseInfo.cpp.

References Const, DontInline, llvm::numbers::e, Inline, None, and Pure.

Referenced by llvm::SPIRVInstPrinter::printFunctionControl().

◆ getFunctionParameterAttributeName()

StringRef llvm::SPIRV::getFunctionParameterAttributeName ( FunctionParameterAttribute  e)

◆ getGroupOperationName()

StringRef llvm::SPIRV::getGroupOperationName ( GroupOperation  e)

◆ getImageChannelDataTypeName()

StringRef llvm::SPIRV::getImageChannelDataTypeName ( ImageChannelDataType  e)

◆ getImageChannelOrderName()

StringRef llvm::SPIRV::getImageChannelOrderName ( ImageChannelOrder  e)

◆ getImageFormatName()

StringRef llvm::SPIRV::getImageFormatName ( ImageFormat  e)

◆ getImageOperandName()

std::string llvm::SPIRV::getImageOperandName ( uint32_t  e)

◆ getKernelEnqueueFlagsName()

StringRef llvm::SPIRV::getKernelEnqueueFlagsName ( KernelEnqueueFlags  e)

◆ getKernelProfilingInfoName()

StringRef llvm::SPIRV::getKernelProfilingInfoName ( KernelProfilingInfo  e)

◆ getLinkageTypeName()

StringRef llvm::SPIRV::getLinkageTypeName ( LinkageType  e)

◆ getLoopControlName()

std::string llvm::SPIRV::getLoopControlName ( uint32_t  e)

◆ getMemoryModelName()

StringRef llvm::SPIRV::getMemoryModelName ( MemoryModel  e)

◆ getMemoryOperandName()

std::string llvm::SPIRV::getMemoryOperandName ( uint32_t  e)

◆ getMemorySemanticsName()

std::string llvm::SPIRV::getMemorySemanticsName ( uint32_t  e)

◆ getSamplerAddressingModeName()

StringRef llvm::SPIRV::getSamplerAddressingModeName ( SamplerAddressingMode  e)

◆ getSamplerFilterModeName()

StringRef llvm::SPIRV::getSamplerFilterModeName ( SamplerFilterMode  e)

◆ getScopeName()

StringRef llvm::SPIRV::getScopeName ( Scope  e)

◆ getSelectionControlName()

std::string llvm::SPIRV::getSelectionControlName ( uint32_t  e)

Definition at line 782 of file SPIRVBaseInfo.cpp.

References DontFlatten, llvm::numbers::e, Flatten, and None.

Referenced by llvm::SPIRVInstPrinter::printSelectionControl().

◆ getSourceLanguageName()

StringRef llvm::SPIRV::getSourceLanguageName ( SourceLanguage  e)

◆ getStorageClassName()

StringRef llvm::SPIRV::getStorageClassName ( StorageClass  e)