Searched refs:NewElts (Results 1 – 9 of 9) sorted by relevance
/external/llvm/lib/Support/ |
D | SmallVector.cpp | 26 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/llvm/lib/Transforms/Scalar/ |
D | ScalarReplAggregates.cpp | 172 SmallVectorImpl<AllocaInst *> &NewElts); 174 SmallVectorImpl<AllocaInst *> &NewElts); 176 SmallVectorImpl<AllocaInst *> &NewElts); 179 SmallVectorImpl<AllocaInst *> &NewElts); 182 SmallVectorImpl<AllocaInst *> &NewElts); 184 SmallVectorImpl<AllocaInst *> &NewElts); 186 SmallVectorImpl<AllocaInst *> &NewElts); 1883 SmallVectorImpl<AllocaInst *> &NewElts) { in RewriteForScalarRepl() argument 1890 RewriteBitCast(BC, AI, Offset, NewElts); in RewriteForScalarRepl() 1895 RewriteGEP(GEPI, AI, Offset, NewElts); in RewriteForScalarRepl() [all …]
|
/external/clang/include/clang/Analysis/Support/ |
D | BumpVector.h | 228 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/ |
D | ASTVector.h | 384 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/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeTypesGeneric.cpp | 393 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()
|
D | LegalizeVectorTypes.cpp | 1271 unsigned NewElts = NewVT.getVectorNumElements(); in SplitVecRes_VECTOR_SHUFFLE() local 1285 unsigned FirstMaskIdx = High * NewElts; in SplitVecRes_VECTOR_SHUFFLE() 1287 for (unsigned MaskOffset = 0; MaskOffset < NewElts; ++MaskOffset) { in SplitVecRes_VECTOR_SHUFFLE() 1292 unsigned Input = (unsigned)Idx / NewElts; in SplitVecRes_VECTOR_SHUFFLE() 1301 Idx -= Input * NewElts; in SplitVecRes_VECTOR_SHUFFLE() 1324 Ops.push_back(Idx + OpNo * NewElts); in SplitVecRes_VECTOR_SHUFFLE() 1332 for (unsigned MaskOffset = 0; MaskOffset < NewElts; ++MaskOffset) { in SplitVecRes_VECTOR_SHUFFLE() 1337 unsigned Input = (unsigned)Idx / NewElts; in SplitVecRes_VECTOR_SHUFFLE() 1346 Idx -= Input * NewElts; in SplitVecRes_VECTOR_SHUFFLE()
|
D | LegalizeDAG.cpp | 4601 SmallVector<SDValue, 8> NewElts; in PromoteNode() local 4602 NewElts.push_back(CastVal); in PromoteNode() 4604 NewElts.push_back(Undef); in PromoteNode() 4606 SDValue Concat = DAG.getNode(ISD::CONCAT_VECTORS, SL, NVT, NewElts); in PromoteNode()
|
/external/llvm/include/llvm/ADT/ |
D | SmallVector.h | 258 T *NewElts = static_cast<T*>(malloc(NewCapacity*sizeof(T))); in grow() local 261 this->uninitialized_move(this->begin(), this->end(), NewElts); in grow() 270 this->setEnd(NewElts+CurSize); in grow() 271 this->BeginX = NewElts; in grow()
|
/external/clang/lib/AST/ |
D | ExprConstant.cpp | 2166 unsigned NewElts = std::max(Index+1, OldElts * 2); in expandArray() local 2167 NewElts = std::min(Size, std::max(NewElts, 8u)); in expandArray() 2170 APValue NewValue(APValue::UninitArray(), NewElts, Size); in expandArray() 2173 for (unsigned I = OldElts; I != NewElts; ++I) in expandArray()
|