27 #define DEBUG_TYPE "ve" 31 #define GET_INSTRINFO_CTOR_DTOR 32 #include "VEGenInstrInfo.inc" 35 void VEInstrInfo::anchor() {}
43 case VE::EXTEND_STACK: {
46 case VE::EXTEND_STACK_GUARD: {
94 BuildMI(BB, dl, TII.get(VE::BCRLrr))
105 BuildMI(BB, dl, TII.get(VE::LDSri), VE::SX61)
108 BuildMI(BB, dl, TII.get(VE::ORri), VE::SX62)
111 BuildMI(BB, dl, TII.get(VE::LEAzzi), VE::SX63)
113 BuildMI(BB, dl, TII.get(VE::SHMri))
117 BuildMI(BB, dl, TII.get(VE::SHMri))
121 BuildMI(BB, dl, TII.get(VE::SHMri))
125 BuildMI(BB, dl, TII.get(VE::MONC));
127 BuildMI(BB, dl, TII.get(VE::ORri), VE::SX0)
This class represents lattice values for constants.
void transferSuccessorsAndUpdatePHIs(MachineBasicBlock *FromMBB)
Transfers all the successors, as in transferSuccessors, and update PHI operands in the successor bloc...
const MachineInstrBuilder & addMBB(MachineBasicBlock *MBB, unsigned TargetFlags=0) const
const HexagonInstrInfo * TII
void eraseFromParent()
Unlink 'this' from the containing basic block and delete it.
unsigned getOpcode() const
Returns the opcode of this MachineInstr.
virtual const TargetInstrInfo * getInstrInfo() const
MachineBasicBlock * CreateMachineBasicBlock(const BasicBlock *bb=nullptr)
CreateMachineBasicBlock - Allocate a new MachineBasicBlock.
MachineInstrBuilder BuildMI(MachineFunction &MF, const DebugLoc &DL, const MCInstrDesc &MCID)
Builder interface. Specify how to create the initial instruction itself.
LLVM Basic Block Representation.
const TargetSubtargetInfo & getSubtarget() const
getSubtarget - Return the subtarget for which this machine code is being compiled.
DebugLoc findDebugLoc(instr_iterator MBBI)
Find the next valid DebugLoc starting at MBBI, skipping any DBG_VALUE and DBG_LABEL instructions...
self_iterator getIterator()
Iterator for intrusive lists based on ilist_node.
void addSuccessor(MachineBasicBlock *Succ, BranchProbability Prob=BranchProbability::getUnknown())
Add Succ as a successor of this MachineBasicBlock.
const MachineBasicBlock * getParent() const
bool expandExtendStackPseudo(MachineInstr &MI) const
Representation of each machine instruction.
const MachineFunction * getParent() const
Return the MachineFunction containing this basic block.
const MachineInstrBuilder & addImm(int64_t Val) const
Add a new immediate operand.
void splice(iterator Where, MachineBasicBlock *Other, iterator From)
Take an instruction from MBB 'Other' at the position From, and insert it into this MBB right before '...
VEInstrInfo(VESubtarget &ST)
const BasicBlock * getBasicBlock() const
Return the LLVM basic block that this instance corresponded to originally.
void insert(iterator MBBI, MachineBasicBlock *MBB)
bool expandPostRAPseudo(MachineInstr &MI) const override
const MachineInstrBuilder & addReg(Register RegNo, unsigned flags=0, unsigned SubReg=0) const
Add a new virtual register operand.