Home
last modified time | relevance | path

Searched refs:isVALU (Results 1 – 13 of 13) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DGCNHazardRecognizer.cpp155 if (SIInstrInfo::isVALU(*MI) && checkVALUHazards(MI) > 0) in getHazardType()
265 if (SIInstrInfo::isVALU(*MI)) in PreEmitNoopsCommon()
549 auto IsHazardDefFn = [this] (MachineInstr *MI) { return TII.isVALU(*MI); }; in checkSMRDHazards()
590 auto IsHazardDefFn = [this] (MachineInstr *MI) { return TII.isVALU(*MI); }; in checkVMEMHazards()
611 auto IsHazardDefFn = [TII] (MachineInstr *MI) { return TII->isVALU(*MI); }; in checkDPPHazards()
637 auto IsHazardDefFn = [TII] (MachineInstr *MI) { return TII->isVALU(*MI); }; in checkDivFMasHazards()
797 return TII->isVALU(*MI); in checkRWLaneHazards()
880 return SIInstrInfo::isVALU(*MI) && in fixVcmpxPermlaneHazards()
931 return MI && (SIInstrInfo::isVALU(*MI) || in fixVMEMtoScalarWriteHazards()
949 if (!SIInstrInfo::isVALU(*MI)) in fixSMEMtoVectorWriteHazards()
[all …]
DAMDGPUSubtarget.cpp816 bool isVALU(const SUnit *SU) const { in isVALU() function
818 return MI && TII->isVALU(*MI); in isVALU()
869 if (SUv != From && isVALU(SUv) && canAddEdge(SUv, SU)) in linkSALUChain()
DSIInstrInfo.h341 static bool isVALU(const MachineInstr &MI) { in isVALU() function
345 bool isVALU(uint16_t Opcode) const { in isVALU() function
DSILowerControlFlow.cpp367 && SIInstrInfo::isVALU(*Def); in emitIfBreak()
DSIInstrInfo.cpp3164 if (SIInstrInfo::isVALU(MI)) { in shouldReadExec()
3972 if (isVALU(MI) && usesConstantBus(MRI, *MO, OpInfo)) { in isOperandLegal()
6001 if (isVALU(MI) || isSALU(MI)) { in getInstSizeInBytes()
/third_party/mesa3d/src/amd/compiler/
Daco_insert_NOPs.cpp227 bool is_hazard = writemask != 0 && ((pred->isVALU() && Valu) || (pred->isVINTRP() && Vintrp) || in handle_raw_hazard_instr()
404 } else if (instr->isVALU() || instr->isVINTRP()) { in handle_instruction_gfx6()
508 } else if (instr->isVALU()) { in handle_instruction_gfx6()
695 } else if (instr->isVALU()) { in handle_instruction_gfx10()
717 } else if (instr->isVALU() && instr->opcode != aco_opcode::v_nop) { in handle_instruction_gfx10()
724 if (!instr->isVALU() && instr->reads_exec()) { in handle_instruction_gfx10()
726 } else if (instr->isVALU()) { in handle_instruction_gfx10()
Daco_ir.cpp205 if (!instr->isVALU()) in can_use_SDWA()
317 assert(instr->isVALU() && !instr->operands.empty()); in can_use_DPP()
565 if (instr->isVALU()) { in needs_exec_mask()
Daco_optimizer.cpp905 else if (instr->isVALU() || instr->isSALU()) in get_operand_size()
1270 if (instr->isSALU() || instr->isVALU() || instr->isPseudo()) { in label_instruction()
1320 else if (instr->isVALU()) { in label_instruction()
1535 if (instr->isVALU() || instr->isVINTRP()) { in label_instruction()
3790 if (instr->isVALU()) { in combine_instruction()
4472 if (!instr->isSALU() && !instr->isVALU()) in select_instruction()
4493 if (instr->isVALU()) { in select_instruction()
4549 else if (instr->isVALU() && instr->operands.size() >= 3) in select_instruction()
4561 if (instr->isVALU() && op.isTemp() && op.getTemp().type() == RegType::sgpr && in select_instruction()
4590 unsigned const_bus_limit = instr->isVALU() ? 1 : UINT32_MAX; in select_instruction()
[all …]
Daco_validate.cpp284 if (instr->isSALU() || instr->isVALU()) { in validate_ir()
306 if (instr->isVALU()) { in validate_ir()
892 if (instr->isVALU()) { in get_subdword_bytes_written()
Daco_optimizer_postRA.cpp412 if (!instr->isVALU() || instr->isDPP()) in try_combine_dpp()
Daco_register_allocation.cpp507 if (instr->isVALU()) { in get_subdword_operand_stride()
542 if (instr->isVALU()) { in add_subdword_operand()
612 if (instr->isVALU() || instr->isVINTRP()) { in get_subdword_definition_info()
680 if (instr->isVALU()) { in add_subdword_definition()
2655 if (instr->isVALU()) in optimize_encoding()
Daco_ir.h1344 constexpr bool isVALU() const noexcept in isVALU() function
Daco_lower_to_hw_instr.cpp2417 } else if (inst->isVALU() || inst->isVINTRP()) { in lower_to_hw_instr()