LLVM 20.0.0git
|
Utilities related to the AVR instruction set. More...
#include "Target/AVR/AVRInstrInfo.h"
Protected Attributes | |
const AVRSubtarget & | STI |
Utilities related to the AVR instruction set.
Definition at line 66 of file AVRInstrInfo.h.
|
explicit |
Definition at line 32 of file AVRInstrInfo.cpp.
|
override |
Definition at line 259 of file AVRInstrInfo.cpp.
References llvm::MachineInstrBuilder::addMBB(), assert(), llvm::BuildMI(), Cond, llvm::AVRCC::COND_INVALID, llvm::MachineOperand::CreateImm(), llvm::get(), getBrCond(), getCondFromBranchOpc(), llvm::MCInstrDesc::getOpcode(), getOppositeCondition(), I, MBB, and TBB.
|
override |
Definition at line 36 of file AVRInstrInfo.cpp.
References llvm::MachineInstrBuilder::addReg(), llvm::BuildMI(), contains(), DL, llvm::get(), llvm::getKillRegState(), llvm::AVRSubtarget::getRegisterInfo(), llvm_unreachable, MBB, MI, STI, TRI, and llvm::RegState::Undef.
|
override |
Definition at line 501 of file AVRInstrInfo.cpp.
References llvm_unreachable, and MI.
const MCInstrDesc & llvm::AVRInstrInfo::getBrCond | ( | AVRCC::CondCodes | CC | ) | const |
Definition at line 190 of file AVRInstrInfo.cpp.
References CC, 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, llvm::get(), and llvm_unreachable.
Referenced by analyzeBranch(), and insertBranch().
AVRCC::CondCodes llvm::AVRInstrInfo::getCondFromBranchOpc | ( | unsigned | Opc | ) | const |
Definition at line 213 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 474 of file AVRInstrInfo.cpp.
References llvm::get(), llvm::AVRSubtarget::getInstrInfo(), llvm::MachineFunction::getTarget(), MI, STI, and TII.
Referenced by insertBranch(), and removeBranch().
AVRCC::CondCodes llvm::AVRInstrInfo::getOppositeCondition | ( | AVRCC::CondCodes | CC | ) | const |
Definition at line 236 of file AVRInstrInfo.cpp.
References CC, 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 70 of file AVRInstrInfo.h.
Referenced by llvm::AVRSubtarget::getRegisterInfo().
|
override |
Definition at line 392 of file AVRInstrInfo.cpp.
References llvm::MachineInstrBuilder::addMBB(), assert(), llvm::BuildMI(), CC, Cond, DL, llvm::get(), getBrCond(), getInstSizeInBytes(), MBB, MI, and TBB.
|
override |
Definition at line 555 of file AVRInstrInfo.cpp.
References llvm::MachineInstrBuilder::addMBB(), llvm::BuildMI(), DL, llvm::get(), MBB, and STI.
|
override |
Definition at line 529 of file AVRInstrInfo.cpp.
References llvm::isIntN(), llvm_unreachable, and STI.
|
override |
Definition at line 89 of file AVRInstrInfo.cpp.
References MI.
|
override |
Definition at line 108 of file AVRInstrInfo.cpp.
References MI.
|
override |
Definition at line 159 of file AVRInstrInfo.cpp.
References llvm::MachineInstrBuilder::addFrameIndex(), llvm::MachineInstrBuilder::addImm(), llvm::MachineInstrBuilder::addMemOperand(), llvm::BuildMI(), llvm::get(), llvm::MachinePointerInfo::getFixedStack(), llvm::MachineFunction::getFrameInfo(), llvm::MachineFunction::getMachineMemOperand(), llvm::MachineFrameInfo::getObjectAlign(), llvm::MachineFrameInfo::getObjectSize(), llvm_unreachable, MBB, MI, llvm::MachineMemOperand::MOLoad, and TRI.
|
override |
Definition at line 433 of file AVRInstrInfo.cpp.
References llvm::AVRCC::COND_INVALID, getCondFromBranchOpc(), getInstSizeInBytes(), I, and MBB.
|
override |
Definition at line 464 of file AVRInstrInfo.cpp.
References assert(), CC, 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(), llvm::get(), llvm::MachinePointerInfo::getFixedStack(), llvm::MachineFunction::getFrameInfo(), llvm::MachineFunction::getInfo(), llvm::getKillRegState(), llvm::MachineFunction::getMachineMemOperand(), llvm::MachineFrameInfo::getObjectAlign(), llvm::MachineFrameInfo::getObjectSize(), llvm_unreachable, MBB, MI, llvm::MachineMemOperand::MOStore, llvm::AVRMachineFunctionInfo::setHasSpills(), and TRI.
|
protected |
Definition at line 124 of file AVRInstrInfo.h.
Referenced by copyPhysReg(), getInstSizeInBytes(), insertIndirectBranch(), and isBranchOffsetInRange().