Lines Matching refs:opName

21 class FLAT_Pseudo<string opName, dag outs, dag ins,
35 string Mnemonic = opName;
82 class FLAT_Real <bits<7> op, FLAT_Pseudo ps, string opName = ps.Mnemonic> :
83 InstSI <ps.OutOperandList, ps.InOperandList, opName # ps.AsmOperands, []>,
149 class VFLAT_Real <bits<8> op, FLAT_Pseudo ps, string opName = ps.Mnemonic> :
150 InstSI <ps.OutOperandList, ps.InOperandList, opName # ps.AsmOperands, []>,
201 class FLAT_Load_Pseudo <string opName, RegisterClass regClass,
205 opName,
226 class FLAT_Store_Pseudo <string opName, RegisterClass vdataClass,
228 opName,
243 multiclass FLAT_Global_Load_Pseudo<string opName, RegisterClass regClass, bit HasTiedInput = 0> {
245 def "" : FLAT_Load_Pseudo<opName, regClass, HasTiedInput, 1>,
246 GlobalSaddrTable<0, opName>;
247 def _SADDR : FLAT_Load_Pseudo<opName, regClass, HasTiedInput, 1, 1>,
248 GlobalSaddrTable<1, opName>;
252 class FLAT_Global_Load_AddTid_Pseudo <string opName, RegisterClass regClass,
254 opName,
271 multiclass FLAT_Global_Load_AddTid_Pseudo<string opName, RegisterClass regClass,
273 def "" : FLAT_Global_Load_AddTid_Pseudo<opName, regClass, HasTiedOutput>,
274 GlobalSaddrTable<0, opName>;
275 def _SADDR : FLAT_Global_Load_AddTid_Pseudo<opName, regClass, HasTiedOutput, 1>,
276 GlobalSaddrTable<1, opName>;
279 multiclass FLAT_Global_Store_Pseudo<string opName, RegisterClass regClass> {
281 def "" : FLAT_Store_Pseudo<opName, regClass, 1>,
282 GlobalSaddrTable<0, opName>;
283 def _SADDR : FLAT_Store_Pseudo<opName, regClass, 1, 1>,
284 GlobalSaddrTable<1, opName>;
288 class FLAT_Global_Load_LDS_Pseudo <string opName, bit EnableSaddr = 0> : FLAT_Pseudo<
289 opName,
309 multiclass FLAT_Global_Load_LDS_Pseudo<string opName> {
310 def "" : FLAT_Global_Load_LDS_Pseudo<opName>,
311 GlobalSaddrTable<0, opName>;
312 def _SADDR : FLAT_Global_Load_LDS_Pseudo<opName, 1>,
313 GlobalSaddrTable<1, opName>;
316 class FLAT_Global_Store_AddTid_Pseudo <string opName, RegisterClass vdataClass,
318 opName,
332 multiclass FLAT_Global_Store_AddTid_Pseudo<string opName, RegisterClass regClass> {
333 def "" : FLAT_Global_Store_AddTid_Pseudo<opName, regClass>,
334 GlobalSaddrTable<0, opName>;
335 def _SADDR : FLAT_Global_Store_AddTid_Pseudo<opName, regClass, 1>,
336 GlobalSaddrTable<1, opName>;
339 class FLAT_Global_Invalidate_Writeback<string opName, SDPatternOperator node = null_frag> :
340 FLAT_Pseudo<opName, (outs), (ins CPol:$cpol), "$cpol", [(node)]> {
372 class FLAT_Scratch_Load_Pseudo <string opName, RegisterClass regClass,
378 opName,
404 class FLAT_Scratch_Store_Pseudo <string opName, RegisterClass vdataClass, bit EnableSaddr = 0,
408 opName,
429 multiclass FLAT_Scratch_Load_Pseudo<string opName, RegisterClass regClass, bit HasTiedOutput = 0> {
430 def "" : FLAT_Scratch_Load_Pseudo<opName, regClass, HasTiedOutput>,
431 FlatScratchInst<opName, "SV">;
432 def _SADDR : FLAT_Scratch_Load_Pseudo<opName, regClass, HasTiedOutput, 1>,
433 FlatScratchInst<opName, "SS">;
436 def _SVS : FLAT_Scratch_Load_Pseudo<opName, regClass, HasTiedOutput, 1, 1>,
437 FlatScratchInst<opName, "SVS">;
440 def _ST : FLAT_Scratch_Load_Pseudo<opName, regClass, HasTiedOutput, 0, 0, 0>,
441 FlatScratchInst<opName, "ST">;
444 multiclass FLAT_Scratch_Store_Pseudo<string opName, RegisterClass regClass> {
445 def "" : FLAT_Scratch_Store_Pseudo<opName, regClass>,
446 FlatScratchInst<opName, "SV">;
447 def _SADDR : FLAT_Scratch_Store_Pseudo<opName, regClass, 1>,
448 FlatScratchInst<opName, "SS">;
451 def _SVS : FLAT_Scratch_Store_Pseudo<opName, regClass, 1, 1>,
452 FlatScratchInst<opName, "SVS">;
455 def _ST : FLAT_Scratch_Store_Pseudo<opName, regClass, 0, 0, 0>,
456 FlatScratchInst<opName, "ST">;
459 class FLAT_Scratch_Load_LDS_Pseudo <string opName, bit EnableSaddr = 0,
462 opName,
490 multiclass FLAT_Scratch_Load_LDS_Pseudo<string opName> {
491 def "" : FLAT_Scratch_Load_LDS_Pseudo<opName>,
492 FlatScratchInst<opName, "SV">;
493 def _SADDR : FLAT_Scratch_Load_LDS_Pseudo<opName, 1>,
494 FlatScratchInst<opName, "SS">;
495 def _SVS : FLAT_Scratch_Load_LDS_Pseudo<opName, 1, 1>,
496 FlatScratchInst<opName, "SVS">;
497 def _ST : FLAT_Scratch_Load_LDS_Pseudo<opName, 0, 0, 0>,
498 FlatScratchInst<opName, "ST">;
501 class FLAT_AtomicNoRet_Pseudo<string opName, dag outs, dag ins,
503 FLAT_Pseudo<opName, outs, ins, asm, pattern> {
514 class FLAT_AtomicRet_Pseudo<string opName, dag outs, dag ins,
516 : FLAT_AtomicNoRet_Pseudo<opName, outs, ins, asm, pattern> {
526 string opName,
532 def "" : FLAT_AtomicNoRet_Pseudo <opName,
536 GlobalSaddrTable<0, opName> {
543 string opName,
549 def _RTN : FLAT_AtomicRet_Pseudo <opName,
553 GlobalSaddrTable<0, opName#"_rtn"> {
560 string opName,
566 defm "" : FLAT_Atomic_Pseudo_NO_RTN<opName, vdst_rc, vt, data_vt, data_rc, data_op>;
567 defm "" : FLAT_Atomic_Pseudo_RTN<opName, vdst_rc, vt, data_vt, data_rc, data_op>;
571 string opName,
579 def "" : FLAT_AtomicNoRet_Pseudo <opName,
583 GlobalSaddrTable<0, opName> {
588 def _SADDR : FLAT_AtomicNoRet_Pseudo <opName,
592 GlobalSaddrTable<1, opName> {
601 string opName,
610 def _RTN : FLAT_AtomicRet_Pseudo <opName,
614 GlobalSaddrTable<0, opName#"_rtn"> {
619 def _SADDR_RTN : FLAT_AtomicRet_Pseudo <opName,
623 GlobalSaddrTable<1, opName#"_rtn"> {
632 string opName,
637 defm "" : FLAT_Global_Atomic_Pseudo_NO_RTN<opName, vdst_rc, vt, data_vt, data_rc>;
638 defm "" : FLAT_Global_Atomic_Pseudo_RTN<opName, vdst_rc, vt, data_vt, data_rc>;
1775 multiclass FLAT_Real_Atomics_ci <bits<7> op, string opName = NAME,
1776 string asmName = !cast<FLAT_Pseudo>(opName).Mnemonic> {
1777 defvar ps = !cast<FLAT_Pseudo>(opName);
1778 defvar ps_rtn = !cast<FLAT_Pseudo>(opName#"_RTN");
2099 class FLAT_Real_gfx10<bits<7> op, FLAT_Pseudo ps, string opName = ps.Mnemonic> :
2100 FLAT_Real<op, ps, opName>, SIMCInstr<ps.PseudoInstr, SIEncodingFamily.GFX10> {