Home
last modified time | relevance | path

Searched refs:NewElts (Results 1 – 8 of 8) 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()
37 this->EndX = (char*)NewElts+CurSizeBytes; in grow_pod()
38 this->BeginX = NewElts; in grow_pod()
/external/llvm/lib/Transforms/Scalar/
DScalarReplAggregates.cpp171 SmallVectorImpl<AllocaInst *> &NewElts);
173 SmallVectorImpl<AllocaInst *> &NewElts);
175 SmallVectorImpl<AllocaInst *> &NewElts);
178 SmallVectorImpl<AllocaInst *> &NewElts);
181 SmallVectorImpl<AllocaInst *> &NewElts);
183 SmallVectorImpl<AllocaInst *> &NewElts);
185 SmallVectorImpl<AllocaInst *> &NewElts);
1882 SmallVectorImpl<AllocaInst *> &NewElts) { in RewriteForScalarRepl() argument
1889 RewriteBitCast(BC, AI, Offset, NewElts); in RewriteForScalarRepl()
1894 RewriteGEP(GEPI, AI, Offset, NewElts); in RewriteForScalarRepl()
[all …]
/external/clang/include/clang/Analysis/Support/
DBumpVector.h223 T *NewElts = C.getAllocator().template Allocate<T>(NewCapacity); in grow() local
227 std::uninitialized_copy(Begin, End, NewElts); in grow()
233 memcpy(NewElts, Begin, CurSize * sizeof(T)); in grow()
238 Begin = NewElts; in grow()
239 End = NewElts+CurSize; in grow()
/external/clang/include/clang/AST/
DASTVector.h384 T *NewElts = new (C, llvm::alignOf<T>()) T[NewCapacity]; in grow() local
388 std::uninitialized_copy(Begin, End, NewElts); in grow()
394 memcpy(NewElts, Begin, CurSize * sizeof(T)); in grow()
398 Begin = NewElts; in grow()
399 End = NewElts+CurSize; in grow()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeTypesGeneric.cpp386 std::vector<SDValue> NewElts; in ExpandOp_BUILD_VECTOR() local
387 NewElts.reserve(NumElts*2); in ExpandOp_BUILD_VECTOR()
394 NewElts.push_back(Lo); in ExpandOp_BUILD_VECTOR()
395 NewElts.push_back(Hi); in ExpandOp_BUILD_VECTOR()
400 NewVT, NewElts.size()), in ExpandOp_BUILD_VECTOR()
401 NewElts); in ExpandOp_BUILD_VECTOR()
DLegalizeVectorTypes.cpp1161 unsigned NewElts = NewVT.getVectorNumElements(); in SplitVecRes_VECTOR_SHUFFLE() local
1175 unsigned FirstMaskIdx = High * NewElts; in SplitVecRes_VECTOR_SHUFFLE()
1177 for (unsigned MaskOffset = 0; MaskOffset < NewElts; ++MaskOffset) { in SplitVecRes_VECTOR_SHUFFLE()
1182 unsigned Input = (unsigned)Idx / NewElts; in SplitVecRes_VECTOR_SHUFFLE()
1191 Idx -= Input * NewElts; in SplitVecRes_VECTOR_SHUFFLE()
1214 Ops.push_back(Idx + OpNo * NewElts); in SplitVecRes_VECTOR_SHUFFLE()
1222 for (unsigned MaskOffset = 0; MaskOffset < NewElts; ++MaskOffset) { in SplitVecRes_VECTOR_SHUFFLE()
1227 unsigned Input = (unsigned)Idx / NewElts; in SplitVecRes_VECTOR_SHUFFLE()
1236 Idx -= Input * NewElts; in SplitVecRes_VECTOR_SHUFFLE()
/external/llvm/include/llvm/ADT/
DSmallVector.h251 T *NewElts = static_cast<T*>(malloc(NewCapacity*sizeof(T))); in grow() local
254 this->uninitialized_move(this->begin(), this->end(), NewElts); in grow()
263 this->setEnd(NewElts+CurSize); in grow()
264 this->BeginX = NewElts; in grow()
/external/clang/lib/AST/
DExprConstant.cpp2082 unsigned NewElts = std::max(Index+1, OldElts * 2); in expandArray() local
2083 NewElts = std::min(Size, std::max(NewElts, 8u)); in expandArray()
2086 APValue NewValue(APValue::UninitArray(), NewElts, Size); in expandArray()
2089 for (unsigned I = OldElts; I != NewElts; ++I) in expandArray()