Home
last modified time | relevance | path

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

12345678910>>...23

/llvm-project-15.0.7/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()
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 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,
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DFormat.h133 : 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 DScaledNumber.h83 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 …]
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPUResourceUsageAnalysis.cpp314 Width = 1; in analyzeResourceUsage()
319 Width = 1; in analyzeResourceUsage()
324 Width = 1; in analyzeResourceUsage()
329 Width = 2; in analyzeResourceUsage()
332 Width = 2; in analyzeResourceUsage()
336 Width = 2; in analyzeResourceUsage()
339 Width = 3; in analyzeResourceUsage()
342 Width = 3; in analyzeResourceUsage()
346 Width = 3; in analyzeResourceUsage()
351 Width = 4; in analyzeResourceUsage()
[all …]
H A DSILoadStoreOptimizer.cpp979 const unsigned Width = (CI.Width + Paired.Width); in widthsFit() local
1600 const unsigned Width = CI.Width + Paired.Width; in getNewOpcode() local
1717 assert(CI.Width >= 1 && CI.Width <= 4); in getSubRegIdxs()
1718 assert(Paired.Width >= 1 && Paired.Width <= 4); in getSubRegIdxs()
1722 Idx0 = Idxs[Paired.Width][CI.Width - 1]; in getSubRegIdxs()
1725 Idx1 = Idxs[CI.Width][Paired.Width - 1]; in getSubRegIdxs()
1735 switch (CI.Width + Paired.Width) { in getTargetRegisterClass()
1749 unsigned BitWidth = 32 * (CI.Width + Paired.Width); in getTargetRegisterClass()
2304 OptimizeListAgain |= CI.Width + Paired.Width < 8; in optimizeInstsWithSameBaseAddr()
2308 OptimizeListAgain |= CI.Width + Paired.Width < 4; in optimizeInstsWithSameBaseAddr()
[all …]
/llvm-project-15.0.7/openmp/libomptarget/DeviceRTL/src/
H A DUtils.cpp80 int32_t Width);
88 int Width = mapping::getWarpSize(); in shuffle() local
90 int Index = SrcLane + (Self & ~(Width - 1)); in shuffle()
95 int32_t Width) { in shuffleDown() argument
98 Index = (int)(LaneDelta + (Self & (Width - 1))) >= Width ? Self : Index; in shuffleDown()
116 int32_t T = ((mapping::getWarpSize() - Width) << 8) | 0x1f; in shuffleDown()
136 int32_t Width) { in shuffleDown() argument
137 return impl::shuffleDown(Mask, Var, Delta, Width); in shuffleDown()
146 int64_t __kmpc_shuffle_int64(int64_t Val, int16_t Delta, int16_t Width) { in __kmpc_shuffle_int64() argument
150 hi = impl::shuffleDown(lanes::All, hi, Delta, Width); in __kmpc_shuffle_int64()
[all …]
/llvm-project-15.0.7/llvm/test/TableGen/
H A DTwoLevelName.td7 int Width = width;
41 // CHECK: Width = 8
45 // CHECK: Width = 8
49 // CHECK: Width = 8
53 // CHECK: Width = 16
57 // CHECK: Width = 8
61 // CHECK: Width = 8
65 // CHECK: Width = 16
69 // CHECK: Width = 8
/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DAPFixedPoint.h35 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;
/llvm-project-15.0.7/libcxxabi/test/
H A Ddynamic_cast_stress.pass.cpp45 template <std::size_t Width, std::size_t Depth>
47 : public makeB<typename std::__make_tuple_indices<Width>::type, Depth>
53 const std::size_t Width = 10; in test() local
55 A<Width, Depth> a; in test()
56 typedef B<Width/2, Depth> Destination; in test()
61 b = dynamic_cast<Destination*>((C<Width/2, 0>*)&a); in test()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/llvm/test/tools/llvm-mca/X86/
H A Dcpus.s28 # BARCELONA: Dispatch Width: 4
33 # BDVER2: Dispatch Width: 4
38 # BROADWELL: Dispatch Width: 4
43 # BTVER2: Dispatch Width: 2
48 # HASWELL: Dispatch Width: 4
53 # ICX: Dispatch Width: 6
58 # IVYBRIDGE: Dispatch Width: 4
63 # KNL: Dispatch Width: 4
68 # SANDYBRIDGE: Dispatch Width: 4
73 # SKX: Dispatch Width: 6
[all …]
H A Duop-queue.s22 # BTVER2-DEC-2: Dispatch Width: 2
67 # BTVER2-DEC-1: Dispatch Width: 2
72 # BTVER2-UOPQ-1: Dispatch Width: 2
77 # BTVER2-UOPQ-2: Dispatch Width: 2
82 # HASWELL-DEC-2: Dispatch Width: 4
87 # HASWELL-UOPQ-1: Dispatch Width: 4
92 # HASWELL-UOPQ-2: Dispatch Width: 4
97 # HASWELL-UOPQ-3: Dispatch Width: 4
102 # HASWELL-UOPQ-4: Dispatch Width: 4
H A Dread-after-ld-1.s50 # BARCELONA: Dispatch Width: 4
55 # BDVER2: Dispatch Width: 4
60 # BDWELL: Dispatch Width: 4
65 # BTVER2: Dispatch Width: 2
70 # HASWELL: Dispatch Width: 4
75 # SANDY: Dispatch Width: 4
80 # SKYLAKE: Dispatch Width: 6
85 # ZNVER1: Dispatch Width: 4
90 # ZNVER2: Dispatch Width: 4
95 # ZNVER3: Dispatch Width: 6
H A Dvariable-blend-read-after-ld-1.s55 # BDVER2: Dispatch Width: 4
60 # BDWELL: Dispatch Width: 4
65 # BTVER2: Dispatch Width: 2
70 # HASWELL: Dispatch Width: 4
75 # IVY: Dispatch Width: 4
80 # SANDY: Dispatch Width: 4
85 # SKYLAKE: Dispatch Width: 6
90 # ZNVER1: Dispatch Width: 4
95 # ZNVER2: Dispatch Width: 4
H A Dvariable-blend-read-after-ld-2.s55 # BDVER2: Dispatch Width: 4
60 # BDWELL: Dispatch Width: 4
65 # BTVER2: Dispatch Width: 2
70 # HASWELL: Dispatch Width: 4
75 # IVY: Dispatch Width: 4
80 # SANDY: Dispatch Width: 4
85 # SKYLAKE: Dispatch Width: 6
90 # ZNVER1: Dispatch Width: 4
95 # ZNVER2: Dispatch Width: 4
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/google/
H A DIntegerTypesCheck.cpp94 unsigned Width; in check() local
100 Width = TargetInfo.getShortWidth(); in check()
104 Width = TargetInfo.getLongWidth(); in check()
108 Width = TargetInfo.getLongLongWidth(); in check()
112 Width = TargetInfo.getShortWidth(); in check()
116 Width = TargetInfo.getLongWidth(); in check()
120 Width = TargetInfo.getLongLongWidth(); in check()
136 ((IsSigned ? SignedTypePrefix : UnsignedTypePrefix) + Twine(Width) + in check()
/llvm-project-15.0.7/llvm/lib/Target/RISCV/
H A DRISCVExpandAtomicPseudoInsts.cpp52 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 …]
/llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/
H A Dstring_utils.cpp93 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()
/llvm-project-15.0.7/polly/lib/Support/
H A DSCEVAffinator.cpp75 static __isl_give isl_pw_aff *getWidthExpValOnDomain(unsigned Width, in getWidthExpValOnDomain() argument
78 auto *WidthVal = isl_val_int_from_ui(Ctx, Width); in getWidthExpValOnDomain()
161 unsigned Width = TD.getTypeSizeInBits(ExprType); in addModuloSemantic() local
163 auto ModVal = isl::val::int_from_ui(Ctx, Width); in addModuloSemantic()
188 unsigned Width = TD.getTypeSizeInBits(Expr->getType()); in computeModuloForExpr() local
193 return Width <= MaxSmallBitWidth; in computeModuloForExpr()
282 unsigned Width = TD.getTypeSizeInBits(Expr->getType()); in visitTruncateExpr() local
288 auto *ExpPWA = getWidthExpValOnDomain(Width - 1, Dom); in visitTruncateExpr()
363 unsigned Width = TD.getTypeSizeInBits(Op->getType()); in visitZeroExtendExpr() local
364 interpretAsUnsigned(OpPWAC, Width); in visitZeroExtendExpr()
[all …]
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/llvm/tools/llvm-cov/
H A DCoverageReport.cpp33 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 …]
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/Disassembler/
H A DAMDGPUDisassembler.h224 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;
230 static MCOperand decodeFPImmed(OpWidthTy Width, unsigned Imm);
234 MCOperand decodeSrcOp(const OpWidthTy Width, unsigned Val,
236 MCOperand decodeDstOp(const OpWidthTy Width, unsigned Val) const;
241 MCOperand decodeSDWASrc(const OpWidthTy Width, unsigned Val) const;
/llvm-project-15.0.7/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
/llvm-project-15.0.7/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()

12345678910>>...23