Lines Matching refs:sym
91 static void process_field(int field_type, symbol_t *sym, int mask);
104 static void type_check(symbol_ref_t *sym, expression_t *expression, int and_op);
119 symbol_t *sym; member
178 %token <sym> T_CEXPR
212 %token <sym> T_SYMBOL
1426 process_field(int field_type, symbol_t *sym, int value)
1435 if (sym->type == UNINITIALIZED) {
1436 sym->type = field_type;
1437 initialize_symbol(sym);
1438 sym->info.finfo->value = value;
1444 sym->info.finfo->value = value;
1445 sym->info.finfo->mask = value;
1447 sym->info.finfo->mask = field_symbol->info.finfo->value;
1449 sym->info.finfo->mask = 0xFF;
1451 } else if (sym->type != field_type) {
1455 } else if (value != sym->info.finfo->value) {
1460 if (symlist_search(&(sym->info.finfo->symrefs),
1465 symlist_add(&(sym->info.finfo->symrefs), cur_symbol,
1467 cur_symbol->info.rinfo->valid_bitmask |= sym->info.finfo->mask;
1469 symlist_add(&(cur_symbol->info.rinfo->fields), sym, SYMLIST_SORT);
1858 type_check(symbol_ref_t *sym, expression_t *expression, int opcode) in type_check() argument
1860 symbol_t *symbol = sym->symbol; in type_check()
1997 is_location_address(symbol_t *sym) in is_location_address() argument
1999 if (sym->type == SCBLOC || in is_location_address()
2000 sym->type == SRAMLOC) in is_location_address()