/external/llvm/include/llvm/IR/ |
D | ConstantFolder.h | 122 ArrayRef<Constant *> IdxList) const { in CreateGetElementPtr() argument 123 return ConstantExpr::getGetElementPtr(Ty, C, IdxList); in CreateGetElementPtr() 132 ArrayRef<Value *> IdxList) const { in CreateGetElementPtr() argument 133 return ConstantExpr::getGetElementPtr(Ty, C, IdxList); in CreateGetElementPtr() 137 ArrayRef<Constant *> IdxList) const { in CreateInBoundsGetElementPtr() argument 138 return ConstantExpr::getInBoundsGetElementPtr(Ty, C, IdxList); in CreateInBoundsGetElementPtr() 148 ArrayRef<Value *> IdxList) const { in CreateInBoundsGetElementPtr() argument 149 return ConstantExpr::getInBoundsGetElementPtr(Ty, C, IdxList); in CreateInBoundsGetElementPtr() 233 ArrayRef<unsigned> IdxList) const { in CreateExtractValue() argument 234 return ConstantExpr::getExtractValue(Agg, IdxList); in CreateExtractValue() [all …]
|
D | NoFolder.h | 181 ArrayRef<Constant *> IdxList) const { in CreateGetElementPtr() argument 182 return ConstantExpr::getGetElementPtr(Ty, C, IdxList); in CreateGetElementPtr() 191 ArrayRef<Value *> IdxList) const { in CreateGetElementPtr() argument 192 return GetElementPtrInst::Create(Ty, C, IdxList); in CreateGetElementPtr() 196 ArrayRef<Constant *> IdxList) const { in CreateInBoundsGetElementPtr() argument 197 return ConstantExpr::getInBoundsGetElementPtr(Ty, C, IdxList); in CreateInBoundsGetElementPtr() 207 ArrayRef<Value *> IdxList) const { in CreateInBoundsGetElementPtr() argument 208 return GetElementPtrInst::CreateInBounds(Ty, C, IdxList); in CreateInBoundsGetElementPtr() 287 ArrayRef<unsigned> IdxList) const { in CreateExtractValue() argument 288 return ExtractValueInst::Create(Agg, IdxList); in CreateExtractValue() [all …]
|
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, [all …]
|
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);
|
D | IRBuilder.h | 1091 Value *CreateGEP(Value *Ptr, ArrayRef<Value *> IdxList, 1093 return CreateGEP(nullptr, Ptr, IdxList, Name); 1095 Value *CreateGEP(Type *Ty, Value *Ptr, ArrayRef<Value *> IdxList, 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, 1110 return CreateInBoundsGEP(nullptr, Ptr, IdxList, Name); 1112 Value *CreateInBoundsGEP(Type *Ty, Value *Ptr, ArrayRef<Value *> IdxList, [all …]
|
/external/llvm/include/llvm/Analysis/ |
D | TargetFolder.h | 134 ArrayRef<Constant *> IdxList) const { in CreateGetElementPtr() argument 135 return Fold(ConstantExpr::getGetElementPtr(Ty, C, IdxList)); in CreateGetElementPtr() 144 ArrayRef<Value *> IdxList) const { in CreateGetElementPtr() argument 145 return Fold(ConstantExpr::getGetElementPtr(Ty, C, IdxList)); in CreateGetElementPtr() 149 ArrayRef<Constant *> IdxList) const { in CreateInBoundsGetElementPtr() argument 150 return Fold(ConstantExpr::getInBoundsGetElementPtr(Ty, C, IdxList)); in CreateInBoundsGetElementPtr() 160 ArrayRef<Value *> IdxList) const { in CreateInBoundsGetElementPtr() argument 161 return Fold(ConstantExpr::getInBoundsGetElementPtr(Ty, C, IdxList)); in CreateInBoundsGetElementPtr() 258 ArrayRef<unsigned> IdxList) const { in CreateExtractValue() argument 259 return Fold(ConstantExpr::getExtractValue(Agg, IdxList)); in CreateExtractValue() [all …]
|
/external/llvm/lib/IR/ |
D | ConstantsContext.h | 170 ExtractValueConstantExpr(Constant *Agg, ArrayRef<unsigned> IdxList, in ExtractValueConstantExpr() argument 173 Indices(IdxList.begin(), IdxList.end()) { in ExtractValueConstantExpr() 203 ArrayRef<unsigned> IdxList, Type *DestTy) in InsertValueConstantExpr() argument 205 Indices(IdxList.begin(), IdxList.end()) { in InsertValueConstantExpr() 230 ArrayRef<Constant *> IdxList, Type *DestTy); 234 ArrayRef<Constant*> IdxList, in Create() argument 239 IdxList, DestTy, Flags); in Create() 242 ArrayRef<Constant *> IdxList, in Create() argument 244 GetElementPtrConstantExpr *Result = new (IdxList.size() + 1) in Create() 245 GetElementPtrConstantExpr(SrcElementTy, C, IdxList, DestTy); in Create()
|
D | Instructions.cpp | 1510 void GetElementPtrInst::init(Value *Ptr, ArrayRef<Value *> IdxList, in init() argument 1512 assert(getNumOperands() == 1 + IdxList.size() && in init() 1515 std::copy(IdxList.begin(), IdxList.end(), op_begin() + 1); in init() 1540 static Type *getIndexedTypeInternal(Type *Agg, ArrayRef<IndexTy> IdxList) { in getIndexedTypeInternal() argument 1542 if (IdxList.empty()) in getIndexedTypeInternal() 1551 for (; CurIdx != IdxList.size(); ++CurIdx) { in getIndexedTypeInternal() 1554 IndexTy Index = IdxList[CurIdx]; in getIndexedTypeInternal() 1558 return CurIdx == IdxList.size() ? Agg : nullptr; in getIndexedTypeInternal() 1561 Type *GetElementPtrInst::getIndexedType(Type *Ty, ArrayRef<Value *> IdxList) { in getIndexedType() argument 1562 return getIndexedTypeInternal(Ty, IdxList); in getIndexedType() [all …]
|
D | Core.cpp | 1170 ArrayRef<Constant *> IdxList(unwrap<Constant>(ConstantIndices, NumIndices), in LLVMConstGEP() local 1173 nullptr, unwrap<Constant>(ConstantVal), IdxList)); in LLVMConstGEP() 1180 ArrayRef<Constant *> IdxList(unwrap<Constant>(ConstantIndices, NumIndices), in LLVMConstInBoundsGEP() local 1182 return wrap(ConstantExpr::getInBoundsGetElementPtr(nullptr, Val, IdxList)); in LLVMConstInBoundsGEP() 1316 LLVMValueRef LLVMConstExtractValue(LLVMValueRef AggConstant, unsigned *IdxList, in LLVMConstExtractValue() argument 1319 makeArrayRef(IdxList, NumIdx))); in LLVMConstExtractValue() 1324 unsigned *IdxList, unsigned NumIdx) { in LLVMConstInsertValue() argument 1327 makeArrayRef(IdxList, NumIdx))); in LLVMConstInsertValue() 2549 ArrayRef<Value *> IdxList(unwrap(Indices), NumIndices); in LLVMBuildGEP() local 2550 return wrap(unwrap(B)->CreateGEP(nullptr, unwrap(Pointer), IdxList, Name)); in LLVMBuildGEP() [all …]
|
D | ConstantFold.cpp | 113 SmallVector<Value*, 8> IdxList; in FoldBitCast() local 116 IdxList.push_back(Zero); in FoldBitCast() 122 IdxList.push_back(Zero); in FoldBitCast() 127 IdxList.push_back(Zero); in FoldBitCast() 136 V, IdxList); in FoldBitCast()
|
D | Constants.cpp | 2333 Type *SrcElementTy, Constant *C, ArrayRef<Constant *> IdxList, Type *DestTy) in GetElementPtrConstantExpr() argument 2336 (IdxList.size() + 1), in GetElementPtrConstantExpr() 2337 IdxList.size() + 1), in GetElementPtrConstantExpr() 2341 for (unsigned i = 0, E = IdxList.size(); i != E; ++i) in GetElementPtrConstantExpr() 2342 OperandList[i+1] = IdxList[i]; in GetElementPtrConstantExpr()
|
/external/clang/test/Parser/ |
D | DelayedTemplateParsing.cpp | 111 ArrayRef<> IdxList; in CreateConstInBoundsGEP2_32() local
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonCommonGEP.cpp | 1095 Value **IdxList = new Value*[Num+1]; in fabricateGEP() local 1104 IdxList[IdxC++] = ConstantInt::get(Int32Ty, 0); in fabricateGEP() 1111 IdxList[IdxC++] = N->Idx; in fabricateGEP() 1120 ArrayRef<Value*> A(IdxList, IdxC); in fabricateGEP() 1128 delete[] IdxList; in fabricateGEP()
|
/external/llvm/utils/TableGen/ |
D | RegisterInfoEmitter.cpp | 1205 typedef std::vector<const CodeGenSubRegIndex*> IdxList; in runTargetDesc() typedef 1206 SmallVector<IdxList, 8> SuperRegIdxLists(RegisterClasses.size()); in runTargetDesc() 1207 SequenceToOffsetTable<IdxList, deref<llvm::less>> SuperRegIdxSeqs; in runTargetDesc() 1216 IdxList &SRIList = SuperRegIdxLists[RC.EnumValue]; in runTargetDesc()
|
/external/llvm/include/llvm-c/ |
D | Core.h | 1666 LLVMValueRef LLVMConstExtractValue(LLVMValueRef AggConstant, unsigned *IdxList, 1670 unsigned *IdxList, unsigned NumIdx);
|
/external/llvm/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 2474 Constant * const IdxList[] = {IdxZero, IdxZero}; in EvaluateBlock() local 2476 Ptr = ConstantExpr::getGetElementPtr(nullptr, Ptr, IdxList); in EvaluateBlock()
|