Home
last modified time | relevance | path

Searched refs:move (Results 1 – 25 of 4125) sorted by relevance

12345678910>>...165

/llvm-project-15.0.7/llvm/test/MC/M68k/Data/Classes/
H A DMxMove_RM.s5 move.b (0,%pc,%d1), %d0
18 move.b (0,%pc), %d0
21 move.l (-1,%pc), %d0
51 move.b -(%a0), %d0
54 move.l -(%a1), %d3
71 move.b (%a0), %d0
74 move.l (%a1), %d3
77 move.l (%a1), %a4
83 move.b $0, %d0
86 move.l $0, %d3
[all …]
H A DMxMove_MM.s5 move.b (0,%pc,%d1), (%a0)
11 move.l (0,%pc,%d1), (%a0)
18 move.b (0,%pc), (%a0)
21 move.l (-1,%pc), (%a0)
24 move.l (-1,%pc), (%a0)
51 move.b -(%a0), -(%a0)
54 move.l -(%a1), -(%a1)
71 move.b (%a0), (%a0)
74 move.l (%a1), (%a1)
77 move.l (%a1), (%a1)
[all …]
H A DMxMove_MI.s3 ; CHECK: move.b #-1, (0,%a0,%d1)
5 move.b #-1, (0,%a0,%d1)
8 move.b #42, (-1,%a0,%d1)
11 move.l #-1, (0,%a1,%d1)
14 move.l #0, (0,%a2,%a2)
18 move.b #0, (0,%a0)
21 move.l #0, (-1,%a1)
24 move.l #0, (-1,%a1)
28 move.b #0, (%a0)
31 move.l #0, (%a1)
[all …]
H A DMxMove_MR.s3 ; CHECK: move.b %d0, (0,%a0,%d1)
5 move.b %d0, (0,%a0,%d1)
8 move.b %d0, (-1,%a0,%d1)
11 move.l %d0, (0,%a1,%d1)
14 move.l %d1, (0,%a2,%a2)
18 move.b %d0, (0,%a0)
21 move.l %d0, (-1,%a1)
24 move.l %a0, (-1,%a1)
28 move.b %d0, (%a0)
31 move.l %d3, (%a1)
[all …]
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/
H A Duse-after-move.cpp177 std::move(a); in moveAfterMove()
178 std::move(a); in moveAfterMove()
197 std::move(a); in parameters()
307 std::move(a); in useAfterMoveInMemberFunction()
441 std::move(a); in movedTypeIsNotDependentType()
452 std::move(t); in movedTypeIsDependentType()
477 std::move(a); in decltypeIsNotUse()
498 functionTemplate<sizeof(A(std::move(a)))>(std::move(a)); in templateArgIsNotUse()
781 std::move(a); in passByConstPointerIsUse()
1045 g(g(a, std::move(a)), g(a, std::move(a))); in sequencingOfMoveAndUse()
[all …]
/llvm-project-15.0.7/llvm/test/MC/M68k/Relaxations/
H A Dbranch.s8 move.l $0, $0
9 move.l $0, $0
10 move.l $0, $0
11 move.l $0, $0
12 move.l $0, $0
13 move.l $0, $0
14 move.l $0, $0
15 move.l $0, $0
16 move.l $0, $0
17 move.l $0, $0
[all …]
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dwarn-pessmizing-move.cpp34 return std::move(a1); in test1()
35 return std::move(a2); in test1()
47 return std::move(a1); in test2()
48 return std::move(a2); in test2()
53 return std::move(b1); in test2()
54 return std::move(b2); in test2()
62 return std::move(A()); in test2()
89 return std::move(A()); in test4()
105 test5(std::move(A())); in test5()
127 a3 = std::move(A()); in test6()
[all …]
H A Dunqualified-std-call.cpp27 std::move(i); in f()
32 std::move(1, 2); in f()
33 move(1, 2); in f()
40 std::move(foo); in g()
45 move(1, 2); in g()
58 using std::move;
63 move(1, 2); in f()
72 move(1, 2); in g()
84 int move(T &&);
87 move(i); in f()
[all …]
H A Dwarn-self-move.cpp10 template <class T> typename remove_reference<T>::type &&move(T &&t);
16 x = std::move(x); // expected-warning{{explicitly moving}} in int_test()
17 (x) = std::move(x); // expected-warning{{explicitly moving}} in int_test()
19 using std::move; in int_test()
20 x = move(x); // expected-warning{{explicitly moving}} \ in int_test()
37 x = std::move(x); // expected-warning{{explicitly moving}} in field_test()
38 x = std::move(other.x); in field_test()
39 other.x = std::move(x); in field_test()
52 a = std::move(a); // expected-warning{{explicitly moving}} in struct_test()
55 b = std::move(b); // expected-warning{{explicitly moving}} in struct_test()
[all …]
H A Dwarn-redundant-move.cpp24 return std::move(b1); in test1()
25 return std::move(b2); in test1()
42 return std::move(a1); in test2()
43 return std::move(a2); in test2()
44 return std::move(b1); in test2()
45 return std::move(b2); in test2()
53 return std::move(b1); in test3()
54 return std::move(b2); in test3()
66 return std::move(a1); in test4()
67 return std::move(a2); in test4()
[all …]
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/performance/
H A Dmove-const-arg.cpp50 f(std::move(obj)); in g()
56 return std::move(42); in f1()
62 return std::move(x2); in f2()
68 return std::move(x3); in f3()
76 return std::move(x5); in f5()
83 return std::move(x6); in f6()
91 M1(A b = std::move(a);) in f8()
101 return std::move(x10); in f10()
210 Q(std::move(val)); in moveOnlyNegatives()
331 showA(std::move(a)); in testA()
[all …]
/llvm-project-15.0.7/clang/test/Analysis/
H A Duse-after-move.cpp122 A b = std::move(a); in testUpdateField()
128 A b = std::move(a); in testUpdateFieldDouble()
137 A b = std::move(a); in moveInsideFunctionCall()
226 b = std::move(a); in reinitializationTest()
235 b = std::move(a); in reinitializationTest()
266 b = std::move(a); in reinitializationTest()
490 functionTemplate<sizeof(A(std::move(a)))>(std::move(a)); // no-warning in templateArgIsNotUseTest()
543 b = std::move(a); in exclusiveConditionsTest()
651 b = std::move(a); in regionAndPointerEscapeTest()
666 b = std::move(a); in regionAndPointerEscapeTest()
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/M68k/
H A Dinline-asm.ll12 ; CHECK-NEXT: move.l #1, %d1
15 ; CHECK-NEXT: move.l #8, %d1
27 ; CHECK-NEXT: move.l #128, %d1
30 ; CHECK-NEXT: move.l #-8, %d1
33 ; CHECK-NEXT: move.l #-1, %d1
42 ; CHECK-NEXT: move.l #24, %d1
45 ; CHECK-NEXT: move.l #31, %d1
48 ; CHECK-NEXT: move.l #16, %d1
51 ; CHECK-NEXT: move.l #8, %d1
57 ; CHECK-NEXT: move.l #0, %d1
[all …]
/llvm-project-15.0.7/libcxx/include/__algorithm/
H A Dset_symmetric_difference.h34 … : __in1_(std::move(__in_iter1)), __in2_(std::move(__in_iter2)), __out_(std::move(__out_iter)) {} in __set_symmetric_difference_result()
43 auto __ret1 = std::__copy_impl(std::move(__first1), std::move(__last1), std::move(__result)); in __set_symmetric_difference()
45 std::move(__ret1.first), std::move(__first2), std::move((__ret1.second))); in __set_symmetric_difference()
61 auto __ret2 = std::__copy_impl(std::move(__first2), std::move(__last2), std::move(__result)); in __set_symmetric_difference()
63 std::move(__first1), std::move(__ret2.first), std::move((__ret2.second))); in __set_symmetric_difference()
77 std::move(__last1), in set_symmetric_difference()
93 std::move(__first1), in set_symmetric_difference()
94 std::move(__last1), in set_symmetric_difference()
95 std::move(__first2), in set_symmetric_difference()
96 std::move(__last2), in set_symmetric_difference()
[all …]
H A Dset_union.h34 … : __in1_(std::move(__in_iter1)), __in2_(std::move(__in_iter2)), __out_(std::move(__out_iter)) {} in __set_union_result()
42 auto __ret1 = std::__copy_impl(std::move(__first1), std::move(__last1), std::move(__result)); in __set_union()
44 std::move(__ret1.first), std::move(__first2), std::move((__ret1.second))); in __set_union()
57 auto __ret2 = std::__copy_impl(std::move(__first2), std::move(__last2), std::move(__result)); in __set_union()
59 std::move(__first1), std::move(__ret2.first), std::move((__ret2.second))); in __set_union()
73 std::move(__last1), in set_union()
89 std::move(__first1), in set_union()
90 std::move(__last1), in set_union()
91 std::move(__first2), in set_union()
92 std::move(__last2), in set_union()
[all …]
/llvm-project-15.0.7/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.elem/
H A Dget_const_rv.pass.cpp33 static_assert(noexcept(std::get<0>(std::move(t))), ""); in main()
34 const int&& i = std::get<0>(std::move(t)); in main()
42 static_assert(noexcept(std::get<0>(std::move(t))), ""); in main()
44 static_assert(noexcept(std::get<1>(std::move(t))), ""); in main()
45 const std::string&& s = std::get<0>(std::move(t)); in main()
46 const int&& i = std::get<1>(std::move(t)); in main()
56 static_assert(noexcept(std::get<0>(std::move(p))), ""); in main()
58 static_assert(noexcept(std::get<1>(std::move(p))), ""); in main()
64 std::tuple<int&&, int const&&> const p(std::move(x), std::move(y)); in main()
75 static_assert(std::get<0>(std::move(t)) == 2.718, ""); in main()
[all …]
/llvm-project-15.0.7/libcxx/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/
H A Dconstruct_piecewise_pair.pass.cpp53 A.construct(ptr, std::piecewise_construct, std::move(ttuple), std::move(utuple)); in doTest()
70 std::move(ttuple), std::move(utuple)))); in test_pmr_uses_allocator()
76 std::move(ttuple), std::move(utuple)))); in test_pmr_uses_allocator()
82 std::move(ttuple), std::move(utuple)))); in test_pmr_uses_allocator()
88 std::move(ttuple), std::move(utuple)))); in test_pmr_uses_allocator()
99 std::move(ttuple), std::move(utuple)))); in test_pmr_not_uses_allocator()
105 std::move(ttuple), std::move(utuple)))); in test_pmr_not_uses_allocator()
111 std::move(ttuple), std::move(utuple)))); in test_pmr_not_uses_allocator()
117 std::move(ttuple), std::move(utuple)))); in test_pmr_not_uses_allocator()
146 std::tuple<int&, double&&> t2(x, std::move(dx)); in main()
[all …]
/llvm-project-15.0.7/flang/lib/Evaluate/
H A Dfold.cpp19 return std::move(x); in Fold()
86 std::move(expr)); in FoldOperation()
112 return std::move(x); in FoldOperation()
119 return {Fold(context, std::move(lower)), Fold(context, std::move(upper)), in FoldOperation()
134 std::move(subscript.u)); in FoldOperation()
142 return ArrayRef{std::move(base), std::move(arrayRef.subscript())}; in FoldOperation()
154 CoarrayRef folded{std::move(coarrayRef.base()), std::move(subscript), in FoldOperation()
155 std::move(cosubscript)}; in FoldOperation()
174 std::move(dataRef.u)); in FoldOperation()
182 std::move(lower), std::move(upper)}; in FoldOperation()
[all …]
H A Dtools.cpp136 std::move(rx), std::move(ry))}; in ConvertRealOperands()
169 std::move(x.u), std::move(y.u)); in ConvertRealOperands()
375 std::move(ix), std::move(iy))); in NumericOperation()
379 std::move(rx), std::move(ry))); in NumericOperation()
398 std::move(zx), std::move(zy))); in NumericOperation()
442 std::move(x.u), std::move(y.u)); in NumericOperation()
516 AsSameKindExprs(std::move(x), std::move(y))); in PromoteAndRelate()
579 std::move(cx.u), std::move(cy.u)); in Relate()
587 std::move(x.u), std::move(y.u)); in Relate()
597 opr, std::move(xy[0]), std::move(xy[1]))}; in BinaryLogicalOperation()
[all …]
/llvm-project-15.0.7/libcxx/test/std/utilities/variant/variant.get/
H A Dget_index.pass.cpp78 const V v(std::move(x)); in test_const_lvalue_get()
85 const V v(std::move(x)); in test_const_lvalue_get()
125 V v(std::move(x)); in test_lvalue_get()
132 V v(std::move(x)); in test_lvalue_get()
172 V v(std::move(x)); in test_rvalue_get()
180 V v(std::move(x)); in test_rvalue_get()
221 const V v(std::move(x)); in test_const_rvalue_get()
229 const V v(std::move(x)); in test_const_rvalue_get()
269 assert(test(one, std::move(v0))); in test_throws_for_all_value_categories()
270 assert(test(zero, std::move(v1))); in test_throws_for_all_value_categories()
[all …]
H A Dget_type.pass.cpp72 const V v(std::move(x)); in test_const_lvalue_get()
79 const V v(std::move(x)); in test_const_lvalue_get()
119 V v(std::move(x)); in test_lvalue_get()
126 V v(std::move(x)); in test_lvalue_get()
168 V v(std::move(x)); in test_rvalue_get()
176 V v(std::move(x)); in test_rvalue_get()
220 const V v(std::move(x)); in test_const_rvalue_get()
228 const V v(std::move(x)); in test_const_rvalue_get()
269 assert(test(one, std::move(v0))); in test_throws_for_all_value_categories()
270 assert(test(zero, std::move(v1))); in test_throws_for_all_value_categories()
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/M68k/Arith/
H A Dbitwise.ll9 ; CHECK-NEXT: move.b (11,%sp), %d0
10 ; CHECK-NEXT: move.b (7,%sp), %d1
12 ; CHECK-NEXT: move.l %d1, %d0
23 ; CHECK-NEXT: move.w (6,%sp), %d1
25 ; CHECK-NEXT: move.l %d1, %d0
49 ; CHECK-NEXT: move.l %d1, %d0
62 ; CHECK-NEXT: move.l %d1, %d0
86 ; CHECK-NEXT: move.l %d1, %d0
99 ; CHECK-NEXT: move.l %d1, %d0
245 ; CHECK-NEXT: move.l #0, %d0
[all …]
/llvm-project-15.0.7/llvm/test/MC/Disassembler/M68k/
H A Ddata.txt3 # CHECK: move.l %a1, %a0
8 # CHECK: move.w (%a2), %a0
11 # CHECK: move.w (%a1), %d2
14 # CHECK; move.w (%a2)+, %a4
17 # CHECK: move.w (%a0)+, %d2
20 # CHECK: move.w -(%sp), %a1
23 # CHECK: move.w -(%a6), %d7
26 # CHECK: move.w (12576,%a0), %a5
29 # CHECK: move.w (256,%sp), %d1
38 # CHECK: move.l $f0000000, %a5
[all …]
/llvm-project-15.0.7/libcxx/test/std/utilities/utility/forward/
H A Dmove.pass.cpp54 return std::move(y) == 42 in test_constexpr_move()
55 && std::move(cy) == 42 in test_constexpr_move()
56 && std::move(static_cast<int&&>(y)) == 42 in test_constexpr_move()
64 ASSERT_NOEXCEPT(std::move(x)); in main()
66 ASSERT_NOEXCEPT(std::move(cx)); in main()
68 ASSERT_NOEXCEPT(std::move(42)); in main()
83 A a3 = std::move(a); (void)a3; in main()
91 A a5 = std::move(ca); (void)a5; in main()
97 test(std::move(mo)); in main()
103 static_assert(std::move(y) == 42, ""); in main()
[all …]
/llvm-project-15.0.7/flang/lib/Parser/
H A Dparse-tree.cpp21 : kind{k}, names(std::move(n)) { in ImportStmt()
29 blocks.emplace_front(std::move(name), std::move(objects)); in CommonStmt()
53 std::move(*this), std::move(pr.name));
57 std::move(*this), std::move(pr.subscripts));
61 std::move(*this), std::move(*pr.imageSelector));
119 return std::move(x); in WithSource()
158 MakeArrayElementRef(std::move(pcr.v.thing), std::move(args))); in ConvertToArrayElementRef()
178 return StructureConstructor{std::move(spec), std::move(components)}; in ConvertToStructureConstructor()
191 return StructureConstructor{std::move(spec), std::move(components)}; in ConvertToStructureConstructor()
231 std::move(actuals)})}; in ConvertToAssignment()
[all …]

12345678910>>...165