Home | History | Annotate | Download | only in config

Lines Matching defs:CLASS_ID

403   int64_t cur_class = tok.class_id & -tok.class_id;
408 return (cur_class != tok.class_id)
409 ? tok.class_id ^ cur_class
410 : tok.class_id;
426 for (imm_idx = 0 ; class[imm_idx].class_id ; ++imm_idx)
427 if (class[imm_idx].class_id == tok.class_id)
430 while (class[imm_idx + 1].class_id != -1
432 || (exp.X_op == O_symbol && !has_relocation_of_size (str_hash_find (env.reloc_hash, TOKEN_NAME (class[imm_idx + 1].class_id))))
433 || (exp.X_op == 64 && !kvx_get_pseudo_func2 (exp.X_op_symbol, str_hash_find (env.reloc_hash, TOKEN_NAME (class[imm_idx + 1].class_id))))))
436 return class[imm_idx + 1].class_id == -1 ? class[imm_idx].class_id : class[imm_idx + 1].class_id;
439 return tok.class_id;
536 while (class[cur].class_id != -1
543 TOKEN_NAME (class[cur].class_id)))))
548 TOKEN_NAME (class[cur].class_id)))))))
553 // token->val = (uintptr_t) !kvx_get_pseudo_func2 (exp.X_op_symbol, str_hash_find (env.reloc_hash, TOKEN_NAME (class[cur].class_id)));
569 while (!found && class[cur].class_id != -1);
575 return token->class_id = classes->imm_classes[0].class_id;
580 return token->class_id = unset (class[cur].class_id, env.sys_reg);
583 return token->class_id = class[cur].class_id;
679 tl->class_id = tok.class_id;
694 cur->tok, cur->val, TOKEN_NAME (cur->class_id), cur->loc);
763 CLASS_ID (struct token_s tok)
765 int offset = __builtin_ctzll (tok.class_id & -tok.class_id);
773 return tok.class_id;
789 tok.class_id = -3;
791 if (CLASS_ID (tok) == -1)
799 jump_target, TOKEN_NAME (CLASS_ID (tok)), CLASS_ID (tok));
803 while (cur_rule[i].steering != -1 && cur_rule[i].steering != CLASS_ID (tok))
824 if (cur_rule[i].steering == CLASS_ID (tok))
828 printf_debug (1, "matched %s\n", TOKEN_NAME (CLASS_ID (tok)));
829 tok.class_id = CLASS_ID (tok);
845 while (!fst_part && tok.class_id != (int64_t) promote_token (tok))
848 tok.class_id = promote_token (tok);
849 printf_debug (1, "> Restart with %s?\n", TOKEN_NAME (CLASS_ID (tok)));
856 while (cur_rule[i].steering != CLASS_ID(tok) && cur_rule[i].steering != -1)
893 printf_debug (1, "snd_part: Trying to match: %s\n", TOKEN_NAME (CLASS_ID (tok)));
895 while (!snd_part && tok.class_id != (int64_t) promote_token (tok))
897 tok.class_id = promote_token (tok);
898 printf_debug (1, ">> Restart with %s?\n", TOKEN_NAME (CLASS_ID (tok)));
907 while (cur_rule[i].steering != CLASS_ID (tok) && cur_rule[i].steering != -1)
920 TOKEN_NAME (CLASS_ID (tok)), tok.class_id);
945 int idx = cur->class_id - env.fst_mod;