| ; NOTE: Assertions have been autogenerated by utils/update_analyze_test_checks.py |
| ; RUN: opt < %s -passes="print<cost-model>" 2>&1 -disable-output -S -mtriple=riscv64 -mattr=+v,+f,+d,+zfh,+zvfh -riscv-v-vector-bits-min=-1 | FileCheck %s |
| |
| define void @fabs() { |
| ; CHECK-LABEL: 'fabs' |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %1 = call half @llvm.fabs.f16(half undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %2 = call <2 x half> @llvm.fabs.v2f16(<2 x half> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %3 = call <4 x half> @llvm.fabs.v4f16(<4 x half> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %4 = call <8 x half> @llvm.fabs.v8f16(<8 x half> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %5 = call <16 x half> @llvm.fabs.v16f16(<16 x half> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %6 = call <vscale x 2 x half> @llvm.fabs.nxv2f16(<vscale x 2 x half> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %7 = call <vscale x 4 x half> @llvm.fabs.nxv4f16(<vscale x 4 x half> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %8 = call <vscale x 8 x half> @llvm.fabs.nxv8f16(<vscale x 8 x half> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %9 = call <vscale x 16 x half> @llvm.fabs.nxv16f16(<vscale x 16 x half> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %10 = call float @llvm.fabs.f32(float undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %11 = call <2 x float> @llvm.fabs.v2f32(<2 x float> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %12 = call <4 x float> @llvm.fabs.v4f32(<4 x float> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %13 = call <8 x float> @llvm.fabs.v8f32(<8 x float> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %14 = call <16 x float> @llvm.fabs.v16f32(<16 x float> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %15 = call <vscale x 1 x float> @llvm.fabs.nxv1f32(<vscale x 1 x float> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %16 = call <vscale x 2 x float> @llvm.fabs.nxv2f32(<vscale x 2 x float> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %17 = call <vscale x 4 x float> @llvm.fabs.nxv4f32(<vscale x 4 x float> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %18 = call <vscale x 8 x float> @llvm.fabs.nxv8f32(<vscale x 8 x float> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %19 = call <vscale x 16 x float> @llvm.fabs.nxv16f32(<vscale x 16 x float> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %20 = call double @llvm.fabs.f64(double undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %21 = call <2 x double> @llvm.fabs.v2f64(<2 x double> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %22 = call <4 x double> @llvm.fabs.v4f64(<4 x double> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %23 = call <8 x double> @llvm.fabs.v8f64(<8 x double> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %24 = call <16 x double> @llvm.fabs.v16f64(<16 x double> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %25 = call <vscale x 1 x double> @llvm.fabs.nxv1f64(<vscale x 1 x double> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %26 = call <vscale x 2 x double> @llvm.fabs.nxv2f64(<vscale x 2 x double> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %27 = call <vscale x 4 x double> @llvm.fabs.nxv4f64(<vscale x 4 x double> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %28 = call <vscale x 8 x double> @llvm.fabs.nxv8f64(<vscale x 8 x double> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret void |
| ; |
| |
| call half @llvm.fabs.f16(half undef) |
| call <2 x half> @llvm.fabs.v2f16(<2 x half> undef) |
| call <4 x half> @llvm.fabs.v4f16(<4 x half> undef) |
| call <8 x half> @llvm.fabs.v8f16(<8 x half> undef) |
| call <16 x half> @llvm.fabs.v16f16(<16 x half> undef) |
| call <vscale x 2 x half> @llvm.fabs.nvx2f16(<vscale x 2 x half> undef) |
| call <vscale x 4 x half> @llvm.fabs.nvx4f16(<vscale x 4 x half> undef) |
| call <vscale x 8 x half> @llvm.fabs.nvx8f16(<vscale x 8 x half> undef) |
| call <vscale x 16 x half> @llvm.fabs.nvx16f16(<vscale x 16 x half> undef) |
| call float @llvm.fabs.f32(float undef) |
| call <2 x float> @llvm.fabs.v2f32(<2 x float> undef) |
| call <4 x float> @llvm.fabs.v4f32(<4 x float> undef) |
| call <8 x float> @llvm.fabs.v8f32(<8 x float> undef) |
| call <16 x float> @llvm.fabs.v16f32(<16 x float> undef) |
| call <vscale x 1 x float> @llvm.fabs.nvx1f32(<vscale x 1 x float> undef) |
| call <vscale x 2 x float> @llvm.fabs.nvx2f32(<vscale x 2 x float> undef) |
| call <vscale x 4 x float> @llvm.fabs.nvx4f32(<vscale x 4 x float> undef) |
| call <vscale x 8 x float> @llvm.fabs.nvx8f32(<vscale x 8 x float> undef) |
| call <vscale x 16 x float> @llvm.fabs.nvx16f32(<vscale x 16 x float> undef) |
| call double @llvm.fabs.f64(double undef) |
| call <2 x double> @llvm.fabs.v2f64(<2 x double> undef) |
| call <4 x double> @llvm.fabs.v4f64(<4 x double> undef) |
| call <8 x double> @llvm.fabs.v8f64(<8 x double> undef) |
| call <16 x double> @llvm.fabs.v16f64(<16 x double> undef) |
| call <vscale x 1 x double> @llvm.fabs.nvx1f64(<vscale x 1 x double> undef) |
| call <vscale x 2 x double> @llvm.fabs.nvx2f64(<vscale x 2 x double> undef) |
| call <vscale x 4 x double> @llvm.fabs.nvx4f64(<vscale x 4 x double> undef) |
| call <vscale x 8 x double> @llvm.fabs.nvx8f64(<vscale x 8 x double> undef) |
| ret void |
| } |
| |
| define void @minnum() { |
| ; CHECK-LABEL: 'minnum' |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %1 = call float @llvm.minnum.f32(float undef, float undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %2 = call <2 x float> @llvm.minnum.v2f32(<2 x float> undef, <2 x float> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %3 = call <4 x float> @llvm.minnum.v4f32(<4 x float> undef, <4 x float> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %4 = call <8 x float> @llvm.minnum.v8f32(<8 x float> undef, <8 x float> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %5 = call <16 x float> @llvm.minnum.v16f32(<16 x float> undef, <16 x float> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %6 = call <vscale x 1 x float> @llvm.minnum.nxv1f32(<vscale x 1 x float> undef, <vscale x 1 x float> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %7 = call <vscale x 2 x float> @llvm.minnum.nxv2f32(<vscale x 2 x float> undef, <vscale x 2 x float> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %8 = call <vscale x 4 x float> @llvm.minnum.nxv4f32(<vscale x 4 x float> undef, <vscale x 4 x float> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %9 = call <vscale x 8 x float> @llvm.minnum.nxv8f32(<vscale x 8 x float> undef, <vscale x 8 x float> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %10 = call <vscale x 16 x float> @llvm.minnum.nxv16f32(<vscale x 16 x float> undef, <vscale x 16 x float> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %11 = call double @llvm.minnum.f64(double undef, double undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %12 = call <2 x double> @llvm.minnum.v2f64(<2 x double> undef, <2 x double> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %13 = call <4 x double> @llvm.minnum.v4f64(<4 x double> undef, <4 x double> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %14 = call <8 x double> @llvm.minnum.v8f64(<8 x double> undef, <8 x double> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %15 = call <16 x double> @llvm.minnum.v16f64(<16 x double> undef, <16 x double> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %16 = call <vscale x 1 x double> @llvm.minnum.nxv1f64(<vscale x 1 x double> undef, <vscale x 1 x double> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %17 = call <vscale x 2 x double> @llvm.minnum.nxv2f64(<vscale x 2 x double> undef, <vscale x 2 x double> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %18 = call <vscale x 4 x double> @llvm.minnum.nxv4f64(<vscale x 4 x double> undef, <vscale x 4 x double> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %19 = call <vscale x 8 x double> @llvm.minnum.nxv8f64(<vscale x 8 x double> undef, <vscale x 8 x double> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret void |
| ; |
| call float @llvm.minnum.f32(float undef, float undef) |
| call <2 x float> @llvm.minnum.v2f32(<2 x float> undef, <2 x float> undef) |
| call <4 x float> @llvm.minnum.v4f32(<4 x float> undef, <4 x float> undef) |
| call <8 x float> @llvm.minnum.v8f32(<8 x float> undef, <8 x float> undef) |
| call <16 x float> @llvm.minnum.v16f32(<16 x float> undef, <16 x float> undef) |
| call <vscale x 1 x float> @llvm.minnum.nvx1f32(<vscale x 1 x float> undef, <vscale x 1 x float> undef) |
| call <vscale x 2 x float> @llvm.minnum.nvx2f32(<vscale x 2 x float> undef, <vscale x 2 x float> undef) |
| call <vscale x 4 x float> @llvm.minnum.nvx4f32(<vscale x 4 x float> undef, <vscale x 4 x float> undef) |
| call <vscale x 8 x float> @llvm.minnum.nvx8f32(<vscale x 8 x float> undef, <vscale x 8 x float> undef) |
| call <vscale x 16 x float> @llvm.minnum.nvx16f32(<vscale x 16 x float> undef, <vscale x 16 x float> undef) |
| call double @llvm.minnum.f64(double undef, double undef) |
| call <2 x double> @llvm.minnum.v2f64(<2 x double> undef, <2 x double> undef) |
| call <4 x double> @llvm.minnum.v4f64(<4 x double> undef, <4 x double> undef) |
| call <8 x double> @llvm.minnum.v8f64(<8 x double> undef, <8 x double> undef) |
| call <16 x double> @llvm.minnum.v16f64(<16 x double> undef, <16 x double> undef) |
| call <vscale x 1 x double> @llvm.minnum.nvx1f64(<vscale x 1 x double> undef, <vscale x 1 x double> undef) |
| call <vscale x 2 x double> @llvm.minnum.nvx2f64(<vscale x 2 x double> undef, <vscale x 2 x double> undef) |
| call <vscale x 4 x double> @llvm.minnum.nvx4f64(<vscale x 4 x double> undef, <vscale x 4 x double> undef) |
| call <vscale x 8 x double> @llvm.minnum.nvx8f64(<vscale x 8 x double> undef, <vscale x 8 x double> undef) |
| ret void |
| } |
| |
| define void @maxnum() { |
| ; CHECK-LABEL: 'maxnum' |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %1 = call float @llvm.maxnum.f32(float undef, float undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %2 = call <2 x float> @llvm.maxnum.v2f32(<2 x float> undef, <2 x float> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %3 = call <4 x float> @llvm.maxnum.v4f32(<4 x float> undef, <4 x float> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %4 = call <8 x float> @llvm.maxnum.v8f32(<8 x float> undef, <8 x float> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %5 = call <16 x float> @llvm.maxnum.v16f32(<16 x float> undef, <16 x float> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %6 = call <vscale x 1 x float> @llvm.maxnum.nxv1f32(<vscale x 1 x float> undef, <vscale x 1 x float> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %7 = call <vscale x 2 x float> @llvm.maxnum.nxv2f32(<vscale x 2 x float> undef, <vscale x 2 x float> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %8 = call <vscale x 4 x float> @llvm.maxnum.nxv4f32(<vscale x 4 x float> undef, <vscale x 4 x float> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %9 = call <vscale x 8 x float> @llvm.maxnum.nxv8f32(<vscale x 8 x float> undef, <vscale x 8 x float> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %10 = call <vscale x 16 x float> @llvm.maxnum.nxv16f32(<vscale x 16 x float> undef, <vscale x 16 x float> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %11 = call double @llvm.maxnum.f64(double undef, double undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %12 = call <2 x double> @llvm.maxnum.v2f64(<2 x double> undef, <2 x double> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %13 = call <4 x double> @llvm.maxnum.v4f64(<4 x double> undef, <4 x double> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %14 = call <8 x double> @llvm.maxnum.v8f64(<8 x double> undef, <8 x double> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %15 = call <16 x double> @llvm.maxnum.v16f64(<16 x double> undef, <16 x double> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %16 = call <vscale x 1 x double> @llvm.maxnum.nxv1f64(<vscale x 1 x double> undef, <vscale x 1 x double> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %17 = call <vscale x 2 x double> @llvm.maxnum.nxv2f64(<vscale x 2 x double> undef, <vscale x 2 x double> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %18 = call <vscale x 4 x double> @llvm.maxnum.nxv4f64(<vscale x 4 x double> undef, <vscale x 4 x double> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %19 = call <vscale x 8 x double> @llvm.maxnum.nxv8f64(<vscale x 8 x double> undef, <vscale x 8 x double> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret void |
| ; |
| call float @llvm.maxnum.f32(float undef, float undef) |
| call <2 x float> @llvm.maxnum.v2f32(<2 x float> undef, <2 x float> undef) |
| call <4 x float> @llvm.maxnum.v4f32(<4 x float> undef, <4 x float> undef) |
| call <8 x float> @llvm.maxnum.v8f32(<8 x float> undef, <8 x float> undef) |
| call <16 x float> @llvm.maxnum.v16f32(<16 x float> undef, <16 x float> undef) |
| call <vscale x 1 x float> @llvm.maxnum.nvx1f32(<vscale x 1 x float> undef, <vscale x 1 x float> undef) |
| call <vscale x 2 x float> @llvm.maxnum.nvx2f32(<vscale x 2 x float> undef, <vscale x 2 x float> undef) |
| call <vscale x 4 x float> @llvm.maxnum.nvx4f32(<vscale x 4 x float> undef, <vscale x 4 x float> undef) |
| call <vscale x 8 x float> @llvm.maxnum.nvx8f32(<vscale x 8 x float> undef, <vscale x 8 x float> undef) |
| call <vscale x 16 x float> @llvm.maxnum.nvx16f32(<vscale x 16 x float> undef, <vscale x 16 x float> undef) |
| call double @llvm.maxnum.f64(double undef, double undef) |
| call <2 x double> @llvm.maxnum.v2f64(<2 x double> undef, <2 x double> undef) |
| call <4 x double> @llvm.maxnum.v4f64(<4 x double> undef, <4 x double> undef) |
| call <8 x double> @llvm.maxnum.v8f64(<8 x double> undef, <8 x double> undef) |
| call <16 x double> @llvm.maxnum.v16f64(<16 x double> undef, <16 x double> undef) |
| call <vscale x 1 x double> @llvm.maxnum.nvx1f64(<vscale x 1 x double> undef, <vscale x 1 x double> undef) |
| call <vscale x 2 x double> @llvm.maxnum.nvx2f64(<vscale x 2 x double> undef, <vscale x 2 x double> undef) |
| call <vscale x 4 x double> @llvm.maxnum.nvx4f64(<vscale x 4 x double> undef, <vscale x 4 x double> undef) |
| call <vscale x 8 x double> @llvm.maxnum.nvx8f64(<vscale x 8 x double> undef, <vscale x 8 x double> undef) |
| ret void |
| } |
| |
| define void @minimum() { |
| ; CHECK-LABEL: 'minimum' |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %1 = call float @llvm.minimum.f32(float undef, float undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %2 = call <2 x float> @llvm.minimum.v2f32(<2 x float> undef, <2 x float> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %3 = call <4 x float> @llvm.minimum.v4f32(<4 x float> undef, <4 x float> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %4 = call <8 x float> @llvm.minimum.v8f32(<8 x float> undef, <8 x float> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %5 = call <16 x float> @llvm.minimum.v16f32(<16 x float> undef, <16 x float> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %6 = call <vscale x 1 x float> @llvm.minimum.nxv1f32(<vscale x 1 x float> undef, <vscale x 1 x float> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %7 = call <vscale x 2 x float> @llvm.minimum.nxv2f32(<vscale x 2 x float> undef, <vscale x 2 x float> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %8 = call <vscale x 4 x float> @llvm.minimum.nxv4f32(<vscale x 4 x float> undef, <vscale x 4 x float> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %9 = call <vscale x 8 x float> @llvm.minimum.nxv8f32(<vscale x 8 x float> undef, <vscale x 8 x float> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %10 = call <vscale x 16 x float> @llvm.minimum.nxv16f32(<vscale x 16 x float> undef, <vscale x 16 x float> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %11 = call double @llvm.minimum.f64(double undef, double undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %12 = call <2 x double> @llvm.minimum.v2f64(<2 x double> undef, <2 x double> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %13 = call <4 x double> @llvm.minimum.v4f64(<4 x double> undef, <4 x double> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %14 = call <8 x double> @llvm.minimum.v8f64(<8 x double> undef, <8 x double> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %15 = call <16 x double> @llvm.minimum.v16f64(<16 x double> undef, <16 x double> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %16 = call <vscale x 1 x double> @llvm.minimum.nxv1f64(<vscale x 1 x double> undef, <vscale x 1 x double> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %17 = call <vscale x 2 x double> @llvm.minimum.nxv2f64(<vscale x 2 x double> undef, <vscale x 2 x double> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %18 = call <vscale x 4 x double> @llvm.minimum.nxv4f64(<vscale x 4 x double> undef, <vscale x 4 x double> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %19 = call <vscale x 8 x double> @llvm.minimum.nxv8f64(<vscale x 8 x double> undef, <vscale x 8 x double> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret void |
| ; |
| call float @llvm.minimum.f32(float undef, float undef) |
| call <2 x float> @llvm.minimum.v2f32(<2 x float> undef, <2 x float> undef) |
| call <4 x float> @llvm.minimum.v4f32(<4 x float> undef, <4 x float> undef) |
| call <8 x float> @llvm.minimum.v8f32(<8 x float> undef, <8 x float> undef) |
| call <16 x float> @llvm.minimum.v16f32(<16 x float> undef, <16 x float> undef) |
| call <vscale x 1 x float> @llvm.minimum.nvx1f32(<vscale x 1 x float> undef, <vscale x 1 x float> undef) |
| call <vscale x 2 x float> @llvm.minimum.nvx2f32(<vscale x 2 x float> undef, <vscale x 2 x float> undef) |
| call <vscale x 4 x float> @llvm.minimum.nvx4f32(<vscale x 4 x float> undef, <vscale x 4 x float> undef) |
| call <vscale x 8 x float> @llvm.minimum.nvx8f32(<vscale x 8 x float> undef, <vscale x 8 x float> undef) |
| call <vscale x 16 x float> @llvm.minimum.nvx16f32(<vscale x 16 x float> undef, <vscale x 16 x float> undef) |
| call double @llvm.minimum.f64(double undef, double undef) |
| call <2 x double> @llvm.minimum.v2f64(<2 x double> undef, <2 x double> undef) |
| call <4 x double> @llvm.minimum.v4f64(<4 x double> undef, <4 x double> undef) |
| call <8 x double> @llvm.minimum.v8f64(<8 x double> undef, <8 x double> undef) |
| call <16 x double> @llvm.minimum.v16f64(<16 x double> undef, <16 x double> undef) |
| call <vscale x 1 x double> @llvm.minimum.nvx1f64(<vscale x 1 x double> undef, <vscale x 1 x double> undef) |
| call <vscale x 2 x double> @llvm.minimum.nvx2f64(<vscale x 2 x double> undef, <vscale x 2 x double> undef) |
| call <vscale x 4 x double> @llvm.minimum.nvx4f64(<vscale x 4 x double> undef, <vscale x 4 x double> undef) |
| call <vscale x 8 x double> @llvm.minimum.nvx8f64(<vscale x 8 x double> undef, <vscale x 8 x double> undef) |
| ret void |
| } |
| |
| define void @maximum() { |
| ; CHECK-LABEL: 'maximum' |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %1 = call float @llvm.maximum.f32(float undef, float undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %2 = call <2 x float> @llvm.maximum.v2f32(<2 x float> undef, <2 x float> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %3 = call <4 x float> @llvm.maximum.v4f32(<4 x float> undef, <4 x float> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %4 = call <8 x float> @llvm.maximum.v8f32(<8 x float> undef, <8 x float> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %5 = call <16 x float> @llvm.maximum.v16f32(<16 x float> undef, <16 x float> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %6 = call <vscale x 1 x float> @llvm.maximum.nxv1f32(<vscale x 1 x float> undef, <vscale x 1 x float> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %7 = call <vscale x 2 x float> @llvm.maximum.nxv2f32(<vscale x 2 x float> undef, <vscale x 2 x float> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %8 = call <vscale x 4 x float> @llvm.maximum.nxv4f32(<vscale x 4 x float> undef, <vscale x 4 x float> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %9 = call <vscale x 8 x float> @llvm.maximum.nxv8f32(<vscale x 8 x float> undef, <vscale x 8 x float> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %10 = call <vscale x 16 x float> @llvm.maximum.nxv16f32(<vscale x 16 x float> undef, <vscale x 16 x float> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %11 = call double @llvm.maximum.f64(double undef, double undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %12 = call <2 x double> @llvm.maximum.v2f64(<2 x double> undef, <2 x double> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %13 = call <4 x double> @llvm.maximum.v4f64(<4 x double> undef, <4 x double> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %14 = call <8 x double> @llvm.maximum.v8f64(<8 x double> undef, <8 x double> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %15 = call <16 x double> @llvm.maximum.v16f64(<16 x double> undef, <16 x double> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %16 = call <vscale x 1 x double> @llvm.maximum.nxv1f64(<vscale x 1 x double> undef, <vscale x 1 x double> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %17 = call <vscale x 2 x double> @llvm.maximum.nxv2f64(<vscale x 2 x double> undef, <vscale x 2 x double> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %18 = call <vscale x 4 x double> @llvm.maximum.nxv4f64(<vscale x 4 x double> undef, <vscale x 4 x double> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %19 = call <vscale x 8 x double> @llvm.maximum.nxv8f64(<vscale x 8 x double> undef, <vscale x 8 x double> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret void |
| ; |
| call float @llvm.maximum.f32(float undef, float undef) |
| call <2 x float> @llvm.maximum.v2f32(<2 x float> undef, <2 x float> undef) |
| call <4 x float> @llvm.maximum.v4f32(<4 x float> undef, <4 x float> undef) |
| call <8 x float> @llvm.maximum.v8f32(<8 x float> undef, <8 x float> undef) |
| call <16 x float> @llvm.maximum.v16f32(<16 x float> undef, <16 x float> undef) |
| call <vscale x 1 x float> @llvm.maximum.nvx1f32(<vscale x 1 x float> undef, <vscale x 1 x float> undef) |
| call <vscale x 2 x float> @llvm.maximum.nvx2f32(<vscale x 2 x float> undef, <vscale x 2 x float> undef) |
| call <vscale x 4 x float> @llvm.maximum.nvx4f32(<vscale x 4 x float> undef, <vscale x 4 x float> undef) |
| call <vscale x 8 x float> @llvm.maximum.nvx8f32(<vscale x 8 x float> undef, <vscale x 8 x float> undef) |
| call <vscale x 16 x float> @llvm.maximum.nvx16f32(<vscale x 16 x float> undef, <vscale x 16 x float> undef) |
| call double @llvm.maximum.f64(double undef, double undef) |
| call <2 x double> @llvm.maximum.v2f64(<2 x double> undef, <2 x double> undef) |
| call <4 x double> @llvm.maximum.v4f64(<4 x double> undef, <4 x double> undef) |
| call <8 x double> @llvm.maximum.v8f64(<8 x double> undef, <8 x double> undef) |
| call <16 x double> @llvm.maximum.v16f64(<16 x double> undef, <16 x double> undef) |
| call <vscale x 1 x double> @llvm.maximum.nvx1f64(<vscale x 1 x double> undef, <vscale x 1 x double> undef) |
| call <vscale x 2 x double> @llvm.maximum.nvx2f64(<vscale x 2 x double> undef, <vscale x 2 x double> undef) |
| call <vscale x 4 x double> @llvm.maximum.nvx4f64(<vscale x 4 x double> undef, <vscale x 4 x double> undef) |
| call <vscale x 8 x double> @llvm.maximum.nvx8f64(<vscale x 8 x double> undef, <vscale x 8 x double> undef) |
| ret void |
| } |
| |
| define void @copysign() { |
| ; CHECK-LABEL: 'copysign' |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %1 = call float @llvm.copysign.f32(float undef, float undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %2 = call <2 x float> @llvm.copysign.v2f32(<2 x float> undef, <2 x float> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %3 = call <4 x float> @llvm.copysign.v4f32(<4 x float> undef, <4 x float> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %4 = call <8 x float> @llvm.copysign.v8f32(<8 x float> undef, <8 x float> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %5 = call <16 x float> @llvm.copysign.v16f32(<16 x float> undef, <16 x float> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %6 = call <vscale x 1 x float> @llvm.copysign.nxv1f32(<vscale x 1 x float> undef, <vscale x 1 x float> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %7 = call <vscale x 2 x float> @llvm.copysign.nxv2f32(<vscale x 2 x float> undef, <vscale x 2 x float> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %8 = call <vscale x 4 x float> @llvm.copysign.nxv4f32(<vscale x 4 x float> undef, <vscale x 4 x float> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %9 = call <vscale x 8 x float> @llvm.copysign.nxv8f32(<vscale x 8 x float> undef, <vscale x 8 x float> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %10 = call <vscale x 16 x float> @llvm.copysign.nxv16f32(<vscale x 16 x float> undef, <vscale x 16 x float> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %11 = call double @llvm.copysign.f64(double undef, double undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %12 = call <2 x double> @llvm.copysign.v2f64(<2 x double> undef, <2 x double> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %13 = call <4 x double> @llvm.copysign.v4f64(<4 x double> undef, <4 x double> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %14 = call <8 x double> @llvm.copysign.v8f64(<8 x double> undef, <8 x double> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %15 = call <16 x double> @llvm.copysign.v16f64(<16 x double> undef, <16 x double> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %16 = call <vscale x 1 x double> @llvm.copysign.nxv1f64(<vscale x 1 x double> undef, <vscale x 1 x double> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %17 = call <vscale x 2 x double> @llvm.copysign.nxv2f64(<vscale x 2 x double> undef, <vscale x 2 x double> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %18 = call <vscale x 4 x double> @llvm.copysign.nxv4f64(<vscale x 4 x double> undef, <vscale x 4 x double> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %19 = call <vscale x 8 x double> @llvm.copysign.nxv8f64(<vscale x 8 x double> undef, <vscale x 8 x double> undef) |
| ; CHECK-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret void |
| ; |
| call float @llvm.copysign.f32(float undef, float undef) |
| call <2 x float> @llvm.copysign.v2f32(<2 x float> undef, <2 x float> undef) |
| call <4 x float> @llvm.copysign.v4f32(<4 x float> undef, <4 x float> undef) |
| call <8 x float> @llvm.copysign.v8f32(<8 x float> undef, <8 x float> undef) |
| call <16 x float> @llvm.copysign.v16f32(<16 x float> undef, <16 x float> undef) |
| call <vscale x 1 x float> @llvm.copysign.nvx1f32(<vscale x 1 x float> undef, <vscale x 1 x float> undef) |
| call <vscale x 2 x float> @llvm.copysign.nvx2f32(<vscale x 2 x float> undef, <vscale x 2 x float> undef) |
| call <vscale x 4 x float> @llvm.copysign.nvx4f32(<vscale x 4 x float> undef, <vscale x 4 x float> undef) |
| call <vscale x 8 x float> @llvm.copysign.nvx8f32(<vscale x 8 x float> undef, <vscale x 8 x float> undef) |
| call <vscale x 16 x float> @llvm.copysign.nvx16f32(<vscale x 16 x float> undef, <vscale x 16 x float> undef) |
| call double @llvm.copysign.f64(double undef, double undef) |
| call <2 x double> @llvm.copysign.v2f64(<2 x double> undef, <2 x double> undef) |
| call <4 x double> @llvm.copysign.v4f64(<4 x double> undef, <4 x double> undef) |
| call <8 x double> @llvm.copysign.v8f64(<8 x double> undef, <8 x double> undef) |
| call <16 x double> @llvm.copysign.v16f64(<16 x double> undef, <16 x double> undef) |
| call <vscale x 1 x double> @llvm.copysign.nvx1f64(<vscale x 1 x double> undef, <vscale x 1 x double> undef) |
| call <vscale x 2 x double> @llvm.copysign.nvx2f64(<vscale x 2 x double> undef, <vscale x 2 x double> undef) |
| call <vscale x 4 x double> @llvm.copysign.nvx4f64(<vscale x 4 x double> undef, <vscale x 4 x double> undef) |
| call <vscale x 8 x double> @llvm.copysign.nvx8f64(<vscale x 8 x double> undef, <vscale x 8 x double> undef) |
| ret void |
| } |
| |
| declare half @llvm.fabs.f16(half) |
| declare <2 x half> @llvm.fabs.v2f16(<2 x half>) |
| declare <4 x half> @llvm.fabs.v4f16(<4 x half>) |
| declare <8 x half> @llvm.fabs.v8f16(<8 x half>) |
| declare <16 x half> @llvm.fabs.v16f16(<16 x half>) |
| declare <vscale x 2 x half> @llvm.fabs.nvx2f16(<vscale x 2 x half>) |
| declare <vscale x 4 x half> @llvm.fabs.nvx4f16(<vscale x 4 x half>) |
| declare <vscale x 8 x half> @llvm.fabs.nvx8f16(<vscale x 8 x half>) |
| declare <vscale x 16 x half> @llvm.fabs.nvx16f16(<vscale x 16 x half>) |
| declare float @llvm.fabs.f32(float) |
| declare <2 x float> @llvm.fabs.v2f32(<2 x float>) |
| declare <4 x float> @llvm.fabs.v4f32(<4 x float>) |
| declare <8 x float> @llvm.fabs.v8f32(<8 x float>) |
| declare <16 x float> @llvm.fabs.v16f32(<16 x float>) |
| declare <vscale x 1 x float> @llvm.fabs.nvx1f32(<vscale x 1 x float>) |
| declare <vscale x 2 x float> @llvm.fabs.nvx2f32(<vscale x 2 x float>) |
| declare <vscale x 4 x float> @llvm.fabs.nvx4f32(<vscale x 4 x float>) |
| declare <vscale x 8 x float> @llvm.fabs.nvx8f32(<vscale x 8 x float>) |
| declare <vscale x 16 x float> @llvm.fabs.nvx16f32(<vscale x 16 x float>) |
| declare double @llvm.fabs.f64(double) |
| declare <2 x double> @llvm.fabs.v2f64(<2 x double>) |
| declare <4 x double> @llvm.fabs.v4f64(<4 x double>) |
| declare <8 x double> @llvm.fabs.v8f64(<8 x double>) |
| declare <16 x double> @llvm.fabs.v16f64(<16 x double>) |
| declare <vscale x 1 x double> @llvm.fabs.nvx1f64(<vscale x 1 x double>) |
| declare <vscale x 2 x double> @llvm.fabs.nvx2f64(<vscale x 2 x double>) |
| declare <vscale x 4 x double> @llvm.fabs.nvx4f64(<vscale x 4 x double>) |
| declare <vscale x 8 x double> @llvm.fabs.nvx8f64(<vscale x 8 x double>) |
| |
| declare float @llvm.minnum.f32(float, float) |
| declare <2 x float> @llvm.minnum.v2f32(<2 x float>, <2 x float>) |
| declare <4 x float> @llvm.minnum.v4f32(<4 x float>, <4 x float>) |
| declare <8 x float> @llvm.minnum.v8f32(<8 x float>, <8 x float>) |
| declare <16 x float> @llvm.minnum.v16f32(<16 x float>, <16 x float>) |
| declare <vscale x 1 x float> @llvm.minnum.nvx1f32(<vscale x 1 x float>, <vscale x 1 x float>) |
| declare <vscale x 2 x float> @llvm.minnum.nvx2f32(<vscale x 2 x float>, <vscale x 2 x float>) |
| declare <vscale x 4 x float> @llvm.minnum.nvx4f32(<vscale x 4 x float>, <vscale x 4 x float>) |
| declare <vscale x 8 x float> @llvm.minnum.nvx8f32(<vscale x 8 x float>, <vscale x 8 x float>) |
| declare <vscale x 16 x float> @llvm.minnum.nvx16f32(<vscale x 16 x float>, <vscale x 16 x float>) |
| declare double @llvm.minnum.f64(double, double) |
| declare <2 x double> @llvm.minnum.v2f64(<2 x double>, <2 x double>) |
| declare <4 x double> @llvm.minnum.v4f64(<4 x double>, <4 x double>) |
| declare <8 x double> @llvm.minnum.v8f64(<8 x double>, <8 x double>) |
| declare <16 x double> @llvm.minnum.v16f64(<16 x double>, <16 x double>) |
| declare <vscale x 1 x double> @llvm.minnum.nvx1f64(<vscale x 1 x double>, <vscale x 1 x double>) |
| declare <vscale x 2 x double> @llvm.minnum.nvx2f64(<vscale x 2 x double>, <vscale x 2 x double>) |
| declare <vscale x 4 x double> @llvm.minnum.nvx4f64(<vscale x 4 x double>, <vscale x 4 x double>) |
| declare <vscale x 8 x double> @llvm.minnum.nvx8f64(<vscale x 8 x double>, <vscale x 8 x double>) |
| |
| declare float @llvm.maxnum.f32(float, float) |
| declare <2 x float> @llvm.maxnum.v2f32(<2 x float>, <2 x float>) |
| declare <4 x float> @llvm.maxnum.v4f32(<4 x float>, <4 x float>) |
| declare <8 x float> @llvm.maxnum.v8f32(<8 x float>, <8 x float>) |
| declare <16 x float> @llvm.maxnum.v16f32(<16 x float>, <16 x float>) |
| declare <vscale x 1 x float> @llvm.maxnum.nvx1f32(<vscale x 1 x float>, <vscale x 1 x float>) |
| declare <vscale x 2 x float> @llvm.maxnum.nvx2f32(<vscale x 2 x float>, <vscale x 2 x float>) |
| declare <vscale x 4 x float> @llvm.maxnum.nvx4f32(<vscale x 4 x float>, <vscale x 4 x float>) |
| declare <vscale x 8 x float> @llvm.maxnum.nvx8f32(<vscale x 8 x float>, <vscale x 8 x float>) |
| declare <vscale x 16 x float> @llvm.maxnum.nvx16f32(<vscale x 16 x float>, <vscale x 16 x float>) |
| declare double @llvm.maxnum.f64(double, double) |
| declare <2 x double> @llvm.maxnum.v2f64(<2 x double>, <2 x double>) |
| declare <4 x double> @llvm.maxnum.v4f64(<4 x double>, <4 x double>) |
| declare <8 x double> @llvm.maxnum.v8f64(<8 x double>, <8 x double>) |
| declare <16 x double> @llvm.maxnum.v16f64(<16 x double>, <16 x double>) |
| declare <vscale x 1 x double> @llvm.maxnum.nvx1f64(<vscale x 1 x double>, <vscale x 1 x double>) |
| declare <vscale x 2 x double> @llvm.maxnum.nvx2f64(<vscale x 2 x double>, <vscale x 2 x double>) |
| declare <vscale x 4 x double> @llvm.maxnum.nvx4f64(<vscale x 4 x double>, <vscale x 4 x double>) |
| declare <vscale x 8 x double> @llvm.maxnum.nvx8f64(<vscale x 8 x double>, <vscale x 8 x double>) |
| |
| declare float @llvm.minimum.f32(float, float) |
| declare <2 x float> @llvm.minimum.v2f32(<2 x float>, <2 x float>) |
| declare <4 x float> @llvm.minimum.v4f32(<4 x float>, <4 x float>) |
| declare <8 x float> @llvm.minimum.v8f32(<8 x float>, <8 x float>) |
| declare <16 x float> @llvm.minimum.v16f32(<16 x float>, <16 x float>) |
| declare <vscale x 1 x float> @llvm.minimum.nvx1f32(<vscale x 1 x float>, <vscale x 1 x float>) |
| declare <vscale x 2 x float> @llvm.minimum.nvx2f32(<vscale x 2 x float>, <vscale x 2 x float>) |
| declare <vscale x 4 x float> @llvm.minimum.nvx4f32(<vscale x 4 x float>, <vscale x 4 x float>) |
| declare <vscale x 8 x float> @llvm.minimum.nvx8f32(<vscale x 8 x float>, <vscale x 8 x float>) |
| declare <vscale x 16 x float> @llvm.minimum.nvx16f32(<vscale x 16 x float>, <vscale x 16 x float>) |
| declare double @llvm.minimum.f64(double, double) |
| declare <2 x double> @llvm.minimum.v2f64(<2 x double>, <2 x double>) |
| declare <4 x double> @llvm.minimum.v4f64(<4 x double>, <4 x double>) |
| declare <8 x double> @llvm.minimum.v8f64(<8 x double>, <8 x double>) |
| declare <16 x double> @llvm.minimum.v16f64(<16 x double>, <16 x double>) |
| declare <vscale x 1 x double> @llvm.minimum.nvx1f64(<vscale x 1 x double>, <vscale x 1 x double>) |
| declare <vscale x 2 x double> @llvm.minimum.nvx2f64(<vscale x 2 x double>, <vscale x 2 x double>) |
| declare <vscale x 4 x double> @llvm.minimum.nvx4f64(<vscale x 4 x double>, <vscale x 4 x double>) |
| declare <vscale x 8 x double> @llvm.minimum.nvx8f64(<vscale x 8 x double>, <vscale x 8 x double>) |
| |
| declare float @llvm.maximum.f32(float, float) |
| declare <2 x float> @llvm.maximum.v2f32(<2 x float>, <2 x float>) |
| declare <4 x float> @llvm.maximum.v4f32(<4 x float>, <4 x float>) |
| declare <8 x float> @llvm.maximum.v8f32(<8 x float>, <8 x float>) |
| declare <16 x float> @llvm.maximum.v16f32(<16 x float>, <16 x float>) |
| declare <vscale x 1 x float> @llvm.maximum.nvx1f32(<vscale x 1 x float>, <vscale x 1 x float>) |
| declare <vscale x 2 x float> @llvm.maximum.nvx2f32(<vscale x 2 x float>, <vscale x 2 x float>) |
| declare <vscale x 4 x float> @llvm.maximum.nvx4f32(<vscale x 4 x float>, <vscale x 4 x float>) |
| declare <vscale x 8 x float> @llvm.maximum.nvx8f32(<vscale x 8 x float>, <vscale x 8 x float>) |
| declare <vscale x 16 x float> @llvm.maximum.nvx16f32(<vscale x 16 x float>, <vscale x 16 x float>) |
| declare double @llvm.maximum.f64(double, double) |
| declare <2 x double> @llvm.maximum.v2f64(<2 x double>, <2 x double>) |
| declare <4 x double> @llvm.maximum.v4f64(<4 x double>, <4 x double>) |
| declare <8 x double> @llvm.maximum.v8f64(<8 x double>, <8 x double>) |
| declare <16 x double> @llvm.maximum.v16f64(<16 x double>, <16 x double>) |
| declare <vscale x 1 x double> @llvm.maximum.nvx1f64(<vscale x 1 x double>, <vscale x 1 x double>) |
| declare <vscale x 2 x double> @llvm.maximum.nvx2f64(<vscale x 2 x double>, <vscale x 2 x double>) |
| declare <vscale x 4 x double> @llvm.maximum.nvx4f64(<vscale x 4 x double>, <vscale x 4 x double>) |
| declare <vscale x 8 x double> @llvm.maximum.nvx8f64(<vscale x 8 x double>, <vscale x 8 x double>) |
| |
| declare float @llvm.copysign.f32(float, float) |
| declare <2 x float> @llvm.copysign.v2f32(<2 x float>, <2 x float>) |
| declare <4 x float> @llvm.copysign.v4f32(<4 x float>, <4 x float>) |
| declare <8 x float> @llvm.copysign.v8f32(<8 x float>, <8 x float>) |
| declare <16 x float> @llvm.copysign.v16f32(<16 x float>, <16 x float>) |
| declare <vscale x 1 x float> @llvm.copysign.nvx1f32(<vscale x 1 x float>, <vscale x 1 x float>) |
| declare <vscale x 2 x float> @llvm.copysign.nvx2f32(<vscale x 2 x float>, <vscale x 2 x float>) |
| declare <vscale x 4 x float> @llvm.copysign.nvx4f32(<vscale x 4 x float>, <vscale x 4 x float>) |
| declare <vscale x 8 x float> @llvm.copysign.nvx8f32(<vscale x 8 x float>, <vscale x 8 x float>) |
| declare <vscale x 16 x float> @llvm.copysign.nvx16f32(<vscale x 16 x float>, <vscale x 16 x float>) |
| declare double @llvm.copysign.f64(double, double) |
| declare <2 x double> @llvm.copysign.v2f64(<2 x double>, <2 x double>) |
| declare <4 x double> @llvm.copysign.v4f64(<4 x double>, <4 x double>) |
| declare <8 x double> @llvm.copysign.v8f64(<8 x double>, <8 x double>) |
| declare <16 x double> @llvm.copysign.v16f64(<16 x double>, <16 x double>) |
| declare <vscale x 1 x double> @llvm.copysign.nvx1f64(<vscale x 1 x double>, <vscale x 1 x double>) |
| declare <vscale x 2 x double> @llvm.copysign.nvx2f64(<vscale x 2 x double>, <vscale x 2 x double>) |
| declare <vscale x 4 x double> @llvm.copysign.nvx4f64(<vscale x 4 x double>, <vscale x 4 x double>) |
| declare <vscale x 8 x double> @llvm.copysign.nvx8f64(<vscale x 8 x double>, <vscale x 8 x double>) |