brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.3 KiB · 6dc606e Raw
42 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 42; RUN: llc %s -o - -mtriple=armv8-none-eabi -mattr=+aes | FileCheck %s3 4declare <16 x i8> @llvm.arm.neon.aese(<16 x i8> %d, <16 x i8> %k)5declare <16 x i8> @llvm.arm.neon.aesd(<16 x i8> %d, <16 x i8> %k)6 7define arm_aapcs_vfpcc <16 x i8> @aese(<16 x i8> %a, <16 x i8> %b) {8; CHECK-LABEL: aese:9; CHECK:       @ %bb.0:10; CHECK-NEXT:    aese.8 q0, q111; CHECK-NEXT:    bx lr12  %r = call <16 x i8> @llvm.arm.neon.aese(<16 x i8> %a, <16 x i8> %b)13  ret <16 x i8> %r14}15 16define arm_aapcs_vfpcc <16 x i8> @aese_c(<16 x i8> %a, <16 x i8> %b) {17; CHECK-LABEL: aese_c:18; CHECK:       @ %bb.0:19; CHECK-NEXT:    aese.8 q0, q120; CHECK-NEXT:    bx lr21  %r = call <16 x i8> @llvm.arm.neon.aese(<16 x i8> %b, <16 x i8> %a)22  ret <16 x i8> %r23}24 25define arm_aapcs_vfpcc <16 x i8> @aesd(<16 x i8> %a, <16 x i8> %b) {26; CHECK-LABEL: aesd:27; CHECK:       @ %bb.0:28; CHECK-NEXT:    aesd.8 q0, q129; CHECK-NEXT:    bx lr30  %r = call <16 x i8> @llvm.arm.neon.aesd(<16 x i8> %a, <16 x i8> %b)31  ret <16 x i8> %r32}33 34define arm_aapcs_vfpcc <16 x i8> @aesd_c(<16 x i8> %a, <16 x i8> %b) {35; CHECK-LABEL: aesd_c:36; CHECK:       @ %bb.0:37; CHECK-NEXT:    aesd.8 q0, q138; CHECK-NEXT:    bx lr39  %r = call <16 x i8> @llvm.arm.neon.aesd(<16 x i8> %b, <16 x i8> %a)40  ret <16 x i8> %r41}42