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
17namespace llvm {
18
19class PPCSubtarget;
20
21/// This class provides the information for the PowerPC target legalizer for
22/// GlobalISel.
23class PPCLegalizerInfo : public LegalizerInfo {
24public:
25 PPCLegalizerInfo(const PPCSubtarget &ST);
26};
27} // namespace llvm
28#endif
29

source code of llvm/lib/Target/PowerPC/GISel/PPCLegalizerInfo.h