Home
last modified time | relevance | path

Searched refs:interleaved (Results 1 – 25 of 187) sorted by relevance

12345678

/external/webrtc/webrtc/modules/audio_processing/beamformer/
Dnonlinear_beamformer_test.cc68 std::vector<float> interleaved(in_buf.size()); in main() local
69 while (in_file.ReadSamples(interleaved.size(), in main()
70 &interleaved[0]) == interleaved.size()) { in main()
71 FloatS16ToFloat(&interleaved[0], interleaved.size(), &interleaved[0]); in main()
72 Deinterleave(&interleaved[0], in_buf.num_frames(), in main()
78 out_buf.num_channels(), &interleaved[0]); in main()
79 FloatToFloatS16(&interleaved[0], interleaved.size(), &interleaved[0]); in main()
80 out_file.WriteSamples(&interleaved[0], interleaved.size()); in main()
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/InterleavedAccess/AArch64/
Dinterleaved-accesses-extract-user.ll1 ; RUN: opt < %s -interleaved-access -S | FileCheck %s
20 %interleaved.vec = load <8 x i32>, <8 x i32>* %ptr, align 8
21 …%v0 = shufflevector <8 x i32> %interleaved.vec, <8 x i32> undef, <4 x i32> <i32 0, i32 2, i32 4, i…
25 %e0 = extractelement <8 x i32> %interleaved.vec, i32 2
47 %interleaved.vec = load <8 x i32>, <8 x i32>* %ptr, align 8
48 …%v0 = shufflevector <8 x i32> %interleaved.vec, <8 x i32> undef, <4 x i32> <i32 0, i32 2, i32 4, i…
52 %e0 = extractelement <8 x i32> %interleaved.vec, i32 0
56 %e1 = extractelement <8 x i32> %interleaved.vec, i32 2
66 %interleaved.vec = load <8 x i32>, <8 x i32>* %ptr, align 8
67 %e0 = extractelement <8 x i32> %interleaved.vec, i32 0
[all …]
Dinterleaved-accesses.ll1 ; RUN: opt < %s -interleaved-access -S | FileCheck %s -check-prefix=NEON
2 ; RUN: opt < %s -mattr=-neon -interleaved-access -S | FileCheck %s -check-prefix=NO_NEON
18 %interleaved.vec = load <16 x i8>, <16 x i8>* %ptr, align 4
19 …%v0 = shufflevector <16 x i8> %interleaved.vec, <16 x i8> undef, <8 x i32> <i32 0, i32 2, i32 4, i…
20 …%v1 = shufflevector <16 x i8> %interleaved.vec, <16 x i8> undef, <8 x i32> <i32 1, i32 3, i32 5, i…
36 %interleaved.vec = load <12 x i32>, <12 x i32>* %ptr, align 4
37 …%v0 = shufflevector <12 x i32> %interleaved.vec, <12 x i32> undef, <4 x i32> <i32 0, i32 3, i32 6,…
38 …%v1 = shufflevector <12 x i32> %interleaved.vec, <12 x i32> undef, <4 x i32> <i32 1, i32 4, i32 7,…
39 …%v2 = shufflevector <12 x i32> %interleaved.vec, <12 x i32> undef, <4 x i32> <i32 2, i32 5, i32 8,…
56 %interleaved.vec = load <16 x i32>, <16 x i32>* %ptr, align 4
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/InterleavedAccess/ARM/
Dinterleaved-accesses-extract-user.ll1 ; RUN: opt < %s -mattr=+neon -interleaved-access -S | FileCheck %s
20 %interleaved.vec = load <8 x i32>, <8 x i32>* %ptr, align 8
21 …%v0 = shufflevector <8 x i32> %interleaved.vec, <8 x i32> undef, <4 x i32> <i32 0, i32 2, i32 4, i…
25 %e0 = extractelement <8 x i32> %interleaved.vec, i32 2
47 %interleaved.vec = load <8 x i32>, <8 x i32>* %ptr, align 8
48 …%v0 = shufflevector <8 x i32> %interleaved.vec, <8 x i32> undef, <4 x i32> <i32 0, i32 2, i32 4, i…
52 %e0 = extractelement <8 x i32> %interleaved.vec, i32 0
56 %e1 = extractelement <8 x i32> %interleaved.vec, i32 2
66 %interleaved.vec = load <8 x i32>, <8 x i32>* %ptr, align 8
67 %e0 = extractelement <8 x i32> %interleaved.vec, i32 0
[all …]
Dinterleaved-accesses.ll1 ; RUN: opt < %s -mattr=+neon -interleaved-access -S | FileCheck %s -check-prefixes=NEON,ALL
2 ; RUN: opt < %s -interleaved-access -S | FileCheck %s -check-prefixes=NO_NEON,ALL
18 %interleaved.vec = load <16 x i8>, <16 x i8>* %ptr, align 4
19 …%v0 = shufflevector <16 x i8> %interleaved.vec, <16 x i8> undef, <8 x i32> <i32 0, i32 2, i32 4, i…
20 …%v1 = shufflevector <16 x i8> %interleaved.vec, <16 x i8> undef, <8 x i32> <i32 1, i32 3, i32 5, i…
36 %interleaved.vec = load <6 x i32>, <6 x i32>* %ptr, align 4
37 %v0 = shufflevector <6 x i32> %interleaved.vec, <6 x i32> undef, <2 x i32> <i32 0, i32 3>
38 %v1 = shufflevector <6 x i32> %interleaved.vec, <6 x i32> undef, <2 x i32> <i32 1, i32 4>
39 %v2 = shufflevector <6 x i32> %interleaved.vec, <6 x i32> undef, <2 x i32> <i32 2, i32 5>
56 %interleaved.vec = load <16 x i32>, <16 x i32>* %ptr, align 4
[all …]
/external/webrtc/webrtc/common_audio/include/
Daudio_util.h88 void Deinterleave(const T* interleaved, in Deinterleave() argument
96 channel[j] = interleaved[interleaved_idx]; in Deinterleave()
109 T* interleaved) { in Interleave() argument
114 interleaved[interleaved_idx] = channel[j]; in Interleave()
127 T* interleaved) { in UpmixMonoToInterleaved() argument
131 interleaved[interleaved_idx++] = mono[i]; in UpmixMonoToInterleaved()
153 void DownmixInterleavedToMonoImpl(const T* interleaved, in DownmixInterleavedToMonoImpl() argument
160 const T* const end = interleaved + num_frames * num_channels; in DownmixInterleavedToMonoImpl()
162 while (interleaved < end) { in DownmixInterleavedToMonoImpl()
163 const T* const frame_end = interleaved + num_channels; in DownmixInterleavedToMonoImpl()
[all …]
/external/webrtc/webrtc/common_audio/
Daudio_util_unittest.cc120 int16_t interleaved[kLength]; in TEST() local
121 Interleave(deinterleaved, kSamplesPerChannel, kNumChannels, interleaved); in TEST()
122 ExpectArraysEq(kInterleaved, interleaved, kLength); in TEST()
134 int16_t interleaved[kSamplesPerChannel]; in TEST() local
135 Interleave(deinterleaved, kSamplesPerChannel, kNumChannels, interleaved); in TEST()
136 ExpectArraysEq(mono, interleaved, kSamplesPerChannel); in TEST()
143 const int16_t interleaved[kNumChannels * kNumFrames] = {1, 2, -1, -3}; in TEST() local
146 DownmixInterleavedToMono(interleaved, kNumFrames, kNumChannels, in TEST()
149 EXPECT_THAT(deinterleaved, ElementsAreArray(interleaved)); in TEST()
154 const int16_t interleaved[kNumChannels * kNumFrames] = {10, 20, -10, -30}; in TEST() local
[all …]
Daudio_util.cc43 void DownmixInterleavedToMono<int16_t>(const int16_t* interleaved, in DownmixInterleavedToMono() argument
47 DownmixInterleavedToMonoImpl<int16_t, int32_t>(interleaved, num_frames, in DownmixInterleavedToMono()
/external/llvm/test/CodeGen/ARM/
Darm-interleaved-accesses.ll1 ; RUN: llc -mtriple=arm-eabi -mattr=+neon -lower-interleaved-accesses=true < %s | FileCheck %s -che…
2 ; RUN: llc -mtriple=arm-eabi -mattr=-neon -lower-interleaved-accesses=true < %s | FileCheck %s -che…
48 …%interleaved.vec = shufflevector <8 x i8> %v0, <8 x i8> %v1, <16 x i32> <i32 0, i32 8, i32 1, i32 …
49 store <16 x i8> %interleaved.vec, <16 x i8>* %ptr, align 4
62 …%interleaved.vec = shufflevector <8 x i32> %v0_v1, <8 x i32> %v2_u, <12 x i32> <i32 0, i32 4, i32 …
63 store <12 x i32> %interleaved.vec, <12 x i32>* %base, align 4
76 …%interleaved.vec = shufflevector <8 x i32> %v0_v1, <8 x i32> %v2_v3, <16 x i32> <i32 0, i32 4, i32…
77 store <16 x i32> %interleaved.vec, <16 x i32>* %base, align 4
81 ; The following cases test that interleaved access of pointer vectors can be
129 …%interleaved.vec = shufflevector <2 x i32*> %v0, <2 x i32*> %v1, <4 x i32> <i32 0, i32 2, i32 1, i…
[all …]
/external/llvm/test/CodeGen/AArch64/
Daarch64-interleaved-accesses.ll1 ; RUN: llc -mtriple=aarch64 -lower-interleaved-accesses=true < %s | FileCheck %s -check-prefix=NEON
2 ; RUN: llc -mtriple=aarch64 -lower-interleaved-accesses=true -mattr=-neon < %s | FileCheck %s -chec…
47 …%interleaved.vec = shufflevector <8 x i8> %v0, <8 x i8> %v1, <16 x i32> <i32 0, i32 8, i32 1, i32 …
48 store <16 x i8> %interleaved.vec, <16 x i8>* %ptr, align 4
60 …%interleaved.vec = shufflevector <8 x i32> %v0_v1, <8 x i32> %v2_u, <12 x i32> <i32 0, i32 4, i32 …
61 store <12 x i32> %interleaved.vec, <12 x i32>* %base, align 4
73 …%interleaved.vec = shufflevector <8 x i32> %v0_v1, <8 x i32> %v2_v3, <16 x i32> <i32 0, i32 4, i32…
74 store <16 x i32> %interleaved.vec, <16 x i32>* %base, align 4
78 ; The following cases test that interleaved access of pointer vectors can be
126 …%interleaved.vec = shufflevector <2 x i32*> %v0, <2 x i32*> %v1, <4 x i32> <i32 0, i32 2, i32 1, i…
[all …]
/external/ltp/testcases/kernel/hotplug/memory_hotplug/Xpm-tests/
Dtest-lazy-anon-1g-interleaved1 # memtoy test - manual migrate single 1g interleaved anon segment
6 mbind foo interleaved 0,1
12 mbind foo interleaved+m+w 2,3
Dtest-mpm-anon-1g-interleaved1 # memtoy test - manual migrate single 1g interleaved anon segment
6 mbind foo interleaved 0,1
/external/webrtc/webrtc/modules/audio_processing/
Ddebug.proto17 // May contain interleaved or deinterleaved data, but don't store both formats.
19 // int16 interleaved data.
27 // May contain interleaved or deinterleaved data, but don't store both formats.
29 // int16 interleaved data.
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LoopVectorize/
Dinterleaved-accesses.ll1 … -instcombine -force-vector-width=4 -force-vector-interleave=1 -enable-interleaved-mem-accesses=tr…
5 ; Check vectorization on an interleaved load group of factor 2 and an interleaved
25 ; CHECK: %interleaved.vec = shufflevector <4 x i32> {{.*}}, <8 x i32> <i32 0, i32 4, i32 1, i32 5, …
26 ; CHECK: store <8 x i32> %interleaved.vec, <8 x i32>* %{{.*}}, align 4
80 ; CHECK: %interleaved.vec = shufflevector <8 x i32> {{.*}}, <12 x i32> <i32 0, i32 4, i32 8, i32 1,…
81 ; CHECK: store <12 x i32> %interleaved.vec, <12 x i32>* {{.*}}, align 4
117 ; Check vectorization on an interleaved load group of factor 4.
176 ; Check vectorization on an interleaved store group of factor 4.
197 ; CHECK: %interleaved.vec = shufflevector <8 x i32> {{.*}}, <16 x i32> <i32 0, i32 4, i32 8, i32 12…
198 ; CHECK: store <16 x i32> %interleaved.vec, <16 x i32>* {{.*}}, align 4
[all …]
Dinterleaved-accesses-1.ll1 … -instcombine -force-vector-width=4 -force-vector-interleave=1 -enable-interleaved-mem-accesses=tr…
5 ; Check that the interleaved-mem-access analysis identifies the access
6 ; to array 'in' as interleaved, despite the possibly wrapping unsigned
Dinterleaved-accesses-pred-stores.ll1 … -instcombine -force-vector-width=2 -force-vector-interleave=1 -enable-interleaved-mem-accesses < …
6 ; Ensure that we vectorize the interleaved load group even though the loop
54 ; Ensure that we don't form a single interleaved group for the two loads. The
113 ; Ensure that we don't create a single interleaved group for the two stores.
Druntime-limit.ll7 ;CHECK: remark: {{.*}}:0:0: vectorized loop (vectorization width: 4, interleaved count: 1)
12 ;OVERRIDE: remark: {{.*}}:0:0: vectorized loop (vectorization width: 4, interleaved count: 1)
14 ;OVERRIDE: remark: {{.*}}:0:0: vectorized loop (vectorization width: 4, interleaved count: 1)
/external/llvm/test/Transforms/LoopVectorize/
Dinterleaved-accesses.ll1 … -instcombine -force-vector-width=4 -force-vector-interleave=1 -enable-interleaved-mem-accesses=tr…
5 ; Check vectorization on an interleaved load group of factor 2 and an interleaved
25 ; CHECK: %interleaved.vec = shufflevector <4 x i32> {{.*}}, <8 x i32> <i32 0, i32 4, i32 1, i32 5, …
26 ; CHECK: store <8 x i32> %interleaved.vec, <8 x i32>* %{{.*}}, align 4
80 ; CHECK: %interleaved.vec = shufflevector <8 x i32> {{.*}}, <12 x i32> <i32 0, i32 4, i32 8, i32 1,…
81 ; CHECK: store <12 x i32> %interleaved.vec, <12 x i32>* {{.*}}, align 4
117 ; Check vectorization on an interleaved load group of factor 4.
176 ; Check vectorization on an interleaved store group of factor 4.
197 ; CHECK: %interleaved.vec = shufflevector <8 x i32> {{.*}}, <16 x i32> <i32 0, i32 4, i32 8, i32 12…
198 ; CHECK: store <16 x i32> %interleaved.vec, <16 x i32>* {{.*}}, align 4
[all …]
Dinterleaved-accesses-pred-stores.ll1 … -instcombine -force-vector-width=2 -force-vector-interleave=1 -enable-interleaved-mem-accesses -v…
6 ; Ensure that we vectorize the interleaved load group even though the loop
54 ; Ensure that we don't form a single interleaved group for the two loads. The
113 ; Ensure that we don't create a single interleaved group for the two stores.
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_draw_upload.c463 GLuint interleaved = 0; in brw_prepare_vertices() local
585 interleaved = glarray->StrideB; in brw_prepare_vertices()
588 else if (interleaved != glarray->StrideB || in brw_prepare_vertices()
591 (uintptr_t)(glarray->Ptr - ptr) + glarray->_ElementSize > interleaved) in brw_prepare_vertices()
608 interleaved = 0; in brw_prepare_vertices()
645 if (interleaved) { in brw_prepare_vertices()
651 buffer, interleaved); in brw_prepare_vertices()
652 buffer->offset -= delta * interleaved; in brw_prepare_vertices()
653 buffer->size += delta * interleaved; in brw_prepare_vertices()
/external/deqp/modules/glshared/
DglsStateChangePerfTestCases.cpp543 ResultStats interleaved = calculateStats(m_interleavedResults); in logAndSetTestResult() local
546 …log << TestLog::Message << "Interleaved mean: " << interleaved.mean << TestLog::EndMessag… in logAndSetTestResult()
547 …log << TestLog::Message << "Interleaved median: " << interleaved.median << TestLog::EndMess… in logAndSetTestResult()
548 …log << TestLog::Message << "Interleaved variance: " << interleaved.variance << TestLog::End… in logAndSetTestResult()
549 log << TestLog::Message << "Interleaved min: " << interleaved.min << TestLog::EndMessage; in logAndSetTestResult()
550 log << TestLog::Message << "Interleaved max: " << interleaved.max << TestLog::EndMessage; in logAndSetTestResult()
558 …log << TestLog::Message << "Batched/Interleaved mean ratio: " << (interleaved.mean/batched.mean) … in logAndSetTestResult()
559 …log << TestLog::Message << "Batched/Interleaved median ratio: " << (interleaved.median/batched.med… in logAndSetTestResult()
561 …m_testCtx.setTestResult(QP_TEST_RESULT_PASS, de::floatToString((float)(((double)interleaved.median… in logAndSetTestResult()
/external/llvm/test/Transforms/LoopVectorize/X86/
Dvectorization-remarks-loopid-dbg.ll9 …emark: vectorization-remarks.c:17:8: vectorized loop (vectorization width: 4, interleaved count: 1)
10 ; UNROLLED: remark: vectorization-remarks.c:17:8: interleaved loop (interleaved count: 4)
Dvectorization-remarks.ll9 …emark: vectorization-remarks.c:17:8: vectorized loop (vectorization width: 4, interleaved count: 1)
10 ; UNROLLED: remark: vectorization-remarks.c:17:8: interleaved loop (interleaved count: 4)
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LoopVectorize/X86/
Dvectorization-remarks.ll9 …emark: vectorization-remarks.c:17:8: vectorized loop (vectorization width: 4, interleaved count: 1)
10 ; UNROLLED: remark: vectorization-remarks.c:17:8: interleaved loop (interleaved count: 4)
Dvectorization-remarks-loopid-dbg.ll9 …emark: vectorization-remarks.c:17:8: vectorized loop (vectorization width: 4, interleaved count: 1)
10 ; UNROLLED: remark: vectorization-remarks.c:17:8: interleaved loop (interleaved count: 4)

12345678