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 17def AmpereCheapLSL : MCSchedPredicate< 18 CheckAny<[CheckShiftBy0, 19 CheckAll< 20 [CheckShiftLSL, 21 CheckAny< 22 [CheckShiftBy1, 23 CheckShiftBy2, 24 CheckShiftBy3, 25 CheckShiftBy4]>]>]>>; 26