Home
last modified time | relevance | path

Searched refs:Pat (Results 1 – 25 of 112) sorted by relevance

12345

/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonDepMapAsm2Intrin.td14 def: Pat<(int_hexagon_A2_abs IntRegs:$src1),
16 def: Pat<(int_hexagon_A2_absp DoubleRegs:$src1),
18 def: Pat<(int_hexagon_A2_abssat IntRegs:$src1),
62 def: Pat<(int_hexagon_A2_aslh IntRegs:$src1),
1794 def: Pat<(int_hexagon_Y6_dmpause ),
1796 def: Pat<(int_hexagon_Y6_dmpoll ),
1802 def: Pat<(int_hexagon_Y6_dmwait ),
2139 def: Pat<(int_hexagon_V6_vd0 ),
2141 def: Pat<(int_hexagon_V6_vd0_128B ),
3253 def: Pat<(int_hexagon_V6_vdd0 ),
[all …]
H A DHexagonPatternsHVX.td111 def: Pat<(ResType (Load I32:$Rt)),
178 def: Pat<(Store Value:$Vs, I32:$Rt),
376 def: Pat<(mul HVI8:$Vs, HVI8:$Vt),
379 def: Pat<(mul HVI16:$Vs, HVI16:$Vt),
381 def: Pat<(mul HVI32:$Vs, HVI32:$Vt),
410 def: Pat<(VecI8 (trunc HWI16:$Vss)),
415 def: Pat<(VecQ8 (trunc HVI8:$Vs)),
417 def: Pat<(VecQ16 (trunc HVI16:$Vs)),
518 def: Pat<(VecI8 (ctpop HVI8:$Vs)),
527 def: Pat<(VecI8 (ctlz HVI8:$Vs)),
[all …]
H A DHexagonIntrinsics.td12 : Pat <(IntID I32:$Rs),
16 : Pat <(IntID I32:$Rs, I32:$Rt),
20 : Pat <(IntID I32:$Rs, I64:$Rt),
72 def: Pat<(int_hexagon_A2_sxtb IntRegs:$Rs),
82 def : Pat <(int_hexagon_A2_not I32:$Rs),
86 def : Pat <(int_hexagon_A2_neg I32:$Rs),
282 def: Pat<(v64i16 (trunc v64i32:$Vdd)),
358 def: Pat<(int_hexagon_V6_vd0),
360 def: Pat<(int_hexagon_V6_vd0_128B ),
363 def: Pat<(int_hexagon_V6_vdd0),
[all …]
H A DHexagonMapAsm2IntrinV62.gen.td10 def: Pat<(IntID HvxVR:$src1, IntRegs:$src2),
25 def: Pat<(IntID HvxVR:$src1, HvxVR:$src2),
32 def: Pat<(IntID HvxWR:$src1, HvxWR:$src2),
39 def: Pat<(IntID HvxWR:$src1, HvxVR:$src2, HvxVR:$src3),
47 def: Pat<(IntID HvxWR:$src1, IntRegs:$src2),
54 def: Pat<(IntID HvxWR:$src1, HvxWR:$src2, IntRegs:$src3),
70 def: Pat<(IntID HvxQR:$src1, IntRegs:$src2),
85 def: Pat<(IntID HvxQR:$src1, HvxVR:$src2),
92 def: Pat<(IntID IntRegs:$src1),
99 def: Pat<(IntID HvxQR:$src1, HvxQR:$src2),
[all …]
H A DHexagonIntrinsicsV60.td70 def : Pat <(v64i1 (load (i32 IntRegs:$addr))),
91 def: Pat<(IntID HvxVR:$src1),
99 def: Pat<(IntID HvxWR:$src1),
107 def: Pat<(IntID HvxQR:$src1),
115 def: Pat<(IntID HvxWR:$src1, IntRegs:$src2),
123 def: Pat<(IntID HvxVR:$src1, IntRegs:$src2),
131 def: Pat<(IntID HvxWR:$src1, HvxVR:$src2),
139 def: Pat<(IntID HvxWR:$src1, HvxWR:$src2),
147 def: Pat<(IntID HvxVR:$src1, HvxVR:$src2),
163 def: Pat<(IntID HvxQR:$src1, HvxQR:$src2),
[all …]
H A DHexagonPatterns.td423 def: Pat<(i64 imm:$v),
521 def: Pat<(v2i16 (azext V2I1:$Pu)),
523 def: Pat<(v2i32 (azext V2I1:$Pu)),
525 def: Pat<(v4i8 (azext V4I1:$Pu)),
529 def: Pat<(v8i8 (azext V8I1:$Pu)),
1377 def: Pat<(fabs F64:$Rs),
1380 def: Pat<(fneg F64:$Rs),
1829 def: Pat<(i1 (trunc I32:$Rs)),
1831 def: Pat<(i1 (trunc I64:$Rs)),
2340 def: Pat<(i1 (load I32:$Rs)),
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/VE/
H A DVEInstrIntrinsicVL.gen.td1 def : Pat<(int_ve_vl_vld_vssl i64:$sy, i64:$sz, i32:$vl), (VLDrrl i64:$sy, i64:$sz, i32:$vl)>;
604 def : Pat<(int_ve_vl_vseq_vl i32:$vl), (VSEQl i32:$vl)>;
606 def : Pat<(int_ve_vl_pvseqlo_vl i32:$vl), (PVSEQLOl i32:$vl)>;
608 def : Pat<(int_ve_vl_pvsequp_vl i32:$vl), (PVSEQUPl i32:$vl)>;
610 def : Pat<(int_ve_vl_pvseq_vl i32:$vl), (PVSEQl i32:$vl)>;
1026 def : Pat<(int_ve_vl_vfmklat_ml i32:$vl), (VFMKLal i32:$vl)>;
1027 def : Pat<(int_ve_vl_vfmklaf_ml i32:$vl), (VFMKLnal i32:$vl)>;
1028 def : Pat<(int_ve_vl_pvfmkat_Ml i32:$vl), (VFMKyal i32:$vl)>;
1029 def : Pat<(int_ve_vl_pvfmkaf_Ml i32:$vl), (VFMKynal i32:$vl)>;
1600 def : Pat<(int_ve_vl_negm_mm v256i1:$vmy), (NEGMm v256i1:$vmy)>;
[all …]
H A DVEInstrIntrinsicVL.td6 def : Pat<(int_ve_vl_svob), (SVOB)>;
9 def : Pat<(i64 (int_ve_vl_pack_f32p ADDRrii:$addr0, ADDRrii:$addr1)),
13 def : Pat<(i64 (int_ve_vl_pack_f32a ADDRrii:$addr)),
21 def : Pat<(v256i1 (int_ve_vl_extract_vm512u v512i1:$vm)),
24 def : Pat<(v256i1 (int_ve_vl_extract_vm512l v512i1:$vm)),
36 def : Pat<(int_ve_vl_vmrgw_vsvMvl i32:$sy, v256f64:$vz, v512i1:$vm,
42 def : Pat<(int_ve_vl_vmv_vsvl i32:$sy, v256f64:$vz, i32:$vl),
52 def : Pat<(int_ve_vl_lsv_vvss v256f64:$pt, i32:$sy, i64:$sz),
56 def : Pat<(int_ve_vl_lvsl_svs v256f64:$vx, i32:$sy),
58 def : Pat<(int_ve_vl_lvsd_svs v256f64:$vx, i32:$sy),
[all …]
H A DVEInstrPatternsVec.td21 def : Pat<(v32 (vec_broadcast (s32 ImmOp:$sy), i32:$vl)),
25 def : Pat<(v32 (vec_broadcast s32:$sy, i32:$vl)),
32 def : Pat<(v64 (vec_broadcast (s64 ImmOp:$sy), i32:$vl)),
36 def : Pat<(v64 (vec_broadcast s64:$sy, i32:$vl)),
44 def: Pat<(s32 (extractelt v32:$vec, uimm7:$idx)),
47 def: Pat<(s32 (extractelt v32:$vec, i64:$idx)),
51 def: Pat<(v32 (insertelt v32:$vec, s32:$val, uimm7:$idx)),
54 def: Pat<(v32 (insertelt v32:$vec, s32:$val, i64:$idx)),
60 def: Pat<(s64 (extractelt v64:$vec, uimm7:$idx)),
63 def: Pat<(s64 (extractelt v64:$vec, i64:$idx)),
[all …]
H A DVEInstrInfo.td1288 def : Pat<(i64 (bswap i64:$src)),
1292 def : Pat<(i32 (bswap i32:$src)),
1587 def : Pat<(i32 simm32:$val),
1592 def : Pat<(i64 lozero:$val),
1594 def : Pat<(i64 lomsbzero:$val),
1596 def : Pat<(i64 imm:$val),
1649 def : Pat<(f32 fpimm:$val),
1651 def : Pat<(f64 fplozero:$val),
1655 def : Pat<(f64 fpimm:$val),
1701 def : Pat<(i64 (sext i32:$src)),
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64InstrAtomics.td56 def : Pat<(relaxed_load<atomic_load_8>
71 def : Pat<(relaxed_load<atomic_load_16>
86 def : Pat<(relaxed_load<atomic_load_32>
101 def : Pat<(relaxed_load<atomic_load_64>
130 def : Pat<(relaxed_store<atomic_store_8>
229 def : Pat<(ldxr_1 GPR64sp:$addr),
231 def : Pat<(ldxr_2 GPR64sp:$addr),
233 def : Pat<(ldxr_4 GPR64sp:$addr),
270 def : Pat<(ldaxr_1 GPR64sp:$addr),
272 def : Pat<(ldaxr_2 GPR64sp:$addr),
[all …]
H A DAArch64InstrInfo.td1468 def : Pat<(f32 fpimm:$in),
1470 def : Pat<(f64 fpimm:$in),
4980 def : Pat<(v4i16 (opnode
4988 def : Pat<(v2i32 (opnode
4996 def : Pat<(v1i64 (opnode
6851 : Pat<(scalar_store
6868 : Pat<(scalar_store
6884 def : Pat<(scalar_store
6890 def : Pat<(scalar_store
6910 def : Pat<(scalar_store
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstrVecCompiler.td36 def : Pat<(v4f32 (scalar_to_vector FR32:$src)),
39 def : Pat<(v2f64 (scalar_to_vector FR64:$src)),
45 def : Pat<(v4f32 (scalar_to_vector FR32X:$src)),
48 def : Pat<(v2f64 (scalar_to_vector FR64X:$src)),
365 def : Pat<(store (f128 VR128:$src), addr:$dst),
368 def : Pat<(alignedloadf128 addr:$src),
370 def : Pat<(loadf128 addr:$src),
380 def : Pat<(alignedloadf128 addr:$src),
382 def : Pat<(loadf128 addr:$src),
392 def : Pat<(alignedloadf128 addr:$src),
[all …]
H A DX86InstrCompiler.td1280 def : Pat<(X86cmp GR8:$src1, 0),
1282 def : Pat<(X86cmp GR16:$src1, 0),
1284 def : Pat<(X86cmp GR32:$src1, 0),
1286 def : Pat<(X86cmp GR64:$src1, 0),
1499 def : Pat<(add GR16:$src1, 128),
1504 def : Pat<(add GR32:$src1, 128),
1509 def : Pat<(add GR64:$src1, 128),
1566 def : Pat<(and GR32:$src1, 0xff),
1584 def : Pat<(and GR64:$src, 0xff),
1640 def: Pat<(i16 (sext GR8:$src)),
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCInstrVSX.td4297 def : Pat<(f32 (PPCfcfids
4304 def : Pat<(f64 (PPCfcfidu
4310 def : Pat<(f64 (PPCfcfid
4337 def : Pat<(f32 (PPCfcfids
4344 def : Pat<(f64 (PPCfcfidu
4350 def : Pat<(f64 (PPCfcfid
4562 def : Pat<(f32 (PPCfcfids
4570 def : Pat<(f64 (PPCfcfidu
4576 def : Pat<(f64 (PPCfcfid
4609 def : Pat<(f32 (PPCfcfids
[all …]
H A DPPCInstrHTM.td100 def : Pat<(int_ppc_tend i32:$R),
118 def : Pat<(int_ppc_tcheck),
124 def : Pat<(int_ppc_trechkpt),
127 def : Pat<(int_ppc_tsr i32:$L),
130 def : Pat<(int_ppc_get_texasr),
133 def : Pat<(int_ppc_get_texasru),
136 def : Pat<(int_ppc_get_tfhar),
139 def : Pat<(int_ppc_get_tfiar),
157 def : Pat<(int_ppc_tendall),
160 def : Pat<(int_ppc_tresume),
[all …]
H A DPPCInstrAltivec.td1041 def : Pat<(vnot (or v4i32:$A, v4i32:$B)),
1046 def : Pat<(fmul v4f32:$vA, v4f32:$vB),
1061 def : Pat<(PPCfre v4f32:$A), (VREFP $A)>;
1113 def : Pat<(v4i32 (fp_to_sint v4f32:$vA)),
1115 def : Pat<(v4i32 (fp_to_uint v4f32:$vA)),
1117 def : Pat<(v4f32 (sint_to_fp v4i32:$vA)),
1119 def : Pat<(v4f32 (uint_to_fp v4i32:$vA)),
1123 def : Pat<(v4f32 (ffloor v4f32:$vA)),
1125 def : Pat<(v4f32 (fceil v4f32:$vA)),
1127 def : Pat<(v4f32 (ftrunc v4f32:$vA)),
[all …]
H A DPPCInstrPrefix.td2424 def : Pat<(i32 (zext pattern)),
2426 def : Pat<(i64 (zext pattern)),
2429 def : Pat<(i32 (sext pattern)),
2431 def : Pat<(i64 (sext pattern)),
2486 def : Pat<(i32 (zext i1:$in)),
2488 def : Pat<(i64 (zext i1:$in)),
2490 def : Pat<(i32 (sext i1:$in)),
2492 def : Pat<(i64 (sext i1:$in)),
2627 def : Pat<(f32 nzFPImmAsi32:$A),
2635 def : Pat<(f32 nzFPImmAsi64:$A),
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kInstrCompiler.td11 /// as well as Pat patterns used during instruction selection.
25 def : Pat<(add MxDRD32:$src, (MxWrapper tconstpool:$opd)),
27 def : Pat<(add MxARD32:$src, (MxWrapper tjumptable:$opd)),
29 def : Pat<(add MxARD32:$src, (MxWrapper tglobaladdr :$opd)),
31 def : Pat<(add MxARD32:$src, (MxWrapper texternalsym:$opd)),
33 def : Pat<(add MxARD32:$src, (MxWrapper tblockaddress:$opd)),
36 def : Pat<(store (i32 (MxWrapper tglobaladdr:$src)), iPTR:$dst),
100 def : Pat<(MxTCRet (load MxCP_ARII:$dst), imm:$adj),
104 def : Pat<(MxTCRet AR32_TC:$dst, imm:$adj),
107 def : Pat<(MxTCRet (i32 tglobaladdr:$dst), imm:$adj),
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DSparcInstr64Bit.td39 def : Pat<(i64 (zext i32:$val)), (SRLri $val, 0)>;
40 def : Pat<(i64 (sext i32:$val)), (SRAri $val, 0)>;
42 def : Pat<(i64 (and i64:$val, 0xffffffff)), (SRLri $val, 0)>;
68 def : Pat<(i64 SETHIimm:$val), (SETHIi (HI22 $val))>;
131 def : Pat<(i64 imm:$val),
178 def : Pat<(SPcmpicc i64:$a, i64:$b), (CMPrr $a, $b)>;
180 def : Pat<(i64 (ctpop i64:$src)), (POPCrr $src)>;
461 def : Pat<(SPselectxcc i64:$t, i64:$f, imm:$cond),
466 def : Pat<(SPselecticc i64:$t, i64:$f, imm:$cond),
471 def : Pat<(SPselectfcc i64:$t, i64:$f, imm:$cond),
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVInstrInfoZfh.td259 def : Pat<(f16 (fpimm0)), (FMV_H_X X0)>;
275 def : Pat<(fneg FPR16:$rs1), (FSGNJN_H $rs1, $rs1)>;
276 def : Pat<(fabs FPR16:$rs1), (FSGNJX_H $rs1, $rs1)>;
280 def : Pat<(fcopysign FPR16:$rs1, FPR32:$rs2),
285 def : Pat<(fma FPR16:$rs1, FPR16:$rs2, FPR16:$rs3),
289 def : Pat<(fma FPR16:$rs1, FPR16:$rs2, (fneg FPR16:$rs3)),
293 def : Pat<(fma (fneg FPR16:$rs1), FPR16:$rs2, FPR16:$rs3),
329 def : Pat<(fpextend FPR16:$rs1), (FCVT_S_H FPR16:$rs1)>;
332 def : Pat<(riscv_fmv_h_x GPR:$src), (FMV_H_X GPR:$src)>;
382 def : Pat<(fpextend FPR16:$rs1), (FCVT_D_H FPR16:$rs1)>;
[all …]
H A DRISCVInstrInfoD.td245 def : Pat<(fpextend FPR32:$rs1), (FCVT_D_S FPR32:$rs1)>;
257 def : Pat<(fsqrt FPR64:$rs1), (FSQRT_D FPR64:$rs1, 0b111)>;
259 def : Pat<(fneg FPR64:$rs1), (FSGNJN_D $rs1, $rs1)>;
260 def : Pat<(fabs FPR64:$rs1), (FSGNJX_D $rs1, $rs1)>;
269 def : Pat<(fma FPR64:$rs1, FPR64:$rs2, FPR64:$rs3),
273 def : Pat<(fma FPR64:$rs1, FPR64:$rs2, (fneg FPR64:$rs3)),
277 def : Pat<(fma (fneg FPR64:$rs1), FPR64:$rs2, FPR64:$rs3),
328 def : Pat<(f64 (fpimm0)), (FCVT_D_W (i32 X0))>;
335 def : Pat<(i32 (lrint FPR64:$rs1)), (FCVT_W_D $rs1, 0b111)>;
348 def : Pat<(f64 (fpimm0)), (FMV_D_X (i64 X0))>;
[all …]
H A DRISCVInstrInfoVSDPatterns.td64 def : Pat<(type (load BaseAddr:$rs1)),
67 def : Pat<(store type:$rs2, BaseAddr:$rs1),
83 def : Pat<(type (load BaseAddr:$rs1)),
86 def : Pat<(store type:$rs2, BaseAddr:$rs1),
95 def : Pat<(m.Mask (load BaseAddr:$rs1)),
98 def : Pat<(store m.Mask:$rs2, BaseAddr:$rs1),
112 Pat<(result_type (vop
133 Pat<(result_type (vop
552 def : Pat<(mti.Mask (or VR:$rs1, VR:$rs2)),
577 def : Pat<(mti.Mask (rvv_vnot VR:$rs)),
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyInstrFloat.td70 def : Pat<(fcopysign F64:$lhs, F32:$rhs),
72 def : Pat<(fcopysign F32:$lhs, F64:$rhs),
76 def : Pat<(frint f32:$src), (NEAREST_F32 f32:$src)>;
77 def : Pat<(frint f64:$src), (NEAREST_F64 f64:$src)>;
89 def : Pat<(seteq f32:$lhs, f32:$rhs), (EQ_F32 f32:$lhs, f32:$rhs)>;
90 def : Pat<(setne f32:$lhs, f32:$rhs), (NE_F32 f32:$lhs, f32:$rhs)>;
91 def : Pat<(setlt f32:$lhs, f32:$rhs), (LT_F32 f32:$lhs, f32:$rhs)>;
114 def : Pat<(select (i32 (setne I32:$cond, 0)), F32:$lhs, F32:$rhs),
116 def : Pat<(select (i32 (setne I32:$cond, 0)), F64:$lhs, F64:$rhs),
120 def : Pat<(select (i32 (seteq I32:$cond, 0)), F32:$lhs, F32:$rhs),
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Support/
H A DGlobPattern.cpp109 GlobPattern Pat; in create() local
114 Pat.Exact = S; in create()
115 return Pat; in create()
121 Pat.Prefix = S.drop_back(); in create()
122 return Pat; in create()
127 Pat.Suffix = S.drop_front(); in create()
128 return Pat; in create()
138 Pat.Tokens.push_back(*BV); in create()
140 return Pat; in create()

12345