LLVM 24.0.0git
SemanticSignatures.h File Reference
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/BitmaskEnum.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/BinaryFormat/DXContainer.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/DXILABI.h"
#include "llvm/Support/Error.h"
#include "llvm/TargetParser/Triple.h"
#include <cassert>
#include <cstdint>

Go to the source code of this file.

Classes

struct  llvm::hlsl::SemanticStageInfo
struct  llvm::hlsl::SemanticSignatureElement

Namespaces

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

Enumerations

enum class  llvm::hlsl::IOType {
  llvm::hlsl::In = 0b001 , llvm::hlsl::Out = 0b010 , llvm::hlsl::InOut = 0b011 , llvm::hlsl::PatchConstantOrPrimitive = 0b100 ,
  llvm::hlsl::All = 0b111 , llvm::hlsl::LLVM_MARK_AS_BITMASK_ENUM =(PatchConstantOrPrimitive)
}
enum class  llvm::hlsl::InterpolationModifier : uint32_t {
  llvm::hlsl::None = 0 , llvm::hlsl::NoInterpolation = 1 << 0 , llvm::hlsl::Linear = 1 << 1 , llvm::hlsl::NoPerspective = 1 << 2 ,
  llvm::hlsl::Center = 1 << 3 , llvm::hlsl::Centroid = 1 << 4 , llvm::hlsl::Sample = 1 << 5 , llvm::hlsl::LLVM_MARK_AS_BITMASK_ENUM =(Sample)
}
enum class  llvm::hlsl::SPIRVInterfaceDecoration : uint32_t { llvm::hlsl::BuiltIn = 11 , llvm::hlsl::Location = 30 }
enum class  llvm::hlsl::SPIRVInterpolationMode : uint32_t { llvm::hlsl::NoPerspective = 13 , llvm::hlsl::Flat = 14 , llvm::hlsl::Centroid = 16 , llvm::hlsl::Sample = 17 }
enum class  llvm::hlsl::SemanticInterpretation {
  llvm::hlsl::Invalid , llvm::hlsl::NotAllocated , llvm::hlsl::NotPacked , llvm::hlsl::Arbitrary ,
  llvm::hlsl::SV , llvm::hlsl::SGV , llvm::hlsl::ClipCull , llvm::hlsl::TessFactor ,
  llvm::hlsl::Target
}
enum class  llvm::hlsl::InterpolationMode

Functions

 llvm::hlsl::LLVM_ENABLE_BITMASK_ENUMS_IN_NAMESPACE ()
LLVM_ABI InterpolationModifier llvm::hlsl::getInterpolationSamplingLocation (InterpolationModifier Modifiers)
LLVM_ABI dxbc::PSV::InterpolationMode llvm::hlsl::getInterpolationMode (InterpolationModifier Modifiers)
LLVM_ABI dxbc::PSV::InterpolationMode llvm::hlsl::normalizeInterpolationMode (dxbc::PSV::InterpolationMode Mode, dxil::ElementType CompType, dxbc::PSV::SemanticKind Kind, Triple::EnvironmentType Stage, IOType IO)
LLVM_ABI dxbc::PSV::SemanticKind llvm::hlsl::getSemanticKind (StringRef SemanticName)
LLVM_ABI ArrayRef< SemanticStageInfo > llvm::hlsl::getAvailableStages (dxbc::PSV::SemanticKind SemanticKind)
LLVM_ABI SemanticInterpretation llvm::hlsl::getInterpretationKind (dxbc::PSV::SemanticKind SemanticKind, Triple::EnvironmentType ShaderStage, IOType IOTy)

Variables

static constexpr uint32_t llvm::hlsl::UnallocatedRow = ~0U
static constexpr uint8_t llvm::hlsl::UnallocatedCol = 0xFF