xref: /freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/GISel/PPCLegalizerInfo.cpp (revision e32fecd0c2c3ee37c47ee100f169e7eb0282a873)
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 implements the targeting of the Machinelegalizer class for PowerPC
10 //===----------------------------------------------------------------------===//
11 
12 #include "PPCLegalizerInfo.h"
13 #include "llvm/Support/Debug.h"
14 
15 #define DEBUG_TYPE "ppc-legalinfo"
16 
17 using namespace llvm;
18 using namespace LegalizeActions;
19 
20 PPCLegalizerInfo::PPCLegalizerInfo(const PPCSubtarget &ST) {
21   getLegacyLegalizerInfo().computeTables();
22 }
23