aboutsummaryrefslogtreecommitdiffstats
path: root/lib/hipe/opt/hipe_schedule_prio.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2018-05-07 10:19:29 +0200
committerGitHub <[email protected]>2018-05-07 10:19:29 +0200
commit49dc5d3975357971ffc3020d095a8187d80e3b69 (patch)
treeb71d52bda0ef50ce467b8ab4d3c16a8dc2182b36 /lib/hipe/opt/hipe_schedule_prio.erl
parenta06534d31516a4f4c06c8c8f558e9a94b4865617 (diff)
parentc6113c20c7602898b5294209dee4511bb3b286e5 (diff)
downloadotp-49dc5d3975357971ffc3020d095a8187d80e3b69.tar.gz
otp-49dc5d3975357971ffc3020d095a8187d80e3b69.tar.bz2
otp-49dc5d3975357971ffc3020d095a8187d80e3b69.zip
Merge pull request #1805 from bjorng/bjorn/hipe/remove-unused-modules
Remove unused source files in lib/hipe/opt
Diffstat (limited to 'lib/hipe/opt/hipe_schedule_prio.erl')
-rw-r--r--lib/hipe/opt/hipe_schedule_prio.erl53
1 files changed, 0 insertions, 53 deletions
diff --git a/lib/hipe/opt/hipe_schedule_prio.erl b/lib/hipe/opt/hipe_schedule_prio.erl
deleted file mode 100644
index 339bb82aab..0000000000
--- a/lib/hipe/opt/hipe_schedule_prio.erl
+++ /dev/null
@@ -1,53 +0,0 @@
-%% -*- erlang-indent-level: 2 -*-
-%%
-%% Licensed under the Apache License, Version 2.0 (the "License");
-%% you may not use this file except in compliance with the License.
-%% You may obtain a copy of the License at
-%%
-%% http://www.apache.org/licenses/LICENSE-2.0
-%%
-%% Unless required by applicable law or agreed to in writing, software
-%% distributed under the License is distributed on an "AS IS" BASIS,
-%% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-%% See the License for the specific language governing permissions and
-%% limitations under the License.
-%%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%%
-%% PRIORITY HANDLING AND PRIORITY CALCULATION
-%%
-%% Handling of ready nodes and priorities.
-%% - at present, all nodes have the same priority and so on.
-%%
-%% *** UNFINISHED ***
-%% - should compute a static priority estimate
-%% - should dynamically modify priorities + possibly insert NOPs
-%% (e.g., to separate branches, etc.)
-%% - thus, ought to be passed the current schedule and/or resources as well
-
--module(hipe_schedule_prio).
--export([init_ready/2,
- init_instr_prio/2,
- %% initial_ready_set/4,
- next_ready/7,
- add_ready_nodes/2,
- insert_node/3
- ]).
-
-init_ready(Size,Preds) ->
- hipe_ultra_prio:init_ready(Size,Preds).
-
-init_instr_prio(N,DAG) ->
- hipe_ultra_prio:init_instr_prio(N,DAG).
-
-%% initial_ready_set(M,N,Preds,Ready) ->
-%% hipe_ultra_prio:initial_ready_set(M,N,Preds,Ready).
-
-next_ready(C,Ready,Prio,Nodes,DAG,Preds,Earl) ->
- hipe_ultra_prio:next_ready(C,Ready,Prio,Nodes,DAG,Preds,Earl).
-
-add_ready_nodes(NodeLst,Ready) ->
- hipe_ultra_prio:add_ready_nodes(NodeLst,Ready).
-
-insert_node(C,I,Ready) ->
- hipe_ultra_prio:insert_node(C,I,Ready).