/external/llvm-project/libcxx/test/std/utilities/utility/pairs/pairs.pair/ |
D | special_member_generation_test.pass.cpp | 34 template <class T1, bool CanCopy = true, bool CanMove = CanCopy> void test() { in test() 38 static_assert(std::is_move_constructible<P1>::value == CanMove, ""); in test() 40 static_assert(std::is_move_constructible<P2>::value == CanMove, ""); in test() 82 template <class T1, bool CanCopy = true, bool CanMove = CanCopy> void test() { in test() 86 static_assert(std::is_move_assignable<P1>::value == CanMove, ""); in test() 88 static_assert(std::is_move_assignable<P2>::value == CanMove, ""); in test()
|
/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-project/llvm/unittests/ADT/ |
D | STLExtrasTest.cpp | 126 template <bool B> struct CanMove {}; struct 127 template <> struct CanMove<false> { struct 128 CanMove(CanMove &&) = delete; 130 CanMove() = default; 131 CanMove(const CanMove &) = default; 143 struct Range : CanMove<Moveable>, CanCopy<Copyable> { 146 Range(Range &&R) : CanMove<Moveable>(std::move(R)), C(R.C), M(R.M), D(R.D) { in Range()
|
/external/tensorflow/tensorflow/c/ |
D | tensor_interface.h | 51 virtual bool CanMove() const = 0;
|
D | tf_tensor_internal.h | 106 bool CanMove() const override;
|
D | tf_tensor.cc | 132 return t->tensor->CanMove() ? t : nullptr; in TF_TensorMaybeMove() 187 bool TensorInterface::CanMove() const { in CanMove() function in tensorflow::TensorInterface
|
/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()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyRegStackify.cpp | 857 bool CanMove = SameBlock && isSafeToMove(Def, Insert, AA, MRI) && in runOnMachineFunction() local 859 if (CanMove && hasOneUse(Reg, Def, MRI, MDT, LIS)) { in runOnMachineFunction() 865 } else if (CanMove && in runOnMachineFunction() 872 if (!CanMove && SameBlock) in runOnMachineFunction()
|
/external/llvm-project/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyRegStackify.cpp | 896 bool CanMove = SameBlock && in runOnMachineFunction() local 899 if (CanMove && hasOneUse(Reg, DefI, MRI, MDT, LIS)) { in runOnMachineFunction() 911 } else if (CanMove && oneUseDominatesOtherUses(Reg, Use, MBB, MRI, MDT, in runOnMachineFunction() 918 if (!CanMove && SameBlock) in runOnMachineFunction()
|