brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.0 KiB · 7682dbf Raw
29 lines · c
1//===- AArch64MacroFusion.h - AArch64 Macro Fusion ------------------------===//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-exception6//7//===----------------------------------------------------------------------===//8//9/// \file This file contains the AArch64 definition of the DAG scheduling10/// mutation to pair instructions back to back.11//12//===----------------------------------------------------------------------===//13 14#ifndef LLVM_LIB_TARGET_AARCH64_AARCH64MACROFUSION_H15#define LLVM_LIB_TARGET_AARCH64_AARCH64MACROFUSION_H16 17#include "llvm/CodeGen/MachineScheduler.h"18 19namespace llvm {20 21/// Note that you have to add:22///   DAG.addMutation(createAArch64MacroFusionDAGMutation());23/// to AArch64TargetMachine::createMachineScheduler() to have an effect.24std::unique_ptr<ScheduleDAGMutation> createAArch64MacroFusionDAGMutation();25 26} // namespace llvm27 28#endif // LLVM_LIB_TARGET_AARCH64_AARCH64MACROFUSION_H29