Home
last modified time | relevance | path

Searched refs:ptr1 (Results 1 – 25 of 470) sorted by relevance

12345678910>>...19

/external/pdfium/core/fxcrt/
Dweak_ptr_unittest.cpp39 WeakTestPtr ptr1; in TEST() local
40 EXPECT_FALSE(ptr1); in TEST()
43 EXPECT_TRUE(ptr1 == ptr2); in TEST()
44 EXPECT_FALSE(ptr1 != ptr2); in TEST()
46 WeakTestPtr ptr3(ptr1); in TEST()
47 EXPECT_TRUE(ptr1 == ptr3); in TEST()
48 EXPECT_FALSE(ptr1 != ptr3); in TEST()
50 WeakTestPtr ptr4 = ptr1; in TEST()
51 EXPECT_TRUE(ptr1 == ptr4); in TEST()
52 EXPECT_FALSE(ptr1 != ptr4); in TEST()
[all …]
Dunowned_ptr_unittest.cpp21 Clink* ptr1 = new Clink(); in DeleteDangling() local
23 ptr2->next_ = ptr1; in DeleteDangling()
24 delete ptr1; in DeleteDangling()
29 Clink* ptr1 = new Clink(); in AssignDangling() local
31 ptr2->next_ = ptr1; in AssignDangling()
32 delete ptr1; in AssignDangling()
38 Clink* ptr1 = new Clink(); in ReleaseDangling() local
40 ptr2->next_ = ptr1; in ReleaseDangling()
41 delete ptr1; in ReleaseDangling()
49 Clink* ptr1 = new Clink(); in TEST() local
[all …]
Dshared_copy_on_write_unittest.cpp61 SharedCopyOnWrite<Object> ptr1; in TEST() local
62 ptr1.Emplace(&observer, std::string("one")); in TEST()
64 SharedCopyOnWrite<Object> ptr2 = ptr1; in TEST()
69 SharedCopyOnWrite<Object> ptr3(ptr1); in TEST()
82 SharedCopyOnWrite<Object> ptr1; in TEST() local
83 ptr1.Emplace(&observer, std::string("one")); in TEST()
84 ptr1.Emplace(&observer, std::string("two")); in TEST()
96 SharedCopyOnWrite<Object> ptr1; in TEST() local
97 ptr1.Emplace(&observer, std::string("one")); in TEST()
98 SharedCopyOnWrite<Object> ptr2(ptr1); in TEST()
[all …]
/external/llvm/test/Bitcode/
DmemInstructions.3.2.ll27 %ptr1 = alloca i8
28 store i8 2, i8* %ptr1
30 ; CHECK: %res1 = load i8, i8* %ptr1
31 %res1 = load i8, i8* %ptr1
33 ; CHECK-NEXT: %res2 = load volatile i8, i8* %ptr1
34 %res2 = load volatile i8, i8* %ptr1
36 ; CHECK-NEXT: %res3 = load i8, i8* %ptr1, align 1
37 %res3 = load i8, i8* %ptr1, align 1
39 ; CHECK-NEXT: %res4 = load volatile i8, i8* %ptr1, align 1
40 %res4 = load volatile i8, i8* %ptr1, align 1
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Bitcode/
DmemInstructions.3.2.ll27 %ptr1 = alloca i8
28 store i8 2, i8* %ptr1
30 ; CHECK: %res1 = load i8, i8* %ptr1
31 %res1 = load i8, i8* %ptr1
33 ; CHECK-NEXT: %res2 = load volatile i8, i8* %ptr1
34 %res2 = load volatile i8, i8* %ptr1
36 ; CHECK-NEXT: %res3 = load i8, i8* %ptr1, align 1
37 %res3 = load i8, i8* %ptr1, align 1
39 ; CHECK-NEXT: %res4 = load volatile i8, i8* %ptr1, align 1
40 %res4 = load volatile i8, i8* %ptr1, align 1
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/SystemZ/
Dmemcpy-02.ll15 define void @f1(i8 *%ptr1) {
19 %ptr2 = getelementptr i8, i8 *%ptr1, i64 1
20 %val = load i8, i8 *%ptr1
26 define void @f2(i8 *%ptr1) {
30 %ptr2 = getelementptr i8, i8 *%ptr1, i64 1
31 %val = load i8, i8 *%ptr1
39 define void @f3(i8 *%ptr1) {
43 %ptr2 = getelementptr i8, i8 *%ptr1, i64 1
44 %val = load i8, i8 *%ptr1
52 define void @f4(i8 *%ptr1) {
[all …]
Dand-08.ll11 define void @f1(i8 *%ptr1) {
15 %ptr2 = getelementptr i8, i8 *%ptr1, i64 1
16 %val = load i8, i8 *%ptr1
24 define void @f2(i8 *%ptr1) {
28 %ptr2 = getelementptr i8, i8 *%ptr1, i64 1
29 %val = load i8, i8 *%ptr1
38 define void @f3(i8 *%ptr1) {
42 %ptr2 = getelementptr i8, i8 *%ptr1, i64 1
43 %val = load i8, i8 *%ptr1
54 define void @f4(i8 *%ptr1) {
[all …]
Dfp-conv-17.mir4 define void @f0(double* %ptr1, float* %ptr2) {
56 store volatile double %ext0, double* %ptr1
57 store volatile double %ext1, double* %ptr1
58 store volatile double %ext2, double* %ptr1
59 store volatile double %ext3, double* %ptr1
60 store volatile double %ext4, double* %ptr1
61 store volatile double %ext5, double* %ptr1
62 store volatile double %ext6, double* %ptr1
63 store volatile double %ext7, double* %ptr1
64 store volatile double %ext8, double* %ptr1
[all …]
Dor-08.ll6 define void @f1(i8 *%ptr1) {
10 %ptr2 = getelementptr i8, i8 *%ptr1, i64 1
11 %val = load i8, i8 *%ptr1
19 define void @f2(i16 *%ptr1) {
23 %ptr2 = getelementptr i16, i16 *%ptr1, i64 1
24 %val = load i16, i16 *%ptr1
32 define void @f3(i32 *%ptr1) {
36 %ptr2 = getelementptr i32, i32 *%ptr1, i64 1
37 %val = load i32, i32 *%ptr1
45 define void @f4(i64 *%ptr1) {
[all …]
Dxor-08.ll6 define void @f1(i8 *%ptr1) {
10 %ptr2 = getelementptr i8, i8 *%ptr1, i64 1
11 %val = load i8, i8 *%ptr1
19 define void @f2(i16 *%ptr1) {
23 %ptr2 = getelementptr i16, i16 *%ptr1, i64 1
24 %val = load i16, i16 *%ptr1
32 define void @f3(i32 *%ptr1) {
36 %ptr2 = getelementptr i32, i32 *%ptr1, i64 1
37 %val = load i32, i32 *%ptr1
45 define void @f4(i64 *%ptr1) {
[all …]
Dfp-conv-04.ll83 %ptr1 = getelementptr double, double *%base, i64 %index
84 %ptr2 = getelementptr double, double *%ptr1, i64 100
93 define void @f7(fp128 *%ptr1, double *%ptr2) {
151 store volatile fp128 %ext0, fp128 *%ptr1
152 store volatile fp128 %ext1, fp128 *%ptr1
153 store volatile fp128 %ext2, fp128 *%ptr1
154 store volatile fp128 %ext3, fp128 *%ptr1
155 store volatile fp128 %ext4, fp128 *%ptr1
156 store volatile fp128 %ext5, fp128 *%ptr1
157 store volatile fp128 %ext6, fp128 *%ptr1
[all …]
/external/llvm/test/CodeGen/SystemZ/
Dmemcpy-02.ll15 define void @f1(i8 *%ptr1) {
19 %ptr2 = getelementptr i8, i8 *%ptr1, i64 1
20 %val = load i8 , i8 *%ptr1
26 define void @f2(i8 *%ptr1) {
30 %ptr2 = getelementptr i8, i8 *%ptr1, i64 1
31 %val = load i8 , i8 *%ptr1
39 define void @f3(i8 *%ptr1) {
43 %ptr2 = getelementptr i8, i8 *%ptr1, i64 1
44 %val = load i8 , i8 *%ptr1
52 define void @f4(i8 *%ptr1) {
[all …]
Dand-08.ll11 define void @f1(i8 *%ptr1) {
15 %ptr2 = getelementptr i8, i8 *%ptr1, i64 1
16 %val = load i8 , i8 *%ptr1
24 define void @f2(i8 *%ptr1) {
28 %ptr2 = getelementptr i8, i8 *%ptr1, i64 1
29 %val = load i8 , i8 *%ptr1
38 define void @f3(i8 *%ptr1) {
42 %ptr2 = getelementptr i8, i8 *%ptr1, i64 1
43 %val = load i8 , i8 *%ptr1
54 define void @f4(i8 *%ptr1) {
[all …]
Dxor-08.ll6 define void @f1(i8 *%ptr1) {
10 %ptr2 = getelementptr i8, i8 *%ptr1, i64 1
11 %val = load i8 , i8 *%ptr1
19 define void @f2(i16 *%ptr1) {
23 %ptr2 = getelementptr i16, i16 *%ptr1, i64 1
24 %val = load i16 , i16 *%ptr1
32 define void @f3(i32 *%ptr1) {
36 %ptr2 = getelementptr i32, i32 *%ptr1, i64 1
37 %val = load i32 , i32 *%ptr1
45 define void @f4(i64 *%ptr1) {
[all …]
Dor-08.ll6 define void @f1(i8 *%ptr1) {
10 %ptr2 = getelementptr i8, i8 *%ptr1, i64 1
11 %val = load i8 , i8 *%ptr1
19 define void @f2(i16 *%ptr1) {
23 %ptr2 = getelementptr i16, i16 *%ptr1, i64 1
24 %val = load i16 , i16 *%ptr1
32 define void @f3(i32 *%ptr1) {
36 %ptr2 = getelementptr i32, i32 *%ptr1, i64 1
37 %val = load i32 , i32 *%ptr1
45 define void @f4(i64 *%ptr1) {
[all …]
Dfp-conv-02.ll68 %ptr1 = getelementptr float, float *%base, i64 %index
69 %ptr2 = getelementptr float, float *%ptr1, i64 100
77 define void @f7(double *%ptr1, float *%ptr2) {
135 store volatile double %ext0, double *%ptr1
136 store volatile double %ext1, double *%ptr1
137 store volatile double %ext2, double *%ptr1
138 store volatile double %ext3, double *%ptr1
139 store volatile double %ext4, double *%ptr1
140 store volatile double %ext5, double *%ptr1
141 store volatile double %ext6, double *%ptr1
[all …]
/external/libopus/silk/float/
DcorrMatrix_FLP.c48 const silk_float *ptr1; in silk_corrVector_FLP() local
50ptr1 = &x[ Order - 1 ]; /* Points to first sample of column 0 of X: X[:,0] */ in silk_corrVector_FLP()
53 Xt[ lag ] = (silk_float)silk_inner_product_FLP( ptr1, t, L ); in silk_corrVector_FLP()
54 ptr1--; /* Next column of X */ in silk_corrVector_FLP()
68 const silk_float *ptr1, *ptr2; in silk_corrMatrix_FLP() local
70 ptr1 = &x[ Order - 1 ]; /* First sample of column 0 of X */ in silk_corrMatrix_FLP()
71 energy = silk_energy_FLP( ptr1, L ); /* X[:,0]'*X[:,0] */ in silk_corrMatrix_FLP()
75 energy += ptr1[ -j ] * ptr1[ -j ] - ptr1[ L - j ] * ptr1[ L - j ]; in silk_corrMatrix_FLP()
82 energy = silk_inner_product_FLP( ptr1, ptr2, L ); in silk_corrMatrix_FLP()
87 energy += ptr1[ -j ] * ptr2[ -j ] - ptr1[ L - j ] * ptr2[ L - j ]; in silk_corrMatrix_FLP()
/external/libopus/silk/fixed/
DcorrMatrix_FIX.c50 const opus_int16 *ptr1, *ptr2; in silk_corrVector_FIX() local
53 ptr1 = &x[ order - 1 ]; /* Points to first sample of column 0 of X: X[:,0] */ in silk_corrVector_FIX()
61 … inner_prod = silk_ADD_RSHIFT32( inner_prod, silk_SMULBB( ptr1[ i ], ptr2[i] ), rshifts ); in silk_corrVector_FIX()
64 ptr1--; /* Go to next column of X */ in silk_corrVector_FIX()
69 Xt[ lag ] = silk_inner_prod_aligned( ptr1, ptr2, L, arch ); /* X[:,lag]'*t */ in silk_corrVector_FIX()
70 ptr1--; /* Go to next column of X */ in silk_corrVector_FIX()
88 const opus_int16 *ptr1, *ptr2; in silk_corrMatrix_FIX() local
104 ptr1 = &x[ order - 1 ]; /* First sample of column 0 of X */ in silk_corrMatrix_FIX()
106 …energy = silk_SUB32( energy, silk_RSHIFT32( silk_SMULBB( ptr1[ L - j ], ptr1[ L - j ] ), *rshifts … in silk_corrMatrix_FIX()
107 … energy = silk_ADD32( energy, silk_RSHIFT32( silk_SMULBB( ptr1[ -j ], ptr1[ -j ] ), *rshifts ) ); in silk_corrMatrix_FIX()
[all …]
/external/llvm/test/CodeGen/ARM/
Davoid-cpsr-rmw.ll23 define void @t2(i32* nocapture %ptr1, i32* %ptr2, i32 %c) nounwind {
32 %ptr1.addr.09 = phi i32* [ %add.ptr, %while.body ], [ %ptr1, %entry ]
34 %0 = load i32, i32* %ptr1.addr.09, align 4
35 %arrayidx1 = getelementptr inbounds i32, i32* %ptr1.addr.09, i32 1
37 %arrayidx3 = getelementptr inbounds i32, i32* %ptr1.addr.09, i32 2
39 %arrayidx4 = getelementptr inbounds i32, i32* %ptr1.addr.09, i32 3
41 %add.ptr = getelementptr inbounds i32, i32* %ptr1.addr.09, i32 4
56 define void @t3(i32* nocapture %ptr1, i32* %ptr2, i32 %c) nounwind minsize {
65 %ptr1.addr.09 = phi i32* [ %add.ptr, %while.body ], [ %ptr1, %entry ]
67 %0 = load i32, i32* %ptr1.addr.09, align 4
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/ARM/
Davoid-cpsr-rmw.ll23 define void @t2(i32* nocapture %ptr1, i32* %ptr2, i32 %c) nounwind {
32 %ptr1.addr.09 = phi i32* [ %add.ptr, %while.body ], [ %ptr1, %entry ]
34 %0 = load i32, i32* %ptr1.addr.09, align 4
35 %arrayidx1 = getelementptr inbounds i32, i32* %ptr1.addr.09, i32 1
37 %arrayidx3 = getelementptr inbounds i32, i32* %ptr1.addr.09, i32 2
39 %arrayidx4 = getelementptr inbounds i32, i32* %ptr1.addr.09, i32 3
41 %add.ptr = getelementptr inbounds i32, i32* %ptr1.addr.09, i32 4
56 define void @t3(i32* nocapture %ptr1, i32* %ptr2, i32 %c) nounwind minsize {
65 %ptr1.addr.09 = phi i32* [ %add.ptr, %while.body ], [ %ptr1, %entry ]
67 %0 = load i32, i32* %ptr1.addr.09, align 4
[all …]
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.spec/
Dswap.pass.cpp33 A* ptr1 = new A; in main() local
35 std::shared_ptr<A> p1(ptr1); in main()
42 assert(p2.get() == ptr1); in main()
51 A* ptr1 = new A; in main() local
53 std::shared_ptr<A> p1(ptr1); in main()
60 assert(p2.get() == ptr1); in main()
69 A* ptr1 = 0; in main() local
78 assert(p2.get() == ptr1); in main()
87 A* ptr1 = 0; in main() local
96 assert(p2.get() == ptr1); in main()
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.mod/
Dswap.pass.cpp33 A* ptr1 = new A; in main() local
35 std::shared_ptr<A> p1(ptr1); in main()
42 assert(p2.get() == ptr1); in main()
51 A* ptr1 = new A; in main() local
53 std::shared_ptr<A> p1(ptr1); in main()
60 assert(p2.get() == ptr1); in main()
69 A* ptr1 = 0; in main() local
78 assert(p2.get() == ptr1); in main()
87 A* ptr1 = 0; in main() local
96 assert(p2.get() == ptr1); in main()
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LoadStoreVectorizer/AMDGPU/
Dadjust-alloca-alignment.ll11 ; ALIGNED: load i8, i8 addrspace(5)* %ptr1, align 1{{$}}
16 %ptr1 = getelementptr inbounds i8, i8 addrspace(5)* %ptr0, i32 1
17 %val1 = load i8, i8 addrspace(5)* %ptr1, align 1
28 ; ALIGNED: load i16, i16 addrspace(5)* %ptr1, align 1{{$}}
33 %ptr1 = getelementptr inbounds i16, i16 addrspace(5)* %ptr0, i32 1
34 %val1 = load i16, i16 addrspace(5)* %ptr1, align 1
48 ; ALIGNED: load i32, i32 addrspace(5)* %ptr1, align 1
53 %ptr1 = getelementptr inbounds i32, i32 addrspace(5)* %ptr0, i32 1
54 %val1 = load i32, i32 addrspace(5)* %ptr1, align 1
74 %ptr1 = getelementptr inbounds i32, i32 addrspace(5)* %ptr0, i32 1
[all …]
/external/llvm/test/CodeGen/AMDGPU/
Dpromote-alloca-to-lds-select.ll16 ; CHECK: %ptr1 = getelementptr inbounds [16 x i32], [16 x i32] addrspace(3)* [[ARRAYGEP]], i32 0, i…
17 ; CHECK: %select = select i1 undef, i32 addrspace(3)* %ptr0, i32 addrspace(3)* %ptr1
22 %ptr1 = getelementptr inbounds [16 x i32], [16 x i32]* %alloca, i32 0, i32 %b
23 %select = select i1 undef, i32* %ptr0, i32* %ptr1
34 ; CHECK: %ptr1 = getelementptr inbounds i32, i32* %alloca1, i32 %b
35 ; CHECK: %select = select i1 undef, i32* %ptr0, i32* %ptr1
40 %ptr1 = getelementptr inbounds i32, i32* %alloca1, i32 %b
41 %select = select i1 undef, i32* %ptr0, i32* %ptr1
50 ; CHECK: %ptr1 = getelementptr inbounds [16 x i32], [16 x i32] addrspace(3)* [[ARRAYGEP]], i32 0, i…
51 ; CHECK: %select = select i1 undef, i32 addrspace(3)* %ptr0, i32 addrspace(3)* %ptr1
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AMDGPU/
Dpromote-alloca-to-lds-select.ll16 ; CHECK: %ptr1 = getelementptr inbounds [16 x i32], [16 x i32] addrspace(3)* [[ARRAYGEP]], i32 0, i…
17 ; CHECK: %select = select i1 undef, i32 addrspace(3)* %ptr0, i32 addrspace(3)* %ptr1
22 %ptr1 = getelementptr inbounds [16 x i32], [16 x i32]* %alloca, i32 0, i32 %b
23 %select = select i1 undef, i32* %ptr0, i32* %ptr1
34 ; CHECK: %ptr1 = getelementptr inbounds i32, i32* %alloca1, i32 %b
35 ; CHECK: %select = select i1 undef, i32* %ptr0, i32* %ptr1
40 %ptr1 = getelementptr inbounds i32, i32* %alloca1, i32 %b
41 %select = select i1 undef, i32* %ptr0, i32* %ptr1
50 ; CHECK: %ptr1 = getelementptr inbounds [16 x i32], [16 x i32] addrspace(3)* [[ARRAYGEP]], i32 0, i…
51 ; CHECK: %select = select i1 undef, i32 addrspace(3)* %ptr0, i32 addrspace(3)* %ptr1
[all …]

12345678910>>...19