Searched refs:copy_ctor (Results 1 – 6 of 6) sorted by relevance
40 int copy_ctor = 0; variable45 A(const A&) {++copy_ctor;} in A()76 assert(copy_ctor == 0); in main()80 assert(copy_ctor == 1); in main()84 assert(copy_ctor == 1); in main()88 assert(copy_ctor == 2); in main()92 assert(copy_ctor == 3); in main()
44 struct copy_ctor { struct46 copy_ctor(copy_ctor const &); argument48 test(copy_ctor);
22 ; ARGPROMOTION-NEXT: [[CALL:%.*]] = call x86_thiscallcc %struct.a* @copy_ctor(%struct.a* [[TMP1]…32 ; GLOBALOPT_ARGPROMOTION-NEXT: [[CALL:%.*]] = call x86_thiscallcc %struct.a* @copy_ctor(%struct.…40 %call = call x86_thiscallcc %struct.a* @copy_ctor(%struct.a* %1, %struct.a* dereferenceable(1) %a)70 declare x86_thiscallcc %struct.a* @copy_ctor(%struct.a* returned, %struct.a* dereferenceable(1))
24 ; CHECK-NEXT: [[CALL:%.*]] = call x86_thiscallcc %struct.a* @copy_ctor(%struct.a* noundef nonnul…32 %call = call x86_thiscallcc %struct.a* @copy_ctor(%struct.a* %1, %struct.a* dereferenceable(1) %a)62 declare x86_thiscallcc %struct.a* @copy_ctor(%struct.a* returned, %struct.a* dereferenceable(1))
28 TEST_CASE(copy_ctor) { in TEST_CASE() argument
558 namespace copy_ctor { namespace