Vixen
02b45cc4
csharp
public sealed class IrVariable

A named, addressable storage slot. Locals stay in memory in this IR rather than being promoted to SSA registers — the backends want declarations they can name, and a later mem2reg pass can promote them if a target prefers it.

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

Fields and properties (4)

  • public string Name
  • public IrType Type
  • public IrVariableKind Kind
  • public bool IsByReference

    True for a parameter the caller passes by reference, from inout.

Methods (2)

  • public IrVariable(string name, IrType type, IrVariableKind kind, bool byReference = false)

    A named, addressable storage slot. Locals stay in memory in this IR rather than being promoted to SSA registers — the backends want declarations they can name, and a later mem2reg pass can promote them if a target prefers it.

  • public override string ToString()

Used by (31)

  • AtomicTestsVixen.Raven.Tests
  • BodyDecoderVixen.Raven
  • CodeGenTestBaseVixen.Raven.Tests
  • CompiledLibraryTestsVixen.Raven.Tests
  • ComposeTestsVixen.Raven.Tests
  • DescriptorSetTestsVixen.Raven.Tests
  • FunctionShellVixen.Raven
  • FunctionVerifierVixen.Raven
  • GlslEmitterVixen.Raven
  • GroupSharedTestsVixen.Raven.Tests
  • ImportPrunerVixen.Raven
  • InOutTestsVixen.Raven.Tests
  • Int64TestsVixen.Raven.Tests
  • IrArgumentVixen.Raven
  • IrBindingVixen.Raven
  • IrCapabilitiesVixen.Raven
  • IrFunctionVixen.Raven
  • IrPlaceVixen.Raven
  • IrPrinterVixen.Raven
  • IrSharedVariableVixen.Raven
  • IrStreamVixen.Raven
  • IrVerifierTestsVixen.Raven.Tests
  • LibraryBuilderVixen.Raven
  • LibraryIrDecoderVixen.Raven
  • LibraryIrEncoderVixen.Raven
  • LibraryTreeTestsVixen.Raven.Tests
  • LoweredArgumentsVixen.Raven
  • LowererVixen.Raven
  • LoweringTestsVixen.Raven.Tests
  • SpirvEmitterVixen.Raven
  • WritableResourceTestsVixen.Raven.Tests