/external/llvm/test/CodeGen/X86/ |
D | pic.ll | 1 …relocation-model=pic -asm-verbose=false -post-RA-scheduler=false | FileCheck %s -check-prefix=LINUX 14 ; LINUX-LABEL: test0: 15 ; LINUX: calll .L0$pb 16 ; LINUX-NEXT: .L0$pb: 17 ; LINUX-NEXT: popl 18 ; LINUX: addl $_GLOBAL_OFFSET_TABLE_+(.L{{.*}}-.L0$pb), 19 ; LINUX: movl dst@GOT(%eax), 20 ; LINUX: movl ptr@GOT(%eax), 21 ; LINUX: movl src@GOT(%eax), 22 ; LINUX: ret [all …]
|
D | musttail-varargs.ll | 1 ; RUN: llc < %s -enable-tail-merge=0 -mtriple=x86_64-linux | FileCheck %s --check-prefix=LINUX 2 … llc < %s -enable-tail-merge=0 -mtriple=x86_64-linux-gnux32 | FileCheck %s --check-prefix=LINUX-X32 27 ; LINUX-LABEL: f_thunk: 28 ; LINUX-DAG: movq %rdi, {{.*}} 29 ; LINUX-DAG: movq %rsi, {{.*}} 30 ; LINUX-DAG: movq %rdx, {{.*}} 31 ; LINUX-DAG: movq %rcx, {{.*}} 32 ; LINUX-DAG: movq %r8, {{.*}} 33 ; LINUX-DAG: movq %r9, {{.*}} 34 ; LINUX-DAG: movb %al, {{.*}} [all …]
|
D | push-cfi.ll | 1 ; RUN: llc < %s -mtriple=i686-pc-linux | FileCheck %s -check-prefix=LINUX -check-prefix=CHECK 14 ; LINUX: .cfi_escape 0x2e, 0x10 15 ; LINUX-NEXT: pushl $4 16 ; LINUX-NEXT: Ltmp{{[0-9]+}}: 17 ; LINUX-NEXT: .cfi_adjust_cfa_offset 4 18 ; LINUX-NEXT: pushl $3 19 ; LINUX-NEXT: Ltmp{{[0-9]+}}: 20 ; LINUX-NEXT: .cfi_adjust_cfa_offset 4 21 ; LINUX-NEXT: pushl $2 22 ; LINUX-NEXT: Ltmp{{[0-9]+}}: [all …]
|
D | stack-protector.ll | 1 ; RUN: llc -mtriple=i386-pc-linux-gnu < %s -o - | FileCheck --check-prefix=LINUX-I386 %s 2 ; RUN: llc -mtriple=x86_64-pc-linux-gnu < %s -o - | FileCheck --check-prefix=LINUX-X64 %s 3 …-model=kernel -mtriple=x86_64-pc-linux-gnu < %s -o - | FileCheck --check-prefix=LINUX-KERNEL-X64 %s 28 ; LINUX-I386-LABEL: test1a: 29 ; LINUX-I386-NOT: calll __stack_chk_fail 30 ; LINUX-I386: .cfi_endproc 32 ; LINUX-X64-LABEL: test1a: 33 ; LINUX-X64-NOT: callq __stack_chk_fail 34 ; LINUX-X64: .cfi_endproc 36 ; LINUX-KERNEL-X64-LABEL: test1a: [all …]
|
D | atomic-minmax-i6432.ll | 1 …ttr=+cmov,cx16 -mtriple=i386-pc-linux -verify-machineinstrs < %s | FileCheck %s -check-prefix=LINUX 7 ; LINUX: atomic_maxmin_i6432 9 ; LINUX: [[LABEL:.LBB[0-9]+_[0-9]+]] 10 ; LINUX: cmpl 11 ; LINUX: sbbl 12 ; LINUX: cmovne 13 ; LINUX: cmovne 14 ; LINUX: lock cmpxchg8b 15 ; LINUX: jne [[LABEL]] 17 ; LINUX: [[LABEL:.LBB[0-9]+_[0-9]+]] [all …]
|
D | abi-isel.ll | 1 …-model=static -code-model=small -pre-RA-sched=list-ilp | FileCheck %s -check-prefix=LINUX-32-STATIC 2 …ion-model=static -code-model=small -pre-RA-sched=list-ilp | FileCheck %s -check-prefix=LINUX-32-PIC 4 …-model=static -code-model=small -pre-RA-sched=list-ilp | FileCheck %s -check-prefix=LINUX-64-STATIC 5 …cation-model=pic -code-model=small -pre-RA-sched=list-ilp | FileCheck %s -check-prefix=LINUX-64-PIC 40 ; LINUX-64-STATIC-LABEL: foo00: 41 ; LINUX-64-STATIC: movl src(%rip), [[EAX:%e.x]] 42 ; LINUX-64-STATIC: movl [[EAX]], dst 43 ; LINUX-64-STATIC: ret 45 ; LINUX-32-STATIC-LABEL: foo00: 46 ; LINUX-32-STATIC: movl src, [[EAX:%e.x]] [all …]
|
D | global-sections.ll | 1 ; RUN: llc < %s -mtriple=i386-unknown-linux-gnu | FileCheck %s -check-prefix=LINUX 5 …386-unknown-linux-gnu -data-sections -function-sections | FileCheck %s -check-prefix=LINUX-SECTIONS 6 …-mtriple=i386-unknown-linux-gnu -function-sections | FileCheck %s -check-prefix=LINUX-FUNC-SECTIONS 7 …a-sections -function-sections -relocation-model=pic | FileCheck %s -check-prefix=LINUX-SECTIONS-PIC 38 ; LINUX: .size F2, 39 ; LINUX-NEX: .cfi_endproc 40 ; LINUX-NEX: .section .rodata,"a",@progbits 42 ; LINUX-SECTIONS: .section .text.F2,"ax",@progbits 43 ; LINUX-SECTIONS: .size F2, 44 ; LINUX-SECTIONS-NEXT: .cfi_endproc [all …]
|
D | push-cfi-obj.ll | 1 …s -mtriple=i686-pc-linux -filetype=obj | llvm-readobj -s -sr -sd | FileCheck %s -check-prefix=LINUX 8 ; LINUX: Name: .eh_frame 9 ; LINUX-NEXT: Type: SHT_PROGBITS (0x1) 10 ; LINUX-NEXT: Flags [ (0x2) 11 ; LINUX-NEXT: SHF_ALLOC (0x2) 12 ; LINUX-NEXT: ] 13 ; LINUX-NEXT: Address: 0x0 14 ; LINUX-NEXT: Offset: 0x68 15 ; LINUX-NEXT: Size: 64 16 ; LINUX-NEXT: Link: 0 [all …]
|
D | empty-functions.ll | 3 ; RUN: llc < %s -mtriple=x86_64-linux-gnu | FileCheck -check-prefix=LINUX-NO-FP %s 4 ; RUN: llc < %s -mtriple=x86_64-linux-gnu -disable-fp-elim | FileCheck -check-prefix=LINUX-FP %s 31 ; LINUX-NO-FP: func: 32 ; LINUX-NO-FP-NEXT: .cfi_startproc 33 ; LINUX-NO-FP-NEXT: {{^}}# 34 ; LINUX-NO-FP-NEXT: {{^}}.L{{.*}}:{{$}} 35 ; LINUX-NO-FP-NEXT: .size func, .L{{.*}}-func 36 ; LINUX-NO-FP-NEXT: .cfi_endproc 41 ; LINUX-FP: func: 42 ; LINUX-FP-NEXT: .cfi_startproc [all …]
|
D | memcpy.ll | 1 ; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=core2 | FileCheck %s -check-prefix=LINUX 14 ; LINUX-LABEL: test1: 15 ; LINUX: memcpy 26 ; LINUX-LABEL: test2: 27 ; LINUX: memcpy 40 ; LINUX-LABEL: test3: 41 ; LINUX: memcpy 66 ; LINUX-LABEL: test3_minsize: 67 ; LINUX: memcpy 76 ; LINUX-LABEL: test3_minsize_optsize: [all …]
|
D | global-sections-comdat.ll | 1 ; RUN: llc < %s -mtriple=i386-unknown-linux | FileCheck %s -check-prefix=LINUX 2 …le=i386-unknown-linux -data-sections -function-sections | FileCheck %s -check-prefix=LINUX-SECTIONS 3 …ns -function-sections -unique-section-names=false | FileCheck %s -check-prefix=LINUX-SECTIONS-SHORT 26 ; LINUX: .section .text.F1,"axG",@progbits,F1,comdat 27 ; LINUX: .size F1, 28 ; LINUX-NEXT: .cfi_endproc 29 ; LINUX-NEXT: .section .rodata.F1,"aG",@progbits,F1,comdat 31 ; LINUX-SECTIONS: .section .text.F1,"axG",@progbits,F1,comdat 32 ; LINUX-SECTIONS: .size F1, 33 ; LINUX-SECTIONS-NEXT: .cfi_endproc [all …]
|
D | win_coreclr_chkstk.ll | 2 ; RUN: llc < %s -mtriple=x86_64-pc-linux | FileCheck %s -check-prefix=LINUX 36 ; LINUX-LABEL:main4k: 37 ; LINUX-NOT: movq %gs:16, %rcx 38 ; LINUX: retq 50 ; LINUX-LABEL:main4k_frame: 51 ; LINUX-NOT: movq %gs:16, %rcx 52 ; LINUX: retq 63 ; LINUX-NOT: movq %gs:16, %rcx 64 ; LINUX: retq 76 ; LINUX-NOT: movq %gs:16, %rcx [all …]
|
D | safestack.ll | 1 ; RUN: llc -mtriple=i386-linux < %s -o - | FileCheck --check-prefix=LINUX-I386 %s 2 ; RUN: llc -mtriple=x86_64-linux < %s -o - | FileCheck --check-prefix=LINUX-X64 %s 16 ; LINUX-X64: movq __safestack_unsafe_stack_ptr@GOTTPOFF(%rip), %[[A:.*]] 17 ; LINUX-X64: movq %fs:(%[[A]]), %[[B:.*]] 18 ; LINUX-X64: leaq -16(%[[B]]), %[[C:.*]] 19 ; LINUX-X64: movq %[[C]], %fs:(%[[A]]) 21 ; LINUX-I386: movl __safestack_unsafe_stack_ptr@INDNTPOFF, %[[A:.*]] 22 ; LINUX-I386: movl %gs:(%[[A]]), %[[B:.*]] 23 ; LINUX-I386: leal -16(%[[B]]), %[[C:.*]] 24 ; LINUX-I386: movl %[[C]], %gs:(%[[A]])
|
D | attribute-sections.ll | 1 ; RUN: llc < %s -mtriple=i386-unknown-linux-gnu | FileCheck %s -check-prefix=LINUX 6 ; LINUX: .section .init_array,"aw" 7 ; LINUX: .globl G0 11 ; LINUX: .section .fini_array,"aw" 12 ; LINUX: .globl G1 16 ; LINUX: .section .preinit_array,"aw" 17 ; LINUX: .globl G2
|
D | commute-two-addr.ll | 5 ; RUN: llc < %s -mtriple=i686-pc-linux-gnu -mcpu=corei7 | FileCheck %s -check-prefix=LINUX 14 ; LINUX-LABEL: t1: 15 ; LINUX: movl 4(%esp), %eax 16 ; LINUX: movl 8(%esp), %ecx 17 ; LINUX: addl %eax, %ecx 18 ; LINUX: movl %ecx, G 25 ; LINUX-LABEL: t2: 26 ; LINUX: movl 4(%esp), %eax 27 ; LINUX: movl 8(%esp), %ecx 28 ; LINUX: xorl %eax, %ecx [all …]
|
D | x86-32-vector-calling-conv.ll | 2 ; RUN: llc < %s -mtriple=i686-pc-linux -mattr=+avx512f | FileCheck %s --check-prefix=LINUX 8 ; LINUX-DAG: vpaddd %xmm1, %xmm0, %xmm0 9 ; LINUX-DAG: vpaddd {{[0-9]+}}(%e{{s|b}}p), %xmm2, %xmm1 10 ; LINUX: vpaddd %xmm1, %xmm0, %xmm0 22 ; LINUX-DAG: vpaddd %ymm1, %ymm0, %ymm0 23 ; LINUX-DAG: vpaddd {{[0-9]+}}(%e{{s|b}}p), %ymm2, %ymm1 24 ; LINUX: vpaddd %ymm1, %ymm0, %ymm0 36 ; LINUX-DAG: vpaddd %zmm1, %zmm0, %zmm0 37 ; LINUX-DAG: vpaddd {{[0-9]+}}(%e{{s|b}}p), %zmm2, %zmm1 38 ; LINUX: vpaddd %zmm1, %zmm0, %zmm0
|
/external/llvm/test/CodeGen/SPARC/ |
D | empty-functions.ll | 1 ; RUN: llc < %s -mtriple=sparc-linux-gnu | FileCheck -check-prefix=LINUX-NO-FP %s 2 ; RUN: llc < %s -mtriple=sparc-linux-gnu -disable-fp-elim | FileCheck -check-prefix=LINUX-FP %s 10 ; LINUX-NO-FP: func: 11 ; LINUX-NO-FP-NEXT: .cfi_startproc 12 ; LINUX-NO-FP-NEXT: {{^}}! 13 ; LINUX-NO-FP-NEXT: {{^}}.L{{.*}}:{{$}} 14 ; LINUX-NO-FP-NEXT: .size func, .L{{.*}}-func 15 ; LINUX-NO-FP-NEXT: .cfi_endproc 20 ; LINUX-FP: func: 21 ; LINUX-FP-NEXT: .cfi_startproc [all …]
|
/external/llvm/test/CodeGen/PowerPC/ |
D | empty-functions.ll | 3 ; RUN: llc < %s -mtriple=powerpc-linux-gnu | FileCheck -check-prefix=LINUX-NO-FP %s 4 ; RUN: llc < %s -mtriple=powerpc-linux-gnu -disable-fp-elim | FileCheck -check-prefix=LINUX-FP %s 19 ; LINUX-NO-FP: func: 20 ; LINUX-NO-FP-NEXT: {{^}}.L[[BEGIN:.*]]:{{$}} 21 ; LINUX-NO-FP-NEXT: .cfi_startproc 22 ; LINUX-NO-FP-NEXT: {{^}}# 23 ; LINUX-NO-FP-NEXT: {{^}}.L[[END:.*]]:{{$}} 24 ; LINUX-NO-FP-NEXT: .size func, .L[[END]]-.L[[BEGIN]] 25 ; LINUX-NO-FP-NEXT: .cfi_endproc 30 ; LINUX-FP: func: [all …]
|
/external/llvm/test/CodeGen/ARM/ |
D | fast-isel-frameaddr.ll | 2 …chineinstrs -fast-isel-abort=1 -mtriple=armv7-linux-gnueabi | FileCheck %s --check-prefix=LINUX-ARM 4 …instrs -fast-isel-abort=1 -mtriple=thumbv7-linux-gnueabi | FileCheck %s --check-prefix=LINUX-THUMB2 18 ; LINUX-ARM-LABEL: frameaddr_index0: 19 ; LINUX-ARM: push {r11} 20 ; LINUX-ARM: mov r11, sp 21 ; LINUX-ARM: mov r0, r11 23 ; LINUX-THUMB2-LABEL: frameaddr_index0: 24 ; LINUX-THUMB2: str r7, [sp, #-4]! 25 ; LINUX-THUMB2: mov r7, sp 26 ; LINUX-THUMB2: mov r0, r7 [all …]
|
D | hidden-vis.ll | 1 ; RUN: llc < %s -mtriple=arm-linux | FileCheck %s -check-prefix=LINUX 8 ; LINUX: .hidden t1 9 ; LINUX-LABEL: t1: 17 ; LINUX-LABEL: t2: 18 ; LINUX: .hidden a
|
/external/llvm/test/CodeGen/AArch64/ |
D | arm64-hello.ll | 2 ; RUN: llc < %s -mtriple=arm64-linux-gnu -disable-post-ra | FileCheck %s --check-prefix=CHECK-LINUX 16 ; CHECK-LINUX-LABEL: main: 17 ; CHECK-LINUX: stp x29, x30, [sp, #-16]! 18 ; CHECK-LINUX-NEXT: mov x29, sp 19 ; CHECK-LINUX-NEXT: sub sp, sp, #16 20 ; CHECK-LINUX-NEXT: stur wzr, [x29, #-4] 21 ; CHECK-LINUX: adrp x0, .L.str 22 ; CHECK-LINUX: add x0, x0, :lo12:.L.str 23 ; CHECK-LINUX-NEXT: bl puts 24 ; CHECK-LINUX-NEXT: mov sp, x29 [all …]
|
D | arm64-sincos.ll | 2 ; RUN: llc < %s -mtriple=arm64-linux-gnu | FileCheck %s --check-prefix CHECK-LINUX 13 ; CHECK-LINUX-LABEL: test1: 14 ; CHECK-LINUX: bl sinf 15 ; CHECK-LINUX: bl cosf 29 ; CHECK-LINUX-LABEL: test2: 30 ; CHECK-LINUX: bl sin 31 ; CHECK-LINUX: bl cos
|
/external/llvm/test/CodeGen/Thumb2/ |
D | large-stack.ll | 4 ; RUN: -mtriple=arm-linux-gnueabi | FileCheck %s -check-prefix=LINUX 9 ; LINUX-LABEL: test1: 10 ; LINUX: sub sp, #256 19 ; LINUX-LABEL: test2: 20 ; LINUX: sub.w sp, sp, #4160 21 ; LINUX: sub sp, #8 31 ; LINUX-LABEL: test3: 32 ; LINUX: push {r4, r6, r7, lr} 33 ; LINUX: sub.w sp, sp, #805306368 34 ; LINUX: sub sp, #16
|
D | thumb2-call-tc.ll | 2 ; RUN: llc < %s -mtriple=thumbv7-linux -mattr=+thumb2 | FileCheck %s -check-prefix=LINUX 13 ; LINUX-LABEL: f: 14 ; LINUX: bl g 23 ; LINUX-LABEL: h: 24 ; LINUX: bx r0 @ TAILCALL 34 ; LINUX-LABEL: j: 35 ; LINUX: b.w f @ TAILCALL
|
/external/llvm/test/DebugInfo/X86/ |
D | stringpool.ll | 1 ; RUN: llc -mtriple=x86_64-unknown-linux-gnu < %s | FileCheck %s --check-prefix=LINUX 18 ; LINUX: .section .debug_str,"MS",@progbits,1 19 ; LINUX: yyyy 24 ; LINUX: .long .Linfo_string3 # DW_AT_name 25 ; LINUX-NEXT: .long {{[0-9]+}} # DW_AT_type 26 ; LINUX-NEXT: # DW_AT_external 27 ; LINUX-NEXT: .byte 1 # DW_AT_decl_file 28 ; LINUX-NEXT: .byte 1 # DW_AT_decl_line 29 ; LINUX-NEXT: .byte 9 # DW_AT_location 30 ; LINUX-NEXT: .byte 3 [all …]
|