Home
last modified time | relevance | path

Searched refs:Width (Results 1 – 25 of 317) sorted by relevance

12345678910>>...13

/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DSlowDynamicAPInt.cpp127 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 DScaledNumber.cpp201 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 DUnicode.cpp503 int Width = charWidth(buf[0]); in columnWidthUTF8() local
504 if (Width < 0) in columnWidthUTF8()
506 ColumnWidth += Width; in columnWidthUTF8()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUResourceUsageAnalysis.cpp267 unsigned Width = 0; in analyzeResourceUsage() local
350 Width = 1; in analyzeResourceUsage()
354 Width = 1; in analyzeResourceUsage()
359 Width = 1; in analyzeResourceUsage()
362 Width = 2; in analyzeResourceUsage()
365 Width = 2; in analyzeResourceUsage()
369 Width = 2; in analyzeResourceUsage()
372 Width = 3; in analyzeResourceUsage()
375 Width = 3; in analyzeResourceUsage()
379 Width = 3; in analyzeResourceUsage()
[all …]
H A DSILoadStoreOptimizer.cpp112 unsigned Width; member
809 Width = getOpcodeWidth(*I, *LSO.TII); in setMI()
1031 if (getBufferFormatWithCompCount(CI.Format, CI.Width + Paired.Width, STI) == 0) in offsetsCanBeCombined()
1042 if (EltOffset0 + CI.Width != EltOffset1 && in offsetsCanBeCombined()
1043 EltOffset1 + Paired.Width != EltOffset0) in offsetsCanBeCombined()
1054 if (CI.Width != Paired.Width && in offsetsCanBeCombined()
1055 (CI.Width < Paired.Width) == (CI.Offset < Paired.Offset)) in offsetsCanBeCombined()
1123 const unsigned Width = (CI.Width + Paired.Width); in widthsFit() local
1126 return (Width <= 4) && (STM.hasDwordx3LoadStores() || (Width != 3)); in widthsFit()
1130 switch (Width) { in widthsFit()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ShuffleDecodeConstantPool.cpp116 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 DX86ShuffleDecodeConstantPool.h26 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 DFormat.h134 : Str(S), Width(W), Justify(J) {}
138 unsigned Width;
146 inline FormattedString left_justify(StringRef Str, unsigned Width) {
147 return FormattedString(Str, Width, FormattedString::JustifyLeft);
153 inline FormattedString right_justify(StringRef Str, unsigned Width) {
154 return FormattedString(Str, Width, FormattedString::JustifyRight);
160 inline FormattedString center_justify(StringRef Str, unsigned Width) {
161 return FormattedString(Str, Width, FormattedString::JustifyCenter);
168 unsigned Width;
177 : HexValue(HV), DecValue(DV), Width(W), Hex(H), Upper(U),
[all …]
H A DScaledNumber.h83 const int Width = getWidth<DigitsT>(); variable
84 if (Width == 64 || Digits <= std::numeric_limits<DigitsT>::max())
88 int Shift = llvm::bit_width(Digits) - Width;
424 static void dump(uint64_t D, int16_t E, int Width);
425 static raw_ostream &print(raw_ostream &OS, 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
504 static_assert(Width <= 64, "invalid integer width for digits");
546 if (Scale > 0 || Scale <= -Width) in isOne()
597 return ScaledNumberBase::toString(Digits, Scale, Width, Precision);
[all …]
/freebsd/sys/dev/acpica/Osd/
H A DOsdHardware.c61 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 DOsdMemory.c88 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 Dtext.c55 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 Dstring_utils.cpp82 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 DAPFixedPoint.h44 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 DSectionSizes.cpp20 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 Dhwvalid.c348 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 DRISCVExpandAtomicPseudoInsts.cpp53 bool IsMasked, int Width,
57 AtomicRMWInst::BinOp, bool IsMasked, int Width,
61 int Width, MachineBasicBlock::iterator &NextMBBI);
241 static unsigned getLRForRMW(AtomicOrdering Ordering, int Width, in doAtomicBinOpExpansion()
243 if (Width == 32) in doAtomicBinOpExpansion()
245 if (Width == 64) in doAtomicBinOpExpansion()
250 static unsigned getSCForRMW(AtomicOrdering Ordering, int Width, in doAtomicBinOpExpansion()
252 if (Width == 32) in doAtomicBinOpExpansion()
254 if (Width == 64) in doAtomicBinOpExpansion()
263 AtomicRMWInst::BinOp BinOp, int Width, in doAtomicBinOpExpansion()
219 getLRForRMW(AtomicOrdering Ordering,int Width) getLRForRMW() argument
227 getSCForRMW(AtomicOrdering Ordering,int Width) getSCForRMW() argument
239 doAtomicBinOpExpansion(const RISCVInstrInfo * TII,MachineInstr & MI,DebugLoc DL,MachineBasicBlock * ThisMBB,MachineBasicBlock * LoopMBB,MachineBasicBlock * DoneMBB,AtomicRMWInst::BinOp BinOp,int Width) doAtomicBinOpExpansion() argument
300 doMaskedAtomicBinOpExpansion(const RISCVInstrInfo * TII,MachineInstr & MI,DebugLoc DL,MachineBasicBlock * ThisMBB,MachineBasicBlock * LoopMBB,MachineBasicBlock * DoneMBB,AtomicRMWInst::BinOp BinOp,int Width) doMaskedAtomicBinOpExpansion() argument
362 expandAtomicBinOp(MachineBasicBlock & MBB,MachineBasicBlock::iterator MBBI,AtomicRMWInst::BinOp BinOp,bool IsMasked,int Width,MachineBasicBlock::iterator & NextMBBI) expandAtomicBinOp() argument
411 expandAtomicMinMaxOp(MachineBasicBlock & MBB,MachineBasicBlock::iterator MBBI,AtomicRMWInst::BinOp BinOp,bool IsMasked,int Width,MachineBasicBlock::iterator & NextMBBI) expandAtomicMinMaxOp() argument
598 expandAtomicCmpXchg(MachineBasicBlock & MBB,MachineBasicBlock::iterator MBBI,bool IsMasked,int Width,MachineBasicBlock::iterator & NextMBBI) expandAtomicCmpXchg() argument
[all...]
/freebsd/contrib/libxo/tests/core/saved/
H A Dtest_05.T.out22 Width: 63
24 Width: 6
26 Width: 3
28 Width: 6
31 Width: 4
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchExpandAtomicPseudoInsts.cpp52 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
163 TII->get(Width == 32 ? LoongArch::LL_W : LoongArch::LL_D), DestReg) in doAtomicBinOpExpansion()
209 TII->get(Width == 32 ? LoongArch::SC_W : LoongArch::SC_D), ScratchReg) in doAtomicBinOpExpansion()
241 MachineBasicBlock *DoneMBB, AtomicRMWInst::BinOp BinOp, int Width) { in insertMaskedMerge()
242 assert(Width == 32 && "Should never need to expand masked 64-bit operations"); in insertMaskedMerge()
302 AtomicRMWInst::BinOp BinOp, bool IsMasked, int Width, in doMaskedAtomicBinOpExpansion()
324 Width); in expandAtomicBinOp()
247 doMaskedAtomicBinOpExpansion(const LoongArchInstrInfo * TII,MachineInstr & MI,DebugLoc DL,MachineBasicBlock * ThisMBB,MachineBasicBlock * LoopMBB,MachineBasicBlock * DoneMBB,AtomicRMWInst::BinOp BinOp,int Width) doMaskedAtomicBinOpExpansion() argument
314 expandAtomicBinOp(MachineBasicBlock & MBB,MachineBasicBlock::iterator MBBI,AtomicRMWInst::BinOp BinOp,bool IsMasked,int Width,MachineBasicBlock::iterator & NextMBBI) expandAtomicBinOp() argument
363 expandAtomicMinMaxOp(MachineBasicBlock & MBB,MachineBasicBlock::iterator MBBI,AtomicRMWInst::BinOp BinOp,bool IsMasked,int Width,MachineBasicBlock::iterator & NextMBBI) expandAtomicMinMaxOp() argument
494 expandAtomicCmpXchg(MachineBasicBlock & MBB,MachineBasicBlock::iterator MBBI,bool IsMasked,int Width,MachineBasicBlock::iterator & NextMBBI) expandAtomicCmpXchg() argument
[all...]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DRandstruct.cpp117 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/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DMinimalTypeDumper.h27 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 DBitTracker.h301 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/sys/contrib/dev/acpica/include/
H A Dacpiosxf.h481 UINT32 Width);
489 UINT32 Width);
501 UINT32 Width);
509 UINT32 Width);
524 UINT32 Width);
533 UINT32 Width);
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/Disassembler/
H A DAMDGPUDisassembler.h235 unsigned getVgprClassId(const OpWidthTy Width) const;
236 unsigned getAgprClassId(const OpWidthTy Width) const;
237 unsigned getSgprClassId(const OpWidthTy Width) const;
238 unsigned getTtmpClassId(const OpWidthTy Width) const;
248 const OpWidthTy Width, unsigned Val, bool MandatoryLiteral = false,
253 const OpWidthTy Width, unsigned Val, bool MandatoryLiteral = false,
261 MCOperand decodeSDWASrc(const OpWidthTy Width, unsigned Val,
/freebsd/sys/contrib/dev/acpica/os_specific/service_layers/
H A Dosunixxf.c1334 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

12345678910>>...13