Home
last modified time | relevance | path

Searched refs:two (Results 1 – 25 of 2168) sorted by relevance

12345678910>>...87

/llvm-project-15.0.7/clang/tools/scan-build-py/tests/functional/src/build/
H A DMakefile14 $(OBJDIR)/clean-two.o: $(SRCDIR)/clean-two.c
15 $(CC) $(CFLAGS) -c -o $@ $(SRCDIR)/clean-two.c
20 $(OBJDIR)/emit-two.o: $(SRCDIR)/emit-two.c
21 $(CC) $(CFLAGS) -c -o $@ $(SRCDIR)/emit-two.c
26 $(OBJDIR)/broken-two.o: $(SRCDIR)/broken-two.c
27 $(CC) $(CFLAGS) -c -o $@ $(SRCDIR)/broken-two.c
29 …(OBJDIR)/main.o $(OBJDIR)/clean-one.o $(OBJDIR)/clean-two.o $(OBJDIR)/emit-one.o $(OBJDIR)/emit-tw…
30 …(OBJDIR)/main.o $(OBJDIR)/clean-one.o $(OBJDIR)/clean-two.o $(OBJDIR)/emit-one.o $(OBJDIR)/emit-tw…
34 build_clean: $(OBJDIR)/main.o $(OBJDIR)/clean-one.o $(OBJDIR)/clean-two.o
38 …(SRCDIR)/main.c $(SRCDIR)/clean-one.c $(SRCDIR)/clean-two.c $(SRCDIR)/emit-one.c $(SRCDIR)/emit-tw…
[all …]
/llvm-project-15.0.7/libcxxabi/test/
H A Dtest_vector1.pass.cpp79 void *one, *two, *three; in test_empty() local
87 __cxxabiv1::__cxa_vec_delete2( two, 40, 0, NULL, my_dealloc2 ); in test_empty()
96 __cxxabiv1::__cxa_vec_delete2( two, 40, 0, my_destruct, my_dealloc2 ); in test_empty()
105 __cxxabiv1::__cxa_vec_delete2( two, 40, 8, NULL, my_dealloc2 ); in test_empty()
123 void *one, *two, *three; in test_counted() local
165 void *one, *two, *three; in test_exception_in_constructor() local
172 one = two = three = NULL; in test_exception_in_constructor()
197 one = two = three = NULL; in test_exception_in_constructor()
222 void *one, *two, *three; in test_exception_in_destructor() local
223 one = two = three = NULL; in test_exception_in_destructor()
[all …]
/llvm-project-15.0.7/llvm/test/MC/AMDGPU/
H A Dvop_dpp_expr.s5 two = 2 define
8 v_mov_b32 v0, v0 quad_perm:[0+zero,zero-2+two*two,1/one,1]
11 v_mov_b32 v0, v0 row_shl:two-1
17 v_mov_b32 v0, v0 row_ror:0x6*two
20 v_mov_b32 v0, v0 wave_shl:two/2
23 v_mov_b32 v0, v0 wave_rol:two-one
29 v_mov_b32 v0, v0 wave_ror:two*2-3
32 v_mov_b32 v0, v0 row_bcast:150/(two*2+zero/one+two*3)
35 v_mov_b32 v0, v0 quad_perm:[one,two+one,zero,2-one] row_mask:2*5 bank_mask:0x2-one bound_ctrl:1-1
/llvm-project-15.0.7/mlir/unittests/Analysis/Presburger/
H A DMPIntTest.cpp40 EXPECT_EQ(five * two, ten); in TYPED_TEST()
41 EXPECT_EQ(five / two, two); in TYPED_TEST()
42 EXPECT_EQ(five % two, two / two); in TYPED_TEST()
57 x *= two; in TYPED_TEST()
61 x -= two * 10; in TYPED_TEST()
63 x *= 2 * two; in TYPED_TEST()
65 x /= two / -2; in TYPED_TEST()
85 EXPECT_EQ(5 / two, 2); in TYPED_TEST()
87 EXPECT_EQ(2 % two, 0); in TYPED_TEST()
88 EXPECT_EQ(2 - two, 0); in TYPED_TEST()
[all …]
/llvm-project-15.0.7/libcxx/test/std/numerics/numeric.ops/numeric.ops.midpoint/
H A Dmidpoint.integer.pass.cpp27 constexpr T two{2}; in signed_test() local
35 static_assert(std::midpoint(one, three) == two, ""); in signed_test()
39 assert(std::midpoint(zero, two) == one); in signed_test()
40 assert(std::midpoint(two, zero) == one); in signed_test()
41 assert(std::midpoint(two, two) == two); in signed_test()
43 assert(std::midpoint(one, four) == two); in signed_test()
76 constexpr T two{2}; in unsigned_test() local
89 assert(std::midpoint(zero, two) == one); in unsigned_test()
90 assert(std::midpoint(two, zero) == one); in unsigned_test()
91 assert(std::midpoint(two, two) == two); in unsigned_test()
[all …]
/llvm-project-15.0.7/clang/test/Preprocessor/
H A Dmacro_fn.c6 #define two(x, y) 0 /* expected-note 4 {{defined here}} */ macro
20 two() /* expected-error {{too few arguments provided to function-like macro invocation}} */
21 two(a) /* expected-error {{too few arguments provided to function-like macro invocation}} */
22 two(a,b)
23 two(a, ) /* expected-warning {{empty macro arguments are a C99 feature}} */
24 two(a,b,c) /* expected-error {{too many arguments provided to function-like macro invocation}} */
25 two(
30 two(,) /* expected-warning 2 {{empty macro arguments are a C99 feature}} */
/llvm-project-15.0.7/llvm/test/CodeGen/AArch64/GlobalISel/
H A Dcombine-and-or-disjoint-mask.mir19 ; CHECK-NEXT: %and:_(s32) = G_AND %x, %two
24 %two:_(s32) = G_CONSTANT i32 2
26 %and:_(s32) = G_AND %or, %two
47 %two:_(s32) = G_CONSTANT i32 2
49 %and:_(s32) = G_AND %two, %or
72 %two:_(s32) = G_CONSTANT i32 2
74 %and:_(s32) = G_AND %or, %two
97 %two:_(s32) = G_CONSTANT i32 2
99 %and:_(s32) = G_AND %two, %or
125 %two:_(s32) = G_CONSTANT i32 2
[all …]
/llvm-project-15.0.7/clang/test/CXX/over/over.over/
H A Dp2-resolve-single-template-id.cpp30 void two() { } // expected-note 2 {{possible target for call}} in two() function
31 void two(int) { } // expected-note 2 {{possible target for call}} in two() function
38two; // expected-error{{reference to overloaded function could not be resolved; did you mean to ca… in check()
61 void two() { }; //expected-note 5{{candidate}} in two() function
62 void two(int) { }; //expected-note 5{{candidate}} in two() function
84 …{ static_cast<void>(two); } // expected-error {{address of overloaded function 'two' cannot be sta… in main()
85 …{ (void)(two); } // expected-error {{address of overloaded function 'two' cannot be cast to type '… in main()
97 { (void) reinterpret_cast<void (*)(int)>(two); } //expected-error {{reinterpret_cast}} in main()
98 { (void) static_cast<void (*)(int)>(two); } //ok in main()
100 { (void) reinterpret_cast<int>(two); } //expected-error {{reinterpret_cast}} in main()
[all …]
/llvm-project-15.0.7/clang/bindings/python/tests/cindex/
H A Dtest_location.py28 two = get_cursor(tu, 'two')
31 self.assertIsNotNone(two)
34 self.assert_location(two.location,line=2,column=5,offset=13)
39 two = get_cursor(tu, 'two')
42 self.assertIsNotNone(two)
45 self.assert_location(two.location,line=3,column=5,offset=14)
50 two = get_cursor(tu, 'two')
53 self.assert_location(two.location,line=2,column=5,offset=14)
85 two = get_cursor(tu, 'two')
92 self.assert_location(two.extent.end,line=2,column=8,offset=16)
[all …]
/llvm-project-15.0.7/clang/tools/scan-build-py/tests/functional/src/compilation_database/
H A Dbuild_broken.json.in16 "command": "g++ -c -o broken-two.o broken-two.c -Wall -DDEBUG -Dvariable=value",
17 "file": "${path}/broken-two.c"
28 "command": "g++ -c -o clean-two.o clean-two.c -Wall -DDEBUG -Dvariable=value -I ./include",
29 "file": "${path}/clean-two.c"
40 "command": "g++ -c -o emit-two.o emit-two.c -Wall -DDEBUG -Dvariable=value",
41 "file": "${path}/emit-two.c"
H A Dbuild_regular.json.in16 "command": "g++ -c -o clean-two.o clean-two.c -Wall -DDEBUG -Dvariable=value -I ./include",
17 "file": "${path}/clean-two.c"
28 "command": "g++ -c -o emit-two.o emit-two.c -Wall -DDEBUG -Dvariable=value",
29 "file": "${path}/emit-two.c"
/llvm-project-15.0.7/llvm/test/Transforms/InstCombine/
H A Domit-urem-of-power-of-two-or-zero-when-comparing-with-zero.ll6 ; Iff C is not a power of two (those should not get to here though),
20 %t0 = and i32 %x, 128 ; clearly a power-of-two or zero
21 %t1 = urem i32 %t0, 6 ; '6' is clearly not a power of two
32 %t0 = and i32 %x, 128 ; clearly a power-of-two or zero
33 %t1 = or i32 %y, 6 ; two bits set, clearly not a power of two
47 %t0 = and i32 %x, 1 ; clearly a power-of-two or zero
49 %t2 = urem i32 %t1, 3 ; '3' is clearly not a power of two
62 %t0 = and i32 %x, 2 ; clearly a power-of-two or zero
64 %t2 = urem i32 %t1, 3 ; '3' is clearly not a power of two
147 %t0 = and i32 %x, 3 ; up to two bits set, not power-of-two
[all …]
/llvm-project-15.0.7/clang/test/Sema/
H A Dwarn-int-in-bool-context.c22 two, enumerator
52 if (n || two) in test()
56 if (n == one || two) in test()
60 if (r && two) in test()
64 if (two && r) in test()
68 if (n == one && two) in test()
H A Dmissing-field-initializers.c31 struct Two two; member
39 { .two = { 1.0f, 2.0f, 3.0f } }
45 { { .two = { 1.0f, 2.0f, 3.0f } } },
46 { { .two = { 1.0f, 2.0f } } } // expected-warning {{missing field 'e' initializer}}
H A Dinline-asm-validate-aarch64.c45 void read_write_modifier0(int one, int two) { in read_write_modifier0() argument
46 long wide_two = two; in read_write_modifier0()
51 void read_write_modifier1(int one, int two) { in read_write_modifier1() argument
52 long wide_two = two; in read_write_modifier1()
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dobjc-cstyle-args-in-methods.m4 - (id)test:(id)one, id two;
5 - (id)bad:(id)one, id two, double three;
9 - (id)test:(id )one, id two {return two; }
10 - (id)bad:(id)one, id two, double three { return two; }
/llvm-project-15.0.7/clang/test/SemaTemplate/
H A Dresolve-single-template-id.cpp8 void two() { } // expected-note 4{{possible target for call}} in two() function
9 void two(int) { } // expected-note 4{{possible target for call}} in two() function
32two; // expected-error {{reference to overloaded function could not be resolved; did you m… in main()
42 …*two; //expected-error {{reference to overloaded function could not be resolved; did you mean to … in main()
77two < two; //expected-error 2 {{reference to overloaded function could not be resolved; did you me… in main()
/llvm-project-15.0.7/llvm/test/Transforms/SimplifyCFG/
H A Drangereduce.ll25 i32 101, label %two
35 two:
55 ; CHECK: two:
72 two:
103 two:
140 two:
177 two:
211 two:
244 two:
278 two:
[all …]
/llvm-project-15.0.7/llvm/test/Transforms/LoopDistribute/
H A Dbounds-expansion-bug.ll27 br i1 %cond, label %one, label %two
30 two:
43 ; %a = phi i32* [ %a1, %one ], [ %a2, %two ]
44 ; %c = phi i32* [ %c1, %one ], [ %c2, %two ]
50 ; join: ; preds = %two, %one
51 ; %a = phi i32* [ %a1, %one ], [ %a2, %two ]
52 ; %c = phi i32* [ %c1, %one ], [ %c2, %two ]
60 ; %a = phi i32* [ %a1, %one ], [ %a2, %two ]
61 ; %c = phi i32* [ %c1, %one ], [ %c2, %two ]
67 %a = phi i32* [%a1, %one], [%a2, %two]
[all …]
/llvm-project-15.0.7/llvm/test/DebugInfo/X86/
H A Dsingle-location-interrupted-scope.mir13 # void funone(int one, int two) {
14 # two = two + one;
16 # set(one, two);
17 # if (two > 0)
20 # void funtwo(int one, int two) {
21 # two = one + two;
24 # set(one, two);
25 # if (one < two)
59 %add = add nsw i32 %two, %one, !dbg !30
76 %add = add nsw i32 %two, %one, !dbg !44
[all …]
/llvm-project-15.0.7/mlir/unittests/Interfaces/
H A DInferIntRangeInterfaceTest.cpp19 APInt two(64, 2); in TEST() local
21 ConstantIntRanges boundedAbove(zero, two, zero, three); in TEST()
23 EXPECT_EQ(boundedAbove.umax(), two); in TEST()
79 APInt two = zero + 2; in TEST() local
92 ConstantIntRanges oneTwo(one, two, one, two); in TEST()
93 ConstantIntRanges zeroTwo(zero, two, zero, two); in TEST()
/llvm-project-15.0.7/mlir/test/python/dialects/
H A Dpython_test.py23 two = IntegerAttr.get(i32, 2)
31 op = test.AttributedOp(one, optional_i32=two, unit=unit)
37 op2 = test.AttributedOp(two)
57 op2.attributes["additional"] = two
95 op.mandatory_i32 = two
112 op.optional_i32 = two
188 print(same.two.type)
194 print(first_type_attr.two.type)
200 print(first_attr.two.type)
/llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/
H A Dbr_cc.f16.ll17 ; SI: two{{$}}
30 ; VI: two{{$}}
41 br i1 %fcmp, label %one, label %two
47 two:
69 ; GCN: two{{$}}
78 br i1 %fcmp, label %one, label %two
84 two:
101 ; GCN: two{{$}}
111 br i1 %fcmp, label %one, label %two
117 two:
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dcxx0x-initializer-references.cpp4 struct two { char c[2]; }; argument
58 two f(const B&); in overloading()
64 two g(const B&); in overloading()
66 static_assert(sizeof(g({1})) == sizeof(two), "bad overload resolution"); in overloading()
69 two h(const A&); in overloading()
71 static_assert(sizeof(h({1, 2})) == sizeof(two), "bad overload resolution"); in overloading()
/llvm-project-15.0.7/llvm/test/YAMLParser/
H A Dspec-06-01.test11 By two, # in flow style
12 Also by two, # are neither
14 # Still by two # content nor
15 Still by two # content nor

12345678910>>...87