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

/external/llvm/include/llvm/Analysis/
H A DTargetFolder.h134 ArrayRef<Constant *> IdxList) const {
135 return Fold(ConstantExpr::getGetElementPtr(C, IdxList));
144 ArrayRef<Value *> IdxList) const {
145 return Fold(ConstantExpr::getGetElementPtr(C, IdxList));
149 ArrayRef<Constant *> IdxList) const {
150 return Fold(ConstantExpr::getInBoundsGetElementPtr(C, IdxList));
159 ArrayRef<Value *> IdxList) const {
160 return Fold(ConstantExpr::getInBoundsGetElementPtr(C, IdxList));
250 ArrayRef<unsigned> IdxList) const {
251 return Fold(ConstantExpr::getExtractValue(Agg, IdxList));
[all...]
/external/llvm/include/llvm/IR/
H A DConstantFolder.h122 ArrayRef<Constant *> IdxList) const {
123 return ConstantExpr::getGetElementPtr(C, IdxList);
132 ArrayRef<Value *> IdxList) const {
133 return ConstantExpr::getGetElementPtr(C, IdxList);
137 ArrayRef<Constant *> IdxList) const {
138 return ConstantExpr::getInBoundsGetElementPtr(C, IdxList);
147 ArrayRef<Value *> IdxList) const {
148 return ConstantExpr::getInBoundsGetElementPtr(C, IdxList);
226 ArrayRef<unsigned> IdxList) const {
227 return ConstantExpr::getExtractValue(Agg, IdxList);
[all...]
H A DNoFolder.h181 ArrayRef<Constant *> IdxList) const {
182 return ConstantExpr::getGetElementPtr(C, IdxList);
191 ArrayRef<Value *> IdxList) const {
192 return GetElementPtrInst::Create(C, IdxList);
196 ArrayRef<Constant *> IdxList) const {
197 return ConstantExpr::getInBoundsGetElementPtr(C, IdxList);
206 ArrayRef<Value *> IdxList) const {
207 return GetElementPtrInst::CreateInBounds(C, IdxList);
286 ArrayRef<unsigned> IdxList) const {
287 return ExtractValueInst::Create(Agg, IdxList);
[all...]
H A DConstants.h1019 ArrayRef<Constant *> IdxList,
1021 return getGetElementPtr(C, makeArrayRef((Value * const *)IdxList.data(),
1022 IdxList.size()),
1034 ArrayRef<Value *> IdxList,
1040 ArrayRef<Constant *> IdxList) {
1041 return getGetElementPtr(C, IdxList, true);
1051 ArrayRef<Value *> IdxList) {
1052 return getGetElementPtr(C, IdxList, true);
1018 getGetElementPtr(Constant *C, ArrayRef<Constant *> IdxList, bool InBounds = false) argument
1039 getInBoundsGetElementPtr(Constant *C, ArrayRef<Constant *> IdxList) argument
1050 getInBoundsGetElementPtr(Constant *C, ArrayRef<Value *> IdxList) argument
H A DInstructions.h777 void init(Value *Ptr, ArrayRef<Value *> IdxList, const Twine &NameStr);
783 inline GetElementPtrInst(Value *Ptr, ArrayRef<Value *> IdxList,
786 inline GetElementPtrInst(Value *Ptr, ArrayRef<Value *> IdxList,
792 static GetElementPtrInst *Create(Value *Ptr, ArrayRef<Value *> IdxList, argument
795 unsigned Values = 1 + unsigned(IdxList.size());
797 GetElementPtrInst(Ptr, IdxList, Values, NameStr, InsertBefore);
799 static GetElementPtrInst *Create(Value *Ptr, ArrayRef<Value *> IdxList, argument
802 unsigned Values = 1 + unsigned(IdxList.size());
804 GetElementPtrInst(Ptr, IdxList, Values, NameStr, InsertAtEnd);
810 ArrayRef<Value *> IdxList,
809 CreateInBounds(Value *Ptr, ArrayRef<Value *> IdxList, const Twine &NameStr = �, Instruction *InsertBefore = nullptr) argument
817 CreateInBounds(Value *Ptr, ArrayRef<Value *> IdxList, const Twine &NameStr, BasicBlock *InsertAtEnd) argument
879 getGEPReturnType(Value *Ptr, ArrayRef<Value *> IdxList) argument
942 GetElementPtrInst(Value *Ptr, ArrayRef<Value *> IdxList, unsigned Values, const Twine &NameStr, Instruction *InsertBefore) argument
953 GetElementPtrInst(Value *Ptr, ArrayRef<Value *> IdxList, unsigned Values, const Twine &NameStr, BasicBlock *InsertAtEnd) argument
[all...]
H A DIRBuilder.h957 Value *CreateGEP(Value *Ptr, ArrayRef<Value *> IdxList, argument
962 for (i = 0, e = IdxList.size(); i != e; ++i)
963 if (!isa<Constant>(IdxList[i]))
966 return Insert(Folder.CreateGetElementPtr(PC, IdxList), Name);
968 return Insert(GetElementPtrInst::Create(Ptr, IdxList), Name);
970 Value *CreateInBoundsGEP(Value *Ptr, ArrayRef<Value *> IdxList, argument
975 for (i = 0, e = IdxList.size(); i != e; ++i)
976 if (!isa<Constant>(IdxList[i]))
979 return Insert(Folder.CreateInBoundsGetElementPtr(PC, IdxList), Name);
981 return Insert(GetElementPtrInst::CreateInBounds(Ptr, IdxList), Nam
[all...]
/external/clang/test/Parser/
H A DDelayedTemplateParsing.cpp111 ArrayRef<> IdxList; local
/external/llvm/lib/IR/
H A DConstantsContext.h173 const SmallVector<unsigned, 4> &IdxList,
176 Indices(IdxList) {
199 const SmallVector<unsigned, 4> &IdxList,
202 Indices(IdxList) {
219 GetElementPtrConstantExpr(Constant *C, ArrayRef<Constant*> IdxList,
223 ArrayRef<Constant*> IdxList,
227 new(IdxList.size() + 1) GetElementPtrConstantExpr(C, IdxList, DestTy);
452 std::vector<Constant*> IdxList(V.operands.begin()+1, V.operands.end());
453 return GetElementPtrConstantExpr::Create(V.operands[0], IdxList, T
172 ExtractValueConstantExpr(Constant *Agg, const SmallVector<unsigned, 4> &IdxList, Type *DestTy) argument
198 InsertValueConstantExpr(Constant *Agg, Constant *Val, const SmallVector<unsigned, 4> &IdxList, Type *DestTy) argument
222 Create(Constant *C, ArrayRef<Constant*> IdxList, Type *DestTy, unsigned Flags) argument
[all...]
H A DInstructions.cpp1345 void GetElementPtrInst::init(Value *Ptr, ArrayRef<Value *> IdxList, argument
1347 assert(NumOperands == 1 + IdxList.size() && "NumOperands not initialized?");
1349 std::copy(IdxList.begin(), IdxList.end(), op_begin() + 1);
1372 static Type *getIndexedTypeInternal(Type *Ptr, ArrayRef<IndexTy> IdxList) { argument
1378 if (IdxList.empty())
1387 for (; CurIdx != IdxList.size(); ++CurIdx) {
1390 IndexTy Index = IdxList[CurIdx];
1394 return CurIdx == IdxList.size() ? Agg : nullptr;
1397 Type *GetElementPtrInst::getIndexedType(Type *Ptr, ArrayRef<Value *> IdxList) { argument
1401 getIndexedType(Type *Ptr, ArrayRef<Constant *> IdxList) argument
1406 getIndexedType(Type *Ptr, ArrayRef<uint64_t> IdxList) argument
[all...]
H A DCore.cpp1023 ArrayRef<Constant *> IdxList(unwrap<Constant>(ConstantIndices, NumIndices),
1026 IdxList));
1033 ArrayRef<Constant *> IdxList(unwrap<Constant>(ConstantIndices, NumIndices),
1035 return wrap(ConstantExpr::getInBoundsGetElementPtr(Val, IdxList));
1169 LLVMValueRef LLVMConstExtractValue(LLVMValueRef AggConstant, unsigned *IdxList, argument
1172 makeArrayRef(IdxList, NumIdx)));
1177 unsigned *IdxList, unsigned NumIdx) {
1180 makeArrayRef(IdxList, NumIdx)));
2331 ArrayRef<Value *> IdxList(unwrap(Indices), NumIndices);
2332 return wrap(unwrap(B)->CreateGEP(unwrap(Pointer), IdxList, Nam
1175 LLVMConstInsertValue(LLVMValueRef AggConstant, LLVMValueRef ElementValueConstant, unsigned *IdxList, unsigned NumIdx) argument
[all...]
H A DConstantFold.cpp111 SmallVector<Value*, 8> IdxList; local
114 IdxList.push_back(Zero);
120 IdxList.push_back(Zero);
125 IdxList.push_back(Zero);
133 return ConstantExpr::getInBoundsGetElementPtr(V, IdxList);
H A DConstants.cpp2245 GetElementPtrConstantExpr(Constant *C, ArrayRef<Constant*> IdxList, argument
2249 - (IdxList.size()+1), IdxList.size()+1) {
2251 for (unsigned i = 0, E = IdxList.size(); i != E; ++i)
2252 OperandList[i+1] = IdxList[i];
/external/llvm/utils/TableGen/
H A DRegisterInfoEmitter.cpp1092 typedef std::vector<const CodeGenSubRegIndex*> IdxList; typedef
1093 SmallVector<IdxList, 8> SuperRegIdxLists(RegisterClasses.size());
1094 SequenceToOffsetTable<IdxList, CodeGenSubRegIndex::Less> SuperRegIdxSeqs;
1104 IdxList &SRIList = SuperRegIdxLists[rc];
/external/llvm/include/llvm-c/
H A DCore.h1705 LLVMValueRef LLVMConstExtractValue(LLVMValueRef AggConstant, unsigned *IdxList,
1709 unsigned *IdxList, unsigned NumIdx);
/external/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp2349 Constant * const IdxList[] = {IdxZero, IdxZero}; local
2351 Ptr = ConstantExpr::getGetElementPtr(Ptr, IdxList);

Completed in 381 milliseconds