108 lines · plain
1; Test pass name: ppc-loop-instr-form-prep.2; RUN: llc -mtriple=powerpc64le-unknown-unknown < %s -debug-pass=Structure -stop-before=ppc-loop-instr-form-prep -o /dev/null 2>&1 | FileCheck %s -check-prefix=STOP-BEFORE-LOOP-INSTR-FORM-PREP3; STOP-BEFORE-LOOP-INSTR-FORM-PREP-NOT: -ppc-loop-instr-form-prep4; STOP-BEFORE-LOOP-INSTR-FORM-PREP-NOT: "ppc-loop-instr-form-prep" pass is not registered.5; STOP-BEFORE-LOOP-INSTR-FORM-PREP-NOT: Prepare loop for ppc preferred instruction forms6 7; RUN: llc -mtriple=powerpc64le-unknown-unknown < %s -debug-pass=Structure -stop-after=ppc-loop-instr-form-prep -o /dev/null 2>&1 | FileCheck %s -check-prefix=STOP-AFTER-LOOP-INSTR-FORM-PREP8; STOP-AFTER-LOOP-INSTR-FORM-PREP: -ppc-loop-instr-form-prep9; STOP-AFTER-LOOP-INSTR-FORM-PREP-NOT: "ppc-loop-instr-form-prep" pass is not registered.10; STOP-AFTER-LOOP-INSTR-FORM-PREP: Prepare loop for ppc preferred instruction forms11 12 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-DEPS15; STOP-BEFORE-TOC-REG-DEPS-NOT: -ppc-toc-reg-deps16; STOP-BEFORE-TOC-REG-DEPS-NOT: "ppc-toc-reg-deps" pass is not registered.17; STOP-BEFORE-TOC-REG-DEPS-NOT: PowerPC TOC Register Dependencies18 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-DEPS20; STOP-AFTER-TOC-REG-DEPS: -ppc-toc-reg-deps21; STOP-AFTER-TOC-REG-DEPS-NOT: "ppc-toc-reg-deps" pass is not registered.22; STOP-AFTER-TOC-REG-DEPS: PowerPC TOC Register Dependencies23 24 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-COPY27; STOP-BEFORE-VSX-COPY-NOT: -ppc-vsx-copy28; STOP-BEFORE-VSX-COPY-NOT: "ppc-vsx-copy" pass is not registered.29; STOP-BEFORE-VSX-COPY-NOT: PowerPC VSX Copy Legalization30 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-COPY32; STOP-AFTER-VSX-COPY: -ppc-vsx-copy33; STOP-AFTER-VSX-COPY-NOT: "ppc-vsx-copy" pass is not registered.34; STOP-AFTER-VSX-COPY: PowerPC VSX Copy Legalization35 36 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-RET39; STOP-BEFORE-EARLY-RET-NOT: -ppc-early-ret40; STOP-BEFORE-EARLY-RET-NOT: "ppc-early-ret" pass is not registered.41; STOP-BEFORE-EARLY-RET-NOT: PowerPC Early-Return Creation42 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-RET44; STOP-AFTER-EARLY-RET: -ppc-early-ret45; STOP-AFTER-EARLY-RET-NOT: "ppc-early-ret" pass is not registered.46; STOP-AFTER-EARLY-RET: PowerPC Early-Return Creation47 48 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-MUTATE51; STOP-BEFORE-VSX-FMA-MUTATE-NOT: -ppc-vsx-fma-mutate52; STOP-BEFORE-VSX-FMA-MUTATE-NOT: "ppc-vsx-fma-mutate" pass is not registered.53; STOP-BEFORE-VSX-FMA-MUTATE-NOT: PowerPC VSX FMA Mutation54 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-MUTATE56; STOP-AFTER-VSX-FMA-MUTATE: -ppc-vsx-fma-mutate57; STOP-AFTER-VSX-FMA-MUTATE-NOT: "ppc-vsx-fma-mutate" pass is not registered.58; STOP-AFTER-VSX-FMA-MUTATE: PowerPC VSX FMA Mutation59 60 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-SWAPS63; STOP-BEFORE-VSX-SWAPS-NOT: -ppc-vsx-swaps64; STOP-BEFORE-VSX-SWAPS-NOT: "ppc-vsx-swaps" pass is not registered.65; STOP-BEFORE-VSX-SWAPS-NOT: PowerPC VSX Swap Removal66 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-SWAPS68; STOP-AFTER-VSX-SWAPS: -ppc-vsx-swaps69; STOP-AFTER-VSX-SWAPS-NOT: "ppc-vsx-swaps" pass is not registered.70; STOP-AFTER-VSX-SWAPS: PowerPC VSX Swap Removal71 72 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-OPS75; STOP-BEFORE-REDUCE-CR-OPS-NOT: -ppc-reduce-cr-ops76; 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 Operation78 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-OPS80; STOP-AFTER-REDUCE-CR-OPS: -ppc-reduce-cr-ops81; STOP-AFTER-REDUCE-CR-OPS-NOT: "ppc-reduce-cr-ops" pass is not registered.82; STOP-AFTER-REDUCE-CR-OPS: PowerPC Reduce CR logical Operation83 84 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-SELECT87; STOP-BEFORE-BRANCH-SELECT-NOT: -ppc-branch-select88; STOP-BEFORE-BRANCH-SELECT-NOT: "ppc-branch-select" pass is not registered.89; STOP-BEFORE-BRANCH-SELECT-NOT: PowerPC Branch Selector90 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-SELECT92; STOP-AFTER-BRANCH-SELECT: -ppc-branch-select93; STOP-AFTER-BRANCH-SELECT-NOT: "ppc-branch-select" pass is not registered.94; STOP-AFTER-BRANCH-SELECT: PowerPC Branch Selector95 96 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-COALESCING99; STOP-BEFORE-BRANCH-COALESCING-NOT: -ppc-branch-coalescing100; STOP-BEFORE-BRANCH-COALESCING-NOT: "ppc-branch-coalescing" pass is not registered.101; STOP-BEFORE-BRANCH-COALESCING-NOT: Branch Coalescing 102 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-COALESCING104; STOP-AFTER-BRANCH-COALESCING: -ppc-branch-coalescing105; STOP-AFTER-BRANCH-COALESCING-NOT: "ppc-branch-coalescing" pass is not registered.106; STOP-AFTER-BRANCH-COALESCING: Branch Coalescing 107 108