/external/llvm/include/llvm/Analysis/ |
H A D | TargetFolder.h | 134 ArrayRef<Constant *> IdxList) const { 135 return Fold(ConstantExpr::getGetElementPtr(Ty, C, IdxList)); 144 ArrayRef<Value *> IdxList) const { 145 return Fold(ConstantExpr::getGetElementPtr(Ty, C, IdxList)); 149 ArrayRef<Constant *> IdxList) const { 150 return Fold(ConstantExpr::getInBoundsGetElementPtr(Ty, C, IdxList)); 160 ArrayRef<Value *> IdxList) const { 161 return Fold(ConstantExpr::getInBoundsGetElementPtr(Ty, C, IdxList)); 258 ArrayRef<unsigned> IdxList) const { 259 return Fold(ConstantExpr::getExtractValue(Agg, IdxList)); [all...] |
/external/llvm/include/llvm/IR/ |
H A D | ConstantFolder.h | 122 ArrayRef<Constant *> IdxList) const { 123 return ConstantExpr::getGetElementPtr(Ty, C, IdxList); 132 ArrayRef<Value *> IdxList) const { 133 return ConstantExpr::getGetElementPtr(Ty, C, IdxList); 137 ArrayRef<Constant *> IdxList) const { 138 return ConstantExpr::getInBoundsGetElementPtr(Ty, C, IdxList); 148 ArrayRef<Value *> IdxList) const { 149 return ConstantExpr::getInBoundsGetElementPtr(Ty, C, IdxList); 233 ArrayRef<unsigned> IdxList) const { 234 return ConstantExpr::getExtractValue(Agg, IdxList); [all...] |
H A D | NoFolder.h | 181 ArrayRef<Constant *> IdxList) const { 182 return ConstantExpr::getGetElementPtr(Ty, C, IdxList); 191 ArrayRef<Value *> IdxList) const { 192 return GetElementPtrInst::Create(Ty, C, IdxList); 196 ArrayRef<Constant *> IdxList) const { 197 return ConstantExpr::getInBoundsGetElementPtr(Ty, C, IdxList); 207 ArrayRef<Value *> IdxList) const { 208 return GetElementPtrInst::CreateInBounds(Ty, C, IdxList); 287 ArrayRef<unsigned> IdxList) const { 288 return ExtractValueInst::Create(Agg, IdxList); [all...] |
H A D | Instructions.h | 845 void init(Value *Ptr, ArrayRef<Value *> IdxList, const Twine &NameStr); 852 ArrayRef<Value *> IdxList, unsigned Values, 855 ArrayRef<Value *> IdxList, unsigned Values, 865 ArrayRef<Value *> IdxList, 868 unsigned Values = 1 + unsigned(IdxList.size()); 876 return new (Values) GetElementPtrInst(PointeeType, Ptr, IdxList, Values, 880 ArrayRef<Value *> IdxList, 883 unsigned Values = 1 + unsigned(IdxList.size()); 891 return new (Values) GetElementPtrInst(PointeeType, Ptr, IdxList, Values, 898 ArrayRef<Value *> IdxList, 864 Create(Type *PointeeType, Value *Ptr, ArrayRef<Value *> IdxList, const Twine &NameStr = �, Instruction *InsertBefore = nullptr) argument 879 Create(Type *PointeeType, Value *Ptr, ArrayRef<Value *> IdxList, const Twine &NameStr, BasicBlock *InsertAtEnd) argument 897 CreateInBounds(Value *Ptr, ArrayRef<Value *> IdxList, const Twine &NameStr = �, Instruction *InsertBefore = nullptr) argument 904 CreateInBounds(Type *PointeeType, Value *Ptr, ArrayRef<Value *> IdxList, const Twine &NameStr = �, Instruction *InsertBefore = nullptr) argument 912 CreateInBounds(Value *Ptr, ArrayRef<Value *> IdxList, const Twine &NameStr, BasicBlock *InsertAtEnd) argument 918 CreateInBounds(Type *PointeeType, Value *Ptr, ArrayRef<Value *> IdxList, const Twine &NameStr, BasicBlock *InsertAtEnd) argument 992 getGEPReturnType(Value *Ptr, ArrayRef<Value *> IdxList) argument 997 getGEPReturnType(Type *ElTy, Value *Ptr, ArrayRef<Value *> IdxList) argument 1064 GetElementPtrInst(Type *PointeeType, Value *Ptr, ArrayRef<Value *> IdxList, unsigned Values, const Twine &NameStr, Instruction *InsertBefore) argument 1077 GetElementPtrInst(Type *PointeeType, Value *Ptr, ArrayRef<Value *> IdxList, unsigned Values, const Twine &NameStr, BasicBlock *InsertAtEnd) argument [all...] |
H A D | Constants.h | 1118 ArrayRef<Constant *> IdxList, 1122 Ty, C, makeArrayRef((Value * const *)IdxList.data(), IdxList.size()), 1134 ArrayRef<Value *> IdxList, 1141 ArrayRef<Constant *> IdxList) { 1142 return getGetElementPtr(Ty, C, IdxList, true); 1152 ArrayRef<Value *> IdxList) { 1153 return getGetElementPtr(Ty, C, IdxList, true); 1117 getGetElementPtr(Type *Ty, Constant *C, ArrayRef<Constant *> IdxList, bool InBounds = false, Type *OnlyIfReducedTy = nullptr) argument 1140 getInBoundsGetElementPtr(Type *Ty, Constant *C, ArrayRef<Constant *> IdxList) argument 1151 getInBoundsGetElementPtr(Type *Ty, Constant *C, ArrayRef<Value *> IdxList) argument
|
H A D | IRBuilder.h | 1091 Value *CreateGEP(Value *Ptr, ArrayRef<Value *> IdxList, argument 1093 return CreateGEP(nullptr, Ptr, IdxList, Name); 1095 Value *CreateGEP(Type *Ty, Value *Ptr, ArrayRef<Value *> IdxList, argument 1100 for (i = 0, e = IdxList.size(); i != e; ++i) 1101 if (!isa<Constant>(IdxList[i])) 1104 return Insert(Folder.CreateGetElementPtr(Ty, PC, IdxList), Name); 1106 return Insert(GetElementPtrInst::Create(Ty, Ptr, IdxList), Name); 1108 Value *CreateInBoundsGEP(Value *Ptr, ArrayRef<Value *> IdxList, argument 1110 return CreateInBoundsGEP(nullptr, Ptr, IdxList, Name); 1112 Value *CreateInBoundsGEP(Type *Ty, Value *Ptr, ArrayRef<Value *> IdxList, argument [all...] |
/external/clang/test/Parser/ |
H A D | DelayedTemplateParsing.cpp | 111 ArrayRef<> IdxList; local
|
/external/llvm/lib/IR/ |
H A D | ConstantsContext.h | 170 ExtractValueConstantExpr(Constant *Agg, ArrayRef<unsigned> IdxList, argument 173 Indices(IdxList.begin(), IdxList.end()) { 203 ArrayRef<unsigned> IdxList, Type *DestTy) 205 Indices(IdxList.begin(), IdxList.end()) { 230 ArrayRef<Constant *> IdxList, Type *DestTy); 234 ArrayRef<Constant*> IdxList, 239 IdxList, DestTy, Flags); 242 ArrayRef<Constant *> IdxList, 202 InsertValueConstantExpr(Constant *Agg, Constant *Val, ArrayRef<unsigned> IdxList, Type *DestTy) argument 233 Create(Constant *C, ArrayRef<Constant*> IdxList, Type *DestTy, unsigned Flags) argument 241 Create(Type *SrcElementTy, Constant *C, ArrayRef<Constant *> IdxList, Type *DestTy, unsigned Flags) argument [all...] |
H A D | Instructions.cpp | 1510 void GetElementPtrInst::init(Value *Ptr, ArrayRef<Value *> IdxList, 1512 assert(getNumOperands() == 1 + IdxList.size() && 1515 std::copy(IdxList.begin(), IdxList.end(), op_begin() + 1); 1540 static Type *getIndexedTypeInternal(Type *Agg, ArrayRef<IndexTy> IdxList) { 1542 if (IdxList.empty()) 1551 for (; CurIdx != IdxList.size(); ++CurIdx) { 1554 IndexTy Index = IdxList[CurIdx]; 1558 return CurIdx == IdxList.size() ? Agg : nullptr; 1561 Type *GetElementPtrInst::getIndexedType(Type *Ty, ArrayRef<Value *> IdxList) { [all...] |
H A D | Core.cpp | 1170 ArrayRef<Constant *> IdxList(unwrap<Constant>(ConstantIndices, NumIndices), 1173 nullptr, unwrap<Constant>(ConstantVal), IdxList)); 1180 ArrayRef<Constant *> IdxList(unwrap<Constant>(ConstantIndices, NumIndices), 1182 return wrap(ConstantExpr::getInBoundsGetElementPtr(nullptr, Val, IdxList)); 1316 LLVMValueRef LLVMConstExtractValue(LLVMValueRef AggConstant, unsigned *IdxList, argument 1319 makeArrayRef(IdxList, NumIdx))); 1324 unsigned *IdxList, unsigned NumIdx) { 1327 makeArrayRef(IdxList, NumIdx))); 2549 ArrayRef<Value *> IdxList(unwrap(Indices), NumIndices); 2550 return wrap(unwrap(B)->CreateGEP(nullptr, unwrap(Pointer), IdxList, Nam 1322 LLVMConstInsertValue(LLVMValueRef AggConstant, LLVMValueRef ElementValueConstant, unsigned *IdxList, unsigned NumIdx) argument [all...] |
H A D | ConstantFold.cpp | 113 SmallVector<Value*, 8> IdxList; local 116 IdxList.push_back(Zero); 122 IdxList.push_back(Zero); 127 IdxList.push_back(Zero); 136 V, IdxList);
|
H A D | Constants.cpp | 2333 Type *SrcElementTy, Constant *C, ArrayRef<Constant *> IdxList, Type *DestTy) 2336 (IdxList.size() + 1), 2337 IdxList.size() + 1), 2341 for (unsigned i = 0, E = IdxList.size(); i != E; ++i) 2342 OperandList[i+1] = IdxList[i]; 2332 GetElementPtrConstantExpr( Type *SrcElementTy, Constant *C, ArrayRef<Constant *> IdxList, Type *DestTy) argument
|
/external/llvm/utils/TableGen/ |
H A D | RegisterInfoEmitter.cpp | 1205 typedef std::vector<const CodeGenSubRegIndex*> IdxList; typedef 1206 SmallVector<IdxList, 8> SuperRegIdxLists(RegisterClasses.size()); 1207 SequenceToOffsetTable<IdxList, deref<llvm::less>> SuperRegIdxSeqs; 1216 IdxList &SRIList = SuperRegIdxLists[RC.EnumValue];
|
/external/llvm/lib/Target/Hexagon/ |
H A D | HexagonCommonGEP.cpp | 1095 Value **IdxList = new Value*[Num+1]; local 1104 IdxList[IdxC++] = ConstantInt::get(Int32Ty, 0); 1111 IdxList[IdxC++] = N->Idx; 1120 ArrayRef<Value*> A(IdxList, IdxC); 1128 delete[] IdxList;
|
/external/llvm/include/llvm-c/ |
H A D | Core.h | 1666 LLVMValueRef LLVMConstExtractValue(LLVMValueRef AggConstant, unsigned *IdxList, 1670 unsigned *IdxList, unsigned NumIdx);
|
/external/llvm/lib/Transforms/IPO/ |
H A D | GlobalOpt.cpp | 2474 Constant * const IdxList[] = {IdxZero, IdxZero}; local 2476 Ptr = ConstantExpr::getGetElementPtr(nullptr, Ptr, IdxList);
|