Searched refs:CopySize (Results 1 – 6 of 6) sorted by relevance
| /freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
| H A D | FuzzerMutate.cpp | 321 size_t CopySize = Rand(ToSize - ToBeg) + 1; in CopyPartOf() local 322 assert(ToBeg + CopySize <= ToSize); in CopyPartOf() 323 CopySize = std::min(CopySize, FromSize); in CopyPartOf() 324 size_t FromBeg = Rand(FromSize - CopySize + 1); in CopyPartOf() 325 assert(FromBeg + CopySize <= FromSize); in CopyPartOf() 326 memmove(To + ToBeg, From + FromBeg, CopySize); in CopyPartOf() 338 size_t CopySize = Rand(MaxCopySize) + 1; in InsertPartOf() local 339 size_t FromBeg = Rand(FromSize - CopySize + 1); in InsertPartOf() 340 assert(FromBeg + CopySize <= FromSize); in InsertPartOf() 342 assert(ToInsertPos + CopySize <= MaxToSize); in InsertPartOf() [all …]
|
| /freebsd/sys/contrib/dev/acpica/components/utilities/ |
| H A D | utcopy.c | 828 ACPI_SIZE CopySize; in AcpiUtCopySimpleObject() local 840 CopySize = sizeof (ACPI_OPERAND_OBJECT); in AcpiUtCopySimpleObject() 843 CopySize = sizeof (ACPI_NAMESPACE_NODE); in AcpiUtCopySimpleObject() 847 ACPI_CAST_PTR (char, SourceDesc), CopySize); in AcpiUtCopySimpleObject()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | MemCpyOptimizer.cpp | 1431 Value *CopySize = MemCpy->getLength(); in overreadUndefContents() local 1437 if (hasUndefContents(MSSA, BAA, MemCpy->getSource(), MD, CopySize)) in overreadUndefContents() 1458 Value *CopySize = MemCpy->getLength(); in performMemCpyToMemSetOptzn() local 1472 if (MOffset != 0 || MemSetSize != CopySize) { in performMemCpyToMemSetOptzn() 1476 auto *CCopySize = dyn_cast<ConstantInt>(CopySize); in performMemCpyToMemSetOptzn() 1488 CopySize = MemSetSize; in performMemCpyToMemSetOptzn() 1490 CopySize = in performMemCpyToMemSetOptzn() 1491 ConstantInt::get(CopySize->getType(), in performMemCpyToMemSetOptzn() 1502 CopySize, MemCpy->getDestAlign()); in performMemCpyToMemSetOptzn() 1815 if (auto *CopySize = dyn_cast<ConstantInt>(M->getLength())) { in processMemCpy() local [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | MemorySanitizer.cpp | 6657 Value *CopySize = IRB.CreateAdd( in finalizeInstrumentation() local 6659 VAArgTLSCopy = IRB.CreateAlloca(Type::getInt8Ty(*MS.C), CopySize); in finalizeInstrumentation() 6662 CopySize, kShadowTLSAlignment, false); in finalizeInstrumentation() 6665 Intrinsic::umin, CopySize, in finalizeInstrumentation() 6670 VAArgTLSOriginCopy = IRB.CreateAlloca(Type::getInt8Ty(*MS.C), CopySize); in finalizeInstrumentation() 6857 Value *CopySize = IRB.CreateAdd( in finalizeInstrumentation() local 6859 VAArgTLSCopy = IRB.CreateAlloca(Type::getInt8Ty(*MS.C), CopySize); in finalizeInstrumentation() 6862 CopySize, kShadowTLSAlignment, false); in finalizeInstrumentation() 6865 Intrinsic::umin, CopySize, in finalizeInstrumentation() 7065 Value *CopySize = VAArgSize; in finalizeInstrumentation() local [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/ |
| H A D | MachOYAML.cpp | 44 size_t CopySize = 16 >= Scalar.size() ? 16 : Scalar.size(); in input() local 45 memcpy((void *)Val, Scalar.data(), CopySize); in input()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | IRTranslator.cpp | 1731 ConstantInt *CopySize = nullptr; in translateMemFunc() local 1736 CopySize = dyn_cast<ConstantInt>(MCI->getArgOperand(2)); in translateMemFunc() 1740 CopySize = dyn_cast<ConstantInt>(MMI->getArgOperand(2)); in translateMemFunc() 1762 if (AA && CopySize && in translateMemFunc() 1764 SrcPtr, LocationSize::precise(CopySize->getZExtValue()), AAInfo))) { in translateMemFunc()
|