Lines Matching refs:RV32

3 ; RUN:     | FileCheck -check-prefix=RV32-PIC %s
6 ; RUN: llc -mtriple=riscv32 < %s | FileCheck -check-prefix=RV32-NOPIC %s
22 ; RV32-PIC-LABEL: f1:
23 ; RV32-PIC: # %bb.0: # %entry
24 ; RV32-PIC-NEXT: addi sp, sp, -16
25 ; RV32-PIC-NEXT: sw ra, 12(sp)
26 ; RV32-PIC-NEXT: .LBB0_1: # %entry
27 ; RV32-PIC-NEXT: # Label of block must be emitted
28 ; RV32-PIC-NEXT: auipc a0, %tls_gd_pcrel_hi(unspecified)
29 ; RV32-PIC-NEXT: addi a0, a0, %pcrel_lo(.LBB0_1)
30 ; RV32-PIC-NEXT: call __tls_get_addr@plt
31 ; RV32-PIC-NEXT: lw ra, 12(sp)
32 ; RV32-PIC-NEXT: addi sp, sp, 16
33 ; RV32-PIC-NEXT: ret
48 ; RV32-NOPIC-LABEL: f1:
49 ; RV32-NOPIC: # %bb.0: # %entry
50 ; RV32-NOPIC-NEXT: .LBB0_1: # %entry
51 ; RV32-NOPIC-NEXT: # Label of block must be emitted
52 ; RV32-NOPIC-NEXT: auipc a0, %tls_ie_pcrel_hi(unspecified)
53 ; RV32-NOPIC-NEXT: lw a0, %pcrel_lo(.LBB0_1)(a0)
54 ; RV32-NOPIC-NEXT: add a0, a0, tp
55 ; RV32-NOPIC-NEXT: ret
73 ; RV32-PIC-LABEL: f2:
74 ; RV32-PIC: # %bb.0: # %entry
75 ; RV32-PIC-NEXT: addi sp, sp, -16
76 ; RV32-PIC-NEXT: sw ra, 12(sp)
77 ; RV32-PIC-NEXT: .LBB1_1: # %entry
78 ; RV32-PIC-NEXT: # Label of block must be emitted
79 ; RV32-PIC-NEXT: auipc a0, %tls_gd_pcrel_hi(ld)
80 ; RV32-PIC-NEXT: addi a0, a0, %pcrel_lo(.LBB1_1)
81 ; RV32-PIC-NEXT: call __tls_get_addr@plt
82 ; RV32-PIC-NEXT: lw ra, 12(sp)
83 ; RV32-PIC-NEXT: addi sp, sp, 16
84 ; RV32-PIC-NEXT: ret
99 ; RV32-NOPIC-LABEL: f2:
100 ; RV32-NOPIC: # %bb.0: # %entry
101 ; RV32-NOPIC-NEXT: .LBB1_1: # %entry
102 ; RV32-NOPIC-NEXT: # Label of block must be emitted
103 ; RV32-NOPIC-NEXT: auipc a0, %tls_ie_pcrel_hi(ld)
104 ; RV32-NOPIC-NEXT: lw a0, %pcrel_lo(.LBB1_1)(a0)
105 ; RV32-NOPIC-NEXT: add a0, a0, tp
106 ; RV32-NOPIC-NEXT: ret
124 ; RV32-PIC-LABEL: f3:
125 ; RV32-PIC: # %bb.0: # %entry
126 ; RV32-PIC-NEXT: .LBB2_1: # %entry
127 ; RV32-PIC-NEXT: # Label of block must be emitted
128 ; RV32-PIC-NEXT: auipc a0, %tls_ie_pcrel_hi(ie)
129 ; RV32-PIC-NEXT: lw a0, %pcrel_lo(.LBB2_1)(a0)
130 ; RV32-PIC-NEXT: add a0, a0, tp
131 ; RV32-PIC-NEXT: ret
142 ; RV32-NOPIC-LABEL: f3:
143 ; RV32-NOPIC: # %bb.0: # %entry
144 ; RV32-NOPIC-NEXT: .LBB2_1: # %entry
145 ; RV32-NOPIC-NEXT: # Label of block must be emitted
146 ; RV32-NOPIC-NEXT: auipc a0, %tls_ie_pcrel_hi(ie)
147 ; RV32-NOPIC-NEXT: lw a0, %pcrel_lo(.LBB2_1)(a0)
148 ; RV32-NOPIC-NEXT: add a0, a0, tp
149 ; RV32-NOPIC-NEXT: ret
167 ; RV32-PIC-LABEL: f4:
168 ; RV32-PIC: # %bb.0: # %entry
169 ; RV32-PIC-NEXT: lui a0, %tprel_hi(le)
170 ; RV32-PIC-NEXT: add a0, a0, tp, %tprel_add(le)
171 ; RV32-PIC-NEXT: addi a0, a0, %tprel_lo(le)
172 ; RV32-PIC-NEXT: ret
181 ; RV32-NOPIC-LABEL: f4:
182 ; RV32-NOPIC: # %bb.0: # %entry
183 ; RV32-NOPIC-NEXT: lui a0, %tprel_hi(le)
184 ; RV32-NOPIC-NEXT: add a0, a0, tp, %tprel_add(le)
185 ; RV32-NOPIC-NEXT: addi a0, a0, %tprel_lo(le)
186 ; RV32-NOPIC-NEXT: ret