Lines Matching defs:SGV
264 static void markUsedByKernel(Function *Func, GlobalVariable *SGV) {
292 Builder.CreateConstInBoundsGEP1_32(SGV->getValueType(), SGV, 0)};
302 GlobalVariable *SGV = nullptr;
689 cast<Constant>(ModuleScopeReplacement.SGV),
693 recordLDSAbsoluteAddress(&M, ModuleScopeReplacement.SGV, 0);
728 markUsedByKernel(&Func, ModuleScopeReplacement.SGV);
732 return ModuleScopeReplacement.SGV;
802 markUsedByKernel(&Func, Replacement.SGV);
1067 GlobalVariable *KernelStruct = Replacement->second.SGV;
1234 GlobalVariable *SGV = new GlobalVariable(
1238 SGV->setAlignment(StructAlign);
1245 Constant *GEP = ConstantExpr::getGetElementPtr(LDSTy, SGV, GEPIdx, true);
1254 return {SGV, std::move(Map)};
1299 commonAlignment(Replacement.SGV->getAlign().valueOrOne(), Offset);