LLVM  6.0.0svn
BPFRegisterInfo.h
Go to the documentation of this file.
1 //===-- BPFRegisterInfo.h - BPF Register Information Impl -------*- C++ -*-===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file contains the BPF implementation of the TargetRegisterInfo class.
11 //
12 //===----------------------------------------------------------------------===//
13 
14 #ifndef LLVM_LIB_TARGET_BPF_BPFREGISTERINFO_H
15 #define LLVM_LIB_TARGET_BPF_BPFREGISTERINFO_H
16 
18 
19 #define GET_REGINFO_HEADER
20 #include "BPFGenRegisterInfo.inc"
21 
22 namespace llvm {
23 
25 
27 
28  const MCPhysReg *getCalleeSavedRegs(const MachineFunction *MF) const override;
29 
30  BitVector getReservedRegs(const MachineFunction &MF) const override;
31 
33  unsigned FIOperandNum,
34  RegScavenger *RS = nullptr) const override;
35 
36  unsigned getFrameRegister(const MachineFunction &MF) const override;
37 };
38 }
39 
40 #endif
unsigned getFrameRegister(const MachineFunction &MF) const override
Compute iterated dominance frontiers using a linear time algorithm.
Definition: AllocatorList.h:24
uint16_t MCPhysReg
An unsigned integer type large enough to represent all physical registers, but not necessarily virtua...
void eliminateFrameIndex(MachineBasicBlock::iterator MI, int SPAdj, unsigned FIOperandNum, RegScavenger *RS=nullptr) const override
const MCPhysReg * getCalleeSavedRegs(const MachineFunction *MF) const override
IRTranslator LLVM IR MI
BitVector getReservedRegs(const MachineFunction &MF) const override