跳到內容

representation

本頁內容尚未翻譯。

def Representation.width {L : Constructs} (ext : TypeExtension L) (tgt : Target) (t : Ty L) : Nat

The bits an object of a type takes by the C layout.

def Representation.sameLayout {L : Constructs} (ext : TypeExtension L) (tgt : Target) (g : Globals L) (t : Ty L) : Bool

Whether a struct or union is laid out the C way by the dialect too.

def Representation.of {L : Constructs} (ext : TypeExtension L) (tgt : Target) (g : Globals L) (t : Ty L) : Option Placed

The place of a whole object of a type, if its bits are the C layout’s.