LLVM  4.0.0
Public Member Functions | List of all members
llvm::WebAssemblyInstrInfo Class Referencefinal

#include <WebAssemblyInstrInfo.h>

Inheritance diagram for llvm::WebAssemblyInstrInfo:
[legend]
Collaboration diagram for llvm::WebAssemblyInstrInfo:
[legend]

Public Member Functions

 WebAssemblyInstrInfo (const WebAssemblySubtarget &STI)
 
const WebAssemblyRegisterInfogetRegisterInfo () const
 
bool isReallyTriviallyReMaterializable (const MachineInstr &MI, AliasAnalysis *AA) const override
 
void copyPhysReg (MachineBasicBlock &MBB, MachineBasicBlock::iterator MI, const DebugLoc &DL, unsigned DestReg, unsigned SrcReg, bool KillSrc) const override
 
MachineInstrcommuteInstructionImpl (MachineInstr &MI, bool NewMI, unsigned OpIdx1, unsigned OpIdx2) const override
 
bool analyzeBranch (MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB, SmallVectorImpl< MachineOperand > &Cond, bool AllowModify=false) 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
 
bool reverseBranchCondition (SmallVectorImpl< MachineOperand > &Cond) const override
 

Detailed Description

Definition at line 29 of file WebAssemblyInstrInfo.h.

Constructor & Destructor Documentation

WebAssemblyInstrInfo::WebAssemblyInstrInfo ( const WebAssemblySubtarget STI)
explicit

Definition at line 31 of file WebAssemblyInstrInfo.cpp.

Member Function Documentation

bool WebAssemblyInstrInfo::analyzeBranch ( MachineBasicBlock MBB,
MachineBasicBlock *&  TBB,
MachineBasicBlock *&  FBB,
SmallVectorImpl< MachineOperand > &  Cond,
bool  AllowModify = false 
) const
override
MachineInstr * WebAssemblyInstrInfo::commuteInstructionImpl ( MachineInstr MI,
bool  NewMI,
unsigned  OpIdx1,
unsigned  OpIdx2 
) const
override
void WebAssemblyInstrInfo::copyPhysReg ( MachineBasicBlock MBB,
MachineBasicBlock::iterator  MI,
const DebugLoc DL,
unsigned  DestReg,
unsigned  SrcReg,
bool  KillSrc 
) const
override
const WebAssemblyRegisterInfo& llvm::WebAssemblyInstrInfo::getRegisterInfo ( ) const
inline

Definition at line 35 of file WebAssemblyInstrInfo.h.

Referenced by llvm::WebAssemblySubtarget::getRegisterInfo().

unsigned WebAssemblyInstrInfo::insertBranch ( MachineBasicBlock MBB,
MachineBasicBlock TBB,
MachineBasicBlock FBB,
ArrayRef< MachineOperand Cond,
const DebugLoc DL,
int *  BytesAdded = nullptr 
) const
override
bool WebAssemblyInstrInfo::isReallyTriviallyReMaterializable ( const MachineInstr MI,
AliasAnalysis AA 
) const
override

Definition at line 36 of file WebAssemblyInstrInfo.cpp.

References llvm::MachineInstr::getOpcode().

unsigned WebAssemblyInstrInfo::removeBranch ( MachineBasicBlock MBB,
int *  BytesRemoved = nullptr 
) const
override
bool WebAssemblyInstrInfo::reverseBranchCondition ( SmallVectorImpl< MachineOperand > &  Cond) const
override

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