LLVM  14.0.0git
PPCRegisterBankInfo.cpp
Go to the documentation of this file.
1 //===- PPCRegisterBankInfo.cpp --------------------------------------------===//
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 RegisterBankInfo class for
10 /// PowerPC.
11 //===----------------------------------------------------------------------===//
12 
13 #include "PPCRegisterBankInfo.h"
14 #include "PPCRegisterInfo.h"
17 #include "llvm/Support/Debug.h"
18 
19 #define DEBUG_TYPE "ppc-reg-bank-info"
20 
21 #define GET_TARGET_REGBANK_IMPL
22 #include "PPCGenRegisterBank.inc"
23 
24 using namespace llvm;
25 
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition: AllocatorList.h:23
PPCRegisterInfo.h
llvm::PPCGenRegisterBankInfo
Definition: PPCRegisterBankInfo.h:27
llvm::TargetRegisterInfo
TargetRegisterInfo base class - We assume that the target defines a static array of TargetRegisterDes...
Definition: TargetRegisterInfo.h:233
TRI
unsigned const TargetRegisterInfo * TRI
Definition: MachineSink.cpp:1559
PPCRegisterBankInfo.h
MachineRegisterInfo.h
llvm::PPCRegisterBankInfo::PPCRegisterBankInfo
PPCRegisterBankInfo(const TargetRegisterInfo &TRI)
Definition: PPCRegisterBankInfo.cpp:26
MachineFunction.h
Debug.h