Searched refs:CopySize (Results 1 - 5 of 5) sorted by relevance

/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerMutate.cpp300 // Copy From[FromBeg, FromBeg + CopySize) into To[ToBeg, ToBeg + CopySize).
302 size_t CopySize = Rand(ToSize - ToBeg) + 1; local
303 assert(ToBeg + CopySize <= ToSize);
304 CopySize = std::min(CopySize, FromSize);
305 size_t FromBeg = Rand(FromSize - CopySize + 1);
306 assert(FromBeg + CopySize <= FromSize);
307 memmove(To + ToBeg, From + FromBeg, CopySize);
319 size_t CopySize local
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DMemCpyOptimizer.cpp1104 ConstantInt *CopySize = cast<ConstantInt>(MemCpy->getLength());
1105 if (CopySize->getZExtValue() > MemSetSize->getZExtValue()) {
1108 // interested in the bytes from MemSetSize..CopySize here, but as we can't
1109 // easily represent this location, we use the full 0..CopySize range.
1113 if (DepInfo.isDef() && hasUndefContents(DepInfo.getInst(), CopySize))
1114 CopySize = MemSetSize;
1120 Builder.CreateMemSet(MemCpy->getRawDest(), MemSet->getOperand(1), CopySize,
1165 ConstantInt *CopySize = dyn_cast<ConstantInt>(M->getLength());
1166 if (!CopySize) return false;
1181 CopySize
[all...]
/freebsd-12-stable/sys/contrib/dev/acpica/components/utilities/
H A Dutcopy.c828 ACPI_SIZE CopySize; local
840 CopySize = sizeof (ACPI_OPERAND_OBJECT);
843 CopySize = sizeof (ACPI_NAMESPACE_NODE);
847 ACPI_CAST_PTR (char, SourceDesc), CopySize); local
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DMemorySanitizer.cpp3992 Value *CopySize =
3995 VAArgTLSCopy = IRB.CreateAlloca(Type::getInt8Ty(*MS.C), CopySize);
3996 IRB.CreateMemCpy(VAArgTLSCopy, Align(8), MS.VAArgTLS, Align(8), CopySize);
3998 VAArgTLSOriginCopy = IRB.CreateAlloca(Type::getInt8Ty(*MS.C), CopySize);
4000 Align(8), CopySize);
4138 Value *CopySize = IRB.CreateAdd(ConstantInt::get(MS.IntptrTy, 0),
4144 VAArgTLSCopy = IRB.CreateAlloca(Type::getInt8Ty(*MS.C), CopySize);
4145 IRB.CreateMemCpy(VAArgTLSCopy, Align(8), MS.VAArgTLS, Align(8), CopySize);
4166 CopySize);
4333 Value *CopySize
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DMachOYAML.cpp44 size_t CopySize = 16 >= Scalar.size() ? 16 : Scalar.size(); local
45 memcpy((void *)Val, Scalar.data(), CopySize);

Completed in 192 milliseconds