Home
last modified time | relevance | path

Searched refs:S1 (Results 1 – 25 of 1294) sorted by relevance

12345678910>>...52

/llvm-project-15.0.7/libcxx/test/std/concepts/concepts.callable/concept.strictweakorder/
H A Dstrict_weak_order.compile.pass.cpp27 struct S1 {}; struct
28 static_assert(std::strict_weak_order<bool (S1::*)(S1*), S1*, S1*>);
29 static_assert(std::strict_weak_order<bool (S1::*)(S1&), S1&, S1&>);
34 bool operator()(S1, S1) const;
36 static_assert(std::strict_weak_order<P1, S1, S1>);
39 bool operator()(S1, S1) const;
40 bool operator()(S1, S2) const;
45 bool operator()(S1, S1) const;
46 bool operator()(S1, S2) const;
47 bool operator()(S2, S1) const;
[all …]
H A Dstrict_weak_order.subsumption.compile.pass.cpp16 struct S1 {}; struct
20 bool operator()(S1, S1) const;
21 bool operator()(S1, S2) const;
22 bool operator()(S2, S1) const;
42 static_assert(check_strict_weak_order_subsumes_relation<R, S1, S1>());
43 static_assert(check_strict_weak_order_subsumes_relation<R, S1, S2>());
61 static_assert(check_relation_subsumes_strict_weak_order<R, S1, S1>());
62 static_assert(check_relation_subsumes_strict_weak_order<R, S1, S2>());
79 static_assert(check_strict_weak_order_subsumes_itself<R, S1, S1>());
/llvm-project-15.0.7/libcxx/test/std/concepts/concepts.callable/concept.relation/
H A Drelation.compile.pass.cpp26 struct S1 {}; struct
27 static_assert(std::relation<bool (S1::*)(S1*), S1*, S1*>);
28 static_assert(std::relation<bool (S1::*)(S1&), S1&, S1&>);
33 bool operator()(S1, S1) const;
35 static_assert(std::relation<P1, S1, S1>);
38 bool operator()(S1, S1) const;
39 bool operator()(S1, S2) const;
44 bool operator()(S1, S1) const;
45 bool operator()(S1, S2) const;
46 bool operator()(S2, S1) const;
[all …]
H A Drelation.subsumption.compile.pass.cpp16 struct S1 {}; struct
20 bool operator()(S1, S1) const;
21 bool operator()(S1, S2) const;
22 bool operator()(S2, S1) const;
45 static_assert(check_relation_subsumes_predicate<R, S1, S1>());
46 static_assert(check_relation_subsumes_predicate<R, S1, S2>());
63 static_assert(check_relation_subsumes_itself<R, S1, S1>());
/llvm-project-15.0.7/libcxx/test/std/concepts/concepts.callable/concept.equiv/
H A Dequivalence_relation.compile.pass.cpp28 struct S1 {}; struct
29 static_assert(std::relation<bool (S1::*)(S1*), S1*, S1*>);
30 static_assert(std::relation<bool (S1::*)(S1&), S1&, S1&>);
35 bool operator()(S1, S1) const;
37 static_assert(std::equivalence_relation<P1, S1, S1>);
40 bool operator()(S1, S1) const;
41 bool operator()(S1, S2) const;
46 bool operator()(S1, S1) const;
47 bool operator()(S1, S2) const;
48 bool operator()(S2, S1) const;
[all …]
H A Dequivalence_relation.subsumption.compile.pass.cpp16 struct S1 {}; struct
20 bool operator()(S1, S1) const;
21 bool operator()(S1, S2) const;
22 bool operator()(S2, S1) const;
42 static_assert(check_equivalence_relation_subsumes_relation<R, S1, S1>());
43 static_assert(check_equivalence_relation_subsumes_relation<R, S1, S2>());
61 static_assert(check_relation_subsumes_equivalence_relation<R, S1, S1>());
62 static_assert(check_relation_subsumes_equivalence_relation<R, S1, S2>());
80 static_assert(check_equivalence_relation_subsumes_itself<R, S1, S1>());
/llvm-project-15.0.7/polly/lib/External/isl/test_inputs/codegen/cloog/
H A Dunroll.c1 S1(0);
2 S1(1);
3 S1(2);
4 S1(3);
5 S1(4);
6 S1(5);
7 S1(6);
8 S1(7);
9 S1(8);
10 S1(9);
[all …]
/llvm-project-15.0.7/llvm/test/Transforms/CanonicalizeAliases/
H A Dcanonicalize.ll20 %struct.S1 = type { i32, i32, i32 }
22 ; CHECK-DAG: @S = global %struct.S1 { i32 31, i32 32, i32 33 }
23 ; CHECK-DAG: @Salias = alias i32, getelementptr inbounds (%struct.S1, %struct.S1* @S, i32 0, i32 1)
24 ; CHECK-DAG: @Salias2 = alias i32, getelementptr inbounds (%struct.S1, %struct.S1* @S, i32 0, i32 1)
25 ; CHECK-DAG: @Salias3 = alias i32, getelementptr inbounds (%struct.S1, %struct.S1* @S, i32 0, i32 1)
27 @S = global %struct.S1 { i32 31, i32 32, i32 33 }, align 4
28 @Salias = alias i32, getelementptr inbounds (%struct.S1, %struct.S1* @S, i32 0, i32 1)
32 ; CHECK-DAG: @Salias4 = alias %struct.S1, %struct.S1* @S
33 ; CHECK-DAG: @Salias5 = alias i32, getelementptr inbounds (%struct.S1, %struct.S1* @S, i32 0, i32 1)
35 @Salias4 = alias %struct.S1, %struct.S1* @S
[all …]
/llvm-project-15.0.7/clang/test/OpenMP/
H A Dtaskgroup_ast_print.cpp15 struct S1 { struct
16 S1(): a(0) {} in S1() argument
17 S1(int v) : a(v) {} in S1() argument
20 S1& operator +(const S1&); argument
21 S1& operator *(const S1&);
22 S1& operator &&(const S1&);
23 S1& operator ^(const S1&);
51 class S8 : public S7<S1> {
55 S8(int v) : S7<S1>(v){ in S8()
56 #pragma omp taskgroup task_reduction(^ : S7 < S1 > ::a) task_reduction(+ : S7 < S1 > ::b[ : S7 < S1… in S8()
H A Dparallel_master_ast_print.cpp15 struct S1 { struct
16 S1(): a(0) {} in S1() argument
17 S1(int v) : a(v) {} in S1() argument
20 S1& operator +(const S1&); argument
21 S1& operator *(const S1&);
22 S1& operator &&(const S1&);
23 S1& operator ^(const S1&);
78 class S8 : public S7<S1> {
82 S8(int v) : S7<S1>(v){ in S8()
89 #pragma omp parallel master shared(a) shared(this->a) shared(S7 < S1 > ::a) in S8()
[all …]
H A Dparallel_ast_print.cpp23 struct S1 { struct
24 S1(): a(0) {} in S1() argument
25 S1(int v) : a(v) {} in S1() argument
28 S1& operator +(const S1&); argument
29 S1& operator *(const S1&);
30 S1& operator &&(const S1&);
31 S1& operator ^(const S1&);
86 class S8 : public S7<S1> {
90 S8(int v) : S7<S1>(v){ in S8()
97 #pragma omp parallel shared(a) shared(this->a) shared(S7 < S1 > ::a) in S8()
[all …]
H A Dparallel_masked_ast_print.cpp15 struct S1 { struct
16 S1(): a(0) {} in S1() function
17 S1(int v) : a(v) {} in S1() function
20 S1& operator +(const S1&); argument
21 S1& operator *(const S1&);
22 S1& operator &&(const S1&);
23 S1& operator ^(const S1&);
80 class S8 : public S7<S1> {
84 S8(int v) : S7<S1>(v){ in S8()
94 #pragma omp parallel masked shared(a) shared(this->a) shared(S7 < S1 > ::a) in S8()
[all …]
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dout-of-line-def-mismatch.cpp4 struct S1;
10 …void func(S1*); // expected-note {{type of 1st parameter of member declaration does not match defi…
11 …void func(C1&, unsigned, const S1*); // expected-note {{type of 3rd parameter of member declaratio…
12 …void func(const S1*, unsigned); //expected-note {{type of 1st parameter of member declaration does…
13 …void func(unsigned, const S1*); // expected-note {{type of 1st parameter of member declaration doe…
16 struct S1 {}; struct
20 void N2::N1::S2::func(S1*) {} // expected-error {{out-of-line definition of 'func' does not match a… in func() argument
21 void N2::N1::S2::func(C1&, unsigned, const S1*) {} // expected-error {{out-of-line definition of 'f… in func() argument
22 void N2::N1::S2::func(S1*, double) {} // expected-error {{out-of-line definition of 'func' does not… in func() argument
23 void N2::N1::S2::func(S1, unsigned) {} // expected-error {{out-of-line definition of 'func' does no… in func() argument
[all …]
/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DStringSwitch.h90 StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) { in Cases() argument
91 return Case(S0, Value).Case(S1, Value); in Cases()
96 return Case(S0, Value).Cases(S1, S2, Value); in Cases()
101 return Case(S0, Value).Cases(S1, S2, S3, Value); in Cases()
106 return Case(S0, Value).Cases(S1, S2, S3, S4, Value); in Cases()
112 return Case(S0, Value).Cases(S1, S2, S3, S4, S5, Value); in Cases()
118 return Case(S0, Value).Cases(S1, S2, S3, S4, S5, S6, Value); in Cases()
164 return CaseLower(S0, Value).CaseLower(S1, Value); in CasesLower()
169 return CaseLower(S0, Value).CasesLower(S1, S2, Value); in CasesLower()
174 return CaseLower(S0, Value).CasesLower(S1, S2, S3, Value); in CasesLower()
[all …]
H A DSetOperations.h23 bool set_union(S1Ty &S1, const S2Ty &S2) { in set_union() argument
28 if (S1.insert(*SI).second) in set_union()
40 void set_intersect(S1Ty &S1, const S2Ty &S2) { in set_intersect() argument
41 for (typename S1Ty::iterator I = S1.begin(); I != S1.end();) { in set_intersect()
51 S1Ty set_difference(const S1Ty &S1, const S2Ty &S2) { in set_difference() argument
53 for (typename S1Ty::const_iterator SI = S1.begin(), SE = S1.end(); in set_difference()
63 void set_subtract(S1Ty &S1, const S2Ty &S2) { in set_subtract() argument
66 S1.erase(*SI); in set_subtract()
72 bool set_is_subset(const S1Ty &S1, const S2Ty &S2) { in set_is_subset() argument
73 if (S1.size() > S2.size()) in set_is_subset()
[all …]
/llvm-project-15.0.7/llvm/unittests/ADT/
H A DStatisticTest.cpp28 S1 = S; in extractCounters()
91 OptionalStatistic S1; in TEST() local
93 extractCounters(Range1, S1, S2); in TEST()
95 EXPECT_EQ(S1.has_value(), true); in TEST()
107 OptionalStatistic S1; in TEST() local
109 extractCounters(Range, S1, S2); in TEST()
115 EXPECT_EQ(S1->second, 2u); in TEST()
135 OptionalStatistic S1; in TEST() local
137 extractCounters(Range, S1, S2); in TEST()
152 OptionalStatistic S1; in TEST() local
[all …]
/llvm-project-15.0.7/clang/test/ASTMerge/exprs-cpp/Inputs/
H A Dexprs3.cpp47 struct S1 { struct
54 S1 d; argument
73 S1 &testConstCast(const S1 &x) { in testConstCast()
74 return const_cast<S1&>(x); in testConstCast()
77 S1 &testStaticCast(S1 &x) { in testStaticCast()
78 return static_cast<S1&>(x); in testStaticCast()
81 S1 &testReinterpretCast(S1 &x) { in testReinterpretCast()
82 return reinterpret_cast<S1&>(x); in testReinterpretCast()
85 S1 &testDynamicCast(S1 &x) { in testDynamicCast()
86 return dynamic_cast<S1&>(x); in testDynamicCast()
/llvm-project-15.0.7/clang/test/CodeGenCXX/
H A Dtype-metadata-memfun.cpp3 struct S1 { struct
4 S1();
5 ~S1();
18 S1::S1() {} in S1() function in S1
19 S1::~S1() {} in ~S1()
20 void S1::vf() {} in vf()
22 void S1::f() { in f()
/llvm-project-15.0.7/clang/test/CXX/dcl.dcl/dcl.attr/dcl.align/
H A Dp5.cpp18 struct S1 { struct
25 S1 s1;
27 struct alignas(2) S4 : S1 { // expected-error {{requested alignment is less than minimum alignment …
29 struct S5 : S1 {
30 …alignas(2) S1 s1; // expected-error {{requested alignment is less than minimum alignment of 8 for …
33 S1 s1;
35 struct S7 : S1 {
37 struct alignas(2) alignas(8) alignas(1) S8 : S1 {
40 S1 s1 alignas(4); // expected-error {{requested alignment is less than minimum alignment of 8 for t…
55 template struct X<16, 8, S1>;
[all …]
/llvm-project-15.0.7/clang/test/CodeGenObjCXX/
H A Dauto-release-result-assert.mm3 // CHECK-LABEL: define{{.*}} %struct.S1* @_Z4foo1i(
4 // CHECK: %[[CALL:[a-z0-9]+]] = call noundef %struct.S1* @_Z4foo0i
5 // CHECK: ret %struct.S1* %[[CALL]]
7 // CHECK-LABEL: define{{.*}} %struct.S1* @_ZN2S22m1Ev(
8 // CHECK: %[[CALL:[a-z0-9]+]] = call noundef %struct.S1* @_Z4foo0i
9 // CHECK: ret %struct.S1* %[[CALL]]
11 // CHECK-LABEL: define internal noundef %struct.S1* @Block1_block_invoke(
12 // CHECK: %[[CALL:[a-z0-9]+]] = call noundef %struct.S1* @_Z4foo0i
13 // CHECK: ret %struct.S1* %[[CALL]]
15 struct S1; struct
[all …]
/llvm-project-15.0.7/llvm/unittests/ExecutionEngine/JITLink/
H A DLinkGraphTests.cpp83 B1.addEdge(Edge::FirstRelocation, 8, S1, 0); in TEST()
122 EXPECT_TRUE(llvm::count(Sec1.symbols(), &S1)); in TEST()
136 EXPECT_TRUE(llvm::count(G.defined_symbols(), &S1)); in TEST()
242 G.makeExternal(S1); in TEST()
247 EXPECT_EQ(S1.getAddress(), orc::ExecutorAddr()) in TEST()
275 EXPECT_EQ(S1.getAddress(), orc::ExecutorAddr()) in TEST()
325 G.transferDefinedSymbol(S1, B2, 0, 64); in TEST()
332 G.transferDefinedSymbol(S1, B3, 16, None); in TEST()
358 G.transferDefinedSymbol(S1, B2, 0, 64); in TEST()
557 EXPECT_EQ(&S1.getBlock(), &B2); in TEST()
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/Mips/
H A Dlargeimmprinting.ll7 %struct.S1 = type { [65536 x i8] }
9 @s1 = external global %struct.S1
27 %agg.tmp = alloca %struct.S1, align 1
28 %tmp = getelementptr inbounds %struct.S1, %struct.S1* %agg.tmp, i32 0, i32 0, i32 0
29 …i8.i32(i8* align 1 %tmp, i8* align 1 getelementptr inbounds (%struct.S1, %struct.S1* @s1, i32 0, i…
30 call void @f2(%struct.S1* byval(%struct.S1) %agg.tmp) nounwind
34 declare void @f2(%struct.S1* byval(%struct.S1))
/llvm-project-15.0.7/llvm/test/DebugInfo/X86/
H A Dsroa-after-inlining.ll17 ; struct S1 {
23 ; S1 foo ( void );
26 ; S1 result = foo();
44 %struct.S1 = type { i32 }
51 %result = alloca %struct.S1, align 4
57 %coerce.dive = getelementptr inbounds %struct.S1, %struct.S1* %result, i32 0, i32 0, !dbg !21
68 %p1 = getelementptr inbounds %struct.S1, %struct.S1* %result, i32 0, i32 0, !dbg !26
90 %this.addr = alloca %struct.S1*, align 8
91 store %struct.S1* %this, %struct.S1** %this.addr, align 8
93 %this1 = load %struct.S1*, %struct.S1** %this.addr, align 8
[all …]
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DMergedLoadStoreMotion.cpp210 Value *Opd2 = S1->getValueOperand(); in getPHIOperand()
218 NewPN->addIncoming(Opd2, S1->getParent()); in getPHIOperand()
228 auto *A1 = dyn_cast<Instruction>(S1->getPointerOperand()); in canSinkStoresAndGEPs()
243 auto *A1 = dyn_cast<Instruction>(S1->getPointerOperand()); in sinkStoresAndGEPs()
250 S0->andIRFlags(S1); in sinkStoresAndGEPs()
260 assert(S1->getParent() == A1->getParent()); in sinkStoresAndGEPs()
263 if (PHINode *NewPN = getPHIOperand(BB, S0, S1)) in sinkStoresAndGEPs()
266 S1->eraseFromParent(); in sinkStoresAndGEPs()
317 if (StoreInst *S1 = canSinkFromBlock(Pred1, S0)) { in mergeStores() local
318 if (!canSinkStoresAndGEPs(S0, S1)) in mergeStores()
[all …]
/llvm-project-15.0.7/libcxx/test/std/numerics/numeric.ops/numeric.ops.gcd/
H A Dgcd.pass.cpp55 using S1 = std::make_signed_t<Input1>; in do_test() typedef
62 using Output = std::common_type_t<S1, S2>; in do_test()
63 accumulate &= test0<S1, S2, Output>(TC.x, TC.y, TC.expect); in do_test()
64 accumulate &= test0<S1, S2, Output>(-TC.x, TC.y, TC.expect); in do_test()
65 accumulate &= test0<S1, S2, Output>(TC.x, -TC.y, TC.expect); in do_test()
67 accumulate &= test0<S2, S1, Output>(TC.x, TC.y, TC.expect); in do_test()
68 accumulate &= test0<S2, S1, Output>(-TC.x, TC.y, TC.expect); in do_test()
69 accumulate &= test0<S2, S1, Output>(TC.x, -TC.y, TC.expect); in do_test()
78 using Output = std::common_type_t<S1, U2>; in do_test()
79 accumulate &= test0<S1, U2, Output>(TC.x, TC.y, TC.expect); in do_test()
[all …]

12345678910>>...52