[ARM] More MVE compare vector splat combines for ANDs
[llvm-complete.git] / test / CodeGen / PowerPC / ppc-passname.ll
blob005f0a25c563700abc3c7565c70bfd9027c99219
1 ; Test pass name: ppc-loop-preinc-prep.
2 ; RUN: llc -mtriple=powerpc64le-unknown-unknown < %s -debug-pass=Structure -stop-before=ppc-loop-preinc-prep -o /dev/null 2>&1 | FileCheck %s -check-prefix=STOP-BEFORE-LOOP-PREINC-PREP
3 ; STOP-BEFORE-LOOP-PREINC-PREP-NOT: -ppc-loop-preinc-prep
4 ; STOP-BEFORE-LOOP-PREINC-PREP-NOT: "ppc-loop-preinc-prep" pass is not registered.
5 ; STOP-BEFORE-LOOP-PREINC-PREP-NOT: Prepare loop for pre-inc. addressing modes
7 ; RUN: llc -mtriple=powerpc64le-unknown-unknown < %s -debug-pass=Structure -stop-after=ppc-loop-preinc-prep -o /dev/null 2>&1 | FileCheck %s -check-prefix=STOP-AFTER-LOOP-PREINC-PREP
8 ; STOP-AFTER-LOOP-PREINC-PREP: -ppc-loop-preinc-prep
9 ; STOP-AFTER-LOOP-PREINC-PREP-NOT: "ppc-loop-preinc-prep" pass is not registered.
10 ; STOP-AFTER-LOOP-PREINC-PREP: Prepare loop for pre-inc. addressing modes
13 ; Test pass name: ppc-toc-reg-deps.
14 ; RUN: llc -mtriple=powerpc64le-unknown-unknown < %s -debug-pass=Structure -stop-before=ppc-toc-reg-deps -o /dev/null 2>&1 | FileCheck %s -check-prefix=STOP-BEFORE-TOC-REG-DEPS
15 ; STOP-BEFORE-TOC-REG-DEPS-NOT: -ppc-toc-reg-deps
16 ; STOP-BEFORE-TOC-REG-DEPS-NOT: "ppc-toc-reg-deps" pass is not registered.
17 ; STOP-BEFORE-TOC-REG-DEPS-NOT: PowerPC TOC Register Dependencies
19 ; RUN: llc -mtriple=powerpc64le-unknown-unknown < %s -debug-pass=Structure -stop-after=ppc-toc-reg-deps -o /dev/null 2>&1 | FileCheck %s -check-prefix=STOP-AFTER-TOC-REG-DEPS
20 ; STOP-AFTER-TOC-REG-DEPS: -ppc-toc-reg-deps
21 ; STOP-AFTER-TOC-REG-DEPS-NOT: "ppc-toc-reg-deps" pass is not registered.
22 ; STOP-AFTER-TOC-REG-DEPS: PowerPC TOC Register Dependencies
25 ; Test pass name: ppc-vsx-copy.
26 ; RUN: llc -mtriple=powerpc64le-unknown-unknown < %s -debug-pass=Structure -stop-before=ppc-vsx-copy -o /dev/null 2>&1 | FileCheck %s -check-prefix=STOP-BEFORE-VSX-COPY
27 ; STOP-BEFORE-VSX-COPY-NOT: -ppc-vsx-copy
28 ; STOP-BEFORE-VSX-COPY-NOT: "ppc-vsx-copy" pass is not registered.
29 ; STOP-BEFORE-VSX-COPY-NOT: PowerPC VSX Copy Legalization
31 ; RUN: llc -mtriple=powerpc64le-unknown-unknown < %s -debug-pass=Structure -stop-after=ppc-vsx-copy -o /dev/null 2>&1 | FileCheck %s -check-prefix=STOP-AFTER-VSX-COPY
32 ; STOP-AFTER-VSX-COPY: -ppc-vsx-copy
33 ; STOP-AFTER-VSX-COPY-NOT: "ppc-vsx-copy" pass is not registered.
34 ; STOP-AFTER-VSX-COPY: PowerPC VSX Copy Legalization
37 ; Test pass name: ppc-early-ret.
38 ; RUN: llc -mtriple=powerpc64le-unknown-unknown < %s -debug-pass=Structure -stop-before=ppc-early-ret -o /dev/null 2>&1 | FileCheck %s -check-prefix=STOP-BEFORE-EARLY-RET
39 ; STOP-BEFORE-EARLY-RET-NOT: -ppc-early-ret
40 ; STOP-BEFORE-EARLY-RET-NOT: "ppc-early-ret" pass is not registered.
41 ; STOP-BEFORE-EARLY-RET-NOT: PowerPC Early-Return Creation
43 ; RUN: llc -mtriple=powerpc64le-unknown-unknown < %s -debug-pass=Structure -stop-after=ppc-early-ret -o /dev/null 2>&1 | FileCheck %s -check-prefix=STOP-AFTER-EARLY-RET
44 ; STOP-AFTER-EARLY-RET: -ppc-early-ret
45 ; STOP-AFTER-ERALY-RET-NOT: "ppc-early-ret" pass is not registered.
46 ; STOP-AFTER-EARLY-RET: PowerPC Early-Return Creation
49 ; Test pass name: ppc-vsx-fma-mutate.
50 ; RUN: llc -mtriple=powerpc64le-unknown-unknown < %s -debug-pass=Structure -stop-before=ppc-vsx-fma-mutate -o /dev/null 2>&1 | FileCheck %s -check-prefix=STOP-BEFORE-VSX-FMA-MUTATE
51 ; STOP-BEFORE-VSX-FMA-MUTATE-NOT: -ppc-vsx-fma-mutate
52 ; STOP-BEFORE-VSX-FMA-MUTATE-NOT: "ppc-vsx-fma-mutate" pass is not registered.
53 ; STOP-BEFORE-VSX-FMA-MUTATE-NOT: PowerPC VSX FMA Mutation
55 ; RUN: llc -mtriple=powerpc64le-unknown-unknown < %s -debug-pass=Structure -stop-after=ppc-vsx-fma-mutate -o /dev/null 2>&1 | FileCheck %s -check-prefix=STOP-AFTER-VSX-FMA-MUTATE
56 ; STOP-AFTER-VSX-FMA-MUTATE: -ppc-vsx-fma-mutate
57 ; STOP-AFTER-VSX-FMA-MUTATE-NOT: "ppc-vsx-fma-mutate" pass is not registered.
58 ; STOP-AFTER-VSX-FMA-MUTATE: PowerPC VSX FMA Mutation
61 ; Test pass name: ppc-vsx-swaps.
62 ; RUN: llc -mtriple=powerpc64le-unknown-unknown < %s -debug-pass=Structure -stop-before=ppc-vsx-swaps -o /dev/null 2>&1 | FileCheck %s -check-prefix=STOP-BEFORE-VSX-SWAPS
63 ; STOP-BEFORE-VSX-SWAPS-NOT: -ppc-vsx-swaps
64 ; STOP-BEFORE-VSX-SWAPS-NOT: "ppc-vsx-swaps" pass is not registered.
65 ; STOP-BEFORE-VSX-SWAPS-NOT: PowerPC VSX Swap Removal
67 ; RUN: llc -mtriple=powerpc64le-unknown-unknown < %s -debug-pass=Structure -stop-after=ppc-vsx-swaps -o /dev/null 2>&1 | FileCheck %s -check-prefix=STOP-AFTER-VSX-SWAPS
68 ; STOP-AFTER-VSX-SWAPS: -ppc-vsx-swaps
69 ; STOP-AFTER-VSX-SWAPS-NOT: "ppc-vsx-swaps" pass is not registered.
70 ; STOP-AFTER-VSX-SWAPS: PowerPC VSX Swap Removal
73 ; Test pass name: ppc-reduce-cr-ops.
74 ; RUN: llc -ppc-reduce-cr-logicals -mtriple=powerpc64le-unknown-unknown < %s -debug-pass=Structure -stop-before=ppc-reduce-cr-ops -o /dev/null 2>&1 | FileCheck %s -check-prefix=STOP-BEFORE-REDUCE-CR-OPS
75 ; STOP-BEFORE-REDUCE-CR-OPS-NOT: -ppc-reduce-cr-ops
76 ; STOP-BEFORE-REDUCE-CR-OPS-NOT: "ppc-reduce-cr-ops" pass is not registered.
77 ; STOP-BEFORE-REDUCE-CR-OPS-NOT: PowerPC Reduce CR logical Operation
79 ; RUN: llc -ppc-reduce-cr-logicals -mtriple=powerpc64le-unknown-unknown < %s -debug-pass=Structure -stop-after=ppc-reduce-cr-ops -o /dev/null 2>&1 | FileCheck %s -check-prefix=STOP-AFTER-REDUCE-CR-OPS
80 ; STOP-AFTER-REDUCE-CR-OPS: -ppc-reduce-cr-ops
81 ; STOP-AFTER-REDUCE-CR-OPS-NOT: "ppc-reduce-cr-ops" pass is not registered.
82 ; STOP-AFTER-REDUCE-CR-OPS: PowerPC Reduce CR logical Operation
85 ; Test pass name: ppc-branch-select.
86 ; RUN: llc -mtriple=powerpc64le-unknown-unknown < %s -debug-pass=Structure -stop-before=ppc-branch-select -o /dev/null 2>&1 | FileCheck %s -check-prefix=STOP-BEFORE-BRANCH-SELECT
87 ; STOP-BEFORE-BRANCH-SELECT-NOT: -ppc-branch-select
88 ; STOP-BEFORE-BRANCH-SELECT-NOT: "ppc-branch-select" pass is not registered.
89 ; STOP-BEFORE-BRANCH-SELECT-NOT: PowerPC Branch Selector
91 ; RUN: llc -mtriple=powerpc64le-unknown-unknown < %s -debug-pass=Structure -stop-after=ppc-branch-select -o /dev/null 2>&1 | FileCheck %s -check-prefix=STOP-AFTER-BRANCH-SELECT
92 ; STOP-AFTER-BRANCH-SELECT: -ppc-branch-select
93 ; STOP-AFTER-BRANCH-SELECT-NOT: "ppc-branch-select" pass is not registered.
94 ; STOP-AFTER-BRANCH-SELECT: PowerPC Branch Selector
97 ; Test pass name: ppc-branch-coalescing.
98 ; RUN: llc -enable-ppc-branch-coalesce -mtriple=powerpc64le-unknown-unknown < %s -debug-pass=Structure -stop-before=ppc-branch-coalescing -o /dev/null 2>&1 | FileCheck %s -check-prefix=STOP-BEFORE-BRANCH-COALESCING
99 ; STOP-BEFORE-BRANCH-COALESCING-NOT: -ppc-branch-coalescing
100 ; STOP-BEFORE-BRANCH-COALESCING-NOT: "ppc-branch-coalescing" pass is not registered.
101 ; STOP-BEFORE-BRANCH-COALESCING-NOT: Branch Coalescing 
103 ; RUN: llc -enable-ppc-branch-coalesce -mtriple=powerpc64le-unknown-unknown < %s -debug-pass=Structure -stop-after=ppc-branch-coalescing -o /dev/null 2>&1 | FileCheck %s -check-prefix=STOP-AFTER-BRANCH-COALESCING
104 ; STOP-AFTER-BRANCH-COALESCING: -ppc-branch-coalescing
105 ; STOP-AFTER-BRANCH-COALESCING-NOT: "ppc-branch-coalescing" pass is not registered.
106 ; STOP-AFTER-BRANCH-COALESCING: Branch Coalescing 
109 ; Test pass name: ppc-qpx-load-splat.
110 ; RUN: llc -mtriple=powerpc64le-unknown-unknown < %s -debug-pass=Structure -stop-before=ppc-qpx-load-splat -o /dev/null 2>&1 | FileCheck %s -check-prefix=STOP-BEFORE-QPX-LOAD-SPLAT
111 ; STOP-BEFORE-QPX-LOAD-SPLAT-NOT: -ppc-qpx-load-splat
112 ; STOP-BEFORE-QPX-LOAD-SPLAT-NOT: "ppc-qpx-load-splat" pass is not registered.
113 ; STOP-BEFORE-QPX-LOAD-SPLAT-NOT: PowerPC QPX Load Splat Simplification
115 ; RUN: llc -mtriple=powerpc64le-unknown-unknown < %s -debug-pass=Structure -stop-after=ppc-qpx-load-splat -o /dev/null 2>&1 | FileCheck %s -check-prefix=STOP-AFTER-QPX-LOAD-SPLAT
116 ; STOP-AFTER-QPX-LOAD-SPLAT: -ppc-qpx-load-splat
117 ; STOP-AFTER-QPX-LOAD-SPLAT-NOT: "ppc-qpx-load-splat" pass is not registered.
118 ; STOP-AFTER-QPX-LOAD-SPLAT: PowerPC QPX Load Splat Simplification