/openbsd/gnu/llvm/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUResourceUsageAnalysis.cpp | 347 Width = 1; in analyzeResourceUsage() 352 Width = 1; in analyzeResourceUsage() 357 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() 384 Width = 4; in analyzeResourceUsage() [all …]
|
H A D | SILoadStoreOptimizer.cpp | 1045 const unsigned Width = (CI.Width + Paired.Width); in widthsFit() local 1669 const unsigned Width = CI.Width + Paired.Width; in getNewOpcode() local 1798 CI.Width + Paired.Width)) && in getSubRegIdxs() 1812 assert(CI.Width >= 1 && CI.Width <= 4); in getSubRegIdxs() 1813 assert(Paired.Width >= 1 && Paired.Width <= 4); in getSubRegIdxs() 1817 Idx0 = Idxs[Paired.Width][CI.Width - 1]; in getSubRegIdxs() 1820 Idx1 = Idxs[CI.Width][Paired.Width - 1]; in getSubRegIdxs() 1831 switch (CI.Width + Paired.Width) { in getTargetRegisterClass() 1845 unsigned BitWidth = 32 * (CI.Width + Paired.Width); in getTargetRegisterClass() 2401 OptimizeListAgain |= CI.Width + Paired.Width < 8; in optimizeInstsWithSameBaseAddr() [all …]
|
/openbsd/gnu/llvm/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,
|
/openbsd/gnu/llvm/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 …]
|
/openbsd/gnu/llvm/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 …]
|
/openbsd/gnu/llvm/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()
|
/openbsd/gnu/llvm/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 | 176 // 11.1. Vector Single-Width Integer Add and Subtract 191 // 11.6. Vector Single-Width Bit Shift Instructions 204 // 11.10. Vector Single-Width Integer Multiply Instructions 229 // 12.1. Vector Single-Width Saturating Add and Subtract 233 // 12.2. Vector Single-Width Averaging Add and Subtract 239 // 12.4. Vector Single-Width Scaling Shift Instructions 402 // 11.1. Vector Single-Width Integer Add and Subtract 414 // 11.6. Vector Single-Width Bit Shift Instructions 447 // 12.1. Vector Single-Width Saturating Add and Subtract 450 // 12.2. Vector Single-Width Averaging Add and Subtract [all …]
|
/openbsd/gnu/llvm/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()
|
/openbsd/gnu/llvm/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()
|
/openbsd/gnu/llvm/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 247 MachineBasicBlock *DoneMBB, AtomicRMWInst::BinOp BinOp, int Width) { in doMaskedAtomicBinOpExpansion() argument 314 AtomicRMWInst::BinOp BinOp, bool IsMasked, int Width, in expandAtomicBinOp() argument 336 Width); in expandAtomicBinOp() 363 AtomicRMWInst::BinOp BinOp, bool IsMasked, int Width, in expandAtomicMinMaxOp() argument 494 int Width, MachineBasicBlock::iterator &NextMBBI) { in expandAtomicCmpXchg() argument 548 TII->get(Width == 32 ? LoongArch::SC_W : LoongArch::SC_D), in expandAtomicCmpXchg() [all …]
|
/openbsd/gnu/llvm/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 …]
|
/openbsd/gnu/llvm/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
|
/openbsd/gnu/llvm/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()
|
H A D | HexagonBitTracker.h | 57 unsigned getNextPhysReg(unsigned PReg, unsigned Width) const; 65 ExtType(char t, uint16_t w) : Type(t), Width(w) {} in ExtType() 68 uint16_t Width = 0; member
|
/openbsd/gnu/llvm/llvm/lib/Target/AMDGPU/Disassembler/ |
H A D | AMDGPUDisassembler.h | 241 unsigned getVgprClassId(const OpWidthTy Width) const; 242 unsigned getAgprClassId(const OpWidthTy Width) const; 243 unsigned getSgprClassId(const OpWidthTy Width) const; 244 unsigned getTtmpClassId(const OpWidthTy Width) const; 247 static MCOperand decodeFPImmed(OpWidthTy Width, unsigned Imm); 251 MCOperand decodeSrcOp(const OpWidthTy Width, unsigned Val, 253 MCOperand decodeDstOp(const OpWidthTy Width, unsigned Val) const; 258 MCOperand decodeSDWASrc(const OpWidthTy Width, unsigned Val) const;
|
H A D | AMDGPUDisassembler.cpp | 1490 switch (Width) { in decodeFPImmed() 1511 assert(OPW_FIRST_ <= Width && Width < OPW_LAST_); in getVgprClassId() 1512 switch (Width) { in getVgprClassId() 1536 assert(OPW_FIRST_ <= Width && Width < OPW_LAST_); in getAgprClassId() 1537 switch (Width) { in getAgprClassId() 1562 assert(OPW_FIRST_ <= Width && Width < OPW_LAST_); in getSgprClassId() 1563 switch (Width) { in getSgprClassId() 1586 assert(OPW_FIRST_ <= Width && Width < OPW_LAST_); in getTtmpClassId() 1587 switch (Width) { in getTtmpClassId() 1652 switch (Width) { in decodeSrcOp() [all …]
|
/openbsd/gnu/llvm/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()
|
H A D | FormattedStream.cpp | 31 int Width = sys::unicode::columnWidthUTF8(CP); in UpdatePosition() local 32 if (Width != sys::unicode::ErrorNonPrintableCharacter) in UpdatePosition() 33 Column += Width; in UpdatePosition()
|
/openbsd/lib/libcurses/base/ |
H A D | safe_sprintf.c | 44 Flags, Width, Prec, Type, Format enumerator 96 state = Width; in _nc_printf_length() 97 if (state == Width) { in _nc_printf_length() 109 state = Width; in _nc_printf_length() 110 if (state == Width) { in _nc_printf_length()
|
/openbsd/gnu/llvm/llvm/lib/MC/ |
H A D | TargetRegistry.cpp | 119 size_t Width = 0; in printRegisteredTargetsForVersion() local 122 Width = std::max(Width, Targets.back().first.size()); in printRegisteredTargetsForVersion() 130 OS.indent(Width - Target.first.size()) in printRegisteredTargetsForVersion()
|
/openbsd/gnu/llvm/llvm/lib/Transforms/Vectorize/ |
H A D | LoopVectorizationPlanner.h | 190 ElementCount Width; member 202 VectorizationFactor(ElementCount Width, InstructionCost Cost, in VectorizationFactor() 204 : Width(Width), Cost(Cost), ScalarCost(ScalarCost) {} in VectorizationFactor() 212 return Width == rhs.Width && Cost == rhs.Cost;
|