14#ifndef LLVM_LIB_TARGET_PISA_PISAINSTRINFO_H
15#define LLVM_LIB_TARGET_PISA_PISAINSTRINFO_H
20#define GET_INSTRINFO_HEADER
21#include "PISAGenInstrInfo.inc"
23#define GET_INSTRINFO_OPERAND_ENUM
24#include "PISAGenInstrInfo.inc"
42 bool AllowModify =
false)
const override;
45 int *BytesRemoved =
nullptr)
const override;
50 int *BytesAdded =
nullptr)
const override;
62 bool KillSrc,
bool RenamableDest =
false,
63 bool RenamableSrc =
false)
const override;
MachineBasicBlock MachineBasicBlock::iterator DebugLoc DL
SmallVector< MachineOperand, 4 > Cond
This file declares register information for the PISA target.
const SmallVectorImpl< MachineOperand > MachineBasicBlock * TBB
Represent a constant reference to an array (0 or more elements consecutively in memory),...
MachineInstrBundleIterator< MachineInstr > iterator
Representation of each machine instruction.
unsigned removeBranch(MachineBasicBlock &MBB, int *BytesRemoved=nullptr) const override
bool isSafeToMove(const MachineInstr &MI, const MachineBasicBlock *MBB, const MachineFunction &MF) const override
bool analyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB, SmallVectorImpl< MachineOperand > &Cond, bool AllowModify=false) const override
unsigned insertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB, ArrayRef< MachineOperand > Cond, const DebugLoc &DL, int *BytesAdded=nullptr) const override
PISAInstrInfo(const PISASubtarget &STI)
bool isNoEmissionInstr(const MachineInstr &MI) const
bool expandPostRAPseudo(MachineInstr &MI) const override
void copyPhysReg(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, const DebugLoc &DL, Register DestReg, Register SrcReg, bool KillSrc, bool RenamableDest=false, bool RenamableSrc=false) const override
bool reverseBranchCondition(SmallVectorImpl< MachineOperand > &Cond) const override
bool isFunctionParamInstr(const MachineInstr &MI) const
const PISARegisterInfo & getRegisterInfo() const
Wrapper class representing virtual and physical registers.
This class consists of common code factored out of the SmallVector class to reduce code duplication b...
This is an optimization pass for GlobalISel generic memory operations.