Home
last modified time | relevance | path

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

12345

/freebsd-12.1/contrib/llvm/lib/Target/Hexagon/
H A DHexagonDepMapAsm2Intrin.td17 def: Pat<(int_hexagon_S2_vsatwh DoubleRegs:$src1),
69 def: Pat<(int_hexagon_S2_cl1 IntRegs:$src1),
117 def: Pat<(int_hexagon_C2_not PredRegs:$src1),
1909 def: Pat<(int_hexagon_V6_lo HvxWR:$src1),
1949 def: Pat<(int_hexagon_V6_vsh HvxVR:$src1),
1957 def: Pat<(int_hexagon_V6_vsb HvxVR:$src1),
2321 def: Pat<(int_hexagon_V6_hi HvxWR:$src1),
2617 def: Pat<(int_hexagon_V6_vd0 ),
2619 def: Pat<(int_hexagon_V6_vd0_128B ),
3307 def: Pat<(int_hexagon_V6_vdd0 ),
[all …]
H A DHexagonMapAsm2IntrinV65.gen.td17 def: Pat<(int_hexagon_V6_vabsb HvxVR:$src1), (V6_vabsb HvxVR:$src1)>, Requires<[HasV65, UseHVX]>;
18 def: Pat<(int_hexagon_V6_vabsb_128B HvxVR:$src1), (V6_vabsb HvxVR:$src1)>, Requires<[HasV65, UseHVX…
19 def: Pat<(int_hexagon_V6_vabsb_sat HvxVR:$src1), (V6_vabsb_sat HvxVR:$src1)>, Requires<[HasV65, Use…
20 def: Pat<(int_hexagon_V6_vabsb_sat_128B HvxVR:$src1), (V6_vabsb_sat HvxVR:$src1)>, Requires<[HasV65…
53 def: Pat<(int_hexagon_V6_vprefixqb HvxQR:$src1), (V6_vprefixqb HvxQR:$src1)>, Requires<[HasV65, Use…
54 def: Pat<(int_hexagon_V6_vprefixqb_128B HvxQR:$src1), (V6_vprefixqb HvxQR:$src1)>, Requires<[HasV65…
55 def: Pat<(int_hexagon_V6_vprefixqh HvxQR:$src1), (V6_vprefixqh HvxQR:$src1)>, Requires<[HasV65, Use…
56 def: Pat<(int_hexagon_V6_vprefixqh_128B HvxQR:$src1), (V6_vprefixqh HvxQR:$src1)>, Requires<[HasV65…
57 def: Pat<(int_hexagon_V6_vprefixqw HvxQR:$src1), (V6_vprefixqw HvxQR:$src1)>, Requires<[HasV65, Use…
85 def: Pat<(int_hexagon_V6_vdd0), (V6_vdd0)>, Requires<[HasV65, UseHVX]>;
[all …]
H A DHexagonIntrinsics.td13 : Pat <(IntID I32:$Rs),
17 : Pat <(IntID I32:$Rs, I32:$Rt),
21 : Pat <(IntID I32:$Rs, I64:$Rt),
83 def : Pat <(int_hexagon_A2_not I32:$Rs),
87 def : Pat <(int_hexagon_A2_neg I32:$Rs),
125 def : Pat<(int_hexagon_A2_tfrpi imm:$Is),
351 def: Pat<(v64i16 (trunc v64i32:$Vdd)),
430 def: Pat<(int_hexagon_V6_vd0),
432 def: Pat<(int_hexagon_V6_vd0_128B ),
435 def: Pat<(int_hexagon_V6_vdd0),
[all …]
H A DHexagonPatternsHVX.td101 def: Pat<(ResType (Load I32:$Rt)),
143 def: Pat<(Store Value:$Vs, I32:$Rt),
185 def: Pat<(VecI8 vzero), (V6_vd0)>;
186 def: Pat<(VecI16 vzero), (V6_vd0)>;
187 def: Pat<(VecI32 vzero), (V6_vd0)>;
188 def: Pat<(VecPI8 vzero), (PS_vdd0)>;
189 def: Pat<(VecPI16 vzero), (PS_vdd0)>;
190 def: Pat<(VecPI32 vzero), (PS_vdd0)>;
335 def: Pat<(VecQ8 (trunc HVI8:$Vs)),
397 def: Pat<(VecI8 (ctpop HVI8:$Vs)),
[all …]
H A DHexagonMapAsm2IntrinV62.gen.td11 def: Pat<(IntID HvxVR:$src1, IntRegs:$src2),
26 def: Pat<(IntID HvxVR:$src1, HvxVR:$src2),
33 def: Pat<(IntID HvxWR:$src1, HvxWR:$src2),
40 def: Pat<(IntID HvxWR:$src1, HvxVR:$src2, HvxVR:$src3),
48 def: Pat<(IntID HvxWR:$src1, IntRegs:$src2),
55 def: Pat<(IntID HvxWR:$src1, HvxWR:$src2, IntRegs:$src3),
71 def: Pat<(IntID HvxQR:$src1, IntRegs:$src2),
86 def: Pat<(IntID HvxQR:$src1, HvxVR:$src2),
93 def: Pat<(IntID IntRegs:$src1),
100 def: Pat<(IntID HvxQR:$src1, HvxQR:$src2),
[all …]
H A DHexagonIntrinsicsV60.td71 def : Pat <(v512i1 (load (i32 IntRegs:$addr))),
92 def: Pat<(IntID HvxVR:$src1),
100 def: Pat<(IntID HvxWR:$src1),
108 def: Pat<(IntID HvxQR:$src1),
116 def: Pat<(IntID HvxWR:$src1, IntRegs:$src2),
124 def: Pat<(IntID HvxVR:$src1, IntRegs:$src2),
132 def: Pat<(IntID HvxWR:$src1, HvxVR:$src2),
140 def: Pat<(IntID HvxWR:$src1, HvxWR:$src2),
148 def: Pat<(IntID HvxVR:$src1, HvxVR:$src2),
164 def: Pat<(IntID HvxQR:$src1, HvxQR:$src2),
[all …]
H A DHexagonPatterns.td458 def: Pat<(v2i16 (azext V2I1:$Pu)),
460 def: Pat<(v2i32 (azext V2I1:$Pu)),
462 def: Pat<(v4i8 (azext V4I1:$Pu)),
464 def: Pat<(v4i16 (azext V4I1:$Pu)),
466 def: Pat<(v8i8 (azext V8I1:$Pu)),
482 def: Pat<(v4i8 (trunc V4I16:$Rs)),
1284 def: Pat<(fabs F64:$Rs),
1287 def: Pat<(fneg F64:$Rs),
1715 def: Pat<(i1 (trunc I32:$Rs)),
1717 def: Pat<(i1 (trunc I64:$Rs)),
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/X86/
H A DX86InstrCompiler.td1235 def : Pat<(X86cmp GR8:$src1, 0),
1237 def : Pat<(X86cmp GR16:$src1, 0),
1239 def : Pat<(X86cmp GR32:$src1, 0),
1241 def : Pat<(X86cmp GR64:$src1, 0),
1471 def : Pat<(add GR16:$src1, 128),
1476 def : Pat<(add GR32:$src1, 128),
1481 def : Pat<(add GR64:$src1, 128),
1528 def : Pat<(and GR32:$src1, 0xff),
1546 def : Pat<(and GR64:$src, 0xff),
1602 def: Pat<(i16 (sext GR8:$src)),
[all …]
H A DX86InstrVecCompiler.td37 def : Pat<(v4f32 (scalar_to_vector FR32:$src)),
40 def : Pat<(v2f64 (scalar_to_vector FR64:$src)),
46 def : Pat<(v4f32 (scalar_to_vector FR32X:$src)),
49 def : Pat<(v2f64 (scalar_to_vector FR64X:$src)),
110 def : Pat<(store (DstTy (extract_subvector
439 def : Pat<(alignedloadf128 addr:$src),
441 def : Pat<(loadf128 addr:$src),
451 def : Pat<(alignedloadf128 addr:$src),
453 def : Pat<(loadf128 addr:$src),
463 def : Pat<(alignedloadf128 addr:$src),
[all …]
H A DX86InstrSSE.td1325 def : Pat<(v4f32 (X86Movss
1331 def : Pat<(v2f64 (X86Movsd
1337 def : Pat<(v4f32 (X86Movss
1342 def : Pat<(v4f32 (X86Movss
1347 def : Pat<(v4f32 (X86Movss
1352 def : Pat<(v4f32 (X86Movss
1357 def : Pat<(v2f64 (X86Movsd
1362 def : Pat<(v2f64 (X86Movsd
1367 def : Pat<(v2f64 (X86Movsd
1372 def : Pat<(v2f64 (X86Movsd
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/AArch64/
H A DAArch64InstrAtomics.td57 def : Pat<(relaxed_load<atomic_load_8>
72 def : Pat<(relaxed_load<atomic_load_16>
87 def : Pat<(relaxed_load<atomic_load_32>
102 def : Pat<(relaxed_load<atomic_load_64>
131 def : Pat<(relaxed_store<atomic_store_8>
222 def : Pat<(ldxr_1 GPR64sp:$addr),
224 def : Pat<(ldxr_2 GPR64sp:$addr),
226 def : Pat<(ldxr_4 GPR64sp:$addr),
255 def : Pat<(ldaxr_1 GPR64sp:$addr),
257 def : Pat<(ldaxr_2 GPR64sp:$addr),
[all …]
H A DAArch64InstrInfo.td910 def : Pat<(f32 fpimm:$in),
912 def : Pat<(f64 fpimm:$in),
1347 def : Pat<(cttz GPR32:$Rn),
1349 def : Pat<(cttz GPR64:$Rn),
5809 : Pat<(scalar_store
5825 : Pat<(scalar_store
5840 def : Pat<(scalar_store
5846 def : Pat<(scalar_store
5865 def : Pat<(scalar_store
5870 def : Pat<(scalar_store
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/PowerPC/
H A DPPCInstrVSX.td2376 def : Pat<(v2i64 immAllZerosV),
3354 def : Pat<(f128 (sint_to_fp
3361 def : Pat<(f128 (uint_to_fp
3369 def : Pat<(f128 (sint_to_fp
3374 def : Pat<(f128 (uint_to_fp
3419 def : Pat<(f128 (sint_to_fp
3426 def : Pat<(f128 (uint_to_fp
3436 def : Pat<(f128 (sint_to_fp
3443 def : Pat<(f128 (uint_to_fp
3958 def : Pat<(v16i8 immAllOnesV),
[all …]
H A DPPCInstrHTM.td102 def : Pat<(int_ppc_tend i32:$R),
121 def : Pat<(int_ppc_tcheck),
127 def : Pat<(int_ppc_trechkpt),
130 def : Pat<(int_ppc_tsr i32:$L),
133 def : Pat<(int_ppc_get_texasr),
136 def : Pat<(int_ppc_get_texasru),
139 def : Pat<(int_ppc_get_tfhar),
142 def : Pat<(int_ppc_get_tfiar),
160 def : Pat<(int_ppc_tendall),
163 def : Pat<(int_ppc_tresume),
[all …]
H A DPPCInstrQPX.td840 def : Pat<(f64 (extractelt v4f64:$S, 0)),
842 def : Pat<(f32 (extractelt v4f32:$S, 0)),
845 def : Pat<(f64 (extractelt v4f64:$S, 1)),
847 def : Pat<(f64 (extractelt v4f64:$S, 2)),
849 def : Pat<(f64 (extractelt v4f64:$S, 3)),
1095 def : Pat<(and v4i1:$FRA, v4i1:$FRB),
1097 def : Pat<(or v4i1:$FRA, v4i1:$FRB),
1099 def : Pat<(xor v4i1:$FRA, v4i1:$FRB),
1101 def : Pat<(not v4i1:$FRA),
1104 def : Pat<(v4f64 (fpextend v4f32:$src)),
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/Sparc/
H A DSparcInstr64Bit.td40 def : Pat<(i64 (zext i32:$val)), (SRLri $val, 0)>;
41 def : Pat<(i64 (sext i32:$val)), (SRAri $val, 0)>;
69 def : Pat<(i64 SETHIimm:$val), (SETHIi (HI22 $val))>;
132 def : Pat<(i64 imm:$val),
179 def : Pat<(SPcmpicc i64:$a, i64:$b), (CMPrr $a, $b)>;
181 def : Pat<(ctpop i64:$src), (POPCrr $src)>;
462 def : Pat<(SPselectxcc i64:$t, i64:$f, imm:$cond),
467 def : Pat<(SPselecticc i64:$t, i64:$f, imm:$cond),
472 def : Pat<(SPselectfcc i64:$t, i64:$f, imm:$cond),
501 def : Pat<(atomic_fence imm, imm), (MEMBARi 0xf)>;
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/WebAssembly/
H A DWebAssemblyInstrCall.td120 def : Pat<(i32 (WebAssemblycall1 (WebAssemblywrapper tglobaladdr:$callee))),
122 def : Pat<(i64 (WebAssemblycall1 (WebAssemblywrapper tglobaladdr:$callee))),
124 def : Pat<(f32 (WebAssemblycall1 (WebAssemblywrapper tglobaladdr:$callee))),
126 def : Pat<(f64 (WebAssemblycall1 (WebAssemblywrapper tglobaladdr:$callee))),
140 def : Pat<(ExceptRef
143 def : Pat<(WebAssemblycall0 (WebAssemblywrapper tglobaladdr:$callee)),
147 def : Pat<(i32 (WebAssemblycall1 (WebAssemblywrapper texternalsym:$callee))),
149 def : Pat<(i64 (WebAssemblycall1 (WebAssemblywrapper texternalsym:$callee))),
151 def : Pat<(f32 (WebAssemblycall1 (WebAssemblywrapper texternalsym:$callee))),
167 def : Pat<(ExceptRef
[all …]
H A DWebAssemblyInstrFloat.td71 def : Pat<(fcopysign F64:$lhs, F32:$rhs),
73 def : Pat<(fcopysign F32:$lhs, F64:$rhs),
77 def : Pat<(frint f32:$src), (NEAREST_F32 f32:$src)>;
78 def : Pat<(frint f64:$src), (NEAREST_F64 f64:$src)>;
90 def : Pat<(seteq f32:$lhs, f32:$rhs), (EQ_F32 f32:$lhs, f32:$rhs)>;
115 def : Pat<(select (i32 (setne I32:$cond, 0)), F32:$lhs, F32:$rhs),
117 def : Pat<(select (i32 (setne I32:$cond, 0)), F64:$lhs, F64:$rhs),
121 def : Pat<(select (i32 (seteq I32:$cond, 0)), F32:$lhs, F32:$rhs),
123 def : Pat<(select (i32 (seteq I32:$cond, 0)), F64:$lhs, F64:$rhs),
128 def : Pat<(select (i32 (and I32:$cond, 1)), F32:$lhs, F32:$rhs),
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/SystemZ/
H A DSystemZInstrFP.td118 : Pat<(fcopysign FP128:$src1, cls:$src2),
189 def : Pat<(f32 (fpround FP128:$src)),
191 def : Pat<(f64 (fpround FP128:$src)),
209 def : Pat<(f128 (extloadf32 bdxaddr12only:$src)),
211 def : Pat<(f128 (extloadf64 bdxaddr12only:$src)),
371 def : Pat<(frint FP32:$src), (FIEBR 0, FP32:$src)>;
453 def : Pat<(fmul (f64 (fpextend FP32:$src1)),
468 def : Pat<(fmul (f128 (fpextend FP64:$src1)),
555 def : Pat<(f32 fpimmneg0), (LCDFR_32 (LZER))>;
556 def : Pat<(f64 fpimmneg0), (LCDFR (LZDR))>;
[all …]
/freebsd-12.1/contrib/llvm/lib/Support/
H A DGlobPattern.cpp102 GlobPattern Pat; in create() local
107 Pat.Exact = S; in create()
108 return Pat; in create()
113 Pat.Prefix = S.drop_back(); in create()
114 return Pat; in create()
119 Pat.Suffix = S.drop_front(); in create()
120 return Pat; in create()
130 Pat.Tokens.push_back(*BV); in create()
132 return Pat; in create()
H A DFileCheck.cpp918 if (Pat.getCount() > 1) in PrintMatch()
952 if (Pat.getCount() > 1) in PrintNoMatch()
1092 Pat.getCheckTy() != Check::CheckEmpty) in CheckNext()
1137 if (Pat.getCheckTy() != Check::CheckSame) in CheckSame()
1177 PrintNoMatch(false, SM, Prefix, Pat->getLoc(), *Pat, 1, Buffer, in CheckNot()
1182 PrintMatch(false, SM, Prefix, Pat->getLoc(), *Pat, 1, Buffer, VariableTable, in CheckNot()
1217 const FileCheckPattern &Pat = *PatItr; in CheckDag() local
1223 NotStrings.push_back(&Pat); in CheckDag()
1240 PrintNoMatch(true, SM, Prefix, Pat.getLoc(), Pat, 1, MatchBuffer, in CheckDag()
1247 PrintMatch(true, SM, Prefix, Pat.getLoc(), Pat, 1, Buffer, in CheckDag()
[all …]
/freebsd-12.1/contrib/llvm/tools/lld/Common/
H A DStrings.cpp57 StringMatcher::StringMatcher(ArrayRef<StringRef> Pat) { in StringMatcher() argument
58 for (StringRef S : Pat) { in StringMatcher()
59 Expected<GlobPattern> Pat = GlobPattern::create(S); in StringMatcher() local
60 if (!Pat) in StringMatcher()
61 error(toString(Pat.takeError())); in StringMatcher()
63 Patterns.push_back(*Pat); in StringMatcher()
68 for (const GlobPattern &Pat : Patterns) in match() local
69 if (Pat.match(S)) in match()
/freebsd-12.1/contrib/llvm/lib/Target/RISCV/
H A DRISCVInstrInfoA.td50 def : Pat<(StoreOp (add GPR:$rs1, simm12:$imm12), StTy:$rs2),
134 def : Pat<(atomic_load_sub_32_monotonic GPR:$addr, GPR:$incr),
136 def : Pat<(atomic_load_sub_32_acquire GPR:$addr, GPR:$incr),
138 def : Pat<(atomic_load_sub_32_release GPR:$addr, GPR:$incr),
140 def : Pat<(atomic_load_sub_32_acq_rel GPR:$addr, GPR:$incr),
142 def : Pat<(atomic_load_sub_32_seq_cst GPR:$addr, GPR:$incr),
160 def : Pat<(atomic_load_nand_32_acquire GPR:$addr, GPR:$incr),
162 def : Pat<(atomic_load_nand_32_release GPR:$addr, GPR:$incr),
164 def : Pat<(atomic_load_nand_32_acq_rel GPR:$addr, GPR:$incr),
166 def : Pat<(atomic_load_nand_32_seq_cst GPR:$addr, GPR:$incr),
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/NVPTX/
H A DNVPTXInstrInfo.td2922 def : Pat<(ctlz Int16Regs:$a),
2948 def : Pat<(ctpop Int16Regs:$a),
2988 def : Pat<(fceil Float16Regs:$a),
2990 def : Pat<(fceil Float32Regs:$a),
2992 def : Pat<(fceil Float32Regs:$a),
2994 def : Pat<(fceil Float64Regs:$a),
2997 def : Pat<(ffloor Float16Regs:$a),
3037 def : Pat<(frint Float16Regs:$a),
3039 def : Pat<(frint Float32Regs:$a),
3041 def : Pat<(frint Float32Regs:$a),
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/Lanai/
H A DLanaiInstrInfo.td325 def : Pat<(add GPR:$Rs1, i32lo16z:$imm),
328 def : Pat<(sub GPR:$Rs1, i32lo16z:$imm),
331 def : Pat<(add GPR:$Rs1, i32hi16:$imm),
334 def : Pat<(sub GPR:$Rs1, i32hi16:$imm),
341 def : Pat<(add GPR:$Rs1, i32neg16:$imm),
343 def : Pat<(sub GPR:$Rs1, i32neg16:$imm),
358 def : Pat<(addc GPR:$Rs1, i32hi16:$imm),
361 def : Pat<(subc GPR:$Rs1, i32hi16:$imm),
376 def : Pat<(adde GPR:$Rs1, i32hi16:$imm),
471 def : Pat<(srl GPR:$Rs1, GPR:$Rs2),
[all …]

12345