Lines Matching defs:format
59 * Representation of the instruction's microcode encoding format
283 asVOP3(Format format)
285 return (Format)((uint32_t)Format::VOP3 | (uint32_t)format);
289 asSDWA(Format format)
291 assert(format == Format::VOP1 || format == Format::VOP2 || format == Format::VOPC);
292 return (Format)((uint32_t)Format::SDWA | (uint32_t)format);
296 withoutDPP(Format format)
298 return (Format)((uint32_t)format & ~((uint32_t)Format::DPP16 | (uint32_t)Format::DPP8));
1022 Format format;
1049 constexpr bool isPseudo() const noexcept { return format == Format::PSEUDO; }
1060 constexpr bool isSOP1() const noexcept { return format == Format::SOP1; }
1071 constexpr bool isSOP2() const noexcept { return format == Format::SOP2; }
1082 constexpr bool isSOPK() const noexcept { return format == Format::SOPK; }
1093 constexpr bool isSOPP() const noexcept { return format == Format::SOPP; }
1104 constexpr bool isSOPC() const noexcept { return format == Format::SOPC; }
1115 constexpr bool isSMEM() const noexcept { return format == Format::SMEM; }
1126 constexpr bool isDS() const noexcept { return format == Format::DS; }
1137 constexpr bool isMTBUF() const noexcept { return format == Format::MTBUF; }
1148 constexpr bool isMUBUF() const noexcept { return format == Format::MUBUF; }
1159 constexpr bool isMIMG() const noexcept { return format == Format::MIMG; }
1170 constexpr bool isEXP() const noexcept { return format == Format::EXP; }
1181 constexpr bool isFlat() const noexcept { return format == Format::FLAT; }
1192 constexpr bool isGlobal() const noexcept { return format == Format::GLOBAL; }
1203 constexpr bool isScratch() const noexcept { return format == Format::SCRATCH; }
1214 constexpr bool isBranch() const noexcept { return format == Format::PSEUDO_BRANCH; }
1225 constexpr bool isBarrier() const noexcept { return format == Format::PSEUDO_BARRIER; }
1236 constexpr bool isReduction() const noexcept { return format == Format::PSEUDO_REDUCTION; }
1247 constexpr bool isVOP3P() const noexcept { return format == Format::VOP3P; }
1258 constexpr bool isVOP1() const noexcept { return (uint16_t)format & (uint16_t)Format::VOP1; }
1269 constexpr bool isVOP2() const noexcept { return (uint16_t)format & (uint16_t)Format::VOP2; }
1280 constexpr bool isVOPC() const noexcept { return (uint16_t)format & (uint16_t)Format::VOPC; }
1291 constexpr bool isVOP3() const noexcept { return (uint16_t)format & (uint16_t)Format::VOP3; }
1302 constexpr bool isVINTRP() const noexcept { return (uint16_t)format & (uint16_t)Format::VINTRP; }
1313 constexpr bool isDPP16() const noexcept { return (uint16_t)format & (uint16_t)Format::DPP16; }
1324 constexpr bool isDPP8() const noexcept { return (uint16_t)format & (uint16_t)Format::DPP8; }
1336 constexpr bool isSDWA() const noexcept { return (uint16_t)format & (uint16_t)Format::SDWA; }
1438 * This format can be used for VOP1, VOP2 or VOPC instructions.
1509 * This format can be used for VOP1, VOP2 or VOPC instructions.
1591 uint8_t nfmt : 3; /* Numeric format of data in memory */
1690 // clang-format off
1705 // clang-format on
1736 create_instruction(aco_opcode opcode, Format format, uint32_t num_operands,
1745 inst->format = format;
2305 const aco::Format format[static_cast<int>(aco_opcode::num_opcodes)];