Home
last modified time | relevance | path

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

/external/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()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DGCNHazardRecognizer.cpp170 if (SIInstrInfo::isVALU(*MI) && checkVALUHazards(MI) > 0) in getHazardType()
279 if (SIInstrInfo::isVALU(*MI)) in PreEmitNoopsCommon()
577 auto IsHazardDefFn = [this] (MachineInstr *MI) { return TII.isVALU(*MI); }; in checkSMRDHazards()
618 auto IsHazardDefFn = [this] (MachineInstr *MI) { return TII.isVALU(*MI); }; in checkVMEMHazards()
639 auto IsHazardDefFn = [TII] (MachineInstr *MI) { return TII->isVALU(*MI); }; in checkDPPHazards()
665 auto IsHazardDefFn = [TII] (MachineInstr *MI) { return TII->isVALU(*MI); }; in checkDivFMasHazards()
826 return TII->isVALU(*MI); in checkRWLaneHazards()
881 return SIInstrInfo::isVALU(*MI) && in fixVcmpxPermlaneHazards()
932 return MI && (SIInstrInfo::isVALU(*MI) || in fixVMEMtoScalarWriteHazards()
954 if (!SIInstrInfo::isVALU(*MI)) in fixSMEMtoVectorWriteHazards()
[all …]
DAMDGPUSubtarget.cpp812 bool isVALU(const SUnit *SU) const { in isVALU() function
814 return MI && TII->isVALU(*MI); in isVALU()
865 if (SUv != From && isVALU(SUv) && canAddEdge(SUv, SU)) in linkSALUChain()
DSIInstrInfo.h347 static bool isVALU(const MachineInstr &MI) { in isVALU() function
351 bool isVALU(uint16_t Opcode) const { in isVALU() function
DSILowerControlFlow.cpp405 && SIInstrInfo::isVALU(*Def); in emitIfBreak()
DSIInstrInfo.cpp3614 if (SIInstrInfo::isVALU(MI)) { in shouldReadExec()
4461 if (isVALU(MI) && usesConstantBus(MRI, *MO, OpInfo)) { in isOperandLegal()
6780 if (isVALU(MI) || isSALU(MI)) { in getInstSizeInBytes()
/external/llvm/lib/Target/AMDGPU/
DGCNHazardRecognizer.cpp211 auto IsHazardDefFn = [TII] (MachineInstr *MI) { return TII->isVALU(*MI); }; in checkSMRDHazards()
235 auto IsHazardDefFn = [TII] (MachineInstr *MI) { return TII->isVALU(*MI); }; in checkVMEMHazards()
DSIInstrInfo.h191 static bool isVALU(const MachineInstr &MI) { in isVALU() function
195 bool isVALU(uint16_t Opcode) const { in isVALU() function
DSIInstrInfo.cpp1626 if (SIInstrInfo::isVALU(MI)) { in shouldReadExec()
2012 if (isVALU(MI) && usesConstantBus(MRI, *MO, DefinedRC->getSize())) { in isOperandLegal()
3108 if (isVALU(MI) || isSALU(MI)) { in getInstSizeInBytes()
/external/mesa3d/src/amd/compiler/
Daco_insert_NOPs.cpp215 ((pred->isVALU() && Valu) || in handle_raw_hazard_internal()
356 } else if (instr->isVALU() || instr->format == Format::VINTRP) { in handle_instruction_gfx6()
460 } else if (instr->isVALU()) { in handle_instruction_gfx6()
628 } else if (instr->isVALU()) { in handle_instruction_gfx10()
648 } else if (instr->isVALU() && instr->opcode != aco_opcode::v_nop) { in handle_instruction_gfx10()
655 if (!instr->isVALU() && instr->reads_exec()) { in handle_instruction_gfx10()
657 } else if (instr->isVALU()) { in handle_instruction_gfx10()
Daco_ir.cpp161 if (!instr->isVALU()) in can_use_SDWA()
Daco_optimizer.cpp792 else if (instr->isVALU() || instr->isSALU()) in get_operand_size()
818 if (instr->isSALU() || instr->isVALU() || instr->format == Format::PSEUDO) { in label_instruction()
891 else if (instr->isVALU()) { in label_instruction()
2645 if (instr->isVALU()) { in combine_instruction()
3105 if (!instr->isSALU() && !instr->isVALU()) in select_instruction()
3138 else if (instr->isVALU() && instr->operands.size() >= 3) in select_instruction()
3150 if (instr->isVALU() && op.isTemp() && op.getTemp().type() == RegType::sgpr && in select_instruction()
3180 unsigned const_bus_limit = instr->isVALU() ? 1 : UINT32_MAX; in select_instruction()
3239 if (instr->isSALU() || instr->isVALU()) { in apply_literals()
3245 if (instr->isVALU() && i > 0) in apply_literals()
Daco_validate.cpp228 if (instr->isSALU() || instr->isVALU()) { in validate_ir()
248 …check(!instr->isVALU() || instr->isVOP3() || i == 0 || i == 2, "Wrong source position for Literal … in validate_ir()
252 if (instr->isVALU()) { in validate_ir()
Daco_ir.h916 constexpr bool isVALU() const noexcept in isVALU() function