Home
last modified time | relevance | path

Searched refs:CanMove (Results 1 – 2 of 2) sorted by relevance

/external/libcxx/test/std/utilities/utility/pairs/pairs.pair/
Dspecial_member_generation_test.pass.cpp33 template <class T1, bool CanCopy = true, bool CanMove = CanCopy> void test() { in test()
37 static_assert(std::is_move_constructible<P1>::value == CanMove, ""); in test()
39 static_assert(std::is_move_constructible<P2>::value == CanMove, ""); in test()
81 template <class T1, bool CanCopy = true, bool CanMove = CanCopy> void test() { in test()
85 static_assert(std::is_move_assignable<P1>::value == CanMove, ""); in test()
87 static_assert(std::is_move_assignable<P2>::value == CanMove, ""); in test()
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyRegStackify.cpp778 bool CanMove = SameBlock && IsSafeToMove(Def, Insert, AA, LIS, MRI) && in runOnMachineFunction() local
780 if (CanMove && HasOneUse(Reg, Def, MRI, MDT, LIS)) { in runOnMachineFunction()
786 } else if (CanMove && in runOnMachineFunction()
793 if (!CanMove && SameBlock) in runOnMachineFunction()