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);
1230 static bool getGEPSmallConstantIntOffsetV(GetElementPtrInst *GEP,
1283 auto *Derived = dyn_cast<GetElementPtrInst>(ToReplace->getDerivedPtr());
3477 std::pair<AssertingVH<GetElementPtrInst>, int64_t> &LargeOffsetGEP;
3496 std::pair<AssertingVH<GetElementPtrInst>, int64_t> &LargeOffsetGEP,
3521 std::pair<AssertingVH<GetElementPtrInst>, int64_t> &LargeOffsetGEP,
4959 if (EnableGEPOffsetSplit && isa<GetElementPtrInst>(AddrInst) &&
4968 auto *GEP = cast<GetElementPtrInst>(AddrInst);
4971 !isa<GetElementPtrInst>(BaseI))) {
5399 std::pair<AssertingVH<GetElementPtrInst>, int64_t> LargeOffsetGEP(nullptr,
5507 std::pair<AssertingVH<GetElementPtrInst>, int64_t> LargeOffsetGEP(nullptr,
5521 GetElementPtrInst *GEP = LargeOffsetGEP.first;
5873 if (const auto *GEP = dyn_cast<GetElementPtrInst>(Ptr)) {
5941 auto *SecondTy = GetElementPtrInst::getIndexedType(
5955 SourceTy = GetElementPtrInst::getIndexedType(
6261 SmallVectorImpl<std::pair<AssertingVH<GetElementPtrInst>, int64_t>>
6264 [&](const std::pair<GetElementPtrInst *, int64_t> &LHS,
6265 const std::pair<GetElementPtrInst *, int64_t> &RHS) {
6278 GetElementPtrInst *BaseGEP = LargeOffsetGEPs.begin()->first;
6283 GetElementPtrInst *GEP) {
6332 GetElementPtrInst *GEP = LargeOffsetGEP->first;
8064 static bool GEPSequentialConstIndexed(GetElementPtrInst *GEP) {
8127 static bool tryUnmergingGEPsAcrossIndirectBr(GetElementPtrInst *GEPI,
8162 std::vector<GetElementPtrInst *> UGEPIs;
8176 if (!isa<GetElementPtrInst>(Usr))
8178 auto *UGEPI = cast<GetElementPtrInst>(Usr);
8201 for (GetElementPtrInst *UGEPI : UGEPIs) {
8210 for (GetElementPtrInst *UGEPI : UGEPIs) {
8406 if (GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(I)) {