mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-19 19:33:46 +00:00
deep_profiler/*.m:
Fix inconsistencies between (a) the order in which functions and predicates
are declared, and (b) the order in which they are defined.
In most modules, either the order of the declarations or the order
of the definitions made sense, and I changed the other to match.
In some modules, neither made sense, so I changed *both* to an order
that *does* make sense (i.e. it has related predicates together).
In query.m, put the various commands in the same sensible order
as the code processing them.
In html_format.m, merge two exported functions together, since
they can't be used separately.
In some places, put dividers between groups of related
functions/predicates, to make the groups themselves more visible.
In some places, fix comments or programming style.
deep_profiler/DEEP_FLAGS.in:
Since all the modules in this directory are now free from any warnings
generated by --warn-inconsistent-pred-order-clauses, specify that option
by default in this directory to keep it that way.
30 lines
1.3 KiB
Mathematica
30 lines
1.3 KiB
Mathematica
%---------------------------------------------------------------------------%
|
|
% vim: ft=mercury ts=4 sw=4 et
|
|
%---------------------------------------------------------------------------%
|
|
% Copyright (C) 2006-2011 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.
|
|
%---------------------------------------------------------------------------%
|
|
%
|
|
% File: mdprof_fb.automatic_parallelism.m.
|
|
%
|
|
% This package holds the modules that generate recommendations to the compiler
|
|
% about what conjunctions to parallelize, and how.
|
|
%
|
|
%---------------------------------------------------------------------------%
|
|
|
|
:- module mdprof_fb.automatic_parallelism.
|
|
:- interface.
|
|
|
|
:- include_module mdprof_fb.automatic_parallelism.autopar_reports.
|
|
:- include_module mdprof_fb.automatic_parallelism.autopar_search_callgraph.
|
|
|
|
:- implementation.
|
|
|
|
:- include_module mdprof_fb.automatic_parallelism.autopar_annotate.
|
|
:- include_module mdprof_fb.automatic_parallelism.autopar_calc_overlap.
|
|
:- include_module mdprof_fb.automatic_parallelism.autopar_costs.
|
|
:- include_module mdprof_fb.automatic_parallelism.autopar_find_best_par.
|
|
:- include_module mdprof_fb.automatic_parallelism.autopar_search_goals.
|
|
:- include_module mdprof_fb.automatic_parallelism.autopar_types.
|