• Home
  • Raw
  • Download

Lines Matching refs:MOVT

1 ; RUN: llc -mtriple=thumbv7s-apple-ios7.0 -o - -fast-isel %s | FileCheck %s --check-prefix=T2-MOVT-…
3 …thumbv7s-apple-ios7.0 -o - %s -relocation-model=static | FileCheck %s --check-prefix=T2-MOVT-STATIC
5 ; RUN: llc -mtriple=armv7s-apple-ios7.0 -o - %s | FileCheck %s --check-prefix=ARM-MOVT-PIC
7 …=armv7s-apple-ios7.0 -o - %s -relocation-model=static | FileCheck %s --check-prefix=ARM-MOVT-STATIC
17 ; T2-MOVT-PIC-LABEL: test_local_tls:
18 ; T2-MOVT-PIC: movw r0, :lower16:(_local_tls_var-([[PCREL_LOC:LPC[0-9]+_[0-9]+]]+4))
19 ; T2-MOVT-PIC: movt r0, :upper16:(_local_tls_var-([[PCREL_LOC]]+4))
20 ; T2-MOVT-PIC: [[PCREL_LOC]]:
21 ; T2-MOVT-PIC-NEXT: add r0, pc
22 ; T2-MOVT-PIC: ldr [[TLV_GET_ADDR:r[0-9]+]], [r0]
23 ; T2-MOVT-PIC: blx [[TLV_GET_ADDR]]
24 ; T2-MOVT-PIC: ldr r0, [r0]
36 ; T2-MOVT-STATIC-LABEL: test_local_tls:
37 ; T2-MOVT-STATIC: movw r0, :lower16:_local_tls_var
38 ; T2-MOVT-STATIC: movt r0, :upper16:_local_tls_var
39 ; T2-MOVT-STATIC: ldr [[TLV_GET_ADDR:r[0-9]+]], [r0]
40 ; T2-MOVT-STATIC: blx [[TLV_GET_ADDR]]
41 ; T2-MOVT-STATIC: ldr r0, [r0]
51 ; ARM-MOVT-PIC-LABEL: test_local_tls:
52 ; ARM-MOVT-PIC: movw [[VARPC1:r[0-9]+]], :lower16:(_local_tls_var-([[PCREL_LOC1:LPC[0-9]+_[0-9]+]]+…
53 ; ARM-MOVT-PIC: movt [[VARPC1]], :upper16:(_local_tls_var-([[PCREL_LOC1]]+8))
54 ; ARM-MOVT-PIC: [[PCREL_LOC1]]:
55 ; ARM-MOVT-PIC: add r0, pc, [[VARPC1]]
56 ; ARM-MOVT-PIC: movw [[VARPC2:r[0-9]+]], :lower16:(_local_tls_var-([[PCREL_LOC2:LPC[0-9]+_[0-9]+]]+…
57 ; ARM-MOVT-PIC: movt [[VARPC2]], :upper16:(_local_tls_var-([[PCREL_LOC2]]+8))
58 ; ARM-MOVT-PIC: [[PCREL_LOC2]]:
59 ; ARM-MOVT-PIC-NEXT: ldr [[TLV_GET_ADDR:r[0-9]+]], [pc, [[VARPC2]]]
60 ; ARM-MOVT-PIC: blx [[TLV_GET_ADDR]]
61 ; ARM-MOVT-PIC: ldr r0, [r0]
73 ; ARM-MOVT-STATIC-LABEL: test_local_tls:
74 ; ARM-MOVT-STATIC: movw r0, :lower16:_local_tls_var
75 ; ARM-MOVT-STATIC: movt r0, :upper16:_local_tls_var
76 ; ARM-MOVT-STATIC: ldr [[TLV_GET_ADDR:r[0-9]+]], [r0]
77 ; ARM-MOVT-STATIC: blx [[TLV_GET_ADDR]]
78 ; ARM-MOVT-STATIC: ldr r0, [r0]
94 ; T2-MOVT-PIC-LABEL: test_external_tls:
95 ; T2-MOVT-PIC: movw r[[EXTGOT:[0-9]+]], :lower16:(L_external_tls_var$non_lazy_ptr-([[PCREL_LOC:LPC[…
96 ; T2-MOVT-PIC: movt r[[EXTGOT]], :upper16:(L_external_tls_var$non_lazy_ptr-([[PCREL_LOC]]+4))
97 ; T2-MOVT-PIC: [[PCREL_LOC]]:
98 ; T2-MOVT-PIC-NEXT: add r[[EXTGOT]], pc
99 ; T2-MOVT-PIC: ldr r0, [r[[EXTGOT]]]
100 ; T2-MOVT-PIC: ldr [[TLV_GET_ADDR:r[0-9]+]], [r0]
101 ; T2-MOVT-PIC: blx [[TLV_GET_ADDR]]
102 ; T2-MOVT-PIC: ldr r0, [r0]
115 ; T2-MOVT-STATIC-LABEL: test_external_tls:
116 ; T2-MOVT-STATIC: movw r0, :lower16:_external_tls_var
117 ; T2-MOVT-STATIC: movt r0, :upper16:_external_tls_var
118 ; T2-MOVT-STATIC: ldr [[TLV_GET_ADDR:r[0-9]+]], [r0]
119 ; T2-MOVT-STATIC: blx [[TLV_GET_ADDR]]
120 ; T2-MOVT-STATIC: ldr r0, [r0]
130 ; ARM-MOVT-PIC-LABEL: test_external_tls:
131 ; ARM-MOVT-PIC: movw r[[EXTGOT:[0-9]+]], :lower16:(L_external_tls_var$non_lazy_ptr-([[PCREL_LOC:LPC…
132 ; ARM-MOVT-PIC: movt r[[EXTGOT]], :upper16:(L_external_tls_var$non_lazy_ptr-([[PCREL_LOC]]+8))
133 ; ARM-MOVT-PIC: [[PCREL_LOC]]:
134 ; ARM-MOVT-PIC-NEXT: ldr r0, [pc, r[[EXTGOT]]]
135 ; ARM-MOVT-PIC: ldr [[TLV_GET_ADDR:r[0-9]+]], [r0]
136 ; ARM-MOVT-PIC: blx [[TLV_GET_ADDR]]
137 ; ARM-MOVT-PIC: ldr r0, [r0]
150 ; ARM-MOVT-STATIC-LABEL: test_external_tls:
151 ; ARM-MOVT-STATIC: movw r0, :lower16:_external_tls_var
152 ; ARM-MOVT-STATIC: movt r0, :upper16:_external_tls_var
153 ; ARM-MOVT-STATIC: ldr [[TLV_GET_ADDR:r[0-9]+]], [r0]
154 ; ARM-MOVT-STATIC: blx [[TLV_GET_ADDR]]
155 ; ARM-MOVT-STATIC: ldr r0, [r0]
175 ; T2-MOVT-PIC: .section __DATA,__thread_ptr,thread_local_variable_pointers
176 ; T2-MOVT-PIC: .p2align 2
177 ; T2-MOVT-PIC: L_external_tls_var$non_lazy_ptr:
178 ; T2-MOVT-PIC: .indirect_symbol _external_tls_var
179 ; T2-MOVT-PIC: .long 0
180 ; T2-MOVT-PIC: L_hidden_external_tls_var$non_lazy_ptr:
181 ; T2-MOVT-PIC: .indirect_symbol _hidden_external_tls_var
182 ; T2-MOVT-PIC: .long 0