Searched refs:reg_b (Results 1 – 6 of 6) sorted by relevance
/external/llvm-project/clang/test/CodeGenOpenCL/ |
D | inline-asm-amdgcn.cl | 15 float reg_b; 20 : "v"(reg_a), "v"(reg_b), "a"(reg_c) 29 : "v"(reg_a),"v"(reg_b), "{a[0:31]}"(reg_c)); 34 : "{a1}"(reg_b));
|
/external/mesa3d/src/amd/compiler/tests/ |
D | test_to_hw_instr.cpp | 39 v0_hi.reg_b += 2; 40 v1_hi.reg_b += 2; 41 v0_b1.reg_b += 1; 42 v1_b1.reg_b += 1; 43 v0_b3.reg_b += 3; 44 v1_b3.reg_b += 3; 372 v0_hi.reg_b += 2; 373 v0_b1.reg_b += 1; 374 v1_hi.reg_b += 2;
|
/external/mesa3d/src/amd/compiler/ |
D | aco_lower_to_hw_instr.cpp | 931 def_reg.reg_b += offset; in split_copy() 932 op_reg.reg_b += offset; in split_copy() 940 bool can_increase = def_reg.reg_b % next == 0 && in split_copy() 943 can_increase = op_reg.reg_b % next == 0; in split_copy() 1131 if (copy.bytes == 3 && (copy.def.physReg().reg_b % 4 <= 1) && in do_swap() 1132 (copy.def.physReg().reg_b % 4) == (copy.op.physReg().reg_b % 4)) { in do_swap() 1136 op.reg_b &= ~0x3; in do_swap() 1137 def.reg_b &= ~0x3; in do_swap() 1146 op.reg_b += copy.def.physReg().reg_b % 4 == 0 ? 3 : 0; in do_swap() 1147 def.reg_b += copy.def.physReg().reg_b % 4 == 0 ? 3 : 0; in do_swap() [all …]
|
D | aco_validate.cpp | 727 …if ((op.getTemp().type() == RegType::vgpr && op.physReg().reg_b + op.bytes() > (256 + program->con… in validate_ra() 748 …if ((def.getTemp().type() == RegType::vgpr && def.physReg().reg_b + def.bytes() > (256 + program->… in validate_ra() 781 if (regs[reg.reg_b + i]) { in validate_ra() 782 …gnment of element %d of %%%d already taken by %%%d in live-out", i, tmp.id(), regs[reg.reg_b + i]); in validate_ra() 784 regs[reg.reg_b + i] = tmp.id(); in validate_ra() 797 if (regs[reg.reg_b + i]) in validate_ra() 798 …gnment of element %d of %%%d already taken by %%%d in live-out", i, tmp.id(), regs[reg.reg_b + i]); in validate_ra() 824 regs[reg.reg_b + i] = tmp.id(); in validate_ra() 835 regs[reg.reg_b + i] = 0; in validate_ra() 845 regs[op.physReg().reg_b + j] = 0; in validate_ra() [all …]
|
D | aco_register_allocation.cpp | 158 for (PhysReg i = start; i.reg_b < start.reg_b + num_bytes; i = PhysReg(i + 1)) { in test() 163 for (unsigned j = i.byte(); i * 4 + j < start.reg_b + num_bytes && j < 4; j++) { in test() 238 for (PhysReg i = start; i.reg_b < start.reg_b + num_bytes; i = PhysReg(i + 1)) { in fill_subdword() 241 for (unsigned j = i.byte(); i * 4 + j < start.reg_b + num_bytes && j < 4; j++) in fill_subdword() 725 res.reg_b += i; in get_reg_simple() 804 reg.reg_b += instr->operands[i].bytes(); in get_regs_for_copies() 1078 reg.reg_b += op.bytes(); in get_reg_impl() 1173 test_reg.reg_b = reg.reg_b & ~(sdw_def_info.second - 1); in get_reg_specified() 1199 reg.reg_b -= offset; in get_reg() 1230 reg.reg_b += (byte_offset - k); in get_reg() [all …]
|
D | aco_ir.h | 371 explicit constexpr PhysReg(unsigned r) : reg_b(r << 2) {} in PhysReg() 372 constexpr unsigned reg() const { return reg_b >> 2; } in reg() 373 constexpr unsigned byte() const { return reg_b & 0x3; } in byte() 375 constexpr bool operator==(PhysReg other) const { return reg_b == other.reg_b; } 376 constexpr bool operator!=(PhysReg other) const { return reg_b != other.reg_b; } 377 constexpr bool operator <(PhysReg other) const { return reg_b < other.reg_b; } 378 …constexpr PhysReg advance(int bytes) const { PhysReg res = *this; res.reg_b += bytes; return res; } in advance() 380 uint16_t reg_b = 0; member
|