Searched refs:CanMove (Results 1 – 2 of 2) sorted by relevance
/external/libcxx/test/std/utilities/utility/pairs/pairs.pair/ |
D | special_member_generation_test.pass.cpp | 33 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/ |
D | WebAssemblyRegStackify.cpp | 778 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()
|