Home
last modified time | relevance | path

Searched refs:NewElts (Results 1 – 20 of 20) sorted by relevance

/external/llvm/lib/Support/
DSmallVector.cpp26 void *NewElts; in grow_pod() local
28 NewElts = malloc(NewCapacityInBytes); in grow_pod()
31 memcpy(NewElts, this->BeginX, CurSizeBytes); in grow_pod()
34 NewElts = realloc(this->BeginX, NewCapacityInBytes); in grow_pod()
36 assert(NewElts && "Out of memory"); in grow_pod()
38 this->EndX = (char*)NewElts+CurSizeBytes; in grow_pod()
39 this->BeginX = NewElts; in grow_pod()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DSmallVector.cpp26 void *NewElts; in grow_pod() local
28 NewElts = malloc(NewCapacityInBytes); in grow_pod()
31 memcpy(NewElts, this->BeginX, CurSizeBytes); in grow_pod()
34 NewElts = realloc(this->BeginX, NewCapacityInBytes); in grow_pod()
36 assert(NewElts && "Out of memory"); in grow_pod()
38 this->EndX = (char*)NewElts+CurSizeBytes; in grow_pod()
39 this->BeginX = NewElts; in grow_pod()
/external/swiftshader/third_party/LLVM/lib/Support/
DSmallVector.cpp25 void *NewElts; in grow_pod() local
27 NewElts = malloc(NewCapacityInBytes); in grow_pod()
30 memcpy(NewElts, this->BeginX, CurSizeBytes); in grow_pod()
33 NewElts = realloc(this->BeginX, NewCapacityInBytes); in grow_pod()
36 this->EndX = (char*)NewElts+CurSizeBytes; in grow_pod()
37 this->BeginX = NewElts; in grow_pod()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DSmallVector.cpp53 void *NewElts; in grow_pod() local
55 NewElts = safe_malloc(NewCapacity * TSize); in grow_pod()
58 memcpy(NewElts, this->BeginX, size() * TSize); in grow_pod()
61 NewElts = safe_realloc(this->BeginX, NewCapacity * TSize); in grow_pod()
64 this->BeginX = NewElts; in grow_pod()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DScalarReplAggregates.cpp143 SmallVector<AllocaInst*, 32> &NewElts);
145 SmallVector<AllocaInst*, 32> &NewElts);
147 SmallVector<AllocaInst*, 32> &NewElts);
150 SmallVector<AllocaInst*, 32> &NewElts);
153 SmallVector<AllocaInst*, 32> &NewElts);
155 SmallVector<AllocaInst*, 32> &NewElts);
157 SmallVector<AllocaInst*, 32> &NewElts);
1757 SmallVector<AllocaInst*, 32> &NewElts) { in RewriteForScalarRepl() argument
1763 RewriteBitCast(BC, AI, Offset, NewElts); in RewriteForScalarRepl()
1768 RewriteGEP(GEPI, AI, Offset, NewElts); in RewriteForScalarRepl()
[all …]
/external/clang/include/clang/Analysis/Support/
DBumpVector.h228 T *NewElts = C.getAllocator().template Allocate<T>(NewCapacity); in grow() local
233 std::uninitialized_copy(Begin, End, NewElts); in grow()
238 memcpy(NewElts, Begin, CurSize * sizeof(T)); in grow()
244 Begin = NewElts; in grow()
245 End = NewElts+CurSize; in grow()
/external/clang/include/clang/AST/
DASTVector.h384 T *NewElts = new (C, llvm::alignOf<T>()) T[NewCapacity]; in grow() local
389 std::uninitialized_copy(Begin, End, NewElts); in grow()
394 memcpy(NewElts, Begin, CurSize * sizeof(T)); in grow()
399 Begin = NewElts; in grow()
400 End = NewElts+CurSize; in grow()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DLegalizeTypesGeneric.cpp311 std::vector<SDValue> NewElts; in ExpandOp_BUILD_VECTOR() local
312 NewElts.reserve(NumElts*2); in ExpandOp_BUILD_VECTOR()
319 NewElts.push_back(Lo); in ExpandOp_BUILD_VECTOR()
320 NewElts.push_back(Hi); in ExpandOp_BUILD_VECTOR()
325 NewVT, NewElts.size()), in ExpandOp_BUILD_VECTOR()
326 &NewElts[0], NewElts.size()); in ExpandOp_BUILD_VECTOR()
DLegalizeVectorTypes.cpp847 unsigned NewElts = NewVT.getVectorNumElements(); in SplitVecRes_VECTOR_SHUFFLE() local
861 unsigned FirstMaskIdx = High * NewElts; in SplitVecRes_VECTOR_SHUFFLE()
863 for (unsigned MaskOffset = 0; MaskOffset < NewElts; ++MaskOffset) { in SplitVecRes_VECTOR_SHUFFLE()
868 unsigned Input = (unsigned)Idx / NewElts; in SplitVecRes_VECTOR_SHUFFLE()
877 Idx -= Input * NewElts; in SplitVecRes_VECTOR_SHUFFLE()
900 Ops.push_back(Idx + OpNo * NewElts); in SplitVecRes_VECTOR_SHUFFLE()
908 for (unsigned MaskOffset = 0; MaskOffset < NewElts; ++MaskOffset) { in SplitVecRes_VECTOR_SHUFFLE()
913 unsigned Input = (unsigned)Idx / NewElts; in SplitVecRes_VECTOR_SHUFFLE()
922 Idx -= Input * NewElts; in SplitVecRes_VECTOR_SHUFFLE()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeTypesGeneric.cpp393 std::vector<SDValue> NewElts; in ExpandOp_BUILD_VECTOR() local
394 NewElts.reserve(NumElts*2); in ExpandOp_BUILD_VECTOR()
401 NewElts.push_back(Lo); in ExpandOp_BUILD_VECTOR()
402 NewElts.push_back(Hi); in ExpandOp_BUILD_VECTOR()
407 NewVT, NewElts.size()), in ExpandOp_BUILD_VECTOR()
408 NewElts); in ExpandOp_BUILD_VECTOR()
DLegalizeVectorTypes.cpp1328 unsigned NewElts = NewVT.getVectorNumElements(); in SplitVecRes_VECTOR_SHUFFLE() local
1342 unsigned FirstMaskIdx = High * NewElts; in SplitVecRes_VECTOR_SHUFFLE()
1344 for (unsigned MaskOffset = 0; MaskOffset < NewElts; ++MaskOffset) { in SplitVecRes_VECTOR_SHUFFLE()
1349 unsigned Input = (unsigned)Idx / NewElts; in SplitVecRes_VECTOR_SHUFFLE()
1358 Idx -= Input * NewElts; in SplitVecRes_VECTOR_SHUFFLE()
1381 Ops.push_back(Idx + OpNo * NewElts); in SplitVecRes_VECTOR_SHUFFLE()
1389 for (unsigned MaskOffset = 0; MaskOffset < NewElts; ++MaskOffset) { in SplitVecRes_VECTOR_SHUFFLE()
1394 unsigned Input = (unsigned)Idx / NewElts; in SplitVecRes_VECTOR_SHUFFLE()
1403 Idx -= Input * NewElts; in SplitVecRes_VECTOR_SHUFFLE()
DLegalizeDAG.cpp4384 SmallVector<SDValue, 8> NewElts; in PromoteNode() local
4385 NewElts.push_back(CastVal); in PromoteNode()
4387 NewElts.push_back(Undef); in PromoteNode()
4389 SDValue Concat = DAG.getNode(ISD::CONCAT_VECTORS, SL, NVT, NewElts); in PromoteNode()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeTypesGeneric.cpp388 SmallVector<SDValue, 16> NewElts; in ExpandOp_BUILD_VECTOR() local
389 NewElts.reserve(NumElts*2); in ExpandOp_BUILD_VECTOR()
396 NewElts.push_back(Lo); in ExpandOp_BUILD_VECTOR()
397 NewElts.push_back(Hi); in ExpandOp_BUILD_VECTOR()
400 EVT NewVecVT = EVT::getVectorVT(*DAG.getContext(), NewVT, NewElts.size()); in ExpandOp_BUILD_VECTOR()
401 SDValue NewVec = DAG.getBuildVector(NewVecVT, dl, NewElts); in ExpandOp_BUILD_VECTOR()
DLegalizeVectorTypes.cpp1469 unsigned NewElts = NewVT.getVectorNumElements(); in SplitVecRes_VECTOR_SHUFFLE() local
1483 unsigned FirstMaskIdx = High * NewElts; in SplitVecRes_VECTOR_SHUFFLE()
1485 for (unsigned MaskOffset = 0; MaskOffset < NewElts; ++MaskOffset) { in SplitVecRes_VECTOR_SHUFFLE()
1490 unsigned Input = (unsigned)Idx / NewElts; in SplitVecRes_VECTOR_SHUFFLE()
1499 Idx -= Input * NewElts; in SplitVecRes_VECTOR_SHUFFLE()
1522 Ops.push_back(Idx + OpNo * NewElts); in SplitVecRes_VECTOR_SHUFFLE()
1530 for (unsigned MaskOffset = 0; MaskOffset < NewElts; ++MaskOffset) { in SplitVecRes_VECTOR_SHUFFLE()
1535 unsigned Input = (unsigned)Idx / NewElts; in SplitVecRes_VECTOR_SHUFFLE()
1544 Idx -= Input * NewElts; in SplitVecRes_VECTOR_SHUFFLE()
DLegalizeDAG.cpp4708 SmallVector<SDValue, 8> NewElts; in PromoteNode() local
4709 NewElts.push_back(CastVal); in PromoteNode()
4711 NewElts.push_back(Undef); in PromoteNode()
4713 SDValue Concat = DAG.getNode(ISD::CONCAT_VECTORS, SL, NVT, NewElts); in PromoteNode()
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DSmallVector.h207 T *NewElts = static_cast<T*>(malloc(NewCapacity*sizeof(T))); in grow() local
210 this->uninitialized_copy(this->begin(), this->end(), NewElts); in grow()
219 this->setEnd(NewElts+CurSize); in grow()
220 this->BeginX = NewElts; in grow()
/external/llvm/include/llvm/ADT/
DSmallVector.h237 T *NewElts = static_cast<T*>(malloc(NewCapacity*sizeof(T))); in grow() local
240 this->uninitialized_move(this->begin(), this->end(), NewElts); in grow()
249 this->setEnd(NewElts+CurSize); in grow()
250 this->BeginX = NewElts; in grow()
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DSmallVector.h240 T *NewElts = static_cast<T*>(malloc(NewCapacity*sizeof(T))); in grow() local
243 this->uninitialized_move(this->begin(), this->end(), NewElts); in grow()
252 this->setEnd(NewElts+CurSize); in grow()
253 this->BeginX = NewElts; in grow()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DSmallVector.h247 T *NewElts = static_cast<T*>(llvm::safe_malloc(NewCapacity*sizeof(T))); in grow() local
250 this->uninitialized_move(this->begin(), this->end(), NewElts); in grow()
259 this->BeginX = NewElts; in grow()
/external/clang/lib/AST/
DExprConstant.cpp2262 unsigned NewElts = std::max(Index+1, OldElts * 2); in expandArray() local
2263 NewElts = std::min(Size, std::max(NewElts, 8u)); in expandArray()
2266 APValue NewValue(APValue::UninitArray(), NewElts, Size); in expandArray()
2269 for (unsigned I = OldElts; I != NewElts; ++I) in expandArray()