Home
last modified time | relevance | path

Searched refs:APtr (Results 1 – 16 of 16) sorted by relevance

/llvm-project-15.0.7/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.ctor/
H A Dmove_convert.single.pass.cpp139 typedef std::unique_ptr<A> APtr; in test_noexcept() typedef
144 typedef std::unique_ptr<A, Deleter<A> > APtr; in test_noexcept() typedef
166 typedef std::unique_ptr<A> APtr; in main() typedef
171 APtr a(std::move(b)); in main()
178 APtr a = std::move(b); in main()
190 APtr a(std::move(b)); in main()
199 APtr a = std::move(b); in main()
212 APtr a(std::move(b)); in main()
220 APtr a = std::move(b); in main()
233 APtr a(std::move(b)); in main()
[all …]
H A Dmove.pass.cpp88 typedef std::unique_ptr<VT> APtr; in test_basic() typedef
89 APtr s(newValue<VT>(expect_alive)); in test_basic()
91 APtr s2 = std::move(s); in test_basic()
99 typedef std::unique_ptr<VT, MoveDel> APtr; in test_basic() typedef
101 APtr s(newValue<VT>(expect_alive), std::move(d)); in test_basic()
105 APtr s2 = std::move(s); in test_basic()
115 typedef std::unique_ptr<VT, NonCopyDel&> APtr; in test_basic() typedef
118 APtr s(newValue<VT>(expect_alive), d); in test_basic()
120 APtr s2 = std::move(s); in test_basic()
H A Dmove_convert.pass.cpp152 typedef std::unique_ptr<const VT> APtr; in test_noexcept() typedef
154 static_assert(std::is_nothrow_constructible<APtr, BPtr>::value, ""); in test_noexcept()
157 typedef std::unique_ptr<const VT, CDeleter<const VT> > APtr; in test_noexcept() typedef
159 static_assert(std::is_nothrow_constructible<APtr, BPtr>::value, ""); in test_noexcept()
162 typedef std::unique_ptr<const VT, NCDeleter<const VT>&> APtr; in test_noexcept() typedef
164 static_assert(std::is_nothrow_constructible<APtr, BPtr>::value, ""); in test_noexcept()
167 typedef std::unique_ptr<const VT, const NCConstDeleter<const VT>&> APtr; in test_noexcept() typedef
169 static_assert(std::is_nothrow_constructible<APtr, BPtr>::value, ""); in test_noexcept()
/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DSmallPtrSet.h130 for (const void **APtr = SmallArray, **E = SmallArray + NumNonEmpty; in insert_imp() local
131 APtr != E; ++APtr) { in insert_imp()
132 const void *Value = *APtr; in insert_imp()
134 return std::make_pair(APtr, false); in insert_imp()
136 LastTombstone = APtr; in insert_imp()
180 for (const void *const *APtr = SmallArray, in find_imp() local
181 *const *E = SmallArray + NumNonEmpty; APtr != E; ++APtr) in find_imp()
182 if (*APtr == Ptr) in find_imp()
183 return APtr; in find_imp()
/llvm-project-15.0.7/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.asgn/
H A Dmove_convert.pass.cpp289 typedef std::unique_ptr<const VT> APtr; in test_noexcept() typedef
291 static_assert(std::is_nothrow_assignable<APtr, BPtr>::value, ""); in test_noexcept()
294 typedef std::unique_ptr<const VT, CDeleter<const VT> > APtr; in test_noexcept() typedef
296 static_assert(std::is_nothrow_assignable<APtr, BPtr>::value, ""); in test_noexcept()
299 typedef std::unique_ptr<const VT, NCDeleter<const VT>&> APtr; in test_noexcept() typedef
301 static_assert(std::is_nothrow_assignable<APtr, BPtr>::value, ""); in test_noexcept()
304 typedef std::unique_ptr<const VT, const NCConstDeleter<const VT>&> APtr; in test_noexcept() typedef
306 static_assert(std::is_nothrow_assignable<APtr, BPtr>::value, ""); in test_noexcept()
H A Dmove_convert.runtime.pass.cpp24 template <class APtr, class BPtr>
25 void testAssign(APtr& aptr, BPtr& bptr) { in testAssign()
H A Dmove_convert.single.pass.cpp25 template <class APtr, class BPtr>
26 void testAssign(APtr& aptr, BPtr& bptr) { in testAssign()
/llvm-project-15.0.7/clang/test/Analysis/
H A Dpointer-to-member.cpp106 A *APtr = &a; in testPointerToMemberVirtualCall() local
109 clang_analyzer_eval((APtr->*AFP)() == 1); // expected-warning{{TRUE}} in testPointerToMemberVirtualCall()
111 APtr = &b; in testPointerToMemberVirtualCall()
113 clang_analyzer_eval((APtr->*AFP)() == 3); // expected-warning{{TRUE}} in testPointerToMemberVirtualCall()
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dusing-decl-templates.cpp91 template<typename T> using APtr = A<T*>; // expected-note{{previous use is here}} typedef
93 …template struct APtr<int>; // expected-error{{type alias template 'APtr' cannot be referenced with… variable
/llvm-project-15.0.7/llvm/test/Transforms/LoopVectorize/ARM/
H A Dvector_cast.ll13 define void @test0(%class.A* %StartPtr, %class.A* %APtr) {
24 %cmp.i = icmp eq %class.A* %incdec.ptr.i, %APtr
/llvm-project-15.0.7/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.enab/
H A Denable_shared_from_this.pass.cpp82 typedef std::shared_ptr<PrivateBase> APtr; in main() typedef
83 APtr a1 = std::make_shared<PrivateBase>(); in main()
/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DLoopVectorizationLegality.cpp436 Value *APtr = A->getPointerOperand(); in storeToSameAddress() local
438 if (APtr == BPtr) in storeToSameAddress()
442 if (SE->getSCEV(APtr) == SE->getSCEV(BPtr)) in storeToSameAddress()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DLoopAccessAnalysis.cpp1781 Value *APtr = A.getPointer(); in isDependent() local
1793 if (APtr->getType()->getPointerAddressSpace() != in isDependent()
1798 getPtrStride(PSE, ATy, APtr, InnermostLoop, Strides, true); in isDependent()
1802 const SCEV *Src = PSE.getSCEV(APtr); in isDependent()
1808 std::swap(APtr, BPtr); in isDependent()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLowerMatrixIntrinsics.cpp1486 Value *APtr = getNonAliasingPointer(LoadOp0, Store, MatMul); in emitSIMDTiling() local
1491 createTiledLoops(MatMul, APtr, LShape, BPtr, RShape, Store); in emitSIMDTiling()
1503 loadMatrix(APtr, LoadOp0->getAlign(), LoadOp0->isVolatile(), in emitSIMDTiling()
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Dmin-legal-vector-width.ll92 define dso_local void @pmaddwd_32_256(<32 x i16>* %APtr, <32 x i16>* %BPtr, <16 x i32>* %CPtr) "min…
103 %A = load <32 x i16>, <32 x i16>* %APtr
115 define dso_local void @pmaddwd_32_512(<32 x i16>* %APtr, <32 x i16>* %BPtr, <16 x i32>* %CPtr) "min…
123 %A = load <32 x i16>, <32 x i16>* %APtr
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaTemplateDeduction.cpp3373 if (const PointerType *APtr = A->getAs<PointerType>()) { in CheckOriginalCallArgDeduction() local
3377 A = APtr->getPointeeType(); in CheckOriginalCallArgDeduction()