Home
last modified time | relevance | path

Searched refs:width (Results 1 – 25 of 1679) sorted by relevance

12345678910>>...68

/llvm-project/libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/
H A Dput_long_double.pass.cpp69 ios.width(0); in test1()
74 assert(ios.width() == 0); in test1()
76 ios.width(25); in test1()
82 assert(ios.width() == 0); in test1()
84 ios.width(25); in test1()
90 assert(ios.width() == 0); in test1()
92 ios.width(25); in test1()
98 assert(ios.width() == 0); in test1()
103 ios.width(0); in test1()
108 assert(ios.width() == 0); in test1()
[all …]
H A Dput_double.pass.cpp68 ios.width(0); in test1()
73 assert(ios.width() == 0); in test1()
75 ios.width(25); in test1()
81 assert(ios.width() == 0); in test1()
83 ios.width(25); in test1()
89 assert(ios.width() == 0); in test1()
91 ios.width(25); in test1()
97 assert(ios.width() == 0); in test1()
102 ios.width(0); in test1()
107 assert(ios.width() == 0); in test1()
[all …]
H A Dput_double.hex.pass.cpp85 ios.width(0); in test1()
90 assert(ios.width() == 0); in test1()
92 ios.width(25); in test1()
98 assert(ios.width() == 0); in test1()
100 ios.width(25); in test1()
106 assert(ios.width() == 0); in test1()
108 ios.width(25); in test1()
114 assert(ios.width() == 0); in test1()
119 ios.width(0); in test1()
124 assert(ios.width() in test1()
[all...]
H A Dput_long_double.hex.pass.cpp85 ios.width(0); in test1()
90 assert(ios.width() == 0); in test1()
92 ios.width(25); in test1()
98 assert(ios.width() == 0); in test1()
100 ios.width(25); in test1()
106 assert(ios.width() == 0); in test1()
108 ios.width(25); in test1()
114 assert(ios.width() == 0); in test1()
119 ios.width(0); in test1()
124 assert(ios.width() in test1()
[all...]
H A Dput_long_long.pass.cpp194 ios.width(15); in main()
207 ios.width(15); in main()
220 ios.width(15); in main()
226 assert(ios.width() == 0); in main()
234 ios.width(15); in main()
247 ios.width(15); in main()
260 ios.width(15); in main()
266 assert(ios.width() == 0); in main()
274 ios.width(10); in main()
279 assert(ios.width() == 0); in main()
[all …]
H A Dput_unsigned_long_long.pass.cpp194 ios.width(15); in main()
207 ios.width(15); in main()
220 ios.width(15); in main()
226 assert(ios.width() == 0); in main()
234 ios.width(15); in main()
247 ios.width(15); in main()
260 ios.width(15); in main()
266 assert(ios.width() == 0); in main()
274 ios.width(10); in main()
279 assert(ios.width() == 0); in main()
[all …]
H A Dput_unsigned_long.pass.cpp194 ios.width(15); in main()
207 ios.width(15); in main()
220 ios.width(15); in main()
226 assert(ios.width() == 0); in main()
234 ios.width(15); in main()
247 ios.width(15); in main()
260 ios.width(15); in main()
266 assert(ios.width() == 0); in main()
274 ios.width(10); in main()
279 assert(ios.width() == 0); in main()
[all …]
H A Dput_long.pass.cpp194 ios.width(15); in main()
207 ios.width(15); in main()
220 ios.width(15); in main()
226 assert(ios.width() == 0); in main()
234 ios.width(15); in main()
247 ios.width(15); in main()
260 ios.width(15); in main()
266 assert(ios.width() == 0); in main()
274 ios.width(10); in main()
279 assert(ios.width() == 0); in main()
[all …]
/llvm-project/lldb/examples/customization/bin-utils/
H A Dbinutils.py4 def binary(n, width=None): argument
11 if width and width <= 0:
12 width = None
17 if width:
18 for i in range(width - len(l)):
25 def twos_complement(n, width): argument
30 val = 2 ** (width - 1)
35 return binary(n, width)
58 def positions(width): argument
62 return ["{0:2}".format(i)[-2:] for i in reversed(range(width))]
[all …]
/llvm-project/libcxx/test/std/numerics/complex.number/complex.ops/
H A Dstream_output.pass.cpp49 for (int width = 0; width <= 5; ++width) { in main() local
52 os.width(width); in main()
55 assert(os.width() == 0); in main()
61 os.width(6); in main()
64 assert(os.width() == 0); in main()
70 os.width(7); in main()
73 assert(os.width() == 0); in main()
79 os.width(8); in main()
82 assert(os.width() == 0); in main()
90 os.width(8); in main()
[all …]
/llvm-project/llvm/test/CodeGen/AArch64/GlobalISel/
H A Dprelegalizercombiner-bzero.mir21 ; Always use G_BZERO when the memset width is unknown on Darwin.
27 ; DARWIN-NEXT: %width:_(s64) = COPY $x1
28 ; DARWIN-NEXT: G_BZERO %ptr(p0), %width(s64), 0 :: (store (s32))
36 ; UNKNOWN-NEXT: %width:_(s64) = COPY $x1
37 ; UNKNOWN-NEXT: G_MEMSET %ptr(p0), %zero(s8), %width(s64), 0 :: (store (s32))
41 %width:_(s64) = COPY $x1
42 G_MEMSET %ptr(p0), %zero(s8), %width(s64), 0 :: (store (s32))
55 ; DARWIN-NEXT: %width:_(s64) = COPY $x1
56 ; DARWIN-NEXT: G_BZERO %ptr(p0), %width(s64), 1 :: (store (s32))
64 ; UNKNOWN-NEXT: %width:_(s64) = COPY $x1
[all …]
H A Dlegalize-ubfx.mir12 ; CHECK: %width:_(s32) = G_CONSTANT i32 2
13 ; CHECK: %ubfx:_(s32) = G_UBFX %copy, %lsb(s32), %width
17 %width:_(s32) = G_CONSTANT i32 2
18 %ubfx:_(s32) = G_UBFX %copy(s32), %lsb, %width
29 ; CHECK: %width:_(s64) = G_CONSTANT i64 2
30 ; CHECK: %ubfx:_(s64) = G_UBFX %copy, %lsb(s64), %width
34 %width:_(s64) = G_CONSTANT i64 2
35 %ubfx:_(s64) = G_UBFX %copy(s64), %lsb, %width
H A Dlegalize-sbfx.mir12 ; CHECK: %width:_(s32) = G_CONSTANT i32 2
13 ; CHECK: %sbfx:_(s32) = G_SBFX %copy, %lsb(s32), %width
17 %width:_(s32) = G_CONSTANT i32 2
18 %sbfx:_(s32) = G_SBFX %copy(s32), %lsb, %width
29 ; CHECK: %width:_(s64) = G_CONSTANT i64 2
30 ; CHECK: %sbfx:_(s64) = G_SBFX %copy, %lsb(s64), %width
34 %width:_(s64) = G_CONSTANT i64 2
35 %sbfx:_(s64) = G_SBFX %copy(s64), %lsb, %width
H A Dlegalize-bzero.mir16 ; CHECK: %width:_(s64) = COPY $x1
19 ; CHECK: $x1 = COPY %width(s64)
24 %width:_(s64) = COPY $x1
25 G_BZERO %ptr(p0), %width(s64), 0 :: (store (s32))
38 ; CHECK: %width:_(s64) = COPY $x1
40 ; CHECK: $x1 = COPY %width(s64)
43 %width:_(s64) = COPY $x1
44 G_BZERO %ptr(p0), %width(s64), 1 :: (store (s32))
/llvm-project/libc/fuzzing/stdio/
H A Dprintf_float_conv_fuzz.cpp48 inline TestResult test_vals(const char *fmt, F num, int prec, int width) { in test_vals() argument
50 int buffer_size = LIBC_NAMESPACE::snprintf(nullptr, 0, fmt, width, prec, num); in test_vals()
62 test_result = LIBC_NAMESPACE::snprintf(test_buff, buffer_size + 1, fmt, width, in test_vals()
65 mpfr_snprintf(reference_buff, buffer_size + 1, fmt, width, prec, num); in test_vals()
91 int width = 0; in LLVMFuzzerTestOneInput() local
102 } else if (cur < sizeof(raw_num) + sizeof(prec) + sizeof(width)) { in LLVMFuzzerTestOneInput()
103 width = (width << 8) + data[cur]; in LLVMFuzzerTestOneInput()
115 if (width > MAX_SIZE) { in LLVMFuzzerTestOneInput()
116 width = MAX_SIZE; in LLVMFuzzerTestOneInput()
117 } else if (width < -MAX_SIZE) { in LLVMFuzzerTestOneInput()
[all …]
H A Dprintf_fixed_conv_fuzz.cpp50 int width) { in test_vals() argument
69 int buffer_size = LIBC_NAMESPACE::snprintf(nullptr, 0, fmt, width, prec, num); in test_vals()
80 test_result = LIBC_NAMESPACE::snprintf(test_buff, buffer_size + 1, fmt, width, in test_vals()
85 width, prec, ld_num); in test_vals()
104 int width = 0; in LLVMFuzzerTestOneInput() local
115 } else if (cur < sizeof(raw_num) + sizeof(prec) + sizeof(width)) { in LLVMFuzzerTestOneInput()
116 width = (width << 8) + data[cur]; in LLVMFuzzerTestOneInput()
120 width = clamp(width, MAX_SIZE); in LLVMFuzzerTestOneInput()
124 result = test_vals<long accum>("%*.*lk", raw_num, prec, width); in LLVMFuzzerTestOneInput()
128 result = test_vals<unsigned long accum>("%*.*lK", raw_num, prec, width); in LLVMFuzzerTestOneInput()
/llvm-project/llvm/test/CodeGen/NVPTX/
H A Dtexsurf-queries.ll12 declare i32 @llvm.nvvm.txq.width(i64)
14 declare i32 @llvm.nvvm.suq.width(i64)
27 ; CHECK-NEXT: txq.width.b32 %r1, [%rd1];
30 %width = tail call i32 @llvm.nvvm.txq.width(i64 %texHandle)
31 ret i32 %width
41 ; CHECK-NEXT: txq.width.b32 %r1, [tex0];
45 %width = tail call i32 @llvm.nvvm.txq.width(i64 %texHandle)
46 ret i32 %width
[all...]
/llvm-project/libclc/generic/lib/math/
H A Dfdim.inc30 #define __CLC_FDIM_VEC(width) \
31 _CLC_OVERLOAD _CLC_DEF float##width fdim(float##width x, float##width y) { \
35 int##width n = ~((x == x) & (y == y)) & QNANBITPATT_SP32; \
38 int##width r = (x > y) & as_int##width(x - y); \
39 return as_float##width(n | r); \
57 #define __CLC_FDIM_VEC(width) \
58 _CLC_OVERLOAD _CLC_DEF double##width fdi
[all...]
/llvm-project/mlir/lib/Interfaces/
H A DInferIntRangeInterface.cpp37 // Non-integer types have their bounds stored in width 0 `APInt`s. in getStorageBitwidth()
58 unsigned int width = smin.getBitWidth(); in fromSigned()
64 umin = APInt::getMinValue(width); in fromSigned()
65 umax = APInt::getMaxValue(width); in fromSigned()
72 unsigned int width = umin.getBitWidth(); in fromUnsigned()
78 smin = APInt::getSignedMinValue(width); in fromUnsigned()
79 smax = APInt::getSignedMaxValue(width); in fromUnsigned()
119 // Note: we need to exclude the trivially-equal width 0 values here. in getConstantValue()
133 unsigned width = ConstantIntRanges::getStorageBitwidth(value.getType()); in getMaxRange()
134 if (width in getMaxRange()
56 unsigned int width = smin.getBitWidth(); fromSigned() local
70 unsigned int width = umin.getBitWidth(); fromUnsigned() local
131 unsigned width = ConstantIntRanges::getStorageBitwidth(value.getType()); getMaxRange() local
[all...]
/llvm-project/llvm/utils/
H A Dshuffle_fuzz.py68 (width, element_type) = random.choice(
73 (width, element_type) = random.choice(
79 width = random.choice([2, 4, 8, 16, 32, 64])
91 shuffle_range = (2 * width) if args.blends else width
137 for _ in itertools.repeat(None, width)
149 % (args.seed, width, element_type)
161 [int(j % element_modulus) for j in range(i * width + 1, (i + 1) * width + 1)]
169 (results[i] if j < width else results[i + 1])[j % width]
199 subst = {"N": width, "T": element_type, "IT": integral_element_type}
/llvm-project/libcxx/test/std/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/
H A Dput_long_double_fr_FR.pass.cpp146 ios.width(20); in main()
152 assert(ios.width() == 0); in main()
157 ios.width(20); in main()
163 assert(ios.width() == 0); in main()
168 ios.width(20); in main()
174 assert(ios.width() == 0); in main()
243 ios.width(20); in main()
249 assert(ios.width() == 0); in main()
254 ios.width(20); in main()
260 assert(ios.width() == 0); in main()
[all …]
H A Dput_long_double_ru_RU.pass.cpp140 ios.width(15); in main()
146 assert(ios.width() == 0); in main()
151 ios.width(15); in main()
157 assert(ios.width() == 0); in main()
162 ios.width(15); in main()
168 assert(ios.width() == 0); in main()
237 ios.width(20); in main()
243 assert(ios.width() == 0); in main()
248 ios.width(20); in main()
254 assert(ios.width() == 0); in main()
[all …]
/llvm-project/flang/runtime/
H A Dedit-output.cpp69 int editWidth{edit.width.value_or(0)}; in EditBOZOutput()
158 int editWidth{edit.width.value_or(0)}; in EditIntegerOutput()
231 const DataEdit &edit, std::size_t length, std::size_t width) { in EmitPrefix() argument
244 } else if (width > length) { in EmitPrefix()
245 return EmitRepeated(io_, ' ', width - length); in EmitPrefix()
296 int editWidth{edit.width.value_or(0)}; // 'w' field in EditEorDOutput()
305 if (editWidth == 0) { // "the processor selects the field width" in EditEorDOutput()
403 int width{editWidth > 0 ? editWidth : totalLength}; in EditEorDOutput() local
404 if (totalLength > width || !exponent) { in EditEorDOutput()
405 return EmitRepeated(io_, '*', width); in EditEorDOutput()
545 int width{editWidth > 0 || trailingBlanks_ ? editWidth : totalLength}; EditFOutput() local
740 int width{editWidth > 0 ? editWidth : totalLength}; EditEXOutput() local
831 int width{edit.width.value_or(len)}; EditLogicalOutput() local
905 int width{edit.width.value_or(len)}; EditCharacterOutput() local
[all...]
/llvm-project/llvm/test/Transforms/Inline/
H A Dinline-min-legal-vector-width.ll3 define internal void @innerSmall() "min-legal-vector-width"="128" {
7 define internal void @innerLarge() "min-legal-vector-width"="512" {
23 define void @outerConflictingAttributeSmall() "min-legal-vector-width"="128" {
28 define void @outerConflictingAttributeLarge() "min-legal-vector-width"="512" {
34 ; vector width requirements are unknown.
35 define void @outerAttribute() "min-legal-vector-width"="128" {
44 ; CHECK: attributes #0 = { "min-legal-vector-width"="512" }
/llvm-project/clang/test/Analysis/exploded-graph-rewriter/
H A Dprogram_points.dot4 // CHECK-SAME: <table border="0" align="left" width="0">
6 // CHECK-SAME: <td width="0">
8 // CHECK-SAME: <td align="left" width="0">
16 // CHECK-SAME: <td width="0">
18 // CHECK-SAME: <td align="left" width="0">
55 // CHECK-SAME: <table border="0" align="left" width="0">
57 // CHECK-SAME: <td align="left" width="0">
60 // CHECK-SAME: <td align="left" width="0">
70 // CHECK-SAME: <td width="0">
130 // CHECK-SAME: <table border="0" align="left" width="0">
[all …]

12345678910>>...68