Searched refs:enableFlatScratch (Results 1 – 8 of 8) sorted by relevance
94 if (!ST.enableFlatScratch()) { in SIMachineFunctionInfo()117 if (isAmdHsaOrMesa && !ST.enableFlatScratch()) in SIMachineFunctionInfo()164 (isAmdHsaOrMesa || ST.enableFlatScratch()) && in SIMachineFunctionInfo()165 (HasCalls || HasStackObjects || ST.enableFlatScratch()) && in SIMachineFunctionInfo()
294 return (ForBufferRSrc || !enableFlatScratch()) ? MaxPrivateElementSize : 16;601 bool enableFlatScratch() const { in enableFlatScratch() function
131 unsigned Opc = ST.enableFlatScratch() ? AMDGPU::SCRATCH_STORE_DWORD_SADDR in buildPrologSpill()155 unsigned Opc = ST.enableFlatScratch() ? AMDGPU::SCRATCH_LOAD_DWORD_SADDR in buildEpilogRestore()579 return ST.enableFlatScratch() ? 1 : ST.getWavefrontSize(); in getScratchScaleFactor()617 if (!ST.enableFlatScratch()) in emitEntryFunctionPrologue()691 (!allStackObjectsAreDead(FrameInfo) && ST.enableFlatScratch())); in emitEntryFunctionPrologue()1647 if (ST.enableFlatScratch()) { in allocateScavengingFrameIndexesNearIncomingSP()
818 unsigned MovOpc = ST.enableFlatScratch() ? AMDGPU::S_MOV_B32 in materializeFrameBaseRegister()822 ST.enableFlatScratch() ? &AMDGPU::SReg_32_XEXEC_HIRegClass in materializeFrameBaseRegister()834 ST.enableFlatScratch() ? &AMDGPU::SReg_32_XM0RegClass in materializeFrameBaseRegister()842 if (ST.enableFlatScratch() ) { in materializeFrameBaseRegister()1692 unsigned Opc = ST.enableFlatScratch() ? AMDGPU::SCRATCH_LOAD_DWORD_SADDR in buildVGPRSpillLoadStore()1697 unsigned Opc = ST.enableFlatScratch() ? AMDGPU::SCRATCH_STORE_DWORD_SADDR in buildVGPRSpillLoadStore()2118 unsigned Opc = ST.enableFlatScratch() ? AMDGPU::SCRATCH_STORE_DWORD_SADDR in eliminateFrameIndex()2176 unsigned Opc = ST.enableFlatScratch() ? AMDGPU::SCRATCH_LOAD_DWORD_SADDR in eliminateFrameIndex()2192 if (ST.enableFlatScratch()) { in eliminateFrameIndex()
210 if (ST.enableFlatScratch()) { in getStackAddress()733 if (!Subtarget.enableFlatScratch()) in lowerFormalArguments()1149 if (!ST.enableFlatScratch()) { in handleImplicitCallArguments()
1813 def EnableFlatScratch : Predicate<"Subtarget->enableFlatScratch()">;1815 def DisableFlatScratch : Predicate<"!Subtarget->enableFlatScratch()">;
1531 Subtarget->enableFlatScratch() || in allowsMisalignedMemoryAccessesImpl()2270 if (!ST.enableFlatScratch()) { in reservePrivateMemoryRegs()2412 (!Info->hasFlatScratchInit() || Subtarget->enableFlatScratch()) && in LowerFormalArguments()3197 if (!Subtarget->enableFlatScratch()) { in LowerCall()9317 (NumElements == 3 && !Subtarget->enableFlatScratch())) in LowerSTORE()
246 return ST.enableFlatScratch() ? 128 : 32; in maxSizeForAddrSpace()