LLVM
8.0.1
|
#include "Target/RISCV/RISCVInstrInfo.h"
Definition at line 25 of file RISCVInstrInfo.h.
RISCVInstrInfo::RISCVInstrInfo | ( | ) |
Definition at line 32 of file RISCVInstrInfo.cpp.
|
override |
Definition at line 213 of file RISCVInstrInfo.cpp.
References llvm::SmallVectorImpl< T >::clear(), llvm::MachineBasicBlock::end(), llvm::HexagonMCInstrInfo::getDesc(), llvm::MachineBasicBlock::getLastNonDebugInstr(), llvm::MachineInstrBundleIterator< Ty, IsReverse >::getReverse(), I, parseCondBranch(), and llvm::MachineBasicBlock::rend().
|
override |
Definition at line 84 of file RISCVInstrInfo.cpp.
References llvm::MachineInstrBuilder::addImm(), llvm::MachineInstrBuilder::addReg(), llvm::BuildMI(), contains(), llvm::getKillRegState(), and llvm_unreachable.
|
override |
Definition at line 402 of file RISCVInstrInfo.cpp.
References assert(), llvm::MachineInstr::getDesc(), llvm::MachineOperand::getMBB(), llvm::MachineInstr::getNumExplicitOperands(), llvm::MachineInstr::getOperand(), and llvm::MCInstrDesc::isBranch().
|
override |
Definition at line 430 of file RISCVInstrInfo.cpp.
References llvm::ISD::EH_LABEL, llvm::MachineInstr::getOpcode(), llvm::MachineInstr::getOperand(), llvm::MachineBasicBlock::getParent(), llvm::MachineInstr::getParent(), llvm::MachineOperand::getSymbolName(), llvm::MachineFunction::getTarget(), llvm::ISD::INLINEASM, llvm::AMDGPUISD::KILL, and llvm::SystemZISD::TM.
Referenced by insertBranch(), and removeBranch().
|
override |
Definition at line 315 of file RISCVInstrInfo.cpp.
References llvm::MachineInstrBuilder::add(), llvm::MachineInstrBuilder::addMBB(), assert(), llvm::BuildMI(), llvm::ArrayRef< T >::empty(), getInstSizeInBytes(), MI, and llvm::ArrayRef< T >::size().
|
override |
Definition at line 352 of file RISCVInstrInfo.cpp.
References llvm::MachineInstrBuilder::addMBB(), llvm::MachineInstrBuilder::addReg(), assert(), llvm::BuildMI(), llvm::MachineRegisterInfo::clearVirtRegs(), llvm::MachineRegisterInfo::createVirtualRegister(), llvm::MachineBasicBlock::empty(), llvm::MachineBasicBlock::end(), llvm::RegScavenger::enterBasicBlockEnd(), llvm::MachineBasicBlock::getParent(), llvm::isInt< 32 >(), llvm::RegState::Kill, llvm::RISCVII::MO_HI, llvm::RISCVII::MO_LO, MRI, llvm::MachineBasicBlock::pred_size(), llvm::MachineRegisterInfo::replaceRegWith(), llvm::report_fatal_error(), llvm::RegScavenger::scavengeRegisterBackwards(), llvm::RegScavenger::setRegUsed(), and llvm::SystemZISD::TM.
Definition at line 409 of file RISCVInstrInfo.cpp.
References llvm::isIntN(), and llvm_unreachable.
|
override |
Definition at line 35 of file RISCVInstrInfo.cpp.
References llvm::X86ISD::FLD, llvm::MachineOperand::getImm(), llvm::MachineOperand::getIndex(), llvm::MachineInstr::getOpcode(), llvm::MachineInstr::getOperand(), llvm::MachineOperand::getReg(), llvm::MachineOperand::isFI(), llvm::MachineOperand::isImm(), and llvm::ARM_MB::LD.
|
override |
Definition at line 61 of file RISCVInstrInfo.cpp.
References llvm::MachineOperand::getImm(), llvm::MachineOperand::getIndex(), llvm::MachineInstr::getOpcode(), llvm::MachineInstr::getOperand(), llvm::MachineOperand::getReg(), llvm::MachineOperand::isFI(), and llvm::MachineOperand::isImm().
|
override |
Definition at line 136 of file RISCVInstrInfo.cpp.
References llvm::MachineInstrBuilder::addFrameIndex(), llvm::MachineInstrBuilder::addImm(), llvm::BuildMI(), llvm::MachineBasicBlock::end(), llvm::X86ISD::FLD, llvm::TargetRegisterInfo::getRegSizeInBits(), llvm::ARM_MB::LD, and llvm_unreachable.
void RISCVInstrInfo::movImm32 | ( | MachineBasicBlock & | MBB, |
MachineBasicBlock::iterator | MBBI, | ||
const DebugLoc & | DL, | ||
unsigned | DstReg, | ||
uint64_t | Val, | ||
MachineInstr::MIFlag | Flag = MachineInstr::NoFlags |
||
) | const |
Definition at line 160 of file RISCVInstrInfo.cpp.
References llvm::MachineInstrBuilder::addImm(), llvm::MachineInstrBuilder::addReg(), assert(), llvm::BuildMI(), llvm::isInt< 32 >(), llvm::RegState::Kill, and llvm::MachineInstrBuilder::setMIFlag().
Referenced by llvm::RISCVRegisterInfo::eliminateFrameIndex(), and llvm::RISCVFrameLowering::hasFP().
|
override |
Definition at line 281 of file RISCVInstrInfo.cpp.
References llvm::MachineBasicBlock::begin(), llvm::MachineBasicBlock::end(), getInstSizeInBytes(), llvm::MachineBasicBlock::getLastNonDebugInstr(), and I.
|
override |
Definition at line 394 of file RISCVInstrInfo.cpp.
References assert(), getOppositeBranchOpcode(), and llvm::SmallVectorBase::size().
|
override |
Definition at line 109 of file RISCVInstrInfo.cpp.
References llvm::MachineInstrBuilder::addFrameIndex(), llvm::MachineInstrBuilder::addImm(), llvm::MachineInstrBuilder::addReg(), llvm::BuildMI(), llvm::MachineBasicBlock::end(), llvm::getKillRegState(), llvm::TargetRegisterInfo::getRegSizeInBits(), and llvm_unreachable.