reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
3992 cast<PointerType>(Ops[0]->getType()->getScalarType())->getAddressSpace(); 3995 if (Ops.size() == 1) 3996 return Ops[0]; 3999 Type *LastType = GetElementPtrInst::getIndexedType(SrcTy, Ops.slice(1)); 4001 if (VectorType *VT = dyn_cast<VectorType>(Ops[0]->getType())) 4003 else if (VectorType *VT = dyn_cast<VectorType>(Ops[1]->getType())) 4006 if (isa<UndefValue>(Ops[0])) 4009 if (Ops.size() == 2) { 4011 if (match(Ops[1], m_Zero()) && Ops[0]->getType() == GEPTy) 4011 if (match(Ops[1], m_Zero()) && Ops[0]->getType() == GEPTy) 4012 return Ops[0]; 4020 if (TyAllocSize == 0 && Ops[0]->getType() == GEPTy) 4021 return Ops[0]; 4025 if (Ops[1]->getType()->getScalarSizeInBits() == 4039 match(Ops[1], m_Sub(m_Value(P), m_PtrToInt(m_Specific(Ops[0]))))) 4039 match(Ops[1], m_Sub(m_Value(P), m_PtrToInt(m_Specific(Ops[0]))))) 4045 if (match(Ops[1], 4046 m_AShr(m_Sub(m_Value(P), m_PtrToInt(m_Specific(Ops[0]))), 4054 if (match(Ops[1], 4055 m_SDiv(m_Sub(m_Value(P), m_PtrToInt(m_Specific(Ops[0]))), 4064 all_of(Ops.slice(1).drop_back(1), 4067 Q.DL.getIndexSizeInBits(Ops[0]->getType()->getPointerAddressSpace()); 4068 if (Q.DL.getTypeSizeInBits(Ops.back()->getType()) == IdxWidth) { 4071 Ops[0]->stripAndAccumulateInBoundsConstantOffsets(Q.DL, 4075 if (match(Ops.back(), 4081 if (match(Ops.back(), 4090 if (!all_of(Ops, [](Value *V) { return isa<Constant>(V); })) 4093 auto *CE = ConstantExpr::getGetElementPtr(SrcTy, cast<Constant>(Ops[0]), 4094 Ops.slice(1));