Home
last modified time | relevance | path

Searched refs:CopySize (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerMutate.cpp321 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 Dutcopy.c828 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 DMemCpyOptimizer.cpp1444 Value *CopySize = MemCpy->getLength(); in performMemCpyToMemSetOptzn() local
1446 if (MemSetSize != CopySize) { in performMemCpyToMemSetOptzn()
1456 auto *CCopySize = dyn_cast<ConstantInt>(CopySize); in performMemCpyToMemSetOptzn()
1470 if (hasUndefContents(MSSA, BAA, MemCpy->getSource(), MD, CopySize)) in performMemCpyToMemSetOptzn()
1475 CopySize = MemSetSize; in performMemCpyToMemSetOptzn()
1482 CopySize, MemCpy->getDestAlign()); in performMemCpyToMemSetOptzn()
1797 if (auto *CopySize = dyn_cast<ConstantInt>(M->getLength())) { in processMemCpy() local
1800 TypeSize::getFixed(CopySize->getZExtValue()), in processMemCpy()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DMemorySanitizer.cpp5178 Value *CopySize = IRB.CreateAdd( in finalizeInstrumentation() local
5180 VAArgTLSCopy = IRB.CreateAlloca(Type::getInt8Ty(*MS.C), CopySize); in finalizeInstrumentation()
5183 CopySize, kShadowTLSAlignment, false); in finalizeInstrumentation()
5186 Intrinsic::umin, CopySize, in finalizeInstrumentation()
5191 VAArgTLSOriginCopy = IRB.CreateAlloca(Type::getInt8Ty(*MS.C), CopySize); in finalizeInstrumentation()
5289 Value *CopySize = in finalizeInstrumentation() local
5295 VAArgTLSCopy = IRB.CreateAlloca(Type::getInt8Ty(*MS.C), CopySize); in finalizeInstrumentation()
5298 CopySize, kShadowTLSAlignment, false); in finalizeInstrumentation()
5301 Intrinsic::umin, CopySize, in finalizeInstrumentation()
5324 CopySize); in finalizeInstrumentation()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DMachOYAML.cpp46 size_t CopySize = 16 >= Scalar.size() ? 16 : Scalar.size(); in input()
47 memcpy((void *)Val, Scalar.data(), CopySize); in input()
45 size_t CopySize = 16 >= Scalar.size() ? 16 : Scalar.size(); input() local
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp1719 ConstantInt *CopySize = nullptr; in translateMemFunc() local
1724 CopySize = dyn_cast<ConstantInt>(MCI->getArgOperand(2)); in translateMemFunc()
1728 CopySize = dyn_cast<ConstantInt>(MCI->getArgOperand(2)); in translateMemFunc()
1732 CopySize = dyn_cast<ConstantInt>(MMI->getArgOperand(2)); in translateMemFunc()
1754 if (AA && CopySize && in translateMemFunc()
1756 SrcPtr, LocationSize::precise(CopySize->getZExtValue()), AAInfo))) { in translateMemFunc()