LLVM
15.0.0git
lib
Target
PowerPC
GISel
PPCLegalizerInfo.cpp
Go to the documentation of this file.
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
}
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition:
AddressRanges.h:17
llvm::PPCSubtarget
Definition:
PPCSubtarget.h:71
llvm::PPCLegalizerInfo::PPCLegalizerInfo
PPCLegalizerInfo(const PPCSubtarget &ST)
Definition:
PPCLegalizerInfo.cpp:20
llvm::ARM_MB::ST
@ ST
Definition:
ARMBaseInfo.h:73
PPCLegalizerInfo.h
Debug.h
Generated on Wed Jul 20 2022 16:47:58 for LLVM by
1.8.17