Home
last modified time | relevance | path

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

12345678910>>...76

/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 …]
Duninitialized.cpp10 template <class T> typename remove_reference<T>::type&& move(T&& t);
40 int o = std::move(o); // expected-warning {{variable 'o' is uninitialized when used within its own …
41 const int p = std::move(p); // expected-warning {{variable 'p' is uninitialized when used within it…
42 int q = moved(std::move(q)); // expected-warning {{variable 'q' is uninitialized when used within i…
43 int r = std::move((p ? q : (18, r))); // expected-warning {{variable 'r' is uninitialized when used…
74 …int o = std::move(o); // expected-warning {{variable 'o' is uninitialized when used within its ow… in test_stuff()
75 …const int p = std::move(p); // expected-warning {{variable 'p' is uninitialized when used within … in test_stuff()
76 …int q = moved(std::move(q)); // expected-warning {{variable 'q' is uninitialized when used within… in test_stuff()
77 …int r = std::move((p ? q : (18, r))); // expected-warning {{variable 'r' is uninitialized when use… in test_stuff()
108 …int o = std::move(o); // expected-warning {{variable 'o' is uninitialized when used within its ow… in test_stuff()
[all …]
/external/v8/src/compiler/
Dgap-resolver.cc17 inline bool Blocks(MoveOperands* move, InstructionOperand destination) { in Blocks() argument
18 return move->Blocks(destination); in Blocks()
22 inline bool IsRedundant(MoveOperands* move) { return move->IsRedundant(); } in IsRedundant() argument
32 for (auto move : *moves) { in Resolve()
33 if (!move->IsEliminated()) PerformMove(moves, move); in Resolve()
38 void GapResolver::PerformMove(ParallelMove* moves, MoveOperands* move) const { in PerformMove()
44 DCHECK(!move->IsPending()); in PerformMove()
45 DCHECK(!move->IsRedundant()); in PerformMove()
49 DCHECK(!move->source().IsInvalid()); // Or else it will look eliminated. in PerformMove()
50 InstructionOperand destination = move->destination(); in PerformMove()
[all …]
Dmove-optimizer.cc57 for (MoveOperands* move : *moves) { in GapsCanMoveOver()
58 if (operands.count(move->source()) > 0 || in GapsCanMoveOver()
59 operands.count(move->destination()) > 0) { in GapsCanMoveOver()
73 for (MoveOperands* move : *moves) { in FindFirstNonEmptySlot()
74 if (!move->IsRedundant()) return i; in FindFirstNonEmptySlot()
75 move->Eliminate(); in FindFirstNonEmptySlot()
129 for (MoveOperands* move : *right) { in CompressMoves()
130 if (move->IsRedundant()) continue; in CompressMoves()
131 MoveOperands* to_eliminate = left->PrepareInsertAfter(move); in CompressMoves()
141 for (MoveOperands* move : *right) { in CompressMoves()
[all …]
/external/v8/test/unittests/compiler/
Dmove-optimizer-unittest.cc24 for (auto move : *moves) { in NonRedundantSize()
25 if (move->IsRedundant()) continue; in NonRedundantSize()
34 for (auto move : *moves) { in Contains()
35 if (move->IsRedundant()) continue; in Contains()
36 if (move->source().Equals(from) && move->destination().Equals(to)) { in Contains()
100 auto move = last_instr->parallel_moves()[0]; in TEST_F() local
101 CHECK_EQ(1, NonRedundantSize(move)); in TEST_F()
102 CHECK(Contains(move, Reg(0), Reg(1))); in TEST_F()
124 auto move = last_instr->parallel_moves()[0]; in TEST_F() local
125 CHECK_EQ(1, NonRedundantSize(move)); in TEST_F()
[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 …]
Dsh-mem-vec256-plo-yes.stderr.exp67 Conditional jump or move depends on uninitialised value(s)
76 Conditional jump or move depends on uninitialised value(s)
85 Conditional jump or move depends on uninitialised value(s)
94 Conditional jump or move depends on uninitialised value(s)
103 Conditional jump or move depends on uninitialised value(s)
112 Conditional jump or move depends on uninitialised value(s)
121 Conditional jump or move depends on uninitialised value(s)
130 Conditional jump or move depends on uninitialised value(s)
139 Conditional jump or move depends on uninitialised value(s)
148 Conditional jump or move depends on uninitialised value(s)
[all …]
Dinsn-pmovmskb.stderr.exp1 Conditional jump or move depends on uninitialised value(s)
7 Conditional jump or move depends on uninitialised value(s)
13 Conditional jump or move depends on uninitialised value(s)
19 Conditional jump or move depends on uninitialised value(s)
25 Conditional jump or move depends on uninitialised value(s)
31 Conditional jump or move depends on uninitialised value(s)
37 Conditional jump or move depends on uninitialised value(s)
43 Conditional jump or move depends on uninitialised value(s)
49 Conditional jump or move depends on uninitialised value(s)
55 Conditional jump or move depends on uninitialised value(s)
[all …]
Dsh-mem-vec128-plo-yes.stderr.exp67 Conditional jump or move depends on uninitialised value(s)
76 Conditional jump or move depends on uninitialised value(s)
85 Conditional jump or move depends on uninitialised value(s)
94 Conditional jump or move depends on uninitialised value(s)
103 Conditional jump or move depends on uninitialised value(s)
112 Conditional jump or move depends on uninitialised value(s)
121 Conditional jump or move depends on uninitialised value(s)
130 Conditional jump or move depends on uninitialised value(s)
139 Conditional jump or move depends on uninitialised value(s)
148 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/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/clang/test/CXX/special/class.copy/
Dimplicit-move.cpp278 template<typename T> void move(T t) { t = static_cast<T&&>(t); } in move() function
280 template void move(F<A>);
281 template void move(F<B>); // expected-note {{in instantiation of}}
282 template void move(F<C>);
283 template void move(F<D>); // expected-note {{in instantiation of}}
284 template void move(G<A>);
285 template void move(G<B>);
286 template void move(G<C>);
287 template void move(G<D>);
288 template void move(H<A>);
[all …]
/external/llvm/tools/llvm-cov/
DSourceCoverageView.h33 : Region(Region), View(std::move(View)) {} in ExpansionView()
35 : Region(std::move(RHS.Region)), View(std::move(RHS.View)) {} in ExpansionView()
37 Region = std::move(RHS.Region);
38 View = std::move(RHS.View);
59 : FunctionName(FunctionName), Line(Line), View(std::move(View)) {} in InstantiationView()
61 : FunctionName(std::move(RHS.FunctionName)), Line(std::move(RHS.Line)), in InstantiationView()
62 View(std::move(RHS.View)) {} in InstantiationView()
64 FunctionName = std::move(RHS.FunctionName);
65 Line = std::move(RHS.Line);
66 View = std::move(RHS.View);
[all …]
/external/llvm/examples/Kaleidoscope/Chapter5/
Dtoy.cpp146 : Op(Op), LHS(std::move(LHS)), RHS(std::move(RHS)) {} in BinaryExprAST()
158 : Callee(Callee), Args(std::move(Args)) {} in CallExprAST()
169 : Cond(std::move(Cond)), Then(std::move(Then)), Else(std::move(Else)) {} in IfExprAST()
182 : VarName(VarName), Start(std::move(Start)), End(std::move(End)), in ForExprAST()
183 Step(std::move(Step)), Body(std::move(Body)) {} in ForExprAST()
196 : Name(Name), Args(std::move(Args)) {} in PrototypeAST()
209 : Proto(std::move(Proto)), Body(std::move(Body)) {} in FunctionAST()
257 return std::move(Result); in ParseNumberExpr()
290 Args.push_back(std::move(Arg)); in ParseIdentifierExpr()
306 return llvm::make_unique<CallExprAST>(IdName, std::move(Args)); in ParseIdentifierExpr()
[all …]
/external/valgrind/memcheck/tests/common/
Dsh-mem-vec128-plo-yes.stderr.exp-32bit-le67 Conditional jump or move depends on uninitialised value(s)
76 Conditional jump or move depends on uninitialised value(s)
85 Conditional jump or move depends on uninitialised value(s)
94 Conditional jump or move depends on uninitialised value(s)
103 Conditional jump or move depends on uninitialised value(s)
112 Conditional jump or move depends on uninitialised value(s)
121 Conditional jump or move depends on uninitialised value(s)
130 Conditional jump or move depends on uninitialised value(s)
139 Conditional jump or move depends on uninitialised value(s)
148 Conditional jump or move depends on uninitialised value(s)
[all …]
Dsh-mem-vec128-plo-yes.stderr.exp-64bit-le67 Conditional jump or move depends on uninitialised value(s)
76 Conditional jump or move depends on uninitialised value(s)
85 Conditional jump or move depends on uninitialised value(s)
94 Conditional jump or move depends on uninitialised value(s)
103 Conditional jump or move depends on uninitialised value(s)
112 Conditional jump or move depends on uninitialised value(s)
121 Conditional jump or move depends on uninitialised value(s)
130 Conditional jump or move depends on uninitialised value(s)
139 Conditional jump or move depends on uninitialised value(s)
148 Conditional jump or move depends on uninitialised value(s)
[all …]
/external/valgrind/memcheck/tests/x86/
Dsh-mem-vec128-plo-yes.stderr.exp67 Conditional jump or move depends on uninitialised value(s)
76 Conditional jump or move depends on uninitialised value(s)
85 Conditional jump or move depends on uninitialised value(s)
94 Conditional jump or move depends on uninitialised value(s)
103 Conditional jump or move depends on uninitialised value(s)
112 Conditional jump or move depends on uninitialised value(s)
121 Conditional jump or move depends on uninitialised value(s)
130 Conditional jump or move depends on uninitialised value(s)
139 Conditional jump or move depends on uninitialised value(s)
148 Conditional jump or move depends on uninitialised value(s)
[all …]
/external/llvm/examples/Kaleidoscope/Chapter2/
Dtoy.cpp126 : Op(Op), LHS(std::move(LHS)), RHS(std::move(RHS)) {} in BinaryExprAST()
137 : Callee(Callee), Args(std::move(Args)) {} in CallExprAST()
149 : Name(Name), Args(std::move(Args)) {} in PrototypeAST()
160 : Proto(std::move(Proto)), Body(std::move(Body)) {} in FunctionAST()
206 return std::move(Result); in ParseNumberExpr()
239 Args.push_back(std::move(Arg)); in ParseIdentifierExpr()
255 return helper::make_unique<CallExprAST>(IdName, std::move(Args)); in ParseIdentifierExpr()
301 RHS = ParseBinOpRHS(TokPrec + 1, std::move(RHS)); in ParseBinOpRHS()
307 LHS = helper::make_unique<BinaryExprAST>(BinOp, std::move(LHS), in ParseBinOpRHS()
308 std::move(RHS)); in ParseBinOpRHS()
[all …]
/external/clang/lib/Driver/
DAction.cpp56 : Action(BindArchClass, std::move(Input)), ArchName(_ArchName) {} in BindArchAction()
62 : Action(CudaDeviceClass, std::move(Input)), GpuArchName(ArchName), in CudaDeviceAction()
69 : Action(CudaHostClass, std::move(Input)), DeviceActions(DeviceActions) {} in CudaHostAction()
80 : Action(Kind, std::move(Input), Type) {} in JobAction()
90 : JobAction(PreprocessJobClass, std::move(Input), OutputType) {} in PreprocessJobAction()
96 : JobAction(PrecompileJobClass, std::move(Input), OutputType) {} in PrecompileJobAction()
102 : JobAction(AnalyzeJobClass, std::move(Input), OutputType) {} in AnalyzeJobAction()
108 : JobAction(MigrateJobClass, std::move(Input), OutputType) {} in MigrateJobAction()
114 : JobAction(CompileJobClass, std::move(Input), OutputType) {} in CompileJobAction()
120 : JobAction(BackendJobClass, std::move(Input), OutputType) {} in BackendJobAction()
[all …]
/external/llvm/unittests/ProfileData/
DInstrProfTest.cpp40 auto ReaderOrErr = IndexedInstrProfReader::create(std::move(Profile)); in readProfile()
42 Reader = std::move(ReaderOrErr.get()); in readProfile()
48 readProfile(std::move(Profile)); in TEST_F()
54 Writer.addRecord(std::move(Record)); in TEST_F()
56 readProfile(std::move(Profile)); in TEST_F()
73 Writer.addRecord(std::move(Record1)); in TEST_F()
74 Writer.addRecord(std::move(Record2)); in TEST_F()
76 readProfile(std::move(Profile)); in TEST_F()
100 Writer.addRecord(std::move(Record1)); in TEST_F()
101 Writer.addRecord(std::move(Record2)); in TEST_F()
[all …]
/external/libcxx/test/std/utilities/function.objects/func.invoke/
Dinvoke.pass.cpp60 int&& operator()(NonCopyable&&) && { return std::move(data); } in operator ()()
61 int const&& operator()(NonCopyable&&) const && { return std::move(data); } in operator ()()
62 int volatile&& operator()(NonCopyable&&) volatile && { return std::move(data); } in operator ()()
63 int const volatile&& operator()(NonCopyable&&) const volatile && { return std::move(data); } in operator ()()
91 std::invoke(func_ptr, std::forward<Functor>(f), std::move(arg)) in test_b12()
102 std::invoke(func_ptr, std::forward<Functor>(f), std::move(arg)); in test_b12()
135 std::invoke(std::forward<Functor>(f), std::move(arg)) in test_b5()
145 DeducedReturnType ret = std::invoke(std::forward<Functor>(f), std::move(arg)); in test_b5()
157 test_b12<int&&(NonCopyable&&) &&, int&&>(std::move(cl)); in bullet_one_two_tests()
158 test_b12<int const&&(NonCopyable&&) const &&, int const&&>(std::move(cl)); in bullet_one_two_tests()
[all …]
/external/valgrind/memcheck/tests/x86-solaris/
Dcontext_sse.stderr.exp1 Conditional jump or move depends on uninitialised value(s)
7 Conditional jump or move depends on uninitialised value(s)
13 Conditional jump or move depends on uninitialised value(s)
19 Conditional jump or move depends on uninitialised value(s)
25 Conditional jump or move depends on uninitialised value(s)
31 Conditional jump or move depends on uninitialised value(s)
37 Conditional jump or move depends on uninitialised value(s)
43 Conditional jump or move depends on uninitialised value(s)
49 Conditional jump or move depends on uninitialised value(s)
55 Conditional jump or move depends on uninitialised value(s)
[all …]

12345678910>>...76