Path: blob/main/contrib/llvm-project/llvm/lib/Target/AArch64/AArch64MacroFusion.h
35269 views
//===- AArch64MacroFusion.h - AArch64 Macro Fusion ------------------------===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//7//8/// \file This file contains the AArch64 definition of the DAG scheduling9/// mutation to pair instructions back to back.10//11//===----------------------------------------------------------------------===//1213#ifndef LLVM_LIB_TARGET_AARCH64_AARCH64MACROFUSION_H14#define LLVM_LIB_TARGET_AARCH64_AARCH64MACROFUSION_H1516#include "llvm/CodeGen/MachineScheduler.h"1718namespace llvm {1920/// Note that you have to add:21/// DAG.addMutation(createAArch64MacroFusionDAGMutation());22/// to AArch64PassConfig::createMachineScheduler() to have an effect.23std::unique_ptr<ScheduleDAGMutation> createAArch64MacroFusionDAGMutation();2425} // llvm2627#endif // LLVM_LIB_TARGET_AARCH64_AARCH64MACROFUSION_H282930