LLVM 24.0.0git
PISARegisterInfo.cpp
Go to the documentation of this file.
1//===----------------------------------------------------------------------===//
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 implements register information for the PISA target.
11///
12//===----------------------------------------------------------------------===//
13
14#include "PISARegisterInfo.h"
15#include "PISA.h"
16#include "PISASubtarget.h"
18
19#define GET_REGINFO_TARGET_DESC
20#include "PISAGenRegisterInfo.inc"
21
22using namespace llvm;
23
25
26const MCPhysReg *
28 static const MCPhysReg CalleeSavedRegs[] = {0};
29 return CalleeSavedRegs;
30}
31
33 return BitVector(getNumRegs());
34}
This file declares register information for the PISA target.
This file declares the PISA subtarget.
This file declares the top-level interfaces for the PISA target.
const MCPhysReg * getCalleeSavedRegs(const MachineFunction *MF) const override
BitVector getReservedRegs(const MachineFunction &MF) const override
This is an optimization pass for GlobalISel generic memory operations.
uint16_t MCPhysReg
An unsigned integer type large enough to represent all physical registers, but not necessarily virtua...
Definition MCRegister.h:21