Lines Matching defs:SGV
264 static void markUsedByKernel(Function *Func, GlobalVariable *SGV) {
292 Builder.CreateConstInBoundsGEP1_32(SGV->getValueType(), SGV, 0)};
302 GlobalVariable *SGV = nullptr;
687 cast<Constant>(ModuleScopeReplacement.SGV),
691 recordLDSAbsoluteAddress(&M, ModuleScopeReplacement.SGV, 0);
726 markUsedByKernel(&Func, ModuleScopeReplacement.SGV);
730 return ModuleScopeReplacement.SGV;
800 markUsedByKernel(&Func, Replacement.SGV);
1189 GlobalVariable *KernelStruct = Replacement->second.SGV;
1361 GlobalVariable *SGV = new GlobalVariable(
1365 SGV->setAlignment(StructAlign);
1372 Constant *GEP = ConstantExpr::getGetElementPtr(LDSTy, SGV, GEPIdx, true);
1381 return {SGV, std::move(Map)};
1426 commonAlignment(Replacement.SGV->getAlign().valueOrOne(), Offset);