| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUResourceUsageAnalysis.cpp | 191 unsigned Width = 0; in analyzeResourceUsage() local 274 Width = 1; in analyzeResourceUsage() 278 Width = 1; in analyzeResourceUsage() 283 Width = 1; in analyzeResourceUsage() 286 Width = 2; in analyzeResourceUsage() 289 Width = 2; in analyzeResourceUsage() 293 Width = 2; in analyzeResourceUsage() 296 Width = 3; in analyzeResourceUsage() 299 Width = 3; in analyzeResourceUsage() 303 Width = 3; in analyzeResourceUsage() [all …]
|
| H A D | SILoadStoreOptimizer.cpp | 113 unsigned Width; member 845 Width = getOpcodeWidth(*I, *LSO.TII); in setMI() 1067 if (getBufferFormatWithCompCount(CI.Format, CI.Width + Paired.Width, STI) == 0) in offsetsCanBeCombined() 1078 if (EltOffset0 + CI.Width != EltOffset1 && in offsetsCanBeCombined() 1079 EltOffset1 + Paired.Width != EltOffset0) in offsetsCanBeCombined() 1090 if (CI.Width != Paired.Width && in offsetsCanBeCombined() 1091 (CI.Width < Paired.Width) == (CI.Offset < Paired.Offset)) in offsetsCanBeCombined() 1159 const unsigned Width = (CI.Width + Paired.Width); in widthsFit() local 1162 return (Width <= 4) && (STM.hasDwordx3LoadStores() || (Width != 3)); in widthsFit() 1166 switch (Width) { in widthsFit() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | SlowDynamicAPInt.cpp | 127 unsigned Width = getMaxWidth(Val, O.Val); in operator ==() local 128 return Val.sext(Width) == O.Val.sext(Width); in operator ==() 131 unsigned Width = getMaxWidth(Val, O.Val); in operator !=() local 132 return Val.sext(Width) != O.Val.sext(Width); in operator !=() 135 unsigned Width = getMaxWidth(Val, O.Val); in operator >() local 136 return Val.sext(Width).sgt(O.Val.sext(Width)); in operator >() 139 unsigned Width = getMaxWidth(Val, O.Val); in operator <() local 140 return Val.sext(Width).slt(O.Val.sext(Width)); in operator <() 143 unsigned Width = getMaxWidth(Val, O.Val); in operator <=() local 144 return Val.sext(Width).sle(O.Val.sext(Width)); in operator <=() [all …]
|
| H A D | ScaledNumber.cpp | 201 std::string ScaledNumberBase::toString(uint64_t D, int16_t E, int Width, in toString() argument 254 uint64_t Error = UINT64_C(1) << (64 - Width); in toString() 318 int Width, unsigned Precision) { in print() argument 319 return OS << toString(D, E, Width, Precision); in print() 322 void ScaledNumberBase::dump(uint64_t D, int16_t E, int Width) { in dump() argument 323 print(dbgs(), D, E, Width, 0) << "[" << Width << ":" << D << "*2^" << E in dump()
|
| /freebsd/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() 154 void DecodeVPERMILPMask(const Constant *C, unsigned ElSize, unsigned Width, in DecodeVPERMILPMask() argument 156 assert((Width == 128 || Width == 256 || Width == 512) && in DecodeVPERMILPMask() 157 C->getType()->getPrimitiveSizeInBits() >= Width && in DecodeVPERMILPMask() 167 unsigned NumElts = Width / ElSize; in DecodeVPERMILPMask() 190 unsigned Width, SmallVectorImpl<int> &ShuffleMask) { in DecodeVPERMIL2PMask() argument 194 assert((MaskTySize == 128 || MaskTySize == 256) && Width >= MaskTySize && in DecodeVPERMIL2PMask() [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/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | Format.h | 135 : Str(S), Width(W), Justify(J) {} 139 unsigned Width; 147 inline FormattedString left_justify(StringRef Str, unsigned Width) { 148 return FormattedString(Str, Width, FormattedString::JustifyLeft); 154 inline FormattedString right_justify(StringRef Str, unsigned Width) { 155 return FormattedString(Str, Width, FormattedString::JustifyRight); 161 inline FormattedString center_justify(StringRef Str, unsigned Width) { 162 return FormattedString(Str, Width, FormattedString::JustifyCenter); 169 unsigned Width; 178 : HexValue(HV), DecValue(DV), Width(W), Hex(H), Upper(U), [all …]
|
| H A D | FormatCommon.h | 24 unsigned Width; member 28 unsigned Width, char Fill = ' ') 29 : Adapter(Adapter), Where(Where), Width(Width), Fill(Fill) {} in Adapter() 37 if (Width == 0) { in format() 45 if (Width <= Item.size()) { in format() 50 unsigned PadAmount = Width - static_cast<unsigned>(Item.size()); in format()
|
| H A D | ScaledNumber.h | 84 const int Width = getWidth<DigitsT>(); variable 85 if (Width == 64 || Digits <= std::numeric_limits<DigitsT>::max()) 89 int Shift = llvm::bit_width(Digits) - Width; 427 LLVM_ABI static void dump(uint64_t D, int16_t E, int Width); 429 int Width, unsigned Precision); 430 LLVM_ABI static std::string toString(uint64_t D, int16_t E, int Width, 506 static constexpr int Width = sizeof(DigitsType) * 8; variable 507 static_assert(Width <= 64, "invalid integer width for digits"); 549 if (Scale > 0 || Scale <= -Width) in isOne() 600 return ScaledNumberBase::toString(Digits, Scale, Width, Precision); [all …]
|
| H A D | FormatVariadic.h | 52 ReplacementItem(StringRef Spec, unsigned Index, unsigned Width, in ReplacementItem() 54 : Type(ReplacementType::Format), Spec(Spec), Index(Index), Width(Width), in ReplacementItem() 60 unsigned Width = 0; member 95 FmtAlign Align(*W, R.Where, R.Width, R.Pad); in format()
|
| /freebsd/sys/dev/acpica/Osd/ |
| H A D | OsdHardware.c | 74 AcpiOsReadPort(ACPI_IO_ADDRESS InPort, UINT32 *Value, UINT32 Width) in AcpiOsReadPort() argument 77 switch (Width) { in AcpiOsReadPort() 93 AcpiOsWritePort(ACPI_IO_ADDRESS OutPort, UINT32 Value, UINT32 Width) in AcpiOsWritePort() argument 96 switch (Width) { in AcpiOsWritePort() 113 UINT32 Width) in AcpiOsReadPciConfiguration() argument 120 if (Width == 64) in AcpiOsReadPciConfiguration() 127 PciId->Function, Register, Width / 8); in AcpiOsReadPciConfiguration() 135 UINT64 Value, UINT32 Width) in AcpiOsWritePciConfiguration() argument 142 if (Width == 64) in AcpiOsWritePciConfiguration() 149 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/lib/libvgl/ |
| H A D | text.c | 55 VGLTextFont->Width = 8; in VGLTextSetFontFile() 62 fread(&VGLTextFont->Width, 1 , 1, fd); in VGLTextSetFontFile() 65 (byte*)malloc(256*((VGLTextFont->Width + 7)/8)*VGLTextFont->Height); in VGLTextSetFontFile() 67 (256*((VGLTextFont->Width + 7)/8)*VGLTextFont->Height), 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() [all …]
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
| H A D | string_utils.cpp | 82 void ScopedString::appendString(int Width, int MaxChars, const char *S) { in appendString() argument 92 if (Width < 0) { in appendString() 94 Width = -Width - NumChars; in appendString() 95 while (Width-- > 0) in appendString() 129 u8 Width = 0; in vappend() local 132 Width = static_cast<u8>(Width * 10 + *Cur++ - '0'); in vappend() 155 appendSignedDecimal(DVal, Width, PadWithZero); in vappend() 165 appendUnsigned(UVal, (*Cur == 'u') ? 10 : 16, Width, PadWithZero, Upper); in vappend() 177 appendString(LeftJustified ? -Width : Width, Precision, in vappend() 198 appendSignedDecimal(DVal, Width, PadWithZero); in vappend() [all …]
|
| /freebsd/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() 52 assert(isUInt<WidthBitWidth>(Width) && isInt<LsbWeightBitWidth>(Weight.LsbWeight)); 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() [all …]
|
| /freebsd/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/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/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVExpandAtomicPseudoInsts.cpp | 51 bool IsMasked, int Width, 55 AtomicRMWInst::BinOp, bool IsMasked, int Width, 59 int Width, MachineBasicBlock::iterator &NextMBBI); 239 static unsigned getLRForRMW(AtomicOrdering Ordering, int Width, in getLRForRMW() argument 241 if (Width == 32) in getLRForRMW() 243 if (Width == 64) in getLRForRMW() 248 static unsigned getSCForRMW(AtomicOrdering Ordering, int Width, in getSCForRMW() argument 250 if (Width == 32) in getSCForRMW() 252 if (Width == 64) in getSCForRMW() 261 AtomicRMWInst::BinOp BinOp, int Width, in doAtomicBinOpExpansion() argument [all …]
|
| /freebsd/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/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | AMDGPUTypes.def | 14 #define AMDGPU_OPAQUE_PTR_TYPE(Name, Id, SingletonId, Width, Align, AS) \ 15 AMDGPU_TYPE(Name, Id, SingletonId, Width, Align) 19 #define AMDGPU_NAMED_BARRIER_TYPE(Name, Id, SingletonId, Width, Align, Scope) \ 20 AMDGPU_TYPE(Name, Id, SingletonId, Width, Align)
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | Randstruct.cpp | 115 uint64_t Width = Context.getTypeInfo(FD->getType()).Width; in randomizeStructureLayoutImpl() local 116 if (Width >= CACHE_LINE) { in randomizeStructureLayoutImpl() 118 OverSized->addField(FD, Width); in randomizeStructureLayoutImpl() 125 if (CurrentBucket->canFit(Width)) { in randomizeStructureLayoutImpl() 126 CurrentBucket->addField(FD, Width); in randomizeStructureLayoutImpl()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/Disassembler/ |
| H A D | AMDGPUDisassembler.h | 173 unsigned getVgprClassId(unsigned Width) const; 174 unsigned getAgprClassId(unsigned Width) const; 175 unsigned getSgprClassId(unsigned Width) const; 176 unsigned getTtmpClassId(unsigned Width) const; 185 MCOperand decodeSrcOp(unsigned Width, unsigned Val) const; 187 MCOperand decodeNonVGPRSrcOp(unsigned Width, unsigned Val) const; 194 MCOperand decodeSDWASrc(unsigned Width, unsigned Val) const;
|
| /freebsd/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/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | BitTracker.h | 298 RegisterCell(uint16_t Width = DefaultBitN) : Bits(Width) {} in Bits() 333 static RegisterCell self(unsigned Reg, uint16_t Width); 335 static RegisterCell top(uint16_t Width); 361 BitTracker::RegisterCell::self(unsigned Reg, uint16_t Width) { in self() argument 362 RegisterCell RC(Width); in self() 363 for (uint16_t i = 0; i < Width; ++i) in self() 369 BitTracker::RegisterCell::top(uint16_t Width) { in top() argument 370 RegisterCell RC(Width); in top() 371 for (uint16_t i = 0; i < Width; ++i) in top()
|
| /freebsd/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);
|