Lines Matching refs:PIC
1 …mbv6m-apple-none-macho -relocation-model=pic -o - %s | FileCheck %s --check-prefix=CHECK-THUMB-PIC
2 …ple=arm-apple-none-macho -relocation-model=pic -o - %s | FileCheck %s --check-prefix=CHECK-ARM-PIC
22 ; CHECK-THUMB-PIC-LABEL: foo:
23 ; CHECK-THUMB-PIC: ldr r0, LCPI0_0
24 ; CHECK-THUMB-PIC: LPC0_0:
25 ; CHECK-THUMB-PIC-NEXT: add r0, pc
26 ; CHECK-THUMB-PIC: ldr {{r[1-9][0-9]?}}, [r0, #4]
28 ; CHECK-THUMB-PIC: LCPI0_0:
29 ; CHECK-THUMB-PIC-NEXT: .long _var-(LPC0_0+4)
30 ; CHECK-THUMB-PIC-NOT: LCPI0_1
33 ; CHECK-ARM-PIC-LABEL: foo:
34 ; CHECK-ARM-PIC: ldr [[VAR_OFFSET:r[0-9]+]], LCPI0_0
35 ; CHECK-ARM-PIC: LPC0_0:
36 ; CHECK-ARM-PIC-NEXT: add r0, pc, [[VAR_OFFSET]]
37 ; CHECK-ARM-PIC: ldr {{r[0-9]+}}, [r0, #4]
39 ; CHECK-ARM-PIC: LCPI0_0:
40 ; CHECK-ARM-PIC-NEXT: .long _var-(LPC0_0+8)
41 ; CHECK-ARM-PIC-NOT: LCPI0_1