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 <placeholder.h>
5#include <platform.h>
6
7#include "baselib/forward.h"
8
9#include "baselib/texp.h"
10
11typedef struct HSD_TExpDag {
12 struct _HSD_TETev* tev;
19
20/* 385798 */ int assign_reg(int num, u32*, HSD_TExpDag* list, 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, u32* dep, u32* full);
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 char u8
Definition hsd_3B2B.h:2
u32 idx
Definition lbheap.c:13
#define UNK_PARAMS
Definition placeholder.h:47
#define UNK_RET
Definition placeholder.h:39
Definition texpdag.h:11
u8 dist
Definition texpdag.h:16
u8 nb_ref
Definition texpdag.h:15
HSD_TExpDag * depend[8]
Definition texpdag.h:17
u8 idx
Definition texpdag.h:13
u8 nb_dep
Definition texpdag.h:14
struct _HSD_TETev * tev
Definition texpdag.h:12
Definition texp.h:84
void fn_80386230(void)
Definition texpdag.c:240
void CalcDistance(HSD_TExp **tevs, int *dist, HSD_TExp *tev, int num, int depth)
Definition texpdag.c:164
int SimplifySrc(HSD_TExp *)
int HSD_TExpSimplify(HSD_TExp *texp)
SimplifySrc
Definition texpdag.c:304
int SimplifyByMerge(HSD_TExp *)
int SimplifyThis(HSD_TExp *)
int assign_reg(int num, u32 *, HSD_TExpDag *list, int *order)
Definition texpdag.c:6
int HSD_TExpMakeDag(HSD_TExp *root, HSD_TExpDag *list)
void make_full_dependancy_mtx(int num, u32 *dep, u32 *full)
Definition texpdag.c:211
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:66
int HSD_TExpSimplify2(HSD_TExp *texp)
Definition texpdag.c:323
void HSD_TExpSchedule(int num, HSD_TExpDag *list, HSD_TExp **result, HSD_TExpRes *resource)
Definition texpdag.c:244
Definition texp.h:168