Lines Matching refs:i

109   size_t i;  in cgen_keyword_add()  local
125 for (i = 1; i < strlen (ke->name); i++) in cgen_keyword_add()
126 if (! ISALNUM (ke->name[i]) in cgen_keyword_add()
127 && ! strchr (kt->nonalpha_chars, ke->name[i])) in cgen_keyword_add()
136 kt->nonalpha_chars[idx] = ke->name[i]; in cgen_keyword_add()
238 int i; in build_keyword_hash_tables() local
253 for (i = kt->num_init_entries - 1; i >= 0; --i) in build_keyword_hash_tables()
254 cgen_keyword_add (kt, &kt->init_entries[i]); in build_keyword_hash_tables()
266 unsigned int i; in cgen_hw_lookup_by_name() local
269 for (i = 0; i < cd->hw_table.num_entries; ++i) in cgen_hw_lookup_by_name()
270 if (hw[i] && strcmp (name, hw[i]->name) == 0) in cgen_hw_lookup_by_name()
271 return hw[i]; in cgen_hw_lookup_by_name()
284 unsigned int i; in cgen_hw_lookup_by_num() local
288 for (i = 0; i < cd->hw_table.num_entries; ++i) in cgen_hw_lookup_by_num()
289 if (hw[i] && hwnum == hw[i]->type) in cgen_hw_lookup_by_num()
290 return hw[i]; in cgen_hw_lookup_by_num()
304 unsigned int i; in cgen_operand_lookup_by_name() local
307 for (i = 0; i < cd->operand_table.num_entries; ++i) in cgen_operand_lookup_by_name()
308 if (op[i] && strcmp (name, op[i]->name) == 0) in cgen_operand_lookup_by_name()
309 return op[i]; in cgen_operand_lookup_by_name()
370 int i; in cgen_get_insn_value() local
376 for (i = 0; i < length; i += insn_chunk_bitsize) /* NB: i == bits */ in cgen_get_insn_value()
381 bit_index = i; /* NB: not dependent on endianness; opposite of cgen_put_insn_value! */ in cgen_get_insn_value()
409 int i; in cgen_put_insn_value() local
415 for (i = 0; i < length; i += insn_chunk_bitsize) /* NB: i == bits */ in cgen_put_insn_value()
419 bit_index = (length - insn_chunk_bitsize - i); /* NB: not dependent on endianness! */ in cgen_put_insn_value()
549 int i; in cgen_get_insn_operands() local
553 for (i = 0, opinst = insn->opinst; opinst->type != CGEN_OPINST_END; ++i, ++opinst) in cgen_get_insn_operands()
557 indices[i] = opinst->index; in cgen_get_insn_operands()
559 indices[i] = (*cd->get_int_operand) (cd, op_type, fields); in cgen_get_insn_operands()