Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/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 …]
/third_party/skia/third_party/externals/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 …]
/third_party/skia/third_party/externals/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()
DCore.cpp1642 ArrayRef<Constant *> IdxList(unwrap<Constant>(ConstantIndices, NumIndices), in LLVMConstGEP() local
1647 return wrap(ConstantExpr::getGetElementPtr(Ty, Val, IdxList)); in LLVMConstGEP()
1653 ArrayRef<Constant *> IdxList(unwrap<Constant>(ConstantIndices, NumIndices), in LLVMConstInBoundsGEP() local
1658 return wrap(ConstantExpr::getInBoundsGetElementPtr(Ty, Val, IdxList)); in LLVMConstInBoundsGEP()
1792 LLVMValueRef LLVMConstExtractValue(LLVMValueRef AggConstant, unsigned *IdxList, in LLVMConstExtractValue() argument
1795 makeArrayRef(IdxList, NumIdx))); in LLVMConstExtractValue()
1800 unsigned *IdxList, unsigned NumIdx) { in LLVMConstInsertValue() argument
1803 makeArrayRef(IdxList, NumIdx))); in LLVMConstInsertValue()
3587 ArrayRef<Value *> IdxList(unwrap(Indices), NumIndices); in LLVMBuildGEP() local
3591 return wrap(unwrap(B)->CreateGEP(Ty, Val, IdxList, Name)); in LLVMBuildGEP()
[all …]
DInstructions.cpp1589 void GetElementPtrInst::init(Value *Ptr, ArrayRef<Value *> IdxList, in init() argument
1591 assert(getNumOperands() == 1 + IdxList.size() && in init()
1594 llvm::copy(IdxList, op_begin() + 1); in init()
1619 static Type *getIndexedTypeInternal(Type *Agg, ArrayRef<IndexTy> IdxList) { in getIndexedTypeInternal() argument
1621 if (IdxList.empty()) in getIndexedTypeInternal()
1630 for (; CurIdx != IdxList.size(); ++CurIdx) { in getIndexedTypeInternal()
1633 IndexTy Index = IdxList[CurIdx]; in getIndexedTypeInternal()
1637 return CurIdx == IdxList.size() ? Agg : nullptr; in getIndexedTypeInternal()
1640 Type *GetElementPtrInst::getIndexedType(Type *Ty, ArrayRef<Value *> IdxList) { in getIndexedType() argument
1641 return getIndexedTypeInternal(Ty, IdxList); in getIndexedType()
[all …]
DConstantFold.cpp112 SmallVector<Value*, 8> IdxList; in FoldBitCast() local
115 IdxList.push_back(Zero); in FoldBitCast()
121 IdxList.push_back(Zero); in FoldBitCast()
125 IdxList.push_back(Zero); in FoldBitCast()
134 V, IdxList); in FoldBitCast()
DConstants.cpp2477 Type *SrcElementTy, Constant *C, ArrayRef<Constant *> IdxList, Type *DestTy) in GetElementPtrConstantExpr() argument
2480 (IdxList.size() + 1), in GetElementPtrConstantExpr()
2481 IdxList.size() + 1), in GetElementPtrConstantExpr()
2483 ResElementTy(GetElementPtrInst::getIndexedType(SrcElementTy, IdxList)) { in GetElementPtrConstantExpr()
2486 for (unsigned i = 0, E = IdxList.size(); i != E; ++i) in GetElementPtrConstantExpr()
2487 OperandList[i+1] = IdxList[i]; in GetElementPtrConstantExpr()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/
DBPFAbstractMemberAccess.cpp300 SmallVector<Value *, 4> IdxList; in replaceWithGEP() local
302 IdxList.push_back(Zero); in replaceWithGEP()
303 IdxList.push_back(Call->getArgOperand(GEPIndex)); in replaceWithGEP()
306 IdxList, "", Call); in replaceWithGEP()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonCommonGEP.cpp1101 Value **IdxList = new Value*[Num+1]; in fabricateGEP() local
1110 IdxList[IdxC++] = ConstantInt::get(Int32Ty, 0); in fabricateGEP()
1117 IdxList[IdxC++] = N->Idx; in fabricateGEP()
1126 ArrayRef<Value*> A(IdxList, IdxC); in fabricateGEP()
1135 delete[] IdxList; in fabricateGEP()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DEvaluator.cpp196 Constant *const IdxList[] = {IdxZero, IdxZero}; in evaluateBitcastFromPtr() local
198 Ptr = ConstantExpr::getGetElementPtr(Ty, Ptr, IdxList); in evaluateBitcastFromPtr()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/
DCore.h2143 LLVMValueRef LLVMConstExtractValue(LLVMValueRef AggConstant, unsigned *IdxList,
2147 unsigned *IdxList, unsigned NumIdx);