Home
last modified time | relevance | path

Searched refs:IdxList (Results 1 – 25 of 54) sorted by relevance

123

/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DConstantFolder.h146 ArrayRef<Constant *> IdxList) const { in CreateGetElementPtr() argument
147 return ConstantExpr::getGetElementPtr(Ty, C, IdxList); in CreateGetElementPtr()
158 ArrayRef<Value *> IdxList) const { in CreateGetElementPtr() argument
159 return ConstantExpr::getGetElementPtr(Ty, C, IdxList); in CreateGetElementPtr()
163 ArrayRef<Constant *> IdxList) const { in CreateInBoundsGetElementPtr() argument
164 return ConstantExpr::getInBoundsGetElementPtr(Ty, C, IdxList); in CreateInBoundsGetElementPtr()
176 ArrayRef<Value *> IdxList) const { in CreateInBoundsGetElementPtr() argument
177 return ConstantExpr::getInBoundsGetElementPtr(Ty, C, IdxList); in CreateInBoundsGetElementPtr()
268 ArrayRef<unsigned> IdxList) const { in CreateExtractValue() argument
269 return ConstantExpr::getExtractValue(Agg, IdxList); in CreateExtractValue()
[all …]
DNoFolder.h215 ArrayRef<Constant *> IdxList) const { in CreateGetElementPtr() argument
216 return ConstantExpr::getGetElementPtr(Ty, C, IdxList); in CreateGetElementPtr()
227 ArrayRef<Value *> IdxList) const { in CreateGetElementPtr() argument
228 return GetElementPtrInst::Create(Ty, C, IdxList); in CreateGetElementPtr()
232 ArrayRef<Constant *> IdxList) const { in CreateInBoundsGetElementPtr() argument
233 return ConstantExpr::getInBoundsGetElementPtr(Ty, C, IdxList); in CreateInBoundsGetElementPtr()
245 ArrayRef<Value *> IdxList) const { in CreateInBoundsGetElementPtr() argument
246 return GetElementPtrInst::CreateInBounds(Ty, C, IdxList); in CreateInBoundsGetElementPtr()
333 ArrayRef<unsigned> IdxList) const { in CreateExtractValue() argument
334 return ExtractValueInst::Create(Agg, IdxList); in CreateExtractValue()
[all …]
DConstants.h1155 ArrayRef<Constant *> IdxList,
1160 Ty, C, makeArrayRef((Value * const *)IdxList.data(), IdxList.size()),
1174 ArrayRef<Value *> IdxList,
1182 ArrayRef<Constant *> IdxList) {
1183 return getGetElementPtr(Ty, C, IdxList, true);
1193 ArrayRef<Value *> IdxList) {
1194 return getGetElementPtr(Ty, C, IdxList, true);
DInstructions.h903 ArrayRef<Value *> IdxList, unsigned Values,
906 ArrayRef<Value *> IdxList, unsigned Values,
909 void init(Value *Ptr, ArrayRef<Value *> IdxList, const Twine &NameStr);
919 ArrayRef<Value *> IdxList,
922 unsigned Values = 1 + unsigned(IdxList.size());
930 return new (Values) GetElementPtrInst(PointeeType, Ptr, IdxList, Values,
935 ArrayRef<Value *> IdxList,
938 unsigned Values = 1 + unsigned(IdxList.size());
946 return new (Values) GetElementPtrInst(PointeeType, Ptr, IdxList, Values,
953 ArrayRef<Value *> IdxList,
[all …]
DIRBuilder.h1808 Value *CreateGEP(Value *Ptr, ArrayRef<Value *> IdxList,
1810 return CreateGEP(nullptr, Ptr, IdxList, Name);
1813 Value *CreateGEP(Type *Ty, Value *Ptr, ArrayRef<Value *> IdxList,
1818 for (i = 0, e = IdxList.size(); i != e; ++i)
1819 if (!isa<Constant>(IdxList[i]))
1822 return Insert(Folder.CreateGetElementPtr(Ty, PC, IdxList), Name);
1824 return Insert(GetElementPtrInst::Create(Ty, Ptr, IdxList), Name);
1827 Value *CreateInBoundsGEP(Value *Ptr, ArrayRef<Value *> IdxList,
1829 return CreateInBoundsGEP(nullptr, Ptr, IdxList, Name);
1832 Value *CreateInBoundsGEP(Type *Ty, Value *Ptr, ArrayRef<Value *> IdxList,
[all …]
/external/llvm/include/llvm/IR/
DConstantFolder.h122 ArrayRef<Constant *> IdxList) const { in CreateGetElementPtr() argument
123 return ConstantExpr::getGetElementPtr(Ty, C, IdxList); in CreateGetElementPtr()
132 ArrayRef<Value *> IdxList) const { in CreateGetElementPtr() argument
133 return ConstantExpr::getGetElementPtr(Ty, C, IdxList); in CreateGetElementPtr()
137 ArrayRef<Constant *> IdxList) const { in CreateInBoundsGetElementPtr() argument
138 return ConstantExpr::getInBoundsGetElementPtr(Ty, C, IdxList); in CreateInBoundsGetElementPtr()
148 ArrayRef<Value *> IdxList) const { in CreateInBoundsGetElementPtr() argument
149 return ConstantExpr::getInBoundsGetElementPtr(Ty, C, IdxList); in CreateInBoundsGetElementPtr()
233 ArrayRef<unsigned> IdxList) const { in CreateExtractValue() argument
234 return ConstantExpr::getExtractValue(Agg, IdxList); in CreateExtractValue()
[all …]
DNoFolder.h181 ArrayRef<Constant *> IdxList) const { in CreateGetElementPtr() argument
182 return ConstantExpr::getGetElementPtr(Ty, C, IdxList); in CreateGetElementPtr()
191 ArrayRef<Value *> IdxList) const { in CreateGetElementPtr() argument
192 return GetElementPtrInst::Create(Ty, C, IdxList); in CreateGetElementPtr()
196 ArrayRef<Constant *> IdxList) const { in CreateInBoundsGetElementPtr() argument
197 return ConstantExpr::getInBoundsGetElementPtr(Ty, C, IdxList); in CreateInBoundsGetElementPtr()
207 ArrayRef<Value *> IdxList) const { in CreateInBoundsGetElementPtr() argument
208 return GetElementPtrInst::CreateInBounds(Ty, C, IdxList); in CreateInBoundsGetElementPtr()
287 ArrayRef<unsigned> IdxList) const { in CreateExtractValue() argument
288 return ExtractValueInst::Create(Agg, IdxList); in CreateExtractValue()
[all …]
DInstructions.h836 void init(Value *Ptr, ArrayRef<Value *> IdxList, const Twine &NameStr);
843 ArrayRef<Value *> IdxList, unsigned Values,
846 ArrayRef<Value *> IdxList, unsigned Values,
856 ArrayRef<Value *> IdxList,
859 unsigned Values = 1 + unsigned(IdxList.size());
867 return new (Values) GetElementPtrInst(PointeeType, Ptr, IdxList, Values,
871 ArrayRef<Value *> IdxList,
874 unsigned Values = 1 + unsigned(IdxList.size());
882 return new (Values) GetElementPtrInst(PointeeType, Ptr, IdxList, Values,
889 ArrayRef<Value *> IdxList,
[all …]
DConstants.h1076 ArrayRef<Constant *> IdxList,
1080 Ty, C, makeArrayRef((Value * const *)IdxList.data(), IdxList.size()),
1092 ArrayRef<Value *> IdxList,
1099 ArrayRef<Constant *> IdxList) {
1100 return getGetElementPtr(Ty, C, IdxList, true);
1110 ArrayRef<Value *> IdxList) {
1111 return getGetElementPtr(Ty, C, IdxList, true);
DIRBuilder.h1106 Value *CreateGEP(Value *Ptr, ArrayRef<Value *> IdxList,
1108 return CreateGEP(nullptr, Ptr, IdxList, Name);
1110 Value *CreateGEP(Type *Ty, Value *Ptr, ArrayRef<Value *> IdxList,
1115 for (i = 0, e = IdxList.size(); i != e; ++i)
1116 if (!isa<Constant>(IdxList[i]))
1119 return Insert(Folder.CreateGetElementPtr(Ty, PC, IdxList), Name);
1121 return Insert(GetElementPtrInst::Create(Ty, Ptr, IdxList), Name);
1123 Value *CreateInBoundsGEP(Value *Ptr, ArrayRef<Value *> IdxList,
1125 return CreateInBoundsGEP(nullptr, Ptr, IdxList, Name);
1127 Value *CreateInBoundsGEP(Type *Ty, Value *Ptr, ArrayRef<Value *> IdxList,
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DTargetFolder.h136 ArrayRef<Constant *> IdxList) const { in CreateGetElementPtr() argument
137 return Fold(ConstantExpr::getGetElementPtr(Ty, C, IdxList)); in CreateGetElementPtr()
146 ArrayRef<Value *> IdxList) const { in CreateGetElementPtr() argument
147 return Fold(ConstantExpr::getGetElementPtr(Ty, C, IdxList)); in CreateGetElementPtr()
151 ArrayRef<Constant *> IdxList) const { in CreateInBoundsGetElementPtr() argument
152 return Fold(ConstantExpr::getInBoundsGetElementPtr(Ty, C, IdxList)); in CreateInBoundsGetElementPtr()
162 ArrayRef<Value *> IdxList) const { in CreateInBoundsGetElementPtr() argument
163 return Fold(ConstantExpr::getInBoundsGetElementPtr(Ty, C, IdxList)); in CreateInBoundsGetElementPtr()
260 ArrayRef<unsigned> IdxList) const { in CreateExtractValue() argument
261 return Fold(ConstantExpr::getExtractValue(Agg, IdxList)); in CreateExtractValue()
[all …]
/external/llvm-project/llvm/include/llvm/IR/
DConstantFolder.h149 ArrayRef<Constant *> IdxList) const override { in CreateGetElementPtr() argument
150 return ConstantExpr::getGetElementPtr(Ty, C, IdxList); in CreateGetElementPtr()
162 ArrayRef<Value *> IdxList) const override { in CreateGetElementPtr() argument
163 return ConstantExpr::getGetElementPtr(Ty, C, IdxList); in CreateGetElementPtr()
167 Type *Ty, Constant *C, ArrayRef<Constant *> IdxList) const override { in CreateInBoundsGetElementPtr() argument
168 return ConstantExpr::getInBoundsGetElementPtr(Ty, C, IdxList); in CreateInBoundsGetElementPtr()
180 Type *Ty, Constant *C, ArrayRef<Value *> IdxList) const override { in CreateInBoundsGetElementPtr() argument
181 return ConstantExpr::getInBoundsGetElementPtr(Ty, C, IdxList); in CreateInBoundsGetElementPtr()
273 ArrayRef<unsigned> IdxList) const override { in CreateExtractValue() argument
274 return ConstantExpr::getExtractValue(Agg, IdxList); in CreateExtractValue()
[all …]
DNoFolder.h183 ArrayRef<Constant *> IdxList) const override { in CreateGetElementPtr() argument
184 return ConstantExpr::getGetElementPtr(Ty, C, IdxList); in CreateGetElementPtr()
196 ArrayRef<Value *> IdxList) const override { in CreateGetElementPtr() argument
197 return GetElementPtrInst::Create(Ty, C, IdxList); in CreateGetElementPtr()
201 Type *Ty, Constant *C, ArrayRef<Constant *> IdxList) const override { in CreateInBoundsGetElementPtr() argument
202 return ConstantExpr::getInBoundsGetElementPtr(Ty, C, IdxList); in CreateInBoundsGetElementPtr()
214 Type *Ty, Constant *C, ArrayRef<Value *> IdxList) const override { in CreateInBoundsGetElementPtr() argument
215 return GetElementPtrInst::CreateInBounds(Ty, C, IdxList); in CreateInBoundsGetElementPtr()
308 ArrayRef<unsigned> IdxList) const override { in CreateExtractValue() argument
309 return ExtractValueInst::Create(Agg, IdxList); in CreateExtractValue()
[all …]
DIRBuilderFolder.h76 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;
DConstants.h1209 ArrayRef<Constant *> IdxList,
1214 Ty, C, makeArrayRef((Value * const *)IdxList.data(), IdxList.size()),
1228 ArrayRef<Value *> IdxList,
1236 ArrayRef<Constant *> IdxList) {
1237 return getGetElementPtr(Ty, C, IdxList, true);
1247 ArrayRef<Value *> IdxList) {
1248 return getGetElementPtr(Ty, C, IdxList, true);
DInstructions.h916 ArrayRef<Value *> IdxList, unsigned Values,
919 ArrayRef<Value *> IdxList, unsigned Values,
922 void init(Value *Ptr, ArrayRef<Value *> IdxList, const Twine &NameStr);
932 ArrayRef<Value *> IdxList,
935 unsigned Values = 1 + unsigned(IdxList.size());
943 return new (Values) GetElementPtrInst(PointeeType, Ptr, IdxList, Values,
948 ArrayRef<Value *> IdxList,
951 unsigned Values = 1 + unsigned(IdxList.size());
959 return new (Values) GetElementPtrInst(PointeeType, Ptr, IdxList, Values,
966 ArrayRef<Value *> IdxList,
[all …]
/external/llvm/include/llvm/Analysis/
DTargetFolder.h134 ArrayRef<Constant *> IdxList) const { in CreateGetElementPtr() argument
135 return Fold(ConstantExpr::getGetElementPtr(Ty, C, IdxList)); in CreateGetElementPtr()
144 ArrayRef<Value *> IdxList) const { in CreateGetElementPtr() argument
145 return Fold(ConstantExpr::getGetElementPtr(Ty, C, IdxList)); in CreateGetElementPtr()
149 ArrayRef<Constant *> IdxList) const { in CreateInBoundsGetElementPtr() argument
150 return Fold(ConstantExpr::getInBoundsGetElementPtr(Ty, C, IdxList)); in CreateInBoundsGetElementPtr()
160 ArrayRef<Value *> IdxList) const { in CreateInBoundsGetElementPtr() argument
161 return Fold(ConstantExpr::getInBoundsGetElementPtr(Ty, C, IdxList)); in CreateInBoundsGetElementPtr()
258 ArrayRef<unsigned> IdxList) const { in CreateExtractValue() argument
259 return Fold(ConstantExpr::getExtractValue(Agg, IdxList)); in CreateExtractValue()
[all …]
/external/llvm-project/llvm/include/llvm/Analysis/
DTargetFolder.h141 ArrayRef<Constant *> IdxList) const override { in CreateGetElementPtr() argument
142 return Fold(ConstantExpr::getGetElementPtr(Ty, C, IdxList)); in CreateGetElementPtr()
152 ArrayRef<Value *> IdxList) const override { in CreateGetElementPtr() argument
153 return Fold(ConstantExpr::getGetElementPtr(Ty, C, IdxList)); in CreateGetElementPtr()
157 Type *Ty, Constant *C, ArrayRef<Constant *> IdxList) const override { in CreateInBoundsGetElementPtr() argument
158 return Fold(ConstantExpr::getInBoundsGetElementPtr(Ty, C, IdxList)); in CreateInBoundsGetElementPtr()
168 Type *Ty, Constant *C, ArrayRef<Value *> IdxList) const override { in CreateInBoundsGetElementPtr() argument
169 return Fold(ConstantExpr::getInBoundsGetElementPtr(Ty, C, IdxList)); in CreateInBoundsGetElementPtr()
267 ArrayRef<unsigned> IdxList) const override { in CreateExtractValue() argument
268 return Fold(ConstantExpr::getExtractValue(Agg, IdxList)); in CreateExtractValue()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstantsContext.h174 ExtractValueConstantExpr(Constant *Agg, ArrayRef<unsigned> IdxList, in ExtractValueConstantExpr() argument
177 Indices(IdxList.begin(), IdxList.end()) { in ExtractValueConstantExpr()
206 ArrayRef<unsigned> IdxList, Type *DestTy) in InsertValueConstantExpr() argument
208 Indices(IdxList.begin(), IdxList.end()) { in InsertValueConstantExpr()
239 ArrayRef<Constant *> IdxList, Type *DestTy);
243 ArrayRef<Constant *> IdxList, in Create() argument
245 GetElementPtrConstantExpr *Result = new (IdxList.size() + 1) in Create()
246 GetElementPtrConstantExpr(SrcElementTy, C, IdxList, DestTy); in Create()
/external/llvm/lib/IR/
DConstantsContext.h168 ExtractValueConstantExpr(Constant *Agg, ArrayRef<unsigned> IdxList, in ExtractValueConstantExpr() argument
171 Indices(IdxList.begin(), IdxList.end()) { in ExtractValueConstantExpr()
201 ArrayRef<unsigned> IdxList, Type *DestTy) in InsertValueConstantExpr() argument
203 Indices(IdxList.begin(), IdxList.end()) { in InsertValueConstantExpr()
229 ArrayRef<Constant *> IdxList, Type *DestTy);
233 ArrayRef<Constant *> IdxList, in Create() argument
235 GetElementPtrConstantExpr *Result = new (IdxList.size() + 1) in Create()
236 GetElementPtrConstantExpr(SrcElementTy, C, IdxList, DestTy); in Create()
/external/llvm-project/llvm/lib/IR/
DConstantsContext.h221 ExtractValueConstantExpr(Constant *Agg, ArrayRef<unsigned> IdxList, in ExtractValueConstantExpr() argument
224 Indices(IdxList.begin(), IdxList.end()) { in ExtractValueConstantExpr()
253 ArrayRef<unsigned> IdxList, Type *DestTy) in InsertValueConstantExpr() argument
255 Indices(IdxList.begin(), IdxList.end()) { in InsertValueConstantExpr()
286 ArrayRef<Constant *> IdxList, Type *DestTy);
290 ArrayRef<Constant *> IdxList, in Create() argument
292 GetElementPtrConstantExpr *Result = new (IdxList.size() + 1) in Create()
293 GetElementPtrConstantExpr(SrcElementTy, C, IdxList, DestTy); in Create()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/
Dbuilder_mem.cpp70 Value* Builder::GEPA(Value* Ptr, ArrayRef<Value*> IdxList, const Twine& Name) in GEPA() argument
72 return IRB()->CreateGEP(Ptr, IdxList, Name); in GEPA()
75 Value* Builder::GEPA(Type* Ty, Value* Ptr, ArrayRef<Value*> IdxList, const Twine& Name) in GEPA() argument
77 return IRB()->CreateGEP(Ty, Ptr, IdxList, Name); in GEPA()
Dbuilder_mem.h54 Value* GEPA(Value* Ptr, ArrayRef<Value*> IdxList, const Twine& Name = "");
55 Value* GEPA(Type* Ty, Value* Ptr, ArrayRef<Value*> IdxList, const Twine& Name = "");
/external/llvm-project/clang/test/Parser/
DDelayedTemplateParsing.cpp95 ArrayRef<> IdxList; in CreateConstInBoundsGEP2_32() local
/external/clang/test/Parser/
DDelayedTemplateParsing.cpp111 ArrayRef<> IdxList; in CreateConstInBoundsGEP2_32() local

123