LLVM  14.0.0git
PPCRegisterBankInfo.h
Go to the documentation of this file.
1 //===-- PPCRegisterBankInfo.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 ///
9 /// \file
10 /// This file declares the targeting of the RegisterBankInfo class for PowerPC.
11 ///
12 //===----------------------------------------------------------------------===//
13 
14 #ifndef LLVM_LIB_TARGET_PPC_GISEL_PPCREGISTERBANKINFO_H
15 #define LLVM_LIB_TARGET_PPC_GISEL_PPCREGISTERBANKINFO_H
16 
20 
21 #define GET_REGBANK_DECLARATIONS
22 #include "PPCGenRegisterBank.inc"
23 
24 namespace llvm {
25 class TargetRegisterInfo;
26 
28 protected:
29 #define GET_TARGET_REGBANK_CLASS
30 #include "PPCGenRegisterBank.inc"
31 };
32 
34 public:
36 };
37 } // namespace llvm
38 
39 #endif
llvm
This file implements support for optimizing divisions by a constant.
Definition: AllocatorList.h:23
llvm::PPCGenRegisterBankInfo
Definition: PPCRegisterBankInfo.h:27
RegisterBankInfo.h
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:1567
llvm::RegisterBankInfo
Holds all the information related to register banks.
Definition: RegisterBankInfo.h:39
llvm::PPCRegisterBankInfo::PPCRegisterBankInfo
PPCRegisterBankInfo(const TargetRegisterInfo &TRI)
Definition: PPCRegisterBankInfo.cpp:26
RegisterBank.h
llvm::PPCRegisterBankInfo
Definition: PPCRegisterBankInfo.h:33
TargetRegisterInfo.h