LLVM: llvm::AVRInstrInfo Class Reference (original) (raw)
Utilities related to the AVR instruction set. More...
#include "[Target/AVR/AVRInstrInfo.h](AVRInstrInfo%5F8h%5Fsource.html)"
Utilities related to the AVR instruction set.
Definition at line 66 of file AVRInstrInfo.h.
◆ analyzeBranch()
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::getImm(), llvm::MCInstrDesc::getOpcode(), getOppositeCondition(), I, MBB, and TBB.
◆ copyPhysReg()
Definition at line 36 of file AVRInstrInfo.cpp.
References llvm::MachineInstrBuilder::addReg(), llvm::BuildMI(), contains(), DL, llvm::get(), llvm::getKillRegState(), llvm_unreachable, MBB, MI, Opc, STI, TRI, and llvm::RegState::Undef.
◆ getBranchDestBlock()
◆ getBrCond()
Definition at line 190 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, llvm::get(), and llvm_unreachable.
Referenced by analyzeBranch(), and insertBranch().
◆ getCondFromBranchOpc()
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, llvm::AVRCC::COND_SH, and Opc.
Referenced by analyzeBranch(), and removeBranch().
◆ getInstSizeInBytes()
◆ getOppositeCondition()
◆ getRegisterInfo()
◆ insertBranch()
Definition at line 392 of file AVRInstrInfo.cpp.
References llvm::MachineInstrBuilder::addMBB(), assert(), llvm::BuildMI(), Cond, llvm::Count, DL, llvm::get(), getBrCond(), llvm::getImm(), getInstSizeInBytes(), MBB, MI, and TBB.
◆ insertIndirectBranch()
◆ isBranchOffsetInRange()
| bool llvm::AVRInstrInfo::isBranchOffsetInRange ( unsigned BranchOpc, int64_t BrOffset ) const | override |
|---|
◆ isLoadFromStackSlot()
◆ isStoreToStackSlot()
◆ loadRegFromStackSlot()
Definition at line 159 of file AVRInstrInfo.cpp.
References llvm::MachineInstrBuilder::addFrameIndex(), llvm::MachineInstrBuilder::addImm(), llvm::MachineInstrBuilder::addMemOperand(), llvm::BuildMI(), llvm::dwarf_linker::DebugLoc, 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.
◆ removeBranch()
◆ reverseBranchCondition()
◆ storeRegToStackSlot()
Definition at line 127 of file AVRInstrInfo.cpp.
References llvm::MachineInstrBuilder::addFrameIndex(), llvm::MachineInstrBuilder::addImm(), llvm::MachineInstrBuilder::addMemOperand(), llvm::MachineInstrBuilder::addReg(), llvm::BuildMI(), llvm::dwarf_linker::DebugLoc, 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, and llvm::AVRMachineFunctionInfo::setHasSpills().
◆ STI
The documentation for this class was generated from the following files:
- lib/Target/AVR/AVRInstrInfo.h
- lib/Target/AVR/AVRInstrInfo.cpp