LLVM 22.0.0git
MipsSEInstrInfo.cpp File Reference

Go to the source code of this file.

Functions

static unsigned getUnconditionalBranch (const MipsSubtarget &STI)
static std::pair< bool, boolreadsWritesFloatRegister (MachineInstr &MI, Register Reg)
static bool isWritedByFCMP (MachineBasicBlock::iterator I, Register Reg)
static bool isOnlyReadsBySEL (MachineBasicBlock::iterator I, Register Reg)
static bool isORCopyInst (const MachineInstr &MI)

Function Documentation

◆ getUnconditionalBranch()

◆ isOnlyReadsBySEL()

bool isOnlyReadsBySEL ( MachineBasicBlock::iterator I,
Register Reg )
static

Definition at line 118 of file MipsSEInstrInfo.cpp.

References I, MBB, readsWritesFloatRegister(), and Reg.

Referenced by llvm::MipsSEInstrInfo::copyPhysReg().

◆ isORCopyInst()

bool isORCopyInst ( const MachineInstr & MI)
static

Definition at line 274 of file MipsSEInstrInfo.cpp.

References MI.

Referenced by llvm::MipsSEInstrInfo::isCopyInstrImpl().

◆ isWritedByFCMP()

bool isWritedByFCMP ( MachineBasicBlock::iterator I,
Register Reg )
static

Definition at line 100 of file MipsSEInstrInfo.cpp.

References I, MBB, readsWritesFloatRegister(), and Reg.

Referenced by llvm::MipsSEInstrInfo::copyPhysReg().

◆ readsWritesFloatRegister()

std::pair< bool, bool > readsWritesFloatRegister ( MachineInstr & MI,
Register Reg )
static

Definition at line 76 of file MipsSEInstrInfo.cpp.

References assert(), llvm::getFloatRegFromFReg(), MI, and Reg.

Referenced by isOnlyReadsBySEL(), and isWritedByFCMP().