1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/test/CodeGen/Thumb2/store-prepostinc.mir
Matt Arsenault cc12b285b6 CodeGen: Print/parse LLTs in MachineMemOperands
This will currently accept the old number of bytes syntax, and convert
it to a scalar. This should be removed in the near future (I think I
converted all of the tests already, but likely missed a few).

Not sure what the exact syntax and policy should be. We can continue
printing the number of bytes for non-generic instructions to avoid
test churn and only allow non-scalar types for generic instructions.

This will currently print the LLT in parentheses, but accept parsing
the existing integers and implicitly converting to scalar. The
parentheses are a bit ugly, but the parser logic seems unable to deal
without either parentheses or some keyword to indicate the start of a
type.
2021-06-30 16:54:13 -04:00

729 lines
27 KiB
YAML

# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
# RUN: llc -run-pass=arm-ldst-opt %s -o - | FileCheck %s
--- |
target datalayout = "e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64"
target triple = "thumbv7m-none-unknown-eabi"
define i8* @STR_pre4(i8* %p, i32 %v) { unreachable }
define i8* @STR_pre8(i8* %p, i32 %v) { unreachable }
define i8* @STR_pre255(i8* %p, i32 %v) { unreachable }
define i8* @STR_pre256(i8* %p, i32 %v) { unreachable }
define i8* @STRD_pre4(i8* %p, i32 %v) { unreachable }
define i8* @STRD_pre8(i8* %p, i32 %v) { unreachable }
define i8* @STRD_pre255(i8* %p, i32 %v) { unreachable }
define i8* @STRD_pre256(i8* %p, i32 %v) { unreachable }
define i8* @STRD_pre1020(i8* %p, i32 %v) { unreachable }
define i8* @STRD_pre1024(i8* %p, i32 %v) { unreachable }
define i8* @STRD_prem4(i8* %p, i32 %v) { unreachable }
define i8* @STRD_prem8(i8* %p, i32 %v) { unreachable }
define i8* @STRD_prem255(i8* %p, i32 %v) { unreachable }
define i8* @STRD_prem256(i8* %p, i32 %v) { unreachable }
define i8* @STRD_prem1020(i8* %p, i32 %v) { unreachable }
define i8* @STRD_prem1024(i8* %p, i32 %v) { unreachable }
define i8* @STR_post4(i8* %p, i32 %v) { unreachable }
define i8* @STR_post8(i8* %p, i32 %v) { unreachable }
define i8* @STR_post255(i8* %p, i32 %v) { unreachable }
define i8* @STR_post256(i8* %p, i32 %v) { unreachable }
define i8* @STRD_post4(i8* %p, i32 %v) { unreachable }
define i8* @STRD_post8(i8* %p, i32 %v) { unreachable }
define i8* @STRD_post255(i8* %p, i32 %v) { unreachable }
define i8* @STRD_post256(i8* %p, i32 %v) { unreachable }
define i8* @STRD_post1020(i8* %p, i32 %v) { unreachable }
define i8* @STRD_post1024(i8* %p, i32 %v) { unreachable }
define i8* @STRD_postm4(i8* %p, i32 %v) { unreachable }
define i8* @STRD_postm8(i8* %p, i32 %v) { unreachable }
define i8* @STRD_postm255(i8* %p, i32 %v) { unreachable }
define i8* @STRD_postm256(i8* %p, i32 %v) { unreachable }
define i8* @STRD_postm1020(i8* %p, i32 %v) { unreachable }
define i8* @STRD_postm1024(i8* %p, i32 %v) { unreachable }
...
---
name: STR_pre4
alignment: 2
tracksRegLiveness: true
liveins:
- { reg: '$r0', virtual-reg: '' }
- { reg: '$r1', virtual-reg: '' }
body: |
bb.0 (%ir-block.0):
liveins: $r0, $r1
; CHECK-LABEL: name: STR_pre4
; CHECK: liveins: $r0, $r1
; CHECK: early-clobber $r0 = t2STR_PRE killed $r1, $r0, 4, 14 /* CC::al */, $noreg :: (store (s32))
; CHECK: tBX_RET 14 /* CC::al */, $noreg, implicit $r0
renamable $r0 = nuw t2ADDri killed renamable $r0, 4, 14 /* CC::al */, $noreg, $noreg
t2STRi12 killed renamable $r1, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s32))
tBX_RET 14 /* CC::al */, $noreg, implicit $r0
...
---
name: STR_pre8
alignment: 2
tracksRegLiveness: true
liveins:
- { reg: '$r0', virtual-reg: '' }
- { reg: '$r1', virtual-reg: '' }
body: |
bb.0 (%ir-block.0):
liveins: $r0, $r1
; CHECK-LABEL: name: STR_pre8
; CHECK: liveins: $r0, $r1
; CHECK: renamable $r0 = nuw t2ADDri killed renamable $r0, 8, 14 /* CC::al */, $noreg, $noreg
; CHECK: t2STRi12 killed renamable $r1, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s32))
; CHECK: tBX_RET 14 /* CC::al */, $noreg, implicit $r0
renamable $r0 = nuw t2ADDri killed renamable $r0, 8, 14 /* CC::al */, $noreg, $noreg
t2STRi12 killed renamable $r1, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s32))
tBX_RET 14 /* CC::al */, $noreg, implicit $r0
...
---
name: STR_pre255
alignment: 2
tracksRegLiveness: true
liveins:
- { reg: '$r0', virtual-reg: '' }
- { reg: '$r1', virtual-reg: '' }
body: |
bb.0 (%ir-block.0):
liveins: $r0, $r1
; CHECK-LABEL: name: STR_pre255
; CHECK: liveins: $r0, $r1
; CHECK: renamable $r0 = nuw t2ADDri killed renamable $r0, 255, 14 /* CC::al */, $noreg, $noreg
; CHECK: t2STRi12 killed renamable $r1, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s32))
; CHECK: tBX_RET 14 /* CC::al */, $noreg, implicit $r0
renamable $r0 = nuw t2ADDri killed renamable $r0, 255, 14 /* CC::al */, $noreg, $noreg
t2STRi12 killed renamable $r1, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s32))
tBX_RET 14 /* CC::al */, $noreg, implicit $r0
...
---
name: STR_pre256
alignment: 2
tracksRegLiveness: true
liveins:
- { reg: '$r0', virtual-reg: '' }
- { reg: '$r1', virtual-reg: '' }
body: |
bb.0 (%ir-block.0):
liveins: $r0, $r1
; CHECK-LABEL: name: STR_pre256
; CHECK: liveins: $r0, $r1
; CHECK: renamable $r0 = nuw t2ADDri killed renamable $r0, 256, 14 /* CC::al */, $noreg, $noreg
; CHECK: t2STRi12 killed renamable $r1, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s32))
; CHECK: tBX_RET 14 /* CC::al */, $noreg, implicit $r0
renamable $r0 = nuw t2ADDri killed renamable $r0, 256, 14 /* CC::al */, $noreg, $noreg
t2STRi12 killed renamable $r1, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s32))
tBX_RET 14 /* CC::al */, $noreg, implicit $r0
...
---
name: STRD_pre4
alignment: 2
tracksRegLiveness: true
liveins:
- { reg: '$r0', virtual-reg: '' }
- { reg: '$r1', virtual-reg: '' }
- { reg: '$r2', virtual-reg: '' }
body: |
bb.0 (%ir-block.0):
liveins: $r0, $r1, $r2
; CHECK-LABEL: name: STRD_pre4
; CHECK: liveins: $r0, $r1, $r2
; CHECK: renamable $r0 = nuw t2ADDri killed renamable $r0, 4, 14 /* CC::al */, $noreg, $noreg
; CHECK: t2STRDi8 killed $r1, killed $r2, $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
; CHECK: tBX_RET 14 /* CC::al */, $noreg, implicit $r0
renamable $r0 = nuw t2ADDri killed renamable $r0, 4, 14 /* CC::al */, $noreg, $noreg
t2STRDi8 killed renamable $r1, killed renamable $r2, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
tBX_RET 14 /* CC::al */, $noreg, implicit $r0
...
---
name: STRD_pre8
alignment: 2
tracksRegLiveness: true
liveins:
- { reg: '$r0', virtual-reg: '' }
- { reg: '$r1', virtual-reg: '' }
- { reg: '$r2', virtual-reg: '' }
body: |
bb.0 (%ir-block.0):
liveins: $r0, $r1, $r2
; CHECK-LABEL: name: STRD_pre8
; CHECK: liveins: $r0, $r1, $r2
; CHECK: $r0 = t2STRD_PRE killed renamable $r1, killed renamable $r2, killed $r0, 8, 14 /* CC::al */, $noreg :: (store (s64))
; CHECK: tBX_RET 14 /* CC::al */, $noreg, implicit $r0
renamable $r0 = nuw t2ADDri killed renamable $r0, 8, 14 /* CC::al */, $noreg, $noreg
t2STRDi8 killed renamable $r1, killed renamable $r2, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
tBX_RET 14 /* CC::al */, $noreg, implicit $r0
...
---
name: STRD_pre255
alignment: 2
tracksRegLiveness: true
liveins:
- { reg: '$r0', virtual-reg: '' }
- { reg: '$r1', virtual-reg: '' }
- { reg: '$r2', virtual-reg: '' }
body: |
bb.0 (%ir-block.0):
liveins: $r0, $r1, $r2
; CHECK-LABEL: name: STRD_pre255
; CHECK: liveins: $r0, $r1, $r2
; CHECK: renamable $r0 = nuw t2ADDri killed renamable $r0, 255, 14 /* CC::al */, $noreg, $noreg
; CHECK: t2STRDi8 killed $r1, killed $r2, $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
; CHECK: tBX_RET 14 /* CC::al */, $noreg, implicit $r0
renamable $r0 = nuw t2ADDri killed renamable $r0, 255, 14 /* CC::al */, $noreg, $noreg
t2STRDi8 killed renamable $r1, killed renamable $r2, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
tBX_RET 14 /* CC::al */, $noreg, implicit $r0
...
---
name: STRD_pre256
alignment: 2
tracksRegLiveness: true
liveins:
- { reg: '$r0', virtual-reg: '' }
- { reg: '$r1', virtual-reg: '' }
- { reg: '$r2', virtual-reg: '' }
body: |
bb.0 (%ir-block.0):
liveins: $r0, $r1, $r2
; CHECK-LABEL: name: STRD_pre256
; CHECK: liveins: $r0, $r1, $r2
; CHECK: renamable $r0 = nuw t2ADDri killed renamable $r0, 256, 14 /* CC::al */, $noreg, $noreg
; CHECK: t2STRDi8 killed $r1, killed $r2, $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
; CHECK: tBX_RET 14 /* CC::al */, $noreg, implicit $r0
renamable $r0 = nuw t2ADDri killed renamable $r0, 256, 14 /* CC::al */, $noreg, $noreg
t2STRDi8 killed renamable $r1, killed renamable $r2, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
tBX_RET 14 /* CC::al */, $noreg, implicit $r0
...
---
name: STRD_pre1020
alignment: 2
tracksRegLiveness: true
liveins:
- { reg: '$r0', virtual-reg: '' }
- { reg: '$r1', virtual-reg: '' }
- { reg: '$r2', virtual-reg: '' }
body: |
bb.0 (%ir-block.0):
liveins: $r0, $r1, $r2
; CHECK-LABEL: name: STRD_pre1020
; CHECK: liveins: $r0, $r1, $r2
; CHECK: renamable $r0 = nuw t2ADDri killed renamable $r0, 1020, 14 /* CC::al */, $noreg, $noreg
; CHECK: t2STRDi8 killed $r1, killed $r2, $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
; CHECK: tBX_RET 14 /* CC::al */, $noreg, implicit $r0
renamable $r0 = nuw t2ADDri killed renamable $r0, 1020, 14 /* CC::al */, $noreg, $noreg
t2STRDi8 killed renamable $r1, killed renamable $r2, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
tBX_RET 14 /* CC::al */, $noreg, implicit $r0
...
---
name: STRD_pre1024
alignment: 2
tracksRegLiveness: true
liveins:
- { reg: '$r0', virtual-reg: '' }
- { reg: '$r1', virtual-reg: '' }
- { reg: '$r2', virtual-reg: '' }
body: |
bb.0 (%ir-block.0):
liveins: $r0, $r1, $r2
; CHECK-LABEL: name: STRD_pre1024
; CHECK: liveins: $r0, $r1, $r2
; CHECK: renamable $r0 = nuw t2ADDri killed renamable $r0, 1024, 14 /* CC::al */, $noreg, $noreg
; CHECK: t2STRDi8 killed $r1, killed $r2, $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
; CHECK: tBX_RET 14 /* CC::al */, $noreg, implicit $r0
renamable $r0 = nuw t2ADDri killed renamable $r0, 1024, 14 /* CC::al */, $noreg, $noreg
t2STRDi8 killed renamable $r1, killed renamable $r2, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
tBX_RET 14 /* CC::al */, $noreg, implicit $r0
...
---
name: STRD_prem4
alignment: 2
tracksRegLiveness: true
liveins:
- { reg: '$r0', virtual-reg: '' }
- { reg: '$r1', virtual-reg: '' }
- { reg: '$r2', virtual-reg: '' }
body: |
bb.0 (%ir-block.0):
liveins: $r0, $r1, $r2
; CHECK-LABEL: name: STRD_prem4
; CHECK: liveins: $r0, $r1, $r2
; CHECK: renamable $r0 = nuw t2SUBri killed renamable $r0, 4, 14 /* CC::al */, $noreg, $noreg
; CHECK: t2STRDi8 killed $r1, killed $r2, $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
; CHECK: tBX_RET 14 /* CC::al */, $noreg, implicit $r0
renamable $r0 = nuw t2SUBri killed renamable $r0, 4, 14 /* CC::al */, $noreg, $noreg
t2STRDi8 killed renamable $r1, killed renamable $r2, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
tBX_RET 14 /* CC::al */, $noreg, implicit $r0
...
---
name: STRD_prem8
alignment: 2
tracksRegLiveness: true
liveins:
- { reg: '$r0', virtual-reg: '' }
- { reg: '$r1', virtual-reg: '' }
- { reg: '$r2', virtual-reg: '' }
body: |
bb.0 (%ir-block.0):
liveins: $r0, $r1, $r2
; CHECK-LABEL: name: STRD_prem8
; CHECK: liveins: $r0, $r1, $r2
; CHECK: $r0 = t2STRD_PRE killed renamable $r1, killed renamable $r2, killed $r0, -8, 14 /* CC::al */, $noreg :: (store (s64))
; CHECK: tBX_RET 14 /* CC::al */, $noreg, implicit $r0
renamable $r0 = nuw t2SUBri killed renamable $r0, 8, 14 /* CC::al */, $noreg, $noreg
t2STRDi8 killed renamable $r1, killed renamable $r2, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
tBX_RET 14 /* CC::al */, $noreg, implicit $r0
...
---
name: STRD_prem255
alignment: 2
tracksRegLiveness: true
liveins:
- { reg: '$r0', virtual-reg: '' }
- { reg: '$r1', virtual-reg: '' }
- { reg: '$r2', virtual-reg: '' }
body: |
bb.0 (%ir-block.0):
liveins: $r0, $r1, $r2
; CHECK-LABEL: name: STRD_prem255
; CHECK: liveins: $r0, $r1, $r2
; CHECK: renamable $r0 = nuw t2SUBri killed renamable $r0, 255, 14 /* CC::al */, $noreg, $noreg
; CHECK: t2STRDi8 killed $r1, killed $r2, $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
; CHECK: tBX_RET 14 /* CC::al */, $noreg, implicit $r0
renamable $r0 = nuw t2SUBri killed renamable $r0, 255, 14 /* CC::al */, $noreg, $noreg
t2STRDi8 killed renamable $r1, killed renamable $r2, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
tBX_RET 14 /* CC::al */, $noreg, implicit $r0
...
---
name: STRD_prem256
alignment: 2
tracksRegLiveness: true
liveins:
- { reg: '$r0', virtual-reg: '' }
- { reg: '$r1', virtual-reg: '' }
- { reg: '$r2', virtual-reg: '' }
body: |
bb.0 (%ir-block.0):
liveins: $r0, $r1, $r2
; CHECK-LABEL: name: STRD_prem256
; CHECK: liveins: $r0, $r1, $r2
; CHECK: renamable $r0 = nuw t2SUBri killed renamable $r0, 256, 14 /* CC::al */, $noreg, $noreg
; CHECK: t2STRDi8 killed $r1, killed $r2, $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
; CHECK: tBX_RET 14 /* CC::al */, $noreg, implicit $r0
renamable $r0 = nuw t2SUBri killed renamable $r0, 256, 14 /* CC::al */, $noreg, $noreg
t2STRDi8 killed renamable $r1, killed renamable $r2, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
tBX_RET 14 /* CC::al */, $noreg, implicit $r0
...
---
name: STRD_prem1020
alignment: 2
tracksRegLiveness: true
liveins:
- { reg: '$r0', virtual-reg: '' }
- { reg: '$r1', virtual-reg: '' }
- { reg: '$r2', virtual-reg: '' }
body: |
bb.0 (%ir-block.0):
liveins: $r0, $r1, $r2
; CHECK-LABEL: name: STRD_prem1020
; CHECK: liveins: $r0, $r1, $r2
; CHECK: renamable $r0 = nuw t2SUBri killed renamable $r0, 1020, 14 /* CC::al */, $noreg, $noreg
; CHECK: t2STRDi8 killed $r1, killed $r2, $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
; CHECK: tBX_RET 14 /* CC::al */, $noreg, implicit $r0
renamable $r0 = nuw t2SUBri killed renamable $r0, 1020, 14 /* CC::al */, $noreg, $noreg
t2STRDi8 killed renamable $r1, killed renamable $r2, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
tBX_RET 14 /* CC::al */, $noreg, implicit $r0
...
---
name: STRD_prem1024
alignment: 2
tracksRegLiveness: true
liveins:
- { reg: '$r0', virtual-reg: '' }
- { reg: '$r1', virtual-reg: '' }
- { reg: '$r2', virtual-reg: '' }
body: |
bb.0 (%ir-block.0):
liveins: $r0, $r1, $r2
; CHECK-LABEL: name: STRD_prem1024
; CHECK: liveins: $r0, $r1, $r2
; CHECK: renamable $r0 = nuw t2SUBri killed renamable $r0, 1024, 14 /* CC::al */, $noreg, $noreg
; CHECK: t2STRDi8 killed $r1, killed $r2, $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
; CHECK: tBX_RET 14 /* CC::al */, $noreg, implicit $r0
renamable $r0 = nuw t2SUBri killed renamable $r0, 1024, 14 /* CC::al */, $noreg, $noreg
t2STRDi8 killed renamable $r1, killed renamable $r2, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
tBX_RET 14 /* CC::al */, $noreg, implicit $r0
...
---
name: STR_post4
alignment: 2
tracksRegLiveness: true
liveins:
- { reg: '$r0', virtual-reg: '' }
- { reg: '$r1', virtual-reg: '' }
body: |
bb.0 (%ir-block.0):
liveins: $r0, $r1
; CHECK-LABEL: name: STR_post4
; CHECK: liveins: $r0, $r1
; CHECK: early-clobber $r0 = t2STR_POST killed $r1, $r0, 4, 14 /* CC::al */, $noreg :: (store (s32))
; CHECK: tBX_RET 14 /* CC::al */, $noreg, implicit $r0
t2STRi12 killed renamable $r1, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s32))
renamable $r0 = nuw t2ADDri killed renamable $r0, 4, 14 /* CC::al */, $noreg, $noreg
tBX_RET 14 /* CC::al */, $noreg, implicit $r0
...
---
name: STR_post8
alignment: 2
tracksRegLiveness: true
liveins:
- { reg: '$r0', virtual-reg: '' }
- { reg: '$r1', virtual-reg: '' }
body: |
bb.0 (%ir-block.0):
liveins: $r0, $r1
; CHECK-LABEL: name: STR_post8
; CHECK: liveins: $r0, $r1
; CHECK: early-clobber $r0 = t2STR_POST killed $r1, $r0, 8, 14 /* CC::al */, $noreg :: (store (s32))
; CHECK: tBX_RET 14 /* CC::al */, $noreg, implicit $r0
t2STRi12 killed renamable $r1, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s32))
renamable $r0 = nuw t2ADDri killed renamable $r0, 8, 14 /* CC::al */, $noreg, $noreg
tBX_RET 14 /* CC::al */, $noreg, implicit $r0
...
---
name: STR_post255
alignment: 2
tracksRegLiveness: true
liveins:
- { reg: '$r0', virtual-reg: '' }
- { reg: '$r1', virtual-reg: '' }
body: |
bb.0 (%ir-block.0):
liveins: $r0, $r1
; CHECK-LABEL: name: STR_post255
; CHECK: liveins: $r0, $r1
; CHECK: t2STRi12 killed renamable $r1, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s32))
; CHECK: renamable $r0 = nuw t2ADDri killed renamable $r0, 255, 14 /* CC::al */, $noreg, $noreg
; CHECK: tBX_RET 14 /* CC::al */, $noreg, implicit $r0
t2STRi12 killed renamable $r1, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s32))
renamable $r0 = nuw t2ADDri killed renamable $r0, 255, 14 /* CC::al */, $noreg, $noreg
tBX_RET 14 /* CC::al */, $noreg, implicit $r0
...
---
name: STR_post256
alignment: 2
tracksRegLiveness: true
liveins:
- { reg: '$r0', virtual-reg: '' }
- { reg: '$r1', virtual-reg: '' }
body: |
bb.0 (%ir-block.0):
liveins: $r0, $r1
; CHECK-LABEL: name: STR_post256
; CHECK: liveins: $r0, $r1
; CHECK: t2STRi12 killed renamable $r1, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s32))
; CHECK: renamable $r0 = nuw t2ADDri killed renamable $r0, 256, 14 /* CC::al */, $noreg, $noreg
; CHECK: tBX_RET 14 /* CC::al */, $noreg, implicit $r0
t2STRi12 killed renamable $r1, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s32))
renamable $r0 = nuw t2ADDri killed renamable $r0, 256, 14 /* CC::al */, $noreg, $noreg
tBX_RET 14 /* CC::al */, $noreg, implicit $r0
...
---
name: STRD_post4
alignment: 2
tracksRegLiveness: true
liveins:
- { reg: '$r0', virtual-reg: '' }
- { reg: '$r1', virtual-reg: '' }
- { reg: '$r2', virtual-reg: '' }
body: |
bb.0 (%ir-block.0):
liveins: $r0, $r1, $r2
; CHECK-LABEL: name: STRD_post4
; CHECK: liveins: $r0, $r1, $r2
; CHECK: $r0 = t2STRD_POST killed renamable $r1, killed renamable $r2, killed $r0, 4, 14 /* CC::al */, $noreg :: (store (s64))
; CHECK: tBX_RET 14 /* CC::al */, $noreg, implicit $r0
t2STRDi8 killed renamable $r1, killed renamable $r2, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
renamable $r0 = nuw t2ADDri killed renamable $r0, 4, 14 /* CC::al */, $noreg, $noreg
tBX_RET 14 /* CC::al */, $noreg, implicit $r0
...
---
name: STRD_post8
alignment: 2
tracksRegLiveness: true
liveins:
- { reg: '$r0', virtual-reg: '' }
- { reg: '$r1', virtual-reg: '' }
- { reg: '$r2', virtual-reg: '' }
body: |
bb.0 (%ir-block.0):
liveins: $r0, $r1, $r2
; CHECK-LABEL: name: STRD_post8
; CHECK: liveins: $r0, $r1, $r2
; CHECK: $r0 = t2STRD_POST killed renamable $r1, killed renamable $r2, killed $r0, 8, 14 /* CC::al */, $noreg :: (store (s64))
; CHECK: tBX_RET 14 /* CC::al */, $noreg, implicit $r0
t2STRDi8 killed renamable $r1, killed renamable $r2, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
renamable $r0 = nuw t2ADDri killed renamable $r0, 8, 14 /* CC::al */, $noreg, $noreg
tBX_RET 14 /* CC::al */, $noreg, implicit $r0
...
---
name: STRD_post255
alignment: 2
tracksRegLiveness: true
liveins:
- { reg: '$r0', virtual-reg: '' }
- { reg: '$r1', virtual-reg: '' }
- { reg: '$r2', virtual-reg: '' }
body: |
bb.0 (%ir-block.0):
liveins: $r0, $r1, $r2
; CHECK-LABEL: name: STRD_post255
; CHECK: liveins: $r0, $r1, $r2
; CHECK: t2STRDi8 killed $r1, killed $r2, $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
; CHECK: renamable $r0 = nuw t2ADDri killed renamable $r0, 255, 14 /* CC::al */, $noreg, $noreg
; CHECK: tBX_RET 14 /* CC::al */, $noreg, implicit $r0
t2STRDi8 killed renamable $r1, killed renamable $r2, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
renamable $r0 = nuw t2ADDri killed renamable $r0, 255, 14 /* CC::al */, $noreg, $noreg
tBX_RET 14 /* CC::al */, $noreg, implicit $r0
...
---
name: STRD_post256
alignment: 2
tracksRegLiveness: true
liveins:
- { reg: '$r0', virtual-reg: '' }
- { reg: '$r1', virtual-reg: '' }
- { reg: '$r2', virtual-reg: '' }
body: |
bb.0 (%ir-block.0):
liveins: $r0, $r1, $r2
; CHECK-LABEL: name: STRD_post256
; CHECK: liveins: $r0, $r1, $r2
; CHECK: $r0 = t2STRD_POST killed renamable $r1, killed renamable $r2, killed $r0, 256, 14 /* CC::al */, $noreg :: (store (s64))
; CHECK: tBX_RET 14 /* CC::al */, $noreg, implicit $r0
t2STRDi8 killed renamable $r1, killed renamable $r2, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
renamable $r0 = nuw t2ADDri killed renamable $r0, 256, 14 /* CC::al */, $noreg, $noreg
tBX_RET 14 /* CC::al */, $noreg, implicit $r0
...
---
name: STRD_post1020
alignment: 2
tracksRegLiveness: true
liveins:
- { reg: '$r0', virtual-reg: '' }
- { reg: '$r1', virtual-reg: '' }
- { reg: '$r2', virtual-reg: '' }
body: |
bb.0 (%ir-block.0):
liveins: $r0, $r1, $r2
; CHECK-LABEL: name: STRD_post1020
; CHECK: liveins: $r0, $r1, $r2
; CHECK: $r0 = t2STRD_POST killed renamable $r1, killed renamable $r2, killed $r0, 1020, 14 /* CC::al */, $noreg :: (store (s64))
; CHECK: tBX_RET 14 /* CC::al */, $noreg, implicit $r0
t2STRDi8 killed renamable $r1, killed renamable $r2, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
renamable $r0 = nuw t2ADDri killed renamable $r0, 1020, 14 /* CC::al */, $noreg, $noreg
tBX_RET 14 /* CC::al */, $noreg, implicit $r0
...
---
name: STRD_post1024
alignment: 2
tracksRegLiveness: true
liveins:
- { reg: '$r0', virtual-reg: '' }
- { reg: '$r1', virtual-reg: '' }
- { reg: '$r2', virtual-reg: '' }
body: |
bb.0 (%ir-block.0):
liveins: $r0, $r1, $r2
; CHECK-LABEL: name: STRD_post1024
; CHECK: liveins: $r0, $r1, $r2
; CHECK: t2STRDi8 killed $r1, killed $r2, $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
; CHECK: renamable $r0 = nuw t2ADDri killed renamable $r0, 1024, 14 /* CC::al */, $noreg, $noreg
; CHECK: tBX_RET 14 /* CC::al */, $noreg, implicit $r0
t2STRDi8 killed renamable $r1, killed renamable $r2, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
renamable $r0 = nuw t2ADDri killed renamable $r0, 1024, 14 /* CC::al */, $noreg, $noreg
tBX_RET 14 /* CC::al */, $noreg, implicit $r0
...
---
name: STRD_postm4
alignment: 2
tracksRegLiveness: true
liveins:
- { reg: '$r0', virtual-reg: '' }
- { reg: '$r1', virtual-reg: '' }
- { reg: '$r2', virtual-reg: '' }
body: |
bb.0 (%ir-block.0):
liveins: $r0, $r1, $r2
; CHECK-LABEL: name: STRD_postm4
; CHECK: liveins: $r0, $r1, $r2
; CHECK: $r0 = t2STRD_POST killed renamable $r1, killed renamable $r2, killed $r0, -4, 14 /* CC::al */, $noreg :: (store (s64))
; CHECK: tBX_RET 14 /* CC::al */, $noreg, implicit $r0
t2STRDi8 killed renamable $r1, killed renamable $r2, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
renamable $r0 = nuw t2SUBri killed renamable $r0, 4, 14 /* CC::al */, $noreg, $noreg
tBX_RET 14 /* CC::al */, $noreg, implicit $r0
...
---
name: STRD_postm8
alignment: 2
tracksRegLiveness: true
liveins:
- { reg: '$r0', virtual-reg: '' }
- { reg: '$r1', virtual-reg: '' }
- { reg: '$r2', virtual-reg: '' }
body: |
bb.0 (%ir-block.0):
liveins: $r0, $r1, $r2
; CHECK-LABEL: name: STRD_postm8
; CHECK: liveins: $r0, $r1, $r2
; CHECK: $r0 = t2STRD_POST killed renamable $r1, killed renamable $r2, killed $r0, -8, 14 /* CC::al */, $noreg :: (store (s64))
; CHECK: tBX_RET 14 /* CC::al */, $noreg, implicit $r0
t2STRDi8 killed renamable $r1, killed renamable $r2, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
renamable $r0 = nuw t2SUBri killed renamable $r0, 8, 14 /* CC::al */, $noreg, $noreg
tBX_RET 14 /* CC::al */, $noreg, implicit $r0
...
---
name: STRD_postm255
alignment: 2
tracksRegLiveness: true
liveins:
- { reg: '$r0', virtual-reg: '' }
- { reg: '$r1', virtual-reg: '' }
- { reg: '$r2', virtual-reg: '' }
body: |
bb.0 (%ir-block.0):
liveins: $r0, $r1, $r2
; CHECK-LABEL: name: STRD_postm255
; CHECK: liveins: $r0, $r1, $r2
; CHECK: t2STRDi8 killed $r1, killed $r2, $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
; CHECK: renamable $r0 = nuw t2SUBri killed renamable $r0, 255, 14 /* CC::al */, $noreg, $noreg
; CHECK: tBX_RET 14 /* CC::al */, $noreg, implicit $r0
t2STRDi8 killed renamable $r1, killed renamable $r2, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
renamable $r0 = nuw t2SUBri killed renamable $r0, 255, 14 /* CC::al */, $noreg, $noreg
tBX_RET 14 /* CC::al */, $noreg, implicit $r0
...
---
name: STRD_postm256
alignment: 2
tracksRegLiveness: true
liveins:
- { reg: '$r0', virtual-reg: '' }
- { reg: '$r1', virtual-reg: '' }
- { reg: '$r2', virtual-reg: '' }
body: |
bb.0 (%ir-block.0):
liveins: $r0, $r1, $r2
; CHECK-LABEL: name: STRD_postm256
; CHECK: liveins: $r0, $r1, $r2
; CHECK: $r0 = t2STRD_POST killed renamable $r1, killed renamable $r2, killed $r0, 256, 14 /* CC::al */, $noreg :: (store (s64))
; CHECK: tBX_RET 14 /* CC::al */, $noreg, implicit $r0
t2STRDi8 killed renamable $r1, killed renamable $r2, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
renamable $r0 = nuw t2ADDri killed renamable $r0, 256, 14 /* CC::al */, $noreg, $noreg
tBX_RET 14 /* CC::al */, $noreg, implicit $r0
...
---
name: STRD_postm1020
alignment: 2
tracksRegLiveness: true
liveins:
- { reg: '$r0', virtual-reg: '' }
- { reg: '$r1', virtual-reg: '' }
- { reg: '$r2', virtual-reg: '' }
body: |
bb.0 (%ir-block.0):
liveins: $r0, $r1, $r2
; CHECK-LABEL: name: STRD_postm1020
; CHECK: liveins: $r0, $r1, $r2
; CHECK: $r0 = t2STRD_POST killed renamable $r1, killed renamable $r2, killed $r0, -1020, 14 /* CC::al */, $noreg :: (store (s64))
; CHECK: tBX_RET 14 /* CC::al */, $noreg, implicit $r0
t2STRDi8 killed renamable $r1, killed renamable $r2, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
renamable $r0 = nuw t2SUBri killed renamable $r0, 1020, 14 /* CC::al */, $noreg, $noreg
tBX_RET 14 /* CC::al */, $noreg, implicit $r0
...
---
name: STRD_postm1024
alignment: 2
tracksRegLiveness: true
liveins:
- { reg: '$r0', virtual-reg: '' }
- { reg: '$r1', virtual-reg: '' }
- { reg: '$r2', virtual-reg: '' }
body: |
bb.0 (%ir-block.0):
liveins: $r0, $r1, $r2
; CHECK-LABEL: name: STRD_postm1024
; CHECK: liveins: $r0, $r1, $r2
; CHECK: t2STRDi8 killed $r1, killed $r2, $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
; CHECK: renamable $r0 = nuw t2SUBri killed renamable $r0, 1024, 14 /* CC::al */, $noreg, $noreg
; CHECK: tBX_RET 14 /* CC::al */, $noreg, implicit $r0
t2STRDi8 killed renamable $r1, killed renamable $r2, renamable $r0, 0, 14 /* CC::al */, $noreg :: (store (s64))
renamable $r0 = nuw t2SUBri killed renamable $r0, 1024, 14 /* CC::al */, $noreg, $noreg
tBX_RET 14 /* CC::al */, $noreg, implicit $r0
...