| /freebsd-13.1/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-13.1/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | Format.h | 133 : Str(S), Width(W), Justify(J) {} 137 unsigned Width; 167 unsigned Width; 176 : HexValue(HV), DecValue(DV), Width(W), Hex(H), Upper(U), 186 inline FormattedNumber format_hex(uint64_t N, unsigned Width, 188 assert(Width <= 18 && "hex width must be <= 18"); 189 return FormattedNumber(N, 0, Width, true, Upper, true); 201 assert(Width <= 16 && "hex width must be <= 16"); 202 return FormattedNumber(N, 0, Width, true, Upper, false); 211 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 = 64 - Width - countLeadingZeros(Digits); 423 static void dump(uint64_t D, int16_t E, int Width); 426 static std::string toString(uint64_t D, int16_t E, int Width, 502 static constexpr int Width = sizeof(DigitsType) * 8; variable 545 if (Scale > 0 || Scale <= -Width) in isOne() 688 if (Width == 64) in countLeadingZerosWidth() 690 if (Width == 32) in countLeadingZerosWidth() 692 return countLeadingZeros32(Digits) + Width - 32; in countLeadingZerosWidth() 771 if (Width == 64 || N <= DigitsLimits::max()) in scale() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUResourceUsageAnalysis.cpp | 302 Width = 1; in analyzeResourceUsage() 307 Width = 1; in analyzeResourceUsage() 312 Width = 1; in analyzeResourceUsage() 317 Width = 2; in analyzeResourceUsage() 320 Width = 2; in analyzeResourceUsage() 324 Width = 2; in analyzeResourceUsage() 327 Width = 3; in analyzeResourceUsage() 330 Width = 3; in analyzeResourceUsage() 334 Width = 3; in analyzeResourceUsage() 339 Width = 4; in analyzeResourceUsage() [all …]
|
| H A D | SILoadStoreOptimizer.cpp | 856 const unsigned Width = (CI.Width + Paired.Width); in widthsFit() local 1509 const unsigned Width = CI.Width + Paired.Width; in getNewOpcode() local 1542 if (CI.Width == 0 || Paired.Width == 0 || CI.Width + Paired.Width > 4) in getSubRegIdxs() 1562 assert(CI.Width >= 1 && CI.Width <= 3); in getSubRegIdxs() 1563 assert(Paired.Width >= 1 && Paired.Width <= 3); in getSubRegIdxs() 1567 Idx0 = Idxs[Paired.Width][CI.Width - 1]; in getSubRegIdxs() 1570 Idx1 = Idxs[CI.Width][Paired.Width - 1]; in getSubRegIdxs() 1580 switch (CI.Width + Paired.Width) { in getTargetRegisterClass() 1594 unsigned BitWidth = 32 * (CI.Width + Paired.Width); in getTargetRegisterClass() 2150 OptimizeListAgain |= (CI.Width + Paired.Width) < 4; in optimizeInstsWithSameBaseAddr() [all …]
|
| /freebsd-13.1/sys/dev/acpica/Osd/ |
| H A D | OsdHardware.c | 63 AcpiOsReadPort(ACPI_IO_ADDRESS InPort, UINT32 *Value, UINT32 Width) in AcpiOsReadPort() argument 66 switch (Width) { in AcpiOsReadPort() 82 AcpiOsWritePort(ACPI_IO_ADDRESS OutPort, UINT32 Value, UINT32 Width) in AcpiOsWritePort() argument 85 switch (Width) { in AcpiOsWritePort() 102 UINT32 Width) in AcpiOsReadPciConfiguration() argument 109 if (Width == 64) in AcpiOsReadPciConfiguration() 116 PciId->Function, Register, Width / 8); in AcpiOsReadPciConfiguration() 124 UINT64 Value, UINT32 Width) in AcpiOsWritePciConfiguration() argument 131 if (Width == 64) in AcpiOsWritePciConfiguration() 138 Value, Width / 8); in AcpiOsWritePciConfiguration()
|
| H A D | OsdMemory.c | 90 AcpiOsReadMemory(ACPI_PHYSICAL_ADDRESS Address, UINT64 *Value, UINT32 Width) in AcpiOsReadMemory() argument 94 LogicalAddress = pmap_mapdev(Address, Width / 8); in AcpiOsReadMemory() 98 switch (Width) { in AcpiOsReadMemory() 113 pmap_unmapdev((vm_offset_t)LogicalAddress, Width / 8); in AcpiOsReadMemory() 119 AcpiOsWriteMemory(ACPI_PHYSICAL_ADDRESS Address, UINT64 Value, UINT32 Width) in AcpiOsWriteMemory() argument 123 LogicalAddress = pmap_mapdev(Address, Width / 8); in AcpiOsWriteMemory() 127 switch (Width) { in AcpiOsWriteMemory() 142 pmap_unmapdev((vm_offset_t)LogicalAddress, Width / 8); in AcpiOsWriteMemory()
|
| /freebsd-13.1/lib/libvgl/ |
| H A D | text.c | 57 VGLTextFont->Width = 8; in VGLTextSetFontFile() 64 fread(&VGLTextFont->Width, 1 , 1, fd); in VGLTextSetFontFile() 81 Bpl = (VGLTextFont->Width + 7) / 8; in VGLBitmapPutChar() 83 topbit = VGLTextFont->Width - 1; in VGLBitmapPutChar() 85 for(bit = 0; bit < VGLTextFont->Width; bit++) { in VGLBitmapPutChar() 86 b = bit + (-VGLTextFont->Width & 7); in VGLBitmapPutChar() 136 VGLBitmapPutChar(Object, x+(pos*VGLTextFont->Width), y, in VGLBitmapString() 140 VGLBitmapPutChar(Object, x, y-(pos*VGLTextFont->Width), in VGLBitmapString() 144 VGLBitmapPutChar(Object, x-(pos*VGLTextFont->Width), y, in VGLBitmapString() 152 VGLBitmapPutChar(Object, x+(pos*VGLTextFont->Width), in VGLBitmapString() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | APFixedPoint.h | 35 FixedPointSemantics(unsigned Width, unsigned Scale, bool IsSigned, in FixedPointSemantics() argument 37 : Width(Width), Scale(Scale), IsSigned(IsSigned), in FixedPointSemantics() 39 assert(Width >= Scale && "Not enough room for the scale"); in FixedPointSemantics() 44 unsigned getWidth() const { return Width; } in getWidth() 57 return Width - Scale - 1; in getIntegralBits() 59 return Width - Scale; in getIntegralBits() 79 static FixedPointSemantics GetIntegerSemantics(unsigned Width, in GetIntegerSemantics() argument 81 return FixedPointSemantics(Width, /*Scale=*/0, IsSigned, in GetIntegerSemantics() 87 unsigned Width : 16;
|
| /freebsd-13.1/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-13.1/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-13.1/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVExpandAtomicPseudoInsts.cpp | 52 bool IsMasked, int Width, 200 static unsigned getLRForRMW(AtomicOrdering Ordering, int Width) { in getLRForRMW() argument 201 if (Width == 32) in getLRForRMW() 203 if (Width == 64) in getLRForRMW() 208 static unsigned getSCForRMW(AtomicOrdering Ordering, int Width) { in getSCForRMW() argument 209 if (Width == 32) in getSCForRMW() 211 if (Width == 64) in getSCForRMW() 343 AtomicRMWInst::BinOp BinOp, bool IsMasked, int Width, in expandAtomicBinOp() argument 367 Width); in expandAtomicBinOp() 392 AtomicRMWInst::BinOp BinOp, bool IsMasked, int Width, in expandAtomicMinMaxOp() argument [all …]
|
| H A D | RISCVScheduleV.td | 79 // 11.1. Vector Single-Width Integer Add and Subtract 94 // 11.6. Vector Single-Width Bit Shift Instructions 107 // 11.10. Vector Single-Width Integer Multiply Instructions 132 // 12.1. Vector Single-Width Saturating Add and Subtract 136 // 12.2. Vector Single-Width Averaging Add and Subtract 142 // 12.4. Vector Single-Width Scaling Shift Instructions 303 // 11.1. Vector Single-Width Integer Add and Subtract 315 // 11.6. Vector Single-Width Bit Shift Instructions 348 // 12.1. Vector Single-Width Saturating Add and Subtract 351 // 12.2. Vector Single-Width Averaging Add and Subtract [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/Disassembler/ |
| H A D | AMDGPUDisassembler.h | 146 unsigned getVgprClassId(const OpWidthTy Width) const; 147 unsigned getAgprClassId(const OpWidthTy Width) const; 148 unsigned getSgprClassId(const OpWidthTy Width) const; 149 unsigned getTtmpClassId(const OpWidthTy Width) const; 152 static MCOperand decodeFPImmed(OpWidthTy Width, unsigned Imm); 155 MCOperand decodeSrcOp(const OpWidthTy Width, unsigned Val) const; 156 MCOperand decodeDstOp(const OpWidthTy Width, unsigned Val) const; 160 MCOperand decodeSDWASrc(const OpWidthTy Width, unsigned Val) const;
|
| H A D | AMDGPUDisassembler.cpp | 1130 switch (Width) { in decodeFPImmed() 1151 assert(OPW_FIRST_ <= Width && Width < OPW_LAST_); in getVgprClassId() 1152 switch (Width) { in getVgprClassId() 1172 assert(OPW_FIRST_ <= Width && Width < OPW_LAST_); in getAgprClassId() 1173 switch (Width) { in getAgprClassId() 1194 assert(OPW_FIRST_ <= Width && Width < OPW_LAST_); in getSgprClassId() 1195 switch (Width) { in getSgprClassId() 1214 assert(OPW_FIRST_ <= Width && Width < OPW_LAST_); in getTtmpClassId() 1215 switch (Width) { in getTtmpClassId() 1270 switch (Width) { in decodeSrcOp() [all …]
|
| /freebsd-13.1/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()
|
| /freebsd-13.1/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-13.1/contrib/llvm-project/llvm/tools/llvm-cov/ |
| H A D | CoverageReport.cpp | 33 unsigned Width; member 37 Column(StringRef Str, unsigned Width) in Column() 38 : Str(Str), Width(Width), Trim(WidthTrim), Alignment(LeftAlignment) {} in Column() 51 if (Str.size() <= Width) { in render() 53 OS.indent(Width - Str.size()); in render() 58 OS.indent(Width - Str.size()); in render() 67 OS << Str.substr(0, Width); in render() 70 OS << Str.substr(0, Width - 3) << "..."; in render() 81 Column column(StringRef Str, unsigned Width) { return Column(Str, Width); } in column() argument 84 Column column(StringRef Str, unsigned Width, const T &Value) { in column() argument [all …]
|
| /freebsd-13.1/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-13.1/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-13.1/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-13.1/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()
|
| /freebsd-13.1/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 | 366 int Width = charWidth(buf[0]); in columnWidthUTF8() local 367 if (Width < 0) in columnWidthUTF8() 369 ColumnWidth += Width; in columnWidthUTF8()
|