| /llvm-project-15.0.7/llvm/test/Transforms/InstCombine/ |
| H A D | minimum.ll | 4 declare float @llvm.minimum.f32(float, float) 5 declare <2 x float> @llvm.minimum.v2f32(<2 x float>, <2 x float>) 8 declare double @llvm.minimum.f64(double, double) 17 %x = call float @llvm.minimum.f32(float 1.0, float 2.0) 25 %x = call float @llvm.minimum.f32(float 2.0, float 1.0) 57 %x = call float @llvm.minimum.f32(float 0.0, float 0.0) 130 %y = call float @llvm.minimum.f32(float 1.0, float %x) 423 %minimum = call double @llvm.minimum.f64(double %x.ext, double %y.ext) 424 %trunc = fptrunc double %minimum to float 435 %minimum = call nnan double @llvm.minimum.f64(double %x.ext, double %y.ext) [all …]
|
| H A D | maximum.ll | 245 ; CHECK-NEXT: [[TMP1:%.*]] = call <2 x float> @llvm.minimum.v2f32(<2 x float> [[X:%.*]], <2 x fl… 257 ; CHECK-NEXT: [[TMP1:%.*]] = call <2 x float> @llvm.minimum.v2f32(<2 x float> [[X:%.*]], <2 x fl… 271 ; CHECK-NEXT: [[TMP1:%.*]] = call fast float @llvm.minimum.f32(float [[X:%.*]], float [[Y:%.*]]) 283 ; CHECK-NEXT: [[TMP1:%.*]] = call fast float @llvm.minimum.f32(float [[X:%.*]], float [[Y:%.*]]) 300 ; CHECK-NEXT: [[TMP1:%.*]] = call float @llvm.minimum.f32(float [[X]], float [[Y:%.*]]) 315 ; CHECK-NEXT: [[TMP1:%.*]] = call float @llvm.minimum.f32(float [[X]], float [[Y:%.*]]) 330 ; CHECK-NEXT: [[TMP1:%.*]] = call float @llvm.minimum.f32(float [[X:%.*]], float [[Y]]) 345 ; CHECK-NEXT: [[TMP1:%.*]] = call float @llvm.minimum.f32(float [[X:%.*]], float [[Y]])
|
| /llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/ |
| H A D | atomic-minmax.ll | 7 %0 = atomicrmw min i32* %minimum, i32 %val monotonic 21 %0 = atomicrmw max i32* %minimum, i32 %val monotonic 35 %0 = atomicrmw umin i32* %minimum, i32 %val monotonic 49 %0 = atomicrmw umax i32* %minimum, i32 %val monotonic 63 %0 = atomicrmw min i16* %minimum, i16 %val monotonic 77 %0 = atomicrmw max i16* %minimum, i16 %val monotonic 91 %0 = atomicrmw umin i16* %minimum, i16 %val monotonic 119 %0 = atomicrmw min i8* %minimum, i8 %val monotonic 133 %0 = atomicrmw max i8* %minimum, i8 %val monotonic 147 %0 = atomicrmw umin i8* %minimum, i8 %val monotonic [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/SystemZ/ |
| H A D | vec-strict-min-01.ll | 1 ; Test strict vector minimum on z14. 81 ; Test the f64 minimum intrinsic. 86 %ret = call double @llvm.experimental.constrained.minimum.f64( 92 ; Test the v2f64 minimum intrinsic. 98 %ret = call <2 x double> @llvm.experimental.constrained.minimum.v2f64( 104 ; Test the f32 minimum intrinsic. 109 %ret = call float @llvm.experimental.constrained.minimum.f32( 115 ; Test the v4f32 minimum intrinsic. 121 %ret = call <4 x float> @llvm.experimental.constrained.minimum.v4f32( 127 ; Test the f128 minimum intrinsic. [all …]
|
| H A D | vec-min-05.ll | 1 ; Test vector minimum on z14. 8 declare double @llvm.minimum.f64(double, double) 14 declare float @llvm.minimum.f32(float, float) 19 declare fp128 @llvm.minimum.f128(fp128, fp128) 39 ; Test the f64 minimum intrinsic. 59 ; Test a f64 constant compare/select resulting in minimum. 80 ; Test the v2f64 minimum intrinsic. 108 ; Test the f32 minimum intrinsic. 128 ; Test a f32 constant compare/select resulting in minimum. 149 ; Test the v4f32 minimum intrinsic. [all …]
|
| H A D | frame-21.ll | 18 ; spill slots. Check the minimum such case. 43 ; ... and the minimum case where we do. 66 ; ... and the minimum case where we do.
|
| /llvm-project-15.0.7/llvm/test/Transforms/InstSimplify/ |
| H A D | fminmax-folds.ll | 6 declare float @llvm.minimum.f32(float, float) 10 declare <2 x float> @llvm.minimum.v2f32(<2 x float>, <2 x float>) 17 declare double @llvm.minimum.f64(double, double) 838 ; From the LangRef for minimum/maximum: 1005 %y = call float @llvm.minimum.f32(float %x, float %x) 1022 %a = call float @llvm.minimum.f32(float %x, float %y) 1023 %b = call float @llvm.minimum.f32(float %x, float %a) 1032 %a = call float @llvm.minimum.f32(float %x, float %y) 1033 %b = call float @llvm.minimum.f32(float %y, float %a) 1042 %a = call float @llvm.minimum.f32(float %x, float %y) [all …]
|
| /llvm-project-15.0.7/llvm/test/Transforms/LoopVectorize/AArch64/ |
| H A D | scalable-vectorization-cost-tuning.ll | 22 ; GENERIC: LV: Vector loop of width vscale x 2 costs: 3 (assuming a minimum vscale of 2). 23 ; GENERIC: LV: Vector loop of width vscale x 4 costs: 1 (assuming a minimum vscale of 2). 25 ; NEOVERSE-V1: LV: Vector loop of width vscale x 2 costs: 3 (assuming a minimum vscale of 2). 26 ; NEOVERSE-V1: LV: Vector loop of width vscale x 4 costs: 1 (assuming a minimum vscale of 2). 28 ; NEOVERSE-N2: LV: Vector loop of width vscale x 2 costs: 6 (assuming a minimum vscale of 1). 29 ; NEOVERSE-N2: LV: Vector loop of width vscale x 4 costs: 3 (assuming a minimum vscale of 1).
|
| /llvm-project-15.0.7/llvm/test/Transforms/Scalarizer/ |
| H A D | intrinsics.ll | 8 declare <2 x float> @llvm.minimum.v2f32(<2 x float>, <2 x float>) 54 ; CHECK: %minimum.i0 = call float @llvm.minimum.f32(float %x.i0, float %y.i0) 55 ; CHECK: %minimum.i1 = call float @llvm.minimum.f32(float %x.i1, float %y.i1) 56 ; CHECK: %minimum.upto0 = insertelement <2 x float> poison, float %minimum.i0, i32 0 57 ; CHECK: %minimum = insertelement <2 x float> %minimum.upto0, float %minimum.i1, i32 1 58 ; CHECK: ret <2 x float> %minimum 60 %minimum = call <2 x float> @llvm.minimum.v2f32(<2 x float> %x, <2 x float> %y) 61 ret <2 x float> %minimum
|
| /llvm-project-15.0.7/llvm/test/Verifier/ |
| H A D | invalid-splice.ll | 3 ; CHECK: The splice index exceeds the range [-VL, VL-1] where VL is the known minimum number of ele… 9 ; CHECK: The splice index exceeds the range [-VL, VL-1] where VL is the known minimum number of ele… 15 ; CHECK: The splice index exceeds the range [-VL, VL-1] where VL is the known minimum number of ele… 21 ; CHECK: The splice index exceeds the range [-VL, VL-1] where VL is the known minimum number of ele… 27 ; CHECK: The splice index exceeds the range [-VL, VL-1] where VL is the known minimum number of ele…
|
| H A D | vscale_range.ll | 3 ; CHECK: 'vscale_range' minimum must be greater than 0 6 ; CHECK: 'vscale_range' minimum cannot be greater than maximum
|
| /llvm-project-15.0.7/compiler-rt/lib/builtins/Darwin-excludes/ |
| H A D | README.TXT | 5 (2) They are contained within the OS on the minimum supported target 8 supported target OS. Meaning if minimum deployment target is iOS 6, all builtins 11 iOS 6, the minimum deployment target for arm64 binaries is iOS 7.
|
| /llvm-project-15.0.7/llvm/test/Transforms/InstSimplify/ConstProp/ |
| H A D | min-max.ll | 18 declare float @llvm.minimum.f32(float, float) 19 declare bfloat @llvm.minimum.bf16(bfloat, bfloat) 20 declare half @llvm.minimum.f16(half, half) 21 declare <4 x float> @llvm.minimum.v4f32(<4 x float>, <4 x float>) 22 declare <4 x bfloat> @llvm.minimum.v4bf16(<4 x bfloat>, <4 x bfloat>) 23 declare <4 x half> @llvm.minimum.v4f16(<4 x half>, <4 x half>) 168 %1 = call float @llvm.minimum.f32(float 5.0, float 42.0) 176 %1 = call bfloat @llvm.minimum.bf16(bfloat 5.0, bfloat 42.0) 184 %1 = call half @llvm.minimum.f16(half 5.0, half 42.0) 188 ; Check that minimum propagates its NaN or smaller argument [all …]
|
| /llvm-project-15.0.7/llvm/test/Analysis/CostModel/AArch64/ |
| H A D | min-max.ll | 303 %f16 = call half @llvm.minimum.f16(half undef, half undef) 336 define void @minimum() { 337 ; CHECK-LABEL: 'minimum' 347 %f32 = call float @llvm.minimum.f32(float undef, float undef) 488 declare half @llvm.minimum.f16(half, half) 489 declare float @llvm.minimum.f32(float, float) 490 declare double @llvm.minimum.f64(double, double) 491 declare <2 x half> @llvm.minimum.v2f16(<2 x half>, <2 x half>) 492 declare <4 x half> @llvm.minimum.v4f16(<4 x half>, <4 x half>) 493 declare <8 x half> @llvm.minimum.v8f16(<8 x half>, <8 x half>) [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXTargetTransformInfo.cpp | 239 return {Intrinsic::minimum, FTZ_MustBeOff}; in simplifyNvvmIntrinsic() 241 return {Intrinsic::minimum, FTZ_MustBeOn}; in simplifyNvvmIntrinsic() 251 return {Intrinsic::minimum, FTZ_MustBeOff, true}; in simplifyNvvmIntrinsic() 253 return {Intrinsic::minimum, FTZ_MustBeOn, true}; in simplifyNvvmIntrinsic() 255 return {Intrinsic::minimum, FTZ_MustBeOff, true}; in simplifyNvvmIntrinsic() 257 return {Intrinsic::minimum, FTZ_MustBeOn, true}; in simplifyNvvmIntrinsic()
|
| /llvm-project-15.0.7/llvm/test/CodeGen/ARM/ |
| H A D | fminmax-folds.ll | 6 declare float @llvm.minimum.f32(float, float) 10 declare <2 x float> @llvm.minimum.v2f32(<2 x float>, <2 x float>) 45 %r = call float @llvm.minimum.f32(float %x, float 0x7fff000000000000) 95 %r = call float @llvm.minimum.f32(float %x, float 0x7ff0000000000000) 145 %r = call float @llvm.minimum.f32(float %x, float 0xfff0000000000000) 181 %r = call nnan float @llvm.minimum.f32(float %x, float 0x7ff0000000000000) 217 %r = call nnan float @llvm.minimum.f32(float 0x7ff0000000000000, float %x) 299 %r = call nnan float @llvm.minimum.f32(float %x, float 0xfff0000000000000) 363 %r = call float @llvm.minimum.f32(float %x, float 0x47efffffe0000000) 427 %r = call float @llvm.minimum.f32(float %x, float 0xc7efffffe0000000) [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/Hexagon/ |
| H A D | fminmax.ll | 6 ; CHECK-LABEL: minimum 8 define float @minimum(float %x, float %y) #0 {
|
| /llvm-project-15.0.7/llvm/test/CodeGen/NVPTX/ |
| H A D | math-intrins-sm80-ptx70-instcombine.ll | 84 ; CHECK: @llvm.minimum.f32 92 ; CHECK: @llvm.minimum.f32 100 ; CHECK-NOT: @llvm.minimum.f32 108 ; CHECK: @llvm.minimum.f16 116 ; CHECK: @llvm.minimum.f16 124 ; CHECK-NOT: @llvm.minimum.f16 132 ; CHECK: @llvm.minimum.v2f16 140 ; CHECK: @llvm.minimum.v2f16 147 ; CHECK-NOT: @llvm.minimum.v2f16
|
| /llvm-project-15.0.7/llvm/test/Transforms/LoopVectorize/PowerPC/ |
| H A D | optimal-epilog-vectorization-profitability.ll | 3 ; TODO: For now test for the `-epilogue-vectorization-minimum-VF` option. In 6 …='loop-vectorize' -enable-epilogue-vectorization -epilogue-vectorization-minimum-VF=4 -S | FileChe… 88 …rize the epilogue for loops with VF less than the default -epilogue-vectorization-minimum-VF of 16. 97 ; Specify a smaller minimum VF (via `-epilogue-vectorization-minimum-VF=4`) and
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AArch64/ |
| H A D | sve-fixed-length-fp-minmax.ll | 1240 declare <4 x half> @llvm.minimum.v4f16(<4 x half>, <4 x half>) 1241 declare <8 x half> @llvm.minimum.v8f16(<8 x half>, <8 x half>) 1242 declare <16 x half> @llvm.minimum.v16f16(<16 x half>, <16 x half>) 1243 declare <32 x half> @llvm.minimum.v32f16(<32 x half>, <32 x half>) 1244 declare <64 x half> @llvm.minimum.v64f16(<64 x half>, <64 x half>) 1246 declare <2 x float> @llvm.minimum.v2f32(<2 x float>, <2 x float>) 1247 declare <4 x float> @llvm.minimum.v4f32(<4 x float>, <4 x float>) 1248 declare <8 x float> @llvm.minimum.v8f32(<8 x float>, <8 x float>) 1252 declare <1 x double> @llvm.minimum.v1f64(<1 x double>, <1 x double>) 1253 declare <2 x double> @llvm.minimum.v2f64(<2 x double>, <2 x double>) [all …]
|
| /llvm-project-15.0.7/llvm/test/Transforms/LICM/ |
| H A D | hoist-round.ll | 7 ; copysign, minnum, maxnum, minimum, maximum, and fabs intrinsics are 45 %tmp.11 = call float @llvm.minimum.f32(float %tmp.10, float %arg2) 69 declare float @llvm.minimum.f32(float, float)
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AArch64/GlobalISel/ |
| H A D | irtranslator-fp-min-max-intrinsics.ll | 52 %val = call float @llvm.minimum.f32(float %x, float %y) 65 %val = call nnan float @llvm.minimum.f32(float %x, float %y) 85 declare float @llvm.minimum.f32(float, float) #0
|
| /llvm-project-15.0.7/lld/test/MachO/ |
| H A D | platform-version.s | 19 # FAIL-MISSING-NOT: malformed {{minimum|sdk}} version: {{.*}} 34 # FAIL-MALFORM: malformed {{minimum|sdk}} version: {{.*}} 61 # FAIL-PLATFORM-NOT: malformed {{minimum|sdk}} version: {{.*}}
|
| /llvm-project-15.0.7/llvm/test/Transforms/Reassociate/ |
| H A D | fast-ReassociateVector.ll | 18 ; Check that a*c+b*c is turned into (a+b)*c - minimum FMF subset version 50 ; Check that a*a*b+a*a*c is turned into a*(a*(b+c)) - minimum FMF subset version 85 ; Check that a*b+a*c+d is turned into a*(b+c)+d - minimum FMF subset version 129 ; Check 47*X + 47*X -> 94*X - minimum FMF subset version 154 ; Check X+X+X -> 3*X - minimum FMF subset version 180 ; Check 127*W+50*W -> 177*W - minimum FMF subset version 207 ; Check X*12*12 -> X*144 - minimum FMF subset version 248 ; Check (b+(a+1234))+-a -> b+1234 - minimum FMF subset version 309 ; Check -(-(z*40)*a) -> a*40*z - minimum FMF subset version 355 ; Check x*y+y*x -> x*y*2 - minimum FMF subset version
|
| /llvm-project-15.0.7/mlir/lib/Analysis/Presburger/ |
| H A D | Simplex.cpp | 1423 MaybeOptimum<Fraction> minimum = computeRowOptimum(Direction::Down, row); in detectRedundant() local 1424 if (minimum.isUnbounded() || *minimum < Fraction(0, 1)) { in detectRedundant() 2145 MaybeOptimum<Fraction> minimum = computeOptimum(Direction::Down, coeffs); in findIneqType() local 2146 if (minimum.isBounded() && *minimum >= Fraction(0, 1)) { in findIneqType() 2150 if ((!minimum.isBounded() || *minimum <= Fraction(0, 1)) && in findIneqType() 2172 MaybeOptimum<Fraction> minimum = computeOptimum(Direction::Down, coeffs); in isRedundantEquality() local 2174 assert((!minimum.isEmpty() && !maximum.isEmpty()) && in isRedundantEquality() 2176 return minimum.isBounded() && maximum.isBounded() && in isRedundantEquality() 2177 *maximum == Fraction(0, 1) && *minimum == Fraction(0, 1); in isRedundantEquality()
|