Home
last modified time | relevance | path

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

/external/llvm-project/libcxx/test/std/utilities/utility/pairs/pairs.pair/
Dspecial_member_generation_test.pass.cpp34 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/
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-project/llvm/unittests/ADT/
DSTLExtrasTest.cpp126 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/
Dtensor_interface.h51 virtual bool CanMove() const = 0;
Dtf_tensor_internal.h106 bool CanMove() const override;
Dtf_tensor.cc132 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/
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()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyRegStackify.cpp857 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/
DWebAssemblyRegStackify.cpp896 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()