Lines Matching full:gpr
59 defm AMOCAS_W : AMO_cas_aq_rl<0b00101, 0b010, "amocas.w", GPR>;
67 defm AMOCAS_D_RV64 : AMO_cas_aq_rl<0b00101, 0b011, "amocas.d", GPR>;
74 def : Pat<(!cast<PatFrag>(AtomicOp#"_monotonic") (vt GPR:$addr),
75 (vt GPR:$cmp),
76 (vt GPR:$new)),
77 (!cast<RVInst>(BaseInst) GPR:$cmp, GPR:$addr, GPR:$new)>;
78 def : Pat<(!cast<PatFrag>(AtomicOp#"_acquire") (vt GPR:$addr),
79 (vt GPR:$cmp),
80 (vt GPR:$new)),
81 (!cast<RVInst>(BaseInst#"_AQ") GPR:$cmp, GPR:$addr, GPR:$new)>;
82 def : Pat<(!cast<PatFrag>(AtomicOp#"_release") (vt GPR:$addr),
83 (vt GPR:$cmp),
84 (vt GPR:$new)),
85 (!cast<RVInst>(BaseInst#"_RL") GPR:$cmp, GPR:$addr, GPR:$new)>;
86 def : Pat<(!cast<PatFrag>(AtomicOp#"_acq_rel") (vt GPR:$addr),
87 (vt GPR:$cmp),
88 (vt GPR:$new)),
89 (!cast<RVInst>(BaseInst#"_AQ_RL") GPR:$cmp, GPR:$addr, GPR:$new)>;
90 def : Pat<(!cast<PatFrag>(AtomicOp#"_seq_cst") (vt GPR:$addr),
91 (vt GPR:$cmp),
92 (vt GPR:$new)),
93 (!cast<RVInst>(BaseInst#"_AQ_RL") GPR:$cmp, GPR:$addr, GPR:$new)>;
96 def : Pat<(!cast<PatFrag>(AtomicOp#"_monotonic") (vt GPR:$addr),
97 (vt GPR:$cmp),
98 (vt GPR:$new)),
99 (!cast<RVInst>(BaseInst) GPR:$cmp, GPR:$addr, GPR:$new)>;
100 def : Pat<(!cast<PatFrag>(AtomicOp#"_acquire") (vt GPR:$addr),
101 (vt GPR:$cmp),
102 (vt GPR:$new)),
103 (!cast<RVInst>(BaseInst) GPR:$cmp, GPR:$addr, GPR:$new)>;
104 def : Pat<(!cast<PatFrag>(AtomicOp#"_release") (vt GPR:$addr),
105 (vt GPR:$cmp),
106 (vt GPR:$new)),
107 (!cast<RVInst>(BaseInst) GPR:$cmp, GPR:$addr, GPR:$new)>;
108 def : Pat<(!cast<PatFrag>(AtomicOp#"_acq_rel") (vt GPR:$addr),
109 (vt GPR:$cmp),
110 (vt GPR:$new)),
111 (!cast<RVInst>(BaseInst) GPR:$cmp, GPR:$addr, GPR:$new)>;
112 def : Pat<(!cast<PatFrag>(AtomicOp#"_seq_cst") (vt GPR:$addr),
113 (vt GPR:$cmp),
114 (vt GPR:$new)),
115 (!cast<RVInst>(BaseInst) GPR:$cmp, GPR:$addr, GPR:$new)>;
185 defm AMOCAS_B : AMO_cas_aq_rl<0b00101, 0b000, "amocas.b", GPR>;
186 defm AMOCAS_H : AMO_cas_aq_rl<0b00101, 0b001, "amocas.h", GPR>;