Home
last modified time | relevance | path

Searched refs:float (Results 1 – 25 of 669) sorted by relevance

12345678910>>...27

/aosp12/frameworks/rs/driver/runtime/arch/
H A Dx86_sse2.ll4 declare <4 x float> @llvm.x86.sse.min.ps(<4 x float>, <4 x float>)
5 declare <4 x float> @llvm.x86.sse.max.ps(<4 x float>, <4 x float>)
6 declare <4 x float> @llvm.x86.sse.min.ss(<4 x float>, <4 x float>)
7 declare <4 x float> @llvm.x86.sse.max.ss(<4 x float>, <4 x float>)
15 declare float @llvm.pow.f32(float, float) nounwind readonly
27 …%4 = tail call <4 x float> @_Z5clampDv4_fS_S_(<4 x float> %1, <4 x float> %2, <4 x float> %3) noun…
41 define float @_Z5clampfff(float %in, float %low, float %high) nounwind readnone alwaysinline {
51 define <4 x float> @_Z5clampDv4_fff(<4 x float> %in, float %low, float %high) nounwind readonly {
64 define <3 x float> @_Z5clampDv3_fff(<3 x float> %in, float %low, float %high) nounwind readonly {
75 define <2 x float> @_Z5clampDv2_fff(<2 x float> %in, float %low, float %high) nounwind readonly {
[all …]
H A Dx86_sse3.ll5 declare <4 x float> @llvm.x86.sse3.hadd.ps(<4 x float>, <4 x float>) nounwind readnone
6 declare float @llvm.sqrt.f32(float) nounwind readnone
8 define float @_Z3dotDv4_fS_(<4 x float> %lhs, <4 x float> %rhs) nounwind readnone {
10 …%2 = tail call <4 x float> @llvm.x86.sse3.hadd.ps(<4 x float> %1, <4 x float> %1) nounwind readnone
11 …%3 = tail call <4 x float> @llvm.x86.sse3.hadd.ps(<4 x float> %2, <4 x float> %2) nounwind readnone
13 ret float %4
16 define float @_Z3dotDv3_fS_(<3 x float> %lhs, <3 x float> %rhs) nounwind readnone {
22 …%6 = tail call <4 x float> @llvm.x86.sse3.hadd.ps(<4 x float> %5, <4 x float> %5) nounwind readnone
23 …%7 = tail call <4 x float> @llvm.x86.sse3.hadd.ps(<4 x float> %6, <4 x float> %6) nounwind readnone
28 define float @_Z3dotDv2_fS_(<2 x float> %lhs, <2 x float> %rhs) nounwind readnone {
[all …]
H A Dasimd.ll114 define <4 x float> @_Z5clampDv4_fff(<4 x float> %value, float %low, float %high) nounwind readonly {
131 define <3 x float> @_Z5clampDv3_fff(<3 x float> %value, float %low, float %high) nounwind readonly {
147 define <2 x float> @_Z5clampDv2_fff(<2 x float> %value, float %low, float %high) nounwind readonly {
155 define float @_Z5clampfff(float %value, float %low, float %high) nounwind readonly {
306 define float @_Z4fmaxff(float %v1, float %v2) nounwind readonly {
558 %1 = tail call float @_Z4fmaxff(float %v1, float %v2)
789 %1 = tail call float @_Z4fminff(float %v1, float %v2)
1099 @fc_255.0 = internal constant <4 x float> <float 255.0, float 255.0, float 255.0, float 255.0>, ali…
1100 @fc_0.5 = internal constant <4 x float> <float 0.5, float 0.5, float 0.5, float 0.5>, align 16
1101 @fc_0 = internal constant <4 x float> <float 0.0, float 0.0, float 0.0, float 0.0>, align 16
[all …]
H A Dneon.ll118 define <4 x float> @_Z5clampDv4_fff(<4 x float> %value, float %low, float %high) nounwind readonly {
135 define <3 x float> @_Z5clampDv3_fff(<3 x float> %value, float %low, float %high) nounwind readonly {
151 define <2 x float> @_Z5clampDv2_fff(<2 x float> %value, float %low, float %high) nounwind readonly {
159 define float @_Z5clampfff(float %value, float %low, float %high) nounwind readonly {
310 define float @_Z4fmaxff(float %v1, float %v2) nounwind readonly {
562 %1 = tail call float @_Z4fmaxff(float %v1, float %v2)
793 %1 = tail call float @_Z4fminff(float %v1, float %v2)
1091 @fc_255.0 = internal constant <4 x float> <float 255.0, float 255.0, float 255.0, float 255.0>, ali…
1092 @fc_0.5 = internal constant <4 x float> <float 0.5, float 0.5, float 0.5, float 0.5>, align 16
1093 @fc_0 = internal constant <4 x float> <float 0.0, float 0.0, float 0.0, float 0.0>, align 16
[all …]
/aosp12/frameworks/rs/driver/runtime/ll64/
H A Dmath.ll4 declare float @llvm.sqrt.f32(float)
5 declare float @llvm.pow.f32(float, float)
6 declare float @llvm.fabs.f32(float)
7 declare <2 x float> @llvm.fabs.v2f32(<2 x float>)
8 declare <3 x float> @llvm.fabs.v3f32(<3 x float>)
9 declare <4 x float> @llvm.fabs.v4f32(<4 x float>)
12 %1 = tail call float @llvm.sqrt.f32(float %v)
13 ret float %1
16 define float @_Z3powff(float %v1, float %v2) nounwind readnone alwaysinline {
17 %1 = tail call float @llvm.pow.f32(float %v1, float %v2)
[all …]
/aosp12/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
H A Dvr.rscript23 float jitter[JITTER_LENGTH];
29 float zoomFactor;
34 static float rscale;
65 static float triLinear(float v_0_0_0, float v_0_0_1, float v_0_1_0, float v_0_1_1,
66 float v_1_0_0, float v_1_0_1, float v_1_1_0, float v_1_1_1,
103 float zsuface = in.x + .5f;
104 float zstart = zsuface;
106 float zlen = zend - zstart;
113 float zb = zend;
115 float light = 1;
[all …]
/aosp12/frameworks/rs/driver/runtime/ll32/
H A Dmath.ll4 declare float @llvm.sqrt.f32(float)
5 declare float @llvm.pow.f32(float, float)
6 declare float @llvm.fabs.f32(float)
7 declare <2 x float> @llvm.fabs.v2f32(<2 x float>)
8 declare <3 x float> @llvm.fabs.v3f32(<3 x float>)
9 declare <4 x float> @llvm.fabs.v4f32(<4 x float>)
12 %1 = tail call float @llvm.sqrt.f32(float %v)
13 ret float %1
16 define float @_Z3powff(float %v1, float %v2) nounwind readnone alwaysinline {
17 %1 = tail call float @llvm.pow.f32(float %v1, float %v2)
[all …]
/aosp12/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
H A Dcamera_response.rsh35 float a;
36 float b;
37 float c;
44 static inline float ApplyCRF(float v, const CameraResponse_t* camera_response) {
52 static inline float RemoveCRF(float v,
59 static inline float ApplyCRFdefault(float v) {
67 static inline float RemoveCRFdefault(float v) {
75 const float value = i / (float)(kLUTLength - 1);
93 static inline float ApplyLUT_Float(float value, float lut[kLUTLength + 1]) {
100 static inline float ApplyLUT_FloatAlloc(float value) {
[all …]
H A Dcamera_response_fast.rsh27 static const float kDefaultA = 2.0f;
28 static const float kDefaultB = 4.0f;
29 static const float kDefaultC = 3.0f;
36 static inline float ApplyCRFdefault(float v) {
37 const float pow_va = pow(v, kDefaultA);
38 const float exp_b = exp(kDefaultB);
40 const float x2 = exp_b * pow_va + 1.0f;
44 static inline float RemoveCRFdefault(float v) {
51 static inline float ApplyLUT_FloatAlloc(float value) {
54 const float delta = scaled_value - pos;
[all …]
/aosp12/frameworks/base/packages/Keyguard/
H A Dproguard.flags3 public float getBackgroundAlpha();
5 public float getContentAlpha();
6 public void setAlpha(float);
7 public float getAlpha();
11 public float getRotationX();
13 public float getRotationY();
14 public void setPivotX(float);
15 public float getPivotX();
17 public float getPivotY();
19 public float getScaleX();
[all …]
/aosp12/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/
H A Dvibrance_f.rscript20 float vibrance = 50.0f;
23 static const float Gf = 0.587f;
26 static const float Vib = 0.5f;
33 float S = (float)(Vib/(1+native_exp(-red*3)))+1;
34 float MS = 1.0f - S;
35 float Rt = Rf * MS;
36 float Gt = Gf * MS;
37 float Bt = Bf * MS;
39 float R = r;
40 float G = g;
[all …]
H A Dfisheye_approx_f.rsh21 static float alpha, radius2, factor;
23 void init_filter(uint32_t dim_x, uint32_t dim_y, float center_x, float center_y, float k,
29 inv_dimensions.x = 1.f / (float)dim_x;
30 inv_dimensions.y = 1.f / (float)dim_y;
35 axis_scale.y = (float)dim_y / (float)dim_x;
37 axis_scale.x = (float)dim_x / (float)dim_y;
40 const float bound = sqrt(bound2);
41 const float radius = 1.15f * bound;
49 const float2 inCoord = {(float)x, (float)y};
53 const float inv_dist = half_rsqrt(dist2);
[all …]
/aosp12/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
H A Dvibrance.rscript20 float vibrance = 0.f;
23 static const float Gf = 0.587f;
26 static float Vib = 0.f;
33 float S = (float)(Vib/(1+native_exp(-red*3)))+1;
34 float MS = 1.0f - S;
35 float Rt = Rf * MS;
36 float Gt = Gf * MS;
37 float Bt = Bf * MS;
39 float R = r;
40 float G = g;
[all …]
H A Dfisheye.rsh21 static float alpha, radius2, factor;
23 void init_filter(uint32_t dim_x, uint32_t dim_y, float center_x, float center_y, float k) {
27 inv_dimensions.x = 1.f / (float)dim_x;
28 inv_dimensions.y = 1.f / (float)dim_y;
33 axis_scale.y = (float)dim_y / (float)dim_x;
35 axis_scale.x = (float)dim_x / (float)dim_y;
38 const float bound = sqrt(bound2);
39 const float radius = 1.15f * bound;
47 const float2 inCoord = {(float)x, (float)y};
51 const float inv_dist = rsqrt(dist2);
[all …]
H A Dfisheye_approx.rsh21 static float alpha, radius2, factor;
23 void init_filter(uint32_t dim_x, uint32_t dim_y, float center_x, float center_y, float k) {
27 inv_dimensions.x = 1.f / (float)dim_x;
28 inv_dimensions.y = 1.f / (float)dim_y;
33 axis_scale.y = (float)dim_y / (float)dim_x;
35 axis_scale.x = (float)dim_x / (float)dim_y;
38 const float bound = sqrt(bound2);
39 const float radius = 1.15f * bound;
47 const float2 inCoord = {(float)x, (float)y};
51 const float inv_dist = half_rsqrt(dist2);
[all …]
/aosp12/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
H A Dvibrance.rscript20 float vibrance = 0.f;
23 static const float Gf = 0.587f;
26 static float Vib = 0.f;
33 float S = (float)(Vib/(1+native_exp(-red*3)))+1;
34 float MS = 1.0f - S;
35 float Rt = Rf * MS;
36 float Gt = Gf * MS;
37 float Bt = Bf * MS;
39 float R = r;
40 float G = g;
[all …]
H A Dfisheye.rsh21 static float alpha, radius2, factor;
23 void init_filter(uint32_t dim_x, uint32_t dim_y, float center_x, float center_y, float k) {
27 inv_dimensions.x = 1.f / (float)dim_x;
28 inv_dimensions.y = 1.f / (float)dim_y;
33 axis_scale.y = (float)dim_y / (float)dim_x;
35 axis_scale.x = (float)dim_x / (float)dim_y;
38 const float bound = sqrt(bound2);
39 const float radius = 1.15f * bound;
47 const float2 inCoord = {(float)x, (float)y};
51 const float inv_dist = rsqrt(dist2);
[all …]
H A Dfisheye_approx.rsh21 static float alpha, radius2, factor;
23 void init_filter(uint32_t dim_x, uint32_t dim_y, float center_x, float center_y, float k) {
27 inv_dimensions.x = 1.f / (float)dim_x;
28 inv_dimensions.y = 1.f / (float)dim_y;
33 axis_scale.y = (float)dim_y / (float)dim_x;
35 axis_scale.x = (float)dim_x / (float)dim_y;
38 const float bound = sqrt(bound2);
39 const float radius = 1.15f * bound;
47 const float2 inCoord = {(float)x, (float)y};
51 const float inv_dist = half_rsqrt(dist2);
[all …]
/aosp12/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
H A Dvibrance.rscript20 float vibrance = 0.f;
23 static const float Gf = 0.587f;
26 static float Vib = 0.f;
33 float S = (float)(Vib/(1+native_exp(-red*3)))+1;
34 float MS = 1.0f - S;
35 float Rt = Rf * MS;
36 float Gt = Gf * MS;
37 float Bt = Bf * MS;
39 float R = r;
40 float G = g;
[all …]
H A Dfisheye.rsh21 static float alpha, radius2, factor;
23 void init_filter(uint32_t dim_x, uint32_t dim_y, float center_x, float center_y, float k) {
27 inv_dimensions.x = 1.f / (float)dim_x;
28 inv_dimensions.y = 1.f / (float)dim_y;
33 axis_scale.y = (float)dim_y / (float)dim_x;
35 axis_scale.x = (float)dim_x / (float)dim_y;
38 const float bound = sqrt(bound2);
39 const float radius = 1.15f * bound;
47 const float2 inCoord = {(float)x, (float)y};
51 const float inv_dist = rsqrt(dist2);
[all …]
H A Dfisheye_approx.rsh21 static float alpha, radius2, factor;
23 void init_filter(uint32_t dim_x, uint32_t dim_y, float center_x, float center_y, float k) {
27 inv_dimensions.x = 1.f / (float)dim_x;
28 inv_dimensions.y = 1.f / (float)dim_y;
33 axis_scale.y = (float)dim_y / (float)dim_x;
35 axis_scale.x = (float)dim_x / (float)dim_y;
38 const float bound = sqrt(bound2);
39 const float radius = 1.15f * bound;
47 const float2 inCoord = {(float)x, (float)y};
51 const float inv_dist = half_rsqrt(dist2);
[all …]
/aosp12/art/test/626-checker-arm64-scratch-register/smali/
H A DMain2.smali340 # float s = 0.0f;
932 div-float v3, v3, v42
937 div-float v4, v4, v42
942 div-float v5, v5, v42
947 div-float v6, v6, v42
952 div-float v7, v7, v42
987 div-float v2, v2, v42
1012 div-float v9, v9, v42
1017 div-float v8, v8, v42
1127 div-float v3, v3, v42
[all …]
/aosp12/frameworks/compile/slang/tests/P_all_api_11/
H A Dall11.rscript2398 *(float*)buf80 = atan2(*(float*)buf81, *(float*)buf82);
2402 *(float*)buf92 = atan2pi(*(float*)buf93, *(float*)buf94);
2422 *(float*)buf136 = clamp(*(float*)buf137, *(float*)buf138, *(float*)buf139);
2626 *(float*)buf568 = dot(*(float*)buf569, *(float*)buf570);
2666 *(float*)buf656 = fma(*(float*)buf657, *(float*)buf658, *(float*)buf659);
2747 *(float*)buf867 = mad(*(float*)buf868, *(float*)buf869, *(float*)buf870);
2751 *(float*)buf883 = max(*(float*)buf884, *(float*)buf885);
2813 *(float*)buf1069 = mix(*(float*)buf1070, *(float*)buf1071, *(float*)buf1072);
3188float*)buf2127, *(float*)buf2128, *(float*)buf2129, *(float*)buf2130, *(float*)buf2131, *(float*)b…
3191float*)buf2139, *(float*)buf2140, *(float*)buf2141, *(float*)buf2142, *(float*)buf2143, *(float*)b…
[all …]
/aosp12/frameworks/compile/slang/tests/P_all_api_12/
H A Dall12.rscript2398 *(float*)buf80 = atan2(*(float*)buf81, *(float*)buf82);
2402 *(float*)buf92 = atan2pi(*(float*)buf93, *(float*)buf94);
2422 *(float*)buf136 = clamp(*(float*)buf137, *(float*)buf138, *(float*)buf139);
2626 *(float*)buf568 = dot(*(float*)buf569, *(float*)buf570);
2666 *(float*)buf656 = fma(*(float*)buf657, *(float*)buf658, *(float*)buf659);
2747 *(float*)buf867 = mad(*(float*)buf868, *(float*)buf869, *(float*)buf870);
2751 *(float*)buf883 = max(*(float*)buf884, *(float*)buf885);
2813 *(float*)buf1069 = mix(*(float*)buf1070, *(float*)buf1071, *(float*)buf1072);
3188float*)buf2127, *(float*)buf2128, *(float*)buf2129, *(float*)buf2130, *(float*)buf2131, *(float*)b…
3191float*)buf2139, *(float*)buf2140, *(float*)buf2141, *(float*)buf2142, *(float*)buf2143, *(float*)b…
[all …]
/aosp12/frameworks/compile/slang/tests/P_all_api_13/
H A Dall13.rscript2398 *(float*)buf80 = atan2(*(float*)buf81, *(float*)buf82);
2402 *(float*)buf92 = atan2pi(*(float*)buf93, *(float*)buf94);
2422 *(float*)buf136 = clamp(*(float*)buf137, *(float*)buf138, *(float*)buf139);
2626 *(float*)buf568 = dot(*(float*)buf569, *(float*)buf570);
2666 *(float*)buf656 = fma(*(float*)buf657, *(float*)buf658, *(float*)buf659);
2747 *(float*)buf867 = mad(*(float*)buf868, *(float*)buf869, *(float*)buf870);
2751 *(float*)buf883 = max(*(float*)buf884, *(float*)buf885);
2813 *(float*)buf1069 = mix(*(float*)buf1070, *(float*)buf1071, *(float*)buf1072);
3188float*)buf2127, *(float*)buf2128, *(float*)buf2129, *(float*)buf2130, *(float*)buf2131, *(float*)b…
3191float*)buf2139, *(float*)buf2140, *(float*)buf2141, *(float*)buf2142, *(float*)buf2143, *(float*)b…
[all …]

12345678910>>...27