/external/llvm/lib/Support/ |
D | StringMap.cpp | 184 unsigned NewSize; in RehashTable() local 191 NewSize = NumBuckets*2; in RehashTable() 193 NewSize = NumBuckets; in RehashTable() 201 (StringMapEntryBase **)calloc(NewSize+1, sizeof(StringMapEntryBase *) + in RehashTable() 203 unsigned *NewHashArray = (unsigned *)(NewTableArray + NewSize + 1); in RehashTable() 204 NewTableArray[NewSize] = (StringMapEntryBase*)2; in RehashTable() 213 unsigned NewBucket = FullHash & (NewSize-1); in RehashTable() 215 NewTableArray[FullHash & (NewSize-1)] = Bucket; in RehashTable() 216 NewHashArray[FullHash & (NewSize-1)] = FullHash; in RehashTable() 223 NewBucket = (NewBucket + ProbeSize++) & (NewSize-1); in RehashTable() [all …]
|
D | IntervalMap.cpp | 121 const unsigned *CurSize, unsigned NewSize[], in distribute() argument 134 Sum += NewSize[n] = PerNode + (n < Extra); in distribute() 136 PosPair = IdxPair(n, Position - (Sum - NewSize[n])); in distribute() 143 assert(NewSize[PosPair.first] && "Too few elements to need Grow"); in distribute() 144 --NewSize[PosPair.first]; in distribute() 150 assert(NewSize[n] <= Capacity && "Overallocated node"); in distribute() 151 Sum += NewSize[n]; in distribute()
|
D | SmallPtrSet.cpp | 134 void SmallPtrSetImpl::Grow(unsigned NewSize) { in Grow() argument 142 CurArray = (const void**)malloc(sizeof(void*) * (NewSize+1)); in Grow() 144 CurArraySize = NewSize; in Grow() 145 memset(CurArray, -1, NewSize*sizeof(void*)); in Grow() 149 CurArray[NewSize] = 0; in Grow()
|
/external/llvm/lib/Target/MSP430/ |
D | MSP430BranchSelector.cpp | 140 unsigned NewSize; in runOnMachineFunction() local 145 NewSize = 4; in runOnMachineFunction() 158 NewSize = 6; in runOnMachineFunction() 168 BlockSizes[MBB.getNumber()] += NewSize-2; in runOnMachineFunction() 169 MBBStartOffset += NewSize; in runOnMachineFunction()
|
/external/llvm/lib/ExecutionEngine/JIT/ |
D | JITMemoryManager.cpp | 95 uint64_t NewSize); 133 void GrowBlock(uintptr_t NewSize); 210 void FreeRangeHeader::GrowBlock(uintptr_t NewSize) { in GrowBlock() argument 211 assert(NewSize > BlockSize && "Not growing block?"); in GrowBlock() 212 BlockSize = NewSize; in GrowBlock() 221 TrimAllocationToSize(FreeRangeHeader *FreeList, uint64_t NewSize) { in TrimAllocationToSize() argument 226 NewSize = std::max<uint64_t>(FreeRangeHeader::getMinBlockSize(), NewSize); in TrimAllocationToSize() 230 NewSize = (NewSize+ (HeaderAlign-1)) & ~(HeaderAlign-1); in TrimAllocationToSize() 234 assert(NewSize <= BlockSize && in TrimAllocationToSize() 239 if (BlockSize <= NewSize+FreeRangeHeader::getMinBlockSize()) in TrimAllocationToSize() [all …]
|
/external/llvm/include/llvm/ADT/ |
D | IndexedMap.h | 71 unsigned NewSize = toIndex_(n) + 1; in grow() local 72 if (NewSize > storage_.size()) in grow() 73 resize(NewSize); in grow()
|
D | IntervalMap.h | 311 unsigned CurSize[], const unsigned NewSize[]) { in adjustSiblingSizes() argument 314 if (CurSize[n] == NewSize[n]) in adjustSiblingSizes() 318 NewSize[n] - CurSize[n]); in adjustSiblingSizes() 322 if (CurSize[n] >= NewSize[n]) in adjustSiblingSizes() 332 if (CurSize[n] == NewSize[n]) in adjustSiblingSizes() 336 CurSize[n] - NewSize[n]); in adjustSiblingSizes() 340 if (CurSize[n] >= NewSize[n]) in adjustSiblingSizes() 347 assert(CurSize[n] == NewSize[n] && "Insufficient element shuffle"); in adjustSiblingSizes() 385 const unsigned *CurSize, unsigned NewSize[], 1880 unsigned NewSize = P.leafSize() - 1; in treeErase() local [all …]
|
D | SmallBitVector.h | 92 void switchToSmall(uintptr_t NewSmallBits, size_t NewSize) { in switchToSmall() argument 94 setSmallSize(NewSize); in switchToSmall()
|
D | BitVector.h | 436 void grow(unsigned NewSize) { in grow() argument 437 Capacity = std::max(NumBitWords(NewSize), Capacity * 2); in grow()
|
D | SmallPtrSet.h | 133 void Grow(unsigned NewSize);
|
/external/llvm/tools/llvm-diff/ |
D | DifferenceEngine.cpp | 71 unsigned NewSize = Storage.size() - 1; in remove_min() local 72 if (NewSize) { in remove_min() 75 Storage[0] = Storage[NewSize]; in remove_min() 77 std::swap(Storage[0], Storage[NewSize]); in remove_min() 87 if (R >= NewSize) { in remove_min() 89 if (L >= NewSize) break; in remove_min()
|
/external/llvm/include/llvm/Analysis/ |
D | AliasSetTracker.h | 60 void updateSizeAndTBAAInfo(uint64_t NewSize, const MDNode *NewTBAAInfo) { in updateSizeAndTBAAInfo() argument 61 if (NewSize > Size) Size = NewSize; in updateSizeAndTBAAInfo()
|
D | AliasAnalysis.h | 121 Location getWithNewSize(uint64_t NewSize) const { in getWithNewSize() 123 Copy.Size = NewSize; in getWithNewSize()
|
/external/clang/lib/AST/ |
D | RecordLayoutBuilder.cpp | 774 void setSize(CharUnits NewSize) { Size = Context.toBits(NewSize); } in setSize() argument 775 void setSize(uint64_t NewSize) { Size = NewSize; } in setSize() argument 785 void setDataSize(CharUnits NewSize) { DataSize = Context.toBits(NewSize); } in setDataSize() argument 786 void setDataSize(uint64_t NewSize) { DataSize = NewSize; } in setDataSize() argument
|
/external/llvm/lib/Linker/ |
D | LinkModules.cpp | 679 uint64_t NewSize = DstTy->getNumElements() + SrcTy->getNumElements(); in linkAppendingVarProto() local 680 ArrayType *NewType = ArrayType::get(EltTy, NewSize); in linkAppendingVarProto()
|
/external/llvm/lib/CodeGen/ |
D | RegisterCoalescer.cpp | 1091 unsigned NewSize = SrcSize + DstSize; in isWinToJoinCrossClass() local 1094 if (NewUses*SrcSize*SrcRCCount > 2*SrcUses*NewSize*NewRCCount) in isWinToJoinCrossClass() 1099 if (NewUses*DstSize*DstRCCount > 2*DstUses*NewSize*NewRCCount) in isWinToJoinCrossClass()
|
/external/clang/lib/Frontend/ |
D | ASTUnit.cpp | 1279 unsigned NewSize, in CreatePaddedMainFileBuffer() argument 1282 = llvm::MemoryBuffer::getNewUninitMemBuffer(NewSize, NewName); in CreatePaddedMainFileBuffer() 1286 ' ', NewSize - Old->getBufferSize() - 1); in CreatePaddedMainFileBuffer()
|
/external/llvm/lib/Target/ARM/ |
D | ARMConstantIslandPass.cpp | 1969 unsigned NewSize = TII->GetInstSizeInBytes(NewJTMI); in optimizeThumb2JumpTables() local 1978 int delta = OrigSize - NewSize; in optimizeThumb2JumpTables()
|
/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime/ |
D | Antlr.Runtime.pas | 3544 NewSize: Integer; 3546 NewSize := Max(Length(FBits) shl 1,NumWordsToHold(Bit)); 3547 SetLength(FBits,NewSize);
|