Lines Matching full:pic
1 ; RUN: llc -mtriple armv7-apple-ios -relocation-model=pic -o - %s | FileCheck %s -check-prefix=ARM-PIC
3 ; RUN: llc -mtriple armv7-apple-ios -relocation-model=dynamic-no-pic -o - %s | FileCheck %s -check-prefix=ARM-NOPIC
4 ; RUN: llc -mtriple thumbv6-apple-ios -relocation-model=pic -o - %s | FileCheck %s -check-prefix=THUMB1-PIC
6 ; RUN: llc -mtriple thumbv6-apple-ios -relocation-model=dynamic-no-pic -o - %s | FileCheck %s -check-prefix=THUMB1-NOPIC
44 ; ARM-PIC: cxa_throw
45 ; ARM-PIC: trap
46 ; ARM-PIC: adr [[REG1:r[0-9]+]], [[LJTI:.*]]
47 ; ARM-PIC: ldr [[REG0:r[0-9]+]], [r{{[0-9]+}}, [[REG1]]]
48 ; ARM-PIC: add pc, [[REG0]], [[REG1]]
49 ; ARM-PIC: [[LJTI]]
50 ; ARM-PIC: .data_region jt32
51 ; ARM-PIC: .long [[LABEL:LBB0_[0-9]]]-[[LJTI]]
52 ; ARM-PIC: .end_data_region
53 ; ARM-PIC: [[LABEL]]
66 ; THUMB1-PIC: cxa_throw
67 ; THUMB1-PIC: trap
68 ; THUMB1-PIC: adr [[REG0:r[0-9]+]], [[LJTI:.*]]
69 ; THUMB1-PIC: adds [[REG1:r[0-9]+]], [[REG1]], [[REG0]]
70 ; THUMB1-PIC: ldr [[REG1]]
71 ; THUMB1-PIC: adds [[REG0]], [[REG1]], [[REG0]]
72 ; THUMB1-PIC: mov pc, [[REG0]]
73 ; THUMB1-PIC: [[LJTI]]
74 ; THUMB1-PIC: .data_region jt32
75 ; THUMB1-PIC: .long [[LABEL:LBB0_[0-9]]]-[[LJTI]]
76 ; THUMB1-PIC: .end_data_region
77 ; THUMB1-PIC: [[LABEL]]