| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUResourceUsageAnalysis.cpp | 347 Width = 1; in analyzeResourceUsage() 351 Width = 1; in analyzeResourceUsage() 356 Width = 1; in analyzeResourceUsage() 359 Width = 2; in analyzeResourceUsage() 362 Width = 2; in analyzeResourceUsage() 366 Width = 2; in analyzeResourceUsage() 369 Width = 3; in analyzeResourceUsage() 372 Width = 3; in analyzeResourceUsage() 376 Width = 3; in analyzeResourceUsage() 379 Width = 4; in analyzeResourceUsage() [all …]
|
| H A D | SILoadStoreOptimizer.cpp | 1014 if (CI.Width != Paired.Width && in offsetsCanBeCombined() 1083 const unsigned Width = (CI.Width + Paired.Width); in widthsFit() local 1706 const unsigned Width = CI.Width + Paired.Width; in getNewOpcode() local 1838 CI.Width + Paired.Width)) && in getSubRegIdxs() 1852 assert(CI.Width >= 1 && CI.Width <= 4); in getSubRegIdxs() 1853 assert(Paired.Width >= 1 && Paired.Width <= 4); in getSubRegIdxs() 1857 Idx0 = Idxs[Paired.Width][CI.Width - 1]; in getSubRegIdxs() 1860 Idx1 = Idxs[CI.Width][Paired.Width - 1]; in getSubRegIdxs() 1871 switch (CI.Width + Paired.Width) { in getTargetRegisterClass() 1887 unsigned BitWidth = 32 * (CI.Width + Paired.Width); in getTargetRegisterClass() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86ShuffleDecodeConstantPool.cpp | 116 void DecodePSHUFBMask(const Constant *C, unsigned Width, in DecodePSHUFBMask() argument 118 assert((Width == 128 || Width == 256 || Width == 512) && in DecodePSHUFBMask() 119 C->getType()->getPrimitiveSizeInBits() >= Width && in DecodePSHUFBMask() 128 unsigned NumElts = Width / 8; in DecodePSHUFBMask() 156 assert((Width == 128 || Width == 256 || Width == 512) && in DecodeVPERMILPMask() 157 C->getType()->getPrimitiveSizeInBits() >= Width && in DecodeVPERMILPMask() 167 unsigned NumElts = Width / ElSize; in DecodeVPERMILPMask() 203 unsigned NumElts = Width / ElSize; in DecodeVPERMIL2PMask() 244 void DecodeVPPERMMask(const Constant *C, unsigned Width, in DecodeVPPERMMask() argument 249 assert(Width == 128 && Width >= MaskTySize && "Unexpected vector size."); in DecodeVPPERMMask() [all …]
|
| H A D | X86ShuffleDecodeConstantPool.h | 26 void DecodePSHUFBMask(const Constant *C, unsigned Width, 30 void DecodeVPERMILPMask(const Constant *C, unsigned ElSize, unsigned Width, 35 unsigned Width, SmallVectorImpl<int> &ShuffleMask); 38 void DecodeVPPERMMask(const Constant *C, unsigned Width,
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | Format.h | 134 : Str(S), Width(W), Justify(J) {} 138 unsigned Width; 168 unsigned Width; 177 : HexValue(HV), DecValue(DV), Width(W), Hex(H), Upper(U), 187 inline FormattedNumber format_hex(uint64_t N, unsigned Width, 189 assert(Width <= 18 && "hex width must be <= 18"); 190 return FormattedNumber(N, 0, Width, true, Upper, true); 202 assert(Width <= 16 && "hex width must be <= 16"); 203 return FormattedNumber(N, 0, Width, true, Upper, false); 212 inline FormattedNumber format_decimal(int64_t N, unsigned Width) { [all …]
|
| H A D | ScaledNumber.h | 83 const int Width = getWidth<DigitsT>(); variable 88 int Shift = llvm::bit_width(Digits) - Width; 424 static void dump(uint64_t D, int16_t E, int Width); 427 static std::string toString(uint64_t D, int16_t E, int Width, 503 static constexpr int Width = sizeof(DigitsType) * 8; variable 546 if (Scale > 0 || Scale <= -Width) in isOne() 689 if (Width == 64) in countLeadingZerosWidth() 691 if (Width == 32) in countLeadingZerosWidth() 693 return countLeadingZeros32(Digits) + Width - 32; in countLeadingZerosWidth() 772 if (Width == 64 || N <= DigitsLimits::max()) in scale() [all …]
|
| /freebsd-14.2/sys/dev/acpica/Osd/ |
| H A D | OsdHardware.c | 61 AcpiOsReadPort(ACPI_IO_ADDRESS InPort, UINT32 *Value, UINT32 Width) in AcpiOsReadPort() argument 64 switch (Width) { in AcpiOsReadPort() 80 AcpiOsWritePort(ACPI_IO_ADDRESS OutPort, UINT32 Value, UINT32 Width) in AcpiOsWritePort() argument 83 switch (Width) { in AcpiOsWritePort() 100 UINT32 Width) in AcpiOsReadPciConfiguration() argument 107 if (Width == 64) in AcpiOsReadPciConfiguration() 114 PciId->Function, Register, Width / 8); in AcpiOsReadPciConfiguration() 122 UINT64 Value, UINT32 Width) in AcpiOsWritePciConfiguration() argument 129 if (Width == 64) in AcpiOsWritePciConfiguration() 136 Register, Value, Width / 8); in AcpiOsWritePciConfiguration()
|
| H A D | OsdMemory.c | 88 AcpiOsReadMemory(ACPI_PHYSICAL_ADDRESS Address, UINT64 *Value, UINT32 Width) in AcpiOsReadMemory() argument 92 LogicalAddress = pmap_mapdev(Address, Width / 8); in AcpiOsReadMemory() 96 switch (Width) { in AcpiOsReadMemory() 111 pmap_unmapdev(LogicalAddress, Width / 8); in AcpiOsReadMemory() 117 AcpiOsWriteMemory(ACPI_PHYSICAL_ADDRESS Address, UINT64 Value, UINT32 Width) in AcpiOsWriteMemory() argument 121 LogicalAddress = pmap_mapdev(Address, Width / 8); in AcpiOsWriteMemory() 125 switch (Width) { in AcpiOsWriteMemory() 140 pmap_unmapdev(LogicalAddress, Width / 8); in AcpiOsWriteMemory()
|
| /freebsd-14.2/lib/libvgl/ |
| H A D | text.c | 55 VGLTextFont->Width = 8; in VGLTextSetFontFile() 62 fread(&VGLTextFont->Width, 1 , 1, fd); in VGLTextSetFontFile() 79 Bpl = (VGLTextFont->Width + 7) / 8; in VGLBitmapPutChar() 81 topbit = VGLTextFont->Width - 1; in VGLBitmapPutChar() 83 for(bit = 0; bit < VGLTextFont->Width; bit++) { in VGLBitmapPutChar() 84 b = bit + (-VGLTextFont->Width & 7); in VGLBitmapPutChar() 134 VGLBitmapPutChar(Object, x+(pos*VGLTextFont->Width), y, in VGLBitmapString() 138 VGLBitmapPutChar(Object, x, y-(pos*VGLTextFont->Width), in VGLBitmapString() 142 VGLBitmapPutChar(Object, x-(pos*VGLTextFont->Width), y, in VGLBitmapString() 150 VGLBitmapPutChar(Object, x+(pos*VGLTextFont->Width), in VGLBitmapString() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | APFixedPoint.h | 44 FixedPointSemantics(unsigned Width, unsigned Scale, bool IsSigned, in FixedPointSemantics() argument 46 : FixedPointSemantics(Width, Lsb{-static_cast<int>(Scale)}, IsSigned, in FixedPointSemantics() 48 FixedPointSemantics(unsigned Width, Lsb Weight, bool IsSigned, in FixedPointSemantics() argument 50 : Width(Width), LsbWeight(Weight.LsbWeight), IsSigned(IsSigned), in FixedPointSemantics() 60 return LsbWeight <= 0 && static_cast<int>(Width) >= -LsbWeight; in isValidLegacySema() 62 unsigned getWidth() const { return Width; } in getWidth() 66 return LsbWeight + Width - 1 /*Both lsb and msb are both part of width*/; in getMsbWeight() 104 static FixedPointSemantics GetIntegerSemantics(unsigned Width, in GetIntegerSemantics() argument 106 return FixedPointSemantics(Width, /*Scale=*/0, IsSigned, in GetIntegerSemantics() 112 return Width == Other.Width && LsbWeight == Other.LsbWeight && [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-dwarfdump/ |
| H A D | SectionSizes.cpp | 20 size_t Width = SectionNameTitle.size(); in getNameColumnWidth() local 22 Width = std::max(Width, It.first.size()); in getNameColumnWidth() 23 return Width; in getNameColumnWidth() 29 size_t Width = SectionSizeTitle.size(); in getSizeColumnWidth() local 32 Width = std::max(Width, NumWidth); in getSizeColumnWidth() 34 return Width; in getSizeColumnWidth()
|
| /freebsd-14.2/sys/contrib/dev/acpica/components/hardware/ |
| H A D | hwvalid.c | 348 UINT32 Width) in AcpiHwReadPort() argument 364 Status = AcpiHwValidateIoRequest (Address, Width); in AcpiHwReadPort() 367 Status = AcpiOsReadPort (Address, Value, Width); in AcpiHwReadPort() 381 for (i = 0, *Value = 0; i < Width; i += 8) in AcpiHwReadPort() 423 UINT32 Width) in AcpiHwWritePort() argument 438 Status = AcpiHwValidateIoRequest (Address, Width); in AcpiHwWritePort() 441 Status = AcpiOsWritePort (Address, Value, Width); in AcpiHwWritePort() 455 for (i = 0; i < Width; i += 8) in AcpiHwWritePort()
|
| /freebsd-14.2/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
| H A D | string_utils.cpp | 93 static int appendString(char **Buffer, const char *BufferEnd, int Width, in appendString() argument 104 while (Width < -Res) in appendString() 139 u8 Width = 0; in formatString() local 142 Width = static_cast<u8>(Width * 10 + *Cur++ - '0'); in formatString() 165 Res += appendSignedDecimal(&Buffer, BufferEnd, DVal, Width, PadWithZero); in formatString() 176 Width, PadWithZero, Upper); in formatString() 188 Res += appendString(&Buffer, BufferEnd, LeftJustified ? -Width : Width, in formatString() 211 appendSignedDecimal(&Buffer, BufferEnd, DVal, Width, PadWithZero); in formatString() 214 Res += appendUnsigned(&Buffer, BufferEnd, UVal, 10, Width, PadWithZero, in formatString()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVExpandAtomicPseudoInsts.cpp | 53 bool IsMasked, int Width, 241 static unsigned getLRForRMW(AtomicOrdering Ordering, int Width, in getLRForRMW() argument 243 if (Width == 32) in getLRForRMW() 245 if (Width == 64) in getLRForRMW() 250 static unsigned getSCForRMW(AtomicOrdering Ordering, int Width, in getSCForRMW() argument 252 if (Width == 32) in getSCForRMW() 254 if (Width == 64) in getSCForRMW() 390 AtomicRMWInst::BinOp BinOp, bool IsMasked, int Width, in expandAtomicBinOp() argument 415 Width, STI); in expandAtomicBinOp() 440 AtomicRMWInst::BinOp BinOp, bool IsMasked, int Width, in expandAtomicMinMaxOp() argument [all …]
|
| /freebsd-14.2/contrib/libxo/tests/core/saved/ |
| H A D | test_05.T.out | 22 Width: 63 24 Width: 6 26 Width: 3 28 Width: 6 31 Width: 4
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | Randstruct.cpp | 117 uint64_t Width = Context.getTypeInfo(FD->getType()).Width; in randomizeStructureLayoutImpl() local 118 if (Width >= CACHE_LINE) { in randomizeStructureLayoutImpl() 120 OverSized->addField(FD, Width); in randomizeStructureLayoutImpl() 127 if (CurrentBucket->canFit(Width)) { in randomizeStructureLayoutImpl() 128 CurrentBucket->addField(FD, Width); in randomizeStructureLayoutImpl()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/LoongArch/ |
| H A D | LoongArchExpandAtomicPseudoInsts.cpp | 52 bool IsMasked, int Width, 56 AtomicRMWInst::BinOp, bool IsMasked, int Width, 60 int Width, MachineBasicBlock::iterator &NextMBBI); 151 AtomicRMWInst::BinOp BinOp, int Width) { in doAtomicBinOpExpansion() argument 241 MachineBasicBlock *DoneMBB, AtomicRMWInst::BinOp BinOp, int Width) { in doMaskedAtomicBinOpExpansion() argument 302 AtomicRMWInst::BinOp BinOp, bool IsMasked, int Width, in expandAtomicBinOp() argument 324 Width); in expandAtomicBinOp() 351 AtomicRMWInst::BinOp BinOp, bool IsMasked, int Width, in expandAtomicMinMaxOp() argument 471 int Width, MachineBasicBlock::iterator &NextMBBI) { in expandAtomicCmpXchg() argument 523 TII->get(Width == 32 ? LoongArch::SC_W : LoongArch::SC_D), in expandAtomicCmpXchg() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-pdbutil/ |
| H A D | MinimalTypeDumper.h | 27 MinimalTypeDumpVisitor(LinePrinter &P, uint32_t Width, bool RecordBytes, in MinimalTypeDumpVisitor() argument 33 : P(P), Width(Width), RecordBytes(RecordBytes), Hashes(Hashes), in MinimalTypeDumpVisitor() 57 uint32_t Width; variable
|
| /freebsd-14.2/sys/contrib/dev/acpica/include/ |
| H A D | acpiosxf.h | 481 UINT32 Width); 489 UINT32 Width); 501 UINT32 Width); 509 UINT32 Width); 524 UINT32 Width); 533 UINT32 Width);
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | BitTracker.h | 301 RegisterCell(uint16_t Width = DefaultBitN) : Bits(Width) {} in Bits() 336 static RegisterCell self(unsigned Reg, uint16_t Width); 338 static RegisterCell top(uint16_t Width); 364 BitTracker::RegisterCell::self(unsigned Reg, uint16_t Width) { in self() argument 365 RegisterCell RC(Width); in self() 366 for (uint16_t i = 0; i < Width; ++i) in self() 372 BitTracker::RegisterCell::top(uint16_t Width) { in top() argument 373 RegisterCell RC(Width); in top() 374 for (uint16_t i = 0; i < Width; ++i) in top()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Support/ |
| H A D | ScaledNumber.cpp | 201 std::string ScaledNumberBase::toString(uint64_t D, int16_t E, int Width, in toString() argument 253 uint64_t Error = UINT64_C(1) << (64 - Width); in toString() 316 int Width, unsigned Precision) { in print() argument 317 return OS << toString(D, E, Width, Precision); in print() 320 void ScaledNumberBase::dump(uint64_t D, int16_t E, int Width) { in dump() argument 321 print(dbgs(), D, E, Width, 0) << "[" << Width << ":" << D << "*2^" << E in dump()
|
| H A D | Unicode.cpp | 503 int Width = charWidth(buf[0]); in columnWidthUTF8() local 504 if (Width < 0) in columnWidthUTF8() 506 ColumnWidth += Width; in columnWidthUTF8()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/Disassembler/ |
| H A D | AMDGPUDisassembler.h | 224 unsigned getVgprClassId(const OpWidthTy Width) const; 225 unsigned getAgprClassId(const OpWidthTy Width) const; 226 unsigned getSgprClassId(const OpWidthTy Width) const; 227 unsigned getTtmpClassId(const OpWidthTy Width) const; 235 MCOperand decodeSrcOp(const OpWidthTy Width, unsigned Val, 239 MCOperand decodeNonVGPRSrcOp(const OpWidthTy Width, unsigned Val, 247 MCOperand decodeSDWASrc(const OpWidthTy Width, unsigned Val,
|
| /freebsd-14.2/sys/contrib/dev/acpica/os_specific/service_layers/ |
| H A D | osunixxf.c | 1334 UINT32 Width) in AcpiOsReadPciConfiguration() argument 1362 UINT32 Width) in AcpiOsWritePciConfiguration() argument 1387 UINT32 Width) in AcpiOsReadPort() argument 1390 switch (Width) in AcpiOsReadPort() 1434 UINT32 Width) in AcpiOsWritePort() argument 1460 UINT32 Width) in AcpiOsReadMemory() argument 1463 switch (Width) in AcpiOsReadMemory() 1499 UINT32 Width) in AcpiOsWriteMemory() argument
|
| /freebsd-14.2/contrib/ncurses/ncurses/base/ |
| H A D | safe_sprintf.c | 42 Flags, Width, Prec, Type, Format enumerator 94 state = Width; in _nc_printf_length() 95 if (state == Width) { in _nc_printf_length() 107 state = Width; in _nc_printf_length() 108 if (state == Width) { in _nc_printf_length()
|