chore: update stage0
This commit is contained in:
parent
0ba5413266
commit
f137d43931
12 changed files with 3414 additions and 3576 deletions
6
stage0/src/CMakeLists.txt
generated
6
stage0/src/CMakeLists.txt
generated
|
|
@ -821,6 +821,12 @@ if(LEAN_INSTALL_PREFIX)
|
|||
set(CMAKE_INSTALL_PREFIX "${LEAN_INSTALL_PREFIX}/lean-${LEAN_VERSION_STRING}${LEAN_INSTALL_SUFFIX}")
|
||||
endif()
|
||||
|
||||
if (STAGE GREATER 1)
|
||||
# The build of stage2+ may depend on local changes made to src/ that are not reflected by the
|
||||
# commit hash in stage1/bin/lean, so we make sure to disable the global cache
|
||||
string(APPEND LEAN_EXTRA_LAKEFILE_TOML "\n\nenableArtifactCache = false")
|
||||
endif()
|
||||
|
||||
# Escape for `make`. Yes, twice.
|
||||
string(REPLACE "$" "\\\$$" CMAKE_EXE_LINKER_FLAGS_MAKE "${CMAKE_EXE_LINKER_FLAGS}")
|
||||
configure_file(${LEAN_SOURCE_DIR}/stdlib.make.in ${CMAKE_BINARY_DIR}/stdlib.make)
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ options get_default_options() {
|
|||
opts = opts.update({"debug", "terminalTacticsAsSorry"}, false);
|
||||
// switch to `true` for ABI-breaking changes affecting meta code;
|
||||
// see also next option!
|
||||
opts = opts.update({"interpreter", "prefer_native"}, true);
|
||||
opts = opts.update({"interpreter", "prefer_native"}, false);
|
||||
// switch to `false` when enabling `prefer_native` should also affect use
|
||||
// of built-in parsers in quotations; this is usually the case, but setting
|
||||
// both to `true` may be necessary for handling non-builtin parsers with
|
||||
|
|
|
|||
293
stage0/stdlib/Lean/Compiler/IR/ElimDeadBranches.c
generated
293
stage0/stdlib/Lean/Compiler/IR/ElimDeadBranches.c
generated
|
|
@ -17,6 +17,7 @@ LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___Lean_IR_elimDeadBranches_
|
|||
LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_initFn___lam__4____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1073_(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___Lean_IR_UnreachableBranches_interpExpr_spec__0(size_t, size_t, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_elimDeadBranches___redArg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_initFn___closed__11____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_;
|
||||
LEAN_EXPORT lean_object* l_Nat_foldM_loop___at___Lean_IR_UnreachableBranches_updateJPParamsAssignment_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_UnreachableBranches_initFn___lam__3___closed__1____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1073_;
|
||||
lean_object* lean_format_pretty(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -32,13 +33,13 @@ LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_Value_truncateMaxDepth;
|
|||
LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_Value_truncate_go(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_UnreachableBranches_Value_toFormat___closed__7;
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_updateVarAssignment___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_initFn___closed__4____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_;
|
||||
lean_object* lean_mk_empty_array_with_capacity(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand_go___at___Std_DHashMap_Internal_Raw_u2080_expand___at___Lean_IR_UnreachableBranches_markJPVisited_spec__1_spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
size_t lean_usize_shift_right(size_t, size_t);
|
||||
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___Std_DHashMap_Internal_Raw_u2080_expand_go___at___Std_DHashMap_Internal_Raw_u2080_expand___at___Lean_IR_UnreachableBranches_updateVarAssignment_spec__1_spec__1_spec__1(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___Lean_IR_elimDeadBranches_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_repr___at___Lean_IR_UnreachableBranches_reprValue____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_182__spec__3(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_initFn___closed__2____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_;
|
||||
LEAN_EXPORT lean_object* l_Array_qsort_sort___at___Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1073__spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_IR_UnreachableBranches_inferStep___lam__0(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_elimDeadBranches___redArg(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -49,21 +50,21 @@ LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___Lean_
|
|||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1073__spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_UnreachableBranches_initFn___closed__1____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1073_;
|
||||
static lean_object* l_Lean_IR_UnreachableBranches_Value_toFormat___closed__8;
|
||||
static lean_object* l_Lean_IR_initFn___closed__16____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_;
|
||||
uint8_t l_Array_isEmpty___redArg(lean_object*);
|
||||
static lean_object* l_Lean_IR_UnreachableBranches_Value_toFormat___closed__2;
|
||||
lean_object* l_Std_Format_fill(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_isEqvAux___at___Lean_IR_UnreachableBranches_beqValue____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_55__spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
size_t lean_uint64_to_usize(uint64_t);
|
||||
static lean_object* l_Lean_IR_initFn___closed__5____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_;
|
||||
LEAN_EXPORT lean_object* l_List_repr___at___Lean_IR_UnreachableBranches_reprValue____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_182__spec__3___redArg(lean_object*);
|
||||
lean_object* l_Lean_Name_toString(lean_object*, uint8_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_instToFormatValue;
|
||||
static lean_object* l_Lean_IR_initFn___closed__0____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_;
|
||||
lean_object* l_Array_qpartition___redArg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_Value_toFormat___lam__0___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Nat_foldTR_loop___at___Lean_IR_elimDeadBranches_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_push(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_getD___at___Lean_IR_UnreachableBranches_findVarValue_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_initFn___closed__8____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_;
|
||||
static lean_object* l_Lean_IR_UnreachableBranches_initFn___closed__4____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1073_;
|
||||
static lean_object* l_Lean_IR_UnreachableBranches_reprValue___closed__1____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_182_;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_resetNestedJPParams(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -87,24 +88,22 @@ lean_object* l_Std_Format_join(lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___Lean_IR_UnreachableBranches_updateVarAssignment_spec__4(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Environment_find_x3f(lean_object*, lean_object*, uint8_t);
|
||||
LEAN_EXPORT uint8_t l_Lean_IR_UnreachableBranches_Value_toFormat___lam__0(uint8_t, lean_object*);
|
||||
static lean_object* l_Lean_IR_initFn___closed__1____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_;
|
||||
lean_object* l_Lean_PersistentHashMap_toArray___at___Lean_initFn____x40_Lean_Structure___hyg_447__spec__0___redArg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Nat_foldTR_loop___at___Lean_IR_UnreachableBranches_Value_merge_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_List_elem___at___Lean_IR_UnreachableBranches_Value_truncate_go_spec__2(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_instReprValue;
|
||||
uint8_t l_Lean_Name_quickLt(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_initFn___closed__14____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_;
|
||||
LEAN_EXPORT lean_object* l_Nat_foldTR_loop___at___Lean_IR_UnreachableBranches_Value_merge_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___Lean_IR_UnreachableBranches_Value_truncate_go_spec__0(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*);
|
||||
lean_object* l_Lean_Environment_addExtraName(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_IR_instInhabitedFnBody;
|
||||
static lean_object* l_Lean_IR_initFn___closed__11____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_;
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_reprValue____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_182____boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_functionSummariesExt;
|
||||
lean_object* lean_nat_shiftr(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_initFn___closed__18____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_;
|
||||
LEAN_EXPORT lean_object* l_List_repr___at___Lean_IR_UnreachableBranches_reprValue____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_182__spec__3___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_mapTR_loop___at___Lean_IR_UnreachableBranches_Value_truncate_go_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_initFn___closed__13____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_;
|
||||
static lean_object* l_Lean_IR_initFn___closed__17____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_;
|
||||
lean_object* l_Lean_PersistentHashMap_insert___at___Lean_MetavarContext_addExprMVarDecl_spec__0___redArg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Nat_foldM_loop___at___Lean_IR_UnreachableBranches_inferStep_spec__3___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_UnreachableBranches_initFn___closed__2____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1073_;
|
||||
|
|
@ -131,7 +130,6 @@ static lean_object* l_Array_mapMUnsafe_map___at___Lean_IR_UnreachableBranches_in
|
|||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___Lean_IR_UnreachableBranches_inferStep_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_UnreachableBranches_interpFnBody___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Array_qsort_sort___at___Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1073__spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_initFn___closed__2____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_;
|
||||
LEAN_EXPORT lean_object* l_Nat_foldM_loop___at___Lean_IR_UnreachableBranches_inferStep_spec__3___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_elimDeadBranches(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_findArgValue___boxed(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -139,7 +137,6 @@ LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_getD___at___Lean_IR_U
|
|||
static lean_object* l_Lean_IR_UnreachableBranches_Value_addChoice___closed__0;
|
||||
static lean_object* l_Lean_IR_UnreachableBranches_getFunctionSummary_x3f___closed__0;
|
||||
LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___Lean_IR_UnreachableBranches_updateVarAssignment_spec__0___redArg(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_initFn___closed__8____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_;
|
||||
lean_object* lean_st_ref_take(lean_object*, lean_object*);
|
||||
static lean_object* l_List_repr___at___Lean_IR_UnreachableBranches_reprValue____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_182__spec__3___redArg___closed__2;
|
||||
static lean_object* l___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_sortEntries___closed__0;
|
||||
|
|
@ -149,6 +146,7 @@ uint64_t lean_uint64_shift_right(uint64_t, uint64_t);
|
|||
LEAN_EXPORT uint8_t l_Lean_IR_UnreachableBranches_containsCtor(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_elimDeadBranches___redArg___closed__2;
|
||||
static lean_object* l_Array_mapMUnsafe_map___at___Lean_IR_UnreachableBranches_inferStep_spec__0___redArg___closed__0;
|
||||
static lean_object* l_Lean_IR_initFn___closed__16____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_;
|
||||
lean_object* lean_nat_to_int(lean_object*);
|
||||
lean_object* lean_nat_div(lean_object*, lean_object*);
|
||||
static lean_object* l_List_repr___at___Lean_IR_UnreachableBranches_reprValue____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_182__spec__3___redArg___closed__3;
|
||||
|
|
@ -160,22 +158,21 @@ LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___Lean_
|
|||
lean_object* l_Lean_IR_LocalContext_getJPParams(lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Array_qsort_sort___at___Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1073__spec__1___redArg___lam__0(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_beqValue____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_55____boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_initFn___closed__7____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_;
|
||||
static lean_object* l_Array_Array_repr___at___Lean_IR_UnreachableBranches_reprValue____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_182__spec__0___closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_inferStep(lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_List_beq___at___Lean_IR_UnreachableBranches_beqValue____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_55__spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_inferStep___lam__0___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Array_Array_repr___at___Lean_IR_UnreachableBranches_reprValue____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_182__spec__0___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_Value_toFormat(lean_object*);
|
||||
static lean_object* l_Lean_IR_initFn___closed__0____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_;
|
||||
LEAN_EXPORT lean_object* l_Nat_foldM_loop___at___Lean_IR_UnreachableBranches_inferStep_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_UnreachableBranches_initFn___lam__3___closed__0____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1073_;
|
||||
LEAN_EXPORT lean_object* l_Array_isEqvAux___at___Lean_IR_UnreachableBranches_beqValue____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_55__spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_initFn___closed__18____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_;
|
||||
static lean_object* l_Lean_IR_initFn___closed__12____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_;
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_____private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_resetNestedJPParams_spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_____private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_resetNestedJPParams_spec__0(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_UnreachableBranches_Value_toFormat___closed__3;
|
||||
lean_object* lean_st_ref_get(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_initFn___closed__9____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_;
|
||||
static lean_object* l_Lean_IR_UnreachableBranches_reprValue___closed__6____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_182_;
|
||||
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___Lean_IR_UnreachableBranches_updateVarAssignment_spec__1___redArg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_markJPVisited(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -192,7 +189,6 @@ LEAN_EXPORT lean_object* l_List_mapTR_loop___at___Lean_IR_UnreachableBranches_Va
|
|||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_resetNestedJPParams___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Nat_foldTR_loop___at___Lean_IR_elimDeadBranches_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_UnreachableBranches_instBEqValue___closed__0;
|
||||
static lean_object* l_Lean_IR_initFn___closed__12____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_;
|
||||
LEAN_EXPORT uint8_t l_Lean_IR_UnreachableBranches_beqValue____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_55_(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_instToStringValue;
|
||||
LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___Lean_IR_UnreachableBranches_updateVarAssignment_spec__0(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -210,7 +206,6 @@ LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_interpFnBody(lean_object*
|
|||
static lean_object* l_Array_Array_repr___at___Lean_IR_UnreachableBranches_reprValue____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_182__spec__0___closed__1;
|
||||
static lean_object* l_Lean_IR_UnreachableBranches_reprValue___closed__8____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_182_;
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_addFunctionSummary(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_initFn___closed__6____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_;
|
||||
LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___Array_Array_repr___at___Lean_IR_UnreachableBranches_reprValue____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_182__spec__0_spec__0___lam__0(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_Value_addChoice(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_initFn___lam__3____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1073____boxed(lean_object*);
|
||||
|
|
@ -221,14 +216,13 @@ LEAN_EXPORT lean_object* l___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_I
|
|||
LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_elimDeadAux(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_updateCurrFnSummary(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_initFn___lam__2____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1073____boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_initFn___closed__15____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_;
|
||||
LEAN_EXPORT lean_object* l_Nat_foldM_loop___at___Lean_IR_UnreachableBranches_updateJPParamsAssignment_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_updateVarAssignment(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_UnreachableBranches_reprValue___closed__7____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_182_;
|
||||
lean_object* l_Lean_NameSet_insert(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_getD___at___Lean_IR_UnreachableBranches_findVarValue_spec__0(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_instToStringValue___lam__0(lean_object*);
|
||||
static lean_object* l_Lean_IR_initFn___closed__7____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_;
|
||||
static lean_object* l_Lean_IR_initFn___closed__5____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_;
|
||||
lean_object* lean_usize_to_nat(size_t);
|
||||
LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___Lean_IR_elimDeadBranches_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_SimplePersistentEnvExtension_getState___redArg(lean_object*, lean_object*, lean_object*, uint8_t);
|
||||
|
|
@ -240,7 +234,6 @@ LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_reprValue____x40_Lean_Com
|
|||
static lean_object* l_List_repr___at___Lean_IR_UnreachableBranches_reprValue____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_182__spec__3___redArg___closed__0;
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentArray_modifyAux___at___Lean_PersistentArray_modify___at___Lean_IR_UnreachableBranches_updateCurrFnSummary_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___Lean_IR_UnreachableBranches_markJPVisited_spec__0(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_initFn___closed__1____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_;
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___Lean_IR_UnreachableBranches_interpFnBody_spec__0(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_IR_beqVarId____x40_Lean_Compiler_IR_Basic___hyg_38____boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_UnreachableBranches_initFn___lam__2___closed__0____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1073_;
|
||||
|
|
@ -256,6 +249,7 @@ LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___Lean_IR_UnreachableBra
|
|||
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___Lean_IR_UnreachableBranches_markJPVisited_spec__0___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_declLt___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_IR_FnBody_setBody(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_initFn___closed__10____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_;
|
||||
static lean_object* l_Lean_IR_UnreachableBranches_instReprValue___closed__0;
|
||||
lean_object* l_Lean_IR_Decl_updateBody_x21(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___Lean_IR_UnreachableBranches_inferStep_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -278,6 +272,7 @@ static lean_object* l_List_repr___at___Lean_IR_UnreachableBranches_reprValue____
|
|||
LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_resetParamAssignment(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_beq___boxed(lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_initFn___closed__9____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_;
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_interpExpr___lam__0___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_UnreachableBranches_markJPVisited___closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_findAtSorted_x3f(lean_object*, lean_object*);
|
||||
|
|
@ -306,7 +301,6 @@ LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_getFunctionSummary_x3f(le
|
|||
lean_object* lean_nat_sub(lean_object*, lean_object*);
|
||||
lean_object* lean_nat_mul(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_IR_beqJoinPointId____x40_Lean_Compiler_IR_Basic___hyg_192____boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_initFn___closed__17____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_;
|
||||
uint8_t l_Std_DTreeMap_Internal_Impl_contains___at___Lean_NameMap_contains_spec__0___redArg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_elimDead___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_Value_truncate(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -328,6 +322,7 @@ lean_object* lean_array_mk(lean_object*);
|
|||
static lean_object* l_Lean_IR_UnreachableBranches_interpFnBody___closed__3;
|
||||
static lean_object* l_Array_Array_repr___at___Lean_IR_UnreachableBranches_reprValue____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_182__spec__0___closed__9;
|
||||
LEAN_EXPORT uint8_t l_Lean_IR_UnreachableBranches_interpExpr___lam__0(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_initFn___closed__3____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_;
|
||||
LEAN_EXPORT lean_object* l_Array_binSearchAux___at___Lean_IR_UnreachableBranches_getFunctionSummary_x3f_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_instBEqValue;
|
||||
size_t lean_usize_add(size_t, size_t);
|
||||
|
|
@ -349,12 +344,12 @@ size_t lean_usize_shift_left(size_t, size_t);
|
|||
lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_beq___at___Lean_IR_UnreachableBranches_beqValue____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_55__spec__1___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___Std_DHashMap_Internal_Raw_u2080_expand_go___at___Std_DHashMap_Internal_Raw_u2080_expand___at___Lean_IR_UnreachableBranches_updateVarAssignment_spec__1_spec__1_spec__1___redArg(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_initFn___closed__14____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_;
|
||||
static lean_object* l_Lean_IR_UnreachableBranches_Value_merge___closed__0;
|
||||
lean_object* l_Lean_IR_LocalContext_addJP(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_sortEntries(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_binSearchAux___at___Lean_IR_UnreachableBranches_getFunctionSummary_x3f_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_panic___at___Lean_IR_UnreachableBranches_interpFnBody_spec__1(lean_object*);
|
||||
static lean_object* l_Lean_IR_initFn___closed__10____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_;
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_containsCtor___lam__0___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___Lean_IR_UnreachableBranches_inferStep_spec__0(lean_object*, lean_object*, size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___Lean_IR_UnreachableBranches_markJPVisited_spec__0___redArg(lean_object*, lean_object*);
|
||||
|
|
@ -375,12 +370,15 @@ uint8_t l_List_any___redArg(lean_object*, lean_object*);
|
|||
lean_object* lean_nat_add(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_PersistentEnvExtension_getModuleEntries___redArg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_initFn___lam__2____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1073_(lean_object*, lean_object*, lean_object*, uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_(lean_object*);
|
||||
static lean_object* l_Lean_IR_UnreachableBranches_reprValue___closed__4____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_182_;
|
||||
static lean_object* l_Lean_IR_UnreachableBranches_initFn___closed__0____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1073_;
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_____private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_resetNestedJPParams_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Array_mapMUnsafe_map___at___Lean_IR_UnreachableBranches_inferStep_spec__0___redArg___closed__3;
|
||||
static lean_object* l_Lean_IR_initFn___closed__6____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_;
|
||||
lean_object* l_Lean_SimplePersistentEnvExtension_replayOfFilter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_uset(lean_object*, size_t, lean_object*);
|
||||
static lean_object* l_Lean_IR_initFn___closed__15____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_;
|
||||
static lean_object* l_Array_mapMUnsafe_map___at___Lean_IR_UnreachableBranches_inferStep_spec__0___redArg___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand_go___at___Std_DHashMap_Internal_Raw_u2080_expand___at___Lean_IR_UnreachableBranches_markJPVisited_spec__1_spec__1___redArg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_IR_reprCtorInfo___redArg____x40_Lean_Compiler_IR_Basic___hyg_2044_(lean_object*);
|
||||
|
|
@ -394,14 +392,15 @@ lean_object* l_Lean_IR_LocalContext_getJPBody(lean_object*, lean_object*);
|
|||
static lean_object* l_Lean_IR_UnreachableBranches_Value_toFormat___closed__4;
|
||||
LEAN_EXPORT lean_object* l_Array_binSearchAux___at___Lean_IR_UnreachableBranches_getFunctionSummary_x3f_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
size_t lean_usize_land(size_t, size_t);
|
||||
static lean_object* l_Lean_IR_initFn___closed__3____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_;
|
||||
static lean_object* l_Lean_IR_UnreachableBranches_reprValue___closed__9____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_182_;
|
||||
static lean_object* l_List_mapTR_loop___at___Lean_IR_UnreachableBranches_Value_toFormat_spec__0___closed__1;
|
||||
LEAN_EXPORT lean_object* l_List_mapTR_loop___at___Lean_IR_UnreachableBranches_Value_truncate_go_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_HashMap_instInhabited(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_UnreachableBranches_instToFormatValue___closed__0;
|
||||
lean_object* l_Std_HashSet_instInhabited(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_initFn___closed__13____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_;
|
||||
uint8_t l_Lean_PersistentHashMap_contains___at___Lean_SMap_contains___at___Lean_Environment_containsOnBranch_spec__0_spec__0___redArg(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_initFn___closed__4____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_;
|
||||
lean_object* l_Lean_IR_hashJoinPointId____x40_Lean_Compiler_IR_Basic___hyg_250____boxed(lean_object*);
|
||||
static lean_object* _init_l_Lean_IR_UnreachableBranches_instInhabitedValue() {
|
||||
_start:
|
||||
|
|
@ -3218,15 +3217,13 @@ return x_1;
|
|||
LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_addFunctionSummary(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7;
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_4 = l_Lean_IR_UnreachableBranches_addFunctionSummary___closed__0;
|
||||
lean_inc(x_2);
|
||||
x_5 = l_Lean_Environment_addExtraName(x_1, x_2);
|
||||
x_6 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_6, 0, x_2);
|
||||
lean_ctor_set(x_6, 1, x_3);
|
||||
x_7 = l_Lean_PersistentEnvExtension_addEntry___redArg(x_4, x_5, x_6);
|
||||
return x_7;
|
||||
x_5 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_5, 0, x_2);
|
||||
lean_ctor_set(x_5, 1, x_3);
|
||||
x_6 = l_Lean_PersistentEnvExtension_addEntry___redArg(x_4, x_1, x_5);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_binSearchAux___at___Lean_IR_UnreachableBranches_getFunctionSummary_x3f_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
|
|
@ -5549,7 +5546,7 @@ return x_3;
|
|||
LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_markJPVisited(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_10; lean_object* x_15; uint8_t x_16; lean_object* x_17; uint8_t x_20; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; uint64_t x_75; uint64_t x_76; uint64_t x_77; uint64_t x_78; uint64_t x_79; uint64_t x_80; uint64_t x_81; size_t x_82; size_t x_83; size_t x_84; size_t x_85; size_t x_86; lean_object* x_87; uint8_t x_88;
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_10; uint8_t x_15; lean_object* x_16; lean_object* x_17; uint8_t x_20; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; uint64_t x_75; uint64_t x_76; uint64_t x_77; uint64_t x_78; uint64_t x_79; uint64_t x_80; uint64_t x_81; size_t x_82; size_t x_83; size_t x_84; size_t x_85; size_t x_86; lean_object* x_87; uint8_t x_88;
|
||||
x_4 = lean_ctor_get(x_2, 0);
|
||||
x_5 = lean_ctor_get(x_3, 0);
|
||||
lean_inc_ref(x_5);
|
||||
|
|
@ -5623,8 +5620,8 @@ return x_13;
|
|||
block_19:
|
||||
{
|
||||
lean_object* x_18;
|
||||
x_18 = lean_array_fset(x_15, x_4, x_17);
|
||||
x_9 = x_16;
|
||||
x_18 = lean_array_fset(x_16, x_4, x_17);
|
||||
x_9 = x_15;
|
||||
x_10 = x_18;
|
||||
goto block_14;
|
||||
}
|
||||
|
|
@ -5701,8 +5698,8 @@ lean_object* x_56;
|
|||
x_56 = l_Std_DHashMap_Internal_Raw_u2080_expand___at___Lean_IR_UnreachableBranches_markJPVisited_spec__1___redArg(x_49);
|
||||
lean_ctor_set(x_23, 1, x_56);
|
||||
lean_ctor_set(x_23, 0, x_47);
|
||||
x_15 = x_27;
|
||||
x_16 = x_20;
|
||||
x_15 = x_20;
|
||||
x_16 = x_27;
|
||||
x_17 = x_23;
|
||||
goto block_19;
|
||||
}
|
||||
|
|
@ -5710,8 +5707,8 @@ else
|
|||
{
|
||||
lean_ctor_set(x_23, 1, x_49);
|
||||
lean_ctor_set(x_23, 0, x_47);
|
||||
x_15 = x_27;
|
||||
x_16 = x_20;
|
||||
x_15 = x_20;
|
||||
x_16 = x_27;
|
||||
x_17 = x_23;
|
||||
goto block_19;
|
||||
}
|
||||
|
|
@ -5744,8 +5741,8 @@ x_67 = l_Std_DHashMap_Internal_Raw_u2080_expand___at___Lean_IR_UnreachableBranch
|
|||
x_68 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_68, 0, x_58);
|
||||
lean_ctor_set(x_68, 1, x_67);
|
||||
x_15 = x_27;
|
||||
x_16 = x_20;
|
||||
x_15 = x_20;
|
||||
x_16 = x_27;
|
||||
x_17 = x_68;
|
||||
goto block_19;
|
||||
}
|
||||
|
|
@ -5755,8 +5752,8 @@ lean_object* x_69;
|
|||
x_69 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_69, 0, x_58);
|
||||
lean_ctor_set(x_69, 1, x_60);
|
||||
x_15 = x_27;
|
||||
x_16 = x_20;
|
||||
x_15 = x_20;
|
||||
x_16 = x_27;
|
||||
x_17 = x_69;
|
||||
goto block_19;
|
||||
}
|
||||
|
|
@ -5768,8 +5765,8 @@ lean_dec(x_41);
|
|||
lean_dec_ref(x_25);
|
||||
lean_dec(x_24);
|
||||
lean_dec(x_1);
|
||||
x_15 = x_27;
|
||||
x_16 = x_20;
|
||||
x_15 = x_20;
|
||||
x_16 = x_27;
|
||||
x_17 = x_23;
|
||||
goto block_19;
|
||||
}
|
||||
|
|
@ -7260,7 +7257,7 @@ goto block_73;
|
|||
block_59:
|
||||
{
|
||||
lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56;
|
||||
x_52 = l_Lean_IR_UnreachableBranches_interpFnBody(x_48, x_50, x_51);
|
||||
x_52 = l_Lean_IR_UnreachableBranches_interpFnBody(x_48, x_49, x_51);
|
||||
x_53 = lean_ctor_get(x_52, 1);
|
||||
lean_inc(x_53);
|
||||
lean_dec_ref(x_52);
|
||||
|
|
@ -7278,8 +7275,8 @@ lean_dec_ref(x_54);
|
|||
lean_dec(x_35);
|
||||
lean_inc(x_2);
|
||||
x_57 = l_outOfBounds___redArg(x_2);
|
||||
x_16 = x_49;
|
||||
x_17 = x_53;
|
||||
x_16 = x_53;
|
||||
x_17 = x_50;
|
||||
x_18 = x_57;
|
||||
goto block_24;
|
||||
}
|
||||
|
|
@ -7289,8 +7286,8 @@ lean_object* x_58;
|
|||
lean_inc(x_2);
|
||||
x_58 = l_Lean_PersistentArray_get_x21___redArg(x_2, x_54, x_35);
|
||||
lean_dec(x_35);
|
||||
x_16 = x_49;
|
||||
x_17 = x_53;
|
||||
x_16 = x_53;
|
||||
x_17 = x_50;
|
||||
x_18 = x_58;
|
||||
goto block_24;
|
||||
}
|
||||
|
|
@ -7316,8 +7313,8 @@ if (x_66 == 0)
|
|||
{
|
||||
lean_dec(x_64);
|
||||
lean_dec_ref(x_47);
|
||||
x_49 = x_60;
|
||||
x_50 = x_65;
|
||||
x_49 = x_65;
|
||||
x_50 = x_60;
|
||||
x_51 = x_9;
|
||||
goto block_59;
|
||||
}
|
||||
|
|
@ -7329,8 +7326,8 @@ if (x_67 == 0)
|
|||
{
|
||||
lean_dec(x_64);
|
||||
lean_dec_ref(x_47);
|
||||
x_49 = x_60;
|
||||
x_50 = x_65;
|
||||
x_49 = x_65;
|
||||
x_50 = x_60;
|
||||
x_51 = x_9;
|
||||
goto block_59;
|
||||
}
|
||||
|
|
@ -7346,8 +7343,8 @@ lean_dec_ref(x_47);
|
|||
x_72 = lean_ctor_get(x_71, 1);
|
||||
lean_inc(x_72);
|
||||
lean_dec_ref(x_71);
|
||||
x_49 = x_60;
|
||||
x_50 = x_65;
|
||||
x_49 = x_65;
|
||||
x_50 = x_60;
|
||||
x_51 = x_72;
|
||||
goto block_59;
|
||||
}
|
||||
|
|
@ -7388,31 +7385,31 @@ block_24:
|
|||
if (x_7 == 0)
|
||||
{
|
||||
uint8_t x_19;
|
||||
x_19 = l_Lean_IR_UnreachableBranches_beqValue____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_55_(x_16, x_18);
|
||||
x_19 = l_Lean_IR_UnreachableBranches_beqValue____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_55_(x_17, x_18);
|
||||
lean_dec(x_18);
|
||||
lean_dec(x_16);
|
||||
lean_dec(x_17);
|
||||
if (x_19 == 0)
|
||||
{
|
||||
uint8_t x_20;
|
||||
x_20 = 1;
|
||||
x_6 = x_15;
|
||||
x_7 = x_20;
|
||||
x_9 = x_17;
|
||||
x_9 = x_16;
|
||||
goto _start;
|
||||
}
|
||||
else
|
||||
{
|
||||
x_6 = x_15;
|
||||
x_9 = x_17;
|
||||
x_9 = x_16;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_dec(x_18);
|
||||
lean_dec(x_16);
|
||||
lean_dec(x_17);
|
||||
x_6 = x_15;
|
||||
x_9 = x_17;
|
||||
x_9 = x_16;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
|
|
@ -7421,31 +7418,31 @@ block_33:
|
|||
if (x_7 == 0)
|
||||
{
|
||||
uint8_t x_28;
|
||||
x_28 = l_Lean_IR_UnreachableBranches_beqValue____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_55_(x_25, x_27);
|
||||
x_28 = l_Lean_IR_UnreachableBranches_beqValue____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_55_(x_26, x_27);
|
||||
lean_dec(x_27);
|
||||
lean_dec(x_25);
|
||||
lean_dec(x_26);
|
||||
if (x_28 == 0)
|
||||
{
|
||||
uint8_t x_29;
|
||||
x_29 = 1;
|
||||
x_6 = x_15;
|
||||
x_7 = x_29;
|
||||
x_9 = x_26;
|
||||
x_9 = x_25;
|
||||
goto _start;
|
||||
}
|
||||
else
|
||||
{
|
||||
x_6 = x_15;
|
||||
x_9 = x_26;
|
||||
x_9 = x_25;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_dec(x_27);
|
||||
lean_dec(x_25);
|
||||
lean_dec(x_26);
|
||||
x_6 = x_15;
|
||||
x_9 = x_26;
|
||||
x_9 = x_25;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
|
|
@ -7472,8 +7469,8 @@ lean_dec_ref(x_40);
|
|||
lean_dec(x_35);
|
||||
lean_inc(x_2);
|
||||
x_43 = l_outOfBounds___redArg(x_2);
|
||||
x_25 = x_36;
|
||||
x_26 = x_39;
|
||||
x_25 = x_39;
|
||||
x_26 = x_36;
|
||||
x_27 = x_43;
|
||||
goto block_33;
|
||||
}
|
||||
|
|
@ -7483,8 +7480,8 @@ lean_object* x_44;
|
|||
lean_inc(x_2);
|
||||
x_44 = l_Lean_PersistentArray_get_x21___redArg(x_2, x_40, x_35);
|
||||
lean_dec(x_35);
|
||||
x_25 = x_36;
|
||||
x_26 = x_39;
|
||||
x_25 = x_39;
|
||||
x_26 = x_36;
|
||||
x_27 = x_44;
|
||||
goto block_33;
|
||||
}
|
||||
|
|
@ -8509,7 +8506,7 @@ lean_dec_ref(x_2);
|
|||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_IR_initFn___closed__0____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_() {
|
||||
static lean_object* _init_l_Lean_IR_initFn___closed__0____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -8517,7 +8514,7 @@ x_1 = lean_mk_string_unchecked("compiler", 8, 8);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_IR_initFn___closed__1____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_() {
|
||||
static lean_object* _init_l_Lean_IR_initFn___closed__1____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -8525,7 +8522,7 @@ x_1 = lean_mk_string_unchecked("ir", 2, 2);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_IR_initFn___closed__2____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_() {
|
||||
static lean_object* _init_l_Lean_IR_initFn___closed__2____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -8533,18 +8530,18 @@ x_1 = lean_mk_string_unchecked("elim_dead_branches", 18, 18);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_IR_initFn___closed__3____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_() {
|
||||
static lean_object* _init_l_Lean_IR_initFn___closed__3____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_IR_initFn___closed__2____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_;
|
||||
x_2 = l_Lean_IR_initFn___closed__1____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_;
|
||||
x_3 = l_Lean_IR_initFn___closed__0____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_;
|
||||
x_1 = l_Lean_IR_initFn___closed__2____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_;
|
||||
x_2 = l_Lean_IR_initFn___closed__1____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_;
|
||||
x_3 = l_Lean_IR_initFn___closed__0____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_;
|
||||
x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_IR_initFn___closed__4____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_() {
|
||||
static lean_object* _init_l_Lean_IR_initFn___closed__4____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
|
|
@ -8554,17 +8551,17 @@ x_3 = l_Lean_Name_str___override(x_2, x_1);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_IR_initFn___closed__5____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_() {
|
||||
static lean_object* _init_l_Lean_IR_initFn___closed__5____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_IR_UnreachableBranches_initFn___closed__1____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1073_;
|
||||
x_2 = l_Lean_IR_initFn___closed__4____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_;
|
||||
x_2 = l_Lean_IR_initFn___closed__4____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_;
|
||||
x_3 = l_Lean_Name_str___override(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_IR_initFn___closed__6____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_() {
|
||||
static lean_object* _init_l_Lean_IR_initFn___closed__6____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -8572,17 +8569,17 @@ x_1 = lean_mk_string_unchecked("initFn", 6, 6);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_IR_initFn___closed__7____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_() {
|
||||
static lean_object* _init_l_Lean_IR_initFn___closed__7____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_IR_initFn___closed__6____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_;
|
||||
x_2 = l_Lean_IR_initFn___closed__5____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_;
|
||||
x_1 = l_Lean_IR_initFn___closed__6____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_;
|
||||
x_2 = l_Lean_IR_initFn___closed__5____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_;
|
||||
x_3 = l_Lean_Name_str___override(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_IR_initFn___closed__8____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_() {
|
||||
static lean_object* _init_l_Lean_IR_initFn___closed__8____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -8590,27 +8587,27 @@ x_1 = lean_mk_string_unchecked("_@", 2, 2);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_IR_initFn___closed__9____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_() {
|
||||
static lean_object* _init_l_Lean_IR_initFn___closed__9____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_IR_initFn___closed__8____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_;
|
||||
x_2 = l_Lean_IR_initFn___closed__7____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_;
|
||||
x_1 = l_Lean_IR_initFn___closed__8____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_;
|
||||
x_2 = l_Lean_IR_initFn___closed__7____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_;
|
||||
x_3 = l_Lean_Name_str___override(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_IR_initFn___closed__10____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_() {
|
||||
static lean_object* _init_l_Lean_IR_initFn___closed__10____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_IR_UnreachableBranches_initFn___closed__0____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1073_;
|
||||
x_2 = l_Lean_IR_initFn___closed__9____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_;
|
||||
x_2 = l_Lean_IR_initFn___closed__9____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_;
|
||||
x_3 = l_Lean_Name_str___override(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_IR_initFn___closed__11____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_() {
|
||||
static lean_object* _init_l_Lean_IR_initFn___closed__11____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -8618,27 +8615,27 @@ x_1 = lean_mk_string_unchecked("Compiler", 8, 8);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_IR_initFn___closed__12____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_() {
|
||||
static lean_object* _init_l_Lean_IR_initFn___closed__12____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_IR_initFn___closed__11____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_;
|
||||
x_2 = l_Lean_IR_initFn___closed__10____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_;
|
||||
x_1 = l_Lean_IR_initFn___closed__11____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_;
|
||||
x_2 = l_Lean_IR_initFn___closed__10____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_;
|
||||
x_3 = l_Lean_Name_str___override(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_IR_initFn___closed__13____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_() {
|
||||
static lean_object* _init_l_Lean_IR_initFn___closed__13____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_IR_UnreachableBranches_initFn___closed__1____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1073_;
|
||||
x_2 = l_Lean_IR_initFn___closed__12____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_;
|
||||
x_2 = l_Lean_IR_initFn___closed__12____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_;
|
||||
x_3 = l_Lean_Name_str___override(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_IR_initFn___closed__14____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_() {
|
||||
static lean_object* _init_l_Lean_IR_initFn___closed__14____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -8646,17 +8643,17 @@ x_1 = lean_mk_string_unchecked("ElimDeadBranches", 16, 16);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_IR_initFn___closed__15____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_() {
|
||||
static lean_object* _init_l_Lean_IR_initFn___closed__15____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_IR_initFn___closed__14____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_;
|
||||
x_2 = l_Lean_IR_initFn___closed__13____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_;
|
||||
x_1 = l_Lean_IR_initFn___closed__14____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_;
|
||||
x_2 = l_Lean_IR_initFn___closed__13____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_;
|
||||
x_3 = l_Lean_Name_str___override(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_IR_initFn___closed__16____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_() {
|
||||
static lean_object* _init_l_Lean_IR_initFn___closed__16____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -8664,33 +8661,33 @@ x_1 = lean_mk_string_unchecked("_hyg", 4, 4);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_IR_initFn___closed__17____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_() {
|
||||
static lean_object* _init_l_Lean_IR_initFn___closed__17____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_IR_initFn___closed__16____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_;
|
||||
x_2 = l_Lean_IR_initFn___closed__15____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_;
|
||||
x_1 = l_Lean_IR_initFn___closed__16____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_;
|
||||
x_2 = l_Lean_IR_initFn___closed__15____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_;
|
||||
x_3 = l_Lean_Name_str___override(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_IR_initFn___closed__18____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_() {
|
||||
static lean_object* _init_l_Lean_IR_initFn___closed__18____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_unsigned_to_nat(3705u);
|
||||
x_2 = l_Lean_IR_initFn___closed__17____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_;
|
||||
x_1 = lean_unsigned_to_nat(3702u);
|
||||
x_2 = l_Lean_IR_initFn___closed__17____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_;
|
||||
x_3 = l_Lean_Name_num___override(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_2 = l_Lean_IR_initFn___closed__3____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_;
|
||||
x_2 = l_Lean_IR_initFn___closed__3____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_;
|
||||
x_3 = 1;
|
||||
x_4 = l_Lean_IR_initFn___closed__18____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_;
|
||||
x_4 = l_Lean_IR_initFn___closed__18____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_;
|
||||
x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -8887,45 +8884,45 @@ l_Lean_IR_elimDeadBranches___redArg___closed__1 = _init_l_Lean_IR_elimDeadBranch
|
|||
lean_mark_persistent(l_Lean_IR_elimDeadBranches___redArg___closed__1);
|
||||
l_Lean_IR_elimDeadBranches___redArg___closed__2 = _init_l_Lean_IR_elimDeadBranches___redArg___closed__2();
|
||||
lean_mark_persistent(l_Lean_IR_elimDeadBranches___redArg___closed__2);
|
||||
l_Lean_IR_initFn___closed__0____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_ = _init_l_Lean_IR_initFn___closed__0____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_();
|
||||
lean_mark_persistent(l_Lean_IR_initFn___closed__0____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_);
|
||||
l_Lean_IR_initFn___closed__1____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_ = _init_l_Lean_IR_initFn___closed__1____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_();
|
||||
lean_mark_persistent(l_Lean_IR_initFn___closed__1____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_);
|
||||
l_Lean_IR_initFn___closed__2____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_ = _init_l_Lean_IR_initFn___closed__2____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_();
|
||||
lean_mark_persistent(l_Lean_IR_initFn___closed__2____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_);
|
||||
l_Lean_IR_initFn___closed__3____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_ = _init_l_Lean_IR_initFn___closed__3____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_();
|
||||
lean_mark_persistent(l_Lean_IR_initFn___closed__3____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_);
|
||||
l_Lean_IR_initFn___closed__4____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_ = _init_l_Lean_IR_initFn___closed__4____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_();
|
||||
lean_mark_persistent(l_Lean_IR_initFn___closed__4____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_);
|
||||
l_Lean_IR_initFn___closed__5____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_ = _init_l_Lean_IR_initFn___closed__5____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_();
|
||||
lean_mark_persistent(l_Lean_IR_initFn___closed__5____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_);
|
||||
l_Lean_IR_initFn___closed__6____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_ = _init_l_Lean_IR_initFn___closed__6____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_();
|
||||
lean_mark_persistent(l_Lean_IR_initFn___closed__6____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_);
|
||||
l_Lean_IR_initFn___closed__7____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_ = _init_l_Lean_IR_initFn___closed__7____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_();
|
||||
lean_mark_persistent(l_Lean_IR_initFn___closed__7____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_);
|
||||
l_Lean_IR_initFn___closed__8____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_ = _init_l_Lean_IR_initFn___closed__8____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_();
|
||||
lean_mark_persistent(l_Lean_IR_initFn___closed__8____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_);
|
||||
l_Lean_IR_initFn___closed__9____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_ = _init_l_Lean_IR_initFn___closed__9____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_();
|
||||
lean_mark_persistent(l_Lean_IR_initFn___closed__9____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_);
|
||||
l_Lean_IR_initFn___closed__10____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_ = _init_l_Lean_IR_initFn___closed__10____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_();
|
||||
lean_mark_persistent(l_Lean_IR_initFn___closed__10____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_);
|
||||
l_Lean_IR_initFn___closed__11____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_ = _init_l_Lean_IR_initFn___closed__11____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_();
|
||||
lean_mark_persistent(l_Lean_IR_initFn___closed__11____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_);
|
||||
l_Lean_IR_initFn___closed__12____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_ = _init_l_Lean_IR_initFn___closed__12____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_();
|
||||
lean_mark_persistent(l_Lean_IR_initFn___closed__12____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_);
|
||||
l_Lean_IR_initFn___closed__13____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_ = _init_l_Lean_IR_initFn___closed__13____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_();
|
||||
lean_mark_persistent(l_Lean_IR_initFn___closed__13____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_);
|
||||
l_Lean_IR_initFn___closed__14____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_ = _init_l_Lean_IR_initFn___closed__14____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_();
|
||||
lean_mark_persistent(l_Lean_IR_initFn___closed__14____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_);
|
||||
l_Lean_IR_initFn___closed__15____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_ = _init_l_Lean_IR_initFn___closed__15____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_();
|
||||
lean_mark_persistent(l_Lean_IR_initFn___closed__15____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_);
|
||||
l_Lean_IR_initFn___closed__16____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_ = _init_l_Lean_IR_initFn___closed__16____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_();
|
||||
lean_mark_persistent(l_Lean_IR_initFn___closed__16____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_);
|
||||
l_Lean_IR_initFn___closed__17____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_ = _init_l_Lean_IR_initFn___closed__17____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_();
|
||||
lean_mark_persistent(l_Lean_IR_initFn___closed__17____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_);
|
||||
l_Lean_IR_initFn___closed__18____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_ = _init_l_Lean_IR_initFn___closed__18____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_();
|
||||
lean_mark_persistent(l_Lean_IR_initFn___closed__18____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_);
|
||||
if (builtin) {res = l_Lean_IR_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3705_(lean_io_mk_world());
|
||||
l_Lean_IR_initFn___closed__0____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_ = _init_l_Lean_IR_initFn___closed__0____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_();
|
||||
lean_mark_persistent(l_Lean_IR_initFn___closed__0____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_);
|
||||
l_Lean_IR_initFn___closed__1____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_ = _init_l_Lean_IR_initFn___closed__1____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_();
|
||||
lean_mark_persistent(l_Lean_IR_initFn___closed__1____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_);
|
||||
l_Lean_IR_initFn___closed__2____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_ = _init_l_Lean_IR_initFn___closed__2____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_();
|
||||
lean_mark_persistent(l_Lean_IR_initFn___closed__2____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_);
|
||||
l_Lean_IR_initFn___closed__3____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_ = _init_l_Lean_IR_initFn___closed__3____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_();
|
||||
lean_mark_persistent(l_Lean_IR_initFn___closed__3____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_);
|
||||
l_Lean_IR_initFn___closed__4____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_ = _init_l_Lean_IR_initFn___closed__4____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_();
|
||||
lean_mark_persistent(l_Lean_IR_initFn___closed__4____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_);
|
||||
l_Lean_IR_initFn___closed__5____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_ = _init_l_Lean_IR_initFn___closed__5____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_();
|
||||
lean_mark_persistent(l_Lean_IR_initFn___closed__5____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_);
|
||||
l_Lean_IR_initFn___closed__6____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_ = _init_l_Lean_IR_initFn___closed__6____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_();
|
||||
lean_mark_persistent(l_Lean_IR_initFn___closed__6____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_);
|
||||
l_Lean_IR_initFn___closed__7____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_ = _init_l_Lean_IR_initFn___closed__7____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_();
|
||||
lean_mark_persistent(l_Lean_IR_initFn___closed__7____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_);
|
||||
l_Lean_IR_initFn___closed__8____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_ = _init_l_Lean_IR_initFn___closed__8____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_();
|
||||
lean_mark_persistent(l_Lean_IR_initFn___closed__8____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_);
|
||||
l_Lean_IR_initFn___closed__9____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_ = _init_l_Lean_IR_initFn___closed__9____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_();
|
||||
lean_mark_persistent(l_Lean_IR_initFn___closed__9____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_);
|
||||
l_Lean_IR_initFn___closed__10____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_ = _init_l_Lean_IR_initFn___closed__10____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_();
|
||||
lean_mark_persistent(l_Lean_IR_initFn___closed__10____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_);
|
||||
l_Lean_IR_initFn___closed__11____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_ = _init_l_Lean_IR_initFn___closed__11____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_();
|
||||
lean_mark_persistent(l_Lean_IR_initFn___closed__11____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_);
|
||||
l_Lean_IR_initFn___closed__12____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_ = _init_l_Lean_IR_initFn___closed__12____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_();
|
||||
lean_mark_persistent(l_Lean_IR_initFn___closed__12____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_);
|
||||
l_Lean_IR_initFn___closed__13____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_ = _init_l_Lean_IR_initFn___closed__13____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_();
|
||||
lean_mark_persistent(l_Lean_IR_initFn___closed__13____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_);
|
||||
l_Lean_IR_initFn___closed__14____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_ = _init_l_Lean_IR_initFn___closed__14____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_();
|
||||
lean_mark_persistent(l_Lean_IR_initFn___closed__14____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_);
|
||||
l_Lean_IR_initFn___closed__15____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_ = _init_l_Lean_IR_initFn___closed__15____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_();
|
||||
lean_mark_persistent(l_Lean_IR_initFn___closed__15____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_);
|
||||
l_Lean_IR_initFn___closed__16____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_ = _init_l_Lean_IR_initFn___closed__16____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_();
|
||||
lean_mark_persistent(l_Lean_IR_initFn___closed__16____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_);
|
||||
l_Lean_IR_initFn___closed__17____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_ = _init_l_Lean_IR_initFn___closed__17____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_();
|
||||
lean_mark_persistent(l_Lean_IR_initFn___closed__17____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_);
|
||||
l_Lean_IR_initFn___closed__18____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_ = _init_l_Lean_IR_initFn___closed__18____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_();
|
||||
lean_mark_persistent(l_Lean_IR_initFn___closed__18____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_);
|
||||
if (builtin) {res = l_Lean_IR_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_3702_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
}return lean_io_result_mk_ok(lean_box(0));
|
||||
|
|
|
|||
159
stage0/stdlib/Lean/Compiler/IR/ToIR.c
generated
159
stage0/stdlib/Lean/Compiler/IR/ToIR.c
generated
|
|
@ -60,7 +60,6 @@ static lean_object* l_Lean_IR_ToIR_lowerProj___closed__0;
|
|||
lean_object* l_ReaderT_instApplicativeOfMonad___redArg___lam__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_ToIR_lowerCode___closed__3;
|
||||
uint8_t l_List_isEmpty___redArg(lean_object*);
|
||||
lean_object* l_Lean_Environment_addExtraName(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_IR_instInhabitedFnBody;
|
||||
static lean_object* l_Lean_IR_ToIR_lowerLet___closed__3;
|
||||
static lean_object* l_Lean_IR_ToIR_lowerLet___closed__15;
|
||||
|
|
@ -1395,93 +1394,103 @@ return x_2;
|
|||
LEAN_EXPORT lean_object* l_Lean_IR_ToIR_addDecl___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_30;
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7;
|
||||
x_4 = lean_st_ref_take(x_2, x_3);
|
||||
x_5 = lean_ctor_get(x_4, 0);
|
||||
lean_inc(x_5);
|
||||
x_6 = lean_ctor_get(x_4, 1);
|
||||
lean_inc(x_6);
|
||||
lean_dec_ref(x_4);
|
||||
x_7 = lean_ctor_get(x_5, 0);
|
||||
lean_inc_ref(x_7);
|
||||
x_8 = lean_ctor_get(x_5, 1);
|
||||
lean_inc(x_8);
|
||||
x_9 = lean_ctor_get(x_5, 2);
|
||||
lean_inc_ref(x_9);
|
||||
x_10 = lean_ctor_get(x_5, 3);
|
||||
lean_inc_ref(x_10);
|
||||
x_11 = lean_ctor_get(x_5, 4);
|
||||
lean_inc_ref(x_11);
|
||||
x_12 = lean_ctor_get(x_5, 6);
|
||||
lean_inc_ref(x_12);
|
||||
x_13 = lean_ctor_get(x_5, 7);
|
||||
lean_inc_ref(x_13);
|
||||
x_14 = lean_ctor_get(x_5, 8);
|
||||
lean_inc_ref(x_14);
|
||||
if (lean_is_exclusive(x_5)) {
|
||||
lean_ctor_release(x_5, 0);
|
||||
lean_ctor_release(x_5, 1);
|
||||
lean_ctor_release(x_5, 2);
|
||||
lean_ctor_release(x_5, 3);
|
||||
lean_ctor_release(x_5, 4);
|
||||
lean_ctor_release(x_5, 5);
|
||||
lean_ctor_release(x_5, 6);
|
||||
lean_ctor_release(x_5, 7);
|
||||
lean_ctor_release(x_5, 8);
|
||||
x_15 = x_5;
|
||||
} else {
|
||||
lean_dec_ref(x_5);
|
||||
x_15 = lean_box(0);
|
||||
}
|
||||
x_16 = l_Lean_IR_ToIR_addDecl___redArg___closed__0;
|
||||
x_30 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_30);
|
||||
x_17 = x_30;
|
||||
goto block_29;
|
||||
block_29:
|
||||
x_7 = !lean_is_exclusive(x_5);
|
||||
if (x_7 == 0)
|
||||
{
|
||||
lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23;
|
||||
x_18 = l_Lean_Environment_addExtraName(x_7, x_17);
|
||||
x_19 = l_Lean_PersistentEnvExtension_addEntry___redArg(x_16, x_18, x_1);
|
||||
x_20 = l_Lean_IR_ToIR_addDecl___redArg___closed__3;
|
||||
if (lean_is_scalar(x_15)) {
|
||||
x_21 = lean_alloc_ctor(0, 9, 0);
|
||||
} else {
|
||||
x_21 = x_15;
|
||||
}
|
||||
lean_ctor_set(x_21, 0, x_19);
|
||||
lean_ctor_set(x_21, 1, x_8);
|
||||
lean_ctor_set(x_21, 2, x_9);
|
||||
lean_ctor_set(x_21, 3, x_10);
|
||||
lean_ctor_set(x_21, 4, x_11);
|
||||
lean_ctor_set(x_21, 5, x_20);
|
||||
lean_ctor_set(x_21, 6, x_12);
|
||||
lean_ctor_set(x_21, 7, x_13);
|
||||
lean_ctor_set(x_21, 8, x_14);
|
||||
x_22 = lean_st_ref_set(x_2, x_21, x_6);
|
||||
x_23 = !lean_is_exclusive(x_22);
|
||||
if (x_23 == 0)
|
||||
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14;
|
||||
x_8 = lean_ctor_get(x_5, 0);
|
||||
x_9 = lean_ctor_get(x_5, 5);
|
||||
lean_dec(x_9);
|
||||
x_10 = l_Lean_IR_ToIR_addDecl___redArg___closed__0;
|
||||
x_11 = l_Lean_PersistentEnvExtension_addEntry___redArg(x_10, x_8, x_1);
|
||||
x_12 = l_Lean_IR_ToIR_addDecl___redArg___closed__3;
|
||||
lean_ctor_set(x_5, 5, x_12);
|
||||
lean_ctor_set(x_5, 0, x_11);
|
||||
x_13 = lean_st_ref_set(x_2, x_5, x_6);
|
||||
x_14 = !lean_is_exclusive(x_13);
|
||||
if (x_14 == 0)
|
||||
{
|
||||
lean_object* x_24; lean_object* x_25;
|
||||
x_24 = lean_ctor_get(x_22, 0);
|
||||
lean_dec(x_24);
|
||||
x_25 = lean_box(0);
|
||||
lean_ctor_set(x_22, 0, x_25);
|
||||
return x_22;
|
||||
lean_object* x_15; lean_object* x_16;
|
||||
x_15 = lean_ctor_get(x_13, 0);
|
||||
lean_dec(x_15);
|
||||
x_16 = lean_box(0);
|
||||
lean_ctor_set(x_13, 0, x_16);
|
||||
return x_13;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_26; lean_object* x_27; lean_object* x_28;
|
||||
x_26 = lean_ctor_get(x_22, 1);
|
||||
lean_inc(x_26);
|
||||
lean_dec(x_22);
|
||||
x_27 = lean_box(0);
|
||||
x_28 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_28, 0, x_27);
|
||||
lean_ctor_set(x_28, 1, x_26);
|
||||
return x_28;
|
||||
lean_object* x_17; lean_object* x_18; lean_object* x_19;
|
||||
x_17 = lean_ctor_get(x_13, 1);
|
||||
lean_inc(x_17);
|
||||
lean_dec(x_13);
|
||||
x_18 = lean_box(0);
|
||||
x_19 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_19, 0, x_18);
|
||||
lean_ctor_set(x_19, 1, x_17);
|
||||
return x_19;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36;
|
||||
x_20 = lean_ctor_get(x_5, 0);
|
||||
x_21 = lean_ctor_get(x_5, 1);
|
||||
x_22 = lean_ctor_get(x_5, 2);
|
||||
x_23 = lean_ctor_get(x_5, 3);
|
||||
x_24 = lean_ctor_get(x_5, 4);
|
||||
x_25 = lean_ctor_get(x_5, 6);
|
||||
x_26 = lean_ctor_get(x_5, 7);
|
||||
x_27 = lean_ctor_get(x_5, 8);
|
||||
lean_inc(x_27);
|
||||
lean_inc(x_26);
|
||||
lean_inc(x_25);
|
||||
lean_inc(x_24);
|
||||
lean_inc(x_23);
|
||||
lean_inc(x_22);
|
||||
lean_inc(x_21);
|
||||
lean_inc(x_20);
|
||||
lean_dec(x_5);
|
||||
x_28 = l_Lean_IR_ToIR_addDecl___redArg___closed__0;
|
||||
x_29 = l_Lean_PersistentEnvExtension_addEntry___redArg(x_28, x_20, x_1);
|
||||
x_30 = l_Lean_IR_ToIR_addDecl___redArg___closed__3;
|
||||
x_31 = lean_alloc_ctor(0, 9, 0);
|
||||
lean_ctor_set(x_31, 0, x_29);
|
||||
lean_ctor_set(x_31, 1, x_21);
|
||||
lean_ctor_set(x_31, 2, x_22);
|
||||
lean_ctor_set(x_31, 3, x_23);
|
||||
lean_ctor_set(x_31, 4, x_24);
|
||||
lean_ctor_set(x_31, 5, x_30);
|
||||
lean_ctor_set(x_31, 6, x_25);
|
||||
lean_ctor_set(x_31, 7, x_26);
|
||||
lean_ctor_set(x_31, 8, x_27);
|
||||
x_32 = lean_st_ref_set(x_2, x_31, x_6);
|
||||
x_33 = lean_ctor_get(x_32, 1);
|
||||
lean_inc(x_33);
|
||||
if (lean_is_exclusive(x_32)) {
|
||||
lean_ctor_release(x_32, 0);
|
||||
lean_ctor_release(x_32, 1);
|
||||
x_34 = x_32;
|
||||
} else {
|
||||
lean_dec_ref(x_32);
|
||||
x_34 = lean_box(0);
|
||||
}
|
||||
x_35 = lean_box(0);
|
||||
if (lean_is_scalar(x_34)) {
|
||||
x_36 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
x_36 = x_34;
|
||||
}
|
||||
lean_ctor_set(x_36, 0, x_35);
|
||||
lean_ctor_set(x_36, 1, x_33);
|
||||
return x_36;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_IR_ToIR_addDecl(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
|
|
|
|||
213
stage0/stdlib/Lean/Compiler/LCNF/ElimDeadBranches.c
generated
213
stage0/stdlib/Lean/Compiler/LCNF/ElimDeadBranches.c
generated
|
|
@ -13,7 +13,7 @@
|
|||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
static lean_object* l_Lean_Compiler_LCNF_initFn___closed__4____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_;
|
||||
static lean_object* l_Lean_Compiler_LCNF_initFn___closed__12____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_;
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_modifyAssignment___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Compiler_LCNF_mkAuxLetDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Array_Array_repr___at___Lean_Compiler_LCNF_UnreachableBranches_reprValue____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_56__spec__0___closed__9;
|
||||
|
|
@ -28,6 +28,7 @@ static lean_object* l_panic___at___Lean_Compiler_LCNF_UnreachableBranches_Value_
|
|||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_updateVarAssignment___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_panic___at___Lean_Compiler_LCNF_UnreachableBranches_Value_getLiteral_go_spec__0___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Array_isEqvAux___at___Lean_Compiler_LCNF_UnreachableBranches_Value_beq_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_initFn___closed__13____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_;
|
||||
lean_object* l_Lean_Core_instMonadCoreM___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___Lean_Compiler_LCNF_UnreachableBranches_updateFunDeclParamsAssignment_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Prod_repr___at___Array_Array_repr___at___Lean_Compiler_LCNF_UnreachableBranches_elimDead_spec__2_spec__2___redArg___closed__2;
|
||||
|
|
@ -63,7 +64,6 @@ lean_object* l_Std_Format_fill(lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_updateFunDeclParamsAssignment___lam__0(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_initFn___closed__5____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_2069_;
|
||||
size_t lean_uint64_to_usize(uint64_t);
|
||||
static lean_object* l_Lean_Compiler_LCNF_initFn___closed__13____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_;
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_reprValue____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_56____boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_Value_ofNat_goBig(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_Value_truncate_go(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -86,7 +86,6 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_updateVarAssig
|
|||
LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___Array_Array_repr___at___Lean_Compiler_LCNF_UnreachableBranches_elimDead_spec__2_spec__3(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_findFunVal_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_addTrace___at___Lean_Compiler_LCNF_UnreachableBranches_elimDead_go_spec__1___redArg___closed__9;
|
||||
static lean_object* l_Lean_Compiler_LCNF_initFn___closed__12____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_;
|
||||
LEAN_EXPORT uint8_t l_Lean_Compiler_LCNF_UnreachableBranches_Value_beq___lam__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_updateFunDeclParamsAssignment___lam__0___boxed(lean_object*, lean_object*);
|
||||
uint8_t lean_usize_dec_eq(size_t, size_t);
|
||||
|
|
@ -111,8 +110,10 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_getAssignment_
|
|||
static lean_object* l_Lean_Compiler_LCNF_Decl_elimDeadBranches___closed__3;
|
||||
lean_object* l_Lean_Environment_find_x3f(lean_object*, lean_object*, uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_Value_widening(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_initFn___closed__11____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_;
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_____private_Lean_Compiler_LCNF_ElimDeadBranches_0__Lean_Compiler_LCNF_UnreachableBranches_resetNestedFunDeclParams_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___Lean_Compiler_LCNF_UnreachableBranches_updateFunDeclParamsAssignment_spec__0___redArg(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_initFn___closed__9____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_;
|
||||
lean_object* l_Lean_Compiler_LCNF_getBinderName___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_elimDead(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_____private_Lean_Compiler_LCNF_ElimDeadBranches_0__Lean_Compiler_LCNF_UnreachableBranches_resetNestedFunDeclParams_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -122,12 +123,12 @@ static lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_getFunctionSummary_
|
|||
lean_object* l_Lean_PersistentHashMap_toArray___at___Lean_initFn____x40_Lean_Structure___hyg_447__spec__0___redArg(lean_object*);
|
||||
static lean_object* l_Lean_addTrace___at___Lean_Compiler_LCNF_UnreachableBranches_elimDead_go_spec__1___redArg___closed__6;
|
||||
lean_object* l_ReaderT_instApplicativeOfMonad___redArg___lam__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_initFn___closed__8____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_;
|
||||
uint8_t l_Lean_Name_quickLt(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_mkStr5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___Lean_Compiler_LCNF_UnreachableBranches_updateFunDeclParamsTop_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_Value_containsCtor___lam__0___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___Lean_Compiler_LCNF_UnreachableBranches_initFn____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_2069__spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Environment_addExtraName(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Prod_repr___at___Array_Array_repr___at___Lean_Compiler_LCNF_UnreachableBranches_elimDead_spec__2_spec__2(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_reprValue___closed__5____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_56_;
|
||||
LEAN_EXPORT lean_object* l_List_elem___at___Lean_Compiler_LCNF_UnreachableBranches_Value_truncate_go_spec__2___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -165,6 +166,7 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_getFunVal___re
|
|||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_Value_truncate(lean_object*, lean_object*);
|
||||
size_t lean_ptr_addr(lean_object*);
|
||||
lean_object* l_Std_Iterators_instIteratorMap___redArg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_initFn___closed__14____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_;
|
||||
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___Lean_Compiler_LCNF_UnreachableBranches_updateFunDeclParamsAssignment_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_elimDead___lam__0___boxed(lean_object*);
|
||||
extern lean_object* l_Lean_Compiler_LCNF_instInhabitedDecl;
|
||||
|
|
@ -184,7 +186,6 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_Value_beq___bo
|
|||
static lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_Value_instBEq___closed__0;
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_updateVarAssignment___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_st_ref_take(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_initFn___closed__0____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_;
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_updateCurrFnSummary(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___Array_filterMapM___at___Lean_Compiler_LCNF_UnreachableBranches_elimDead_go_spec__2_spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_functionSummariesExt;
|
||||
|
|
@ -212,6 +213,7 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_Value_ofNat(le
|
|||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_findFunVal_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_registerTraceClass(lean_object*, uint8_t, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_getAssignment___redArg___closed__0;
|
||||
static lean_object* l_Lean_Compiler_LCNF_initFn___closed__10____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_;
|
||||
LEAN_EXPORT lean_object* l_Nat_foldTR_loop___at___Lean_Compiler_LCNF_Decl_elimDeadBranches_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_instMonadEIO(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___Lean_Compiler_LCNF_UnreachableBranches_interpCode_spec__0(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -244,7 +246,6 @@ lean_object* l_instInhabitedForall___redArg___lam__0___boxed(lean_object*, lean_
|
|||
LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___Lean_Compiler_LCNF_UnreachableBranches_Value_isLiteral_spec__0(lean_object*, size_t, size_t);
|
||||
static lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_getFunctionSummary_x3f___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___Lean_Compiler_LCNF_UnreachableBranches_Value_getLiteral_go_spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___Lean_Compiler_LCNF_UnreachableBranches_interpCode_interpLetValue_spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_addFunctionSummary___closed__0;
|
||||
lean_object* lean_st_mk_ref(lean_object*, lean_object*);
|
||||
|
|
@ -264,6 +265,7 @@ LEAN_EXPORT lean_object* l_panic___at___Lean_Compiler_LCNF_UnreachableBranches_V
|
|||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Compiler_LCNF_UnreachableBranches_elimDead_go_spec__5_spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_reprValue___closed__1____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_56_;
|
||||
static lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_updateFunDeclParamsAssignment___closed__6;
|
||||
static lean_object* l_Lean_Compiler_LCNF_initFn___closed__0____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_;
|
||||
static lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_Value_getLiteral_getNatConstant___closed__0;
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_interpCode_handleFunVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Array_Array_repr___at___Lean_Compiler_LCNF_UnreachableBranches_reprValue____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_56__spec__0___closed__0;
|
||||
|
|
@ -271,6 +273,7 @@ LEAN_EXPORT lean_object* l_Array_binSearchAux___at___Lean_Compiler_LCNF_Unreacha
|
|||
static lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_reprValue___closed__4____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_56_;
|
||||
static lean_object* l_Array_Array_repr___at___Lean_Compiler_LCNF_UnreachableBranches_reprValue____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_56__spec__0___closed__7;
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_updateFunDeclParamsAssignment___lam__2(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_initFn___closed__4____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_;
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_findVarValue___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_Value_getLiteral_go___closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_inferStep(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -279,13 +282,11 @@ lean_object* l_Lean_PersistentArray_push___redArg(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_elimDeadBranches;
|
||||
LEAN_EXPORT lean_object* l_Nat_foldTR_loop___at___Lean_Compiler_LCNF_Decl_elimDeadBranches_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_addTrace___at___Lean_Compiler_LCNF_UnreachableBranches_elimDead_go_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_initFn___closed__6____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_;
|
||||
uint8_t l_Lean_Compiler_LCNF_isDeclPublic(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateFunDeclImp___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Compiler_LCNF_UnreachableBranches_inferStep_spec__0___boxed(lean_object**);
|
||||
static lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_updateFunDeclParamsAssignment___closed__10;
|
||||
static lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_updateFunDeclParamsAssignment___closed__3;
|
||||
static lean_object* l_Lean_Compiler_LCNF_initFn___closed__7____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_;
|
||||
static lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_updateFunDeclParamsAssignment___closed__11;
|
||||
LEAN_EXPORT uint8_t l_Lean_Compiler_LCNF_UnreachableBranches_Value_beq___lam__2(lean_object*, lean_object*);
|
||||
uint8_t lean_name_eq(lean_object*, lean_object*);
|
||||
|
|
@ -304,7 +305,6 @@ static lean_object* l_Array_Array_repr___at___Lean_Compiler_LCNF_UnreachableBran
|
|||
LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___Lean_Compiler_LCNF_UnreachableBranches_elimDead_go_spec__0___redArg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_getAssignment___redArg___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_resetVarAssignment___redArg___lam__0(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_initFn___closed__8____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_;
|
||||
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at___Lean_Compiler_LCNF_UnreachableBranches_updateFunDeclParamsAssignment_spec__1___redArg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_foldl___at___Lean_Compiler_LCNF_UnreachableBranches_Value_proj_spec__0(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_reprValue___closed__7____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_56_;
|
||||
|
|
@ -331,17 +331,21 @@ extern lean_object* l_Std_PRange_instUpwardEnumerableNat;
|
|||
static lean_object* l___private_Lean_Compiler_LCNF_ElimDeadBranches_0__Lean_Compiler_LCNF_UnreachableBranches_findAtSorted_x3f___closed__0;
|
||||
static lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_Value_getLiteral_go___closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___Lean_Compiler_LCNF_UnreachableBranches_elimDead_go_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_initFn___closed__6____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_;
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___Lean_Compiler_LCNF_UnreachableBranches_Value_getLiteral_go_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Compiler_LCNF_attachCodeDecls(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Compiler_LCNF_UnreachableBranches_inferStep_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_initFn___closed__5____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_;
|
||||
lean_object* l_Lean_Compiler_LCNF_getFunDecl___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_elimDead_go___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_Value_getLiteral_getNatConstant___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___Lean_Compiler_LCNF_UnreachableBranches_interpCode_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___Lean_Compiler_LCNF_UnreachableBranches_updateFunDeclParamsAssignment_spec__0___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Compiler_LCNF_UnreachableBranches_elimDead_go_spec__5_spec__5___lam__0(uint8_t, lean_object*);
|
||||
static lean_object* l_List_repr___at___Lean_Compiler_LCNF_UnreachableBranches_reprValue____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_56__spec__3___redArg___closed__3;
|
||||
static lean_object* l_Lean_Compiler_LCNF_Decl_elimDeadBranches___closed__1;
|
||||
static lean_object* l_Lean_Compiler_LCNF_initFn___closed__1____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_;
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_updateFunDeclParamsAssignment(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Compiler_LCNF_UnreachableBranches_elimDead_go_spec__5_spec__5___closed__1;
|
||||
lean_object* l_Lean_PersistentHashMap_find_x3f___at___Lean_SMap_find_x3f_x27___at___Lean_Kernel_Environment_find_x3f_spec__0_spec__1___redArg(lean_object*, lean_object*);
|
||||
|
|
@ -355,11 +359,11 @@ LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___Lean_Compiler_LCNF_
|
|||
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___Lean_Compiler_LCNF_UnreachableBranches_elimDead_spec__6(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___Lean_Compiler_LCNF_UnreachableBranches_elimDead_spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___Lean_Compiler_LCNF_UnreachableBranches_interpCode_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_initFn___closed__10____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_;
|
||||
static lean_object* l_Prod_repr___at___Array_Array_repr___at___Lean_Compiler_LCNF_UnreachableBranches_elimDead_spec__2_spec__2___redArg___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_findArgValue___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Std_DHashMap_Internal_AssocList_contains___at_____private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_collectType_spec__0___redArg(lean_object*, lean_object*);
|
||||
lean_object* lean_array_fget(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_initFn___closed__3____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_;
|
||||
static lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_getFunctionSummary_x3f___closed__0;
|
||||
static lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_Value_getLiteral_go___closed__6;
|
||||
static lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_initFn___closed__1____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_2069_;
|
||||
|
|
@ -380,13 +384,13 @@ lean_object* l_Lean_Compiler_LCNF_normCodeImp(uint8_t, lean_object*, lean_object
|
|||
static lean_object* l_Array_Array_repr___at___Lean_Compiler_LCNF_UnreachableBranches_reprValue____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_56__spec__0___closed__4;
|
||||
lean_object* l_Lean_Name_beq___boxed(lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_initFn___closed__9____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_;
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_Value_isLiteral___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ElimDeadBranches_0__Lean_Compiler_LCNF_UnreachableBranches_decLt___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___Lean_Compiler_LCNF_UnreachableBranches_interpCode_interpLetValue_spec__0___redArg(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_qsort_sort___at___Lean_Compiler_LCNF_UnreachableBranches_initFn____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_2069__spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Compiler_LCNF_findFunDecl_x3f___redArg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_initFn___closed__2____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ElimDeadBranches_0__Lean_Compiler_LCNF_UnreachableBranches_resetNestedFunDeclParams(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Array_mapMUnsafe_map___at___Lean_Compiler_LCNF_UnreachableBranches_inferMain_spec__0___redArg___closed__0;
|
||||
static lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_Value_ofNat_goBig___closed__1;
|
||||
|
|
@ -406,7 +410,6 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_findArgValue__
|
|||
LEAN_EXPORT lean_object* l_Prod_repr___at___Array_Array_repr___at___Lean_Compiler_LCNF_UnreachableBranches_elimDead_spec__2_spec__2___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_Value_addChoice___closed__3;
|
||||
LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___Lean_Compiler_LCNF_UnreachableBranches_Value_getCtorArgs_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_initFn___closed__11____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_;
|
||||
uint64_t lean_uint64_xor(uint64_t, uint64_t);
|
||||
lean_object* lean_uint16_to_nat(uint16_t);
|
||||
lean_object* l_Repr_addAppParen(lean_object*, lean_object*);
|
||||
|
|
@ -451,7 +454,6 @@ lean_object* l_Id_instMonad___lam__6(lean_object*, lean_object*, lean_object*, l
|
|||
lean_object* l_Std_Format_joinSep___at___Lean_Syntax_formatStxAux_spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_elimDeadBranches(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Nat_foldTR_loop___at___Lean_Compiler_LCNF_Decl_elimDeadBranches_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_initFn___closed__3____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_;
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_Value_maxValueDepth;
|
||||
static lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_updateFunDeclParamsAssignment___closed__12;
|
||||
size_t lean_usize_sub(size_t, size_t);
|
||||
|
|
@ -474,7 +476,6 @@ LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___Lean_Compiler_LCNF_Decl_e
|
|||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_modifyAssignment___redArg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_Value_proj___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_Value_getLiteral_go___closed__0;
|
||||
static lean_object* l_Lean_Compiler_LCNF_initFn___closed__1____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_;
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_updateCurrFnSummary___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_qsort_sort___at___Lean_Compiler_LCNF_UnreachableBranches_initFn____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_2069__spec__1___redArg___lam__0___boxed(lean_object*, lean_object*);
|
||||
lean_object* lean_array_uget(lean_object*, size_t);
|
||||
|
|
@ -482,12 +483,10 @@ static lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_Value_ofNat_goSmall
|
|||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___Array_filterMapM___at___Lean_Compiler_LCNF_UnreachableBranches_elimDead_go_spec__2_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
size_t lean_array_size(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___Lean_Compiler_LCNF_UnreachableBranches_interpCode_spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_initFn___closed__14____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_;
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_Value_merge(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_Value_containsCtor___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_mapTR_loop___at___Lean_Compiler_LCNF_UnreachableBranches_Value_truncate_go_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_updateFunDeclParamsAssignment___closed__4;
|
||||
static lean_object* l_Lean_Compiler_LCNF_initFn___closed__2____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_;
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_getAssignment___redArg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_Array_repr___at___Lean_Compiler_LCNF_UnreachableBranches_elimDead_spec__2(lean_object*);
|
||||
|
|
@ -496,6 +495,7 @@ lean_object* l_Lean_Name_mkStr1(lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_findVarValue___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_filterMapM___at___Lean_Compiler_LCNF_UnreachableBranches_elimDead_go_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___Lean_Compiler_LCNF_UnreachableBranches_elimDead_go_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_initFn___closed__7____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_;
|
||||
lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___Lean_Compiler_LCNF_getType_spec__0___redArg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___Lean_Compiler_LCNF_UnreachableBranches_updateFunDeclParamsAssignment_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_reprValue___closed__3____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_56_;
|
||||
|
|
@ -521,7 +521,6 @@ LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_getD___at___Lean_Comp
|
|||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___Lean_Compiler_LCNF_UnreachableBranches_Value_truncate_go_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Id_instMonad___lam__0(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_binSearchAux___at___Lean_Compiler_LCNF_UnreachableBranches_getFunctionSummary_x3f_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_initFn___closed__5____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_;
|
||||
lean_object* lean_array_get(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Nat_foldTR_loop___at___Lean_Compiler_LCNF_Decl_elimDeadBranches_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_panic___at___Lean_Compiler_LCNF_UnreachableBranches_Value_getLiteral_go_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -5535,15 +5534,13 @@ return x_1;
|
|||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_addFunctionSummary(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7;
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_4 = l_Lean_Compiler_LCNF_UnreachableBranches_addFunctionSummary___closed__0;
|
||||
lean_inc(x_2);
|
||||
x_5 = l_Lean_Environment_addExtraName(x_1, x_2);
|
||||
x_6 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_6, 0, x_2);
|
||||
lean_ctor_set(x_6, 1, x_3);
|
||||
x_7 = l_Lean_PersistentEnvExtension_addEntry___redArg(x_4, x_5, x_6);
|
||||
return x_7;
|
||||
x_5 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_5, 0, x_2);
|
||||
lean_ctor_set(x_5, 1, x_3);
|
||||
x_6 = l_Lean_PersistentEnvExtension_addEntry___redArg(x_4, x_1, x_5);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_binSearchAux___at___Lean_Compiler_LCNF_UnreachableBranches_getFunctionSummary_x3f_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
|
|
@ -8834,9 +8831,9 @@ x_38 = l_Array_toSubarray___redArg(x_33, x_36, x_37);
|
|||
x_39 = l_Array_ofSubarray___redArg(x_38);
|
||||
lean_dec_ref(x_38);
|
||||
x_40 = lean_array_get_size(x_39);
|
||||
x_41 = lean_nat_dec_eq(x_35, x_40);
|
||||
x_41 = lean_nat_dec_eq(x_34, x_40);
|
||||
lean_dec(x_40);
|
||||
lean_dec(x_35);
|
||||
lean_dec(x_34);
|
||||
if (x_41 == 0)
|
||||
{
|
||||
lean_object* x_42; lean_object* x_43;
|
||||
|
|
@ -8846,7 +8843,7 @@ lean_dec_ref(x_2);
|
|||
x_42 = lean_box(1);
|
||||
x_43 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_43, 0, x_42);
|
||||
lean_ctor_set(x_43, 1, x_34);
|
||||
lean_ctor_set(x_43, 1, x_35);
|
||||
return x_43;
|
||||
}
|
||||
else
|
||||
|
|
@ -8854,7 +8851,7 @@ else
|
|||
size_t x_44; size_t x_45; lean_object* x_46; uint8_t x_47;
|
||||
x_44 = lean_array_size(x_39);
|
||||
x_45 = 0;
|
||||
x_46 = l_Array_mapMUnsafe_map___at___Lean_Compiler_LCNF_UnreachableBranches_interpCode_interpLetValue_spec__0___redArg(x_44, x_45, x_39, x_2, x_3, x_34);
|
||||
x_46 = l_Array_mapMUnsafe_map___at___Lean_Compiler_LCNF_UnreachableBranches_interpCode_interpLetValue_spec__0___redArg(x_44, x_45, x_39, x_2, x_3, x_35);
|
||||
lean_dec_ref(x_2);
|
||||
x_47 = !lean_is_exclusive(x_46);
|
||||
if (x_47 == 0)
|
||||
|
|
@ -8930,8 +8927,8 @@ lean_dec_ref(x_68);
|
|||
x_71 = lean_nat_dec_le(x_69, x_59);
|
||||
if (x_71 == 0)
|
||||
{
|
||||
x_34 = x_64;
|
||||
x_35 = x_70;
|
||||
x_34 = x_70;
|
||||
x_35 = x_64;
|
||||
x_36 = x_69;
|
||||
x_37 = x_60;
|
||||
goto block_54;
|
||||
|
|
@ -8939,8 +8936,8 @@ goto block_54;
|
|||
else
|
||||
{
|
||||
lean_dec(x_69);
|
||||
x_34 = x_64;
|
||||
x_35 = x_70;
|
||||
x_34 = x_70;
|
||||
x_35 = x_64;
|
||||
x_36 = x_59;
|
||||
x_37 = x_60;
|
||||
goto block_54;
|
||||
|
|
@ -13620,8 +13617,8 @@ if (x_11 == 0)
|
|||
lean_object* x_12; lean_object* x_13;
|
||||
lean_dec_ref(x_2);
|
||||
x_12 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_12, 0, x_9);
|
||||
lean_ctor_set(x_12, 1, x_8);
|
||||
lean_ctor_set(x_12, 0, x_8);
|
||||
lean_ctor_set(x_12, 1, x_9);
|
||||
x_13 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_13, 0, x_12);
|
||||
lean_ctor_set(x_13, 1, x_10);
|
||||
|
|
@ -13645,8 +13642,8 @@ if (x_19 == 0)
|
|||
lean_object* x_20; lean_object* x_21;
|
||||
lean_dec_ref(x_2);
|
||||
x_20 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_20, 0, x_17);
|
||||
lean_ctor_set(x_20, 1, x_16);
|
||||
lean_ctor_set(x_20, 0, x_16);
|
||||
lean_ctor_set(x_20, 1, x_17);
|
||||
x_21 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_21, 0, x_20);
|
||||
lean_ctor_set(x_21, 1, x_18);
|
||||
|
|
@ -13715,8 +13712,8 @@ x_47 = lean_usize_dec_eq(x_45, x_46);
|
|||
if (x_47 == 0)
|
||||
{
|
||||
lean_dec_ref(x_43);
|
||||
x_8 = x_41;
|
||||
x_9 = x_38;
|
||||
x_8 = x_38;
|
||||
x_9 = x_41;
|
||||
x_10 = x_42;
|
||||
x_11 = x_47;
|
||||
goto block_15;
|
||||
|
|
@ -13728,8 +13725,8 @@ x_48 = lean_ptr_addr(x_43);
|
|||
lean_dec_ref(x_43);
|
||||
x_49 = lean_ptr_addr(x_38);
|
||||
x_50 = lean_usize_dec_eq(x_48, x_49);
|
||||
x_8 = x_41;
|
||||
x_9 = x_38;
|
||||
x_8 = x_38;
|
||||
x_9 = x_41;
|
||||
x_10 = x_42;
|
||||
x_11 = x_50;
|
||||
goto block_15;
|
||||
|
|
@ -13754,8 +13751,8 @@ x_57 = lean_usize_dec_eq(x_55, x_56);
|
|||
if (x_57 == 0)
|
||||
{
|
||||
lean_dec_ref(x_53);
|
||||
x_16 = x_51;
|
||||
x_17 = x_38;
|
||||
x_16 = x_38;
|
||||
x_17 = x_51;
|
||||
x_18 = x_52;
|
||||
x_19 = x_57;
|
||||
goto block_23;
|
||||
|
|
@ -13767,8 +13764,8 @@ x_58 = lean_ptr_addr(x_53);
|
|||
lean_dec_ref(x_53);
|
||||
x_59 = lean_ptr_addr(x_38);
|
||||
x_60 = lean_usize_dec_eq(x_58, x_59);
|
||||
x_16 = x_51;
|
||||
x_17 = x_38;
|
||||
x_16 = x_38;
|
||||
x_17 = x_51;
|
||||
x_18 = x_52;
|
||||
x_19 = x_60;
|
||||
goto block_23;
|
||||
|
|
@ -15616,7 +15613,7 @@ x_1 = l_Lean_Compiler_LCNF_elimDeadBranches___closed__2;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_LCNF_initFn___closed__0____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_() {
|
||||
static lean_object* _init_l_Lean_Compiler_LCNF_initFn___closed__0____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
|
|
@ -15626,27 +15623,27 @@ x_3 = l_Lean_Name_str___override(x_2, x_1);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_LCNF_initFn___closed__1____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_() {
|
||||
static lean_object* _init_l_Lean_Compiler_LCNF_initFn___closed__1____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Compiler_LCNF_UnreachableBranches_initFn___closed__1____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_2069_;
|
||||
x_2 = l_Lean_Compiler_LCNF_initFn___closed__0____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_;
|
||||
x_2 = l_Lean_Compiler_LCNF_initFn___closed__0____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_;
|
||||
x_3 = l_Lean_Name_str___override(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_LCNF_initFn___closed__2____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_() {
|
||||
static lean_object* _init_l_Lean_Compiler_LCNF_initFn___closed__2____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Compiler_LCNF_UnreachableBranches_initFn___closed__2____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_2069_;
|
||||
x_2 = l_Lean_Compiler_LCNF_initFn___closed__1____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_;
|
||||
x_2 = l_Lean_Compiler_LCNF_initFn___closed__1____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_;
|
||||
x_3 = l_Lean_Name_str___override(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_LCNF_initFn___closed__3____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_() {
|
||||
static lean_object* _init_l_Lean_Compiler_LCNF_initFn___closed__3____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -15654,17 +15651,17 @@ x_1 = lean_mk_string_unchecked("initFn", 6, 6);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_LCNF_initFn___closed__4____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_() {
|
||||
static lean_object* _init_l_Lean_Compiler_LCNF_initFn___closed__4____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Compiler_LCNF_initFn___closed__3____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_;
|
||||
x_2 = l_Lean_Compiler_LCNF_initFn___closed__2____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_;
|
||||
x_1 = l_Lean_Compiler_LCNF_initFn___closed__3____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_;
|
||||
x_2 = l_Lean_Compiler_LCNF_initFn___closed__2____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_;
|
||||
x_3 = l_Lean_Name_str___override(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_LCNF_initFn___closed__5____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_() {
|
||||
static lean_object* _init_l_Lean_Compiler_LCNF_initFn___closed__5____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -15672,47 +15669,47 @@ x_1 = lean_mk_string_unchecked("_@", 2, 2);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_LCNF_initFn___closed__6____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_() {
|
||||
static lean_object* _init_l_Lean_Compiler_LCNF_initFn___closed__6____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Compiler_LCNF_initFn___closed__5____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_;
|
||||
x_2 = l_Lean_Compiler_LCNF_initFn___closed__4____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_;
|
||||
x_1 = l_Lean_Compiler_LCNF_initFn___closed__5____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_;
|
||||
x_2 = l_Lean_Compiler_LCNF_initFn___closed__4____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_;
|
||||
x_3 = l_Lean_Name_str___override(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_LCNF_initFn___closed__7____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_() {
|
||||
static lean_object* _init_l_Lean_Compiler_LCNF_initFn___closed__7____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Compiler_LCNF_UnreachableBranches_initFn___closed__0____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_2069_;
|
||||
x_2 = l_Lean_Compiler_LCNF_initFn___closed__6____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_;
|
||||
x_2 = l_Lean_Compiler_LCNF_initFn___closed__6____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_;
|
||||
x_3 = l_Lean_Name_str___override(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_LCNF_initFn___closed__8____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_() {
|
||||
static lean_object* _init_l_Lean_Compiler_LCNF_initFn___closed__8____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Compiler_LCNF_UnreachableBranches_initFn___closed__1____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_2069_;
|
||||
x_2 = l_Lean_Compiler_LCNF_initFn___closed__7____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_;
|
||||
x_2 = l_Lean_Compiler_LCNF_initFn___closed__7____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_;
|
||||
x_3 = l_Lean_Name_str___override(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_LCNF_initFn___closed__9____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_() {
|
||||
static lean_object* _init_l_Lean_Compiler_LCNF_initFn___closed__9____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Compiler_LCNF_UnreachableBranches_initFn___closed__2____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_2069_;
|
||||
x_2 = l_Lean_Compiler_LCNF_initFn___closed__8____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_;
|
||||
x_2 = l_Lean_Compiler_LCNF_initFn___closed__8____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_;
|
||||
x_3 = l_Lean_Name_str___override(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_LCNF_initFn___closed__10____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_() {
|
||||
static lean_object* _init_l_Lean_Compiler_LCNF_initFn___closed__10____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -15720,17 +15717,17 @@ x_1 = lean_mk_string_unchecked("ElimDeadBranches", 16, 16);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_LCNF_initFn___closed__11____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_() {
|
||||
static lean_object* _init_l_Lean_Compiler_LCNF_initFn___closed__11____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Compiler_LCNF_initFn___closed__10____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_;
|
||||
x_2 = l_Lean_Compiler_LCNF_initFn___closed__9____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_;
|
||||
x_1 = l_Lean_Compiler_LCNF_initFn___closed__10____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_;
|
||||
x_2 = l_Lean_Compiler_LCNF_initFn___closed__9____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_;
|
||||
x_3 = l_Lean_Name_str___override(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_LCNF_initFn___closed__12____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_() {
|
||||
static lean_object* _init_l_Lean_Compiler_LCNF_initFn___closed__12____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -15738,33 +15735,33 @@ x_1 = lean_mk_string_unchecked("_hyg", 4, 4);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_LCNF_initFn___closed__13____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_() {
|
||||
static lean_object* _init_l_Lean_Compiler_LCNF_initFn___closed__13____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Compiler_LCNF_initFn___closed__12____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_;
|
||||
x_2 = l_Lean_Compiler_LCNF_initFn___closed__11____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_;
|
||||
x_1 = l_Lean_Compiler_LCNF_initFn___closed__12____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_;
|
||||
x_2 = l_Lean_Compiler_LCNF_initFn___closed__11____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_;
|
||||
x_3 = l_Lean_Name_str___override(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_LCNF_initFn___closed__14____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_() {
|
||||
static lean_object* _init_l_Lean_Compiler_LCNF_initFn___closed__14____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_unsigned_to_nat(6608u);
|
||||
x_2 = l_Lean_Compiler_LCNF_initFn___closed__13____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_;
|
||||
x_1 = lean_unsigned_to_nat(6605u);
|
||||
x_2 = l_Lean_Compiler_LCNF_initFn___closed__13____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_;
|
||||
x_3 = l_Lean_Name_num___override(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_2 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Compiler_LCNF_UnreachableBranches_elimDead_go_spec__5_spec__5___closed__1;
|
||||
x_3 = 1;
|
||||
x_4 = l_Lean_Compiler_LCNF_initFn___closed__14____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_;
|
||||
x_4 = l_Lean_Compiler_LCNF_initFn___closed__14____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_;
|
||||
x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -16060,37 +16057,37 @@ l_Lean_Compiler_LCNF_elimDeadBranches___closed__2 = _init_l_Lean_Compiler_LCNF_e
|
|||
lean_mark_persistent(l_Lean_Compiler_LCNF_elimDeadBranches___closed__2);
|
||||
l_Lean_Compiler_LCNF_elimDeadBranches = _init_l_Lean_Compiler_LCNF_elimDeadBranches();
|
||||
lean_mark_persistent(l_Lean_Compiler_LCNF_elimDeadBranches);
|
||||
l_Lean_Compiler_LCNF_initFn___closed__0____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_ = _init_l_Lean_Compiler_LCNF_initFn___closed__0____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_();
|
||||
lean_mark_persistent(l_Lean_Compiler_LCNF_initFn___closed__0____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_);
|
||||
l_Lean_Compiler_LCNF_initFn___closed__1____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_ = _init_l_Lean_Compiler_LCNF_initFn___closed__1____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_();
|
||||
lean_mark_persistent(l_Lean_Compiler_LCNF_initFn___closed__1____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_);
|
||||
l_Lean_Compiler_LCNF_initFn___closed__2____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_ = _init_l_Lean_Compiler_LCNF_initFn___closed__2____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_();
|
||||
lean_mark_persistent(l_Lean_Compiler_LCNF_initFn___closed__2____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_);
|
||||
l_Lean_Compiler_LCNF_initFn___closed__3____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_ = _init_l_Lean_Compiler_LCNF_initFn___closed__3____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_();
|
||||
lean_mark_persistent(l_Lean_Compiler_LCNF_initFn___closed__3____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_);
|
||||
l_Lean_Compiler_LCNF_initFn___closed__4____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_ = _init_l_Lean_Compiler_LCNF_initFn___closed__4____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_();
|
||||
lean_mark_persistent(l_Lean_Compiler_LCNF_initFn___closed__4____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_);
|
||||
l_Lean_Compiler_LCNF_initFn___closed__5____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_ = _init_l_Lean_Compiler_LCNF_initFn___closed__5____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_();
|
||||
lean_mark_persistent(l_Lean_Compiler_LCNF_initFn___closed__5____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_);
|
||||
l_Lean_Compiler_LCNF_initFn___closed__6____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_ = _init_l_Lean_Compiler_LCNF_initFn___closed__6____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_();
|
||||
lean_mark_persistent(l_Lean_Compiler_LCNF_initFn___closed__6____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_);
|
||||
l_Lean_Compiler_LCNF_initFn___closed__7____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_ = _init_l_Lean_Compiler_LCNF_initFn___closed__7____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_();
|
||||
lean_mark_persistent(l_Lean_Compiler_LCNF_initFn___closed__7____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_);
|
||||
l_Lean_Compiler_LCNF_initFn___closed__8____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_ = _init_l_Lean_Compiler_LCNF_initFn___closed__8____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_();
|
||||
lean_mark_persistent(l_Lean_Compiler_LCNF_initFn___closed__8____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_);
|
||||
l_Lean_Compiler_LCNF_initFn___closed__9____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_ = _init_l_Lean_Compiler_LCNF_initFn___closed__9____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_();
|
||||
lean_mark_persistent(l_Lean_Compiler_LCNF_initFn___closed__9____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_);
|
||||
l_Lean_Compiler_LCNF_initFn___closed__10____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_ = _init_l_Lean_Compiler_LCNF_initFn___closed__10____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_();
|
||||
lean_mark_persistent(l_Lean_Compiler_LCNF_initFn___closed__10____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_);
|
||||
l_Lean_Compiler_LCNF_initFn___closed__11____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_ = _init_l_Lean_Compiler_LCNF_initFn___closed__11____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_();
|
||||
lean_mark_persistent(l_Lean_Compiler_LCNF_initFn___closed__11____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_);
|
||||
l_Lean_Compiler_LCNF_initFn___closed__12____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_ = _init_l_Lean_Compiler_LCNF_initFn___closed__12____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_();
|
||||
lean_mark_persistent(l_Lean_Compiler_LCNF_initFn___closed__12____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_);
|
||||
l_Lean_Compiler_LCNF_initFn___closed__13____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_ = _init_l_Lean_Compiler_LCNF_initFn___closed__13____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_();
|
||||
lean_mark_persistent(l_Lean_Compiler_LCNF_initFn___closed__13____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_);
|
||||
l_Lean_Compiler_LCNF_initFn___closed__14____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_ = _init_l_Lean_Compiler_LCNF_initFn___closed__14____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_();
|
||||
lean_mark_persistent(l_Lean_Compiler_LCNF_initFn___closed__14____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_);
|
||||
if (builtin) {res = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6608_(lean_io_mk_world());
|
||||
l_Lean_Compiler_LCNF_initFn___closed__0____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_ = _init_l_Lean_Compiler_LCNF_initFn___closed__0____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_();
|
||||
lean_mark_persistent(l_Lean_Compiler_LCNF_initFn___closed__0____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_);
|
||||
l_Lean_Compiler_LCNF_initFn___closed__1____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_ = _init_l_Lean_Compiler_LCNF_initFn___closed__1____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_();
|
||||
lean_mark_persistent(l_Lean_Compiler_LCNF_initFn___closed__1____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_);
|
||||
l_Lean_Compiler_LCNF_initFn___closed__2____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_ = _init_l_Lean_Compiler_LCNF_initFn___closed__2____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_();
|
||||
lean_mark_persistent(l_Lean_Compiler_LCNF_initFn___closed__2____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_);
|
||||
l_Lean_Compiler_LCNF_initFn___closed__3____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_ = _init_l_Lean_Compiler_LCNF_initFn___closed__3____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_();
|
||||
lean_mark_persistent(l_Lean_Compiler_LCNF_initFn___closed__3____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_);
|
||||
l_Lean_Compiler_LCNF_initFn___closed__4____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_ = _init_l_Lean_Compiler_LCNF_initFn___closed__4____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_();
|
||||
lean_mark_persistent(l_Lean_Compiler_LCNF_initFn___closed__4____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_);
|
||||
l_Lean_Compiler_LCNF_initFn___closed__5____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_ = _init_l_Lean_Compiler_LCNF_initFn___closed__5____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_();
|
||||
lean_mark_persistent(l_Lean_Compiler_LCNF_initFn___closed__5____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_);
|
||||
l_Lean_Compiler_LCNF_initFn___closed__6____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_ = _init_l_Lean_Compiler_LCNF_initFn___closed__6____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_();
|
||||
lean_mark_persistent(l_Lean_Compiler_LCNF_initFn___closed__6____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_);
|
||||
l_Lean_Compiler_LCNF_initFn___closed__7____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_ = _init_l_Lean_Compiler_LCNF_initFn___closed__7____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_();
|
||||
lean_mark_persistent(l_Lean_Compiler_LCNF_initFn___closed__7____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_);
|
||||
l_Lean_Compiler_LCNF_initFn___closed__8____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_ = _init_l_Lean_Compiler_LCNF_initFn___closed__8____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_();
|
||||
lean_mark_persistent(l_Lean_Compiler_LCNF_initFn___closed__8____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_);
|
||||
l_Lean_Compiler_LCNF_initFn___closed__9____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_ = _init_l_Lean_Compiler_LCNF_initFn___closed__9____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_();
|
||||
lean_mark_persistent(l_Lean_Compiler_LCNF_initFn___closed__9____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_);
|
||||
l_Lean_Compiler_LCNF_initFn___closed__10____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_ = _init_l_Lean_Compiler_LCNF_initFn___closed__10____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_();
|
||||
lean_mark_persistent(l_Lean_Compiler_LCNF_initFn___closed__10____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_);
|
||||
l_Lean_Compiler_LCNF_initFn___closed__11____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_ = _init_l_Lean_Compiler_LCNF_initFn___closed__11____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_();
|
||||
lean_mark_persistent(l_Lean_Compiler_LCNF_initFn___closed__11____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_);
|
||||
l_Lean_Compiler_LCNF_initFn___closed__12____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_ = _init_l_Lean_Compiler_LCNF_initFn___closed__12____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_();
|
||||
lean_mark_persistent(l_Lean_Compiler_LCNF_initFn___closed__12____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_);
|
||||
l_Lean_Compiler_LCNF_initFn___closed__13____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_ = _init_l_Lean_Compiler_LCNF_initFn___closed__13____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_();
|
||||
lean_mark_persistent(l_Lean_Compiler_LCNF_initFn___closed__13____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_);
|
||||
l_Lean_Compiler_LCNF_initFn___closed__14____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_ = _init_l_Lean_Compiler_LCNF_initFn___closed__14____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_();
|
||||
lean_mark_persistent(l_Lean_Compiler_LCNF_initFn___closed__14____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_);
|
||||
if (builtin) {res = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_6605_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
}return lean_io_result_mk_ok(lean_box(0));
|
||||
|
|
|
|||
23
stage0/stdlib/Lean/Compiler/LCNF/PhaseExt.c
generated
23
stage0/stdlib/Lean/Compiler/LCNF/PhaseExt.c
generated
|
|
@ -71,7 +71,6 @@ uint8_t l_Lean_Name_quickLt(lean_object*, lean_object*);
|
|||
static lean_object* l___auto___closed__9____x40_Lean_Compiler_LCNF_PhaseExt___hyg_570_;
|
||||
static lean_object* l_Lean_Compiler_LCNF_forEachModuleDecl___closed__0;
|
||||
lean_object* l_Lean_stringToMessageData(lean_object*);
|
||||
lean_object* l_Lean_Environment_addExtraName(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkDeclExt___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_forEachMainModuleDecl(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkDeclExt___lam__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -2404,25 +2403,19 @@ return x_5;
|
|||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_saveBaseDeclCore(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_3 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_3);
|
||||
x_4 = l_Lean_Compiler_LCNF_getBaseDecl_x3f___redArg___closed__0;
|
||||
x_5 = l_Lean_Environment_addExtraName(x_1, x_3);
|
||||
x_6 = l_Lean_PersistentEnvExtension_addEntry___redArg(x_4, x_5, x_2);
|
||||
return x_6;
|
||||
lean_object* x_3; lean_object* x_4;
|
||||
x_3 = l_Lean_Compiler_LCNF_getBaseDecl_x3f___redArg___closed__0;
|
||||
x_4 = l_Lean_PersistentEnvExtension_addEntry___redArg(x_3, x_1, x_2);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_saveMonoDeclCore(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_3 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_3);
|
||||
x_4 = l_Lean_Compiler_LCNF_getMonoDecl_x3f___redArg___closed__0;
|
||||
x_5 = l_Lean_Environment_addExtraName(x_1, x_3);
|
||||
x_6 = l_Lean_PersistentEnvExtension_addEntry___redArg(x_4, x_5, x_2);
|
||||
return x_6;
|
||||
lean_object* x_3; lean_object* x_4;
|
||||
x_3 = l_Lean_Compiler_LCNF_getMonoDecl_x3f___redArg___closed__0;
|
||||
x_4 = l_Lean_PersistentEnvExtension_addEntry___redArg(x_3, x_1, x_2);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_LCNF_Decl_saveBase___redArg___closed__0() {
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/DeclarationRange.c
generated
4
stage0/stdlib/Lean/DeclarationRange.c
generated
|
|
@ -39,6 +39,7 @@ lean_object* lean_st_ref_get(lean_object*, lean_object*);
|
|||
lean_object* lean_st_mk_ref(lean_object*, lean_object*);
|
||||
uint8_t lean_is_no_confusion(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_findDeclarationRangesCore_x3f___redArg(lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_ordOLeanLevel____x40_Lean_Environment___hyg_9024_(uint8_t, uint8_t);
|
||||
lean_object* l_Std_DTreeMap_Internal_Impl_insert___at___Lean_NameMap_insert_spec__0___redArg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at___Std_DTreeMap_Internal_Impl_foldl___at___Lean_initFn____x40_Lean_DeclarationRange___hyg_45__spec__0_spec__0___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_isRec___redArg(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -57,7 +58,6 @@ lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*);
|
|||
lean_object* l_Lean_MapDeclarationExtension_insert___redArg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_findDeclarationRanges_x3f___redArg___lam__1___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_addDeclarationRanges___redArg___lam__0___closed__0;
|
||||
uint8_t l_Lean_ordOLeanLevel____x40_Lean_Environment___hyg_9069_(uint8_t, uint8_t);
|
||||
lean_object* l_Lean_MapDeclarationExtension_find_x3f___redArg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_findDeclarationRanges_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_findDeclarationRanges_x3f___redArg___lam__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -150,7 +150,7 @@ _start:
|
|||
{
|
||||
uint8_t x_4; uint8_t x_5; lean_object* x_6;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_ordOLeanLevel____x40_Lean_Environment___hyg_9069_(x_3, x_4);
|
||||
x_5 = l_Lean_ordOLeanLevel____x40_Lean_Environment___hyg_9024_(x_3, x_4);
|
||||
x_6 = lean_box(x_5);
|
||||
if (lean_obj_tag(x_6) == 0)
|
||||
{
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/DocString/Extension.c
generated
4
stage0/stdlib/Lean/DocString/Extension.c
generated
|
|
@ -64,6 +64,7 @@ lean_object* lean_st_ref_get(lean_object*, lean_object*);
|
|||
lean_object* lean_st_mk_ref(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_num___override(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Extension_0__Lean_initFn____x40_Lean_DocString_Extension___hyg_3_(lean_object*);
|
||||
uint8_t l_Lean_ordOLeanLevel____x40_Lean_Environment___hyg_9024_(uint8_t, uint8_t);
|
||||
lean_object* l_Std_DTreeMap_Internal_Impl_insert___at___Lean_NameMap_insert_spec__0___redArg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn___closed__2____x40_Lean_DocString_Extension___hyg_44_;
|
||||
lean_object* l_Lean_PersistentArray_push___redArg(lean_object*, lean_object*);
|
||||
|
|
@ -97,7 +98,6 @@ LEAN_EXPORT lean_object* l_Lean_addDocStringCore___redArg___lam__3___boxed(lean_
|
|||
lean_object* l_Lean_Environment_getModuleIdx_x3f(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MapDeclarationExtension_insert___redArg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_DocString_Extension_0__Lean_initFn___closed__10____x40_Lean_DocString_Extension___hyg_382_;
|
||||
uint8_t l_Lean_ordOLeanLevel____x40_Lean_Environment___hyg_9069_(uint8_t, uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_addDocStringCore___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_DocString_Extension_0__Lean_initFn___closed__5____x40_Lean_DocString_Extension___hyg_382_;
|
||||
lean_object* l_Lean_MapDeclarationExtension_find_x3f___redArg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t);
|
||||
|
|
@ -631,7 +631,7 @@ _start:
|
|||
{
|
||||
uint8_t x_5; uint8_t x_6; lean_object* x_7;
|
||||
x_5 = 1;
|
||||
x_6 = l_Lean_ordOLeanLevel____x40_Lean_Environment___hyg_9069_(x_4, x_5);
|
||||
x_6 = l_Lean_ordOLeanLevel____x40_Lean_Environment___hyg_9024_(x_4, x_5);
|
||||
x_7 = lean_box(x_6);
|
||||
if (lean_obj_tag(x_7) == 0)
|
||||
{
|
||||
|
|
|
|||
6238
stage0/stdlib/Lean/Environment.c
generated
6238
stage0/stdlib/Lean/Environment.c
generated
File diff suppressed because it is too large
Load diff
32
stage0/stdlib/Lean/Meta/Eval.c
generated
32
stage0/stdlib/Lean/Meta/Eval.c
generated
|
|
@ -937,7 +937,7 @@ lean_inc_ref(x_135);
|
|||
x_136 = lean_ctor_get(x_121, 0);
|
||||
lean_inc_ref(x_136);
|
||||
lean_dec(x_121);
|
||||
x_137 = lean_array_to_list(x_98);
|
||||
x_137 = lean_array_to_list(x_97);
|
||||
lean_inc(x_100);
|
||||
x_138 = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(x_138, 0, x_100);
|
||||
|
|
@ -946,7 +946,7 @@ lean_ctor_set(x_138, 2, x_107);
|
|||
x_139 = lean_box(0);
|
||||
lean_inc(x_100);
|
||||
lean_ctor_set_tag(x_119, 1);
|
||||
lean_ctor_set(x_119, 1, x_97);
|
||||
lean_ctor_set(x_119, 1, x_98);
|
||||
lean_ctor_set(x_119, 0, x_100);
|
||||
x_140 = lean_alloc_ctor(0, 4, 1);
|
||||
lean_ctor_set(x_140, 0, x_138);
|
||||
|
|
@ -1078,7 +1078,7 @@ lean_inc_ref(x_162);
|
|||
x_163 = lean_ctor_get(x_148, 0);
|
||||
lean_inc_ref(x_163);
|
||||
lean_dec(x_148);
|
||||
x_164 = lean_array_to_list(x_98);
|
||||
x_164 = lean_array_to_list(x_97);
|
||||
lean_inc(x_100);
|
||||
x_165 = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(x_165, 0, x_100);
|
||||
|
|
@ -1088,7 +1088,7 @@ x_166 = lean_box(0);
|
|||
lean_inc(x_100);
|
||||
x_167 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_167, 0, x_100);
|
||||
lean_ctor_set(x_167, 1, x_97);
|
||||
lean_ctor_set(x_167, 1, x_98);
|
||||
x_168 = lean_alloc_ctor(0, 4, 1);
|
||||
lean_ctor_set(x_168, 0, x_165);
|
||||
lean_ctor_set(x_168, 1, x_99);
|
||||
|
|
@ -1194,8 +1194,8 @@ lean_dec(x_102);
|
|||
lean_dec_ref(x_101);
|
||||
lean_dec(x_100);
|
||||
lean_dec_ref(x_99);
|
||||
lean_dec_ref(x_98);
|
||||
lean_dec(x_97);
|
||||
lean_dec(x_98);
|
||||
lean_dec_ref(x_97);
|
||||
x_176 = !lean_is_exclusive(x_117);
|
||||
if (x_176 == 0)
|
||||
{
|
||||
|
|
@ -1226,8 +1226,8 @@ lean_dec(x_102);
|
|||
lean_dec_ref(x_101);
|
||||
lean_dec(x_100);
|
||||
lean_dec_ref(x_99);
|
||||
lean_dec_ref(x_98);
|
||||
lean_dec(x_97);
|
||||
lean_dec(x_98);
|
||||
lean_dec_ref(x_97);
|
||||
x_180 = !lean_is_exclusive(x_109);
|
||||
if (x_180 == 0)
|
||||
{
|
||||
|
|
@ -1257,8 +1257,8 @@ lean_dec(x_102);
|
|||
lean_dec_ref(x_101);
|
||||
lean_dec(x_100);
|
||||
lean_dec_ref(x_99);
|
||||
lean_dec_ref(x_98);
|
||||
lean_dec(x_97);
|
||||
lean_dec(x_98);
|
||||
lean_dec_ref(x_97);
|
||||
lean_dec_ref(x_1);
|
||||
x_184 = !lean_is_exclusive(x_106);
|
||||
if (x_184 == 0)
|
||||
|
|
@ -1310,8 +1310,8 @@ if (x_207 == 0)
|
|||
{
|
||||
lean_free_object(x_199);
|
||||
lean_free_object(x_195);
|
||||
x_97 = x_206;
|
||||
x_98 = x_205;
|
||||
x_97 = x_205;
|
||||
x_98 = x_206;
|
||||
x_99 = x_201;
|
||||
x_100 = x_197;
|
||||
x_101 = x_189;
|
||||
|
|
@ -1380,8 +1380,8 @@ x_222 = l_Lean_Expr_hasMVar(x_216);
|
|||
if (x_222 == 0)
|
||||
{
|
||||
lean_free_object(x_195);
|
||||
x_97 = x_221;
|
||||
x_98 = x_220;
|
||||
x_97 = x_220;
|
||||
x_98 = x_221;
|
||||
x_99 = x_216;
|
||||
x_100 = x_197;
|
||||
x_101 = x_189;
|
||||
|
|
@ -1466,8 +1466,8 @@ x_242 = l_Lean_Expr_hasMVar(x_235);
|
|||
if (x_242 == 0)
|
||||
{
|
||||
lean_dec(x_237);
|
||||
x_97 = x_241;
|
||||
x_98 = x_240;
|
||||
x_97 = x_240;
|
||||
x_98 = x_241;
|
||||
x_99 = x_235;
|
||||
x_100 = x_232;
|
||||
x_101 = x_189;
|
||||
|
|
|
|||
12
stage0/stdlib/Lean/Meta/SizeOf.c
generated
12
stage0/stdlib/Lean/Meta/SizeOf.c
generated
|
|
@ -5878,7 +5878,7 @@ x_29 = l_Array_ofSubarray___redArg(x_21);
|
|||
lean_dec_ref(x_21);
|
||||
lean_inc_ref(x_29);
|
||||
x_30 = lean_alloc_closure((void*)(l_Lean_Meta_mkSizeOfFn___lam__5___boxed), 18, 12);
|
||||
lean_closure_set(x_30, 0, x_19);
|
||||
lean_closure_set(x_30, 0, x_20);
|
||||
lean_closure_set(x_30, 1, x_18);
|
||||
lean_closure_set(x_30, 2, x_27);
|
||||
lean_closure_set(x_30, 3, x_4);
|
||||
|
|
@ -5888,7 +5888,7 @@ lean_closure_set(x_30, 6, x_26);
|
|||
lean_closure_set(x_30, 7, x_28);
|
||||
lean_closure_set(x_30, 8, x_5);
|
||||
lean_closure_set(x_30, 9, x_6);
|
||||
lean_closure_set(x_30, 10, x_20);
|
||||
lean_closure_set(x_30, 10, x_19);
|
||||
lean_closure_set(x_30, 11, x_7);
|
||||
x_31 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkLocalInstances___redArg(x_29, x_30, x_13, x_14, x_15, x_16, x_17);
|
||||
return x_31;
|
||||
|
|
@ -5930,8 +5930,8 @@ x_49 = lean_array_get_size(x_11);
|
|||
x_50 = lean_nat_dec_le(x_46, x_48);
|
||||
if (x_50 == 0)
|
||||
{
|
||||
x_33 = x_41;
|
||||
x_34 = x_45;
|
||||
x_33 = x_45;
|
||||
x_34 = x_41;
|
||||
x_35 = x_47;
|
||||
x_36 = x_42;
|
||||
x_37 = x_49;
|
||||
|
|
@ -5941,8 +5941,8 @@ goto block_40;
|
|||
else
|
||||
{
|
||||
lean_dec(x_46);
|
||||
x_33 = x_41;
|
||||
x_34 = x_45;
|
||||
x_33 = x_45;
|
||||
x_34 = x_41;
|
||||
x_35 = x_47;
|
||||
x_36 = x_42;
|
||||
x_37 = x_49;
|
||||
|
|
|
|||
|
|
@ -290,7 +290,6 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_____private_Lean_Meta_Tacti
|
|||
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_erase___at___Lean_Meta_SimpTheorems_eraseCore_spec__0(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_binInsertM___at_____private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at___Lean_Meta_DiscrTree_insertCore___at___Lean_Meta_SimpTheorems_addSimpTheorem_spec__0_spec__0_spec__2___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_shouldPreprocess___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_beqConstantKind____x40_Lean_Environment___hyg_1555_(uint8_t, uint8_t);
|
||||
lean_object* l_Lean_Expr_constName_x21(lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflProofCore___closed__1;
|
||||
static lean_object* l_Lean_Meta_initFn___closed__6____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_6_;
|
||||
|
|
@ -390,6 +389,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_
|
|||
static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isRflProofCore___closed__3;
|
||||
static lean_object* l___auto___closed__20____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_6937_;
|
||||
static lean_object* l_Lean_Meta_ppOrigin___redArg___closed__6;
|
||||
uint8_t l_Lean_beqConstantKind____x40_Lean_Environment___hyg_1542_(uint8_t, uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_____private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_isPerm_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_ppOrigin___redArg___closed__5;
|
||||
LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAtAux___at___Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at_____private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_eraseIfExists_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -11395,7 +11395,7 @@ x_6 = lean_ctor_get(x_1, 0);
|
|||
x_7 = lean_ctor_get(x_2, 0);
|
||||
x_8 = lean_unbox(x_6);
|
||||
x_9 = lean_unbox(x_7);
|
||||
x_10 = l_Lean_beqConstantKind____x40_Lean_Environment___hyg_1555_(x_8, x_9);
|
||||
x_10 = l_Lean_beqConstantKind____x40_Lean_Environment___hyg_1542_(x_8, x_9);
|
||||
return x_10;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue