SSBM Decomp
Loading...
Searching...
No Matches
texpdag.c File Reference
#include "texpdag.h"
#include "texp.h"
#include "tobj.h"

Functions

int assign_reg (int num, u32 *unused, HSD_TExpDag *list, int *order)
 
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)
 
void CalcDistance (HSD_TExp **tevs, int *dist, HSD_TExp *tev, int num, int depth)
 
static void make_dependancy_mtx (int num, HSD_TExpDag *list, u32 *dep_mtx)
 HSD_TExpMakeDag
 
void make_full_dependancy_mtx (int num, u32 *dep, u32 *full)
 
void fn_80386230 (void)
 
void HSD_TExpSchedule (int num, HSD_TExpDag *list, HSD_TExp **result, HSD_TExpRes *resource)
 
int HSD_TExpSimplify (HSD_TExp *texp_)
 SimplifySrc
 
int HSD_TExpSimplify2 (HSD_TExp *texp)
 

Variables

static u8 pad [0x44] = { 0 }
 

Function Documentation

◆ assign_reg()

int assign_reg ( int  num,
u32 *  unused,
HSD_TExpDag list,
int *  order 
)

◆ 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 
)

◆ CalcDistance()

void CalcDistance ( HSD_TExp **  tevs,
int *  dist,
HSD_TExp tev,
int  num,
int  depth 
)

◆ make_dependancy_mtx()

static void make_dependancy_mtx ( int  num,
HSD_TExpDag list,
u32 *  dep_mtx 
)
static

◆ make_full_dependancy_mtx()

void make_full_dependancy_mtx ( int  num,
u32 *  dep,
u32 *  full 
)

◆ fn_80386230()

void fn_80386230 ( void  )

◆ HSD_TExpSchedule()

void HSD_TExpSchedule ( int  num,
HSD_TExpDag list,
HSD_TExp **  result,
HSD_TExpRes resource 
)

◆ HSD_TExpSimplify()

int HSD_TExpSimplify ( HSD_TExp texp_)

◆ HSD_TExpSimplify2()

int HSD_TExpSimplify2 ( HSD_TExp texp)

Variable Documentation

◆ pad

u8 pad[0x44] = { 0 }
static