/external/llvm/unittests/ADT/ |
D | ImmutableSetTest.cpp | 55 ImmutableSet<int> S2 = f.add(S, 3); in TEST_F() local 57 EXPECT_FALSE(S2.isEmpty()); in TEST_F() 58 EXPECT_FALSE(S == S2); in TEST_F() 59 EXPECT_TRUE(S != S2); in TEST_F() 61 EXPECT_TRUE(S2.contains(3)); in TEST_F() 62 EXPECT_FALSE(S2.begin() == S2.end()); in TEST_F() 63 EXPECT_TRUE(S2.begin() != S2.end()); in TEST_F() 73 EXPECT_FALSE(S2 == S3); in TEST_F() 74 EXPECT_TRUE(S2 != S3); in TEST_F() 75 EXPECT_FALSE(S2.contains(2)); in TEST_F() [all …]
|
D | ImmutableMapTest.cpp | 34 ImmutableMap<int, int> S2 = f.add(f.add(f.add(S, 3, 10), 4, 11), 5, 12); in TEST() local 37 EXPECT_FALSE(S2.isEmpty()); in TEST() 42 EXPECT_EQ(10, *S2.lookup(3)); in TEST() 43 EXPECT_EQ(11, *S2.lookup(4)); in TEST() 44 EXPECT_EQ(12, *S2.lookup(5)); in TEST() 46 EXPECT_EQ(5, S2.getMaxElement()->first); in TEST() 47 EXPECT_EQ(3U, S2.getHeight()); in TEST()
|
/external/swiftshader/third_party/LLVM/unittests/ADT/ |
D | ImmutableSetTest.cpp | 55 ImmutableSet<int> S2 = f.add(S, 3); in TEST_F() local 57 EXPECT_FALSE(S2.isEmpty()); in TEST_F() 58 EXPECT_FALSE(S == S2); in TEST_F() 59 EXPECT_TRUE(S != S2); in TEST_F() 61 EXPECT_TRUE(S2.contains(3)); in TEST_F() 62 EXPECT_FALSE(S2.begin() == S2.end()); in TEST_F() 63 EXPECT_TRUE(S2.begin() != S2.end()); in TEST_F() 73 EXPECT_FALSE(S2 == S3); in TEST_F() 74 EXPECT_TRUE(S2 != S3); in TEST_F() 75 EXPECT_FALSE(S2.contains(2)); in TEST_F() [all …]
|
/external/llvm/test/CodeGen/Hexagon/intrinsics/ |
D | xtype_perm.ll | 52 declare i32 @llvm.hexagon.S2.vrndpackwh(i64) 54 %z = call i32 @llvm.hexagon.S2.vrndpackwh(i64 %a) 59 declare i32 @llvm.hexagon.S2.vrndpackwhs(i64) 61 %z = call i32 @llvm.hexagon.S2.vrndpackwhs(i64 %a) 67 declare i32 @llvm.hexagon.S2.vsathub(i64) 69 %z = call i32 @llvm.hexagon.S2.vsathub(i64 %a) 74 declare i32 @llvm.hexagon.S2.vsatwh(i64) 76 %z = call i32 @llvm.hexagon.S2.vsatwh(i64 %a) 81 declare i32 @llvm.hexagon.S2.vsatwuh(i64) 83 %z = call i32 @llvm.hexagon.S2.vsatwuh(i64 %a) [all …]
|
D | xtype_shift.ll | 8 declare i64 @llvm.hexagon.S2.asr.i.p(i64, i32) 10 %z = call i64 @llvm.hexagon.S2.asr.i.p(i64 %a, i32 0) 15 declare i64 @llvm.hexagon.S2.lsr.i.p(i64, i32) 17 %z = call i64 @llvm.hexagon.S2.lsr.i.p(i64 %a, i32 0) 22 declare i64 @llvm.hexagon.S2.asl.i.p(i64, i32) 24 %z = call i64 @llvm.hexagon.S2.asl.i.p(i64 %a, i32 0) 29 declare i32 @llvm.hexagon.S2.asr.i.r(i32, i32) 31 %z = call i32 @llvm.hexagon.S2.asr.i.r(i32 %a, i32 0) 36 declare i32 @llvm.hexagon.S2.lsr.i.r(i32, i32) 38 %z = call i32 @llvm.hexagon.S2.lsr.i.r(i32 %a, i32 0) [all …]
|
D | xtype_bit.ll | 8 declare i32 @llvm.hexagon.S2.clbp(i64) 10 %z = call i32 @llvm.hexagon.S2.clbp(i64 %a) 15 declare i32 @llvm.hexagon.S2.cl0p(i64) 17 %z = call i32 @llvm.hexagon.S2.cl0p(i64 %a) 22 declare i32 @llvm.hexagon.S2.cl1p(i64) 24 %z = call i32 @llvm.hexagon.S2.cl1p(i64 %a) 50 declare i32 @llvm.hexagon.S2.cl0(i32) 52 %z = call i32 @llvm.hexagon.S2.cl0(i32 %a) 57 declare i32 @llvm.hexagon.S2.cl1(i32) 59 %z = call i32 @llvm.hexagon.S2.cl1(i32 %a) [all …]
|
/external/clang/test/SemaCXX/ |
D | warn-comma-operator.cpp | 26 class S2 { class 30 S2 operator++(); 31 S2 operator++(int); 32 S2 operator--(); 33 S2 operator--(int); 34 S2 operator=(int); 35 S2 operator*=(int); 36 S2 operator/=(int); 37 S2 operator%=(int); 38 S2 operator+=(int); [all …]
|
D | warn-unused-variables.cpp | 94 struct S2 { struct 95 S2() { in S2() function 99 S2 makeS2(); 100 void testS2(S2 a) { in testS2() 101 S2 x = makeS2(); // expected-warning {{unused variable 'x'}} in testS2() 102 S2 y; in testS2() 103 S2 z = a; // expected-warning {{unused variable 'z'}} in testS2() 144 struct S2 { struct 145 S2(const S1&); 148 S2 s((S1())); in func()
|
D | cxx11-crashes.cpp | 6 struct S2 { struct 7 S2(const S2&); 8 S2(); 13 S2 y; 25 S2 y; 30 S2 y;
|
D | out-of-line-def-mismatch.cpp | 9 struct S2 { struct 20 void N2::N1::S2::func(S1*) {} // expected-error {{out-of-line definition of 'func' does not match a… in func() 21 void N2::N1::S2::func(C1&, unsigned, const S1*) {} // expected-error {{out-of-line definition of 'f… in func() 22 void N2::N1::S2::func(S1*, double) {} // expected-error {{out-of-line definition of 'func' does not… in func() 23 void N2::N1::S2::func(S1, unsigned) {} // expected-error {{out-of-line definition of 'func' does no… in func() 24 void N2::N1::S2::func(unsigned*, S1*) {} // expected-error {{out-of-line definition of 'func' does … in func()
|
/external/llvm/include/llvm/ADT/ |
D | SetOperations.h | 23 bool set_union(S1Ty &S1, const S2Ty &S2) { in set_union() argument 26 for (typename S2Ty::const_iterator SI = S2.begin(), SE = S2.end(); in set_union() 40 void set_intersect(S1Ty &S1, const S2Ty &S2) { in set_intersect() argument 44 if (!S2.count(E)) S1.erase(E); // Erase element if not in S2 in set_intersect() 51 S1Ty set_difference(const S1Ty &S1, const S2Ty &S2) { in set_difference() argument 55 if (!S2.count(*SI)) // if the element is not in set2 in set_difference() 63 void set_subtract(S1Ty &S1, const S2Ty &S2) { in set_subtract() argument 64 for (typename S2Ty::const_iterator SI = S2.begin(), SE = S2.end(); in set_subtract()
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | StringSwitch.h | 115 const char (&S2)[N2], const T& Value) { in Cases() 116 return Case(S0, Value).Cases(S1, S2, Value); in Cases() 122 const char (&S2)[N2], const char (&S3)[N3], in Cases() 124 return Case(S0, Value).Cases(S1, S2, S3, Value); in Cases() 130 const char (&S2)[N2], const char (&S3)[N3], in Cases() 132 return Case(S0, Value).Cases(S1, S2, S3, S4, Value); in Cases() 139 const char (&S2)[N2], const char (&S3)[N3], in Cases() 142 return Case(S0, Value).Cases(S1, S2, S3, S4, S5, Value); in Cases() 149 const char (&S2)[N2], const char (&S3)[N3], in Cases() 152 return Case(S0, Value).Cases(S1, S2, S3, S4, S5, S6, Value); in Cases() [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
D | SetOperations.h | 23 bool set_union(S1Ty &S1, const S2Ty &S2) { in set_union() argument 26 for (typename S2Ty::const_iterator SI = S2.begin(), SE = S2.end(); in set_union() 40 void set_intersect(S1Ty &S1, const S2Ty &S2) { in set_intersect() argument 44 if (!S2.count(E)) S1.erase(E); // Erase element if not in S2 in set_intersect() 51 S1Ty set_difference(const S1Ty &S1, const S2Ty &S2) { in set_difference() argument 55 if (!S2.count(*SI)) // if the element is not in set2 in set_difference() 63 void set_subtract(S1Ty &S1, const S2Ty &S2) { in set_subtract() argument 64 for (typename S2Ty::const_iterator SI = S2.begin(), SE = S2.end(); in set_subtract()
|
/external/libcxx/test/std/numerics/numeric.ops/numeric.ops.gcd/ |
D | gcd.pass.cpp | 51 using S2 = typename std::make_signed<Input2>::type; in do_test() typedef 57 using Output = std::common_type_t<S1, S2>; in do_test() 58 accumulate &= test0<S1, S2, Output>(TC.x, TC.y, TC.expect); in do_test() 59 accumulate &= test0<S1, S2, Output>(-TC.x, TC.y, TC.expect); in do_test() 60 accumulate &= test0<S1, S2, Output>(TC.x, -TC.y, TC.expect); in do_test() 61 accumulate &= test0<S1, S2, Output>(-TC.x, -TC.y, TC.expect); in do_test() 62 accumulate &= test0<S2, S1, Output>(TC.x, TC.y, TC.expect); in do_test() 63 accumulate &= test0<S2, S1, Output>(-TC.x, TC.y, TC.expect); in do_test() 64 accumulate &= test0<S2, S1, Output>(TC.x, -TC.y, TC.expect); in do_test() 65 accumulate &= test0<S2, S1, Output>(-TC.x, -TC.y, TC.expect); in do_test() [all …]
|
/external/libcxx/test/std/numerics/numeric.ops/numeric.ops.lcm/ |
D | lcm.pass.cpp | 49 using S2 = typename std::make_signed<Input2>::type; in do_test() typedef 55 using Output = std::common_type_t<S1, S2>; in do_test() 56 accumulate &= test0<S1, S2, Output>(TC.x, TC.y, TC.expect); in do_test() 57 accumulate &= test0<S1, S2, Output>(-TC.x, TC.y, TC.expect); in do_test() 58 accumulate &= test0<S1, S2, Output>(TC.x, -TC.y, TC.expect); in do_test() 59 accumulate &= test0<S1, S2, Output>(-TC.x, -TC.y, TC.expect); in do_test() 60 accumulate &= test0<S2, S1, Output>(TC.x, TC.y, TC.expect); in do_test() 61 accumulate &= test0<S2, S1, Output>(-TC.x, TC.y, TC.expect); in do_test() 62 accumulate &= test0<S2, S1, Output>(TC.x, -TC.y, TC.expect); in do_test() 63 accumulate &= test0<S2, S1, Output>(-TC.x, -TC.y, TC.expect); in do_test() [all …]
|
/external/libcxx/test/std/experimental/numeric/numeric.ops/numeric.ops.gcd/ |
D | gcd.pass.cpp | 50 using S2 = typename std::make_signed<Input2>::type; in do_test() typedef 56 using Output = std::common_type_t<S1, S2>; in do_test() 57 accumulate &= test0<S1, S2, Output>(TC.x, TC.y, TC.expect); in do_test() 58 accumulate &= test0<S1, S2, Output>(-TC.x, TC.y, TC.expect); in do_test() 59 accumulate &= test0<S1, S2, Output>(TC.x, -TC.y, TC.expect); in do_test() 60 accumulate &= test0<S1, S2, Output>(-TC.x, -TC.y, TC.expect); in do_test() 61 accumulate &= test0<S2, S1, Output>(TC.x, TC.y, TC.expect); in do_test() 62 accumulate &= test0<S2, S1, Output>(-TC.x, TC.y, TC.expect); in do_test() 63 accumulate &= test0<S2, S1, Output>(TC.x, -TC.y, TC.expect); in do_test() 64 accumulate &= test0<S2, S1, Output>(-TC.x, -TC.y, TC.expect); in do_test() [all …]
|
/external/libcxx/test/std/experimental/numeric/numeric.ops/numeric.ops.lcm/ |
D | lcm.pass.cpp | 49 using S2 = typename std::make_signed<Input2>::type; in do_test() typedef 55 using Output = std::common_type_t<S1, S2>; in do_test() 56 accumulate &= test0<S1, S2, Output>(TC.x, TC.y, TC.expect); in do_test() 57 accumulate &= test0<S1, S2, Output>(-TC.x, TC.y, TC.expect); in do_test() 58 accumulate &= test0<S1, S2, Output>(TC.x, -TC.y, TC.expect); in do_test() 59 accumulate &= test0<S1, S2, Output>(-TC.x, -TC.y, TC.expect); in do_test() 60 accumulate &= test0<S2, S1, Output>(TC.x, TC.y, TC.expect); in do_test() 61 accumulate &= test0<S2, S1, Output>(-TC.x, TC.y, TC.expect); in do_test() 62 accumulate &= test0<S2, S1, Output>(TC.x, -TC.y, TC.expect); in do_test() 63 accumulate &= test0<S2, S1, Output>(-TC.x, -TC.y, TC.expect); in do_test() [all …]
|
/external/llvm/test/CodeGen/Hexagon/vect/ |
D | vect-shift-imm.ll | 21 %0 = tail call i64 @llvm.hexagon.S2.asl.i.vw(i64 %x, i32 9) 22 %1 = tail call i64 @llvm.hexagon.S2.asr.i.vw(i64 %x, i32 8) 23 %2 = tail call i64 @llvm.hexagon.S2.lsr.i.vw(i64 %x, i32 7) 24 %3 = tail call i64 @llvm.hexagon.S2.asl.i.vh(i64 %x, i32 6) 25 %4 = tail call i64 @llvm.hexagon.S2.asr.i.vh(i64 %x, i32 5) 26 %5 = tail call i64 @llvm.hexagon.S2.lsr.i.vh(i64 %x, i32 4) 35 declare i64 @llvm.hexagon.S2.asl.i.vw(i64, i32) nounwind readnone 36 declare i64 @llvm.hexagon.S2.asr.i.vw(i64, i32) nounwind readnone 37 declare i64 @llvm.hexagon.S2.lsr.i.vw(i64, i32) nounwind readnone 38 declare i64 @llvm.hexagon.S2.asl.i.vh(i64, i32) nounwind readnone [all …]
|
/external/clang/test/OpenMP/ |
D | parallel_firstprivate_messages.cpp | 12 class S2 { class 15 S2():a(0) { } in S2() function in S2 16 S2(const S2 &s2):a(s2.a) { } in S2() function in S2 20 const float S2::S2sc = 0; 21 const S2 b; 22 const S2 ba[5]; 79 #pragma omp parallel firstprivate(S2::S2s) in main() 80 #pragma omp parallel firstprivate(S2::S2sc) in main()
|
D | task_firstprivate_messages.cpp | 23 class S2 { class 27 S2() : a(0) {} in S2() function in S2 28 S2(const S2 &s2) : a(s2.a) {} in S2() function in S2 32 const float S2::S2sc = 0; 33 const S2 b; 34 const S2 ba[5]; 99 #pragma omp task firstprivate(S2::S2s) in main() 100 #pragma omp task firstprivate(S2::S2sc) in main()
|
D | target_parallel_firstprivate_messages.cpp | 12 class S2 { class 15 S2():a(0) { } in S2() function in S2 16 S2(const S2 &s2):a(s2.a) { } in S2() function in S2 20 const float S2::S2sc = 0; 21 const S2 b; 22 const S2 ba[5]; 92 #pragma omp target parallel firstprivate(S2::S2s) in main() 94 #pragma omp target parallel firstprivate(S2::S2sc) in main()
|
D | teams_firstprivate_messages.cpp | 12 class S2 { class 16 S2() : a(0) {} in S2() function in S2 17 S2(const S2 &s2) : a(s2.a) {} in S2() function in S2 21 const float S2::S2sc = 0; 22 const S2 b; 23 const S2 ba[5]; 107 #pragma omp teams firstprivate(S2::S2s) in main() 110 #pragma omp teams firstprivate(S2::S2sc) in main()
|
D | parallel_sections_lastprivate_messages.cpp | 12 class S2 { class 16 S2() : a(0) {} in S2() function in S2 17 S2(S2 &s2) : a(s2.a) {} in S2() function in S2 18 const S2 &operator=(const S2 &) const; 22 const float S2::S2sc = 0; // expected-note {{static data member is predetermined as shared}} 23 const S2 b; 24 const S2 ba[5]; 223 #pragma omp parallel sections lastprivate(S2::S2s) // expected-error {{shared variable cannot be la… in main() 227 #pragma omp parallel sections lastprivate(S2::S2sc) // expected-error {{shared variable cannot be l… in main()
|
/external/clang/test/CodeGen/ |
D | malign-double.cpp | 24 struct S2{ struct 31 unsigned S2_align = __alignof(struct S2); argument 32 unsigned S2_size = sizeof(struct S2); 36 unsigned S2_c_offset = (unsigned) &((struct S2*) 0)->c; 37 unsigned S2_d_offset = (unsigned) &((struct S2*) 0)->d; 38 unsigned S2_s_offset = (unsigned) &((struct S2*) 0)->s; 39 unsigned S2_n_offset = (unsigned) &((struct S2*) 0)->n;
|
/external/clang/test/CXX/expr/expr.unary/expr.unary.noexcept/ |
D | sema.cpp | 85 struct S2 { struct 86 S2(); 87 S2(int, int) throw(); 116 N(S2()); in implicits() 117 P(S2(0, 0)); in implicits() 118 S2 s; in implicits() 161 struct G3 { S2 s; }; 174 B(b, static_cast<T>(S2(0, 0))); in late() 184 S3(const S2&);
|