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 <
placeholder.h
>
9
10
#include <
sysdolphin/baselib/texp.h
>
11
12
typedef
struct
HSD_TExpDag
{
13
struct
_HSD_TETev*
tev
;
14
u8
idx
;
15
u8
nb_dep
;
16
u8
nb_ref
;
17
u8
dist
;
18
HSD_TExpDag
*
depend
[8];
19
}
HSD_TExpDag
;
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);
31
/* 386230 */
UNK_RET
fn_80386230
(
UNK_PARAMS
);
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
u32
unsigned long u32
Definition
types.h:9
u8
unsigned char u8
Definition
types.h:5
placeholder.h
UNK_PARAMS
#define UNK_PARAMS
Definition
placeholder.h:39
UNK_RET
#define UNK_RET
Definition
placeholder.h:31
platform.h
HSD_TExpDag
Definition
texpdag.h:12
HSD_TExpDag::dist
u8 dist
Definition
texpdag.h:17
HSD_TExpDag::nb_ref
u8 nb_ref
Definition
texpdag.h:16
HSD_TExpDag::depend
HSD_TExpDag * depend[8]
Definition
texpdag.h:18
HSD_TExpDag::idx
u8 idx
Definition
texpdag.h:14
HSD_TExpDag::nb_dep
u8 nb_dep
Definition
texpdag.h:15
HSD_TExpDag::tev
struct _HSD_TETev * tev
Definition
texpdag.h:13
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:128
fn_80386230
UNK_RET fn_80386230(UNK_PARAMS)
SimplifySrc
int SimplifySrc(HSD_TExp *)
Definition
texpdag.c:394
HSD_TExpSimplify
int HSD_TExpSimplify(HSD_TExp *texp)
Definition
texpdag.c:1242
SimplifyByMerge
int SimplifyByMerge(HSD_TExp *)
Definition
texpdag.c:813
SimplifyThis
int SimplifyThis(HSD_TExp *)
Definition
texpdag.c:549
HSD_TExpMakeDag
int HSD_TExpMakeDag(HSD_TExp *root, HSD_TExpDag *list)
Definition
texpdag.c:161
assign_reg
int assign_reg(int num, u32 *, HSD_TExpDag *list, const int *order)
Definition
texpdag.c:9
make_full_dependancy_mtx
void make_full_dependancy_mtx(int num, const u32 *dep, u32 *full)
Definition
texpdag.c:303
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:69
HSD_TExpSimplify2
int HSD_TExpSimplify2(HSD_TExp *texp)
Definition
texpdag.c:1261
HSD_TExpSchedule
void HSD_TExpSchedule(int num, HSD_TExpDag *list, HSD_TExp **result, HSD_TExpRes *resource)
Definition
texpdag.c:333
HSD_TExp
Definition
texp.h:168
src
sysdolphin
baselib
texpdag.h
Generated by
1.17.0