Home
last modified time | relevance | path

Searched refs:AMDGPUSubtarget (Results 1 – 25 of 44) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUSubtarget.cpp41 #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 DAMDGPU.td1768 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 DGCNSubtarget.h35 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 DAMDGPUSubtarget.h29 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 DAMDGPUMachineFunction.h22 class AMDGPUSubtarget; variable
71 AMDGPUMachineFunction(const Function &F, const AMDGPUSubtarget &ST);
H A DAMDGPUPreLegalizerCombiner.cpp79 #define AMDGPUSubtarget GCNSubtarget macro
82 #undef AMDGPUSubtarget
86 #define AMDGPUSubtarget GCNSubtarget macro
88 #undef AMDGPUSubtarget
H A DAMDGPURemoveIncompatibleFunctions.cpp35 using Generation = AMDGPUSubtarget::Generation;
178 if (ST->getGeneration() < AMDGPUSubtarget::GFX10 && in checkFunction()
H A DAMDGPUInstructionSelector.h22 #define AMDGPUSubtarget GCNSubtarget macro
25 #undef AMDGPUSubtarget
368 #define AMDGPUSubtarget GCNSubtarget macro
371 #undef AMDGPUSubtarget
H A DAMDGPURegBankCombiner.cpp101 #define AMDGPUSubtarget GCNSubtarget macro
104 #undef AMDGPUSubtarget
108 #define AMDGPUSubtarget GCNSubtarget macro
110 #undef AMDGPUSubtarget
H A DAMDGPUAsmPrinter.cpp809 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 DSIInsertHardClauses.cpp106 if (ST->getGeneration() == AMDGPUSubtarget::GFX10) { in getHardClauseType()
118 assert(ST->getGeneration() >= AMDGPUSubtarget::GFX11); in getHardClauseType()
H A DAMDGPUPromoteAlloca.cpp305 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 DAMDGPUPostLegalizerCombiner.cpp118 #define AMDGPUSubtarget GCNSubtarget macro
121 #undef AMDGPUSubtarget
125 #define AMDGPUSubtarget GCNSubtarget macro
127 #undef AMDGPUSubtarget
H A DR600Subtarget.cpp27 : R600GenSubtargetInfo(TT, GPU, /*TuneCPU*/ GPU, FS), AMDGPUSubtarget(TT), in R600Subtarget()
H A DR700Instructions.td15 def isR700 : Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::R700">;
H A DR600ControlFlowFinalizer.cpp109 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 DR600Subtarget.h30 public AMDGPUSubtarget {
H A DAMDGPUMarkLastScratchLoad.cpp64 if (ST.getGeneration() < AMDGPUSubtarget::GFX12) in runOnMachineFunction()
H A DR600AsmPrinter.cpp71 if (STM.getGeneration() >= AMDGPUSubtarget::EVERGREEN) { in EmitProgramInfoR600()
H A DAMDGPUISelLowering.h24 class AMDGPUSubtarget; variable
29 const AMDGPUSubtarget *Subtarget;
180 AMDGPUTargetLowering(const TargetMachine &TM, const AMDGPUSubtarget &STI);
H A DAMDGPUMachineFunction.cpp43 const AMDGPUSubtarget &ST) in AMDGPUMachineFunction()
H A DR600InstrFormats.td13 def isR600 : Predicate<"Subtarget->getGeneration() <= AMDGPUSubtarget::R700">;
16 "Subtarget->getGeneration() <= AMDGPUSubtarget::NORTHERN_ISLANDS">;
H A DAMDGPUCallingConv.td219 "AMDGPUSubtarget::SOUTHERN_ISLANDS",
223 "AMDGPUSubtarget::SOUTHERN_ISLANDS && State.getCallingConv() == CallingConv::C",
H A DSIInstrInfo.cpp5116 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 DAMDGPUMCExpr.cpp207 static_cast<AMDGPUSubtarget::Generation>(Generation))); in evaluateOccupancy()

12