The idea of this function is the same as in ToMono, however the notion of "irrelevancy" has
changed because we now have the void type which can only be erased in impure context and thus at
earliest at the conversion from mono to IR.
Equations
Instances For
- erased : CtorFieldInfo
- object (i : Nat) (type : IRType) : CtorFieldInfo
- usize (i : Nat) : CtorFieldInfo
- scalar (sz offset : Nat) (type : IRType) : CtorFieldInfo
- void : CtorFieldInfo
Instances For
- ctorInfo : CtorInfo
- fieldInfo : Array CtorFieldInfo