LLVM
15.0.0git
lib
Target
PowerPC
GISel
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
17
#include "
llvm/CodeGen/RegisterBank.h
"
18
#include "
llvm/CodeGen/RegisterBankInfo.h
"
19
#include "
llvm/CodeGen/TargetRegisterInfo.h
"
20
21
#define GET_REGBANK_DECLARATIONS
22
#include "PPCGenRegisterBank.inc"
23
24
namespace
llvm
{
25
class
TargetRegisterInfo;
26
27
class
PPCGenRegisterBankInfo
:
public
RegisterBankInfo
{
28
protected
:
29
#define GET_TARGET_REGBANK_CLASS
30
#include "PPCGenRegisterBank.inc"
31
};
32
33
class
PPCRegisterBankInfo
final :
public
PPCGenRegisterBankInfo
{
34
public
:
35
PPCRegisterBankInfo
(
const
TargetRegisterInfo
&
TRI
);
36
};
37
}
// namespace llvm
38
39
#endif
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition:
AddressRanges.h:17
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:234
TRI
unsigned const TargetRegisterInfo * TRI
Definition:
MachineSink.cpp:1620
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
Generated on Fri May 27 2022 15:44:05 for LLVM by
1.8.17