Lines Matching refs:RV64

5 ; RUN:     | FileCheck -check-prefix=RV64-PIC %s
7 ; RUN: llc -mtriple=riscv64 < %s | FileCheck -check-prefix=RV64-NOPIC %s
35 ; RV64-PIC-LABEL: f1:
36 ; RV64-PIC: # %bb.0: # %entry
37 ; RV64-PIC-NEXT: addi sp, sp, -16
38 ; RV64-PIC-NEXT: sd ra, 8(sp) # 8-byte Folded Spill
39 ; RV64-PIC-NEXT: .LBB0_1: # %entry
40 ; RV64-PIC-NEXT: # Label of block must be emitted
41 ; RV64-PIC-NEXT: auipc a0, %tls_gd_pcrel_hi(unspecified)
42 ; RV64-PIC-NEXT: addi a0, a0, %pcrel_lo(.LBB0_1)
43 ; RV64-PIC-NEXT: call __tls_get_addr@plt
44 ; RV64-PIC-NEXT: ld ra, 8(sp) # 8-byte Folded Reload
45 ; RV64-PIC-NEXT: addi sp, sp, 16
46 ; RV64-PIC-NEXT: ret
57 ; RV64-NOPIC-LABEL: f1:
58 ; RV64-NOPIC: # %bb.0: # %entry
59 ; RV64-NOPIC-NEXT: .LBB0_1: # %entry
60 ; RV64-NOPIC-NEXT: # Label of block must be emitted
61 ; RV64-NOPIC-NEXT: auipc a0, %tls_ie_pcrel_hi(unspecified)
62 ; RV64-NOPIC-NEXT: ld a0, %pcrel_lo(.LBB0_1)(a0)
63 ; RV64-NOPIC-NEXT: add a0, a0, tp
64 ; RV64-NOPIC-NEXT: ret
86 ; RV64-PIC-LABEL: f2:
87 ; RV64-PIC: # %bb.0: # %entry
88 ; RV64-PIC-NEXT: addi sp, sp, -16
89 ; RV64-PIC-NEXT: sd ra, 8(sp) # 8-byte Folded Spill
90 ; RV64-PIC-NEXT: .LBB1_1: # %entry
91 ; RV64-PIC-NEXT: # Label of block must be emitted
92 ; RV64-PIC-NEXT: auipc a0, %tls_gd_pcrel_hi(ld)
93 ; RV64-PIC-NEXT: addi a0, a0, %pcrel_lo(.LBB1_1)
94 ; RV64-PIC-NEXT: call __tls_get_addr@plt
95 ; RV64-PIC-NEXT: ld ra, 8(sp) # 8-byte Folded Reload
96 ; RV64-PIC-NEXT: addi sp, sp, 16
97 ; RV64-PIC-NEXT: ret
108 ; RV64-NOPIC-LABEL: f2:
109 ; RV64-NOPIC: # %bb.0: # %entry
110 ; RV64-NOPIC-NEXT: .LBB1_1: # %entry
111 ; RV64-NOPIC-NEXT: # Label of block must be emitted
112 ; RV64-NOPIC-NEXT: auipc a0, %tls_ie_pcrel_hi(ld)
113 ; RV64-NOPIC-NEXT: ld a0, %pcrel_lo(.LBB1_1)(a0)
114 ; RV64-NOPIC-NEXT: add a0, a0, tp
115 ; RV64-NOPIC-NEXT: ret
133 ; RV64-PIC-LABEL: f3:
134 ; RV64-PIC: # %bb.0: # %entry
135 ; RV64-PIC-NEXT: .LBB2_1: # %entry
136 ; RV64-PIC-NEXT: # Label of block must be emitted
137 ; RV64-PIC-NEXT: auipc a0, %tls_ie_pcrel_hi(ie)
138 ; RV64-PIC-NEXT: ld a0, %pcrel_lo(.LBB2_1)(a0)
139 ; RV64-PIC-NEXT: add a0, a0, tp
140 ; RV64-PIC-NEXT: ret
151 ; RV64-NOPIC-LABEL: f3:
152 ; RV64-NOPIC: # %bb.0: # %entry
153 ; RV64-NOPIC-NEXT: .LBB2_1: # %entry
154 ; RV64-NOPIC-NEXT: # Label of block must be emitted
155 ; RV64-NOPIC-NEXT: auipc a0, %tls_ie_pcrel_hi(ie)
156 ; RV64-NOPIC-NEXT: ld a0, %pcrel_lo(.LBB2_1)(a0)
157 ; RV64-NOPIC-NEXT: add a0, a0, tp
158 ; RV64-NOPIC-NEXT: ret
174 ; RV64-PIC-LABEL: f4:
175 ; RV64-PIC: # %bb.0: # %entry
176 ; RV64-PIC-NEXT: lui a0, %tprel_hi(le)
177 ; RV64-PIC-NEXT: add a0, a0, tp, %tprel_add(le)
178 ; RV64-PIC-NEXT: addi a0, a0, %tprel_lo(le)
179 ; RV64-PIC-NEXT: ret
188 ; RV64-NOPIC-LABEL: f4:
189 ; RV64-NOPIC: # %bb.0: # %entry
190 ; RV64-NOPIC-NEXT: lui a0, %tprel_hi(le)
191 ; RV64-NOPIC-NEXT: add a0, a0, tp, %tprel_add(le)
192 ; RV64-NOPIC-NEXT: addi a0, a0, %tprel_lo(le)
193 ; RV64-NOPIC-NEXT: ret