Lines Matching defs:bytes

216          /* stride in bytes */
221 if (info.second > rc.bytes()) {
245 bounds.size -= rc.bytes() / 4;
269 /* Returns true if any of the bytes in the given range are allocated or blocked */
290 fill_subdword(start, rc.bytes(), 0xFFFFFFFF);
320 fill_subdword(start, rc.bytes(), 0);
328 fill_subdword(op.physReg(), op.bytes(), op.tempId());
338 fill_subdword(def.physReg(), def.bytes(), def.tempId());
465 ASSERTED auto inserted = regs_to_vars.emplace(reg, std::make_pair(var.rc.bytes(), id));
501 return rc.bytes() % 2 == 0 ? 2 : 1;
506 assert(rc.bytes() <= 2);
509 return rc.bytes();
541 assert(rc.bytes() <= 2);
607 return std::make_pair(rc.bytes() % 2 == 0 ? 2 : 1, rc.bytes());
613 assert(rc.bytes() <= 2);
616 return std::make_pair(rc.bytes(), rc.bytes());
668 return std::make_pair(4u, rc.bytes());
682 assert(instr->definitions[0].bytes() <= 2);
960 /* do this late because using the upper bytes of a register can require
970 /* check if there's a block of free bytes large enough to hold the register */
972 std::all_of(&entry.second[i], &entry.second[std::min(4u, i + rc.bytes())],
976 if (reg_found && i + rc.bytes() > 4)
1028 return var_a.rc.bytes() > var_b.rc.bytes() ||
1029 (var_a.rc.bytes() == var_b.rc.bytes() && var_a.reg < var_b.reg);
1050 assert(!reg_file.test(reg, instr->operands[i].bytes()));
1053 reg.reg_b += instr->operands[i].bytes();
1066 reg.reg_b += instr->operands[i].bytes();
1254 !reg_file.test(PhysReg{op.physReg().reg()}, align(op.bytes() + op.physReg().byte(), 4))) {
1418 if (reg_file.test(reg, rc.bytes()))
1562 our_offset += op.bytes();
1584 their_offset += op.bytes();
1622 offset += def.bytes();
1721 uint32_t bytes = rc.bytes();
1734 offset += instr->operands[i].bytes(), i++) {
1772 unsigned bytes_left = bytes - ((unsigned)j - reg_win.lo()) * 4;
1797 offset2 += instr->operands[j].bytes(), j++) {
1802 k += op.bytes();
1815 if (num_moves >= 2 * bytes) {
1817 } else if (num_moves > bytes) {
1962 if (register_file.test(operand.physReg(), operand.bytes())) {
2572 !register_file.test(affinity.reg, instr->operands[2].bytes()))
2627 !register_file.test(affinity.reg, instr->operands[!literal_idx].bytes()))
2801 assert(instr->definitions[0].bytes() == instr->operands[2].bytes() ||
2807 assert(instr->definitions[0].bytes() == instr->operands[0].bytes());
2811 assert(instr->definitions[0].bytes() == instr->operands[3].bytes());
2815 assert(instr->definitions[0].bytes() == instr->operands[2].bytes());
2829 if (register_file.test(definition.physReg(), definition.bytes())) {
2871 reg.reg_b += instr->definitions[j].bytes();
2875 RegClass vec_rc = RegClass::get(rc.type(), instr->operands[0].bytes());
2883 reg.reg_b += instr->definitions[i - 1].bytes();
2892 !register_file.test(reg, definition->bytes()))
2896 reg.reg_b += definition->bytes() * instr->operands[1].constantValue();
2908 if (definition->regClass().is_subdword() && definition->bytes() < 4) {