Home
last modified time | relevance | path

Searched refs:i32 (Results 1 – 25 of 68) sorted by relevance

123

/frameworks/rs/driver/runtime/ll32/
Dallocation.ll1 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v…
4 declare i8* @rsOffset([1 x i32] %a.coerce, i32 %sizeOf, i32 %x, i32 %y, i32 %z)
5 declare i8* @rsOffsetNs([1 x i32] %a.coerce, i32 %x, i32 %y, i32 %z)
36 define void @rsSetElementAtImpl_char([1 x i32] %a.coerce, i8 signext %val, i32 %x, i32 %y, i32 %z) …
37 %1 = tail call i8* @rsOffset([1 x i32] %a.coerce, i32 1, i32 %x, i32 %y, i32 %z) #2
42 define signext i8 @rsGetElementAtImpl_char([1 x i32] %a.coerce, i32 %x, i32 %y, i32 %z) #0 {
43 %1 = tail call i8* @rsOffset([1 x i32] %a.coerce, i32 1, i32 %x, i32 %y, i32 %z) #2
49 define void @rsSetElementAtImpl_char2([1 x i32] %a.coerce, <2 x i8> %val, i32 %x, i32 %y, i32 %z) #…
50 %1 = tail call i8* @rsOffset([1 x i32] %a.coerce, i32 2, i32 %x, i32 %y, i32 %z) #2
56 define <2 x i8> @rsGetElementAtImpl_char2([1 x i32] %a.coerce, i32 %x, i32 %y, i32 %z) #0 {
[all …]
/frameworks/rs/driver/runtime/ll64/
Dallocation.ll6 …re i8* @rsOffset(%struct.rs_allocation* nocapture readonly %a, i32 %sizeOf, i32 %x, i32 %y, i32 %z)
7 declare i8* @rsOffsetNs(%struct.rs_allocation* nocapture readonly %a, i32 %x, i32 %y, i32 %z)
38 …pl_char(%struct.rs_allocation* nocapture readonly %a, i8 signext %val, i32 %x, i32 %y, i32 %z) #1 {
39 %1 = tail call i8* @rsOffset(%struct.rs_allocation* %a, i32 1, i32 %x, i32 %y, i32 %z) #2
44 …@rsGetElementAtImpl_char(%struct.rs_allocation* nocapture readonly %a, i32 %x, i32 %y, i32 %z) #0 {
45 %1 = tail call i8* @rsOffset(%struct.rs_allocation* %a, i32 1, i32 %x, i32 %y, i32 %z) #2
51 …ntAtImpl_char2(%struct.rs_allocation* nocapture readonly %a, i16 %val, i32 %x, i32 %y, i32 %z) #1 {
52 %1 = tail call i8* @rsOffset(%struct.rs_allocation* %a, i32 2, i32 %x, i32 %y, i32 %z) #2
59 …rsGetElementAtImpl_char2(%struct.rs_allocation* nocapture readonly %a, i32 %x, i32 %y, i32 %z) #0 {
60 %1 = tail call i8* @rsOffset(%struct.rs_allocation* %a, i32 2, i32 %x, i32 %y, i32 %z) #2
[all …]
/frameworks/compile/libbcc/tests/libbcc/
Dtest_reduce_general_cleanup.ll27 %struct.IndexedVal = type { float, i32 }
29 @.rs.reduce_fn.aiAccum = global i8* bitcast (void (i32*, i32)* @aiAccum to i8*), align 4
33 @.rs.reduce_fn.fMMAccumulator = global i8* bitcast (void (%struct.MinAndMax*, float, i32)* @fMMAccu…
35 @.rs.reduce_fn.fMMOutConverter = global i8* bitcast (void (<2 x i32>*, %struct.MinAndMax*)* @fMMOut…
36 @.rs.reduce_fn.fzInit = global i8* bitcast (void (i32*)* @fzInit to i8*), align 4
37 @.rs.reduce_fn.fzAccum = global i8* bitcast (void (i32*, i32, i32)* @fzAccum to i8*), align 4
38 @.rs.reduce_fn.fzCombine = global i8* bitcast (void (i32*, i32*)* @fzCombine to i8*), align 4
39 @.rs.reduce_fn.fz2Init = global i8* bitcast (void (<2 x i32>*)* @fz2Init to i8*), align 4
40 @.rs.reduce_fn.fz2Accum = global i8* bitcast (void (<2 x i32>*, i32, i32, i32)* @fz2Accum to i8*), …
41 @.rs.reduce_fn.fz2Combine = global i8* bitcast (void (<2 x i32>*, <2 x i32>*)* @fz2Combine to i8*),…
[all …]
Dtest_reduce_general_metadata.ll43 %struct.IndexedVal.1 = type { float, i32 }
45 ….0 { %struct.IndexedVal.1 { float 0.000000e+00, i32 -1 }, %struct.IndexedVal.1 { float -0.000000e+…
46i32>*)* @fz2Init to i8*), i8* bitcast (void ([256 x i32]*, [256 x i32]*)* @hsgCombine to i8*), i8*…
49 define internal void @aiAccum(i32* nocapture %accum, i32 %val) #0 {
50 %1 = load i32, i32* %accum, align 4, !tbaa !18
51 %2 = add nsw i32 %1, %val
52 store i32 %2, i32* %accum, align 4, !tbaa !18
57 define internal void @mpyInit(i32* nocapture %accum) #0 {
58 store i32 1, i32* %accum, align 4, !tbaa !18
63 define internal void @mpyAccum(i32* nocapture %accum, i32 %val) #0 {
[all …]
Dgetelementptr.ll24 define void @root(i32* nocapture %ain, i32* nocapture %out, i32 %x, i32 %y, i32 %z) {
26 ; CHECK: define void @root.expand(%RsExpandKernelDriverInfoPfx* %p, i32 %x1, i32 %x2, i32 %outstep)
28 …entptr inbounds %RsExpandKernelDriverInfoPfx, %RsExpandKernelDriverInfoPfx* %p, i32 0, i32 1, i32 0
29 ; CHECK: load i32, i32* %instep_addr.gep
30 …entptr inbounds %RsExpandKernelDriverInfoPfx, %RsExpandKernelDriverInfoPfx* %p, i32 0, i32 0, i32 0
32 …entptr inbounds %RsExpandKernelDriverInfoPfx, %RsExpandKernelDriverInfoPfx* %p, i32 0, i32 3, i32 0
34 …entptr inbounds %RsExpandKernelDriverInfoPfx, %RsExpandKernelDriverInfoPfx* %p, i32 0, i32 7, i32 1
35 ; CHECK: load i32, i32* %Y.gep
36 …entptr inbounds %RsExpandKernelDriverInfoPfx, %RsExpandKernelDriverInfoPfx* %p, i32 0, i32 7, i32 2
37 ; CHECK: load i32, i32* %Z.gep
[all …]
Dtbaa.ll21 …: %0 = load {{.*}}, i8** %out_buf.gep, !tbaa {{.*}} <-> store i32 %call.result, i32* {{.*}}, !…
22 …put_buf = load i8*, i8** %input_buf.gep, !tbaa {{.*}} <-> store i32 %call.result, i32* {{.*}}, !…
25 define i32 @add1(i32 %in) #0 {
26 %1 = add nsw i32 %in, 1
27 ret i32 %1
Dtbaa-through-alloca.ll21 %struct.int5.0 = type { [5 x i32] }
29 %2 = getelementptr inbounds %struct.int5.0, %struct.int5.0* %in, i64 0, i32 0, i64 %indvars.iv
31 %load_from_input = load i32, i32* %2, align 4, !tbaa !9
32 %3 = add nsw i32 %load_from_input, 1
33 store i32 %3, i32* %2, align 4, !tbaa !9
41 …tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* %5, i8* %6, i64 20, i32 4, i1 false), !tbaa.struct !…
46 declare void @llvm.memcpy.p0i8.p0i8.i64(i8* nocapture, i8* nocapture readonly, i64, i32, i1) #0
Dtest_slang_version_info.ll61 %3 = shufflevector <4 x i8> %2, <4 x i8> undef, <4 x i32> <i32 3, i32 2, i32 1, i32 0>, !dbg !31
97 !16 = !{i32 2, !"Debug Info Version", i32 3}
98 !17 = !{i32 1, !"wchar_size", i32 4}
99 !18 = !{i32 1, !"min_enum_size", i32 4}
/frameworks/rs/driver/runtime/arch/
Dneon.ll1 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v…
10 declare <2 x i32> @llvm.arm.neon.vmaxs.v2i32(<2 x i32>, <2 x i32>) nounwind readnone
11 declare <4 x i32> @llvm.arm.neon.vmaxs.v4i32(<4 x i32>, <4 x i32>) nounwind readnone
12 declare <2 x i32> @llvm.arm.neon.vmaxu.v2i32(<2 x i32>, <2 x i32>) nounwind readnone
13 declare <4 x i32> @llvm.arm.neon.vmaxu.v4i32(<4 x i32>, <4 x i32>) nounwind readnone
19 declare <2 x i32> @llvm.arm.neon.vmins.v2i32(<2 x i32>, <2 x i32>) nounwind readnone
20 declare <4 x i32> @llvm.arm.neon.vmins.v4i32(<4 x i32>, <4 x i32>) nounwind readnone
21 declare <2 x i32> @llvm.arm.neon.vminu.v2i32(<2 x i32>, <2 x i32>) nounwind readnone
22 declare <4 x i32> @llvm.arm.neon.vminu.v4i32(<4 x i32>, <4 x i32>) nounwind readnone
27 declare <4 x i16> @llvm.arm.neon.vqshiftns.v4i16(<4 x i32>, <4 x i32>) nounwind readnone
[all …]
Dasimd.ll10 declare <2 x i32> @llvm.aarch64.neon.smax.v2i32(<2 x i32>, <2 x i32>) nounwind readnone
11 declare <4 x i32> @llvm.aarch64.neon.smax.v4i32(<4 x i32>, <4 x i32>) nounwind readnone
12 declare <2 x i32> @llvm.aarch64.neon.umax.v2i32(<2 x i32>, <2 x i32>) nounwind readnone
13 declare <4 x i32> @llvm.aarch64.neon.umax.v4i32(<4 x i32>, <4 x i32>) nounwind readnone
19 declare <2 x i32> @llvm.aarch64.neon.smin.v2i32(<2 x i32>, <2 x i32>) nounwind readnone
20 declare <4 x i32> @llvm.aarch64.neon.smin.v4i32(<4 x i32>, <4 x i32>) nounwind readnone
21 declare <2 x i32> @llvm.aarch64.neon.umin.v2i32(<2 x i32>, <2 x i32>) nounwind readnone
22 declare <4 x i32> @llvm.aarch64.neon.umin.v4i32(<4 x i32>, <4 x i32>) nounwind readnone
27 declare <4 x i16> @llvm.aarch64.neon.sqshl.v4i16(<4 x i32>, <4 x i32>) nounwind readnone
28 declare <2 x i32> @llvm.aarch64.neon.sqshl.v2i32(<2 x i64>, <2 x i64>) nounwind readnone
[all …]
Dx86_sse2.ll1 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v…
24 %1 = shufflevector <3 x float> %in, <3 x float> undef, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
25 %2 = shufflevector <3 x float> %low, <3 x float> undef, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
26 %3 = shufflevector <3 x float> %high, <3 x float> undef, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
28 %5 = shufflevector <4 x float> %4, <4 x float> undef, <3 x i32> <i32 0, i32 1, i32 2>
33 %1 = shufflevector <2 x float> %in, <2 x float> undef, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
34 %2 = shufflevector <2 x float> %low, <2 x float> undef, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
35 %3 = shufflevector <2 x float> %high, <2 x float> undef, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
37 %5 = shufflevector <4 x float> %4, <4 x float> undef, <2 x i32> <i32 0, i32 1>
42 %1 = insertelement <4 x float> undef, float %in, i32 0
[all …]
Dx86_sse3.ll1 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v…
4 declare <2 x i64> @llvm.x86.sse2.psll.dq(<2 x i64>, i32) nounwind readnone
12 %4 = extractelement <4 x float> %3, i32 0
18 %2 = shufflevector <3 x float> %1, <3 x float> undef, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
20 %4 = tail call <2 x i64> @llvm.x86.sse2.psll.dq(<2 x i64> %3, i32 32)
24 %8 = extractelement <4 x float> %7, i32 0
30 %2 = shufflevector <2 x float> %1, <2 x float> undef, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
32 %4 = extractelement <4 x float> %3, i32 0
45 %4 = extractelement <4 x float> %3, i32 0
52 %2 = shufflevector <3 x float> %1, <3 x float> undef, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
[all …]
/frameworks/av/media/libstagefright/foundation/tests/
DFlagged_test.cpp208 using i32 = int32_t; in TEST_F() typedef
213 static_assert(Flagged<i32, u32, 0u, 0u, 0>::sFlagMask == 0u, ""); in TEST_F()
214 static_assert(Flagged<i32, u32, 0u, 0u, 0>::sFlagShift == 0, ""); in TEST_F()
215 static_assert(Flagged<i32, u32, 0u, 0u, 0>::sEffectiveMask == 0u, ""); in TEST_F()
217 static_assert(Flagged<i32, u32, 0u, 0u, 10>::sFlagMask == 0u, ""); in TEST_F()
218 static_assert(Flagged<i32, u32, 0u, 0u, 10>::sFlagShift == 10, ""); in TEST_F()
219 static_assert(Flagged<i32, u32, 0u, 0u, 10>::sEffectiveMask == 0u, ""); in TEST_F()
221 static_assert(Flagged<i32, u32, 0u, 0u, -1>::sFlagMask == 0u, ""); in TEST_F()
222 static_assert(Flagged<i32, u32, 0u, 0u, -1>::sFlagShift == 0, ""); in TEST_F()
223 static_assert(Flagged<i32, u32, 0u, 0u, -1>::sEffectiveMask == 0u, ""); in TEST_F()
[all …]
/frameworks/compile/slang/lit-tests/P_array_init/
Darray_init.rscript3 // CHECK: @ic = local_unnamed_addr constant i32 99, align 4
4 // CHECK: @ica = local_unnamed_addr global [2 x i32] [i32 99, i32 1000], align 4
9 // CHECK: @ia = local_unnamed_addr global [4 x i32] [i32 5, i32 8, i32 0, i32 0], align 4
/frameworks/compile/slang/lit-tests/padding/
Dsmall_struct.rscript5 // CHECK-LL: %struct.small_struct{{(\.[0-9]+)?}} = type { i32, [4 x i8], i64 }
8 // CHECK-LL: define void @.helper_checkStruct({ i32, [4 x i8], i64 }* nocapture)
9 …ADDR:%[0-9]+]] = getelementptr inbounds { i32, [4 x i8], i64 }, { i32, [4 x i8], i64 }* %0, i{{[0-…
10 // CHECK-LL: [[FIELD_I_VAL:%[0-9]+]] = load i32, i32* [[FIELD_I_ADDR]]
11 …ADDR:%[0-9]+]] = getelementptr inbounds { i32, [4 x i8], i64 }, { i32, [4 x i8], i64 }* %0, i{{[0-…
13 // CHECK-LL: call void @checkStruct(i32 [[FIELD_I_VAL]], i64 [[FIELD_L_VAL]])
Dsmall_struct_2.rscript5 // CHECK-LL: %struct.small_struct_2{{(\.[0-9]+)?}} = type { i64, i32, [4 x i8] }
8 // CHECK-LL: define void @.helper_checkStruct({ i64, i32, [4 x i8] }* nocapture)
9 …DR:%[0-9]+]] = getelementptr inbounds { i64, i32, [4 x i8] }, { i64, i32, [4 x i8] }* %0, i{{[0-9]…
11 …DR:%[0-9]+]] = getelementptr inbounds { i64, i32, [4 x i8] }, { i64, i32, [4 x i8] }* %0, i{{[0-9]…
12 // CHECK-LL: [[FIELD_I_VAL:%[0-9]+]] = load i32, i32* [[FIELD_I_ADDR]]
13 // CHECK-LL: call void @checkStruct(i64 [[FIELD_L_VAL]], i32 [[FIELD_I_VAL]])
/frameworks/av/camera/ndk/impl/
DACameraMetadata.cpp134 int64_t duration = entry.data.i32[i + STREAM_DURATION_OFFSET]; in filterDurations()
218 int32_t format = entry.data.i32[i + STREAM_FORMAT_OFFSET]; in filterStreamConfigurations()
219 int32_t width = entry.data.i32[i + STREAM_WIDTH_OFFSET]; in filterStreamConfigurations()
220 int32_t height = entry.data.i32[i + STREAM_HEIGHT_OFFSET]; in filterStreamConfigurations()
221 int32_t isInput = entry.data.i32[i + STREAM_IS_INPUT_OFFSET]; in filterStreamConfigurations()
251 int32_t format = entry.data.i32[i + STREAM_FORMAT_OFFSET]; in filterStreamConfigurations()
252 int32_t width = entry.data.i32[i + STREAM_WIDTH_OFFSET]; in filterStreamConfigurations()
253 int32_t height = entry.data.i32[i + STREAM_HEIGHT_OFFSET]; in filterStreamConfigurations()
254 int32_t isInput = entry.data.i32[i + STREAM_IS_INPUT_OFFSET]; in filterStreamConfigurations()
282 int32_t format = entry.data.i32[i + STREAM_FORMAT_OFFSET]; in filterStreamConfigurations()
[all …]
/frameworks/av/services/camera/libcameraservice/device3/
DDistortionMapper.cpp82 float arrayX = static_cast<float>(array.data.i32[0]); in setupStaticInfo()
83 float arrayY = static_cast<float>(array.data.i32[1]); in setupStaticInfo()
84 mArrayWidth = static_cast<float>(array.data.i32[2]); in setupStaticInfo()
85 mArrayHeight = static_cast<float>(array.data.i32[3]); in setupStaticInfo()
90 float activeX = static_cast<float>(array.data.i32[0]); in setupStaticInfo()
91 float activeY = static_cast<float>(array.data.i32[1]); in setupStaticInfo()
92 mActiveWidth = static_cast<float>(array.data.i32[2]); in setupStaticInfo()
93 mActiveHeight = static_cast<float>(array.data.i32[3]); in setupStaticInfo()
119 int32_t weight = e.data.i32[j + 4]; in correctCaptureRequest()
123 res = mapCorrectedToRaw(e.data.i32 + j, 2, /*clamp*/true); in correctCaptureRequest()
[all …]
/frameworks/rs/script_api/
Drs_convert.spec28 t: u8, u16, u32, i8, i16, i32, f32
29 t: u8, u16, u32, i8, i16, i32, f32
61 t: u8, u16, u32, i8, i16, i32, f32
70 t: u8, u16, u32, i8, i16, i32, f32
81 t: u8, u16, u32, u64, i8, i16, i32, i64, f16, f32, f64
90 t: u8, u16, u32, u64, i8, i16, i32, i64, f32, f64
/frameworks/av/services/camera/libcameraservice/api1/client2/
DFrameProcessor.cpp135 const int32_t *faceRects = entry.data.i32; in processFaceDetect()
155 faceLandmarks = entry.data.i32; in processFaceDetect()
164 faceIds = entry.data.i32; in processFaceDetect()
175 static_cast<float>(entry.data.i32[0]), in processFaceDetect()
176 static_cast<float>(entry.data.i32[1]), in processFaceDetect()
177 static_cast<float>(entry.data.i32[2]), in processFaceDetect()
178 static_cast<float>(entry.data.i32[3])}; in processFaceDetect()
245 int32_t frameNumber = entry.data.i32[0]; in process3aState()
384 *value = static_cast<T>(entry.data.i32[0]); in updatePendingState()
DParameters.cpp253 HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED, availableFpsRanges.data.i32[i+1])) { in initialize()
260 availableFpsRanges.data.i32[i] * kFpsToApiScale, in initialize()
261 availableFpsRanges.data.i32[i+1] * kFpsToApiScale); in initialize()
273 int fps = fpsFromRange(availableFpsRanges.data.i32[i], in initialize()
274 availableFpsRanges.data.i32[i+1]); in initialize()
345 &availableJpegThumbnailSizes.data.i32[0], in initialize()
360 availableJpegThumbnailSizes.data.i32[i], in initialize()
361 availableJpegThumbnailSizes.data.i32[i+1]); in initialize()
776 maxNumFocusAreas = max3aRegions.data.i32[Parameters::REGION_AF]; in initialize()
805 exposureCompensationRange.data.i32[1]); in initialize()
[all …]
/frameworks/compile/slang/lit-tests/bitcode_wrapper/
Dbitcode_wrapper_test.ll47 !0 = !{i32 1, !"wchar_size", i32 4}
48 !1 = !{i32 1, !"min_enum_size", i32 4}
/frameworks/compile/slang/lit-tests/P_ref_count/
Dref_count2.rscript7 // CHECK: %[[RETVAL:[A-Za-z][A-Za-z0-9]*]] = call i32 @_Z18rsGetElementAt_int13rs_allocationj{{.*}}
9 // CHECK: ret i32 %[[RETVAL]]
Dfunc_params.rscript10 …mentptr inbounds %struct.Wrapper{{.*}}, %struct.Wrapper{{.*}}* %.rs.param.a3, i{{(32|64)}} 0, i32 0
14 …mentptr inbounds %struct.Wrapper{{.*}}, %struct.Wrapper{{.*}}* %.rs.param.a3, i{{(32|64)}} 0, i32 1
22 …] = getelementptr inbounds %struct.Wrapper{{.*}}, %struct.Wrapper{{.*}}* %a3, i{{(32|64)}} 0, i32 0
23 …] = getelementptr inbounds %struct.Wrapper{{.*}}, %struct.Wrapper{{.*}}* %a3, i{{(32|64)}} 0, i32 1
/frameworks/rs/cpu_ref/
DrsCpuIntrinsics_neon_Convolve.S89 vshrn.i32 d16, q8, #8
90 vshrn.i32 d17, q9, #8
265 vadd.i32 q4, q4, q15
266 vadd.i32 q5, q5, q15
269 vrshrn.i32 d8, q4, #8
270 vrshrn.i32 d9, q5, #8

123