Home
last modified time | relevance | path

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

12345678910>>...167

/external/clang/test/SemaCXX/
Dwarn-pessmizing-move.cpp11 template <class T> typename remove_reference<T>::type &&move(T &&t);
25 return std::move(a1); in test1()
26 return std::move(a2); in test1()
38 return std::move(a1); in test2()
39 return std::move(a2); in test2()
44 return std::move(b1); in test2()
45 return std::move(b2); in test2()
56 return std::move(global_a); in test3()
59 return std::move(static_a); in test3()
67 return std::move(A()); in test4()
[all …]
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()
25 global = std::move(global); // expected-warning{{explicitly moving}} in global_int_test()
26 (global) = std::move(global); // expected-warning{{explicitly moving}} in global_int_test()
28 using std::move; in global_int_test()
29 global = move(global); // expected-warning{{explicitly moving}} in global_int_test()
35 x = std::move(x); // expected-warning{{explicitly moving}} in field_test()
[all …]
Dwarn-redundant-move.cpp12 template <class T> typename remove_reference<T>::type &&move(T &&t);
24 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()
[all …]
/external/v8/src/compiler/
Dgap-resolver.cc22 inline bool Blocks(MoveOperands* move, InstructionOperand destination) { in Blocks() argument
23 return !move->IsEliminated() && move->source().InterferesWith(destination); in Blocks()
30 MoveOperands* Split(MoveOperands* move, MachineRepresentation smaller_rep, in Split() argument
35 const LocationOperand& src_loc = LocationOperand::cast(move->source()); in Split()
36 const LocationOperand& dst_loc = LocationOperand::cast(move->destination()); in Split()
71 move->set_source(AllocatedOperand(src_kind, smaller_rep, src_index)); in Split()
72 move->set_destination(AllocatedOperand(dst_kind, smaller_rep, dst_index)); in Split()
81 return move; in Split()
91 MoveOperands* move = (*moves)[i]; in Resolve() local
92 if (move->IsRedundant()) { in Resolve()
[all …]
Dmove-optimizer.cc120 for (MoveOperands* move : *moves) { in FindFirstNonEmptySlot()
121 if (!move->IsRedundant()) return i; in FindFirstNonEmptySlot()
122 move->Eliminate(); in FindFirstNonEmptySlot()
194 for (MoveOperands* move : *moves) { in RemoveClobberedDestinations()
195 if (outputs.ContainsOpOrAlias(move->destination()) && in RemoveClobberedDestinations()
196 !inputs.ContainsOpOrAlias(move->destination())) { in RemoveClobberedDestinations()
197 move->Eliminate(); in RemoveClobberedDestinations()
204 for (MoveOperands* move : *moves) { in RemoveClobberedDestinations()
205 if (!inputs.ContainsOpOrAlias(move->destination())) { in RemoveClobberedDestinations()
206 move->Eliminate(); in RemoveClobberedDestinations()
[all …]
/external/python/cpython2/Modules/_ctypes/libffi/src/m68k/
Dsysv.S64 move.l %d2,-(%sp)
71 move.l 8(%fp),-(%sp)
82 move.l %d0,%a1
84 move.l %a0,%a1
88 move.l 24(%fp),%a0
95 move.l 20(%fp),%a1
98 move.l 16(%fp),%d2
111 move.l %d0,(%a1)
117 move.l %d0,(%a1)
118 move.l %d1,4(%a1)
[all …]
/external/python/cpython3/Modules/_ctypes/libffi/src/m68k/
Dsysv.S64 move.l %d2,-(%sp)
71 move.l 8(%fp),-(%sp)
82 move.l %d0,%a1
84 move.l %a0,%a1
88 move.l 24(%fp),%a0
95 move.l 20(%fp),%a1
98 move.l 16(%fp),%d2
111 move.l %d0,(%a1)
117 move.l %d0,(%a1)
118 move.l %d1,4(%a1)
[all …]
/external/libffi/src/m68k/
Dsysv.S64 move.l %d2,-(%sp)
71 move.l 8(%fp),-(%sp)
82 move.l %d0,%a1
84 move.l %a0,%a1
88 move.l 24(%fp),%a0
95 move.l 20(%fp),%a1
98 move.l 16(%fp),%d2
111 move.l %d0,(%a1)
117 move.l %d0,(%a1)
118 move.l %d1,4(%a1)
[all …]
/external/llvm/test/CodeGen/Mips/llvm-ir/
Dor.ll30 ; MM: move $2, $[[T0]]
45 ; MM: move $2, $[[T0]]
60 ; MM: move $2, $[[T0]]
77 ; MM32: move $2, $[[T0]]
97 ; MM32: move $2, $[[T0]]
98 ; MM32: move $3, $[[T1]]
142 ; ALL: move $2, $4
183 ; GP32: move $2, $4
188 ; MM32: move $2, $4
201 ; GP32: move $2, $4
[all …]
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.elem/
Dget_const_rv.pass.cpp33 static_assert(std::is_same<const int&&, decltype(std::get<0>(std::move(t)))>::value, ""); in main()
34 static_assert(noexcept(std::get<0>(std::move(t))), ""); in main()
35 const int&& i = std::get<0>(std::move(t)); in main()
42 … static_assert(std::is_same<const std::string&&, decltype(std::get<0>(std::move(t)))>::value, ""); in main()
43 static_assert(noexcept(std::get<0>(std::move(t))), ""); in main()
44 static_assert(std::is_same<const int&&, decltype(std::get<1>(std::move(t)))>::value, ""); in main()
45 static_assert(noexcept(std::get<1>(std::move(t))), ""); in main()
46 const std::string&& s = std::get<0>(std::move(t)); in main()
47 const int&& i = std::get<1>(std::move(t)); in main()
56 static_assert(std::is_same<int&, decltype(std::get<0>(std::move(p)))>::value, ""); in main()
[all …]
/external/libcxx/test/std/utilities/variant/variant.get/
Dget_type.pass.cpp81 const V v(std::move(x)); in test_const_lvalue_get()
88 const V v(std::move(x)); in test_const_lvalue_get()
128 V v(std::move(x)); in test_lvalue_get()
135 V v(std::move(x)); in test_lvalue_get()
146 ASSERT_NOT_NOEXCEPT(std::get<int>(std::move(v))); in test_rvalue_get()
147 ASSERT_SAME_TYPE(decltype(std::get<int>(std::move(v))), int &&); in test_rvalue_get()
148 assert(std::get<int>(std::move(v)) == 42); in test_rvalue_get()
153 ASSERT_SAME_TYPE(decltype(std::get<const long>(std::move(v))), in test_rvalue_get()
155 assert(std::get<const long>(std::move(v)) == 42); in test_rvalue_get()
163 ASSERT_SAME_TYPE(decltype(std::get<int &>(std::move(v))), int &); in test_rvalue_get()
[all …]
Dget_index.pass.cpp87 const V v(std::move(x)); in test_const_lvalue_get()
94 const V v(std::move(x)); in test_const_lvalue_get()
134 V v(std::move(x)); in test_lvalue_get()
141 V v(std::move(x)); in test_lvalue_get()
152 ASSERT_NOT_NOEXCEPT(std::get<0>(std::move(v))); in test_rvalue_get()
153 ASSERT_SAME_TYPE(decltype(std::get<0>(std::move(v))), int &&); in test_rvalue_get()
154 assert(std::get<0>(std::move(v)) == 42); in test_rvalue_get()
159 ASSERT_SAME_TYPE(decltype(std::get<1>(std::move(v))), const long &&); in test_rvalue_get()
160 assert(std::get<1>(std::move(v)) == 42); in test_rvalue_get()
168 ASSERT_SAME_TYPE(decltype(std::get<0>(std::move(v))), int &); in test_rvalue_get()
[all …]
/external/libcxx/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/
Dconstruct_piecewise_pair.pass.cpp47 A.construct(ptr, std::piecewise_construct, std::move(ttuple), std::move(utuple)); in doTest()
64 std::move(ttuple), std::move(utuple)))); in test_pmr_uses_allocator()
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()
111 std::tuple<int&, double&&> t2(x, std::move(dx)); in main()
112 test_pmr_uses_allocator<ERT>( t1, std::move(t2)); in main()
113 test_pmr_uses_allocator<ERT>(std::move(t2), t1); in main()
114 test_pmr_uses_allocator<PMR>( t1, std::move(t2)); in main()
115 test_pmr_uses_allocator<PMR>(std::move(t2), t1); in main()
[all …]
/external/valgrind/memcheck/tests/amd64/
Dinsn-pcmpistri.stderr.exp1 Conditional jump or move depends on uninitialised value(s)
7 Conditional jump or move depends on uninitialised value(s)
12 Conditional jump or move depends on uninitialised value(s)
18 Conditional jump or move depends on uninitialised value(s)
23 Conditional jump or move depends on uninitialised value(s)
29 Conditional jump or move depends on uninitialised value(s)
34 Conditional jump or move depends on uninitialised value(s)
40 Conditional jump or move depends on uninitialised value(s)
45 Conditional jump or move depends on uninitialised value(s)
51 Conditional jump or move depends on uninitialised value(s)
[all …]
/external/llvm/test/CodeGen/Mips/
Dcall-optimization.ll11 ; O32-DAG: move $gp
13 ; O32-NOT: move $gp
15 ; O32-NOT: move $gp
17 ; O32-NOT: move $gp
19 ; O32-NOT: move $gp
24 ; O32-LOADTGT-DAG: move $gp
26 ; O32-LOADTGT-NOT: move $gp
27 ; O32-LOADTGT: move $25
28 ; O32-LOADTGT-NOT: move $gp
30 ; O32-LOADTGT-NOT: move $gp
[all …]
/external/libcxx/test/std/utilities/utility/forward/
Dmove.pass.cpp57 return std::move(y) == 42 in test_constexpr_move()
58 && std::move(cy) == 42 in test_constexpr_move()
59 && std::move(static_cast<int&&>(y)) == 42 in test_constexpr_move()
60 && std::move(static_cast<int const&&>(y)) == 42; in test_constexpr_move()
69 static_assert(std::is_same<decltype(std::move(x)), int&&>::value, ""); in main()
70 static_assert(noexcept(std::move(x)), ""); in main()
71 static_assert(std::is_same<decltype(std::move(cx)), const int&&>::value, ""); in main()
72 static_assert(noexcept(std::move(cx)), ""); in main()
73 static_assert(std::is_same<decltype(std::move(42)), int&&>::value, ""); in main()
74 static_assert(noexcept(std::move(42)), ""); in main()
[all …]
/external/libcxx/test/std/utilities/utility/pairs/pair.astuple/
Dpairs.by.type.pass.cpp41 upint p = std::get<upint>(std::move(t)); // get rvalue in main()
49 static_assert(std::is_same<const upint&&, decltype(std::get<upint>(std::move(t)))>::value, ""); in main()
50 static_assert(noexcept(std::get<upint>(std::move(t))), ""); in main()
51 static_assert(std::is_same<const int&&, decltype(std::get<int>(std::move(t)))>::value, ""); in main()
52 static_assert(noexcept(std::get<int>(std::move(t))), ""); in main()
53 auto&& p = std::get<upint>(std::move(t)); // get const rvalue in main()
54 auto&& i = std::get<int>(std::move(t)); // get const rvalue in main()
64 static_assert(std::is_same<int&, decltype(std::get<int&>(std::move(p)))>::value, ""); in main()
65 static_assert(noexcept(std::get<int&>(std::move(p))), ""); in main()
66 … static_assert(std::is_same<int const&, decltype(std::get<int const&>(std::move(p)))>::value, ""); in main()
[all …]
Dget_const_rv.pass.cpp32 …static_assert(std::is_same<const std::unique_ptr<int>&&, decltype(std::get<0>(std::move(p)))>::val… in main()
33 static_assert(noexcept(std::get<0>(std::move(p))), ""); in main()
34 const std::unique_ptr<int>&& ptr = std::get<0>(std::move(p)); in main()
42 static_assert(std::is_same<int&, decltype(std::get<0>(std::move(p)))>::value, ""); in main()
43 static_assert(noexcept(std::get<0>(std::move(p))), ""); in main()
44 static_assert(std::is_same<int const&, decltype(std::get<1>(std::move(p)))>::value, ""); in main()
45 static_assert(noexcept(std::get<1>(std::move(p))), ""); in main()
51 std::pair<int&&, int const&&> const p(std::move(x), std::move(y)); in main()
52 static_assert(std::is_same<int&&, decltype(std::get<0>(std::move(p)))>::value, ""); in main()
53 static_assert(noexcept(std::get<0>(std::move(p))), ""); in main()
[all …]
/external/pdfium/xfa/fxfa/fm2js/
Dcxfa_fmparser.cpp38 1, true, L"", std::move(arguments), std::move(expressions)); in Parse()
85 expressions.push_back(std::move(expr)); in ParseTopExpression()
150 line, false, ident, std::move(arguments), std::move(expressions)); in ParseFunction()
234 return pdfium::MakeUnique<CXFA_FMVarExpression>(line, ident, std::move(expr)); in ParseVarExpression()
258 line, TOKassign, std::move(pExp1), std::move(pExp2)); in ParseSimpleExpression()
272 return pdfium::MakeUnique<CXFA_FMExpExpression>(line, std::move(pExp1)); in ParseExpExpression()
299 line, TOKor, std::move(e1), std::move(e2)); in ParseLogicalOrExpression()
333 line, TOKand, std::move(e1), std::move(e2)); in ParseLogicalAndExpression()
367 line, TOKeq, std::move(e1), std::move(e2)); in ParseEqualityExpression()
379 line, TOKne, std::move(e1), std::move(e2)); in ParseEqualityExpression()
[all …]
/external/swiftshader/third_party/subzero/tests_lit/llvm2ice_tests/
Dvector-select.ll46 ; MIPS32: move [[T14:.*]],zero
47 ; MIPS32: move [[T15:.*]],zero
48 ; MIPS32: move [[T5]],zero
49 ; MIPS32: move [[T4]],zero
50 ; MIPS32: move [[T3]],a0
53 ; MIPS32: move [[T2]],[[T6]]
55 ; MIPS32: move [[T1]],[[T10]]
62 ; MIPS32: move [[T14]],a0
66 ; MIPS32: move [[T3]],[[T6]]
69 ; MIPS32: move [[T2]],[[T10]]
[all …]
/external/skqp/src/sksl/
DSkSLParser.cpp94 result.push_back(std::move(decl)); in file()
101 result.push_back(std::move(section)); in file()
110 result.push_back(std::move(decl)); in file()
137 fPushback = std::move(t); in pushback()
158 this->pushback(std::move(next)); in checkNext()
166 *result = std::move(next); in expect()
315 values.push_back(std::move(value)); in enumDeclaration()
332 values.push_back(std::move(value)); in enumDeclaration()
340 std::move(values))); in enumDeclaration()
386 parameters.push_back(std::move(parameter)); in declaration()
[all …]
/external/skia/src/sksl/
DSkSLParser.cpp94 result.push_back(std::move(decl)); in file()
101 result.push_back(std::move(section)); in file()
110 result.push_back(std::move(decl)); in file()
137 fPushback = std::move(t); in pushback()
158 this->pushback(std::move(next)); in checkNext()
166 *result = std::move(next); in expect()
315 values.push_back(std::move(value)); in enumDeclaration()
332 values.push_back(std::move(value)); in enumDeclaration()
340 std::move(values))); in enumDeclaration()
386 parameters.push_back(std::move(parameter)); in declaration()
[all …]
/external/llvm/unittests/ExecutionEngine/MCJIT/
DMCJITMultipleModuleTest.cpp97 createJIT(std::move(A)); in TEST_F()
98 TheJIT->addModule(std::move(B)); in TEST_F()
117 createJIT(std::move(A)); in TEST_F()
118 TheJIT->addModule(std::move(B)); in TEST_F()
138 createJIT(std::move(A)); in TEST_F()
139 TheJIT->addModule(std::move(B)); in TEST_F()
159 createJIT(std::move(A)); in TEST_F()
160 TheJIT->addModule(std::move(B)); in TEST_F()
180 createJIT(std::move(A)); in TEST_F()
181 TheJIT->addModule(std::move(B)); in TEST_F()
[all …]
/external/gptfdisk/
Dgptcurses.cc236 move(lineNum, 12); in ShowSpace()
238 move(lineNum, 24); in ShowSpace()
241 move(lineNum, 3); in ShowSpace()
243 move(lineNum, 12); in ShowSpace()
245 move(lineNum, 24); in ShowSpace()
247 move(lineNum, 50); in ShowSpace()
267 move(lineNum++, 0); in DisplayParts()
270 move(lineNum++, 0); in DisplayParts()
285 move(lineNum++, 0); in DisplayParts()
326 move(2, (COLS - 29) / 2); in ShowInfo()
[all …]
/external/libmojo/mojo/public/cpp/bindings/tests/
Dserialization_warning_unittest.cc35 nested_array[j] = ScopedHandle::From(std::move(pipe.handle1)); in CreateTestNestedHandleArray()
37 array[i] = std::move(nested_array); in CreateTestNestedHandleArray()
97 TestWarning(std::move(test_struct), in TEST_F()
102 test_struct->hdl = ScopedHandle::From(std::move(pipe.handle1)); in TEST_F()
104 TestWarning(std::move(test_struct), mojo::internal::VALIDATION_ERROR_NONE); in TEST_F()
111 TestWarning(std::move(test_struct), in TEST_F()
117 TestWarning(std::move(test_struct), mojo::internal::VALIDATION_ERROR_NONE); in TEST_F()
124 TestWarning(std::move(test_struct), in TEST_F()
130 TestWarning(std::move(test_struct), mojo::internal::VALIDATION_ERROR_NONE); in TEST_F()
136 TestWarning(std::move(test_struct), mojo::internal::VALIDATION_ERROR_NONE); in TEST_F()
[all …]

12345678910>>...167