LLVM
15.0.0git
|
Utilities related to the AVR instruction set. More...
#include "Target/AVR/AVRInstrInfo.h"
Utilities related to the AVR instruction set.
Definition at line 64 of file AVRInstrInfo.h.
|
explicit |
Definition at line 38 of file AVRInstrInfo.cpp.
|
override |
Definition at line 270 of file AVRInstrInfo.cpp.
References llvm::MachineInstrBuilder::addMBB(), assert(), llvm::BuildMI(), Cond, llvm::AVRCC::COND_INVALID, llvm::MachineOperand::CreateImm(), get, getBrCond(), getCondFromBranchOpc(), llvm::MCInstrDesc::getOpcode(), getOppositeCondition(), I, and MBB.
|
override |
Definition at line 41 of file AVRInstrInfo.cpp.
References llvm::MachineInstrBuilder::addReg(), llvm::BuildMI(), contains(), DL, get, llvm::getKillRegState(), llvm::AVRSubtarget::getRegisterInfo(), llvm::AVRSubtarget::hasMOVW(), llvm_unreachable, MBB, MI, and TRI.
|
override |
Definition at line 514 of file AVRInstrInfo.cpp.
References llvm_unreachable, and MI.
const MCInstrDesc & llvm::AVRInstrInfo::getBrCond | ( | AVRCC::CondCodes | CC | ) | const |
Definition at line 201 of file AVRInstrInfo.cpp.
References llvm::AVRCC::COND_EQ, llvm::AVRCC::COND_GE, llvm::AVRCC::COND_LO, llvm::AVRCC::COND_LT, llvm::AVRCC::COND_MI, llvm::AVRCC::COND_NE, llvm::AVRCC::COND_PL, llvm::AVRCC::COND_SH, get, and llvm_unreachable.
Referenced by analyzeBranch(), and insertBranch().
AVRCC::CondCodes llvm::AVRInstrInfo::getCondFromBranchOpc | ( | unsigned | Opc | ) | const |
Definition at line 224 of file AVRInstrInfo.cpp.
References llvm::AVRCC::COND_EQ, llvm::AVRCC::COND_GE, llvm::AVRCC::COND_INVALID, llvm::AVRCC::COND_LO, llvm::AVRCC::COND_LT, llvm::AVRCC::COND_MI, llvm::AVRCC::COND_NE, llvm::AVRCC::COND_PL, and llvm::AVRCC::COND_SH.
Referenced by analyzeBranch(), and removeBranch().
|
override |
Definition at line 485 of file AVRInstrInfo.cpp.
References llvm::ISD::EH_LABEL, get, llvm::AVRSubtarget::getInstrInfo(), llvm::MCInstrDesc::getSize(), llvm::MachineFunction::getSubtarget(), llvm::MachineFunction::getTarget(), llvm::ISD::INLINEASM, llvm::ISD::INLINEASM_BR, MI, TII, and TM.
Referenced by insertBranch(), and removeBranch().
AVRCC::CondCodes llvm::AVRInstrInfo::getOppositeCondition | ( | AVRCC::CondCodes | CC | ) | const |
Definition at line 247 of file AVRInstrInfo.cpp.
References llvm::AVRCC::COND_EQ, llvm::AVRCC::COND_GE, llvm::AVRCC::COND_LO, llvm::AVRCC::COND_LT, llvm::AVRCC::COND_MI, llvm::AVRCC::COND_NE, llvm::AVRCC::COND_PL, llvm::AVRCC::COND_SH, and llvm_unreachable.
Referenced by analyzeBranch(), and reverseBranchCondition().
|
inline |
Definition at line 68 of file AVRInstrInfo.h.
Referenced by llvm::AVRSubtarget::getRegisterInfo().
|
override |
Definition at line 403 of file AVRInstrInfo.cpp.
References llvm::MachineInstrBuilder::addMBB(), assert(), llvm::BuildMI(), Cond, DL, get, getBrCond(), getInstSizeInBytes(), MBB, and MI.
|
override |
Definition at line 568 of file AVRInstrInfo.cpp.
References llvm::MachineInstrBuilder::addMBB(), llvm::BuildMI(), DL, get, and MBB.
|
override |
Definition at line 542 of file AVRInstrInfo.cpp.
References llvm::isIntN(), and llvm_unreachable.
|
override |
Definition at line 89 of file AVRInstrInfo.cpp.
References llvm::ISD::FrameIndex, and MI.
|
override |
Definition at line 108 of file AVRInstrInfo.cpp.
References llvm::ISD::FrameIndex, and MI.
|
override |
Definition at line 166 of file AVRInstrInfo.cpp.
References llvm::MachineInstrBuilder::addFrameIndex(), llvm::MachineInstrBuilder::addImm(), llvm::MachineInstrBuilder::addMemOperand(), llvm::BuildMI(), DL, llvm::ISD::FrameIndex, get, llvm::MachinePointerInfo::getFixedStack(), llvm::MachineFunction::getFrameInfo(), llvm::MachineFunction::getMachineMemOperand(), llvm::MachineFrameInfo::getObjectAlign(), llvm::MachineFrameInfo::getObjectSize(), llvm::MVT::i16, llvm::MVT::i8, llvm_unreachable, MBB, MI, llvm::MachineMemOperand::MOLoad, and TRI.
|
override |
Definition at line 444 of file AVRInstrInfo.cpp.
References llvm::AVRCC::COND_INVALID, getCondFromBranchOpc(), getInstSizeInBytes(), I, and MBB.
|
override |
Definition at line 475 of file AVRInstrInfo.cpp.
References assert(), Cond, and getOppositeCondition().
|
override |
Definition at line 127 of file AVRInstrInfo.cpp.
References llvm::MachineInstrBuilder::addFrameIndex(), llvm::MachineInstrBuilder::addImm(), llvm::MachineInstrBuilder::addMemOperand(), llvm::MachineInstrBuilder::addReg(), llvm::BuildMI(), DL, llvm::ISD::FrameIndex, get, llvm::MachinePointerInfo::getFixedStack(), llvm::MachineFunction::getFrameInfo(), llvm::MachineFunction::getInfo(), llvm::getKillRegState(), llvm::MachineFunction::getMachineMemOperand(), llvm::MachineFrameInfo::getObjectAlign(), llvm::MachineFrameInfo::getObjectSize(), llvm::MVT::i16, llvm::MVT::i8, llvm_unreachable, MBB, MI, llvm::MachineMemOperand::MOStore, llvm::AVRMachineFunctionInfo::setHasSpills(), and TRI.