Lines Matching defs:Operand

430  * Operand and Definition.
478 * Operand Class
479 * Initially, each Operand refers to either
485 class Operand final {
487 constexpr Operand()
493 explicit Operand(Temp r) noexcept
503 explicit Operand(Temp r, PhysReg reg) noexcept
512 static Operand c8(uint8_t v) noexcept
517 Operand op;
527 static Operand c16(uint16_t v) noexcept
529 Operand op;
562 static Operand c32(uint32_t v) noexcept { return c32_or_c64(v, false); }
565 static Operand c64(uint64_t v) noexcept
567 Operand op;
612 static Operand c32_or_c64(uint32_t v, bool is64bit) noexcept
614 Operand op;
646 explicit Operand(RegClass type) noexcept
652 explicit Operand(PhysReg reg, RegClass type) noexcept
658 static Operand zero(unsigned bytes = 4) noexcept
661 return Operand::c64(0);
663 return Operand::c32(0);
665 return Operand::c16(0);
667 return Operand::c8(0);
673 static Operand get_const(enum chip_class chip, uint64_t val, unsigned bytes)
677 Operand op = Operand::c32(val);
683 return Operand::c64(val);
685 return Operand::c32(val);
687 return Operand::c16(val);
689 return Operand::c8(val);
833 constexpr bool operator==(Operand other) const noexcept
851 constexpr bool operator!=(Operand other) const noexcept { return !operator==(other); }
1007 aco::span<Operand> operands;
1014 for (const Operand& op : operands) {
1352 * Operand(0): SBASE - SGPR-pair which provides base address
1353 * Operand(1): Offset - immediate (un)signed offset or SGPR
1354 * Operand(2) / Definition(0): SDATA - SGPR for read / write result
1355 * Operand(n-1): SOffset - SGPR offset (Vega only)
1498 * Operand(0): ADDR - VGPR which supplies the address.
1499 * Operand(1): DATA0 - First data VGPR.
1500 * Operand(2): DATA1 - Second data VGPR.
1501 * Operand(n-1): M0 - LDS size.
1516 * Operand(0): SRSRC - Specifies which SGPR supplies T# (resource constant)
1517 * Operand(1): VADDR - Address source. Can carry an index and/or offset
1518 * Operand(2): SOFFSET - SGPR to supply unsigned byte offset. (SGPR, M0, or inline constant)
1519 * Operand(3) / Definition(0): VDATA - Vector GPR for write result / read data
1543 * Operand(0): SRSRC - Specifies which SGPR supplies T# (resource constant)
1544 * Operand(1): VADDR - Address source. Can carry an index and/or offset
1545 * Operand(2): SOFFSET - SGPR to supply unsigned byte offset. (SGPR, M0, or inline constant)
1546 * Operand(3) / Definition(0): VDATA - Vector GPR for write result / read data
1568 * Operand(0) SRSRC - Scalar GPR that specifies the resource constant.
1569 * Operand(1): SSAMP - Scalar GPR that specifies sampler constant.
1570 * Operand(2): VDATA - Vector GPR for write data or zero if TFE/LWE=1.
1571 * Operand(3): VADDR - Address source. Can carry an offset or an index.
1598 * Operand(0): ADDR
1599 * Operand(1): SADDR
1600 * Operand(2) / Definition(0): DATA/VDST
1672 * Operand(0): data to be reduced
1673 * Operand(1): reduce temporary
1674 * Operand(2): vector temporary
1701 sizeof(T) + num_operands * sizeof(Operand) + num_definitions * sizeof(Definition);
1709 inst->operands = aco::span<Operand>(operands_offset, num_operands);
2204 void aco_print_operand(const Operand* operand, FILE* output, unsigned flags = 0);