Home
last modified time | relevance | path

Searched refs:isVOP3 (Results 1 – 19 of 19) sorted by relevance

/external/mesa3d/src/amd/compiler/
Daco_ir.cpp170 if (instr->isVOP3()) { in can_use_SDWA()
235 if (tmp->isVOP3()) { in convert_to_SDWA()
Daco_optimizer.cpp600 if (instr->isVOP3()) in can_use_VOP3()
635 if (instr->isVOP3()) in to_VOP3()
951 } else if (!instr->isVOP3() && can_swap_operands(instr)) { in label_instruction()
1650 if (op_instr[i]->isVOP3()) { in combine_ordering_test()
1765 if (cmp->isVOP3()) { in combine_comparison_ordering()
1853 if (nan_test->isVOP3()) { in combine_constant_comparison_ordering()
1884 if (cmp->isVOP3()) { in combine_constant_comparison_ordering()
1933 if (cmp->isVOP3()) { in combine_inverse_comparison()
1988 …VOP3A_instruction *op1_vop3 = op1_instr->isVOP3() ? static_cast<VOP3A_instruction *>(op1_instr) : … in match_op3_for_vop3()
1989 …VOP3A_instruction *op2_vop3 = op2_instr->isVOP3() ? static_cast<VOP3A_instruction *>(op2_instr) : … in match_op3_for_vop3()
[all …]
Daco_opt_value_numbering.cpp83 if (instr->isVOP3()) in operator ()()
180 if (a->isVOP3()) { in operator ()()
Daco_validate.cpp194 if (instr->isVOP3()) { in validate_ir()
243 (instr->isVOP3() && program->chip_class >= GFX10), in validate_ir()
248 …check(!instr->isVALU() || instr->isVOP3() || i == 0 || i == 2, "Wrong source position for Literal … in validate_ir()
260 uint32_t scalar_mask = instr->isVOP3() ? 0x7 : 0x5; in validate_ir()
Daco_ir.h947 constexpr bool isVOP3() const noexcept in isVOP3() function
1358 } else if (isVOP3()) { in usesModifiers()
Daco_print_ir.cpp579 if (instr->isVOP3()) { in print_instr_format_specific()
Daco_insert_NOPs.cpp545 if (instr->isVOP3() && instr->definitions.size() == 2) in VALU_writes_sgpr()
Daco_register_allocation.cpp2326 bool instr_needs_vop3 = !instr->isVOP3() && in register_allocation()
/external/llvm/lib/Target/AMDGPU/
DSIInstrInfo.h263 static bool isVOP3(const MachineInstr &MI) { in isVOP3() function
267 bool isVOP3(uint16_t Opcode) const { in isVOP3() function
DSIInstrInfo.cpp985 if (NewMI || !Src1.isImm() || (!isVOP2(MI) && !isVOP3(MI))) { in commuteInstructionImpl()
1055 if (!isVOP2(MI.getOpcode()) && !isVOP3(MI.getOpcode())) in findCommutedOpIndices()
1722 if (isVOP1(MI) || isVOP2(MI) || isVOP3(MI) || isVOPC(MI)) { in verifyInstruction()
2216 if (isVOP3(MI)) { in legalizeOperands()
DSIISelLowering.cpp3240 if (TII->isVOP3(MI.getOpcode())) { in AdjustInstrPostInstrSelection()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIInstrInfo.h421 static bool isVOP3(const MachineInstr &MI) { in isVOP3() function
425 bool isVOP3(uint16_t Opcode) const { in isVOP3() function
DGCNDPPCombine.cpp490 if (TII->isVOP3(OrigOp)) { in combineDPPMov()
DSIInstrInfo.cpp2960 if (!isVOP3(MI) || !AMDGPU::isSISrcOperand(InstDesc, OpNo)) in isImmOperandLegal()
3437 && (isVOP1(MI) || isVOP2(MI) || isVOP3(MI) || isVOPC(MI) || isSDWA(MI))) { in verifyInstruction()
3484 if (isVOP3(MI) && LiteralCount) { in verifyInstruction()
3973 if (isVOP3(MI) && isLiteralConstantLike(*MO, OpInfo) && !VOP3LiteralLimit--) in isOperandLegal()
3995 } else if (isVOP3(MI) && AMDGPU::isSISrcOperand(InstDesc, i) && in isOperandLegal()
4534 if (isVOP3(MI)) { in legalizeOperands()
6007 return isVOP3(MI) ? 12 : (DescSize + 4); in getInstSizeInBytes()
6014 return isVOP3(MI) ? 12 : (DescSize + 4); in getInstSizeInBytes()
6021 return isVOP3(MI) ? 12 : (DescSize + 4); in getInstSizeInBytes()
DSIISelLowering.cpp3845 if (TII->isVOP3(*I)) { in EmitInstrWithCustomInserter()
10442 if (TII->isVOP3(MI.getOpcode())) { in AdjustInstrPostInstrSelection()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DSIInstrInfo.h427 static bool isVOP3(const MachineInstr &MI) { in isVOP3() function
431 bool isVOP3(uint16_t Opcode) const { in isVOP3() function
DGCNDPPCombine.cpp497 if (TII->isVOP3(OrigOp)) { in combineDPPMov()
DSIInstrInfo.cpp3405 if (!isVOP3(MI) || !AMDGPU::isSISrcOperand(InstDesc, OpNo)) in isImmOperandLegal()
3887 && (isVOP1(MI) || isVOP2(MI) || isVOP3(MI) || isVOPC(MI) || isSDWA(MI))) { in verifyInstruction()
3941 if (isVOP3(MI) && LiteralCount) { in verifyInstruction()
4462 if (isVOP3(MI) && isLiteralConstantLike(*MO, OpInfo) && !VOP3LiteralLimit--) in isOperandLegal()
4484 } else if (isVOP3(MI) && AMDGPU::isSISrcOperand(InstDesc, i) && in isOperandLegal()
5079 if (isVOP3(MI)) { in legalizeOperands()
6786 return isVOP3(MI) ? 12 : (DescSize + 4); in getInstSizeInBytes()
6793 return isVOP3(MI) ? 12 : (DescSize + 4); in getInstSizeInBytes()
6800 return isVOP3(MI) ? 12 : (DescSize + 4); in getInstSizeInBytes()
DSIISelLowering.cpp4249 if (TII->isVOP3(*I)) { in EmitInstrWithCustomInserter()
11168 if (TII->isVOP3(MI.getOpcode())) { in AdjustInstrPostInstrSelection()