SSBM Decomp
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
7
9
10typedef struct HSD_TExpDag {
11 struct _HSD_TETev* tev;
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
unsigned int u32
Definition types.h:13
unsigned char u8
Definition types.h:5
Definition texpdag.h:10
u8 dist
Definition texpdag.h:15
u8 nb_ref
Definition texpdag.h:14
HSD_TExpDag * depend[8]
Definition texpdag.h:16
u8 idx
Definition texpdag.h:12
u8 nb_dep
Definition texpdag.h:13
struct _HSD_TETev * tev
Definition texpdag.h:11
Definition texp.h:84
void CalcDistance(HSD_TExp **tevs, int *dist, HSD_TExp *tev, int num, int depth)
Definition texpdag.c:129
int SimplifySrc(HSD_TExp *)
Definition texpdag.c:395
int HSD_TExpSimplify(HSD_TExp *texp)
Definition texpdag.c:1243
int SimplifyByMerge(HSD_TExp *)
Definition texpdag.c:814
int SimplifyThis(HSD_TExp *)
Definition texpdag.c:550
void fn_80386230(void)
int HSD_TExpMakeDag(HSD_TExp *root, HSD_TExpDag *list)
Definition texpdag.c:162
int assign_reg(int num, u32 *, HSD_TExpDag *list, const int *order)
void make_full_dependancy_mtx(int num, const u32 *dep, u32 *full)
Definition texpdag.c:304
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
int HSD_TExpSimplify2(HSD_TExp *texp)
Definition texpdag.c:1262
void HSD_TExpSchedule(int num, HSD_TExpDag *list, HSD_TExp **result, HSD_TExpRes *resource)
Definition texpdag.c:334
Definition texp.h:168