|
LLVM
10.0.0
|
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 263 of file AVRInstrInfo.cpp.
|
override |
Definition at line 41 of file AVRInstrInfo.cpp.
References llvm::MachineInstrBuilder::addReg(), llvm::BuildMI(), contains(), llvm::getKillRegState(), llvm::MachineBasicBlock::getParent(), llvm::AVRSubtarget::getRegisterInfo(), llvm::MachineFunction::getSubtarget(), llvm::AVRSubtarget::hasMOVW(), llvm_unreachable, and TRI.
|
override |
Definition at line 504 of file AVRInstrInfo.cpp.
References llvm::MachineOperand::getMBB(), llvm::MachineInstr::getOpcode(), llvm::MachineInstr::getOperand(), and llvm_unreachable.
| const MCInstrDesc & llvm::AVRInstrInfo::getBrCond | ( | AVRCC::CondCodes | CC | ) | const |
Definition at line 194 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 llvm::AVRTargetLowering::EmitInstrWithCustomInserter().
| AVRCC::CondCodes llvm::AVRInstrInfo::getCondFromBranchOpc | ( | unsigned | Opc | ) | const |
Definition at line 217 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 removeBranch().
|
override |
Definition at line 476 of file AVRInstrInfo.cpp.
References llvm::ISD::EH_LABEL, llvm::AVRSubtarget::getInstrInfo(), llvm::TargetMachine::getMCAsmInfo(), llvm::MachineInstr::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::ISD::INLINEASM_BR, llvm::AMDGPUISD::KILL, TII, and llvm::SystemZISD::TM.
Referenced by insertIndirectBranch(), and removeBranch().
| AVRCC::CondCodes llvm::AVRInstrInfo::getOppositeCondition | ( | AVRCC::CondCodes | CC | ) | const |
Definition at line 240 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.
|
inline |
Definition at line 68 of file AVRInstrInfo.h.
References llvm::ISD::FrameIndex, getOppositeCondition(), MI, and TRI.
Referenced by llvm::AVRSubtarget::getRegisterInfo().
|
override |
Definition at line 398 of file AVRInstrInfo.cpp.
|
override |
Definition at line 558 of file AVRInstrInfo.cpp.
References llvm::MachineInstrBuilder::addMBB(), llvm::BuildMI(), getInstSizeInBytes(), and MI.
|
override |
Definition at line 532 of file AVRInstrInfo.cpp.
References llvm::isIntN(), and llvm_unreachable.
|
override |
Definition at line 82 of file AVRInstrInfo.cpp.
References llvm::MachineOperand::getImm(), llvm::MachineOperand::getIndex(), llvm::MachineInstr::getOpcode(), llvm::MachineInstr::getOperand(), llvm::MachineOperand::getReg(), llvm::MachineOperand::isFI(), and llvm::MachineOperand::isImm().
|
override |
Definition at line 101 of file AVRInstrInfo.cpp.
References llvm::MachineOperand::getImm(), llvm::MachineOperand::getIndex(), llvm::MachineInstr::getOpcode(), llvm::MachineInstr::getOperand(), llvm::MachineOperand::getReg(), llvm::MachineOperand::isFI(), and llvm::MachineOperand::isImm().
|
override |
Definition at line 159 of file AVRInstrInfo.cpp.
References llvm::MachineInstrBuilder::addFrameIndex(), llvm::MachineInstrBuilder::addImm(), llvm::MachineInstrBuilder::addMemOperand(), llvm::BuildMI(), llvm::MachineBasicBlock::end(), llvm::MachinePointerInfo::getFixedStack(), llvm::MachineFunction::getFrameInfo(), llvm::MachineFunction::getMachineMemOperand(), llvm::MachineFrameInfo::getObjectAlignment(), llvm::MachineFrameInfo::getObjectSize(), llvm::MachineBasicBlock::getParent(), llvm::MVT::i16, llvm::MVT::i8, llvm::TargetRegisterInfo::isTypeLegalForClass(), llvm_unreachable, and llvm::MachineMemOperand::MOLoad.
|
override |
Definition at line 437 of file AVRInstrInfo.cpp.
References llvm::MachineBasicBlock::begin(), llvm::AVRCC::COND_INVALID, llvm::MachineBasicBlock::end(), getCondFromBranchOpc(), getInstSizeInBytes(), and I.
|
override |
Definition at line 466 of file AVRInstrInfo.cpp.
|
override |
Definition at line 120 of file AVRInstrInfo.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::MachineFunction::getInfo(), llvm::getKillRegState(), llvm::MachineFunction::getMachineMemOperand(), llvm::MachineFrameInfo::getObjectAlignment(), llvm::MachineFrameInfo::getObjectSize(), llvm::MachineBasicBlock::getParent(), llvm::MVT::i16, llvm::MVT::i8, llvm::TargetRegisterInfo::isTypeLegalForClass(), llvm_unreachable, llvm::MachineMemOperand::MOStore, and llvm::AVRMachineFunctionInfo::setHasSpills().
1.8.13