Lines Matching refs:GV
94 const GlobalVariable &GV, in allocateLDSGlobal() argument
96 auto Entry = LocalMemoryObjects.insert(std::pair(&GV, 0)); in allocateLDSGlobal()
101 DL.getValueOrABITypeAlignment(GV.getAlign(), GV.getValueType()); in allocateLDSGlobal()
104 if (GV.getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS) { in allocateLDSGlobal()
106 std::optional<uint32_t> MaybeAbs = getLDSAbsoluteAddress(GV); in allocateLDSGlobal()
130 ObjectStart + DL.getTypeAllocSize(GV.getValueType()); in allocateLDSGlobal()
146 StaticLDSSize += DL.getTypeAllocSize(GV.getValueType()); in allocateLDSGlobal()
151 assert(GV.getAddressSpace() == AMDGPUAS::REGION_ADDRESS && in allocateLDSGlobal()
155 StaticGDSSize += DL.getTypeAllocSize(GV.getValueType()); in allocateLDSGlobal()
182 AMDGPUMachineFunction::getLDSAbsoluteAddress(const GlobalValue &GV) { in getLDSAbsoluteAddress() argument
183 if (GV.getAddressSpace() != AMDGPUAS::LOCAL_ADDRESS) in getLDSAbsoluteAddress()
186 std::optional<ConstantRange> AbsSymRange = GV.getAbsoluteSymbolRange(); in getLDSAbsoluteAddress()
201 const GlobalVariable &GV) { in setDynLDSAlign() argument
204 assert(DL.getTypeAllocSize(GV.getValueType()).isZero()); in setDynLDSAlign()
207 DL.getValueOrABITypeAlignment(GV.getAlign(), GV.getValueType()); in setDynLDSAlign()