File: .lake/packages/lean4/src/lean/Lean/Compiler/LCNF/Passes.lean

full_name: Lean.Compiler.LCNF.init
code: def init : Pass 
goal: Lean.Compiler.LCNF.Pass

full_name: Lean.Compiler.LCNF.trace
code: def trace (phase := Phase.base) : Pass 
goal: Lean.Compiler.LCNF.Pass

full_name: Lean.Compiler.LCNF.saveBase
code: def saveBase : Pass 
goal: Lean.Compiler.LCNF.Pass

full_name: Lean.Compiler.LCNF.saveMono
code: def saveMono : Pass 
goal: Lean.Compiler.LCNF.Pass

full_name: Lean.Compiler.LCNF.builtinPassManager
code: def builtinPassManager : PassManager 
goal: Lean.Compiler.LCNF.PassManager

full_name: Lean.Compiler.LCNF.runImportedDecls
code: def runImportedDecls (importedDeclNames : Array (Array Name)) : CoreM PassManager 
goal: Lean.CoreM Lean.Compiler.LCNF.PassManager

full_name: Lean.Compiler.LCNF.initFn._@..lake.packages.lean4.src.lean.Lean.Compiler.LCNF.Passes._hyg.508
code: builtin_initialize passManagerExt : PersistentEnvExtension Name (Name × PassManager) (List Name × PassManager) ←
  registerPersistentEnvExtension {
    mkInitial := return ([], builtinPassManager)
    addImportedFn := fun ns => return ([], ← ImportM.runCoreM <| runImportedDecls ns)
    addEntryFn := fun (installerDeclNames, _) (installerDeclName, managerNew) => (installerDeclName :: installerDeclNames, managerNew)
    exportEntriesFn := fun s => s.1.reverse.toArray
  }
goal: IO
  (Lean.PersistentEnvExtension Lean.Name (Lean.Name × Lean.Compiler.LCNF.PassManager)
    (List Lean.Name × Lean.Compiler.LCNF.PassManager))

full_name: Lean.Compiler.LCNF.passManagerExt
code: builtin_initialize passManagerExt : PersistentEnvExtension Name (Name × PassManager) (List Name × PassManager) ←
  registerPersistentEnvExtension {
    mkInitial := return ([], builtinPassManager)
    addImportedFn := fun ns => return ([], ← ImportM.runCoreM <| runImportedDecls ns)
    addEntryFn := fun (installerDeclNames, _) (installerDeclName, managerNew) => (installerDeclName :: installerDeclNames, managerNew)
    exportEntriesFn := fun s => s.1.reverse.toArray
  }
goal: Lean.PersistentEnvExtension Lean.Name (Lean.Name × Lean.Compiler.LCNF.PassManager)
  (List Lean.Name × Lean.Compiler.LCNF.PassManager)

full_name: Lean.Compiler.LCNF.getPassManager
code: def getPassManager : CoreM PassManager 
goal: Lean.CoreM Lean.Compiler.LCNF.PassManager

full_name: Lean.Compiler.LCNF.addPass
code: def addPass (declName : Name) : CoreM Unit 
goal: Lean.CoreM Unit

full_name: Lean.Compiler.LCNF.initFn._@..lake.packages.lean4.src.lean.Lean.Compiler.LCNF.Passes._hyg.869
code: builtin_initialize
  registerBuiltinAttribute {
    name  := `cpass
    descr := "compiler passes for the code generator"
    add   := fun declName stx kind => do
      Attribute.Builtin.ensureNoArgs stx
      unless kind == AttributeKind.global do throwError "invalid attribute 'cpass', must be global"
      discard <| addPass declName
    applicationTime := .afterCompilation
  }
goal: IO Unit

full_name: Lean.Compiler.LCNF.initFn._@..lake.packages.lean4.src.lean.Lean.Compiler.LCNF.Passes._hyg.1029
code: builtin_initialize
  registerTraceClass `Compiler.saveBase (inherited := true)
  registerTraceClass `Compiler.saveMono (inherited := true)
  registerTraceClass `Compiler.trace (inherited := true)
goal: IO Unit