/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | GCNHazardRecognizer.cpp | 155 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 …]
|
D | AMDGPUSubtarget.cpp | 816 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()
|
D | SIInstrInfo.h | 341 static bool isVALU(const MachineInstr &MI) { in isVALU() function 345 bool isVALU(uint16_t Opcode) const { in isVALU() function
|
D | SILowerControlFlow.cpp | 367 && SIInstrInfo::isVALU(*Def); in emitIfBreak()
|
D | SIInstrInfo.cpp | 3164 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/ |
D | GCNHazardRecognizer.cpp | 170 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 …]
|
D | AMDGPUSubtarget.cpp | 812 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()
|
D | SIInstrInfo.h | 347 static bool isVALU(const MachineInstr &MI) { in isVALU() function 351 bool isVALU(uint16_t Opcode) const { in isVALU() function
|
D | SILowerControlFlow.cpp | 405 && SIInstrInfo::isVALU(*Def); in emitIfBreak()
|
D | SIInstrInfo.cpp | 3614 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/ |
D | GCNHazardRecognizer.cpp | 211 auto IsHazardDefFn = [TII] (MachineInstr *MI) { return TII->isVALU(*MI); }; in checkSMRDHazards() 235 auto IsHazardDefFn = [TII] (MachineInstr *MI) { return TII->isVALU(*MI); }; in checkVMEMHazards()
|
D | SIInstrInfo.h | 191 static bool isVALU(const MachineInstr &MI) { in isVALU() function 195 bool isVALU(uint16_t Opcode) const { in isVALU() function
|
D | SIInstrInfo.cpp | 1626 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/ |
D | aco_insert_NOPs.cpp | 215 ((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()
|
D | aco_ir.cpp | 161 if (!instr->isVALU()) in can_use_SDWA()
|
D | aco_optimizer.cpp | 792 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()
|
D | aco_validate.cpp | 228 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()
|
D | aco_ir.h | 916 constexpr bool isVALU() const noexcept in isVALU() function
|