Lines Matching refs:slotbuf
2102 static xtensa_insnbuf slotbuf = NULL; in get_invisible_operands() local
2108 if (!slotbuf) in get_invisible_operands()
2109 slotbuf = xtensa_insnbuf_alloc (isa); in get_invisible_operands()
2118 if (xtensa_opcode_encode (isa, fmt, slot, slotbuf, opc) == 0) in get_invisible_operands()
2143 xtensa_operand_set_field (isa, opc, opnd, fmt, slot, slotbuf, val); in get_invisible_operands()
2152 xtensa_operand_get_field (isa, opc, opnd, fmt, slot, slotbuf, &val); in get_invisible_operands()
2557 static xtensa_insnbuf slotbuf = NULL; in get_opcode_from_buf() local
2564 slotbuf = xtensa_insnbuf_alloc (isa); in get_opcode_from_buf()
2575 xtensa_format_get_slot (isa, fmt, slot, insnbuf, slotbuf); in get_opcode_from_buf()
2576 return xtensa_opcode_decode (isa, fmt, slot, slotbuf); in get_opcode_from_buf()
2731 xtensa_insnbuf_set_operand (xtensa_insnbuf slotbuf, in xtensa_insnbuf_set_operand() argument
2761 slotbuf, valbuf); in xtensa_insnbuf_set_operand()
2766 xtensa_insnbuf_get_operand (xtensa_insnbuf slotbuf, in xtensa_insnbuf_get_operand() argument
2774 fmt, slot, slotbuf, &val); in xtensa_insnbuf_get_operand()
5073 static xtensa_insnbuf slotbuf = NULL; in xg_apply_fix_value() local
5087 slotbuf = xtensa_insnbuf_alloc (isa); in xg_apply_fix_value()
5094 xtensa_format_get_slot (isa, fmt, slot, insnbuf, slotbuf); in xg_apply_fix_value()
5095 opcode = xtensa_opcode_decode (isa, fmt, slot, slotbuf); in xg_apply_fix_value()
5105 xtensa_insnbuf_set_operand (slotbuf, fmt, slot, opcode, in xg_apply_fix_value()
5109 xtensa_format_set_slot (isa, fmt, slot, insnbuf, slotbuf); in xg_apply_fix_value()
5663 static xtensa_insnbuf slotbuf = NULL; in md_pcrel_from() local
5682 slotbuf = xtensa_insnbuf_alloc (isa); in md_pcrel_from()
5695 xtensa_format_get_slot (isa, fmt, slot, insnbuf, slotbuf); in md_pcrel_from()
5696 opcode = xtensa_opcode_decode (isa, fmt, slot, slotbuf); in md_pcrel_from()
7767 static xtensa_insnbuf slotbuf = NULL; in next_instrs_are_b_retw() local
7776 slotbuf = xtensa_insnbuf_alloc (isa); in next_instrs_are_b_retw()
7791 xtensa_format_get_slot (isa, fmt, slot, insnbuf, slotbuf); in next_instrs_are_b_retw()
7792 opcode = xtensa_opcode_decode (isa, fmt, slot, slotbuf); in next_instrs_are_b_retw()
7822 xtensa_format_get_slot (isa, fmt, 0, insnbuf, slotbuf); in next_instrs_are_b_retw()
7823 opcode = xtensa_opcode_decode (isa, fmt, 0, slotbuf); in next_instrs_are_b_retw()
11946 xtensa_insnbuf slotbuf) in tinsn_to_slotbuf() argument
11958 if (xtensa_opcode_encode (isa, fmt, slot, slotbuf, opcode)) in tinsn_to_slotbuf()
11982 rc = xtensa_operand_set_field (isa, opcode, i, fmt, slot, slotbuf, in tinsn_to_slotbuf()
11994 xtensa_insnbuf_set_operand (slotbuf, fmt, slot, opcode, i, in tinsn_to_slotbuf()
12016 static xtensa_insnbuf slotbuf = 0; in tinsn_to_insnbuf() local
12022 if (!slotbuf) in tinsn_to_insnbuf()
12024 slotbuf = xtensa_insnbuf_alloc (isa); in tinsn_to_insnbuf()
12038 tinsn_to_slotbuf (vinsn.format, i, &vinsn.slots[i], vinsn.slotbuf[i]); in tinsn_to_insnbuf()
12039 xtensa_format_set_slot (isa, vinsn.format, i, insnbuf, vinsn.slotbuf[i]); in tinsn_to_insnbuf()
12146 xtensa_insnbuf slotbuf, in tinsn_from_insnbuf() argument
12157 tinsn->opcode = xtensa_opcode_decode (isa, fmt, slot, slotbuf); in tinsn_from_insnbuf()
12162 xtensa_insnbuf_get_operand (slotbuf, fmt, slot, in tinsn_from_insnbuf()
12236 v->slotbuf[i] = xtensa_insnbuf_alloc (isa); in xg_init_vinsn()
12237 if (v->slotbuf[i] == NULL) in xg_init_vinsn()
12269 memcpy (dst->slotbuf, src->slotbuf, src->num_slots * sizeof(xtensa_insnbuf)); in xg_copy_vinsn()
12293 xtensa_insnbuf_free (xtensa_default_isa, v->slotbuf[i]); in xg_free_vinsn()
12320 vinsn->slotbuf[slot]); in vinsn_to_insnbuf()
12323 insnbuf, vinsn->slotbuf[slot]); in vinsn_to_insnbuf()
12400 static xtensa_insnbuf slotbuf = NULL; in vinsn_from_chars() local
12408 slotbuf = xtensa_insnbuf_alloc (isa); in vinsn_from_chars()
12421 xtensa_format_get_slot (isa, fmt, i, insnbuf, slotbuf); in vinsn_from_chars()
12422 tinsn_from_insnbuf (tinsn, slotbuf, fmt, i); in vinsn_from_chars()