Home
last modified time | relevance | path

Searched refs:Move (Results 1 – 25 of 197) sorted by relevance

12345678

/llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/
H A DMemberwiseConstructor.cpp125 Move, // Pass by value and std::move into place enumerator
169 ALWAYS(DependentName, Move); in considerField()
170 ALWAYS(UnresolvedUsing, Move); in considerField()
171 ALWAYS(TemplateTypeParm, Move); in considerField()
172 ALWAYS(TemplateSpecialization, Move); in considerField()
209 return Move; in considerClassValue()
241 if (Info.Action == Move) in buildCode()
244 if (Info.Action == Move) in buildCode()
H A DSpecialMembers.cpp30 const CXXMethodDecl *Move = nullptr; in buildSpecialMemberDeclarations() member
37 Assign.Move = M; in buildSpecialMemberDeclarations()
42 Ctor.Move = C; in buildSpecialMemberDeclarations()
62 PrintMember(M.Move, MemberPattern, /*ParmPattern=*/"{0}&&"); in buildSpecialMemberDeclarations()
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/tweaks/
H A DMemberwiseConstructorTests.cpp77 auto Move = HasSubstr(": Member(std::move(Member))"); in TEST_F() local
85 EXPECT_THAT(apply(With("MoveOnly")), Move); in TEST_F()
93 EXPECT_THAT(apply("template <typename T>" + With("T")), Move); in TEST_F()
95 Move); in TEST_F()
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/
H A Dundefined-memory-manipulation.cpp43 struct Move { struct
44 Move() {} in Move() function
45 Move(Move &&) {} in Move() argument
85 typedef types::Move Move2;
92 types::Move m; in notTriviallyCopyable()
/llvm-project-15.0.7/llvm/test/tools/llvm-ar/
H A Dmove-before.test8 # Move one file:
18 # Move file to front:
28 # Move multiple files:
39 # Move before invalid file:
51 # Move file to the same position:
61 # Move file after itself:
H A Dmove-after.test8 # Move one file:
18 # Move file to back:
28 # Move multiple files:
39 # Move after invalid file:
51 # Move file to the same position:
H A Dmove.test8 ## Move single member:
25 ## Move multiple members:
42 ## Move same member:
59 ## Move without member:
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/clang-analyzer/
H A Dcplusplus.Move.rst1 .. title:: clang-tidy - clang-analyzer-cplusplus.Move
5 clang-analyzer-cplusplus.Move
8 The clang-analyzer-cplusplus.Move check is an alias, please see
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_dense_map_test.cpp328 static int Move; member
337 CountCopyAndMove(CountCopyAndMove &&) { Move++; } in CountCopyAndMove()
339 Move++; in operator =()
344 int CountCopyAndMove::Move = 0; member in __anona16976e80111::__anona16976e80311::CountCopyAndMove
380 CountCopyAndMove::Move = 0; in TEST()
417 CountCopyAndMove::Move = 0; in TEST()
426 EXPECT_EQ(Size, CountCopyAndMove::Move); in TEST()
439 CountCopyAndMove::Move = 0; in TEST()
443 EXPECT_EQ(0, CountCopyAndMove::Move); in TEST()
460 CountCopyAndMove::Move = 0; in TEST()
[all …]
/llvm-project-15.0.7/llvm/unittests/ADT/
H A DDenseSetTest.cpp151 static int Move; member
167 Move++; in CountCopyAndMove()
171 Move++; in operator =()
176 int CountCopyAndMove::Move = 0; member in __anon09dd741f0111::CountCopyAndMove
209 CountCopyAndMove::Move = 0; in TEST()
215 EXPECT_EQ(Size, CountCopyAndMove::Move); in TEST()
H A DDenseMapTest.cpp335 static int Move; member
344 CountCopyAndMove(CountCopyAndMove &&) { Move++; } in CountCopyAndMove()
346 Move++; in operator =()
351 int CountCopyAndMove::Move = 0; member in __anon07952c110111::__anon07952c110211::CountCopyAndMove
388 CountCopyAndMove::Move = 0; in TEST()
426 CountCopyAndMove::Move = 0; in TEST()
434 EXPECT_EQ(Size, CountCopyAndMove::Move); in TEST()
448 CountCopyAndMove::Move = 0; in TEST()
452 EXPECT_EQ(0, CountCopyAndMove::Move); in TEST()
470 CountCopyAndMove::Move = 0; in TEST()
[all …]
H A DStringMapTest.cpp528 static unsigned Move; member
539 CountCtorCopyAndMove(CountCtorCopyAndMove &&) { Move++; } in CountCtorCopyAndMove()
541 Move++; in operator =()
546 unsigned CountCtorCopyAndMove::Move = 0; member in __anon7df7ecd90111::__anon7df7ecd90211::CountCtorCopyAndMove
559 CountCtorCopyAndMove::Move = 0; in TEST()
566 EXPECT_EQ((unsigned)Size * 2, CountCtorCopyAndMove::Move); in TEST()
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DHexagonVectorCombine.cpp578 if (Move.IsHvx != isHvx(Info)) in createLoadGroups()
598 Move.Main.push_back(Info.Inst); in createLoadGroups()
629 if (Move.IsHvx != isHvx(Info)) in createStoreGroups()
662 if (Move.IsLoad) { in move()
675 assert(Move.Deps.empty()); in move()
684 return Move.Main.size() + Move.Deps.size() > 1; in move()
689 if (!Move.IsHvx) in realignGroup()
715 std::set<Instruction *> TestSet(Move.Main.begin(), Move.Main.end()); in realignGroup()
735 Instruction *TopIn = Move.IsLoad ? Move.Main.front() : Move.Main.back(); in realignGroup()
787 if (Move.IsLoad) { in realignGroup()
[all …]
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DForwardingReferenceOverloadCheck.cpp131 bool Move = !DisabledMove || EnabledMove; in check() local
132 if (!Copy && !Move) in check()
137 << (Copy && Move ? 2 : (Copy ? 0 : 1)) << Copy + Move; in check()
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Dtailcallstack64.ll10 ; Move param %in1 to temp register (%r10d).
14 ; Move param %in2 to stack.
16 ; Move result of addition to stack.
H A Dtailccstack64.ll10 ; Move param %in1 to temp register (%r10d).
14 ; Move param %in2 to stack.
16 ; Move result of addition to stack.
H A D2010-02-19-TailCallRetAddrBug.ll11 ; Move return address (76(%esp)) to a temporary register (%ebp)
15 ; Move return address from temporary register (%ebp) to new stack location (60(%esp))
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DARMScheduleV6.td59 // Move instructions, unconditional
73 // Move instructions, conditional
194 // FP Special Register to Integer Register File Move
263 // Integer to Single-precision Move
266 // Integer to Double-precision Move
269 // Single-precision to Integer Move
272 // Double-precision to Integer Move
H A DARMScheduleA8.td66 // Move instructions, unconditional
80 // Move instructions, conditional
359 // Integer to Single-precision Move
364 // Integer to Double-precision Move
369 // Single-precision to Integer Move
374 // Double-precision to Integer Move
807 // Move
811 // Move Immediate
815 // Double-register Permute Move
819 // Quad-register Permute Move
[all …]
/llvm-project-15.0.7/libcxx/test/std/ranges/range.adaptors/range.lazy.split/
H A Dbase.pass.cpp40 Move, enumerator
52 …WithInitTracking(ViewWithInitTracking&& rhs) : v_(rhs.v_) { initialized_by = InitializedBy::Move; } in ViewWithInitTracking()
98 assert(result.initialized_by == View::InitializedBy::Move); in test()
/llvm-project-15.0.7/libcxx/test/std/utilities/utility/exchange/
H A Dexchange.pass.cpp41 template<bool Move, bool Assign>
45 TestNoexcept(TestNoexcept&&) noexcept(Move);
/llvm-project-15.0.7/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/
H A Dp5-0x.cpp189 MoveRef Move(int);
191 Value x = Move(0); in growTo()
192 Value y(Move(0)); in growTo()
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/bugprone/
H A Dexception-escape.rst10 * Move constructors
11 * Move assignment operators
/llvm-project-15.0.7/clang-tools-extra/clang-move/
H A DCMakeLists.txt7 Move.cpp
/llvm-project-15.0.7/libcxx/test/std/utilities/any/any.class/any.assign/
H A Dvalue.pass.cpp116 template <class Tp, bool Move = false>
122 Move ? lhs = std::move(rhs) in test_assign_throws()

12345678