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
8#include <placeholder.h>
9
11
12typedef struct HSD_TExpDag {
13 struct _HSD_TETev* tev;
20
21/* 385798 */ int assign_reg(int num, u32*, HSD_TExpDag* list,
22 const int* order);
23/* 385944 */ void order_dag(int num, u32* dep, u32* full_dep,
24 HSD_TExpDag* list, int depth, int idx,
25 u32 done_set, u32 ready_set, int* order, int* min,
26 int* min_order);
27/* 385B8C */ void CalcDistance(HSD_TExp** tevs, int* dist, HSD_TExp* tev,
28 int num, int depth);
29/* 385C60 */ int HSD_TExpMakeDag(HSD_TExp* root, HSD_TExpDag* list);
30/* 386100 */ void make_full_dependancy_mtx(int num, const u32* dep, u32* full);
32/* 386234 */ void HSD_TExpSchedule(int num, HSD_TExpDag* list,
33 HSD_TExp** result, HSD_TExpRes* resource);
34/* 386470 */ int SimplifySrc(HSD_TExp*);
35/* 38687C */ int SimplifyThis(HSD_TExp*);
36/* 3870E4 */ int SimplifyByMerge(HSD_TExp*);
37/* 387B1C */ int HSD_TExpSimplify(HSD_TExp* texp);
38/* 387BA4 */ int HSD_TExpSimplify2(HSD_TExp* texp);
39
40#endif
unsigned long u32
Definition types.h:9
unsigned char u8
Definition types.h:5
#define UNK_PARAMS
Definition placeholder.h:39
#define UNK_RET
Definition placeholder.h:31
Definition texpdag.h:12
u8 dist
Definition texpdag.h:17
u8 nb_ref
Definition texpdag.h:16
HSD_TExpDag * depend[8]
Definition texpdag.h:18
u8 idx
Definition texpdag.h:14
u8 nb_dep
Definition texpdag.h:15
struct _HSD_TETev * tev
Definition texpdag.h:13
Definition texp.h:84
void CalcDistance(HSD_TExp **tevs, int *dist, HSD_TExp *tev, int num, int depth)
Definition texpdag.c:128
UNK_RET fn_80386230(UNK_PARAMS)
int SimplifySrc(HSD_TExp *)
Definition texpdag.c:394
int HSD_TExpSimplify(HSD_TExp *texp)
Definition texpdag.c:1242
int SimplifyByMerge(HSD_TExp *)
Definition texpdag.c:813
int SimplifyThis(HSD_TExp *)
Definition texpdag.c:549
int HSD_TExpMakeDag(HSD_TExp *root, HSD_TExpDag *list)
Definition texpdag.c:161
int assign_reg(int num, u32 *, HSD_TExpDag *list, const int *order)
Definition texpdag.c:9
void make_full_dependancy_mtx(int num, const u32 *dep, u32 *full)
Definition texpdag.c:303
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:69
int HSD_TExpSimplify2(HSD_TExp *texp)
Definition texpdag.c:1261
void HSD_TExpSchedule(int num, HSD_TExpDag *list, HSD_TExp **result, HSD_TExpRes *resource)
Definition texpdag.c:333
Definition texp.h:168