Lines Matching refs:ty

70 multiclass LoadPatNoOffset<ValueType ty, SDPatternOperator kind, string inst> {
71 def : Pat<(ty (kind I32:$addr)), (!cast<NI>(inst # "_A32") 0, 0, I32:$addr)>,
73 def : Pat<(ty (kind (i64 I64:$addr))), (!cast<NI>(inst # "_A64") 0, 0, I64:$addr)>,
85 multiclass LoadPatImmOff<ValueType ty, SDPatternOperator kind, PatFrag operand,
87 def : Pat<(ty (kind (operand I32:$addr, imm:$off))),
90 def : Pat<(ty (kind (operand I64:$addr, imm:$off))),
105 multiclass LoadPatOffsetOnly<ValueType ty, SDPatternOperator kind, string inst> {
106 def : Pat<(ty (kind imm:$off)),
109 def : Pat<(ty (kind imm:$off)),
119 multiclass LoadPatGlobalAddrOffOnly<ValueType ty, SDPatternOperator kind, string inst> {
120 def : Pat<(ty (kind (WebAssemblyWrapper tglobaladdr:$off))),
123 def : Pat<(ty (kind (WebAssemblyWrapper tglobaladdr:$off))),
267 multiclass StorePatNoOffset<ValueType ty, PatFrag node, string inst> {
268 def : Pat<(node ty:$val, I32:$addr),
269 (!cast<NI>(inst # "_A32") 0, 0, I32:$addr, ty:$val)>,
271 def : Pat<(node ty:$val, I64:$addr),
272 (!cast<NI>(inst # "_A64") 0, 0, I64:$addr, ty:$val)>,
282 multiclass StorePatImmOff<ValueType ty, PatFrag kind, PatFrag operand,
284 def : Pat<(kind ty:$val, (operand I32:$addr, imm:$off)),
285 (!cast<NI>(inst # "_A32") 0, imm:$off, I32:$addr, ty:$val)>,
287 def : Pat<(kind ty:$val, (operand I64:$addr, imm:$off)),
288 (!cast<NI>(inst # "_A64") 0, imm:$off, I64:$addr, ty:$val)>,
302 multiclass StorePatOffsetOnly<ValueType ty, PatFrag kind, string inst> {
303 def : Pat<(kind ty:$val, imm:$off),
304 (!cast<NI>(inst # "_A32") 0, imm:$off, (CONST_I32 0), ty:$val)>,
306 def : Pat<(kind ty:$val, imm:$off),
307 (!cast<NI>(inst # "_A64") 0, imm:$off, (CONST_I64 0), ty:$val)>,
315 multiclass StorePatGlobalAddrOffOnly<ValueType ty, PatFrag kind, string inst> {
316 def : Pat<(kind ty:$val, (WebAssemblyWrapper tglobaladdr:$off)),
318 ty:$val)>,
320 def : Pat<(kind ty:$val, (WebAssemblyWrapper tglobaladdr:$off)),
322 ty:$val)>,