Vixen
02b45cc4
csharp
public abstract class IrType

A type in the target-independent IR. Deliberately much smaller than TypeSymbol: it holds only what every GPU target can represent, so a backend can switch on Kind exhaustively and anything unrepresentable is rejected during lowering rather than in the emitter.

No guide page documents this yet — the page shows what the code says about itself.

Fields and properties (9)

  • public abstract IrTypeKind Kind
  • public abstract string Name

    Stable, target-neutral spelling used by the IR dump.

  • public bool IsVoid
  • public bool IsScalar
  • public bool IsInteger

    Whether this is an integer scalar of either width and either signedness.

  • public bool IsUnsigned

    Whether this scalar is unsigned, which decides half of SPIR-V's integer opcodes.

  • public bool Is64Bit

    Whether this scalar is 64 bits wide: eight bytes of layout, and a capability.

  • public bool IsNumeric

    Scalar, vector or matrix — the types arithmetic applies to.

  • public IrScalarType ComponentType

    The scalar each lane holds; the type itself when it is scalar.

Methods (1)

  • public override string ToString()

Used by (48, showing 40)

  • CompiledLibraryTestsVixen.Raven.Tests
  • FunctionVerifierVixen.Raven
  • GlslEmitterVixen.Raven
  • GlslIntrinsicsVixen.Raven
  • GlslTypesVixen.Raven
  • ImportPrunerVixen.Raven
  • IrAccelerationStructureTypeVixen.Raven
  • IrAccessVixen.Raven
  • IrArgumentVixen.Raven
  • IrArrayTypeVixen.Raven
  • IrBindingVixen.Raven
  • IrCapabilitiesVixen.Raven
  • IrFieldVixen.Raven
  • IrFieldAccessVixen.Raven
  • IrFunctionVixen.Raven
  • IrIndexAccessVixen.Raven
  • IrMatrixTypeVixen.Raven
  • IrPermutationVixen.Raven
  • IrPlaceVixen.Raven
  • IrPrinterVixen.Raven
  • IrSamplerTypeVixen.Raven
  • IrScalarTypeVixen.Raven
  • IrSharedVariableVixen.Raven
  • IrStageIoVixen.Raven
  • IrStorageImageTypeVixen.Raven
  • IrStreamVixen.Raven
  • IrStructTypeVixen.Raven
  • IrSwizzleAccessVixen.Raven
  • IrTextureTypeVixen.Raven
  • IrValueVixen.Raven
  • IrValueParameterVixen.Raven
  • IrVariableVixen.Raven
  • IrVectorTypeVixen.Raven
  • LibraryIrDecoderVixen.Raven
  • LibraryIrEncoderVixen.Raven
  • LowererVixen.Raven
  • LoweringTestsVixen.Raven.Tests
  • MonomorphisationTestsVixen.Raven.Tests
  • ReflectionBuilderVixen.Raven
  • SampledTextureTestsVixen.Raven.Tests