Files
mercury/compiler/aditi_backend.pp
Zoltan Somogyi 9551640f55 Import only one compiler module per line. Sort the blocks of imports.
Estimated hours taken: 2
Branches: main

compiler/*.m:
	Import only one compiler module per line. Sort the blocks of imports.
	This makes it easier to merge in changes.

	In a couple of places, remove unnecessary imports.
2003-03-15 03:09:14 +00:00

82 lines
2.0 KiB
ObjectPascal

%-----------------------------------------------------------------------------%
% Copyright (C) 2002-2003 The University of Melbourne.
% This file may only be copied under the terms of the GNU General
% Public License - see the file COPYING in the Mercury distribution.
%-----------------------------------------------------------------------------%
%
% The Aditi back-end
%
:- module aditi_backend.
:- interface.
:- import_module transform_hlds, check_hlds. % are these needed?
:- import_module hlds, parse_tree, libs.
%:- import_module aditi_hlds, aditi_codegen, aditi_rl_out.
%
% Phase 4-rl: Aditi-related HLDS transformations
%
%:- module aditi_hlds.
% :- interface.
:- include_module dnf.
:- include_module context.
:- include_module magic.
:- include_module magic_util.
%:- end_module aditi_hlds.
%
% The Aditi-RL type itself.
%
:- include_module rl.
:- include_module rl_dump.
%
% Phase 5-rl: The Aditi RL code generator
%
%:- module aditi_codegen.
% :- interface.
:- include_module rl_gen.
:- include_module rl_info.
:- include_module rl_relops.
%:- end_module aditi_codegen.
%
% Phase 6-rl: Low-level (RL -> RL) optimizations
%
:- include_module rl_opt.
:- include_module rl_analyse.
:- include_module rl_block.
:- include_module rl_block_opt.
:- include_module rl_key.
:- include_module rl_liveness.
:- include_module rl_loop.
:- include_module rl_sort.
:- include_module rl_stream.
%
% Phase 7-rl: Emit RL bytecodes.
%
%:- module aditi_rl_out.
:- include_module rl_out.
:- include_module rl_file.
#if INCLUDE_ADITI_OUTPUT
:- include_module rl_exprn.
:- include_module rl_code.
#else
#endif
%:- end_module aditi_rl_out.
%-----------------------------------------------------------------------------%
:- implementation.
% aditi_backend__rl_exprn uses ll_backend__llds
% and backend_libs__builtin_ops.
:- import_module ll_backend.
:- import_module backend_libs.
:- end_module aditi_backend.
%-----------------------------------------------------------------------------%