]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm-project/llvm/lib/Target/AArch64/AArch64SchedPredAmpere.td
Merge commit 3537338d1ab9 from llvm git (by Nikolas Klauser):
[FreeBSD/FreeBSD.git] / contrib / llvm-project / llvm / lib / Target / AArch64 / AArch64SchedPredAmpere.td
1 //===- AArch64SchedPredAmpere.td - AArch64 Sched Preds -----*- tablegen -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 // This file defines scheduling predicate definitions that are used by the
10 // AArch64 Ampere Computing processors.
11 //
12 //===----------------------------------------------------------------------===//
13
14 // Auxiliary predicates.
15
16 // Check for a LSL shift <= 4
17 def AmpereCheapLSL : MCSchedPredicate<
18                                 CheckAny<[CheckShiftBy0,
19                                  CheckAll<
20                                    [CheckShiftLSL,
21                                     CheckAny<
22                                       [CheckShiftBy1,
23                                        CheckShiftBy2,
24                                        CheckShiftBy3,
25                                        CheckShiftBy4]>]>]>>;