• Home
  • Raw
  • Download

Lines Matching refs:LIT

2 …llc -mtriple=thumbv7s-apple-ios7.0 -o - %s -mattr=+no-movt | FileCheck %s --check-prefix=T2-LIT-PIC
4 …ios7.0 -o - %s -mattr=+no-movt -relocation-model=static | FileCheck %s --check-prefix=T2-LIT-STATIC
6 … llc -mtriple=armv7s-apple-ios7.0 -o - %s -mattr=+no-movt | FileCheck %s --check-prefix=ARM-LIT-PIC
8 …os7.0 -o - %s -mattr=+no-movt -relocation-model=static | FileCheck %s --check-prefix=ARM-LIT-STATIC
26 ; T2-LIT-PIC-LABEL: test_local_tls:
27 ; T2-LIT-PIC: ldr r0, [[LOCAL_VAR_ADDR:LCPI[0-9]+_[0-9]+]]
28 ; T2-LIT-PIC: [[PCREL_LOC:LPC[0-9]+_[0-9]+]]:
29 ; T2-LIT-PIC-NEXT: add r0, pc
30 ; T2-LIT-PIC: ldr [[TLV_GET_ADDR:r[0-9]+]], [r0]
31 ; T2-LIT-PIC: blx [[TLV_GET_ADDR]]
32 ; T2-LIT-PIC: ldr r0, [r0]
33 ; T2-LIT-PIC: [[LOCAL_VAR_ADDR]]:
34 ; T2-LIT-PIC-NEXT: .long _local_tls_var-([[PCREL_LOC]]+4)
43 ; T2-LIT-STATIC-LABEL: test_local_tls:
44 ; T2-LIT-STATIC: ldr r0, [[LOCAL_VAR_ADDR:LCPI[0-9]+_[0-9]+]]
45 ; T2-LIT-STATIC: ldr [[TLV_GET_ADDR:r[0-9]+]], [r0]
46 ; T2-LIT-STATIC: blx [[TLV_GET_ADDR]]
47 ; T2-LIT-STATIC: ldr r0, [r0]
48 ; T2-LIT-STATIC: [[LOCAL_VAR_ADDR]]:
49 ; T2-LIT-STATIC-NEXT: .long _local_tls_var
63 ; ARM-LIT-PIC-LABEL: test_local_tls:
64 ; ARM-LIT-PIC: ldr r0, [[LOCAL_VAR_ADDR:LCPI[0-9]+_[0-9]+]]
65 ; ARM-LIT-PIC: [[PCREL_LOC:LPC[0-9]+_[0-9]+]]:
66 ; ARM-LIT-PIC-NEXT: add r0, pc
67 ; ARM-LIT-PIC: ldr [[TLV_GET_ADDR:r[0-9]+]], [r0]
68 ; ARM-LIT-PIC: blx [[TLV_GET_ADDR]]
69 ; ARM-LIT-PIC: ldr r0, [r0]
70 ; ARM-LIT-PIC: [[LOCAL_VAR_ADDR]]:
71 ; ARM-LIT-PIC-NEXT: .long _local_tls_var-([[PCREL_LOC]]+8)
80 ; ARM-LIT-STATIC-LABEL: test_local_tls:
81 ; ARM-LIT-STATIC: ldr r0, [[LOCAL_VAR_ADDR:LCPI[0-9]+_[0-9]+]]
82 ; ARM-LIT-STATIC: ldr [[TLV_GET_ADDR:r[0-9]+]], [r0]
83 ; ARM-LIT-STATIC: blx [[TLV_GET_ADDR]]
84 ; ARM-LIT-STATIC: ldr r0, [r0]
85 ; ARM-LIT-STATIC: [[LOCAL_VAR_ADDR]]:
86 ; ARM-LIT-STATIC-NEXT: .long _local_tls_var
104 ; T2-LIT-PIC-LABEL: test_external_tls:
105 ; T2-LIT-PIC: ldr r[[EXTGOT:[0-9]+]], [[EXTERNAL_VAR_ADDR:LCPI[0-9]+_[0-9]+]]
106 ; T2-LIT-PIC: [[PCREL_LOC:LPC[0-9]+_[0-9]+]]:
107 ; T2-LIT-PIC-NEXT: add r[[EXTGOT]], pc
108 ; T2-LIT-PIC: ldr r0, [r[[EXTGOT]]]
109 ; T2-LIT-PIC: ldr [[TLV_GET_ADDR:r[0-9]+]], [r0]
110 ; T2-LIT-PIC: blx [[TLV_GET_ADDR]]
111 ; T2-LIT-PIC: ldr r0, [r0]
112 ; T2-LIT-PIC: [[EXTERNAL_VAR_ADDR]]:
113 ; T2-LIT-PIC-NEXT: .long L_external_tls_var$non_lazy_ptr-([[PCREL_LOC]]+4)
122 ; T2-LIT-STATIC-LABEL: test_external_tls:
123 ; T2-LIT-STATIC: ldr r0, [[EXTERNAL_VAR_ADDR:LCPI[0-9]+_[0-9]+]]
124 ; T2-LIT-STATIC: ldr [[TLV_GET_ADDR:r[0-9]+]], [r0]
125 ; T2-LIT-STATIC: blx [[TLV_GET_ADDR]]
126 ; T2-LIT-STATIC: ldr r0, [r0]
127 ; T2-LIT-STATIC: [[EXTERNAL_VAR_ADDR]]:
128 ; T2-LIT-STATIC-NEXT: .long _external_tls_var
139 ; ARM-LIT-PIC-LABEL: test_external_tls:
140 ; ARM-LIT-PIC: ldr r[[EXTGOT:[0-9]+]], [[EXTERNAL_VAR_ADDR:LCPI[0-9]+_[0-9]+]]
141 ; ARM-LIT-PIC: [[PCREL_LOC:LPC[0-9]+_[0-9]+]]:
142 ; ARM-LIT-PIC-NEXT: add r[[EXTGOT]], pc
143 ; ARM-LIT-PIC: ldr r0, [r[[EXTGOT]]]
144 ; ARM-LIT-PIC: ldr [[TLV_GET_ADDR:r[0-9]+]], [r0]
145 ; ARM-LIT-PIC: blx [[TLV_GET_ADDR]]
146 ; ARM-LIT-PIC: ldr r0, [r0]
147 ; ARM-LIT-PIC: [[EXTERNAL_VAR_ADDR]]:
148 ; ARM-LIT-PIC-NEXT: .long L_external_tls_var$non_lazy_ptr-([[PCREL_LOC]]+8)
157 ; ARM-LIT-STATIC-LABEL: test_external_tls:
158 ; ARM-LIT-STATIC: ldr r0, [[EXTERNAL_VAR_ADDR:LCPI[0-9]+_[0-9]+]]
159 ; ARM-LIT-STATIC: ldr [[TLV_GET_ADDR:r[0-9]+]], [r0]
160 ; ARM-LIT-STATIC: blx [[TLV_GET_ADDR]]
161 ; ARM-LIT-STATIC: ldr r0, [r0]
162 ; ARM-LIT-STATIC: [[EXTERNAL_VAR_ADDR]]:
163 ; ARM-LIT-STATIC-NEXT: .long _external_tls_var