/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUSubtarget.cpp | 41 #define AMDGPUSubtarget GCNSubtarget macro 43 #undef AMDGPUSubtarget 103 if (Gen == AMDGPUSubtarget::INVALID) { in initializeSubtargetDependencies() 104 Gen = TT.getOS() == Triple::AMDHSA ? AMDGPUSubtarget::SEA_ISLANDS in initializeSubtargetDependencies() 105 : AMDGPUSubtarget::SOUTHERN_ISLANDS; in initializeSubtargetDependencies() 117 assert(!hasFP64() || (getGeneration() >= AMDGPUSubtarget::SOUTHERN_ISLANDS)); in initializeSubtargetDependencies() 164 HasFminFmaxLegacy = getGeneration() < AMDGPUSubtarget::VOLCANIC_ISLANDS; in initializeSubtargetDependencies() 165 HasSMulHi = getGeneration() >= AMDGPUSubtarget::GFX9; in initializeSubtargetDependencies() 186 AMDGPUSubtarget::AMDGPUSubtarget(Triple TT) : TargetTriple(std::move(TT)) {} in AMDGPUSubtarget() function in AMDGPUSubtarget 188 bool AMDGPUSubtarget::useRealTrue16Insts() const { in useRealTrue16Insts() [all …]
|
H A D | AMDGPU.td | 1768 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SOUTHERN_ISLANDS">, 1772 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SOUTHERN_ISLANDS ||" 1773 "Subtarget->getGeneration() == AMDGPUSubtarget::SEA_ISLANDS">, 1777 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SOUTHERN_ISLANDS ||" 1778 "Subtarget->getGeneration() == AMDGPUSubtarget::SEA_ISLANDS ||" 1779 "Subtarget->getGeneration() == AMDGPUSubtarget::GFX10">, 1783 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SOUTHERN_ISLANDS ||" 1784 "Subtarget->getGeneration() == AMDGPUSubtarget::SEA_ISLANDS ||" 1785 "Subtarget->getGeneration() >= AMDGPUSubtarget::GFX10">, 1789 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SEA_ISLANDS">, [all …]
|
H A D | GCNSubtarget.h | 35 public AMDGPUSubtarget { 37 using AMDGPUSubtarget::getMaxWavesPerEU; 383 return (getGeneration() < AMDGPUSubtarget::VOLCANIC_ISLANDS); in hasAddr64() 387 return (getGeneration() > AMDGPUSubtarget::SOUTHERN_ISLANDS); in hasFlat() 425 return getGeneration() >= AMDGPUSubtarget::GFX9; in hasMed3_16() 429 return getGeneration() >= AMDGPUSubtarget::GFX9; in hasMin3Max3_16() 524 return getGeneration() >= AMDGPUSubtarget::GFX9; in supportsMinMaxDenormModes() 529 return getGeneration() >= AMDGPUSubtarget::GFX10; in hasDenormModeInst() 555 return getGeneration() < AMDGPUSubtarget::GFX9; in privateMemoryResourceIsRangeChecked() 1143 return getGeneration() != AMDGPUSubtarget::SOUTHERN_ISLANDS; in has12DWordStoreHazard() [all …]
|
H A D | AMDGPUSubtarget.h | 29 class AMDGPUSubtarget { 74 AMDGPUSubtarget(Triple TT); 76 static const AMDGPUSubtarget &get(const MachineFunction &MF); 77 static const AMDGPUSubtarget &get(const TargetMachine &TM, 310 virtual ~AMDGPUSubtarget() = default;
|
H A D | AMDGPUMachineFunction.h | 22 class AMDGPUSubtarget; variable 71 AMDGPUMachineFunction(const Function &F, const AMDGPUSubtarget &ST);
|
H A D | AMDGPUPreLegalizerCombiner.cpp | 79 #define AMDGPUSubtarget GCNSubtarget macro 82 #undef AMDGPUSubtarget 86 #define AMDGPUSubtarget GCNSubtarget macro 88 #undef AMDGPUSubtarget
|
H A D | AMDGPURemoveIncompatibleFunctions.cpp | 35 using Generation = AMDGPUSubtarget::Generation; 178 if (ST->getGeneration() < AMDGPUSubtarget::GFX10 && in checkFunction()
|
H A D | AMDGPUInstructionSelector.h | 22 #define AMDGPUSubtarget GCNSubtarget macro 25 #undef AMDGPUSubtarget 368 #define AMDGPUSubtarget GCNSubtarget macro 371 #undef AMDGPUSubtarget
|
H A D | AMDGPURegBankCombiner.cpp | 101 #define AMDGPUSubtarget GCNSubtarget macro 104 #undef AMDGPUSubtarget 108 #define AMDGPUSubtarget GCNSubtarget macro 110 #undef AMDGPUSubtarget
|
H A D | AMDGPUAsmPrinter.cpp | 809 if (STM.getGeneration() >= AMDGPUSubtarget::VOLCANIC_ISLANDS && in getSIProgramInfo() 919 if (STM.getGeneration() <= AMDGPUSubtarget::SEA_ISLANDS || in getSIProgramInfo() 992 if (STM.getGeneration() < AMDGPUSubtarget::SEA_ISLANDS) { in getSIProgramInfo() 1016 STM.getGeneration() >= AMDGPUSubtarget::GFX11 ? 8 : 10; in getSIProgramInfo() 1150 if (STM.getGeneration() >= AMDGPUSubtarget::GFX12) { in EmitProgramInfoSI() 1154 } else if (STM.getGeneration() == AMDGPUSubtarget::GFX11) { in EmitProgramInfoSI() 1178 if (STM.getGeneration() >= AMDGPUSubtarget::GFX12) { in EmitProgramInfoSI() 1182 } else if (STM.getGeneration() == AMDGPUSubtarget::GFX11) { in EmitProgramInfoSI() 1195 unsigned ExtraLDSSize = STM.getGeneration() >= AMDGPUSubtarget::GFX11 in EmitProgramInfoSI() 1280 unsigned ExtraLDSSize = STM.getGeneration() >= AMDGPUSubtarget::GFX11 in EmitPALMetadata() [all …]
|
H A D | SIInsertHardClauses.cpp | 106 if (ST->getGeneration() == AMDGPUSubtarget::GFX10) { in getHardClauseType() 118 assert(ST->getGeneration() >= AMDGPUSubtarget::GFX11); in getHardClauseType()
|
H A D | AMDGPUPromoteAlloca.cpp | 305 const AMDGPUSubtarget &ST = AMDGPUSubtarget::get(TM, F); in run() 973 const AMDGPUSubtarget &ST = AMDGPUSubtarget::get(TM, F); in getLocalSizeYZ() 1062 const AMDGPUSubtarget &ST = AMDGPUSubtarget::get(TM, *F); in getWorkitemID() 1256 const AMDGPUSubtarget &ST = AMDGPUSubtarget::get(TM, F); in hasSufficientLocalMem() 1429 const AMDGPUSubtarget &ST = AMDGPUSubtarget::get(TM, ContainingFunction); in tryPromoteAllocaToLDS()
|
H A D | AMDGPUPostLegalizerCombiner.cpp | 118 #define AMDGPUSubtarget GCNSubtarget macro 121 #undef AMDGPUSubtarget 125 #define AMDGPUSubtarget GCNSubtarget macro 127 #undef AMDGPUSubtarget
|
H A D | R600Subtarget.cpp | 27 : R600GenSubtargetInfo(TT, GPU, /*TuneCPU*/ GPU, FS), AMDGPUSubtarget(TT), in R600Subtarget()
|
H A D | R700Instructions.td | 15 def isR700 : Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::R700">;
|
H A D | R600ControlFlowFinalizer.cpp | 109 if (ST->getGeneration() <= AMDGPUSubtarget::R700) { in getSubEntrySize() 121 assert(ST->getGeneration() >= AMDGPUSubtarget::EVERGREEN); in getSubEntrySize() 147 ST->getGeneration() > AMDGPUSubtarget::EVERGREEN && in pushBranch() 220 bool isEg = (ST->getGeneration() >= AMDGPUSubtarget::EVERGREEN); in getHWInstrDesc()
|
H A D | R600Subtarget.h | 30 public AMDGPUSubtarget {
|
H A D | AMDGPUMarkLastScratchLoad.cpp | 64 if (ST.getGeneration() < AMDGPUSubtarget::GFX12) in runOnMachineFunction()
|
H A D | R600AsmPrinter.cpp | 71 if (STM.getGeneration() >= AMDGPUSubtarget::EVERGREEN) { in EmitProgramInfoR600()
|
H A D | AMDGPUISelLowering.h | 24 class AMDGPUSubtarget; variable 29 const AMDGPUSubtarget *Subtarget; 180 AMDGPUTargetLowering(const TargetMachine &TM, const AMDGPUSubtarget &STI);
|
H A D | AMDGPUMachineFunction.cpp | 43 const AMDGPUSubtarget &ST) in AMDGPUMachineFunction()
|
H A D | R600InstrFormats.td | 13 def isR600 : Predicate<"Subtarget->getGeneration() <= AMDGPUSubtarget::R700">; 16 "Subtarget->getGeneration() <= AMDGPUSubtarget::NORTHERN_ISLANDS">;
|
H A D | AMDGPUCallingConv.td | 219 "AMDGPUSubtarget::SOUTHERN_ISLANDS", 223 "AMDGPUSubtarget::SOUTHERN_ISLANDS && State.getCallingConv() == CallingConv::C",
|
H A D | SIInstrInfo.cpp | 5116 ST.getGeneration() == AMDGPUSubtarget::VOLCANIC_ISLANDS) { in verifyInstruction() 5215 ST.getGeneration() >= AMDGPUSubtarget::GFX10) { in verifyInstruction() 5221 ST.getGeneration() >= AMDGPUSubtarget::GFX10) { in verifyInstruction() 5227 ST.getGeneration() < AMDGPUSubtarget::GFX10) { in verifyInstruction() 6852 assert(ST.getGeneration() < AMDGPUSubtarget::VOLCANIC_ISLANDS && in legalizeOperands() 7111 NewOpcode = ST.getGeneration() >= AMDGPUSubtarget::GFX12 in moveToVALUImpl() 8572 if (ST.getGeneration() >= AMDGPUSubtarget::GFX10) { in getDefaultRsrcDataFormat() 8573 int64_t Format = ST.getGeneration() >= AMDGPUSubtarget::GFX11 in getDefaultRsrcDataFormat() 8584 if (ST.getGeneration() <= AMDGPUSubtarget::VOLCANIC_ISLANDS) in getDefaultRsrcDataFormat() 8589 if (ST.getGeneration() == AMDGPUSubtarget::VOLCANIC_ISLANDS) in getDefaultRsrcDataFormat() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/ |
H A D | AMDGPUMCExpr.cpp | 207 static_cast<AMDGPUSubtarget::Generation>(Generation))); in evaluateOccupancy()
|