Vixen
dd8b0a81
csharp
public sealed class IrLoopStatement

A structured loop. Condition holds the instructions that recompute ConditionValue on every iteration, and Continue is the step a for loop runs before re-testing — which is also where a continue lands.

Read the guide page for this →

Fields and properties (5)

  • public IrBlock Condition
  • public IrValue ConditionValue
  • public IrBlock Body
  • public IrBlock? Continue
  • public bool TestBeforeBody

    False for repeat … while, where the body runs first.

Methods (1)

  • public IrLoopStatement(IrBlock condition, IrValue conditionValue, IrBlock body, IrBlock? continue, bool testBeforeBody)

    A structured loop. Condition holds the instructions that recompute ConditionValue on every iteration, and Continue is the step a for loop runs before re-testing — which is also where a continue lands.

Used by (18)

  • AtomicTestsVixen.Raven.Tests
  • BodyDecoderVixen.Raven
  • CallGraphVixen.Raven
  • FunctionVerifierVixen.Raven
  • GlslEmitterVixen.Raven
  • GroupSharedTestsVixen.Raven.Tests
  • ImageAccessVixen.Raven
  • ImportPrunerVixen.Raven
  • Int64TestsVixen.Raven.Tests
  • IrCapabilitiesVixen.Raven
  • IrFunctionVixen.Raven
  • IrPrinterVixen.Raven
  • IrVerifierTestsVixen.Raven.Tests
  • LibraryBuilderVixen.Raven
  • LibraryIrEncoderVixen.Raven
  • LowererVixen.Raven
  • SpirvEmitterVixen.Raven
  • WritableResourceTestsVixen.Raven.Tests