Home
last modified time | relevance | path

Searched refs:DestSize (Results 1 – 12 of 12) sorted by relevance

/freebsd/sys/contrib/dev/acpica/components/utilities/
H A Dutnonansi.c298 ACPI_SIZE DestSize, in AcpiUtSafeStrcpy() argument
302 if (strlen (Source) >= DestSize) in AcpiUtSafeStrcpy()
314 ACPI_SIZE DestSize, in AcpiUtSafeStrcat() argument
318 if ((strlen (Dest) + strlen (Source)) >= DestSize) in AcpiUtSafeStrcat()
330 ACPI_SIZE DestSize, in AcpiUtSafeStrncat() argument
339 if ((strlen (Dest) + ActualTransferLength) >= DestSize) in AcpiUtSafeStrncat()
352 ACPI_SIZE DestSize) in AcpiUtSafeStrncpy() argument
356 strncpy (Dest, Source, DestSize); in AcpiUtSafeStrncpy()
357 Dest[DestSize - 1] = 0; in AcpiUtSafeStrncpy()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DMemCpyOptimizer.cpp1323 Value *DestSize = MemSet->getLength(); in processMemSetMemCpyDependence() local
1330 if (DestSize == SrcSize) { in processMemSetMemCpyDependence()
1357 if (DestSize->getType() != SrcSize->getType()) { in processMemSetMemCpyDependence()
1358 if (DestSize->getType()->getIntegerBitWidth() > in processMemSetMemCpyDependence()
1360 SrcSize = Builder.CreateZExt(SrcSize, DestSize->getType()); in processMemSetMemCpyDependence()
1362 DestSize = Builder.CreateZExt(DestSize, SrcSize->getType()); in processMemSetMemCpyDependence()
1365 Value *Ule = Builder.CreateICmpULE(DestSize, SrcSize); in processMemSetMemCpyDependence()
1366 Value *SizeDiff = Builder.CreateSub(DestSize, SrcSize); in processMemSetMemCpyDependence()
1368 Ule, ConstantInt::getNullValue(DestSize->getType()), SizeDiff); in processMemSetMemCpyDependence()
1523 std::optional<TypeSize> DestSize = DestAlloca->getAllocationSize(DL); in performStackMoveOptzn() local
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp563 unsigned DestSize = DestTy->getScalarType()->getPrimitiveSizeInBits(); in Act() local
566 if ((getRandom() & 1) && VSize == DestSize) { in Act()
573 if (VSize > DestSize) { in Act()
577 assert(VSize < DestSize && "Different int types with the same size?"); in Act()
603 if (VSize > DestSize) { in Act()
606 } else if (VSize < DestSize) { in Act()
/freebsd/sys/contrib/dev/acpica/include/
H A Dacutils.h1092 ACPI_SIZE DestSize,
1099 ACPI_SIZE DestSize);
1104 ACPI_SIZE DestSize,
1110 ACPI_SIZE DestSize,
/freebsd/contrib/llvm-project/llvm/lib/Linker/
H A DLinkModules.cpp295 uint64_t DestSize = DL.getTypeAllocSize(Dest.getValueType()); in shouldLinkFromSource() local
297 LinkFromSrc = SrcSize > DestSize; in shouldLinkFromSource()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DLegalizationArtifactCombiner.h432 const unsigned DestSize = DestTy.getSizeInBits(); in tryFoldUnmergeCast() local
479 if (CastSrcSize % DestSize != 0) in tryFoldUnmergeCast()
489 const unsigned NewNumDefs = CastSrcSize / DestSize; in tryFoldUnmergeCast()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelLowering.cpp980 unsigned DestSize = Dest.getSizeInBits(); in isTruncateFree() local
982 return DestSize < SrcSize && DestSize % 32 == 0 ; in isTruncateFree()
989 unsigned DestSize = Dest->getScalarSizeInBits(); in isTruncateFree() local
991 if (DestSize== 16 && Subtarget->has16BitInsts()) in isTruncateFree()
994 return DestSize < SrcSize && DestSize % 32 == 0; in isTruncateFree()
999 unsigned DestSize = Dest->getScalarSizeInBits(); in isZExtFree() local
1002 return DestSize >= 32; in isZExtFree()
1004 return SrcSize == 32 && DestSize == 64; in isZExtFree()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaCast.cpp3277 CharUnits DestSize = Self.Context.getTypeSizeInChars(DestType); in CheckBuiltinBitCast() local
3279 if (DestSize != SourceSize) { in CheckBuiltinBitCast()
3281 << (int)SourceSize.getQuantity() << (int)DestSize.getQuantity(); in CheckBuiltinBitCast()
H A DSemaChecking.cpp907 unsigned DestSize = DestSizeAPS->getZExtValue(); in HandleScanfSpecifier() local
909 if (DestSize < SourceSize) in HandleScanfSpecifier()
910 Diagnose(FS.getArgIndex(), DestSize, SourceSize); in HandleScanfSpecifier()
1294 auto Diagnose = [&](unsigned ArgIndex, unsigned DestSize, in checkFortifiedBuiltinMemoryFunction()
1301 << DestSize << SourceSize); in checkFortifiedBuiltinMemoryFunction()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DConstantFolding.cpp351 TypeSize DestSize = DL.getTypeSizeInBits(DestTy); in ConstantFoldLoadThroughBitcast() local
353 if (!TypeSize::isKnownGE(SrcSize, DestSize)) in ConstantFoldLoadThroughBitcast()
364 if (SrcSize == DestSize && in ConstantFoldLoadThroughBitcast()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCall.cpp5953 uint64_t DestSize = in EmitCall() local
5959 DestSize = getContext().getTypeSizeInChars(RetTy).getQuantity(); in EmitCall()
5970 llvm::TypeSize::getFixed(DestSize - RetAI.getDirectOffset()), in EmitCall()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp23262 unsigned DestSize = Zext.getValueSizeInBits(); in reduceBuildVecToShuffleWithZero() local
23264 if (DestSize % SrcSize != 0 || in reduceBuildVecToShuffleWithZero()
23270 int ZextRatio = DestSize / SrcSize; in reduceBuildVecToShuffleWithZero()