LLVM 20.0.0git
|
#include "Target/CSKY/CSKYInstrInfo.h"
Protected Attributes | |
const CSKYSubtarget & | STI |
Definition at line 26 of file CSKYInstrInfo.h.
|
explicit |
Definition at line 27 of file CSKYInstrInfo.cpp.
References llvm::CSKYSubtarget::hasFPUv2DoubleFloat(), llvm::CSKYSubtarget::hasFPUv2SingleFloat(), llvm::CSKYSubtarget::hasFPUv3DoubleFloat(), llvm::CSKYSubtarget::hasFPUv3SingleFloat(), and STI.
|
override |
Definition at line 45 of file CSKYInstrInfo.cpp.
References Cond, llvm::MachineBasicBlock::end(), getBranchDestBlock(), llvm::MachineBasicBlock::getLastNonDebugInstr(), llvm::MachineInstrBundleIterator< Ty, IsReverse >::getReverse(), I, MBB, parseCondBranch(), llvm::MachineBasicBlock::rend(), and TBB.
|
override |
Definition at line 478 of file CSKYInstrInfo.cpp.
References llvm::MachineInstrBuilder::addImm(), llvm::MachineInstrBuilder::addReg(), assert(), llvm::BuildMI(), contains(), llvm::dbgs(), llvm::RegState::Define, DL, llvm::get(), llvm::getDeadRegState(), llvm::getKillRegState(), llvm::CSKYSubtarget::hasE2(), I, LLVM_DEBUG, llvm_unreachable, MBB, and STI.
|
override |
Definition at line 146 of file CSKYInstrInfo.cpp.
Referenced by analyzeBranch().
Register CSKYInstrInfo::getGlobalBaseReg | ( | MachineFunction & | MF | ) | const |
Definition at line 566 of file CSKYInstrInfo.cpp.
References llvm::MachineInstrBuilder::addConstantPoolIndex(), llvm::MachineInstrBuilder::addMemOperand(), llvm::CSKYCP::ADDR, llvm::MachineInstrBuilder::addReg(), llvm::MachineBasicBlock::begin(), llvm::BuildMI(), llvm::CSKYConstantPoolSymbol::Create(), DL, llvm::MachineFunction::front(), llvm::get(), llvm::MachineFunction::getConstantPool(), llvm::MachinePointerInfo::getConstantPool(), llvm::Function::getContext(), llvm::MachineFunction::getFunction(), llvm::CSKYMachineFunctionInfo::getGlobalBaseReg(), llvm::MachineFunction::getInfo(), llvm::Type::getInt32Ty(), llvm::MachineFunction::getMachineMemOperand(), llvm::MachineFunction::getRegInfo(), MBBI, llvm::MachineMemOperand::MOLoad, MRI, and llvm::CSKYMachineFunctionInfo::setGlobalBaseReg().
|
override |
Definition at line 602 of file CSKYInstrInfo.cpp.
References llvm::TargetMachine::getMCAsmInfo(), llvm::MachineFunction::getTarget(), and MI.
Referenced by insertBranch(), and removeBranch().
|
override |
Definition at line 154 of file CSKYInstrInfo.cpp.
References llvm::MachineInstrBuilder::add(), llvm::MachineInstrBuilder::addMBB(), assert(), llvm::BuildMI(), Cond, DL, llvm::get(), getInstSizeInBytes(), MBB, MI, and TBB.
|
override |
Definition at line 333 of file CSKYInstrInfo.cpp.
References MI.
|
override |
Definition at line 363 of file CSKYInstrInfo.cpp.
References MI.
|
override |
Definition at line 435 of file CSKYInstrInfo.cpp.
References llvm::MachineInstrBuilder::addFrameIndex(), llvm::MachineInstrBuilder::addImm(), llvm::MachineInstrBuilder::addMemOperand(), llvm::BuildMI(), DL, llvm::MachineBasicBlock::end(), llvm::get(), llvm::MachinePointerInfo::getFixedStack(), llvm::MachineFunction::getFrameInfo(), llvm::MachineFunction::getInfo(), llvm::MachineFunction::getMachineMemOperand(), llvm::MachineBasicBlock::getParent(), I, llvm_unreachable, MBB, llvm::MachineMemOperand::MOLoad, and llvm::CSKYMachineFunctionInfo::setSpillsCR().
Register CSKYInstrInfo::movImm | ( | MachineBasicBlock & | MBB, |
MachineBasicBlock::iterator | MBBI, | ||
const DebugLoc & | DL, | ||
uint64_t | Val, | ||
MachineInstr::MIFlag | Flag = MachineInstr::NoFlags |
||
) | const |
Definition at line 224 of file CSKYInstrInfo.cpp.
References llvm::MachineInstrBuilder::addImm(), llvm::MachineInstrBuilder::addReg(), llvm::BuildMI(), DL, llvm::get(), llvm::MachineBasicBlock::getParent(), llvm::MachineFunction::getRegInfo(), llvm::CSKYSubtarget::hasE2(), MBB, MBBI, MRI, llvm::report_fatal_error(), llvm::MachineInstrBuilder::setMIFlags(), and STI.
|
override |
Definition at line 113 of file CSKYInstrInfo.cpp.
References llvm::MachineBasicBlock::begin(), llvm::MachineBasicBlock::end(), getInstSizeInBytes(), llvm::MachineBasicBlock::getLastNonDebugInstr(), I, and MBB.
|
override |
Definition at line 217 of file CSKYInstrInfo.cpp.
References assert(), Cond, and getOppositeBranchOpc().
|
override |
Definition at line 391 of file CSKYInstrInfo.cpp.
References llvm::MachineInstrBuilder::addFrameIndex(), llvm::MachineInstrBuilder::addImm(), llvm::MachineInstrBuilder::addMemOperand(), llvm::MachineInstrBuilder::addReg(), llvm::BuildMI(), DL, llvm::MachineBasicBlock::end(), llvm::get(), llvm::MachinePointerInfo::getFixedStack(), llvm::MachineFunction::getFrameInfo(), llvm::MachineFunction::getInfo(), llvm::getKillRegState(), llvm::MachineFunction::getMachineMemOperand(), llvm::MachineBasicBlock::getParent(), I, llvm_unreachable, MBB, llvm::MachineMemOperand::MOStore, and llvm::CSKYMachineFunctionInfo::setSpillsCR().
|
protected |
Definition at line 33 of file CSKYInstrInfo.h.
Referenced by copyPhysReg(), CSKYInstrInfo(), and movImm().