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 38 of file AVRInstrInfo.cpp.
|
override |
Definition at line 264 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 42 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 506 of file AVRInstrInfo.cpp.
References llvm_unreachable, and MI.
const MCInstrDesc & llvm::AVRInstrInfo::getBrCond | ( | AVRCC::CondCodes | CC | ) | const |
Definition at line 195 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 218 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 479 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 241 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 397 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 560 of file AVRInstrInfo.cpp.
References llvm::MachineInstrBuilder::addMBB(), llvm::BuildMI(), DL, llvm::get(), MBB, and STI.
|
override |
Definition at line 534 of file AVRInstrInfo.cpp.
References llvm::isIntN(), llvm_unreachable, and STI.
|
override |
Definition at line 94 of file AVRInstrInfo.cpp.
References MI.
|
override |
Definition at line 113 of file AVRInstrInfo.cpp.
References MI.
|
override |
Definition at line 164 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 438 of file AVRInstrInfo.cpp.
References llvm::AVRCC::COND_INVALID, getCondFromBranchOpc(), getInstSizeInBytes(), I, and MBB.
|
override |
Definition at line 469 of file AVRInstrInfo.cpp.
References assert(), CC, Cond, and getOppositeCondition().
|
override |
Definition at line 132 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 123 of file AVRInstrInfo.h.
Referenced by copyPhysReg(), getInstSizeInBytes(), insertIndirectBranch(), and isBranchOffsetInRange().