1 /*
2  * Copyright (c) 2018, NVIDIA CORPORATION.  All rights reserved.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16  */
17 
18 #ifndef LLSCHED_H_
19 #define LLSCHED_H_
20 
21 #include "gbldefs.h"
22 #include "llutil.h"
23 
24 /**
25 
26 /**
27    \brief ...
28  */
29 int enhanced_conflict(int nme1, int nme2);
30 
31 /**
32    \brief ...
33  */
34 void check_circular_dep(INSTR_LIST *istart);
35 
36 /**
37    \brief ...
38  */
39 void sched_block_breadth_first(INSTR_LIST *istart, int level);
40 
41 /**
42    \brief ...
43  */
44 void sched_block(INSTR_LIST *istart, INSTR_LIST *iend);
45 
46 /**
47    \brief ...
48  */
49 void sched_instructions(INSTR_LIST *istart);
50 
51 #endif // LLSCHED_H_
52