lean4-htt/src/library/compiler/init_module.cpp
Leonardo de Moura d4dce78b0e chore(library/compiler): delete compiler/builtin module
It has been replaced with `compiler/extern_attribute`
2019-02-12 18:23:09 -08:00

53 lines
1.5 KiB
C++

/*
Copyright (c) 2015 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
*/
#include "library/compiler/util.h"
#include "library/compiler/lcnf.h"
#include "library/compiler/elim_dead_let.h"
#include "library/compiler/cse.h"
#include "library/compiler/specialize.h"
#include "library/compiler/llnf.h"
#include "library/compiler/closed_term_cache.h"
#include "library/compiler/compiler.h"
#include "library/compiler/export_attribute.h"
#include "library/compiler/extern_attribute.h"
#include "library/compiler/llnf_code.h"
#include "library/compiler/borrowed_annotation.h"
#include "library/compiler/emit_cpp.h"
namespace lean {
void initialize_compiler_module() {
initialize_compiler_util();
initialize_lcnf();
initialize_elim_dead_let();
initialize_cse();
initialize_specialize();
initialize_closed_term_cache();
initialize_llnf();
initialize_compiler();
initialize_export_attribute();
initialize_extern_attribute();
initialize_llnf_code();
initialize_borrowed_annotation();
initialize_emit_cpp();
}
void finalize_compiler_module() {
finalize_emit_cpp();
finalize_borrowed_annotation();
finalize_llnf_code();
finalize_extern_attribute();
finalize_export_attribute();
finalize_compiler();
finalize_llnf();
finalize_closed_term_cache();
finalize_specialize();
finalize_cse();
finalize_elim_dead_let();
finalize_lcnf();
finalize_compiler_util();
}
}