pub enum CheckerError {
    MissingAllocation {
        inst: Inst,
        op: Operand,
    },
    UnknownValueInAllocation {
        inst: Inst,
        op: Operand,
        alloc: Allocation,
    },
    ConflictedValueInAllocation {
        inst: Inst,
        op: Operand,
        alloc: Allocation,
    },
    IncorrectValuesInAllocation {
        inst: Inst,
        op: Operand,
        alloc: Allocation,
        actual: FxHashSet<VReg>,
    },
    ConstraintViolated {
        inst: Inst,
        op: Operand,
        alloc: Allocation,
    },
    AllocationIsNotReg {
        inst: Inst,
        op: Operand,
        alloc: Allocation,
    },
    AllocationIsNotFixedReg {
        inst: Inst,
        op: Operand,
        alloc: Allocation,
    },
    AllocationIsNotReuse {
        inst: Inst,
        op: Operand,
        alloc: Allocation,
        expected_alloc: Allocation,
    },
    AllocationIsNotStack {
        inst: Inst,
        op: Operand,
        alloc: Allocation,
    },
    ConflictedValueInStackmap {
        inst: Inst,
        alloc: Allocation,
    },
    NonRefValuesInStackmap {
        inst: Inst,
        alloc: Allocation,
        vregs: FxHashSet<VReg>,
    },
}
Expand description

A single error detected by the regalloc checker.

Variants

MissingAllocation

Fields

inst: Inst
op: Operand

UnknownValueInAllocation

Fields

inst: Inst
op: Operand
alloc: Allocation

ConflictedValueInAllocation

Fields

inst: Inst
op: Operand
alloc: Allocation

IncorrectValuesInAllocation

Fields

inst: Inst
op: Operand
alloc: Allocation
actual: FxHashSet<VReg>

ConstraintViolated

Fields

inst: Inst
op: Operand
alloc: Allocation

AllocationIsNotReg

Fields

inst: Inst
op: Operand
alloc: Allocation

AllocationIsNotFixedReg

Fields

inst: Inst
op: Operand
alloc: Allocation

AllocationIsNotReuse

Fields

inst: Inst
op: Operand
alloc: Allocation
expected_alloc: Allocation

AllocationIsNotStack

Fields

inst: Inst
op: Operand
alloc: Allocation

ConflictedValueInStackmap

Fields

inst: Inst
alloc: Allocation

NonRefValuesInStackmap

Fields

inst: Inst
alloc: Allocation
vregs: FxHashSet<VReg>

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.