Lines Matching defs:GetElementPtrInst
347 SmallVector<std::pair<AssertingVH<GetElementPtrInst>, int64_t>, 32>>
354 DenseMap<AssertingVH<GetElementPtrInst>, int> LargeOffsetGEPID;
803 auto GEP = dyn_cast<GetElementPtrInst>(V);
1236 static bool getGEPSmallConstantIntOffsetV(GetElementPtrInst *GEP,
1289 auto *Derived = dyn_cast<GetElementPtrInst>(ToReplace->getDerivedPtr());
3764 std::pair<AssertingVH<GetElementPtrInst>, int64_t> &LargeOffsetGEP;
3783 std::pair<AssertingVH<GetElementPtrInst>, int64_t> &LargeOffsetGEP,
3808 std::pair<AssertingVH<GetElementPtrInst>, int64_t> &LargeOffsetGEP,
5246 if (EnableGEPOffsetSplit && isa<GetElementPtrInst>(AddrInst) &&
5255 auto *GEP = cast<GetElementPtrInst>(AddrInst);
5258 !isa<GetElementPtrInst>(BaseI))) {
5684 std::pair<AssertingVH<GetElementPtrInst>, int64_t> LargeOffsetGEP(nullptr,
5792 std::pair<AssertingVH<GetElementPtrInst>, int64_t> LargeOffsetGEP(nullptr,
5806 GetElementPtrInst *GEP = LargeOffsetGEP.first;
6158 if (const auto *GEP = dyn_cast<GetElementPtrInst>(Ptr)) {
6226 auto *SecondTy = GetElementPtrInst::getIndexedType(
6240 SourceTy = GetElementPtrInst::getIndexedType(
6546 SmallVectorImpl<std::pair<AssertingVH<GetElementPtrInst>, int64_t>>
6549 [&](const std::pair<GetElementPtrInst *, int64_t> &LHS,
6550 const std::pair<GetElementPtrInst *, int64_t> &RHS) {
6563 GetElementPtrInst *BaseGEP = LargeOffsetGEPs.begin()->first;
6568 GetElementPtrInst *GEP) {
6617 GetElementPtrInst *GEP = LargeOffsetGEP->first;
8353 static bool GEPSequentialConstIndexed(GetElementPtrInst *GEP) {
8416 static bool tryUnmergingGEPsAcrossIndirectBr(GetElementPtrInst *GEPI,
8451 std::vector<GetElementPtrInst *> UGEPIs;
8465 if (!isa<GetElementPtrInst>(Usr))
8467 auto *UGEPI = cast<GetElementPtrInst>(Usr);
8490 for (GetElementPtrInst *UGEPI : UGEPIs) {
8499 for (GetElementPtrInst *UGEPI : UGEPIs) {
8699 if (GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(I)) {