PPCLegalizerInfo.h 975 B

12345678910111213141516171819202122232425262728
  1. //===- PPCLegalizerInfo.h ----------------------------------------*- C++ -*-==//
  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. /// \file
  9. /// This file declares the targeting of the Machinelegalizer class for PowerPC
  10. //===----------------------------------------------------------------------===//
  11. #ifndef LLVM_LIB_TARGET_POWERPC_GISEL_PPCMACHINELEGALIZER_H
  12. #define LLVM_LIB_TARGET_POWERPC_GISEL_PPCMACHINELEGALIZER_H
  13. #include "llvm/CodeGen/GlobalISel/LegalizerInfo.h"
  14. namespace llvm {
  15. class PPCSubtarget;
  16. /// This class provides the information for the PowerPC target legalizer for
  17. /// GlobalISel.
  18. class PPCLegalizerInfo : public LegalizerInfo {
  19. public:
  20. PPCLegalizerInfo(const PPCSubtarget &ST);
  21. };
  22. } // namespace llvm
  23. #endif