xref: /freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/GISel/PPCLegalizerInfo.h (revision e6bfd18d21b225af6a0ed67ceeaf1293b7b9eba5)
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 
12 #ifndef LLVM_LIB_TARGET_POWERPC_GISEL_PPCMACHINELEGALIZER_H
13 #define LLVM_LIB_TARGET_POWERPC_GISEL_PPCMACHINELEGALIZER_H
14 
15 #include "llvm/CodeGen/GlobalISel/LegalizerInfo.h"
16 
17 namespace llvm {
18 
19 class PPCSubtarget;
20 
21 /// This class provides the information for the PowerPC target legalizer for
22 /// GlobalISel.
23 class PPCLegalizerInfo : public LegalizerInfo {
24 public:
25   PPCLegalizerInfo(const PPCSubtarget &ST);
26 };
27 } // namespace llvm
28 #endif
29