Home
last modified time | relevance | path

Searched refs:OldSize (Results 1 – 25 of 34) sorted by relevance

12

/freebsd/sys/contrib/dev/acpica/compiler/
H A Daslallocate.c263 UINT32 OldSize, in UtReallocLineBuffers() argument
270 memset (*Buffer + OldSize, 0, NewSize - OldSize); in UtReallocLineBuffers()
275 OldSize, NewSize); in UtReallocLineBuffers()
H A Daslcompiler.h292 UINT32 OldSize,
/freebsd/sys/contrib/edk2/Include/Library/
H A DMemoryAllocationLib.h404 IN UINTN OldSize,
433 IN UINTN OldSize,
462 IN UINTN OldSize,
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCAssembler.cpp896 const unsigned OldSize = static_cast<unsigned>(LF.getContents().size()); in relaxLEB() local
897 unsigned PadTo = OldSize; in relaxLEB()
931 return OldSize != Size; in relaxLEB()
1001 auto OldSize = DF.getContents().size(); in relaxDwarfLineAddr() local
1014 return OldSize != Data.size(); in relaxDwarfLineAddr()
1032 auto OldSize = DF.getContents().size(); in relaxDwarfCallFrameFragment() local
1037 return OldSize != Data.size(); in relaxDwarfCallFrameFragment()
1041 unsigned OldSize = F.getContents().size(); in relaxCVInlineLineTable() local
1043 return OldSize != F.getContents().size(); in relaxCVInlineLineTable()
1047 unsigned OldSize = F.getContents().size(); in relaxCVDefRange() local
[all …]
/freebsd/contrib/llvm-project/llvm/tools/bugpoint/
H A DCrashDebugger.cpp1052 unsigned OldSize = GVs.size(); in ReduceGlobalInitializers() local
1058 if (GVs.size() < OldSize) in ReduceGlobalInitializers()
1182 unsigned OldSize = Functions.size(); in DebugACrash() local
1188 if (Functions.size() < OldSize) in DebugACrash()
1202 unsigned OldSize = 0; in DebugACrash() local
1211 OldSize += Attrs.size(); in DebugACrash()
1220 if (OldSize < NewSize) in DebugACrash()
1232 unsigned OldSize = Blocks.size(); in DebugACrash() local
1240 if (Blocks.size() < OldSize) in DebugACrash()
1254 unsigned OldSize = Blocks.size(); in DebugACrash() local
[all …]
H A DMiscompilation.cpp553 unsigned OldSize = Blocks.size(); in ExtractBlocks() local
568 if (Blocks.size() == OldSize) in ExtractBlocks()
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/MCTargetDesc/
H A DLoongArchAsmBackend.cpp298 size_t OldSize = DF.getContents().size(); in relaxDwarfLineAddr() local
354 WasRelaxed = OldSize != Data.size(); in relaxDwarfLineAddr()
362 size_t OldSize = DF.getContents().size(); in relaxDwarfCFA() local
376 WasRelaxed = OldSize != DF.getContents().size(); in relaxDwarfCFA()
411 WasRelaxed = OldSize != Data.size(); in relaxDwarfCFA()
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dcombined.h507 uptr OldSize = GuardedAlloc.getSize(OldPtr);
510 memcpy(NewPtr, OldPtr, (NewSize < OldSize) ? NewSize : OldSize);
544 uptr OldSize; variable
549 OldSize = Header.SizeOrUnusedBytes;
552 OldSize = BlockEnd - (reinterpret_cast<uptr>(OldTaggedPtr) +
559 if (NewSize > OldSize || (OldSize - NewSize) < getPageSizeCached()) {
562 if (NewSize < OldSize) {
569 OldSize - NewSize);
581 resizeTaggedChunk(reinterpret_cast<uptr>(OldTaggedPtr) + OldSize,
599 memcpy(NewPtr, OldTaggedPtr, Min(NewSize, OldSize));
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerCorpus.h421 uint32_t OldSize = GetFeature(Idx); in AddFeature()
422 if (OldSize == 0 || (Shrink && OldSize > NewSize)) { in AddFeature()
423 if (OldSize > 0) { in AddFeature()
418 uint32_t OldSize = GetFeature(Idx); AddFeature() local
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/MSF/
H A DMSFBuilder.cpp194 uint32_t OldSize = getStreamSize(Idx); in setStreamSize() local
195 if (OldSize == Size) in setStreamSize()
199 uint32_t OldBlocks = bytesToBlocks(OldSize, BlockSize); in setStreamSize()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
H A DX86AsmBackend.cpp801 const unsigned OldSize = RF.getContents().size(); in padInstructionViaPrefix() local
802 if (OldSize == 15) in padInstructionViaPrefix()
805 const unsigned MaxPossiblePad = std::min(15 - OldSize, RemainingSize); in padInstructionViaPrefix()
857 const unsigned OldSize = RF.getContents().size(); in padInstructionViaRelaxation() local
859 assert(NewSize >= OldSize && "size decrease during relaxation?"); in padInstructionViaRelaxation()
860 unsigned Delta = NewSize - OldSize; in padInstructionViaRelaxation()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVAsmBackend.cpp311 size_t OldSize = DF.getContents().size(); in relaxDwarfLineAddr() local
366 WasRelaxed = OldSize != Data.size(); in relaxDwarfLineAddr()
374 size_t OldSize = DF.getContents().size(); in relaxDwarfCFA() local
388 WasRelaxed = OldSize != DF.getContents().size(); in relaxDwarfCFA()
422 WasRelaxed = OldSize != Data.size(); in relaxDwarfCFA()
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DSourcePrinter.cpp125 size_t OldSize = ActiveCols.size(); in findFreeColumn() local
126 ActiveCols.grow(std::max<size_t>(OldSize * 2, 1)); in findFreeColumn()
127 return OldSize; in findFreeColumn()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVExpandPseudoInsts.cpp79 const unsigned OldSize = getInstSizeInBytes(MF); in runOnMachineFunction() local
88 assert(OldSize >= NewSize); in runOnMachineFunction()
515 const unsigned OldSize = getInstSizeInBytes(MF); in runOnMachineFunction() local
524 assert(OldSize >= NewSize); in runOnMachineFunction()
H A DRISCVExpandAtomicPseudoInsts.cpp78 const unsigned OldSize = getInstSizeInBytes(MF); in runOnMachineFunction() local
87 assert(OldSize >= NewSize); in runOnMachineFunction()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DDependenceGraphBuilder.cpp498 size_t OldSize = Graph.Nodes.size(); in sortNodesTopologically() local
501 if (Graph.Nodes.size() != OldSize) in sortNodesTopologically()
/freebsd/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_segmented_array.h458 auto OldSize = Size; in trim() local
502 auto PS = F(OldSize); in trim()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DBitVector.h467 unsigned OldSize = Size; in push_back() local
479 set(OldSize); in push_back()
H A DDenseMap.h1149 unsigned OldSize = this->size(); in shrink_and_clear() local
1154 if (OldSize) { in shrink_and_clear()
1155 NewNumBuckets = 1 << (Log2_32_Ceil(OldSize) + 1); in shrink_and_clear()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSROA.cpp630 int OldSize = Slices.size(); in insert() local
632 auto SliceI = Slices.begin() + OldSize; in insert()
1949 TypeSize OldSize = DL.getTypeSizeInBits(OldTy); in canConvertValue() local
1972 OldSize = TypeSize::getFixed(OldSize.getKnownMinValue() * VScale); in canConvertValue()
1976 if (NewSize != OldSize) in canConvertValue()
3862 unsigned OldSize = Indices.size(); in emitSplitOps() local
3863 (void)OldSize; in emitSplitOps()
3866 assert(Indices.size() == OldSize && "Did not return to the old size"); in emitSplitOps()
3877 unsigned OldSize = Indices.size(); in emitSplitOps() local
3878 (void)OldSize; in emitSplitOps()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DInterleavedLoadCombinePass.cpp748 unsigned OldSize = DL.getTypeAllocSize(VTy->getElementType()); in computeFromBCI() local
750 if (NewSize * Factor != OldSize) in computeFromBCI()
H A DStackColoring.cpp1338 int OldSize = FirstS.size(); in run() local
1340 auto Mid = FirstS.begin() + OldSize; in run()
H A DCodeGenPrepare.cpp5192 unsigned OldSize = AddrModeInsts.size(); in matchOperationAddr() local
5213 AddrModeInsts.resize(OldSize); in matchOperationAddr()
5224 AddrModeInsts.resize(OldSize); in matchOperationAddr()
5322 unsigned OldSize = AddrModeInsts.size(); in matchOperationAddr() local
5334 AddrModeInsts.resize(OldSize); in matchOperationAddr()
5347 AddrModeInsts.resize(OldSize); in matchOperationAddr()
5357 AddrModeInsts.resize(OldSize); in matchOperationAddr()
5401 unsigned OldSize = AddrModeInsts.size(); in matchOperationAddr() local
5409 ExtCost + (AddrModeInsts.size() - OldSize), in matchOperationAddr()
5412 AddrModeInsts.resize(OldSize); in matchOperationAddr()
[all …]
/freebsd/contrib/llvm-project/lld/ELF/
H A DWriter.cpp1675 const size_t OldSize = inputSec->content().size(); in fixSymbolsAfterShrinking() local
1676 const size_t NewSize = OldSize - inputSec->bytesDropped; in fixSymbolsAfterShrinking()
1678 if (def->value > NewSize && def->value <= OldSize) { in fixSymbolsAfterShrinking()
1687 if (def->value + def->size > NewSize && def->value <= OldSize && in fixSymbolsAfterShrinking()
1688 def->value + def->size <= OldSize) { in fixSymbolsAfterShrinking()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DCheckExprLifetime.cpp227 unsigned OldSize = Path.size(); member
229 ~RevertToOldSizeRAII() { Path.resize(OldSize); } in ~RevertToOldSizeRAII()

12