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.cpp1111 const unsigned OldSize = static_cast<unsigned>(LF.getContents().size()); in relaxLEB() local
1112 unsigned PadTo = OldSize; in relaxLEB()
1146 return OldSize != LF.getContents().size(); in relaxLEB()
1216 uint64_t OldSize = DF.getContents().size(); in relaxDwarfLineAddr() local
1229 return OldSize != Data.size(); in relaxDwarfLineAddr()
1248 uint64_t OldSize = Data.size(); in relaxDwarfCallFrameFragment() local
1253 return OldSize != Data.size(); in relaxDwarfCallFrameFragment()
1257 unsigned OldSize = F.getContents().size(); in relaxCVInlineLineTable() local
1259 return OldSize != F.getContents().size(); in relaxCVInlineLineTable()
1263 unsigned OldSize = F.getContents().size(); in relaxCVDefRange() local
[all …]
/freebsd/contrib/llvm-project/llvm/tools/bugpoint/
H A DCrashDebugger.cpp1062 unsigned OldSize = GVs.size(); in ReduceGlobalInitializers() local
1068 if (GVs.size() < OldSize) in ReduceGlobalInitializers()
1193 unsigned OldSize = Functions.size(); in DebugACrash() local
1199 if (Functions.size() < OldSize) in DebugACrash()
1213 unsigned OldSize = 0; in DebugACrash() local
1223 OldSize += Attrs.size(); in DebugACrash()
1232 if (OldSize < NewSize) in DebugACrash()
1244 unsigned OldSize = Blocks.size(); in DebugACrash() local
1252 if (Blocks.size() < OldSize) in DebugACrash()
1266 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.cpp321 size_t OldSize = Data.size(); in relaxDwarfLineAddr() local
376 WasRelaxed = OldSize != Data.size(); in relaxDwarfLineAddr()
386 size_t OldSize = Data.size(); in relaxDwarfCFA() local
402 WasRelaxed = OldSize != Data.size(); in relaxDwarfCFA()
433 WasRelaxed = OldSize != Data.size(); in relaxDwarfCFA()
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dcombined.h499 uptr OldSize = GuardedAlloc.getSize(OldPtr);
502 memcpy(NewPtr, OldPtr, (NewSize < OldSize) ? NewSize : OldSize);
536 uptr OldSize; variable
541 OldSize = Header.SizeOrUnusedBytes;
544 OldSize = BlockEnd - (reinterpret_cast<uptr>(OldTaggedPtr) +
551 if (NewSize > OldSize || (OldSize - NewSize) < getPageSizeCached()) {
554 if (NewSize < OldSize) {
561 OldSize - NewSize);
573 resizeTaggedChunk(reinterpret_cast<uptr>(OldTaggedPtr) + OldSize,
591 memcpy(NewPtr, OldTaggedPtr, Min(NewSize, OldSize));
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVAsmBackend.cpp213 size_t OldSize = Data.size(); in relaxDwarfLineAddr() local
266 WasRelaxed = OldSize != Data.size(); in relaxDwarfLineAddr()
276 size_t OldSize = Data.size(); in relaxDwarfCFA() local
292 WasRelaxed = OldSize != Data.size(); in relaxDwarfCFA()
328 WasRelaxed = OldSize != Data.size(); in relaxDwarfCFA()
/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()
195 if (OldSize == Size) in setStreamSize()
199 uint32_t OldBlocks = bytesToBlocks(OldSize, BlockSize); in setStreamSize()
193 uint32_t OldSize = getStreamSize(Idx); setStreamSize() local
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DSourcePrinter.cpp127 size_t OldSize = ActiveCols.size(); in findFreeColumn() local
128 ActiveCols.grow(std::max<size_t>(OldSize * 2, 1)); in findFreeColumn()
129 return OldSize; in findFreeColumn()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVExpandPseudoInsts.cpp74 const unsigned OldSize = getInstSizeInBytes(MF); in runOnMachineFunction() local
83 assert(OldSize >= NewSize); in runOnMachineFunction()
469 const unsigned OldSize = getInstSizeInBytes(MF); in runOnMachineFunction() local
478 assert(OldSize >= NewSize); in runOnMachineFunction()
H A DRISCVExpandAtomicPseudoInsts.cpp80 const unsigned OldSize = getInstSizeInBytes(MF); in runOnMachineFunction()
89 assert(OldSize >= NewSize); in runOnMachineFunction()
78 const unsigned OldSize = getInstSizeInBytes(MF); runOnMachineFunction() local
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
H A DX86AsmBackend.cpp780 const unsigned OldSize = RF.getContents().size(); in padInstructionViaPrefix() local
781 if (OldSize == 15) in padInstructionViaPrefix()
784 const unsigned MaxPossiblePad = std::min(15 - OldSize, RemainingSize); in padInstructionViaPrefix()
835 const unsigned OldSize = RF.getContents().size(); in padInstructionViaRelaxation() local
837 assert(NewSize >= OldSize && "size decrease during relaxation?"); in padInstructionViaRelaxation()
838 unsigned Delta = NewSize - OldSize; in padInstructionViaRelaxation()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DDependenceGraphBuilder.cpp500 size_t OldSize = Graph.Nodes.size(); in sortNodesTopologically() local
503 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.h1140 unsigned OldSize = this->size(); in shrink_and_clear() local
1145 if (OldSize) { in shrink_and_clear()
1146 NewNumBuckets = 1 << (Log2_32_Ceil(OldSize) + 1); in shrink_and_clear()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DStackColoring.cpp1313 int OldSize = FirstS.size(); in runOnMachineFunction() local
1315 auto Mid = FirstS.begin() + OldSize; in runOnMachineFunction()
H A DInterleavedLoadCombinePass.cpp749 unsigned OldSize = DL.getTypeAllocSize(VTy->getElementType()); in computeFromBCI() local
751 if (NewSize * Factor != OldSize) in computeFromBCI()
H A DCodeGenPrepare.cpp4856 unsigned OldSize = AddrModeInsts.size(); in matchOperationAddr() local
4877 AddrModeInsts.resize(OldSize); in matchOperationAddr()
4888 AddrModeInsts.resize(OldSize); in matchOperationAddr()
4986 unsigned OldSize = AddrModeInsts.size(); in matchOperationAddr() local
4998 AddrModeInsts.resize(OldSize); in matchOperationAddr()
5011 AddrModeInsts.resize(OldSize); in matchOperationAddr()
5021 AddrModeInsts.resize(OldSize); in matchOperationAddr()
5065 unsigned OldSize = AddrModeInsts.size(); in matchOperationAddr() local
5073 ExtCost + (AddrModeInsts.size() - OldSize), in matchOperationAddr()
5076 AddrModeInsts.resize(OldSize); in matchOperationAddr()
[all …]
/freebsd/contrib/llvm-project/lld/ELF/
H A DWriter.cpp1572 const size_t OldSize = inputSec->content().size(); in fixSymbolsAfterShrinking() local
1573 const size_t NewSize = OldSize - inputSec->bytesDropped; in fixSymbolsAfterShrinking()
1575 if (def->value > NewSize && def->value <= OldSize) { in fixSymbolsAfterShrinking()
1584 if (def->value + def->size > NewSize && def->value <= OldSize && in fixSymbolsAfterShrinking()
1585 def->value + def->size <= OldSize) { in fixSymbolsAfterShrinking()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DCheckExprLifetime.cpp215 unsigned OldSize = Path.size(); member
217 ~RevertToOldSizeRAII() { Path.resize(OldSize); } in ~RevertToOldSizeRAII()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSROA.cpp626 int OldSize = Slices.size(); in insert() local
628 auto SliceI = Slices.begin() + OldSize; in insert()
3770 unsigned OldSize = Indices.size(); in emitSplitOps() local
3771 (void)OldSize; in emitSplitOps()
3774 assert(Indices.size() == OldSize && "Did not return to the old size"); in emitSplitOps()
3785 unsigned OldSize = Indices.size(); in emitSplitOps() local
3786 (void)OldSize; in emitSplitOps()
3789 assert(Indices.size() == OldSize && "Did not return to the old size"); in emitSplitOps()

12