Lines Matching refs:GEP
375 Constant *GEP = ConstantExpr::getGetElementPtr(LDSTy, SGV, GEPIdx, true); in createLDSVariableReplacement() local
380 Map[GV] = GEP; in createLDSVariableReplacement()
416 Constant *GEP = LDSVarsToConstantGEP[GV]; in replaceLDSVariablesWithStruct() local
418 GV->replaceUsesWithIf(GEP, Predicate); in replaceLDSVariablesWithStruct()
423 APInt APOff(DL.getIndexTypeSizeInBits(GEP->getType()), 0); in replaceLDSVariablesWithStruct()
424 GEP->stripAndAccumulateInBoundsConstantOffsets(DL, APOff); in replaceLDSVariablesWithStruct()
436 refineUsesAlignmentAndAA(GEP, A, DL, AliasScope, NoAlias); in replaceLDSVariablesWithStruct()
481 if (auto *GEP = dyn_cast<GetElementPtrInst>(U)) { in refineUsesAlignmentAndAA() local
482 unsigned BitWidth = DL.getIndexTypeSizeInBits(GEP->getType()); in refineUsesAlignmentAndAA()
484 if (GEP->getPointerOperand() == Ptr) { in refineUsesAlignmentAndAA()
486 if (GEP->accumulateConstantOffset(DL, Off)) in refineUsesAlignmentAndAA()
488 refineUsesAlignmentAndAA(GEP, GA, DL, AliasScope, NoAlias, in refineUsesAlignmentAndAA()