PPCMacroFusion.h 886 B

12345678910111213141516171819202122
  1. //===- PPCMacroFusion.h - PowerPC 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-exception
  6. //
  7. //===----------------------------------------------------------------------===//
  8. //
  9. /// \file This file contains the PowerPC definition of the DAG scheduling
  10. /// mutation to pair instructions back to back.
  11. //
  12. //===----------------------------------------------------------------------===//
  13. #include "llvm/CodeGen/MachineScheduler.h"
  14. namespace llvm {
  15. /// Note that you have to add:
  16. /// DAG.addMutation(createPowerPCMacroFusionDAGMutation());
  17. /// to PPCPassConfig::createMachineScheduler() to have an effect.
  18. std::unique_ptr<ScheduleDAGMutation> createPowerPCMacroFusionDAGMutation();
  19. } // llvm