Searched refs:NewElts (Results 1 - 7 of 7) sorted by relevance

/external/llvm/lib/Support/
H A DSmallVector.cpp26 void *NewElts; local
28 NewElts = malloc(NewCapacityInBytes);
31 memcpy(NewElts, this->BeginX, CurSizeBytes);
34 NewElts = realloc(this->BeginX, NewCapacityInBytes);
37 this->EndX = (char*)NewElts+CurSizeBytes;
38 this->BeginX = NewElts;
/external/clang/include/clang/Analysis/Support/
H A DBumpVector.h223 T *NewElts = C.getAllocator().template Allocate<T>(NewCapacity); local
227 std::uninitialized_copy(Begin, End, NewElts);
233 memcpy(NewElts, Begin, CurSize * sizeof(T));
238 Begin = NewElts;
239 End = NewElts+CurSize;
/external/llvm/lib/Transforms/Scalar/
H A DScalarReplAggregates.cpp169 SmallVector<AllocaInst*, 32> &NewElts);
171 SmallVector<AllocaInst*, 32> &NewElts);
173 SmallVector<AllocaInst*, 32> &NewElts);
176 SmallVector<AllocaInst*, 32> &NewElts);
179 SmallVector<AllocaInst*, 32> &NewElts);
181 SmallVector<AllocaInst*, 32> &NewElts);
183 SmallVector<AllocaInst*, 32> &NewElts);
1872 /// RewriteForScalarRepl - Alloca AI is being split into NewElts, so rewrite
1877 SmallVector<AllocaInst*, 32> &NewElts) {
1883 RewriteBitCast(BC, AI, Offset, NewElts);
1876 RewriteForScalarRepl(Instruction *I, AllocaInst *AI, uint64_t Offset, SmallVector<AllocaInst*, 32> &NewElts) argument
1990 RewriteBitCast(BitCastInst *BC, AllocaInst *AI, uint64_t Offset, SmallVector<AllocaInst*, 32> &NewElts) argument
2048 RewriteGEP(GetElementPtrInst *GEPI, AllocaInst *AI, uint64_t Offset, SmallVector<AllocaInst*, 32> &NewElts) argument
2109 RewriteLifetimeIntrinsic(IntrinsicInst *II, AllocaInst *AI, uint64_t Offset, SmallVector<AllocaInst*, 32> &NewElts) argument
2165 RewriteMemIntrinUserOfAlloca(MemIntrinsic *MI, Instruction *Inst, AllocaInst *AI, SmallVector<AllocaInst*, 32> &NewElts) argument
2338 RewriteStoreUserOfWholeAlloca(StoreInst *SI, AllocaInst *AI, SmallVector<AllocaInst*, 32> &NewElts) argument
2452 RewriteLoadUserOfWholeAlloca(LoadInst *LI, AllocaInst *AI, SmallVector<AllocaInst*, 32> &NewElts) argument
[all...]
/external/clang/include/clang/AST/
H A DASTVector.h377 T *NewElts = new (C, llvm::alignOf<T>()) T[NewCapacity]; local
381 std::uninitialized_copy(Begin, End, NewElts);
387 memcpy(NewElts, Begin, CurSize * sizeof(T));
391 Begin = NewElts;
392 End = NewElts+CurSize;
/external/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeTypesGeneric.cpp320 std::vector<SDValue> NewElts; local
321 NewElts.reserve(NumElts*2);
328 NewElts.push_back(Lo);
329 NewElts.push_back(Hi);
334 NewVT, NewElts.size()),
335 &NewElts[0], NewElts.size());
H A DLegalizeVectorTypes.cpp898 unsigned NewElts = NewVT.getVectorNumElements(); local
912 unsigned FirstMaskIdx = High * NewElts;
914 for (unsigned MaskOffset = 0; MaskOffset < NewElts; ++MaskOffset) {
919 unsigned Input = (unsigned)Idx / NewElts;
928 Idx -= Input * NewElts;
951 Ops.push_back(Idx + OpNo * NewElts);
959 for (unsigned MaskOffset = 0; MaskOffset < NewElts; ++MaskOffset) {
964 unsigned Input = (unsigned)Idx / NewElts;
973 Idx -= Input * NewElts;
/external/llvm/include/llvm/ADT/
H A DSmallVector.h269 T *NewElts = static_cast<T*>(malloc(NewCapacity*sizeof(T))); local
272 this->uninitialized_move(this->begin(), this->end(), NewElts);
281 this->setEnd(NewElts+CurSize);
282 this->BeginX = NewElts;

Completed in 2452 milliseconds