SSBM Decomp
Toggle main menu visibility
Loading...
Searching...
No Matches
texpdag.h
Go to the documentation of this file.
1
#ifndef SYSDOLPHIN_BASELIB_TEXPDAG_H
2
#define SYSDOLPHIN_BASELIB_TEXPDAG_H
3
4
#include <
Runtime/platform.h
>
5
6
#include <
sysdolphin/baselib/forward.h
>
7
8
#include <
sysdolphin/baselib/texp.h
>
9
10
typedef
struct
HSD_TExpDag
{
11
struct
_HSD_TETev*
tev
;
12
u8
idx
;
13
u8
nb_dep
;
14
u8
nb_ref
;
15
u8
dist
;
16
HSD_TExpDag
*
depend
[8];
17
}
HSD_TExpDag
;
18
19
/* 385798 */
int
assign_reg
(
int
num,
u32
*,
HSD_TExpDag
* list,
20
const
int
* order);
21
/* 385944 */
void
order_dag
(
int
num,
u32
* dep,
u32
* full_dep,
22
HSD_TExpDag
* list,
int
depth,
int
idx,
23
u32
done_set,
u32
ready_set,
int
* order,
int
* min,
24
int
* min_order);
25
/* 385B8C */
void
CalcDistance
(
HSD_TExp
** tevs,
int
* dist,
HSD_TExp
* tev,
26
int
num,
int
depth);
27
/* 385C60 */
int
HSD_TExpMakeDag
(
HSD_TExp
* root,
HSD_TExpDag
* list);
28
/* 386100 */
void
make_full_dependancy_mtx
(
int
num,
const
u32
* dep,
u32
* full);
29
/* 386230 */
void
fn_80386230
(
void
);
30
/* 386234 */
void
HSD_TExpSchedule
(
int
num,
HSD_TExpDag
* list,
31
HSD_TExp
** result,
HSD_TExpRes
* resource);
32
/* 386470 */
int
SimplifySrc
(
HSD_TExp
*);
33
/* 38687C */
int
SimplifyThis
(
HSD_TExp
*);
34
/* 3870E4 */
int
SimplifyByMerge
(
HSD_TExp
*);
35
/* 387B1C */
int
HSD_TExpSimplify
(
HSD_TExp
* texp);
36
/* 387BA4 */
int
HSD_TExpSimplify2
(
HSD_TExp
* texp);
37
38
#endif
u32
unsigned int u32
Definition
types.h:13
u8
unsigned char u8
Definition
types.h:5
platform.h
HSD_TExpDag
Definition
texpdag.h:10
HSD_TExpDag::dist
u8 dist
Definition
texpdag.h:15
HSD_TExpDag::nb_ref
u8 nb_ref
Definition
texpdag.h:14
HSD_TExpDag::depend
HSD_TExpDag * depend[8]
Definition
texpdag.h:16
HSD_TExpDag::idx
u8 idx
Definition
texpdag.h:12
HSD_TExpDag::nb_dep
u8 nb_dep
Definition
texpdag.h:13
HSD_TExpDag::tev
struct _HSD_TETev * tev
Definition
texpdag.h:11
HSD_TExpRes
Definition
texp.h:84
forward.h
texp.h
CalcDistance
void CalcDistance(HSD_TExp **tevs, int *dist, HSD_TExp *tev, int num, int depth)
Definition
texpdag.c:129
SimplifySrc
int SimplifySrc(HSD_TExp *)
Definition
texpdag.c:395
HSD_TExpSimplify
int HSD_TExpSimplify(HSD_TExp *texp)
Definition
texpdag.c:1243
SimplifyByMerge
int SimplifyByMerge(HSD_TExp *)
Definition
texpdag.c:814
SimplifyThis
int SimplifyThis(HSD_TExp *)
Definition
texpdag.c:550
fn_80386230
void fn_80386230(void)
HSD_TExpMakeDag
int HSD_TExpMakeDag(HSD_TExp *root, HSD_TExpDag *list)
Definition
texpdag.c:162
assign_reg
int assign_reg(int num, u32 *, HSD_TExpDag *list, const int *order)
make_full_dependancy_mtx
void make_full_dependancy_mtx(int num, const u32 *dep, u32 *full)
Definition
texpdag.c:304
order_dag
void order_dag(int num, u32 *dep, u32 *full_dep, HSD_TExpDag *list, int depth, int idx, u32 done_set, u32 ready_set, int *order, int *min, int *min_order)
Definition
texpdag.c:70
HSD_TExpSimplify2
int HSD_TExpSimplify2(HSD_TExp *texp)
Definition
texpdag.c:1262
HSD_TExpSchedule
void HSD_TExpSchedule(int num, HSD_TExpDag *list, HSD_TExp **result, HSD_TExpRes *resource)
Definition
texpdag.c:334
HSD_TExp
Definition
texp.h:168
src
sysdolphin
baselib
texpdag.h
Generated by
1.17.0