Home
last modified time | relevance | path

Searched refs:DestSize (Results 1 – 13 of 13) 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.cpp1324 Value *DestSize = MemSet->getLength(); in processMemSetMemCpyDependence() local
1331 if (DestSize == SrcSize) { in processMemSetMemCpyDependence()
1358 if (DestSize->getType() != SrcSize->getType()) { in processMemSetMemCpyDependence()
1359 if (DestSize->getType()->getIntegerBitWidth() > in processMemSetMemCpyDependence()
1361 SrcSize = Builder.CreateZExt(SrcSize, DestSize->getType()); in processMemSetMemCpyDependence()
1363 DestSize = Builder.CreateZExt(DestSize, SrcSize->getType()); in processMemSetMemCpyDependence()
1366 Value *Ule = Builder.CreateICmpULE(DestSize, SrcSize); in processMemSetMemCpyDependence()
1367 Value *SizeDiff = Builder.CreateSub(DestSize, SrcSize); in processMemSetMemCpyDependence()
1369 Ule, ConstantInt::getNullValue(DestSize->getType()), SizeDiff); in processMemSetMemCpyDependence()
1542 std::optional<TypeSize> DestSize = DestAlloca->getAllocationSize(DL); in performStackMoveOptzn() local
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp550 unsigned DestSize = DestTy->getScalarType()->getPrimitiveSizeInBits(); in Act() local
553 if ((getRandom() & 1) && VSize == DestSize) { in Act()
560 if (VSize > DestSize) { in Act()
564 assert(VSize < DestSize && "Different int types with the same size?"); in Act()
593 if (VSize > DestSize) { in Act()
596 } else if (VSize < DestSize) { in Act()
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/
H A DOutputSections.cpp283 uint8_t DestSize = Format.getDwarfOffsetByteSize() + 1; in applyULEB128() local
284 uint8_t RealSize = encodeULEB128(Val, ULEB, DestSize); in applyULEB128()
295 uint8_t DestSize = Format.getDwarfOffsetByteSize() + 1; in applySLEB128() local
296 uint8_t RealSize = encodeSLEB128(Val, SLEB, DestSize); in applySLEB128()
/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.h437 const unsigned DestSize = DestTy.getSizeInBits(); in tryFoldUnmergeCast() local
484 if (CastSrcSize % DestSize != 0) in tryFoldUnmergeCast()
494 const unsigned NewNumDefs = CastSrcSize / DestSize; in tryFoldUnmergeCast()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelLowering.cpp999 unsigned DestSize = Dest.getSizeInBits(); in isTruncateFree() local
1001 return DestSize < SrcSize && DestSize % 32 == 0 ; in isTruncateFree()
1008 unsigned DestSize = Dest->getScalarSizeInBits(); in isTruncateFree() local
1010 if (DestSize== 16 && Subtarget->has16BitInsts()) in isTruncateFree()
1013 return DestSize < SrcSize && DestSize % 32 == 0; in isTruncateFree()
1018 unsigned DestSize = Dest->getScalarSizeInBits(); in isZExtFree() local
1021 return DestSize >= 32; in isZExtFree()
1023 return SrcSize == 32 && DestSize == 64; in isZExtFree()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaCast.cpp3374 CharUnits DestSize = Self.Context.getTypeSizeInChars(DestType); in CheckBuiltinBitCast() local
3376 if (DestSize != SourceSize) { in CheckBuiltinBitCast()
3379 << (int)DestSize.getQuantity(); in CheckBuiltinBitCast()
H A DSemaChecking.cpp905 unsigned DestSize = DestSizeAPS->getZExtValue(); in HandleScanfSpecifier() local
907 if (DestSize < SourceSize) in HandleScanfSpecifier()
908 Diagnose(FS.getArgIndex(), DestSize, SourceSize); in HandleScanfSpecifier()
1300 auto Diagnose = [&](unsigned ArgIndex, unsigned DestSize, in checkFortifiedBuiltinMemoryFunction()
1307 << DestSize << SourceSize); in checkFortifiedBuiltinMemoryFunction()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DConstantFolding.cpp364 TypeSize DestSize = DL.getTypeSizeInBits(DestTy); in ConstantFoldLoadThroughBitcast() local
366 if (!TypeSize::isKnownGE(SrcSize, DestSize)) in ConstantFoldLoadThroughBitcast()
377 if (SrcSize == DestSize && in ConstantFoldLoadThroughBitcast()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCall.cpp6145 uint64_t DestSize = in EmitCall() local
6151 DestSize = getContext().getTypeSizeInChars(RetTy).getQuantity(); in EmitCall()
6162 llvm::TypeSize::getFixed(DestSize - RetAI.getDirectOffset()), in EmitCall()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp24316 unsigned DestSize = Zext.getValueSizeInBits(); in reduceBuildVecToShuffleWithZero() local
24318 if (DestSize % SrcSize != 0 || in reduceBuildVecToShuffleWithZero()
24324 int ZextRatio = DestSize / SrcSize; in reduceBuildVecToShuffleWithZero()