Home
last modified time | relevance | path

Searched refs:isSDWA (Results 1 – 15 of 15) sorted by relevance

/external/mesa3d/src/amd/compiler/
Daco_optimizer.cpp606 if (instr->isDPP() || instr->isSDWA()) in can_use_VOP3()
624 if (instr->isSDWA() && ctx.program->chip_class < GFX9) in can_apply_sgprs()
906 if (instr->isSDWA()) in label_instruction()
912 if (!instr->isDPP() && !instr->isSDWA()) in label_instruction()
917 else if (instr->isSDWA()) in label_instruction()
931 if (!instr->isDPP() && !instr->isSDWA()) in label_instruction()
936 else if (instr->isSDWA()) in label_instruction()
944 (!instr->isSDWA() || ctx.program->chip_class >= GFX9)) { in label_instruction()
947 if (i == 0 || instr->isSDWA() || instr->opcode == aco_opcode::v_readlane_b32 || in label_instruction()
1657 } else if (op_instr[i]->isSDWA()) { in combine_ordering_test()
[all …]
Daco_ir.cpp167 if (instr->isSDWA()) in can_use_SDWA()
224 if (instr->isSDWA()) in convert_to_SDWA()
Daco_validate.cpp143 if (instr->isSDWA()) { in validate_ir()
261 if (instr->isSDWA()) in validate_ir()
573 …if (instr->isSDWA() && (static_cast<SDWA_instruction *>(instr.get())->sel[index] & sdwa_asuint) ==… in validate_subdword_operand()
623 …if (instr->isSDWA() && static_cast<SDWA_instruction *>(instr.get())->dst_sel == (sdwa_isra | def.b… in validate_subdword_definition()
654 …if (instr->isSDWA() && static_cast<SDWA_instruction *>(instr.get())->dst_sel == (sdwa_isra | def.b… in get_subdword_bytes_written()
Daco_opt_value_numbering.cpp89 if (instr->isSDWA()) in operator ()()
205 if (a->isSDWA()) { in operator ()()
Daco_ir.h953 constexpr bool isSDWA() const noexcept in isSDWA() function
1348 if (isDPP() || isSDWA()) in usesModifiers()
Daco_print_ir.cpp701 } else if (instr->isSDWA()) { in aco_print_instr()
Daco_assembler.cpp649 } else if (instr->isSDWA()) { in emit_instruction()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DSIPeepholeSDWA.cpp731 if (!TII->isSDWA(*Op1Inst)) in matchSDWAOperand()
781 if (!TII->isSDWA(*OtherInst)) in matchSDWAOperand()
946 if (TII->isSDWA(Opc)) in isConvertibleToSDWA()
1012 if (TII->isSDWA(Opcode)) { in convertToSDWA()
DSIInstrInfo.h435 static bool isSDWA(const MachineInstr &MI) { in isSDWA() function
439 bool isSDWA(uint16_t Opcode) const { in isSDWA() function
DSIFoldOperands.cpp470 if (UseMO.isUndef() || TII->isSDWA(MI)) in isUseSafeToFold()
DSIInstrInfo.cpp3759 if (isSDWA(MI)) { in verifyInstruction()
3887 && (isVOP1(MI) || isVOP2(MI) || isVOP3(MI) || isVOPC(MI) || isSDWA(MI))) { in verifyInstruction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIPeepholeSDWA.cpp735 if (!TII->isSDWA(*Op1Inst)) in matchSDWAOperand()
785 if (!TII->isSDWA(*OtherInst)) in matchSDWAOperand()
944 if (TII->isSDWA(Opc)) in isConvertibleToSDWA()
1000 if (TII->isSDWA(Opcode)) { in convertToSDWA()
DSIInstrInfo.h429 static bool isSDWA(const MachineInstr &MI) { in isSDWA() function
433 bool isSDWA(uint16_t Opcode) const { in isSDWA() function
DSIFoldOperands.cpp463 return !UseMO.isUndef() && !TII->isSDWA(MI); in isUseSafeToFold()
DSIInstrInfo.cpp3310 if (isSDWA(MI)) { in verifyInstruction()
3437 && (isVOP1(MI) || isVOP2(MI) || isVOP3(MI) || isVOPC(MI) || isSDWA(MI))) { in verifyInstruction()