/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | ConstantFolder.h | 149 ArrayRef<Constant *> IdxList) const override { 150 return ConstantExpr::getGetElementPtr(Ty, C, IdxList); 162 ArrayRef<Value *> IdxList) const override { 163 return ConstantExpr::getGetElementPtr(Ty, C, IdxList); 167 Type *Ty, Constant *C, ArrayRef<Constant *> IdxList) const override { 168 return ConstantExpr::getInBoundsGetElementPtr(Ty, C, IdxList); 180 Type *Ty, Constant *C, ArrayRef<Value *> IdxList) const override { 181 return ConstantExpr::getInBoundsGetElementPtr(Ty, C, IdxList); 273 ArrayRef<unsigned> IdxList) const override { 274 return ConstantExpr::getExtractValue(Agg, IdxList); [all...] |
H A D | NoFolder.h | 183 ArrayRef<Constant *> IdxList) const override { 184 return ConstantExpr::getGetElementPtr(Ty, C, IdxList); 196 ArrayRef<Value *> IdxList) const override { 197 return GetElementPtrInst::Create(Ty, C, IdxList); 201 Type *Ty, Constant *C, ArrayRef<Constant *> IdxList) const override { 202 return ConstantExpr::getInBoundsGetElementPtr(Ty, C, IdxList); 214 Type *Ty, Constant *C, ArrayRef<Value *> IdxList) const override { 215 return GetElementPtrInst::CreateInBounds(Ty, C, IdxList); 308 ArrayRef<unsigned> IdxList) const override { 309 return ExtractValueInst::Create(Agg, IdxList); [all...] |
H A D | IRBuilderFolder.h | 76 ArrayRef<Constant *> IdxList) const = 0; 83 ArrayRef<Value *> IdxList) const = 0; 85 Type *Ty, Constant *C, ArrayRef<Constant *> IdxList) const = 0; 92 Type *Ty, Constant *C, ArrayRef<Value *> IdxList) const = 0; 134 ArrayRef<unsigned> IdxList) const = 0; 136 ArrayRef<unsigned> IdxList) const = 0;
|
H A D | Constants.h | 1167 ArrayRef<Constant *> IdxList, 1172 Ty, C, makeArrayRef((Value * const *)IdxList.data(), IdxList.size()), 1186 ArrayRef<Value *> IdxList, 1194 ArrayRef<Constant *> IdxList) { 1195 return getGetElementPtr(Ty, C, IdxList, true); 1205 ArrayRef<Value *> IdxList) { 1206 return getGetElementPtr(Ty, C, IdxList, true); 1166 getGetElementPtr(Type *Ty, Constant *C, ArrayRef<Constant *> IdxList, bool InBounds = false, Optional<unsigned> InRangeIndex = None, Type *OnlyIfReducedTy = nullptr) argument 1193 getInBoundsGetElementPtr(Type *Ty, Constant *C, ArrayRef<Constant *> IdxList) argument 1204 getInBoundsGetElementPtr(Type *Ty, Constant *C, ArrayRef<Value *> IdxList) argument
|
H A D | Instructions.h | 915 ArrayRef<Value *> IdxList, unsigned Values, 918 ArrayRef<Value *> IdxList, unsigned Values, 921 void init(Value *Ptr, ArrayRef<Value *> IdxList, const Twine &NameStr); 931 ArrayRef<Value *> IdxList, 934 unsigned Values = 1 + unsigned(IdxList.size()); 942 return new (Values) GetElementPtrInst(PointeeType, Ptr, IdxList, Values, 947 ArrayRef<Value *> IdxList, 950 unsigned Values = 1 + unsigned(IdxList.size()); 958 return new (Values) GetElementPtrInst(PointeeType, Ptr, IdxList, Values, 965 ArrayRef<Value *> IdxList, 930 Create(Type *PointeeType, Value *Ptr, ArrayRef<Value *> IdxList, const Twine &NameStr = �, Instruction *InsertBefore = nullptr) argument 946 Create(Type *PointeeType, Value *Ptr, ArrayRef<Value *> IdxList, const Twine &NameStr, BasicBlock *InsertAtEnd) argument 964 CreateInBounds(Value *Ptr, ArrayRef<Value *> IdxList, const Twine &NameStr = �, Instruction *InsertBefore = nullptr) argument 972 CreateInBounds(Type *PointeeType, Value *Ptr, ArrayRef<Value *> IdxList, const Twine &NameStr = �, Instruction *InsertBefore = nullptr) argument 981 CreateInBounds(Value *Ptr, ArrayRef<Value *> IdxList, const Twine &NameStr, BasicBlock *InsertAtEnd) argument 988 CreateInBounds(Type *PointeeType, Value *Ptr, ArrayRef<Value *> IdxList, const Twine &NameStr, BasicBlock *InsertAtEnd) argument 1072 getGEPReturnType(Type *ElTy, Value *Ptr, ArrayRef<Value *> IdxList) argument 1139 GetElementPtrInst(Type *PointeeType, Value *Ptr, ArrayRef<Value *> IdxList, unsigned Values, const Twine &NameStr, Instruction *InsertBefore) argument 1153 GetElementPtrInst(Type *PointeeType, Value *Ptr, ArrayRef<Value *> IdxList, unsigned Values, const Twine &NameStr, BasicBlock *InsertAtEnd) argument [all...] |
H A D | IRBuilder.h | 1757 Value *CreateGEP(Value *Ptr, ArrayRef<Value *> IdxList, argument 1759 return CreateGEP(nullptr, Ptr, IdxList, Name); 1762 Value *CreateGEP(Type *Ty, Value *Ptr, ArrayRef<Value *> IdxList, argument 1767 for (i = 0, e = IdxList.size(); i != e; ++i) 1768 if (!isa<Constant>(IdxList[i])) 1771 return Insert(Folder.CreateGetElementPtr(Ty, PC, IdxList), Name); 1773 return Insert(GetElementPtrInst::Create(Ty, Ptr, IdxList), Name); 1776 Value *CreateInBoundsGEP(Value *Ptr, ArrayRef<Value *> IdxList, argument 1778 return CreateInBoundsGEP(nullptr, Ptr, IdxList, Name); 1781 Value *CreateInBoundsGEP(Type *Ty, Value *Ptr, ArrayRef<Value *> IdxList, argument [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | TargetFolder.h | 141 ArrayRef<Constant *> IdxList) const override { 142 return Fold(ConstantExpr::getGetElementPtr(Ty, C, IdxList)); 152 ArrayRef<Value *> IdxList) const override { 153 return Fold(ConstantExpr::getGetElementPtr(Ty, C, IdxList)); 157 Type *Ty, Constant *C, ArrayRef<Constant *> IdxList) const override { 158 return Fold(ConstantExpr::getInBoundsGetElementPtr(Ty, C, IdxList)); 168 Type *Ty, Constant *C, ArrayRef<Value *> IdxList) const override { 169 return Fold(ConstantExpr::getInBoundsGetElementPtr(Ty, C, IdxList)); 267 ArrayRef<unsigned> IdxList) const override { 268 return Fold(ConstantExpr::getExtractValue(Agg, IdxList)); [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/ |
H A D | ConstantsContext.h | 221 ExtractValueConstantExpr(Constant *Agg, ArrayRef<unsigned> IdxList, argument 224 Indices(IdxList.begin(), IdxList.end()) { 253 ArrayRef<unsigned> IdxList, Type *DestTy) 255 Indices(IdxList.begin(), IdxList.end()) { 286 ArrayRef<Constant *> IdxList, Type *DestTy); 290 ArrayRef<Constant *> IdxList, 292 GetElementPtrConstantExpr *Result = new (IdxList.size() + 1) 293 GetElementPtrConstantExpr(SrcElementTy, C, IdxList, DestT 252 InsertValueConstantExpr(Constant *Agg, Constant *Val, ArrayRef<unsigned> IdxList, Type *DestTy) argument 289 Create(Type *SrcElementTy, Constant *C, ArrayRef<Constant *> IdxList, Type *DestTy, unsigned Flags) argument [all...] |
H A D | Core.cpp | 1651 ArrayRef<Constant *> IdxList(unwrap<Constant>(ConstantIndices, NumIndices), 1656 return wrap(ConstantExpr::getGetElementPtr(Ty, Val, IdxList)); 1662 ArrayRef<Constant *> IdxList(unwrap<Constant>(ConstantIndices, NumIndices), 1667 return wrap(ConstantExpr::getInBoundsGetElementPtr(Ty, Val, IdxList)); 1803 LLVMValueRef LLVMConstExtractValue(LLVMValueRef AggConstant, unsigned *IdxList, 1806 makeArrayRef(IdxList, NumIdx))); 1811 unsigned *IdxList, unsigned NumIdx) { 1814 makeArrayRef(IdxList, NumIdx))); 3598 ArrayRef<Value *> IdxList(unwrap(Indices), NumIndices); 3602 return wrap(unwrap(B)->CreateGEP(Ty, Val, IdxList, Nam [all...] |
H A D | Instructions.cpp | 1651 void GetElementPtrInst::init(Value *Ptr, ArrayRef<Value *> IdxList, argument 1653 assert(getNumOperands() == 1 + IdxList.size() && 1656 llvm::copy(IdxList, op_begin() + 1); 1700 static Type *getIndexedTypeInternal(Type *Ty, ArrayRef<IndexTy> IdxList) { argument 1701 if (IdxList.empty()) 1703 for (IndexTy V : IdxList.slice(1)) { 1711 Type *GetElementPtrInst::getIndexedType(Type *Ty, ArrayRef<Value *> IdxList) { argument 1712 return getIndexedTypeInternal(Ty, IdxList); 1716 ArrayRef<Constant *> IdxList) { 1717 return getIndexedTypeInternal(Ty, IdxList); 1715 getIndexedType(Type *Ty, ArrayRef<Constant *> IdxList) argument 1720 getIndexedType(Type *Ty, ArrayRef<uint64_t> IdxList) argument [all...] |
H A D | IRBuilder.cpp | 1046 SmallVector<Value *, 4> IdxList; local 1048 IdxList.push_back(Zero); 1049 IdxList.push_back(LastIndexV); 1052 GetElementPtrInst::getGEPReturnType(ElTy, Base, IdxList);
|
H A D | Constants.cpp | 2640 Type *SrcElementTy, Constant *C, ArrayRef<Constant *> IdxList, Type *DestTy) 2643 (IdxList.size() + 1), 2644 IdxList.size() + 1), 2646 ResElementTy(GetElementPtrInst::getIndexedType(SrcElementTy, IdxList)) { 2649 for (unsigned i = 0, E = IdxList.size(); i != E; ++i) 2650 OperandList[i+1] = IdxList[i]; 2639 GetElementPtrConstantExpr( Type *SrcElementTy, Constant *C, ArrayRef<Constant *> IdxList, Type *DestTy) argument
|
H A D | ConstantFold.cpp | 122 SmallVector<Value*, 8> IdxList; local 125 IdxList.push_back(Zero); 129 IdxList.push_back(Zero); 135 V, IdxList);
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/BPF/ |
H A D | BPFAbstractMemberAccess.cpp | 302 SmallVector<Value *, 4> IdxList; local 304 IdxList.push_back(Zero); 305 IdxList.push_back(Call->getArgOperand(GEPIndex)); 308 IdxList, "", Call);
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | Evaluator.cpp | 195 Constant *const IdxList[] = {IdxZero, IdxZero}; local 197 Ptr = ConstantExpr::getGetElementPtr(Ty, Ptr, IdxList);
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonCommonGEP.cpp | 1091 Value **IdxList = new Value*[Num+1]; local 1100 IdxList[IdxC++] = ConstantInt::get(Int32Ty, 0); 1107 IdxList[IdxC++] = N->Idx; 1116 ArrayRef<Value*> A(IdxList, IdxC); 1125 delete[] IdxList;
|
/freebsd-13-stable/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | RegisterInfoEmitter.cpp | 1328 typedef std::vector<const CodeGenSubRegIndex*> IdxList; typedef 1329 SmallVector<IdxList, 8> SuperRegIdxLists(RegisterClasses.size()); 1330 SequenceToOffsetTable<IdxList, deref<std::less<>>> SuperRegIdxSeqs; 1340 IdxList &SRIList = SuperRegIdxLists[RC.EnumValue];
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm-c/ |
H A D | Core.h | 2151 LLVMValueRef LLVMConstExtractValue(LLVMValueRef AggConstant, unsigned *IdxList, 2155 unsigned *IdxList, unsigned NumIdx);
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGExprScalar.cpp | 4908 CodeGenFunction::EmitCheckedInBoundsGEP(Value *Ptr, ArrayRef<Value *> IdxList, argument 4911 Value *GEPVal = Builder.CreateInBoundsGEP(Ptr, IdxList, Name);
|
H A D | CodeGenFunction.h | 4376 ArrayRef<llvm::Value *> IdxList,
|