/freebsd-9.3-release/contrib/llvm/include/llvm/Support/ |
H A D | ConstantFolder.h | 122 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 D | TargetFolder.h | 134 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...] |
H A D | NoFolder.h | 181 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...] |
/freebsd-9.3-release/contrib/llvm/lib/IR/ |
H A D | ConstantsContext.h | 170 const SmallVector<unsigned, 4> &IdxList, 173 Indices(IdxList) { 196 const SmallVector<unsigned, 4> &IdxList, 199 Indices(IdxList) { 216 GetElementPtrConstantExpr(Constant *C, ArrayRef<Constant*> IdxList, 220 ArrayRef<Constant*> IdxList, 224 new(IdxList.size() + 1) GetElementPtrConstantExpr(C, IdxList, DestTy); 460 std::vector<Constant*> IdxList(V.operands.begin()+1, V.operands.end()); 461 return GetElementPtrConstantExpr::Create(V.operands[0], IdxList, T 169 ExtractValueConstantExpr(Constant *Agg, const SmallVector<unsigned, 4> &IdxList, Type *DestTy) argument 195 InsertValueConstantExpr(Constant *Agg, Constant *Val, const SmallVector<unsigned, 4> &IdxList, Type *DestTy) argument 219 Create(Constant *C, ArrayRef<Constant*> IdxList, Type *DestTy, unsigned Flags) argument [all...] |
H A D | Instructions.cpp | 1332 void GetElementPtrInst::init(Value *Ptr, ArrayRef<Value *> IdxList, argument 1334 assert(NumOperands == 1 + IdxList.size() && "NumOperands not initialized?"); 1336 std::copy(IdxList.begin(), IdxList.end(), op_begin() + 1); 1359 static Type *getIndexedTypeInternal(Type *Ptr, ArrayRef<IndexTy> IdxList) { argument 1365 if (IdxList.empty()) 1374 for (; CurIdx != IdxList.size(); ++CurIdx) { 1377 IndexTy Index = IdxList[CurIdx]; 1381 return CurIdx == IdxList.size() ? Agg : 0; 1384 Type *GetElementPtrInst::getIndexedType(Type *Ptr, ArrayRef<Value *> IdxList) { argument 1388 getIndexedType(Type *Ptr, ArrayRef<Constant *> IdxList) argument 1393 getIndexedType(Type *Ptr, ArrayRef<uint64_t> IdxList) argument [all...] |
H A D | Core.cpp | 961 ArrayRef<Constant *> IdxList(unwrap<Constant>(ConstantIndices, NumIndices), 964 IdxList)); 971 ArrayRef<Constant *> IdxList(unwrap<Constant>(ConstantIndices, NumIndices), 973 return wrap(ConstantExpr::getInBoundsGetElementPtr(Val, IdxList)); 1107 LLVMValueRef LLVMConstExtractValue(LLVMValueRef AggConstant, unsigned *IdxList, argument 1110 makeArrayRef(IdxList, NumIdx))); 1115 unsigned *IdxList, unsigned NumIdx) { 1118 makeArrayRef(IdxList, NumIdx))); 2225 ArrayRef<Value *> IdxList(unwrap(Indices), NumIndices); 2226 return wrap(unwrap(B)->CreateGEP(unwrap(Pointer), IdxList, Nam 1113 LLVMConstInsertValue(LLVMValueRef AggConstant, LLVMValueRef ElementValueConstant, unsigned *IdxList, unsigned NumIdx) argument [all...] |
H A D | ConstantFold.cpp | 111 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 D | Constants.cpp | 2183 GetElementPtrConstantExpr(Constant *C, ArrayRef<Constant*> IdxList, argument 2187 - (IdxList.size()+1), IdxList.size()+1) { 2189 for (unsigned i = 0, E = IdxList.size(); i != E; ++i) 2190 OperandList[i+1] = IdxList[i];
|
/freebsd-9.3-release/contrib/llvm/include/llvm/IR/ |
H A D | Constants.h | 1013 ArrayRef<Constant *> IdxList, 1015 return getGetElementPtr(C, makeArrayRef((Value * const *)IdxList.data(), 1016 IdxList.size()), 1028 ArrayRef<Value *> IdxList, 1034 ArrayRef<Constant *> IdxList) { 1035 return getGetElementPtr(C, IdxList, true); 1045 ArrayRef<Value *> IdxList) { 1046 return getGetElementPtr(C, IdxList, true); 1012 getGetElementPtr(Constant *C, ArrayRef<Constant *> IdxList, bool InBounds = false) argument 1033 getInBoundsGetElementPtr(Constant *C, ArrayRef<Constant *> IdxList) argument 1044 getInBoundsGetElementPtr(Constant *C, ArrayRef<Value *> IdxList) argument
|
H A D | Instructions.h | 711 void init(Value *Ptr, ArrayRef<Value *> IdxList, const Twine &NameStr); 717 inline GetElementPtrInst(Value *Ptr, ArrayRef<Value *> IdxList, 720 inline GetElementPtrInst(Value *Ptr, ArrayRef<Value *> IdxList, 726 static GetElementPtrInst *Create(Value *Ptr, ArrayRef<Value *> IdxList, argument 729 unsigned Values = 1 + unsigned(IdxList.size()); 731 GetElementPtrInst(Ptr, IdxList, Values, NameStr, InsertBefore); 733 static GetElementPtrInst *Create(Value *Ptr, ArrayRef<Value *> IdxList, argument 736 unsigned Values = 1 + unsigned(IdxList.size()); 738 GetElementPtrInst(Ptr, IdxList, Values, NameStr, InsertAtEnd); 744 ArrayRef<Value *> IdxList, 743 CreateInBounds(Value *Ptr, ArrayRef<Value *> IdxList, const Twine &NameStr = �, Instruction *InsertBefore = 0) argument 751 CreateInBounds(Value *Ptr, ArrayRef<Value *> IdxList, const Twine &NameStr, BasicBlock *InsertAtEnd) argument 813 getGEPReturnType(Value *Ptr, ArrayRef<Value *> IdxList) argument 876 GetElementPtrInst(Value *Ptr, ArrayRef<Value *> IdxList, unsigned Values, const Twine &NameStr, Instruction *InsertBefore) argument 887 GetElementPtrInst(Value *Ptr, ArrayRef<Value *> IdxList, unsigned Values, const Twine &NameStr, BasicBlock *InsertAtEnd) argument [all...] |
H A D | IRBuilder.h | 931 Value *CreateGEP(Value *Ptr, ArrayRef<Value *> IdxList, argument 936 for (i = 0, e = IdxList.size(); i != e; ++i) 937 if (!isa<Constant>(IdxList[i])) 940 return Insert(Folder.CreateGetElementPtr(PC, IdxList), Name); 942 return Insert(GetElementPtrInst::Create(Ptr, IdxList), Name); 944 Value *CreateInBoundsGEP(Value *Ptr, ArrayRef<Value *> IdxList, argument 949 for (i = 0, e = IdxList.size(); i != e; ++i) 950 if (!isa<Constant>(IdxList[i])) 953 return Insert(Folder.CreateInBoundsGetElementPtr(PC, IdxList), Name); 955 return Insert(GetElementPtrInst::CreateInBounds(Ptr, IdxList), Nam [all...] |
/freebsd-9.3-release/contrib/llvm/utils/TableGen/ |
H A D | RegisterInfoEmitter.cpp | 1091 typedef std::vector<const CodeGenSubRegIndex*> IdxList; typedef 1092 SmallVector<IdxList, 8> SuperRegIdxLists(RegisterClasses.size()); 1093 SequenceToOffsetTable<IdxList, CodeGenSubRegIndex::Less> SuperRegIdxSeqs; 1103 IdxList &SRIList = SuperRegIdxLists[rc];
|
/freebsd-9.3-release/contrib/llvm/include/llvm-c/ |
H A D | Core.h | 1658 LLVMValueRef LLVMConstExtractValue(LLVMValueRef AggConstant, unsigned *IdxList, 1662 unsigned *IdxList, unsigned NumIdx);
|
/freebsd-9.3-release/contrib/llvm/lib/Transforms/IPO/ |
H A D | GlobalOpt.cpp | 2446 Constant * const IdxList[] = {IdxZero, IdxZero}; local 2448 Ptr = ConstantExpr::getGetElementPtr(Ptr, IdxList);
|