Searched refs:IdxList (Results 1 - 20 of 20) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstantFolder.h149 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 DNoFolder.h183 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 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;
H A DConstants.h1167 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 DInstructions.h915 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 DIRBuilder.h1757 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 DTargetFolder.h141 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 DConstantsContext.h221 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 DCore.cpp1651 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 DInstructions.cpp1651 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 DIRBuilder.cpp1046 SmallVector<Value *, 4> IdxList; local
1048 IdxList.push_back(Zero);
1049 IdxList.push_back(LastIndexV);
1052 GetElementPtrInst::getGEPReturnType(ElTy, Base, IdxList);
H A DConstants.cpp2640 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 DConstantFold.cpp122 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 DBPFAbstractMemberAccess.cpp302 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 DEvaluator.cpp195 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 DHexagonCommonGEP.cpp1091 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 DRegisterInfoEmitter.cpp1328 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 DCore.h2151 LLVMValueRef LLVMConstExtractValue(LLVMValueRef AggConstant, unsigned *IdxList,
2155 unsigned *IdxList, unsigned NumIdx);
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprScalar.cpp4908 CodeGenFunction::EmitCheckedInBoundsGEP(Value *Ptr, ArrayRef<Value *> IdxList, argument
4911 Value *GEPVal = Builder.CreateInBoundsGEP(Ptr, IdxList, Name);
H A DCodeGenFunction.h4376 ArrayRef<llvm::Value *> IdxList,

Completed in 404 milliseconds