/llvm-project/llvm/test/tools/llvm-readobj/ELF/ |
H A D | file-header-machine-types.test | 1 ## Show that all machine codes are correctly printed. 3 # RUN: yaml2obj %s -o %t.none.o -D MACHINE=EM_NONE 6 # RUN: yaml2obj %s -o %t.m32.o -D MACHINE=EM_M32 9 # RUN: yaml2obj %s -o %t.sparc.o -D MACHINE=EM_SPARC 12 # RUN: yaml2obj %s -o %t.386.o -D MACHINE=EM_386 15 # RUN: yaml2obj %s -o %t.68k.o -D MACHINE=EM_68K 18 # RUN: yaml2obj %s -o %t.88k.o -D MACHINE=EM_88K 21 # RUN: yaml2obj %s -o %t.iamcu.o -D MACHINE=EM_IAMCU 24 # RUN: yaml2obj %s -o %t.860.o -D MACHINE=EM_860 27 # RUN: yaml2obj %s -o %t.mips.o -D MACHINE=EM_MIPS [all …]
|
/llvm-project/llvm/test/tools/llvm-lib/ |
H A D | machine-mismatch.test | 16 Mixing bitcode and normal object files with the same machine type is ok: 28 Mixing object files with different machine type is not ok: 32 OBJ32: i386.obj: file machine type x86 conflicts with library machine type x64 (inferred from earli… 35 Neither is mixing object and bitcode files with different machine type: 39 BC32: i386.bc: file machine type x86 conflicts with library machine type x64 (inferred from earlier… 43 BC64: x86_64.bc: file machine type x64 conflicts with library machine type arm64 (inferred from ear… 46 If /machine: is passed, its value is authoritative. 48 RUN: not llvm-lib /machine:X86 %t/x86_64.obj %t/i386.obj 2>&1 | \ 50 OBJ64: x86_64.obj: file machine type x64 conflicts with library machine type x86 (from '/machine:X8… 55 RUN: llvm-lib -machine:arm64ec %t/arm64.bc %t/x86_64.bc %t/arm64.obj %t/x86_64.obj %t/arm64ec.obj %… [all …]
|
/llvm-project/llvm/test/CodeGen/AArch64/ |
H A D | arm64-opt-remarks-lazy-bfi.ll | 5 ; RUN: -debug-only=lazy-machine-block-freq,block-freq \ 12 ; RUN: -debug-only=lazy-machine-block-freq,block-freq \ 23 ; HOTNESS-NEXT: Executing Pass 'Lazy Machine Block Frequency Analysis' 24 ; HOTNESS-NEXT: Executing Pass 'Machine Optimization Remark Emitter' 33 ; HOTNESS: Freeing Pass 'Machine Outliner' 35 ; HOTNESS-NEXT: Executing Pass 'Verify generated machine code' on Function 'empty_func'... 36 ; HOTNESS-NEXT: Freeing Pass 'Verify generated machine code' on Function 'empty_func'... 39 ; HOTNESS-NEXT: Executing Pass 'Verify generated machine code' on Function 'empty_func'... 40 ; HOTNESS-NEXT: Freeing Pass 'Verify generated machine code' on Function 'empty_func'... 43 ; HOTNESS-NEXT: Executing Pass 'Verify generated machine code' on Function 'empty_func'... [all …]
|
H A D | O3-pipeline.ll | 2 ; RUN: grep -v "Verify generated machine code" | FileCheck %s 9 ; CHECK-NEXT: Machine Module Information 16 ; CHECK-NEXT: Machine Branch Probability Analysis 131 ; CHECK-NEXT: Lazy Machine Block Frequency Analysis 133 ; CHECK-NEXT: Optimize machine instruction PHIs 137 ; CHECK-NEXT: Remove dead machine instructions 140 ; CHECK-NEXT: Machine Natural Loop Construction 141 ; CHECK-NEXT: Machine Trace Metrics 143 ; CHECK-NEXT: Lazy Machine Block Frequency Analysis 144 ; CHECK-NEXT: Machine InstCombine [all...] |
H A D | machine-outliner-flags.ll | 3 ; RUN: --debug-only=machine-outliner -enable-machine-outliner=always \ 8 ; RUN: --debug-only=machine-outliner -enable-machine-outliner \ 13 ; RUN: -enable-machine-outliner=never -mtriple arm64---- -o /dev/null 2>&1 \ 17 ; RUN: --debug-only=machine-outliner -mtriple arm64---- -o /dev/null 2>&1 \ 28 ; * -enable-machine-outliner 29 ; * -enable-machine-outliner=always 30 ; * -enable-machine-outliner is not passed (AArch64 supports 35 ; * -enable-machine-outliner=never is passed 37 ; ALWAYS: Machine Outliner 38 ; ALWAYS: Machine Outliner: Running on all functions [all …]
|
/llvm-project/llvm/test/CodeGen/PowerPC/ |
H A D | O3-pipeline.ll | 3 ; RUN: grep -v "Verify generated machine code" | FileCheck %s 9 ; CHECK-NEXT: Machine Module Information 16 ; CHECK-NEXT: Machine Branch Probability Analysis 105 ; CHECK-NEXT: Machine Natural Loop Construction 107 ; CHECK-NEXT: Lazy Machine Block Frequency Analysis 109 ; CHECK-NEXT: Optimize machine instruction PHIs 113 ; CHECK-NEXT: Remove dead machine instructions 115 ; CHECK-NEXT: Machine Natural Loop Construction 116 ; CHECK-NEXT: Machine Trace Metrics 118 ; CHECK-NEXT: Lazy Machine Bloc [all...] |
/llvm-project/llvm/test/CodeGen/ARM/ |
H A D | O3-pipeline.ll | 1 ; RUN: llc -mtriple=arm -O3 -debug-pass=Structure < %s -o /dev/null 2>&1 | grep -v "Verify generated machine code" | FileCheck %s 87 ; CHECK-NEXT: Lazy Machine Block Frequency Analysis 89 ; CHECK-NEXT: Optimize machine instruction PHIs 93 ; CHECK-NEXT: Remove dead machine instructions 95 ; CHECK-NEXT: Machine Natural Loop Construction 96 ; CHECK-NEXT: Machine Block Frequency Analysis 97 ; CHECK-NEXT: Early Machine Loop Invariant Code Motion 99 ; CHECK-NEXT: Machine Block Frequency Analysis 100 ; CHECK-NEXT: Machine Common Subexpression Elimination 102 ; CHECK-NEXT: Machine Cycl [all...] |
/llvm-project/llvm/test/CodeGen/X86/ |
H A D | opt-pipeline.ll | 1 ; When EXPENSIVE_CHECKS are enabled, the machine verifier appears between each 4 ; RUN: | grep -v 'Verify generated machine code' | FileCheck %s 6 ; RUN: | grep -v 'Verify generated machine code' | FileCheck %s 8 ; RUN: | grep -v 'Verify generated machine code' | FileCheck %s 17 ; CHECK-NEXT: Machine Module Information 24 ; CHECK-NEXT: Machine Branch Probability Analysis 97 ; CHECK-NEXT: Lazy Machine Block Frequency Analysis 99 ; CHECK-NEXT: Optimize machine instruction PHIs 103 ; CHECK-NEXT: Remove dead machine instructions 105 ; CHECK-NEXT: Machine Natura [all...] |
/llvm-project/llvm/test/CodeGen/RISCV/ |
H A D | O3-pipeline.ll | 2 ; RUN: grep -v "Verify generated machine code" | \ 5 ; RUN: grep -v "Verify generated machine code" | \ 13 ; CHECK-NEXT: Machine Module Information 20 ; CHECK-NEXT: Machine Branch Probability Analysis 100 ; CHECK-NEXT: Lazy Machine Block Frequency Analysis 102 ; CHECK-NEXT: Optimize machine instruction PHIs 106 ; CHECK-NEXT: Remove dead machine instructions 108 ; CHECK-NEXT: Machine Natural Loop Construction 109 ; CHECK-NEXT: Machine Block Frequency Analysis 110 ; CHECK-NEXT: Early Machine Loo [all...] |
/llvm-project/llvm/test/CodeGen/LoongArch/ |
H A D | opt-pipeline.ll | 1 ;; When EXPENSIVE_CHECKS are enabled, the machine verifier appears between each 4 ; RUN: grep -v "Verify generated machine code" | FileCheck %s --check-prefix=LAXX 6 ; RUN: grep -v "Verify generated machine code" | FileCheck %s --check-prefix=LAXX 8 ; RUN: grep -v "Verify generated machine code" | FileCheck %s --check-prefix=LAXX 10 ; RUN: grep -v "Verify generated machine code" | FileCheck %s --check-prefixes=LAXX,LA64 12 ; RUN: grep -v "Verify generated machine code" | FileCheck %s --check-prefixes=LAXX,LA64 14 ; RUN: grep -v "Verify generated machine code" | FileCheck %s --check-prefixes=LAXX,LA64 21 ; LAXX-NEXT: Machine Module Information 28 ; LAXX-NEXT: Machine Branch Probability Analysis 92 ; LAXX-NEXT: Lazy Machine Bloc [all...] |
/llvm-project/llvm/test/CodeGen/M68k/ |
H A D | pipeline.ll | 1 ; RUN: llc -mtriple=m68k -debug-pass=Structure < %s -o /dev/null 2>&1 | grep -v "Verify generated machine code" | FileCheck %s 63 ; CHECK-NEXT: Lazy Machine Block Frequency Analysis 65 ; CHECK-NEXT: Optimize machine instruction PHIs 69 ; CHECK-NEXT: Remove dead machine instructions 71 ; CHECK-NEXT: Machine Natural Loop Construction 72 ; CHECK-NEXT: Machine Block Frequency Analysis 73 ; CHECK-NEXT: Early Machine Loop Invariant Code Motion 75 ; CHECK-NEXT: Machine Block Frequency Analysis 76 ; CHECK-NEXT: Machine Common Subexpression Elimination 78 ; CHECK-NEXT: Machine Cycl [all...] |
/llvm-project/llvm/test/CodeGen/AMDGPU/ |
H A D | verify-gfx90a-aligned-vgprs.mir | 2 # RUN: not --crash llc -mtriple=amdgcn -mcpu=gfx90a --passes='machine-function(verify)' -o /dev/null %s 2>&1 | FileCheck %s 65 ; CHECK: *** Bad machine code: Subtarget requires even aligned vector registers *** 66 ; CHECK: *** Bad machine code: Subtarget requires even aligned vector registers *** 67 ; CHECK: *** Bad machine code: Subtarget requires even aligned vector registers *** 73 ; CHECK: *** Bad machine code: Subtarget requires even aligned vector registers *** 74 ; CHECK: *** Bad machine code: Subtarget requires even aligned vector registers *** 75 ; CHECK: *** Bad machine code: Subtarget requires even aligned vector registers *** 76 ; CHECK: *** Bad machine code: Subtarget requires even aligned vector registers *** 83 ; CHECK: *** Bad machine code: Subtarget requires even aligned vector registers *** 84 ; CHECK: *** Bad machine cod [all...] |
H A D | llc-pipeline.ll | 18 ; GCN-O0-NEXT:Machine Module Information 25 ; GCN-O0-NEXT:Machine Branch Probability Analysis 131 ; GCN-O0-NEXT: Lazy Machine Block Frequency Analysis 132 ; GCN-O0-NEXT: Machine Optimization Remark Emitter 140 ; GCN-O0-NEXT: Machine Natural Loop Construction 151 ; GCN-O0-NEXT: Machine Sanitizer Binary Metadata 152 ; GCN-O0-NEXT: Lazy Machine Block Frequency Analysis 153 ; GCN-O0-NEXT: Machine Optimization Remark Emitter 161 ; GCN-O1-NEXT:Machine Module Information 171 ; GCN-O1-NEXT:Machine Branc [all...] |
/llvm-project/llvm/test/tools/obj2yaml/ELF/ |
H A D | mips-eflags.yaml | 16 Machine: EM_MIPS 38 Machine: EM_MIPS 46 Machine: EM_MIPS 54 Machine: EM_MIPS 62 Machine: EM_MIPS 111 Machine: EM_MIPS 119 Machine: EM_MIPS 127 Machine: EM_MIPS 135 Machine: EM_MIPS 143 Machine: EM_MIPS [all …]
|
/llvm-project/llvm/include/llvm/Passes/ |
H A D | MachinePassRegistry.def | 20 MODULE_ANALYSIS("machine-module-info", MachineModuleAnalysis()) 106 MACHINE_FUNCTION_ANALYSIS("machine-block-freq", MachineBlockFrequencyAnalysis()) 107 MACHINE_FUNCTION_ANALYSIS("machine-branch-prob", 109 MACHINE_FUNCTION_ANALYSIS("machine-dom-tree", MachineDominatorTreeAnalysis()) 110 MACHINE_FUNCTION_ANALYSIS("machine-loops", MachineLoopAnalysis()) 111 MACHINE_FUNCTION_ANALYSIS("machine-opt-remark-emitter", 113 MACHINE_FUNCTION_ANALYSIS("machine-post-dom-tree", 115 MACHINE_FUNCTION_ANALYSIS("machine-trace-metrics", MachineTraceMetricsAnalysis()) 120 // MACHINE_FUNCTION_ANALYSIS("lazy-machine-bfi", 122 // MACHINE_FUNCTION_ANALYSIS("machine [all...] |
/llvm-project/clang/test/Driver/ |
H A D | fsplit-machine-functions.c | 1 // RUN: %clang -### --target=x86_64 -fprofile-use=default.profdata -fsplit-machine-functions %s 2>&… 2 // RUN: %clang -### --target=aarch64 -fprofile-use=default.profdata -fsplit-machine-functions %s 2>… 3 …## --target=x86_64 -fprofile-use=default.profdata -fsplit-machine-functions -fno-split-machine-fun… 5 // CHECK: "-fsplit-machine-functions" 8 // NEG-NOT: "-fsplit-machine-functions" 10 // RUN: %clang -### --target=x86_64-linux -flto -fsplit-machine-functions %s 2>&1 | FileCheck %s --… 11 // RUN: %clang -### --target=x86_64-linux -flto -fsplit-machine-functions -fno-split-machine-functi… 13 // LTO: "-plugin-opt=-split-machine-functions" 14 // LTO-NEG-NOT: "-plugin-opt=-split-machine-functions" 16 // RUN: not %clang -### -c --target=arm-unknown-linux -fsplit-machine-functions %s 2>&1 | FileCheck… [all …]
|
/llvm-project/llvm/test/MC/PowerPC/ |
H A D | ppc-machine.s | 6 # For now, the only thing we check is that the .machine directive 9 .machine push 10 .machine any 11 .machine pop 13 .machine "push" 14 .machine "any" 15 .machine "pop" 17 .machine ppc64 20 .machine altivec 21 .machine power4 [all …]
|
/llvm-project/llvm/test/MachineVerifier/ |
H A D | test_g_ptrmask.mir | 15 ; CHECK: Bad machine code: Type mismatch in generic instruction 16 ; CHECK: Bad machine code: ptrmask result type must be a pointer 19 ; CHECK: Bad machine code: Type mismatch in generic instruction 22 ; CHECK: Bad machine code: ptrmask mask type must be an integer 28 ; CHECK: Bad machine code: Type mismatch in generic instruction 29 ; CHECK: Bad machine code: ptrmask result type must be a pointer 32 ; CHECK: Bad machine code: Type mismatch in generic instruction 35 ; CHECK: Bad machine code: Type mismatch in generic instruction 36 ; CHECK: Bad machine code: ptrmask mask type must be an integer 37 ; CHECK: Bad machine code: operand types must be all-vector or all-scalar [all …]
|
H A D | test_g_addrspacecast.mir | 19 ; CHECK: Bad machine code: Too few operands 22 ; CHECK: Bad machine code: Too few operands 23 ; CHECK: Bad machine code: Explicit definition marked as use 26 ; CHECK: Bad machine code: addrspacecast types must be pointers 29 ; CHECK: Bad machine code: addrspacecast types must be pointers 32 ; CHECK: Bad machine code: addrspacecast types must be pointers 35 ; CHECK: Bad machine code: addrspacecast types must be pointers 38 ; CHECK: Bad machine code: operand types must be all-vector or all-scalar 41 ; CHECK: Bad machine code: operand types must be all-vector or all-scalar 44 ; CHECK: Bad machine code: operand types must preserve number of vector elements [all …]
|
H A D | test_g_memmove.mir | 17 ; CHECK: *** Bad machine code: memcpy/memmove must have 2 memory operands *** 20 ; CHECK: *** Bad machine code: memcpy/memmove must have 2 memory operands *** 23 ; CHECK: *** Bad machine code: memcpy/memmove must have 2 memory operands *** 26 ; CHECK: *** Bad machine code: wrong memory operand types *** 29 ; CHECK: *** Bad machine code: inconsistent memory operand sizes *** 32 ; CHECK: *** Bad machine code: inconsistent memory operand sizes *** 35 ; CHECK: *** Bad machine code: inconsistent memory operand sizes *** 38 ; CHECK: *** Bad machine code: inconsistent store address space *** 41 ; CHECK: *** Bad machine code: inconsistent load address space *** 44 ; CHECK: *** Bad machine code: memory instruction operand must be a pointer *** [all …]
|
H A D | test_g_shuffle_vector.mir | 17 ; CHECK: Bad machine code: Incorrect mask operand type for G_SHUFFLE_VECTOR 20 ; CHECK: Bad machine code: Incorrect mask operand type for G_SHUFFLE_VECTOR 23 ; CHECK: Bad machine code: Incorrect mask operand type for G_SHUFFLE_VECTOR 26 ; CHECK: Bad machine code: Incorrect mask operand type for G_SHUFFLE_VECTOR 29 ; CHECK: Bad machine code: Wrong result type for shufflemask 32 ; CHECK: Bad machine code: Wrong result type for shufflemask 35 ; CHECK: Bad machine code: G_SHUFFLE_VECTOR cannot change element type 38 ; CHECK: Bad machine code: Source operands must be the same type 41 ; CHECK: Bad machine code: Out of bounds shuffle index 44 ; CHECK: Bad machine code: Out of bounds shuffle index [all …]
|
/llvm-project/llvm/bindings/ocaml/target/ |
H A D | target_ocaml.c | 212 /*===---- Target Machine --------------------------------------------------===*/ 214 static void llvm_finalize_target_machine(value Machine) { in llvm_finalize_target_machine() argument 215 LLVMDisposeTargetMachine(TargetMachine_val(Machine)); in llvm_finalize_target_machine() 227 static value llvm_alloc_targetmachine(LLVMTargetMachineRef Machine) { in llvm_alloc_targetmachine() argument 230 TargetMachine_val(V) = Machine; in llvm_alloc_targetmachine() 240 LLVMTargetMachineRef Machine; in llvm_create_targetmachine_native() local 257 Machine = LLVMCreateTargetMachine(Target_val(Target), String_val(Triple), in llvm_create_targetmachine_native() 261 return llvm_alloc_targetmachine(Machine); in llvm_create_targetmachine_native() 270 value llvm_targetmachine_target(value Machine) { in llvm_targetmachine_target() argument 271 return to_val(LLVMGetTargetMachineTarget(TargetMachine_val(Machine))); in llvm_targetmachine_target() [all …]
|
/llvm-project/llvm/test/tools/llvm-cvtres/ |
H A D | machine.test | 1 // Check that cvtres properly generates COFF for different machine types. The 2 // only things that changes with machine type are the machine constant listed 9 // > cvtres /machine:X86 /readonly /nologo /out:test_resource.obj.coff \ 11 // > cvtres /machine:X64 /readonly /nologo /out:test_resource.obj.coff.x64 \ 13 // > cvtres /machine:ARM /readonly /nologo /out:test_resource.obj.coff.x64 \ 16 RUN: llvm-cvtres /machine:X86 /out:%t %p/Inputs/test_resource.res 19 RUN: llvm-cvtres /machine:X64 /out:%t %p/Inputs/test_resource.res 22 RUN: llvm-cvtres /machine:ARM /out:%t %p/Inputs/test_resource.res 25 RUN: llvm-cvtres /machine:ARM64 /out:%t %p/Inputs/test_resource.res 28 RUN: llvm-cvtres /machine:ARM64EC /out:%t %p/Inputs/test_resource.res [all …]
|
/llvm-project/llvm/docs/ |
H A D | MIRLangRef.rst | 2 Machine IR (MIR) Format Reference Manual 14 This document is a reference manual for the Machine IR (MIR) serialization 16 LLVM's :ref:`machine specific intermediate representation 17 <machine code representation>`. 32 contain the serialized machine functions. 58 specify the machine copy propagation pass in the ``-stop-after`` option, as it 61 ``llc -stop-after=machine-cp bug-trigger.ll -o test.mir`` 88 - Machine function attributes often have default values or the test works just 143 - The ``MCSymbol`` machine operands don't support temporary or local symbols. 181 Machine Functions [all …]
|
/llvm-project/lld/test/COFF/ |
H A D | arm64ec.test | 8 RUN: llvm-cvtres -machine:arm64x -out:arm64x-resource.obj %S/Inputs/resource.res 10 RUN: lld-link -out:test.dll -machine:arm64ec arm64ec-data-sym.obj -dll -noentry 15 ARM64EC-HEADER: Machine: IMAGE_FILE_MACHINE_AMD64 (0x8664) 17 RUN: lld-link -out:test.dll -machine:arm64x arm64x-resource.obj -dll -noentry 19 ARM64X-HEADER: Machine: IMAGE_FILE_MACHINE_ARM64 (0xAA64) 21 arm64x object files are allowed with -machine:arm64 as well 22 RUN: lld-link -out:test.dll -machine:arm64 arm64x-resource.obj -dll -noentry 24 RUN: lld-link -out:test.dll -machine:arm64ec arm64ec-data-sym.obj x86_64-data-sym.obj \ 31 RUN: lld-link -out:test.dll -machine:arm64x x86_64-data-sym.obj arm64-data-sym.obj \ 38 RUN: not lld-link -out:test.dll -machine [all...] |