LLVM  8.0.1
Public Member Functions | List of all members
llvm::BPFInstrInfo Class Reference

#include "Target/BPF/BPFInstrInfo.h"

Inheritance diagram for llvm::BPFInstrInfo:
Inheritance graph
[legend]
Collaboration diagram for llvm::BPFInstrInfo:
Collaboration graph
[legend]

Public Member Functions

 BPFInstrInfo ()
 
const BPFRegisterInfogetRegisterInfo () const
 
void copyPhysReg (MachineBasicBlock &MBB, MachineBasicBlock::iterator I, const DebugLoc &DL, unsigned DestReg, unsigned SrcReg, bool KillSrc) const override
 
bool expandPostRAPseudo (MachineInstr &MI) const override
 
void storeRegToStackSlot (MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, unsigned SrcReg, bool isKill, int FrameIndex, const TargetRegisterClass *RC, const TargetRegisterInfo *TRI) const override
 
void loadRegFromStackSlot (MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, unsigned DestReg, int FrameIndex, const TargetRegisterClass *RC, const TargetRegisterInfo *TRI) const override
 
bool analyzeBranch (MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB, SmallVectorImpl< MachineOperand > &Cond, bool AllowModify) const override
 
unsigned removeBranch (MachineBasicBlock &MBB, int *BytesRemoved=nullptr) const override
 
unsigned insertBranch (MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB, ArrayRef< MachineOperand > Cond, const DebugLoc &DL, int *BytesAdded=nullptr) const override
 

Detailed Description

Definition at line 25 of file BPFInstrInfo.h.

Constructor & Destructor Documentation

◆ BPFInstrInfo()

BPFInstrInfo::BPFInstrInfo ( )

Definition at line 29 of file BPFInstrInfo.cpp.

Member Function Documentation

◆ analyzeBranch()

bool BPFInstrInfo::analyzeBranch ( MachineBasicBlock MBB,
MachineBasicBlock *&  TBB,
MachineBasicBlock *&  FBB,
SmallVectorImpl< MachineOperand > &  Cond,
bool  AllowModify 
) const
override

◆ copyPhysReg()

void BPFInstrInfo::copyPhysReg ( MachineBasicBlock MBB,
MachineBasicBlock::iterator  I,
const DebugLoc DL,
unsigned  DestReg,
unsigned  SrcReg,
bool  KillSrc 
) const
override

◆ expandPostRAPseudo()

bool BPFInstrInfo::expandPostRAPseudo ( MachineInstr MI) const
override

Definition at line 116 of file BPFInstrInfo.cpp.

References llvm::MachineInstr::getOpcode(), and llvm::ARMISD::MEMCPY.

Referenced by getRegisterInfo().

◆ getRegisterInfo()

const BPFRegisterInfo& llvm::BPFInstrInfo::getRegisterInfo ( ) const
inline

◆ insertBranch()

unsigned BPFInstrInfo::insertBranch ( MachineBasicBlock MBB,
MachineBasicBlock TBB,
MachineBasicBlock FBB,
ArrayRef< MachineOperand Cond,
const DebugLoc DL,
int *  BytesAdded = nullptr 
) const
override

◆ loadRegFromStackSlot()

void BPFInstrInfo::loadRegFromStackSlot ( MachineBasicBlock MBB,
MachineBasicBlock::iterator  MBBI,
unsigned  DestReg,
int  FrameIndex,
const TargetRegisterClass RC,
const TargetRegisterInfo TRI 
) const
override

◆ removeBranch()

unsigned BPFInstrInfo::removeBranch ( MachineBasicBlock MBB,
int *  BytesRemoved = nullptr 
) const
override

◆ storeRegToStackSlot()

void BPFInstrInfo::storeRegToStackSlot ( MachineBasicBlock MBB,
MachineBasicBlock::iterator  MBBI,
unsigned  SrcReg,
bool  isKill,
int  FrameIndex,
const TargetRegisterClass RC,
const TargetRegisterInfo TRI 
) const
override

The documentation for this class was generated from the following files: