Home
last modified time | relevance | path

Searched refs:auto_ptr (Results 1 – 25 of 74) sorted by relevance

123

/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/MemCpyOpt/
Dloadstore-sret.ll7 %"class.std::auto_ptr" = type { i32* }
10 define void @_Z3foov(%"class.std::auto_ptr"* noalias nocapture sret %agg.result) ssp {
12 %temp.lvalue = alloca %"class.std::auto_ptr", align 8
13 ; CHECK: call void @_Z3barv(%"class.std::auto_ptr"* sret %agg.result)
14 call void @_Z3barv(%"class.std::auto_ptr"* sret %temp.lvalue)
15 …%tmp.i.i = getelementptr inbounds %"class.std::auto_ptr", %"class.std::auto_ptr"* %temp.lvalue, i6…
18 …%tmp.i.i4 = getelementptr inbounds %"class.std::auto_ptr", %"class.std::auto_ptr"* %agg.result, i6…
25 declare void @_Z3barv(%"class.std::auto_ptr"* nocapture sret) nounwind
/external/llvm/test/Transforms/MemCpyOpt/
Dloadstore-sret.ll7 %"class.std::auto_ptr" = type { i32* }
10 define void @_Z3foov(%"class.std::auto_ptr"* noalias nocapture sret %agg.result) ssp {
12 %temp.lvalue = alloca %"class.std::auto_ptr", align 8
13 ; CHECK: call void @_Z3barv(%"class.std::auto_ptr"* sret %agg.result)
14 call void @_Z3barv(%"class.std::auto_ptr"* sret %temp.lvalue)
15 …%tmp.i.i = getelementptr inbounds %"class.std::auto_ptr", %"class.std::auto_ptr"* %temp.lvalue, i6…
18 …%tmp.i.i4 = getelementptr inbounds %"class.std::auto_ptr", %"class.std::auto_ptr"* %agg.result, i6…
25 declare void @_Z3barv(%"class.std::auto_ptr"* nocapture sret) nounwind
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/DeadStoreElimination/
D2011-09-06-EndOfFunction.ll6 %"class.std::auto_ptr" = type { i32* }
9 define void @_Z3foov(%"class.std::auto_ptr"* noalias nocapture sret %agg.result) uwtable ssp {
11 %temp.lvalue = alloca %"class.std::auto_ptr", align 8
12 call void @_Z3barv(%"class.std::auto_ptr"* sret %temp.lvalue)
13 …%_M_ptr.i.i = getelementptr inbounds %"class.std::auto_ptr", %"class.std::auto_ptr"* %temp.lvalue,…
17 …%_M_ptr.i.i4 = getelementptr inbounds %"class.std::auto_ptr", %"class.std::auto_ptr"* %agg.result,…
23 declare void @_Z3barv(%"class.std::auto_ptr"* sret)
/external/llvm/test/Transforms/DeadStoreElimination/
D2011-09-06-EndOfFunction.ll6 %"class.std::auto_ptr" = type { i32* }
9 define void @_Z3foov(%"class.std::auto_ptr"* noalias nocapture sret %agg.result) uwtable ssp {
11 %temp.lvalue = alloca %"class.std::auto_ptr", align 8
12 call void @_Z3barv(%"class.std::auto_ptr"* sret %temp.lvalue)
13 …%_M_ptr.i.i = getelementptr inbounds %"class.std::auto_ptr", %"class.std::auto_ptr"* %temp.lvalue,…
17 …%_M_ptr.i.i4 = getelementptr inbounds %"class.std::auto_ptr", %"class.std::auto_ptr"* %agg.result,…
23 declare void @_Z3barv(%"class.std::auto_ptr"* sret)
/external/swiftshader/third_party/LLVM/test/Transforms/MemCpyOpt/
Dloadstore-sret.ll7 %"class.std::auto_ptr" = type { i32* }
10 define void @_Z3foov(%"class.std::auto_ptr"* noalias nocapture sret %agg.result) ssp {
12 %temp.lvalue = alloca %"class.std::auto_ptr", align 8
13 ; CHECK: call void @_Z3barv(%"class.std::auto_ptr"* sret %agg.result)
14 call void @_Z3barv(%"class.std::auto_ptr"* sret %temp.lvalue)
15 %tmp.i.i = getelementptr inbounds %"class.std::auto_ptr"* %temp.lvalue, i64 0, i32 0
18 %tmp.i.i4 = getelementptr inbounds %"class.std::auto_ptr"* %agg.result, i64 0, i32 0
25 declare void @_Z3barv(%"class.std::auto_ptr"* sret)
/external/swiftshader/third_party/LLVM/test/Transforms/DeadStoreElimination/
D2011-09-06-EndOfFunction.ll6 %"class.std::auto_ptr" = type { i32* }
9 define void @_Z3foov(%"class.std::auto_ptr"* noalias nocapture sret %agg.result) uwtable ssp {
11 %temp.lvalue = alloca %"class.std::auto_ptr", align 8
12 call void @_Z3barv(%"class.std::auto_ptr"* sret %temp.lvalue)
13 %_M_ptr.i.i = getelementptr inbounds %"class.std::auto_ptr"* %temp.lvalue, i64 0, i32 0
17 %_M_ptr.i.i4 = getelementptr inbounds %"class.std::auto_ptr"* %agg.result, i64 0, i32 0
23 declare void @_Z3barv(%"class.std::auto_ptr"* sret)
/external/clang/test/SemaCXX/
Dconversion-function.cpp248 struct auto_ptr { struct
251 auto_ptr(auto_ptr&);
252 auto_ptr(auto_ptr_ref);
253 explicit auto_ptr(int *);
259 X(auto_ptr);
263 X x(auto_ptr(new int)); in f()
264 return X(auto_ptr(new int)); in f()
267 auto_ptr foo();
/external/swiftshader/third_party/LLVM/tools/llvm-link/
Dllvm-link.cpp55 static inline std::auto_ptr<Module> LoadFile(const char *argv0, in LoadFile()
61 return std::auto_ptr<Module>(); in LoadFile()
70 if (Result) return std::auto_ptr<Module>(Result); // Load successful! in LoadFile()
73 return std::auto_ptr<Module>(); in LoadFile()
88 std::auto_ptr<Module> Composite(LoadFile(argv[0], in main()
97 std::auto_ptr<Module> M(LoadFile(argv[0], in main()
/external/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.ctor/
Dauto_pointer.pass.cpp53 using AP = std::auto_ptr<int>; in test_sfinae()
59 using AP = std::auto_ptr<A>; in test_sfinae()
68 std::auto_ptr<B> ap(p); in main()
79 std::auto_ptr<B> ap(p); in main()
92 std::auto_ptr<B>&&>::value, in main()
/external/libcxx/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.conv/
Dconvert_to_auto_ptr.pass.cpp23 std::auto_ptr<B>
26 return std::auto_ptr<B>(new B(1)); in source()
32 std::auto_ptr<A> ap2(source()); in test()
/external/libcxx/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.cons/
Dassignment.pass.cpp28 std::auto_ptr<A> ap1(p1); in test()
30 std::auto_ptr<A> ap2(p2); in test()
34 std::auto_ptr<A>& apr = ap2 = ap1; in test()
Dassignment.fail.cpp26 const std::auto_ptr<A> ap1(p1); in test()
28 std::auto_ptr<A> ap2(p2); in test()
32 std::auto_ptr<A>& apr = ap2 = ap1; in test()
Dconvert_assignment.pass.cpp28 std::auto_ptr<B> ap1(p1); in test()
30 std::auto_ptr<A> ap2(p2); in test()
35 std::auto_ptr<A>& apr = ap2 = ap1; in test()
Dconvert_assignment.fail.cpp26 const std::auto_ptr<B> ap1(p1); in test()
28 std::auto_ptr<A> ap2(p2); in test()
33 std::auto_ptr<A>& apr = ap2 = ap1; in test()
Dexplicit.fail.cpp26 std::auto_ptr<A> ap = p; in test()
32 std::auto_ptr<A> ap; in test()
Dpointer.pass.cpp28 std::auto_ptr<A> ap(p); in test()
34 std::auto_ptr<A> ap; in test()
Dcopy.pass.cpp28 std::auto_ptr<A> ap1(p); in test()
29 std::auto_ptr<A> ap2(ap1); in test()
Dcopy.fail.cpp26 const std::auto_ptr<A> ap1(p); in test()
27 std::auto_ptr<A> ap2(ap1); in test()
/external/clang/test/CodeGenCXX/
D2010-07-23-DeclLoc.cpp14 template<typename _Tp> class auto_ptr { class
18 auto_ptr(element_type* __p = 0) throw() : _M_ptr(__p) { } in auto_ptr() function in std::auto_ptr
78 std::auto_ptr< TRawSymbolOwnerData<SIZE> > data(new TRawSymbolOwnerData<SIZE>()); in create_symbol_owner_data_arch_specific()
79 std::auto_ptr< TExtendedMachOHeader<SIZE_AND_ENDIANNESS> > header; in create_symbol_owner_data_arch_specific()
/external/clang/test/Analysis/diagnostics/Inputs/include/
Dreport-issues-within-main-file.h2 class auto_ptr {
6 auto_ptr(_Tp* __p = 0) throw() : _M_ptr(__p) { } in throw()
7 ~auto_ptr() { delete _M_ptr; } in ~auto_ptr()
/external/libcxx/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.members/
Dreset.pass.cpp28 std::auto_ptr<A> ap(p); in test()
36 std::auto_ptr<A> ap(p); in test()
44 std::auto_ptr<A> ap(p); in test()
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.assign/
Dauto_ptr_Y.pass.cpp47 std::auto_ptr<A> pA(new A); in main()
64 std::auto_ptr<A> pA; in main()
81 std::auto_ptr<A> pA(new A); in main()
98 std::auto_ptr<A> pA; in main()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DRegAllocPBQP.cpp87 RegAllocPBQP(std::auto_ptr<PBQPBuilder> b, char *cPassID=0) in RegAllocPBQP()
123 std::auto_ptr<PBQPBuilder> builder;
192 std::auto_ptr<PBQPRAProblem> PBQPBuilder::build(MachineFunction *mf, in build()
202 std::auto_ptr<PBQPRAProblem> p(new PBQPRAProblem()); in build()
337 std::auto_ptr<PBQPRAProblem> PBQPBuilderWithCoalescing::build( in build()
343 std::auto_ptr<PBQPRAProblem> p = PBQPBuilder::build(mf, lis, loopInfo, vregs); in build()
678 std::auto_ptr<PBQPRAProblem> problem = in runOnMachineFunction()
701 std::auto_ptr<VirtRegRewriter> rewriter(createVirtRegRewriter()); in runOnMachineFunction()
709 std::auto_ptr<PBQPBuilder> builder, in createPBQPRegisterAllocator()
717 std::auto_ptr<PBQPBuilder>(new PBQPBuilderWithCoalescing())); in createDefaultPBQPRegisterAllocator()
[all …]
/external/libcxx/test/libcxx/depr/depr.auto.ptr/auto.ptr/
Dauto_ptr.depr_in_cxx11.fail.cpp36 typedef std::auto_ptr<int> AP; // expected-error{{'auto_ptr<int>' is deprecated}} in main()
37 typedef std::auto_ptr<void> APV; // expected-error{{'auto_ptr<void>' is deprecated}} in main()
/external/libcxx/test/std/depr/depr.auto.ptr/auto.ptr/
Delement_type.pass.cpp29 static_assert((std::is_same<typename std::auto_ptr<T>::element_type, T>::value), ""); in test()
30 std::auto_ptr<T> p; in test()

123