Home
last modified time | relevance | path

Searched refs:same (Results 1 – 25 of 2607) sorted by relevance

12345678910>>...105

/llvm-project-15.0.7/clang/test/CXX/dcl.decl/dcl.decomp/
H A Dp4.cpp4 template<typename T> struct same<T, T> { ~same(); }; struct
84 same<decltype(m), int>(); in test()
98 same<decltype(i), int>(); in e()
99 same<decltype(r), int&>(); in e()
111 same<decltype(i), int>(); in f()
112 same<decltype(r), int&>(); in f()
125 same<decltype(r), int&>(); in g()
139 same<decltype(r), int&>(); in h()
155 same<decltype(i), int>(); in mut()
156 same<decltype(ci), int>(); in mut()
[all …]
/llvm-project-15.0.7/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/
H A Dp2-1z.cpp3 template<typename T, typename U> constexpr bool same = false; variable
4 template<typename T> constexpr bool same<T, T> = true;
10 static_assert(same<decltype(a()), void>);
18 static_assert(same<decltype(b()), double>);
39 static_assert(same<decltype(d<0>()), int>);
40 static_assert(same<decltype(d<1>()), const char *>);
41 static_assert(same<decltype(d<2>()), double>);
42 static_assert(same<decltype(d<3>()), void>);
47 static_assert(same<decltype(e), int>);
H A Dp3.cpp36 template<typename T, typename U> struct same;
37 template<typename T> struct same<T, T> {}; struct
47 same<__typeof(x), int> xHasTypeInt; in p3example()
48 same<__typeof(v), const int*> vHasTypeConstIntPtr; in p3example()
49 same<__typeof(u), const int> uHasTypeConstInt; in p3example()
50 same<__typeof(y), double> yHasTypeDouble; in p3example()
/llvm-project-15.0.7/clang/test/CXX/over/over.match/over.match.funcs/over.match.oper/
H A Dp8-2a.cpp23 constexpr bool same(A, A) { return true; } in same() function
24 constexpr bool same(B, B) { return true; } in same() function
27 constexpr bool same(Op<T, U> x, Op<T, U> y) { in same() function
28 return same(x.l, y.l) && __builtin_strcmp(x.op, y.op) == 0 && same(x.r, y.r); in same()
34 static_assert(same(x < y, (x <=> y) < 0)); in f()
35 static_assert(same(x <= y, (x <=> y) <= 0)); in f()
36 static_assert(same(x > y, (x <=> y) > 0)); in f()
37 static_assert(same(x >= y, (x <=> y) >= 0)); in f()
43 static_assert(same(x < y, 0 < (y <=> x))); in g()
44 static_assert(same(x <= y, 0 <= (y <=> x))); in g()
[all …]
/llvm-project-15.0.7/clang/test/Modules/
H A Dresolution-change.m4 … -fmodules-cache-path=%t -I %S/Inputs/modules-with-same-name/DependsOnA -I %S/Inputs/modules-with-
6 // Use the PCH with the same header search options; should be fine
7 … -fmodules-cache-path=%t -I %S/Inputs/modules-with-same-name/DependsOnA -I %S/Inputs/modules-with-
10 … -fmodules-cache-path=%t -I %S/Inputs/modules-with-same-name/DependsOnA -I %S/Inputs/modules-with-
17 … -fimplicit-module-maps -fmodules-cache-path=%t -I %S/Inputs/modules-with-same-name/DependsOnA -in…
21 … -fmodules-cache-path=%t -I %S/Inputs/modules-with-same-name/DependsOnA -I %S/Inputs/modules-with-
22 …n directory '{{.*Inputs.modules-with-same-name.path1.A}}' but now resides in directory '{{.*Inputs…
24 … -fmodules-cache-path=%t -I %S/Inputs/modules-with-same-name/DependsOnA -I %S/Inputs/modules-with-
H A Dmodules-with-same-name.m4 …es-ignore-macro=DIRECT -fsyntax-only %s -verify -I %S/Inputs/modules-with-same-name/path1/A -DDIRE…
7 …es-ignore-macro=DIRECT -fsyntax-only %s -verify -I %S/Inputs/modules-with-same-name/path2/A -DDIRE…
13 …-fsyntax-only %s -verify -I %S/Inputs/modules-with-same-name/DependsOnA -I %S/Inputs/modules-with-
19 …-fsyntax-only %s -verify -I %S/Inputs/modules-with-same-name/DependsOnA -I %S/Inputs/modules-with-
/llvm-project-15.0.7/clang/test/CXX/over/over.match/over.match.funcs/over.match.class.deduct/
H A Dp3.cpp33 template<typename T, typename U> constexpr bool same = false; variable
34 template<typename T> constexpr bool same<T, T> = true;
36 static_assert(same<decltype(a2), A<int>>);
37 static_assert(same<decltype(a3), A<int>>);
38 static_assert(same<decltype(a4), A<int>>);
39 static_assert(same<decltype(a6), A<int>>);
40 static_assert(same<decltype(b), B<char*>>);
/llvm-project-15.0.7/mlir/include/mlir/Dialect/SPIRV/IR/
H A DSPIRVAtomicOps.td55 accesses within Scope to the same location:
100 accesses within Scope to the same location:
216 accesses within Scope to the same location:
274 accesses within Scope to the same location:
329 accesses within Scope to the same location:
370 accesses within Scope to the same location:
410 accesses within Scope to the same location:
449 accesses within Scope to the same location:
491 accesses within Scope to the same location:
532 accesses within Scope to the same location:
[all …]
H A DSPIRVLogicalOps.td69 the same number of components as Result Type.
103 the same number of components as Result Type.
137 the same number of components as Result Type.
171 the same number of components as Result Type.
205 the same number of components as Result Type.
530 same number of components as Result Type.
563 same number of components as Result Type.
778 same number of components as Result Type.
780 y must have the same type as x.
1136 same number of components as Result Type.
[all …]
H A DSPIRVArithmeticOps.td23 // Operands type same as result type.
42 // Operand type same as result type.
55 The types of Operand 1 and Operand 2 both must be the same as Result
84 The types of Operand 1 and Operand 2 both must be the same as Result
185 The type of Operand must be the same as Result Type.
283 Type. They must have the same component width as Result Type.
323 Type. They must have the same component width as Result Type.
363 Type. They must have the same component width as Result Type.
454 Type. They must have the same component width as Result Type.
492 Type. They must have the same component width as Result Type.
[all …]
H A DSPIRVGLOps.td146 with the same component width. Results are computed per component.
404 Result Type and the type of x must be the same type. Results are
561 Result Type and the type of all operands must be the same
591 components with the same component width. Results are computed per
621 components with the same component width. Results are computed per
682 components with the same component width. Results are computed per
712 components with the same component width. Results are computed per
806 with the same component width. Results are computed per component.
1097 have the same number of components.
1156 The number of components in x and exp must be the same.
[all …]
/llvm-project-15.0.7/llvm/test/tools/llvm-profdata/
H A Dsame-filename.test4 RUN: cp %S/Inputs/same-name-1.proftext %t.0.proftext
7 RUN: llvm-profdata show -counts -all-functions %S/Inputs/same-name-2.proftext -o %t_show_1
9 RUN: llvm-profdata merge -o %t.1.profdata %S/Inputs/same-name-1.proftext
16 CHECK: llvm-profdata{{.*}} show: Input file name cannot be the same as the output file name!
19 RUN: cp %S/Inputs/same-name-3.proftext %t.3.proftext
22 RUN: llvm-profdata show --sample -counts -all-functions %S/Inputs/same-name-4.proftext -o %t_show_4
24 RUN: llvm-profdata merge --sample -o %t.5.profdata %S/Inputs/same-name-3.proftext
/llvm-project-15.0.7/mlir/test/Dialect/Arithmetic/
H A Dinvalid.mlir4 …// expected-error @+1 {{'arith.index_cast' op requires the same shape for all operands and results…
12 …// expected-error @+1 {{'arith.index_cast' op requires the same shape for all operands and results…
128 // Comparison are defined for arguments of the same type.
259 // expected-error@+1 {{op requires all operands to have the same type}}
266 // expected-error@+1 {{op requires all operands to have the same type}}
352 // expected-error@+1 {{op requires the same shape for all operands and results}}
424 // expected-error@+1 {{op requires the same shape for all operands and results}}
576 // expected-error@+1 {{'arith.extui' op requires the same shape for all operands and results}}
584 // expected-error@+1 {{'arith.extsi' op requires the same shape for all operands and results}}
592 // expected-error@+1 {{'arith.extf' op requires the same shape for all operands and results}}
[all …]
/llvm-project-15.0.7/llvm/test/Transforms/NewGVN/
H A Dcondprop-xfail.ll66 br i1 %cmp, label %same, label %different
68 same:
82 br i1 %cmp, label %same, label %different
84 same:
97 br i1 %cmp, label %same, label %different
99 same:
113 br i1 %cmp, label %same, label %different
115 same:
/llvm-project-15.0.7/clang/tools/scan-build-py/tests/unit/
H A Dtest_compilation.py89 def same(expected): function
95 same([])
96 same(['-I', '/opt/me/include', '-DNDEBUG', '-ULIMITS'])
97 same(['-O', '-O2'])
98 same(['-m32', '-mmms'])
99 same(['-Wall', '-Wno-unused', '-g', '-funroll-loops'])
/llvm-project-15.0.7/mlir/include/mlir/Dialect/Math/IR/
H A DMathOps.td77 the same type.
163 result of the same type. It has no standard attributes.
218 result of the same type. It has no standard attributes.
244 result of the same type. It has no standard attributes.
330 the same type. It has no standard attributes.
492 the same type.
514 the same type.
536 result of the same type.
560 the same type.
587 must have the same type.
[all …]
/llvm-project-15.0.7/llvm/test/tools/llvm-objcopy/ELF/
H A Dupdate-section.test5 # RUN: echo -n 11112222 > %t.same
11 ## Update the segment section with a regular chunk of data the same size as the section.
12 # RUN: llvm-objcopy --update-section=.in_segment=%t.same %t %t.same.o
13 # RUN: llvm-readobj --section-headers --section-data --program-headers %t.same.o | \
17 ## back (from the second `--update-section`), then it should be the exact same as the
20 # RUN: llvm-objcopy --update-section=.in_segment=%t.same --update-section=.in_segment=%t.zeros %t %…
25 ## of any subsequent sections in the same segment as this.
48 # RUN: not llvm-objcopy --update-section=.nosection=%t.same %t %t-err1 2>&1 | \
52 # RUN: not llvm-objcopy --update-section=.nobits_type=%t.same %t %t-err2 2>&1 | \
54 # RUN: not llvm-objcopy --update-section=.null_type=%t.same %t %t-err2 2>&1 | \
[all …]
H A Drename-section-duplicate-names.test1 ## When multiple sections have the same name, and --rename-section is specified,
3 ## does the same.
6 ## multiple sections with the same name. This has the benefit of showing that
10 ## First make two sections with the same name...
/llvm-project-15.0.7/llvm/utils/lit/tests/Inputs/shtest-shell/
H A Ddiff-r.txt7 # Create same files in both of the dirs.
11 # Create same subdirectories with same contents.
18 # Create empty subdirectories with same names.
/llvm-project-15.0.7/llvm/test/DebugInfo/PDB/
H A Dobj-globalhash.test14 ; char**. Both the local and global hashes should be the same, since the only
21 ; int**. Same as char**, both the local and global hashes should be the same.
28 ; same TypeIndex in both streams. Same global hash, since they represent the
29 ; same record.
37 ; global hash, since the global hash of all referenced types is the same in
49 ; int** (char**, int***). For the same logic as described in previous records,
50 ; these two records have the same global hash but different local hashes.
/llvm-project-15.0.7/lld/test/MachO/
H A Dlto-common-symbol-coalescing.ll9 ; RUN: opt -module-summary %t/same-size.ll -o %t/same-size.o
11 ; RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin %t/same-size.s -o %t/same-size-asm.o
27 ; RUN: %lld -dylib %t/test.o %t/same-size.o -order_file %t/order -o %t/test
30 ; RUN: %lld -dylib %t/same-size.o %t/test.o -order_file %t/order -o %t/test
42 ; RUN: %lld -dylib %t/test.o %t/same-size-asm.o -order_file %t/order -o %t/test
44 ; RUN: %lld -dylib %t/same-size-asm.o %t/test.o -order_file %t/order -o %t/test
70 ;--- same-size.ll
81 ;--- same-size.s
/llvm-project-15.0.7/llvm/test/tools/llvm-ar/
H A Dreplace-update.test70 ## Replace same member with newer files:
71 # RUN: llvm-ar rcuU %t/same.a %t/1.o %t/2.o %t/3.o
72 # RUN: llvm-ar ruU %t/same.a %t/new/1.o %t/new/other/1.o
73 # RUN: llvm-ar t %t/same.a \
81 # RUN: llvm-nm --print-armap %t/same.a \
98 ## Replace same member with an older file and a newer file:
99 # RUN: llvm-ar rcuU %t/old-new-same.a %t/new/1.o %t/2.o %t/3.o
100 # RUN: llvm-ar ruU %t/old-new-same.a %t/1.o %t/new/other/1.o
101 # RUN: llvm-ar t %t/old-new-same.a \
104 # RUN: llvm-nm --print-armap %t/same.a \
H A Dquick-append.test33 ## Append same member:
34 # RUN: llvm-ar qc %t/same.a %t/1.o %t/1.o
35 # RUN: llvm-ar t %t/same.a \
41 # RUN: llvm-nm --print-armap %t/same.a \
71 # RUN: llvm-ar qcT %t/thin-same.a %t/1.o %t/1.o
72 # RUN: llvm-ar t %t/thin-same.a \
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/readability/
H A Dredundant-preprocessor.rst10 same condition. For example:
30 * `#ifndef` inside an `#ifdef` with the same condition:
40 * `#ifdef` inside an `#ifndef` with the same condition:
50 * `#if` .. `#endif` pairs which are nested inside an outer pair with the same
/llvm-project-15.0.7/llvm/test/MC/Hexagon/
H A Dc4_newval.s7 # CHECK: error: register `P0' used with `.new' but not validly modified in the same packet
12 # CHECK: error: register `P0' used with `.new' but not validly modified in the same packet
18 # CHECK: error: register `P0' used with `.new' but not validly modified in the same packet

12345678910>>...105