Home | History | Annotate | Download | only in IR

Lines Matching defs:GetElementPtrInst

823 //                             GetElementPtrInst Class
830 assert(Ty && "Invalid GetElementPtrInst indices for type!");
837 class GetElementPtrInst : public Instruction {
841 GetElementPtrInst(const GetElementPtrInst &GEPI);
847 inline GetElementPtrInst(Type *PointeeType, Value *Ptr,
850 inline GetElementPtrInst(Type *PointeeType, Value *Ptr,
860 GetElementPtrInst *cloneImpl() const;
863 static GetElementPtrInst *Create(Type *PointeeType, Value *Ptr,
875 return new (Values) GetElementPtrInst(PointeeType, Ptr, IdxList, Values,
879 static GetElementPtrInst *Create(Type *PointeeType, Value *Ptr,
891 return new (Values) GetElementPtrInst(PointeeType, Ptr, IdxList, Values,
897 static GetElementPtrInst *CreateInBounds(Value *Ptr,
904 static GetElementPtrInst *
908 GetElementPtrInst *GEP =
914 static GetElementPtrInst *CreateInBounds(Value *Ptr,
921 static GetElementPtrInst *CreateInBounds(Type *PointeeType, Value *Ptr,
925 GetElementPtrInst *GEP =
1066 struct OperandTraits<GetElementPtrInst> :
1067 public VariadicOperandTraits<GetElementPtrInst, 1> {
1070 GetElementPtrInst::GetElementPtrInst(Type *PointeeType, Value *Ptr,
1075 OperandTraits<GetElementPtrInst>::op_end(this) - Values,
1084 GetElementPtrInst::GetElementPtrInst(Type *PointeeType, Value *Ptr,
1089 OperandTraits<GetElementPtrInst>::op_end(this) - Values,
1098 DEFINE_TRANSPARENT_OPERAND_ACCESSORS(GetElementPtrInst, Value)