/external/llvm-project/llvm/test/CodeGen/X86/ |
D | speculative-load-hardening.ll | 2 ; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu | FileCheck %s --check-prefix=X64 3 ; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu -x86-slh-lfence | FileCheck %s --check-prefix=X64… 12 ; X64-LABEL: test_trivial_entry_load: 13 ; X64: # %bb.0: # %entry 14 ; X64-NEXT: movq %rsp, %rcx 15 ; X64-NEXT: movq $-1, %rax 16 ; X64-NEXT: sarq $63, %rcx 17 ; X64-NEXT: movl (%rdi), %eax 18 ; X64-NEXT: orl %ecx, %eax 19 ; X64-NEXT: shlq $47, %rcx [all …]
|
D | speculative-load-hardening-indirect.ll | 7 …-unknown-linux-gnu -x86-speculative-load-hardening -data-sections | FileCheck %s --check-prefix=X64 9 … -relocation-model pic -data-sections -verify-machineinstrs=0 | FileCheck %s --check-prefix=X64-PIC 10 …ulative-load-hardening -data-sections -mattr=+retpoline | FileCheck %s --check-prefix=X64-RETPOLINE 24 ; X64-LABEL: test_indirect_call: 25 ; X64: # %bb.0: # %entry 26 ; X64-NEXT: pushq %rbx 27 ; X64-NEXT: movq %rsp, %rax 28 ; X64-NEXT: movq $-1, %rbx 29 ; X64-NEXT: sarq $63, %rax 30 ; X64-NEXT: movq (%rdi), %rcx [all …]
|
D | speculative-load-hardening-call-and-ret.ll | 2 …le=x86_64-unknown-linux-gnu -x86-speculative-load-hardening | FileCheck %s --check-prefix=X64-NOPIC 3 …-gnu -x86-speculative-load-hardening -code-model medium | FileCheck %s --check-prefix=X64-NOPIC-MCM 4 …nux-gnu -x86-speculative-load-hardening -relocation-model pic | FileCheck %s --check-prefix=X64-PIC 11 ; X64-NOPIC-LABEL: test_calls_and_rets: 12 ; X64-NOPIC: # %bb.0: # %entry 13 ; X64-NOPIC-NEXT: pushq %rbp 14 ; X64-NOPIC-NEXT: pushq %r14 15 ; X64-NOPIC-NEXT: pushq %rbx 16 ; X64-NOPIC-NEXT: movq %rsp, %rax 17 ; X64-NOPIC-NEXT: movq %rdi, %rbx [all …]
|
D | mul-constant-i8.ll | 2 ; RUN: llc < %s -mtriple=x86_64-- | FileCheck %s --check-prefix=X64 5 ; X64-LABEL: test_mul_by_1: 6 ; X64: # %bb.0: 7 ; X64-NEXT: movl %edi, %eax 8 ; X64-NEXT: # kill: def $al killed $al killed $eax 9 ; X64-NEXT: retq 15 ; X64-LABEL: test_mul_by_2: 16 ; X64: # %bb.0: 17 ; X64-NEXT: # kill: def $edi killed $edi def $rdi 18 ; X64-NEXT: leal (%rdi,%rdi), %eax [all …]
|
D | win-catchpad-csrs.ll | 2 …N: llc -verify-machineinstrs -mtriple=x86_64-pc-windows-msvc < %s | FileCheck --check-prefix=X64 %s 88 ; X64-LABEL: try_catch_catch: 89 ; X64: pushq %rbp 90 ; X64: .seh_pushreg %rbp 91 ; X64: pushq %rsi 92 ; X64: .seh_pushreg %rsi 93 ; X64: pushq %rdi 94 ; X64: .seh_pushreg %rdi 95 ; X64: pushq %rbx 96 ; X64: .seh_pushreg %rbx [all …]
|
D | win-catchpad.ll | 2 …ring=0 -verify-machineinstrs -mtriple=x86_64-pc-windows-msvc < %s | FileCheck --check-prefix=X64 %s 123 ; X64-LABEL: try_catch_catch: 124 ; X64: Lfunc_begin0: 125 ; X64: pushq %rbp 126 ; X64: .seh_pushreg %rbp 127 ; X64: subq $[[STCK_ALLOC:.*]], %rsp 128 ; X64: .seh_stackalloc [[STCK_ALLOC]] 129 ; X64: leaq [[STCK_ALLOC]](%rsp), %rbp 130 ; X64: .seh_setframe %rbp, [[STCK_ALLOC]] 131 ; X64: .seh_endprologue [all …]
|
D | shift-mask.ll | 3 ; RUN: llc < %s -mtriple=x86_64-pc-linux | FileCheck %s --check-prefixes=X64,X64-MASK 4 …< %s -mtriple=x86_64-pc-linux -mcpu=bdver1 | FileCheck %s --check-prefixes=X64,X64-SHIFT,X64-SHIFT2 5 …lc < %s -mtriple=x86_64-pc-linux -mcpu=bdver2 | FileCheck %s --check-prefixes=X64,X64-SHIFT,X64-TBM 6 …lc < %s -mtriple=x86_64-pc-linux -mcpu=bdver3 | FileCheck %s --check-prefixes=X64,X64-SHIFT,X64-TBM 7 …lc < %s -mtriple=x86_64-pc-linux -mcpu=bdver4 | FileCheck %s --check-prefixes=X64,X64-SHIFT,X64-TBM 8 …< %s -mtriple=x86_64-pc-linux -mcpu=btver1 | FileCheck %s --check-prefixes=X64,X64-SHIFT,X64-SHIFT2 9 …mtriple=x86_64-pc-linux -mcpu=btver2 | FileCheck %s --check-prefixes=X64,X64-SHIFT,X64-BMI,X64-BMI1 10 …mtriple=x86_64-pc-linux -mcpu=znver1 | FileCheck %s --check-prefixes=X64,X64-SHIFT,X64-BMI,X64-BMI2 11 …mtriple=x86_64-pc-linux -mcpu=znver2 | FileCheck %s --check-prefixes=X64,X64-SHIFT,X64-BMI,X64-BMI2 12 …4-pc-linux -mattr=+fast-scalar-shift-masks | FileCheck %s --check-prefixes=X64,X64-SHIFT,X64-SHIFT2 [all …]
|
D | vector-mul.ll | 3 …llc < %s -mtriple=x86_64-unknown-unknown -mattr=+sse4.2 | FileCheck %s --check-prefixes=SSE,X64-SSE 4 …c < %s -mtriple=x86_64-unknown-unknown -mattr=+xop | FileCheck %s --check-prefixes=X64-AVX,X64-XOP 5 … < %s -mtriple=x86_64-unknown-unknown -mattr=+avx2 | FileCheck %s --check-prefixes=X64-AVX,X64-AVX2 6 …_64-unknown-unknown -mattr=+avx512dq,+avx512vl | FileCheck %s --check-prefixes=X64-AVX,X64-AVX512DQ 18 ; X64-AVX-LABEL: mul_v2i64_8: 19 ; X64-AVX: # %bb.0: 20 ; X64-AVX-NEXT: vpsllq $3, %xmm0, %xmm0 21 ; X64-AVX-NEXT: retq 32 ; X64-AVX-LABEL: mul_v4i32_8: 33 ; X64-AVX: # %bb.0: [all …]
|
D | memcmp-more-load-pairs.ll | 7 … -mtriple=x86_64-unknown-unknown | FileCheck %s --check-prefixes=X64,X64-SSE,X64-SSE2 8 …-mtriple=x86_64-unknown-unknown -mattr=sse4.1 | FileCheck %s --check-prefixes=X64,X64-SSE,X64-SSE41 9 … -mtriple=x86_64-unknown-unknown -mattr=avx | FileCheck %s --check-prefixes=X64,X64-AVX,X64-AVX1 10 … -mtriple=x86_64-unknown-unknown -mattr=avx2 | FileCheck %s --check-prefixes=X64,X64-AVX,X64-AVX2 11 …nknown-unknown -mattr=avx512bw,+prefer-256-bit | FileCheck %s --check-prefixes=X64,X64-AVX,X64-AVX2 12 …-mattr=avx512bw,-prefer-256-bit | FileCheck %s --check-prefixes=X64,X64-AVX,X64-AVX512,X64-AVX512BW 13 …avx512f,+prefer-256-bit,-prefer-mask-registers | FileCheck %s --check-prefixes=X64,X64-AVX,X64-AVX2 14 …r-256-bit,-prefer-mask-registers | FileCheck %s --check-prefixes=X64,X64-AVX,X64-AVX512,X64-AVX512F 15 …+prefer-256-bit,+prefer-mask-registers | FileCheck %s --check-prefixes=X64,X64-MIC-AVX,X64-MIC-AVX2 16 …efer-256-bit,+prefer-mask-registers | FileCheck %s --check-prefixes=X64,X64-MIC-AVX,X64-MIC-AVX512F [all …]
|
D | memcmp.ll | 6 … -mtriple=x86_64-unknown-unknown | FileCheck %s --check-prefixes=X64,X64-SSE,X64-SSE2 7 …-mtriple=x86_64-unknown-unknown -mattr=sse4.1 | FileCheck %s --check-prefixes=X64,X64-SSE,X64-SSE41 8 … -mtriple=x86_64-unknown-unknown -mattr=avx | FileCheck %s --check-prefixes=X64,X64-AVX,X64-AVX1 9 … -mtriple=x86_64-unknown-unknown -mattr=avx2 | FileCheck %s --check-prefixes=X64,X64-AVX,X64-AVX2 10 …nknown-unknown -mattr=avx512bw,+prefer-256-bit | FileCheck %s --check-prefixes=X64,X64-AVX,X64-AVX2 11 …-mattr=avx512bw,-prefer-256-bit | FileCheck %s --check-prefixes=X64,X64-AVX,X64-AVX512,X64-AVX512BW 12 …avx512f,+prefer-256-bit,-prefer-mask-registers | FileCheck %s --check-prefixes=X64,X64-AVX,X64-AVX2 13 …r-256-bit,-prefer-mask-registers | FileCheck %s --check-prefixes=X64,X64-AVX,X64-AVX512,X64-AVX512F 14 …+prefer-256-bit,+prefer-mask-registers | FileCheck %s --check-prefixes=X64,X64-MIC-AVX,X64-MIC-AVX2 15 …efer-256-bit,+prefer-mask-registers | FileCheck %s --check-prefixes=X64,X64-MIC-AVX,X64-MIC-AVX512F [all …]
|
D | mul-constant-i32.ll | 3 …-unknown -mcpu=haswell | FileCheck %s --check-prefixes=X64,X64-HSW 4 …-unknown -mcpu=btver2 | FileCheck %s --check-prefixes=X64,X64-JAG 6 … -mul-constant-optimization=false -mcpu=haswell | FileCheck %s --check-prefixes=X64-NOOPT,HSW-NOOPT 7 … -mul-constant-optimization=false -mcpu=btver2 | FileCheck %s --check-prefixes=X64-NOOPT,JAG-NOOPT 8 …-unknown -mcpu=slm | FileCheck %s --check-prefixes=X64,X64-SLM 9 … -mul-constant-optimization=false -mcpu=slm | FileCheck %s --check-prefixes=X64-NOOPT,SLM-NOOPT 17 ; X64-LABEL: test_mul_by_1: 18 ; X64: # %bb.0: 19 ; X64-NEXT: movl %edi, %eax 20 ; X64-NEXT: retq [all …]
|
D | atomic8.ll | 1 …llc < %s -O0 -mtriple=x86_64-- -mcpu=corei7 -verify-machineinstrs | FileCheck %s --check-prefix X64 7 ; X64-LABEL: atomic_fetch_add8: 12 ; X64: lock 13 ; X64: incb 17 ; X64: lock 18 ; X64: addb $3 22 ; X64: lock 23 ; X64: xaddb 27 ; X64: lock 28 ; X64: addb [all …]
|
D | tbm-intrinsics-fast-isel-x86_64.ll | 2 …: llc < %s -fast-isel -mtriple=x86_64-unknown-unknown -mattr=+tbm | FileCheck %s --check-prefix=X64 7 ; X64-LABEL: test__bextri_u64: 8 ; X64: # %bb.0: 9 ; X64-NEXT: bextrq $3841, %rdi, %rax # imm = 0xF01 10 ; X64-NEXT: retq 16 ; X64-LABEL: test__blcfill_u64: 17 ; X64: # %bb.0: 18 ; X64-NEXT: leaq 1(%rdi), %rax 19 ; X64-NEXT: andq %rdi, %rax 20 ; X64-NEXT: retq [all …]
|
D | lvi-hardening-loads.ll | 1 …machineinstrs -mtriple=x86_64-unknown < %s | FileCheck %s --check-prefix=X64 --check-prefix=X64-ALL 2 …hineinstrs -mtriple=x86_64-unknown --x86-lvi-load-no-cbranch < %s | FileCheck %s --check-prefix=X64 3 ; RUN: llc -O0 -verify-machineinstrs -mtriple=x86_64-unknown < %s | FileCheck %s --check-prefix=X64… 7 ; X64-LABEL: test: 20 ; X64: # %bb.0: # %entry 21 ; X64-NEXT: movq %rdi, -{{[0-9]+}}(%rsp) 22 ; X64-NEXT: movl %esi, -{{[0-9]+}}(%rsp) 23 ; X64-NEXT: movl $0, -{{[0-9]+}}(%rsp) 24 ; X64-NEXT: lfence 25 ; X64-NEXT: movl $0, -{{[0-9]+}}(%rsp) [all …]
|
D | xor.ll | 3 ; RUN: llc < %s -mtriple=x86_64-linux -mattr=+sse2 | FileCheck %s --check-prefixes=CHECK,X64-LIN 4 ; RUN: llc < %s -mtriple=x86_64-win32 -mattr=+sse2 | FileCheck %s --check-prefixes=CHECK,X64-WIN 35 ; X64-LIN-LABEL: test3: 36 ; X64-LIN: # %bb.0: # %entry 37 ; X64-LIN-NEXT: movl %esi, %eax 38 ; X64-LIN-NEXT: notl %eax 39 ; X64-LIN-NEXT: andl %edi, %eax 40 ; X64-LIN-NEXT: shrl %eax 41 ; X64-LIN-NEXT: retq 43 ; X64-WIN-LABEL: test3: [all …]
|
D | atomic16.ll | 1 …nown-unknown -mcpu=corei7 -verify-machineinstrs -show-mc-encoding | FileCheck %s --check-prefix X64 8 ; X64-LABEL: atomic_fetch_add16 13 ; X64: lock 14 ; X64: incw 18 ; X64: lock 19 ; X64: addw $3, {{.*}} # encoding: [0x66,0xf0 23 ; X64: lock 24 ; X64: xaddw {{.*}} # encoding: [0x66,0xf0 28 ; X64: lock 29 ; X64: addw {{.*}} # encoding: [0x66,0xf0 [all …]
|
/external/llvm/test/CodeGen/X86/ |
D | win-catchpad-csrs.ll | 2 …N: llc -verify-machineinstrs -mtriple=x86_64-pc-windows-msvc < %s | FileCheck --check-prefix=X64 %s 88 ; X64-LABEL: try_catch_catch: 89 ; X64: pushq %rbp 90 ; X64: .seh_pushreg 5 91 ; X64: pushq %rsi 92 ; X64: .seh_pushreg 6 93 ; X64: pushq %rdi 94 ; X64: .seh_pushreg 7 95 ; X64: pushq %rbx 96 ; X64: .seh_pushreg 3 [all …]
|
D | win-catchpad.ll | 2 …ring=0 -verify-machineinstrs -mtriple=x86_64-pc-windows-msvc < %s | FileCheck --check-prefix=X64 %s 123 ; X64-LABEL: try_catch_catch: 124 ; X64: Lfunc_begin0: 125 ; X64: pushq %rbp 126 ; X64: .seh_pushreg 5 127 ; X64: subq $[[STCK_ALLOC:.*]], %rsp 128 ; X64: .seh_stackalloc [[STCK_ALLOC]] 129 ; X64: leaq [[STCK_ALLOC]](%rsp), %rbp 130 ; X64: .seh_setframe 5, [[STCK_ALLOC]] 131 ; X64: .seh_endprologue [all …]
|
D | atomic64.ll | 1 …UN: llc < %s -O0 -march=x86-64 -mcpu=corei7 -verify-machineinstrs | FileCheck %s --check-prefix X64 6 ; X64-LABEL: atomic_fetch_add64: 10 ; X64: lock 11 ; X64: incq 13 ; X64: lock 14 ; X64: addq $3 16 ; X64: lock 17 ; X64: xaddq 19 ; X64: lock 20 ; X64: addq [all …]
|
D | atomic8.ll | 1 …UN: llc < %s -O0 -march=x86-64 -mcpu=corei7 -verify-machineinstrs | FileCheck %s --check-prefix X64 7 ; X64-LABEL: atomic_fetch_add8: 12 ; X64: lock 13 ; X64: incb 17 ; X64: lock 18 ; X64: addb $3 22 ; X64: lock 23 ; X64: xaddb 27 ; X64: lock 28 ; X64: addb [all …]
|
D | tbm-intrinsics-fast-isel-x86_64.ll | 2 …: llc < %s -fast-isel -mtriple=x86_64-unknown-unknown -mattr=+tbm | FileCheck %s --check-prefix=X64 7 ; X64-LABEL: test__bextri_u64: 8 ; X64: # BB#0: 9 ; X64-NEXT: bextr $1, %rdi, %rax 10 ; X64-NEXT: retq 16 ; X64-LABEL: test__blcfill_u64: 17 ; X64: # BB#0: 18 ; X64-NEXT: leaq 1(%rdi), %rax 19 ; X64-NEXT: andq %rdi, %rax 20 ; X64-NEXT: retq [all …]
|
D | atomic16.ll | 1 …nown-unknown -mcpu=corei7 -verify-machineinstrs -show-mc-encoding | FileCheck %s --check-prefix X64 7 ; X64-LABEL: atomic_fetch_add16 12 ; X64: lock 13 ; X64: incw 17 ; X64: lock 18 ; X64: addw $3, {{.*}} # encoding: [0x66,0xf0 22 ; X64: lock 23 ; X64: xaddw {{.*}} # encoding: [0x66,0xf0 27 ; X64: lock 28 ; X64: addw {{.*}} # encoding: [0x66,0xf0 [all …]
|
/external/llvm-project/llvm/test/CodeGen/X86/GlobalISel/ |
D | ashr-scalar.ll | 2 …ple=x86_64-linux-gnu -global-isel -verify-machineinstrs < %s -o - | FileCheck %s --check-prefix=X64 5 ; X64-LABEL: test_ashr_i64: 6 ; X64: # %bb.0: 7 ; X64-NEXT: movq %rdi, %rax 8 ; X64-NEXT: movq %rsi, %rcx 9 ; X64-NEXT: # kill: def $cl killed $cl killed $rcx 10 ; X64-NEXT: sarq %cl, %rax 11 ; X64-NEXT: retq 17 ; X64-LABEL: test_ashr_i64_imm: 18 ; X64: # %bb.0: [all …]
|
D | lshr-scalar.ll | 2 …ple=x86_64-linux-gnu -global-isel -verify-machineinstrs < %s -o - | FileCheck %s --check-prefix=X64 5 ; X64-LABEL: test_lshr_i64: 6 ; X64: # %bb.0: 7 ; X64-NEXT: movq %rdi, %rax 8 ; X64-NEXT: movq %rsi, %rcx 9 ; X64-NEXT: # kill: def $cl killed $cl killed $rcx 10 ; X64-NEXT: shrq %cl, %rax 11 ; X64-NEXT: retq 17 ; X64-LABEL: test_lshr_i64_imm: 18 ; X64: # %bb.0: [all …]
|
D | shl-scalar.ll | 2 …ple=x86_64-linux-gnu -global-isel -verify-machineinstrs < %s -o - | FileCheck %s --check-prefix=X64 5 ; X64-LABEL: test_shl_i64: 6 ; X64: # %bb.0: 7 ; X64-NEXT: movq %rdi, %rax 8 ; X64-NEXT: movq %rsi, %rcx 9 ; X64-NEXT: # kill: def $cl killed $cl killed $rcx 10 ; X64-NEXT: shlq %cl, %rax 11 ; X64-NEXT: retq 17 ; X64-LABEL: test_shl_i64_imm: 18 ; X64: # %bb.0: [all …]
|