Searched refs:GetElementPtrConstantExpr (Results 1 – 3 of 3) sorted by relevance
187 class GetElementPtrConstantExpr : public ConstantExpr {192 GetElementPtrConstantExpr(Type *SrcElementTy, Constant *C,197 static GetElementPtrConstantExpr *200 GetElementPtrConstantExpr *Result = new (IdxList.size() + 1) in Create()201 GetElementPtrConstantExpr(SrcElementTy, C, IdxList, DestTy, in Create()248 struct OperandTraits<GetElementPtrConstantExpr>249 : public VariadicOperandTraits<GetElementPtrConstantExpr, 1> {};251 DEFINE_TRANSPARENT_OPERAND_ACCESSORS(GetElementPtrConstantExpr, Value)392 if (auto *GEPCE = dyn_cast<GetElementPtrConstantExpr>(CE))399 if (auto *GEPCE = dyn_cast<GetElementPtrConstantExpr>(CE))[all …]
71 return cast<GetElementPtrConstantExpr>(this)->getSourceElementType(); in getSourceElementType()77 return cast<GetElementPtrConstantExpr>(this)->getResultElementType(); in getResultElementType()81 if (auto *CE = dyn_cast<GetElementPtrConstantExpr>(this)) in getInRange()
573 else if (isa<GetElementPtrConstantExpr>(C)) in deleteConstant()574 delete static_cast<GetElementPtrConstantExpr *>(C); in deleteConstant()2748 GetElementPtrConstantExpr::GetElementPtrConstantExpr( in GetElementPtrConstantExpr() function in GetElementPtrConstantExpr2752 OperandTraits<GetElementPtrConstantExpr>::op_end(this) - in GetElementPtrConstantExpr()2764 Type *GetElementPtrConstantExpr::getSourceElementType() const { in getSourceElementType()2768 Type *GetElementPtrConstantExpr::getResultElementType() const { in getResultElementType()2772 std::optional<ConstantRange> GetElementPtrConstantExpr::getInRange() const { in getInRange()