/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/ |
D | atomic-minmax-i6432.ll | 3 …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 …]
|
D | code-model-elf.ll | 8 …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 57 ; SMALL-PIC-LABEL: lea_static_data: 58 ; SMALL-PIC: # %bb.0: 59 ; SMALL-PIC-NEXT: leaq static_data(%rip), %rax 60 ; SMALL-PIC-NEXT: retq 62 ; MEDIUM-PIC-LABEL: lea_static_data: 63 ; MEDIUM-PIC: # %bb.0: 64 ; MEDIUM-PIC-NEXT: leaq _GLOBAL_OFFSET_TABLE_(%rip), %rcx [all …]
|
D | abi-isel.ll | 2 …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/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/Mips/longbranch/ |
D | branch-limits-int-mips64.mir | 3 …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 …]
|
D | branch-limits-int.mir | 3 …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 …]
|
D | branch-limits-int-microMIPS.mir | 3 …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 …]
|
D | branch-limits-int-mips64r6.mir | 3 …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 …]
|
D | branch-limits-int-micromipsr6.mir | 3 …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 …]
|
D | branch-limits-int-mipsr6.mir | 3 …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 …]
|
D | branch-limits-msa.mir | 3 …ot-filler -stop-after mips-branch-expansion -relocation-model=pic | FileCheck %s --check-prefix=PIC 282 ; PIC-LABEL: name: _Z4bz_8Dv16_a 283 ; PIC: bb.0.entry: 284 ; PIC: successors: %bb.3(0x40000000), %bb.1(0x40000000) 285 ; PIC: renamable $w0 = LDI_B 0 286 ; PIC: renamable $w0 = INSERT_D killed renamable $w0, killed renamable $a0_64, 0 287 ; PIC: renamable $w0 = INSERT_D killed renamable $w0, killed renamable $a1_64, 1 288 ; PIC: renamable $w0 = SHF_B killed renamable $w0, 27 289 ; PIC: renamable $w0 = SHF_W killed renamable $w0, 177 290 ; PIC: BNZ_B $w0, %bb.3, implicit-def $at { [all …]
|
D | branch-limits-fp-mips.mir | 3 …ot-filler -stop-after mips-branch-expansion -relocation-model=pic | FileCheck %s --check-prefix=PIC 91 ; PIC-LABEL: name: a 92 ; PIC: bb.0.entry: 93 ; PIC: successors: %bb.3(0x50000000), %bb.1(0x30000000) 94 ; PIC: FCMP_D32 killed renamable $d6, killed renamable $d7, 2, implicit-def $fcc0 95 ; PIC: BC1F $fcc0, %bb.3, implicit-def $at { 96 ; PIC: NOP 97 ; PIC: } 98 ; PIC: bb.1.entry: 99 ; PIC: successors: %bb.2(0x80000000) [all …]
|
D | branch-limits-fp-mipsr6.mir | 3 …ot-filler -stop-after mips-branch-expansion -relocation-model=pic | FileCheck %s --check-prefix=PIC 91 ; PIC-LABEL: name: a 92 ; PIC: bb.0.entry: 93 ; PIC: successors: %bb.3(0x50000000), %bb.1(0x30000000) 94 ; PIC: $f0 = CMP_EQ_D killed $d12_64, killed $d14_64 95 ; PIC: BC1NEZ $d0_64, %bb.3 { 96 ; PIC: NOP 97 ; PIC: } 98 ; PIC: bb.1.entry: 99 ; PIC: successors: %bb.2(0x80000000) [all …]
|
/external/llvm/test/CodeGen/X86/ |
D | abi-isel.ll | 2 …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/swiftshader/third_party/LLVM/test/CodeGen/X86/ |
D | abi-isel.ll | 2 …gnu -march=x86 -relocation-model=static -code-model=small | FileCheck %s -check-prefix=LINUX-32-PIC 5 …gnu -march=x86-64 -relocation-model=pic -code-model=small | FileCheck %s -check-prefix=LINUX-64-PIC 9 …arwin -march=x86 -relocation-model=pic -code-model=small | FileCheck %s -check-prefix=DARWIN-32-PIC 13 …in -march=x86-64 -relocation-model=pic -code-model=small | FileCheck %s -check-prefix=DARWIN-64-PIC 50 ; LINUX-32-PIC: 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: foo00: 56 ; LINUX-64-PIC: movq src@GOTPCREL(%rip), [[RAX:%r..]] [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/Mips/ |
D | macro-li.d.s | 1 …-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 …]
|
D | macro-li.s.s | 1 …sel-unknown-linux -show-encoding -target-abi=o32 | FileCheck %s --check-prefixes=ALL,O32-N32-NO-PIC 2 …show-encoding -target-abi=o32 -position-independent | FileCheck %s --check-prefixes=ALL,O32-N32-PIC 3 …inux -show-encoding -mcpu=mips64 -target-abi=n32 | FileCheck %s --check-prefixes=ALL,O32-N32-NO-PIC 4 … -mcpu=mips64 -target-abi=n32 -position-independent | FileCheck %s --check-prefixes=ALL,O32-N32-PIC 5 …wn-linux -show-encoding -mcpu=mips64 -target-abi=n64 | FileCheck %s --check-prefixes=ALL,N64-NO-PIC 6 …ding -mcpu=mips64 -target-abi=n64 -position-independent | FileCheck %s --check-prefixes=ALL,N64-PIC 60 # O32-N32-PIC: lw $1, %got([[LABEL]])($gp) # encoding: [A,A,0x81,0x8f] 61 # O32-N32-PIC: # fixup A - offset: 0, value: %got([[LABEL]… 62 # O32-N32-NO-PIC: lui $1, %hi([[LABEL]]) # encoding: [A,A,0x01,0x3c] 63 # O32-N32-NO-PIC: # fixup A - offset: 0, value: %hi([[LABEL]]… [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/Mips/indirect-jump-hazard/ |
D | jumptables.ll | 17 ; 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 345 ; PIC-MIPS32R2-LABEL: _Z3fooi: 346 ; PIC-MIPS32R2: # %bb.0: # %entry 347 ; PIC-MIPS32R2-NEXT: lui $2, %hi(_gp_disp) 348 ; PIC-MIPS32R2-NEXT: addiu $2, $2, %lo(_gp_disp) 349 ; PIC-MIPS32R2-NEXT: addiu $sp, $sp, -16 350 ; PIC-MIPS32R2-NEXT: .cfi_def_cfa_offset 16 [all …]
|
D | calls.ll | 17 ; 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 73 ; PIC-MIPS32R2-LABEL: fooNonTail: 74 ; PIC-MIPS32R2: # %bb.0: # %entry 75 ; PIC-MIPS32R2-NEXT: addiu $sp, $sp, -24 76 ; PIC-MIPS32R2-NEXT: sw $ra, 20($sp) # 4-byte Folded Spill 77 ; PIC-MIPS32R2-NEXT: move $25, $4 78 ; PIC-MIPS32R2-NEXT: jalr.hb $25 [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/Mips/ |
D | shrink-wrapping.ll | 13 ; 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 …]
|
D | mno-ldc1-sdc1.ll | 16 ; RUN: FileCheck %s -check-prefixes=ALL,32R1,32R1-LE,32R1-LE-PIC 19 ; RUN: FileCheck %s -check-prefixes=ALL,32R2,32R2-LE,32R2-LE-PIC 22 ; RUN: FileCheck %s -check-prefixes=ALL,32R6,32R6-LE,32R6-LE-PIC 25 ; RUN: FileCheck %s -check-prefixes=ALL,MM-MNO-PIC,MM-MNO-LE-PIC 28 ; RUN: FileCheck %s -check-prefixes=ALL,MM-MNO-PIC,MM-MNO-LE-PIC 33 ; RUN: FileCheck %s -check-prefixes=ALL,32R1,32R1-BE,32R1-BE-PIC 36 ; RUN: FileCheck %s -check-prefixes=ALL,32R2,32R2-BE,32R2-BE-PIC 39 ; RUN: FileCheck %s -check-prefixes=ALL,32R6,32R6-BE,32R6-BE-PIC 42 ; RUN: FileCheck %s -check-prefixes=ALL,MM-MNO-PIC,MM-MNO-BE-PIC 45 ; RUN: FileCheck %s -check-prefixes=ALL,MM-MNO-PIC,MM-MNO-BE-PIC [all …]
|
/external/llvm/test/MC/PowerPC/ |
D | ppc64-initial-cfa.s | 4 # 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/swiftshader/third_party/llvm-7.0/llvm/test/MC/PowerPC/ |
D | ppc64-initial-cfa.s | 4 # 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/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/ARM/ |
D | darwin-tls.ll | 1 …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/test/CodeGen/ARM/ |
D | darwin-tls.ll | 1 …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/test/CodeGen/Mips/ |
D | mno-ldc1-sdc1.ll | 16 ; RUN: FileCheck %s -check-prefixes=ALL,32R1,32R1-LE,32R1-LE-PIC 19 ; RUN: FileCheck %s -check-prefixes=ALL,32R2,32R2-LE,32R2-LE-PIC 22 ; RUN: FileCheck %s -check-prefixes=ALL,32R6,32R6-LE,32R6-LE-PIC 25 ; RUN: FileCheck %s -check-prefixes=ALL,MM-MNO-PIC,MM-MNO-LE-PIC 28 ; RUN: FileCheck %s -check-prefixes=ALL,MM-MNO-PIC,MM-MNO-LE-PIC 33 ; RUN: FileCheck %s -check-prefixes=ALL,32R1,32R1-BE,32R1-BE-PIC 36 ; RUN: FileCheck %s -check-prefixes=ALL,32R2,32R2-BE,32R2-BE-PIC 39 ; RUN: FileCheck %s -check-prefixes=ALL,32R6,32R6-BE,32R6-BE-PIC 42 ; RUN: FileCheck %s -check-prefixes=ALL,MM-MNO-PIC,MM-MNO-BE-PIC 45 ; RUN: FileCheck %s -check-prefixes=ALL,MM-MNO-PIC,MM-MNO-BE-PIC [all …]
|