Home
last modified time | relevance | path

Searched refs:PIC (Results 1 – 25 of 956) sorted by relevance

12345678910>>...39

/external/llvm-project/llvm/test/CodeGen/X86/
Datomic-minmax-i6432.ll3 …riple=i386-macosx -relocation-model=pic -verify-machineinstrs < %s | FileCheck %s -check-prefix=PIC
32 ; PIC-LABEL: atomic_max_i64:
33 ; PIC: ## %bb.0: ## %entry
34 ; PIC-NEXT: pushl %ebx
35 ; PIC-NEXT: pushl %edi
36 ; PIC-NEXT: pushl %esi
37 ; PIC-NEXT: calll L0$pb
38 ; PIC-NEXT: L0$pb:
39 ; PIC-NEXT: popl %eax
40 ; PIC-NEXT: movl L_sc64$non_lazy_ptr-L0$pb(%eax), %esi
[all …]
Dabi-isel.ll6 …cation-model=pic -code-model=small -pre-RA-sched=list-ilp | FileCheck %s -check-prefix=LINUX-32-PIC
7 …cation-model=pic -code-model=small -pre-RA-sched=list-ilp | FileCheck %s -check-prefix=LINUX-64-PIC
11 …ation-model=pic -code-model=small -pre-RA-sched=list-ilp | FileCheck %s -check-prefix=DARWIN-32-PIC
15 …ation-model=pic -code-model=small -pre-RA-sched=list-ilp | FileCheck %s -check-prefix=DARWIN-64-PIC
51 ; LINUX-32-PIC-LABEL: foo00:
52 ; LINUX-32-PIC: # %bb.0: # %entry
53 ; LINUX-32-PIC-NEXT: calll .L0$pb
54 ; LINUX-32-PIC-NEXT: .L0$pb:
55 ; LINUX-32-PIC-NEXT: popl %eax
56 ; LINUX-32-PIC-NEXT: .Ltmp0:
[all …]
Dcode-model-elf.ll8 …cation-model=pic -code-model=small | FileCheck %s --check-prefix=CHECK --check-prefix=SMALL-PIC
9 …ation-model=pic -code-model=medium | FileCheck %s --check-prefix=CHECK --check-prefix=MEDIUM-PIC
10 …cation-model=pic -code-model=large | FileCheck %s --check-prefix=CHECK --check-prefix=LARGE-PIC
59 ; SMALL-PIC-LABEL: lea_static_data:
60 ; SMALL-PIC: # %bb.0:
61 ; SMALL-PIC-NEXT: leaq {{.*}}(%rip), %rax
62 ; SMALL-PIC-NEXT: retq
64 ; MEDIUM-PIC-LABEL: lea_static_data:
65 ; MEDIUM-PIC: # %bb.0:
66 ; MEDIUM-PIC-NEXT: leaq {{.*}}(%rip), %rcx
[all …]
Dcode-model-elf-memset.ll8 ; RUN: llc < %s -relocation-model=pic -code-model=small | FileCheck %s --check-prefix=SMALL-PIC
9 ; RUN: llc < %s -relocation-model=pic -code-model=medium | FileCheck %s --check-prefix=MEDIUM-PIC
10 ; RUN: llc < %s -relocation-model=pic -code-model=large | FileCheck %s --check-prefix=LARGE-PIC
27 ; SMALL-PIC-LABEL: main:
28 ; SMALL-PIC: # %bb.0: # %entry
29 ; SMALL-PIC-NEXT: subq $424, %rsp # imm = 0x1A8
30 ; SMALL-PIC-NEXT: .cfi_def_cfa_offset 432
31 ; SMALL-PIC-NEXT: movl $0, {{[0-9]+}}(%rsp)
32 ; SMALL-PIC-NEXT: leaq {{[0-9]+}}(%rsp), %rdi
33 ; SMALL-PIC-NEXT: movl $400, %edx # imm = 0x190
[all …]
/external/llvm-project/llvm/test/CodeGen/VE/Scalar/
Dstackframe_call.ll4 ; RUN: | FileCheck %s --check-prefix=PIC
42 ; PIC-LABEL: test_frame0:
43 ; PIC: # %bb.0:
44 ; PIC-NEXT: st %s9, (, %s11)
45 ; PIC-NEXT: st %s10, 8(, %s11)
46 ; PIC-NEXT: st %s15, 24(, %s11)
47 ; PIC-NEXT: st %s16, 32(, %s11)
48 ; PIC-NEXT: or %s9, 0, %s11
49 ; PIC-NEXT: lea %s11, -240(, %s11)
50 ; PIC-NEXT: brge.l.t %s11, %s8, .LBB0_2
[all …]
Dstackframe_nocall.ll4 ; RUN: | FileCheck %s --check-prefix=PIC
21 ; PIC-LABEL: test_frame0:
22 ; PIC: # %bb.0:
23 ; PIC-NEXT: or %s0, 0, %s1
24 ; PIC-NEXT: b.l.t (, %s10)
50 ; PIC-LABEL: test_frame32:
51 ; PIC: # %bb.0:
52 ; PIC-NEXT: adds.l %s11, -32, %s11
53 ; PIC-NEXT: brge.l.t %s11, %s8, .LBB1_2
54 ; PIC-NEXT: # %bb.1:
[all …]
Dbr_jt.ll3 ; RUN: | FileCheck %s -check-prefix=PIC
33 ; PIC-LABEL: br_jt3:
34 ; PIC: # %bb.0:
35 ; PIC-NEXT: and %s0, %s0, (32)0
36 ; PIC-NEXT: breq.w 1, %s0, .LBB0_1
37 ; PIC-NEXT: # %bb.2:
38 ; PIC-NEXT: breq.w 4, %s0, .LBB0_5
39 ; PIC-NEXT: # %bb.3:
40 ; PIC-NEXT: brne.w 2, %s0, .LBB0_6
41 ; PIC-NEXT: # %bb.4:
[all …]
/external/llvm-project/llvm/test/CodeGen/Mips/longbranch/
Dbranch-limits-int-mips64.mir3 …ot-filler -stop-after mips-branch-expansion -relocation-model=pic | FileCheck %s --check-prefix=PIC
136 ; PIC-LABEL: name: expand_BEQ64
137 ; PIC: bb.0 (%ir-block.0):
138 ; PIC: successors: %bb.3(0x40000000), %bb.1(0x40000000)
139 ; PIC: BNE64 $a0_64, $zero_64, %bb.3, implicit-def $at {
140 ; PIC: NOP
141 ; PIC: }
142 ; PIC: bb.1 (%ir-block.0):
143 ; PIC: successors: %bb.2(0x80000000)
144 ; PIC: $sp_64 = DADDiu $sp_64, -16
[all …]
Dbranch-limits-int.mir3 …ot-filler -stop-after mips-branch-expansion -relocation-model=pic | FileCheck %s --check-prefix=PIC
129 ; PIC-LABEL: name: expand_BEQ
130 ; PIC: bb.0 (%ir-block.0):
131 ; PIC: successors: %bb.3(0x40000000), %bb.1(0x40000000)
132 ; PIC: renamable $at = ANDi killed renamable $a0, 1
133 ; PIC: BNE $at, $zero, %bb.3, implicit-def $at {
134 ; PIC: NOP
135 ; PIC: }
136 ; PIC: bb.1 (%ir-block.0):
137 ; PIC: successors: %bb.2(0x80000000)
[all …]
Dbranch-limits-int-microMIPS.mir3 …ot-filler -stop-after mips-branch-expansion -relocation-model=pic | FileCheck %s --check-prefix=PIC
147 ; PIC-LABEL: name: expand_BEQ_MM
148 ; PIC: bb.0 (%ir-block.0):
149 ; PIC: successors: %bb.3(0x40000000), %bb.1(0x40000000)
150 ; PIC: renamable $at = ANDi killed renamable $a0, 1
151 ; PIC: BNEZC_MM $at, %bb.3, implicit-def $at
152 ; PIC: bb.1 (%ir-block.0):
153 ; PIC: successors: %bb.2(0x80000000)
154 ; PIC: $sp = ADDiu $sp, -8
155 ; PIC: SW $ra, $sp, 0
[all …]
Dbranch-limits-int-mips64r6.mir3 …ot-filler -stop-after mips-branch-expansion -relocation-model=pic | FileCheck %s --check-prefix=PIC
201 ; PIC-LABEL: name: expand_BNEZC64
202 ; PIC: bb.0 (%ir-block.0):
203 ; PIC: successors: %bb.1(0x40000000), %bb.2(0x40000000)
204 ; PIC: BNEZC64 killed renamable $a0_64, %bb.2, implicit-def $at
205 ; PIC: bb.1.iftrue:
206 ; PIC: INLINEASM &".space 831068", 1
207 ; PIC: PseudoReturn64 undef $ra_64, implicit killed $v0_64 {
208 ; PIC: $v0_64 = DADDiu $zero_64, 1
209 ; PIC: }
[all …]
Dbranch-limits-int-micromipsr6.mir3 …ot-filler -stop-after mips-branch-expansion -relocation-model=pic | FileCheck %s --check-prefix=PIC
189 ; PIC-LABEL: name: expand_BEQC_MMR6
190 ; PIC: bb.0 (%ir-block.0):
191 ; PIC: successors: %bb.3(0x40000000), %bb.1(0x40000000)
192 ; PIC: renamable $at = ANDi killed renamable $a0, 1
193 ; PIC: BNEC_MMR6 $at, $zero, %bb.3, implicit-def $at
194 ; PIC: bb.1 (%ir-block.0):
195 ; PIC: successors: %bb.2(0x80000000)
196 ; PIC: $sp = ADDiu $sp, -8
197 ; PIC: SW $ra, $sp, 0
[all …]
Dbranch-limits-int-mipsr6.mir3 …ot-filler -stop-after mips-branch-expansion -relocation-model=pic | FileCheck %s --check-prefix=PIC
189 ; PIC-LABEL: name: expand_BEQC
190 ; PIC: bb.0 (%ir-block.0):
191 ; PIC: successors: %bb.3(0x40000000), %bb.1(0x40000000)
192 ; PIC: renamable $at = ANDi killed renamable $a0, 1
193 ; PIC: BNEC $at, $zero, %bb.3, implicit-def $at
194 ; PIC: bb.1 (%ir-block.0):
195 ; PIC: successors: %bb.2(0x80000000)
196 ; PIC: $sp = ADDiu $sp, -8
197 ; PIC: SW $ra, $sp, 0
[all …]
/external/llvm-project/llvm/test/MC/PowerPC/
Dppc64-initial-cfa.s4 # RUN: llvm-readobj -S --sr --sd - | FileCheck %s -check-prefix=PIC -check-prefix=PIC-BE
8 # RUN: llvm-readobj -S --sr --sd - | FileCheck %s -check-prefix=PIC -check-prefix=PIC-LE
56 # PIC: Section {
57 # PIC: Name: .eh_frame
58 # PIC-NEXT: Type: SHT_PROGBITS
59 # PIC-NEXT: Flags [ (0x2)
60 # PIC-NEXT: SHF_ALLOC
61 # PIC-NEXT: ]
62 # PIC-NEXT: Address:
63 # PIC-NEXT: Offset:
[all …]
/external/llvm/test/MC/PowerPC/
Dppc64-initial-cfa.s4 # RUN: llvm-readobj -s -sr -sd | FileCheck %s -check-prefix=PIC -check-prefix=PIC-BE
8 # RUN: llvm-readobj -s -sr -sd | FileCheck %s -check-prefix=PIC -check-prefix=PIC-LE
56 # PIC: Section {
57 # PIC: Name: .eh_frame
58 # PIC-NEXT: Type: SHT_PROGBITS
59 # PIC-NEXT: Flags [ (0x2)
60 # PIC-NEXT: SHF_ALLOC
61 # PIC-NEXT: ]
62 # PIC-NEXT: Address:
63 # PIC-NEXT: Offset:
[all …]
/external/llvm/test/CodeGen/X86/
Dabi-isel.ll2 …ion-model=static -code-model=small -pre-RA-sched=list-ilp | FileCheck %s -check-prefix=LINUX-32-PIC
5 …cation-model=pic -code-model=small -pre-RA-sched=list-ilp | FileCheck %s -check-prefix=LINUX-64-PIC
9 …ation-model=pic -code-model=small -pre-RA-sched=list-ilp | FileCheck %s -check-prefix=DARWIN-32-PIC
13 …ation-model=pic -code-model=small -pre-RA-sched=list-ilp | FileCheck %s -check-prefix=DARWIN-64-PIC
50 ; LINUX-32-PIC-LABEL: foo00:
51 ; LINUX-32-PIC: movl src, [[EAX:%e.x]]
52 ; LINUX-32-PIC-NEXT: movl [[EAX]], dst
53 ; LINUX-32-PIC-NEXT: ret
55 ; LINUX-64-PIC-LABEL: foo00:
56 ; LINUX-64-PIC: movq src@GOTPCREL(%rip), [[RAX:%r..]]
[all …]
/external/llvm-project/llvm/test/CodeGen/Mips/indirect-jump-hazard/
Djumptables.ll17 ; RUN: -verify-machineinstrs | FileCheck %s --check-prefix=PIC-MIPS32R2
20 ; RUN: -verify-machineinstrs | FileCheck %s --check-prefix=PIC-MIPS32R6
23 ; RUN: -verify-machineinstrs | FileCheck %s --check-prefix=PIC-MIPS64R2
26 ; RUN: -verify-machineinstrs | FileCheck %s --check-prefix=PIC-MIPS64R6
344 ; PIC-MIPS32R2-LABEL: _Z3fooi:
345 ; PIC-MIPS32R2: # %bb.0: # %entry
346 ; PIC-MIPS32R2-NEXT: lui $2, %hi(_gp_disp)
347 ; PIC-MIPS32R2-NEXT: addiu $2, $2, %lo(_gp_disp)
348 ; PIC-MIPS32R2-NEXT: addiu $sp, $sp, -16
349 ; PIC-MIPS32R2-NEXT: .cfi_def_cfa_offset 16
[all …]
/external/llvm-project/llvm/test/CodeGen/Mips/
Dshrink-wrapping.ll13 ; RUN: FileCheck %s -check-prefix=SHRINK-WRAP-PIC
17 ; RUN: FileCheck %s -check-prefix=NO-SHRINK-WRAP-PIC
29 ; RUN: FileCheck %s -check-prefix=SHRINK-WRAP-64-PIC
33 ; RUN: FileCheck %s -check-prefix=NO-SHRINK-WRAP-64-PIC
72 ; SHRINK-WRAP-PIC-LABEL: foo:
73 ; SHRINK-WRAP-PIC: # %bb.0: # %entry
74 ; SHRINK-WRAP-PIC-NEXT: lui $2, %hi(_gp_disp)
75 ; SHRINK-WRAP-PIC-NEXT: addiu $2, $2, %lo(_gp_disp)
76 ; SHRINK-WRAP-PIC-NEXT: beqz $4, $BB0_2
77 ; SHRINK-WRAP-PIC-NEXT: addu $gp, $2, $25
[all …]
Dmcount.ll6 ; RUN: < %s | FileCheck %s -check-prefix=MIPS32-PIC
10 ; RUN: < %s | FileCheck %s -check-prefix=MIPS64-PIC
14 ; RUN: < %s | FileCheck %s -check-prefix=MIPS32-MM-PIC
33 ; MIPS32-PIC-LABEL: foo:
34 ; MIPS32-PIC: # %bb.0: # %entry
35 ; MIPS32-PIC-NEXT: lui $2, %hi(_gp_disp)
36 ; MIPS32-PIC-NEXT: addiu $2, $2, %lo(_gp_disp)
37 ; MIPS32-PIC-NEXT: addiu $sp, $sp, -24
38 ; MIPS32-PIC-NEXT: .cfi_def_cfa_offset 24
39 ; MIPS32-PIC-NEXT: sw $ra, 20($sp) # 4-byte Folded Spill
[all …]
/external/llvm-project/llvm/test/MC/Mips/
Dmacro-li.d.s1 …-show-encoding -mcpu=mips32 -target-abi=o32 | FileCheck %s --check-prefixes=ALL,O32-N32-NO-PIC,O32
3 …pu=mips32 -target-abi=o32 -position-independent | FileCheck %s --check-prefixes=ALL,O32-N32-PIC,O32
4 …ow-encoding -mcpu=mips64 -target-abi=n32 | FileCheck %s --check-prefixes=ALL,O32-N32-NO-PIC,N32-N64
5 …ips64 -target-abi=n32 -position-independent | FileCheck %s --check-prefixes=ALL,O32-N32-PIC,N32-N64
6 … -show-encoding -mcpu=mips64 -target-abi=n64 | FileCheck %s --check-prefixes=ALL,N64-NO-PIC,N32-N64
7 …pu=mips64 -target-abi=n64 -position-independent | FileCheck %s --check-prefixes=ALL,N64-PIC,N32-N64
25 # O32-N32-NO-PIC: lui $1, %hi([[LABEL]]) # encoding: [A,A,0x01,0x3c]
26 # O32-N32-NO-PIC: # fixup A - offset: 0, value: %hi([[LABEL]]…
27 # O32-N32-NO-PIC: addiu $1, $1, %lo([[LABEL]]) # encoding: [A,A,0x21,0x24]
28 # O32-N32-NO-PIC: # fixup A - offset: 0, value: %lo([[LABEL]]…
[all …]
/external/llvm-project/llvm/test/CodeGen/AArch64/
Dtiny_model.ll5 …-none-linux-gnu -code-model=tiny -relocation-model=pic < %s | FileCheck %s --check-prefix=CHECK-PIC
6 …-gnu -code-model=tiny -relocation-model=pic -fast-isel < %s | FileCheck %s --check-prefix=CHECK-PIC
7 …model=tiny -relocation-model=pic -global-isel < %s | FileCheck %s --check-prefix=CHECK-PIC-GLOBISEL
32 ; CHECK-PIC-LABEL: foo1:
33 ; CHECK-PIC: // %bb.0: // %entry
34 ; CHECK-PIC-NEXT: ldr x8, :got:src
35 ; CHECK-PIC-NEXT: ldrb w8, [x8]
36 ; CHECK-PIC-NEXT: ldr x9, :got:dst
37 ; CHECK-PIC-NEXT: strb w8, [x9]
38 ; CHECK-PIC-NEXT: ret
[all …]
/external/llvm-project/llvm/test/CodeGen/RISCV/
Dcalls.ll5 ; RUN: | FileCheck -check-prefix=RV32I-PIC %s
19 ; RV32I-PIC-LABEL: test_call_external:
20 ; RV32I-PIC: # %bb.0:
21 ; RV32I-PIC-NEXT: addi sp, sp, -16
22 ; RV32I-PIC-NEXT: sw ra, 12(sp)
23 ; RV32I-PIC-NEXT: call external_function@plt
24 ; RV32I-PIC-NEXT: lw ra, 12(sp)
25 ; RV32I-PIC-NEXT: addi sp, sp, 16
26 ; RV32I-PIC-NEXT: ret
43 ; RV32I-PIC-LABEL: test_call_dso_local:
[all …]
Dtls-models.ll3 ; RUN: | FileCheck -check-prefix=RV32-PIC %s
5 ; RUN: | FileCheck -check-prefix=RV64-PIC %s
22 ; RV32-PIC-LABEL: f1:
23 ; RV32-PIC: # %bb.0: # %entry
24 ; RV32-PIC-NEXT: addi sp, sp, -16
25 ; RV32-PIC-NEXT: sw ra, 12(sp)
26 ; RV32-PIC-NEXT: .LBB0_1: # %entry
27 ; RV32-PIC-NEXT: # Label of block must be emitted
28 ; RV32-PIC-NEXT: auipc a0, %tls_gd_pcrel_hi(unspecified)
29 ; RV32-PIC-NEXT: addi a0, a0, %pcrel_lo(.LBB0_1)
[all …]
/external/llvm/test/CodeGen/ARM/
Ddarwin-tls.ll1 …UN: llc -mtriple=thumbv7s-apple-ios7.0 -o - -fast-isel %s | FileCheck %s --check-prefix=T2-MOVT-PIC
2 …llc -mtriple=thumbv7s-apple-ios7.0 -o - %s -mattr=+no-movt | FileCheck %s --check-prefix=T2-LIT-PIC
5 ; RUN: llc -mtriple=armv7s-apple-ios7.0 -o - %s | FileCheck %s --check-prefix=ARM-MOVT-PIC
6 … llc -mtriple=armv7s-apple-ios7.0 -o - %s -mattr=+no-movt | FileCheck %s --check-prefix=ARM-LIT-PIC
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]
[all …]
/external/llvm-project/llvm/test/CodeGen/ARM/
Ddarwin-tls.ll1 …UN: llc -mtriple=thumbv7s-apple-ios7.0 -o - -fast-isel %s | FileCheck %s --check-prefix=T2-MOVT-PIC
2 …llc -mtriple=thumbv7s-apple-ios7.0 -o - %s -mattr=+no-movt | FileCheck %s --check-prefix=T2-LIT-PIC
5 ; RUN: llc -mtriple=armv7s-apple-ios7.0 -o - %s | FileCheck %s --check-prefix=ARM-MOVT-PIC
6 … llc -mtriple=armv7s-apple-ios7.0 -o - %s -mattr=+no-movt | FileCheck %s --check-prefix=ARM-LIT-PIC
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]
[all …]

12345678910>>...39