xref: /llvm-project/llvm/lib/Target/PowerPC/GISel/PPCLegalizerInfo.h (revision 009cd4e491033f57f547a7bda63e35b50a6e5cf7)
1*009cd4e4SKit Barton //===- PPCLegalizerInfo.h ----------------------------------------*- C++ -*-==//
2*009cd4e4SKit Barton //
3*009cd4e4SKit Barton // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4*009cd4e4SKit Barton // See https://llvm.org/LICENSE.txt for license information.
5*009cd4e4SKit Barton // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6*009cd4e4SKit Barton //
7*009cd4e4SKit Barton //===----------------------------------------------------------------------===//
8*009cd4e4SKit Barton /// \file
9*009cd4e4SKit Barton /// This file declares the targeting of the Machinelegalizer class for PowerPC
10*009cd4e4SKit Barton //===----------------------------------------------------------------------===//
11*009cd4e4SKit Barton 
12*009cd4e4SKit Barton #ifndef LLVM_LIB_TARGET_POWERPC_GISEL_PPCMACHINELEGALIZER_H
13*009cd4e4SKit Barton #define LLVM_LIB_TARGET_POWERPC_GISEL_PPCMACHINELEGALIZER_H
14*009cd4e4SKit Barton 
15*009cd4e4SKit Barton #include "llvm/CodeGen/GlobalISel/LegalizerInfo.h"
16*009cd4e4SKit Barton 
17*009cd4e4SKit Barton namespace llvm {
18*009cd4e4SKit Barton 
19*009cd4e4SKit Barton class PPCSubtarget;
20*009cd4e4SKit Barton 
21*009cd4e4SKit Barton /// This class provides the information for the PowerPC target legalizer for
22*009cd4e4SKit Barton /// GlobalISel.
23*009cd4e4SKit Barton class PPCLegalizerInfo : public LegalizerInfo {
24*009cd4e4SKit Barton public:
25*009cd4e4SKit Barton   PPCLegalizerInfo(const PPCSubtarget &ST);
26*009cd4e4SKit Barton };
27*009cd4e4SKit Barton } // namespace llvm
28*009cd4e4SKit Barton #endif
29