| /llvm-project-15.0.7/llvm/test/CodeGen/AArch64/ |
| H A D | sve-ld1r.ll | 49 ret <vscale x 16 x i8> %shf 62 ret <vscale x 16 x i8> %shf 76 ret <vscale x 16 x i8> %shf 90 ret <vscale x 16 x i8> %shf 103 ret <vscale x 8 x i16> %shf 116 ret <vscale x 8 x i16> %shf 129 ret <vscale x 4 x i32> %shf 142 ret <vscale x 4 x i32> %shf 155 ret <vscale x 2 x i64> %shf 168 ret <vscale x 2 x i64> %shf [all …]
|
| /llvm-project-15.0.7/llvm/test/MC/Mips/msa/ |
| H A D | test_i8.s | 9 # CHECK: shf.b $w19, $w30, 105 # encoding: [0x78,0x69,0xf4,0xc2] 10 # CHECK: shf.h $w17, $w8, 76 # encoding: [0x79,0x4c,0x44,0x42] 11 # CHECK: shf.w $w14, $w3, 93 # encoding: [0x7a,0x5d,0x1b,0x82] 20 shf.b $w19, $w30, 105 21 shf.h $w17, $w8, 76 22 shf.w $w14, $w3, 93
|
| H A D | invalid-64.s | 40 shf.b $w19, $w30, -1 # CHECK: :[[@LINE]]:23: error: expected 8-bit unsigned immediate 41 shf.h $w17, $w8, -1 # CHECK: :[[@LINE]]:22: error: expected 8-bit unsigned immediate 42 shf.w $w14, $w3, -1 # CHECK: :[[@LINE]]:22: error: expected 8-bit unsigned immediate
|
| H A D | invalid.s | 208 shf.b $w19, $w30, -1 # CHECK: :[[@LINE]]:23: error: expected 8-bit unsigned immediate 209 shf.b $w19, $w30, 256 # CHECK: :[[@LINE]]:23: error: expected 8-bit unsigned immediate 210 shf.h $w17, $w8, -1 # CHECK: :[[@LINE]]:22: error: expected 8-bit unsigned immediate 211 shf.h $w17, $w8, 256 # CHECK: :[[@LINE]]:22: error: expected 8-bit unsigned immediate 212 shf.w $w14, $w3, -1 # CHECK: :[[@LINE]]:22: error: expected 8-bit unsigned immediate 213 shf.w $w14, $w3, 256 # CHECK: :[[@LINE]]:22: error: expected 8-bit unsigned immediate
|
| /llvm-project-15.0.7/clang/test/Frontend/ |
| H A D | fixed_point_compound.c | 5 short _Fract shf; variable 35 shf += a; in add_shfa() 105 ula += shf; in add_ulashf() 133 uf += shf; in add_ufshf() 147 a += shf; in add_ashf()
|
| /llvm-project-15.0.7/llvm/test/CodeGen/NVPTX/ |
| H A D | rotate.ll | 18 ; SM35: shf.l.wrap.b32 30 ; SM35: shf.l.wrap.b32 31 ; SM35: shf.l.wrap.b32 43 ; SM35: shf.r.wrap.b32 44 ; SM35: shf.r.wrap.b32 55 ; SM35: shf.l.wrap.b32
|
| /llvm-project-15.0.7/llvm/test/MC/Disassembler/Mips/msa/ |
| H A D | test_i8.txt | 9 0x78 0x69 0xf4 0xc2 # CHECK: shf.b $w19, $w30, 105 10 0x79 0x4c 0x44 0x42 # CHECK: shf.h $w17, $w8, 76 11 0x7a 0x5d 0x1b 0x82 # CHECK: shf.w $w14, $w3, 93
|
| /llvm-project-15.0.7/llvm/test/CodeGen/Mips/msa/ |
| H A D | i8.ll | 142 %1 = tail call <16 x i8> @llvm.mips.shf.b(<16 x i8> %0, i32 25) 147 declare <16 x i8> @llvm.mips.shf.b(<16 x i8>, i32) nounwind 151 ; CHECK: shf.b 161 %1 = tail call <8 x i16> @llvm.mips.shf.h(<8 x i16> %0, i32 25) 166 declare <8 x i16> @llvm.mips.shf.h(<8 x i16>, i32) nounwind 170 ; CHECK: shf.h 180 %1 = tail call <4 x i32> @llvm.mips.shf.w(<4 x i32> %0, i32 25) 185 declare <4 x i32> @llvm.mips.shf.w(<4 x i32>, i32) nounwind 189 ; CHECK: shf.w
|
| H A D | bitcast.ll | 50 ; BIGENDIAN: shf.b [[R3:\$w[0-9]+]], [[R2]], 177 98 ; BIGENDIAN: shf.b [[R3:\$w[0-9]+]], [[R2]], 27 123 ; BIGENDIAN: shf.b [[R3:\$w[0-9]+]], [[R2]], 27 148 ; BIGENDIAN: shf.b [[R3:\$w[0-9]+]], [[R2]], 27 149 ; BIGENDIAN: shf.w [[R3:\$w[0-9]+]], [[R3]], 177 174 ; BIGENDIAN: shf.b [[R3:\$w[0-9]+]], [[R2]], 27 175 ; BIGENDIAN: shf.w [[R3:\$w[0-9]+]], [[R3]], 177 200 ; BIGENDIAN: shf.b [[R3:\$w[0-9]+]], [[R2]], 177 272 ; BIGENDIAN: shf.h [[R3:\$w[0-9]+]], [[R2]], 177 322 ; BIGENDIAN: shf.h [[R3:\$w[0-9]+]], [[R2]], 27 [all …]
|
| H A D | shuffle.ll | 165 ; CHECK-DAG: shf.w [[R3:\$w[0-9]+]], [[R1]], 27 192 ; CHECK-DAG: shf.w [[R3:\$w[0-9]+]], [[R2]], 36 314 ; CHECK-DAG: shf.b [[R3:\$w[0-9]+]], [[R1]], 45 327 ; CHECK-DAG: shf.h [[R3:\$w[0-9]+]], [[R1]], 27 340 ; CHECK-DAG: shf.w [[R3:\$w[0-9]+]], [[R1]], 27 347 ; shf.d does not exist
|
| H A D | bitwise.ll | 110 ; MIPS-NEXT: shf.w $w0, $w0, 177 234 ; MIPS-NEXT: shf.w $w0, $w0, 177 365 ; MIPS-NEXT: shf.w $w0, $w0, 177 490 ; MIPS-NEXT: shf.w $w0, $w0, 177 1040 ; MIPS-NEXT: shf.w $w0, $w0, 177
|
| H A D | basic_operations.ll | 1060 ; O32-BE-NEXT: shf.w $w0, $w0, 177 1232 ; O32-BE-NEXT: shf.w $w0, $w0, 177 1450 ; O32-BE-NEXT: shf.w $w0, $w0, 177 1677 ; O32-BE-NEXT: shf.w $w0, $w0, 177
|
| H A D | arithmetic.ll | 278 ; MIPS-NEXT: shf.w $w0, $w0, 177
|
| /llvm-project-15.0.7/llvm/lib/Target/Mips/ |
| H A D | MSA.txt | 24 constant since shf.w covers exactly the same cases. shf.w is used 48 It is not possible to emit splati.w since shf.w covers the same cases. 49 shf.w will be emitted instead.
|
| H A D | MipsScheduleP5600.td | 337 // aver?_[us].[bhwd], shf.[bhw], fill[bhwd], splat?.[bhwd]
|
| H A D | MipsMSAInstrInfo.td | 2548 class SHF_B_DESC : MSA_I8_SHF_DESC_BASE<"shf.b", MSA128BOpnd>; 2549 class SHF_H_DESC : MSA_I8_SHF_DESC_BASE<"shf.h", MSA128HOpnd>; 2550 class SHF_W_DESC : MSA_I8_SHF_DESC_BASE<"shf.w", MSA128WOpnd>;
|
| H A D | MipsScheduleGeneric.td | 1465 // shf.[bhw], fill[bhwd], splat?.[bhwd]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/X86/ |
| H A D | sar_fold64.ll | 126 %shf = shufflevector <4 x i32> %sub, <4 x i32> undef, <4 x i32> zeroinitializer 127 %sar = ashr <4 x i32> %shf, <i32 1, i32 31, i32 5, i32 0> 186 %shf = shufflevector <4 x i32> %add, <4 x i32> undef, <4 x i32> zeroinitializer 187 %sar = ashr <4 x i32> %shf, <i32 1, i32 31, i32 5, i32 0>
|
| /llvm-project-15.0.7/lld/test/ELF/ |
| H A D | shf-info-link.test | 2 # RUN: yaml2obj %S/Inputs/shf-info-link.test -o %t2.o
|
| /llvm-project-15.0.7/llvm/test/CodeGen/Mips/cconv/ |
| H A D | vector.ll | 74 ; MIPS32R5EB-NEXT: shf.w $w0, $w0, 177 287 ; MIPS32R5EB-NEXT: shf.w $w0, $w0, 177 1125 ; MIPS32R5EB-NEXT: shf.b $w0, $w0, 27 1130 ; MIPS32R5EB-NEXT: shf.b $w1, $w1, 27 1132 ; MIPS32R5EB-NEXT: shf.b $w0, $w0, 27 1144 ; MIPS64R5EB-NEXT: shf.b $w0, $w0, 27 1148 ; MIPS64R5EB-NEXT: shf.b $w1, $w1, 27 1151 ; MIPS64R5EB-NEXT: shf.b $w0, $w0, 27 1648 ; MIPS64R5EB-NEXT: shf.h $w0, $w0, 27 1651 ; MIPS64R5EB-NEXT: shf.h $w1, $w1, 27 [all …]
|
| /llvm-project-15.0.7/llvm/test/Transforms/InstCombine/ |
| H A D | icmp.ll | 2915 %shf = lshr i32 %x, %y 2916 %or = or i32 %shf, %x 2930 %or = or <2 x i32> %shf, %x 2946 %or = or <2 x i32> %x, %shf 2958 %shf = lshr i32 %x, 1 2959 %or = or i32 %shf, %x 2972 %or = or <2 x i32> %shf, %x 2985 %or = or <2 x i32> %shf, %x 2998 %or = or <2 x i32> %shf, %x 3013 %or = or <2 x i32> %x, %shf [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXInstrInfo.td | 1264 // Rotate: Use ptx shf instruction if available. 1269 // r2 = shf.l r1, r1, n 1272 "shf.l.wrap.b32 \t$dst, $src, $src, $amt;", 1278 "shf.l.wrap.b32 \t$dst, $src, $src, $amt;", 1284 // r2 = shf.r r1, r1, n 1287 "shf.r.wrap.b32 \t$dst, $src, $src, $amt;", 1293 "shf.r.wrap.b32 \t$dst, $src, $src, $amt;", 1412 "shf.l.clamp.b32 \t$dst, $lo, $hi, $amt;", 1419 "shf.r.clamp.b32 \t$dst, $lo, $hi, $amt;",
|
| H A D | NVPTXIntrinsics.td | 2553 "shf.l.wrap.b32 \t$dst, $src, $src, $amt;", 2561 "shf.l.wrap.b32 \t$dst, $src, $src, $amt;", 2606 "shf.l.wrap.b32 \t$dst, $lo, $hi, $amt;",[]>, 2612 "shf.l.wrap.b32 \t$dst, $lo, $hi, $amt;",[]>, 2618 "shf.r.wrap.b32 \t$dst, $lo, $hi, $amt;",[]>, 2624 "shf.r.wrap.b32 \t$dst, $lo, $hi, $amt;",[]>,
|