Documentation

Lean.Compiler.IR.Basic

@[inline]
abbrev Lean.IR.FunId :
Type
Equations
@[inline]
abbrev Lean.IR.Index :
Type
Equations
structure Lean.IR.VarId :
Type
Equations
structure Lean.IR.JoinPointId :
Type
@[inline]
Equations
Equations
Equations
Equations
Equations
@[inline]
abbrev Lean.IR.MData :
Type
Equations
@[inline]
Equations
Equations
  • Lean.IR.IRType.isScalar x = match x with | Lean.IR.IRType.float => true | Lean.IR.IRType.uint8 => true | Lean.IR.IRType.uint16 => true | Lean.IR.IRType.uint32 => true | Lean.IR.IRType.uint64 => true | Lean.IR.IRType.usize => true | x => false
Equations
Equations
Equations
Equations
inductive Lean.IR.Arg :
Type
Equations
inductive Lean.IR.LitVal :
Type
Equations
structure Lean.IR.CtorInfo :
Type
Equations
  • Lean.IR.CtorInfo.beq x x = match x, x with | { name := n₁, cidx := cidx₁, size := size₁, usize := usize₁, ssize := ssize₁ }, { name := n₂, cidx := cidx₂, size := size₂, usize := usize₂, ssize := ssize₂ } => n₁ == n₂ && cidx₁ == cidx₂ && size₁ == size₂ && usize₁ == usize₂ && ssize₁ == ssize₂
Equations
def Lean.IR.mkCtorExpr (n : Lean.Name) (cidx : Nat) (size : Nat) (usize : Nat) (ssize : Nat) (ys : Array Lean.IR.Arg) :
Equations
def Lean.IR.mkSProjExpr (n : Nat) (offset : Nat) (x : Lean.IR.VarId) :
Equations
structure Lean.IR.Param :
Type
Equations
Equations
inductive Lean.IR.AltCore (FnBody : Type) :
Type
Equations
@[inline]
abbrev Lean.IR.Alt :
Type
Equations
@[matchPattern, inline]
Equations
@[matchPattern, inline]
Equations
Equations
Equations
Equations
@[inline]
Equations
@[inline]
def Lean.IR.mmodifyJPs {m : TypeType} [inst : Monad m] (bs : Array Lean.IR.FnBody) (f : Lean.IR.FnBodym Lean.IR.FnBody) :
Equations
def Lean.IR.mkAlt (n : Lean.Name) (cidx : Nat) (size : Nat) (usize : Nat) (ssize : Nat) (b : Lean.IR.FnBody) :
Equations
structure Lean.IR.DeclInfo :
Type
Equations
Equations
Equations
Equations
Equations
Equations
Equations
Equations
@[inline]
abbrev Lean.IR.IndexSet :
Type
Equations
Equations
Equations
Equations
Equations
Equations
Equations
@[inline]
abbrev Lean.IR.VarIdSet :
Type
Equations
Equations