QuakeForge  0.7.2.210-815cf
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
def.c File Reference

Functions

def_talias_def (def_t *def, type_t *type, int offset)
 Create a def that aliases another def. More...
 
int def_offset (def_t *def)
 Convenience function for obtaining a def's actual offset. More...
 
int def_overlap (def_t *d1, def_t *d2)
 Determine if two defs overlap. More...
 
int def_size (def_t *def)
 Convenience function for obtaining a def's size. More...
 
void def_to_ddef (def_t *def, ddef_t *ddef, int aux)
 Initialize a vm def from a qfcc def. More...
 
int def_visit_all (def_t *def, int overlap, int(*visit)(def_t *, void *), void *data)
 Visit all defs that alias the given def, including itself. More...
 
void free_def (def_t *def)
 Free a def. More...
 
void free_temp_def (def_t *temp)
 Free a tempary def so it may be recycled. More...
 
void initialize_def (symbol_t *sym, type_t *type, expr_t *init, defspace_t *space, storage_class_t storage)
 Initialize a def referenced by the given symbol. More...
 
def_tnew_def (const char *name, type_t *type, defspace_t *space, storage_class_t storage)
 Create a new def. More...
 
def_ttemp_def (etype_t type, int size)
 Get a temporary def. More...