LLVM
8.0.1
|
#include "Target/MSP430/MSP430InstrInfo.h"
Definition at line 27 of file MSP430InstrInfo.h.
|
explicit |
Definition at line 33 of file MSP430InstrInfo.cpp.
|
override |
Definition at line 176 of file MSP430InstrInfo.cpp.
References assert(), llvm::MachineBasicBlock::begin(), llvm::SmallVectorImpl< T >::clear(), MSP430CC::COND_INVALID, llvm::MachineOperand::CreateImm(), llvm::SmallVectorBase::empty(), llvm::MachineBasicBlock::end(), I, llvm::MachineBasicBlock::isLayoutSuccessor(), isUnpredicatedTerminator(), llvm::SmallVectorTemplateBase< T >::push_back(), and llvm::SmallVectorBase::size().
Referenced by getRegisterInfo().
|
override |
Definition at line 91 of file MSP430InstrInfo.cpp.
References llvm::MachineInstrBuilder::addReg(), llvm::BuildMI(), contains(), llvm::getKillRegState(), and llvm_unreachable.
Referenced by getRegisterInfo().
|
inline |
Definition at line 73 of file MSP430InstrInfo.h.
References assert(), llvm::MachineOperand::getImm(), and llvm::MachineInstr::getOperand().
Referenced by llvm::MSP430FrameLowering::eliminateCallFramePseudoInstr().
|
override |
GetInstSize - Return the number of bytes of code the specified instruction may be.
This returns the maximum number of bytes.
Definition at line 301 of file MSP430InstrInfo.cpp.
References llvm::ISD::EH_LABEL, llvm::MachineInstr::getDesc(), llvm::TargetInstrInfo::getInlineAsmLength(), llvm::TargetSubtargetInfo::getInstrInfo(), llvm::TargetMachine::getMCAsmInfo(), llvm::MCInstrDesc::getOpcode(), llvm::MachineInstr::getOperand(), llvm::MachineBasicBlock::getParent(), llvm::MachineInstr::getParent(), llvm::MCInstrDesc::getSize(), llvm::MachineFunction::getSubtarget(), llvm::MachineOperand::getSymbolName(), llvm::MachineFunction::getTarget(), llvm::ISD::INLINEASM, llvm::AMDGPUISD::KILL, and TII.
Referenced by getRegisterInfo().
|
inline |
getRegisterInfo - TargetInstrInfo is a superset of MRegister info.
As such, whenever a client has an instance of instruction info, it should always be able to get register info as well (through this method).
Definition at line 37 of file MSP430InstrInfo.h.
References analyzeBranch(), copyPhysReg(), llvm::ISD::FrameIndex, getInstSizeInBytes(), I, insertBranch(), isUnpredicatedTerminator(), loadRegFromStackSlot(), MI, removeBranch(), reverseBranchCondition(), storeRegToStackSlot(), and TRI.
Referenced by llvm::MSP430Subtarget::getRegisterInfo().
|
override |
Definition at line 266 of file MSP430InstrInfo.cpp.
References llvm::MachineInstrBuilder::addImm(), llvm::MachineInstrBuilder::addMBB(), assert(), llvm::BuildMI(), llvm::ArrayRef< T >::empty(), and llvm::ArrayRef< T >::size().
Referenced by getRegisterInfo().
|
override |
Definition at line 164 of file MSP430InstrInfo.cpp.
References llvm::MachineInstr::isBarrier(), llvm::MachineInstr::isBranch(), llvm::MachineInstr::isPredicable(), llvm::HexagonMCInstrInfo::isPredicated(), and llvm::MachineInstr::isTerminator().
Referenced by analyzeBranch(), and getRegisterInfo().
|
override |
Definition at line 64 of file MSP430InstrInfo.cpp.
References llvm::MachineInstrBuilder::addFrameIndex(), llvm::MachineInstrBuilder::addImm(), llvm::MachineInstrBuilder::addMemOperand(), llvm::MachineInstrBuilder::addReg(), llvm::BuildMI(), llvm::MachineBasicBlock::end(), llvm::getDefRegState(), llvm::MachinePointerInfo::getFixedStack(), llvm::MachineFunction::getFrameInfo(), llvm::MachineFunction::getMachineMemOperand(), llvm::MachineFrameInfo::getObjectAlignment(), llvm::MachineFrameInfo::getObjectSize(), llvm::MachineBasicBlock::getParent(), llvm_unreachable, and llvm::MachineMemOperand::MOLoad.
Referenced by getRegisterInfo().
|
override |
Definition at line 107 of file MSP430InstrInfo.cpp.
References assert(), llvm::MachineBasicBlock::begin(), llvm::MachineBasicBlock::end(), I, and reverseBranchCondition().
Referenced by getRegisterInfo().
|
override |
Definition at line 133 of file MSP430InstrInfo.cpp.
References assert(), MSP430CC::COND_E, MSP430CC::COND_GE, MSP430CC::COND_HS, MSP430CC::COND_L, MSP430CC::COND_LO, MSP430CC::COND_NE, llvm_unreachable, and llvm::SmallVectorBase::size().
Referenced by getRegisterInfo(), and removeBranch().
|
override |
Definition at line 37 of file MSP430InstrInfo.cpp.
References llvm::MachineInstrBuilder::addFrameIndex(), llvm::MachineInstrBuilder::addImm(), llvm::MachineInstrBuilder::addMemOperand(), llvm::MachineInstrBuilder::addReg(), llvm::BuildMI(), llvm::MachineBasicBlock::end(), llvm::MachinePointerInfo::getFixedStack(), llvm::MachineFunction::getFrameInfo(), llvm::getKillRegState(), llvm::MachineFunction::getMachineMemOperand(), llvm::MachineFrameInfo::getObjectAlignment(), llvm::MachineFrameInfo::getObjectSize(), llvm::MachineBasicBlock::getParent(), llvm_unreachable, and llvm::MachineMemOperand::MOStore.
Referenced by getRegisterInfo().