diff options
Diffstat (limited to 'contrib/llvm-project/llvm/include/llvm/CodeGen/TargetInstrInfo.h')
-rw-r--r-- | contrib/llvm-project/llvm/include/llvm/CodeGen/TargetInstrInfo.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/contrib/llvm-project/llvm/include/llvm/CodeGen/TargetInstrInfo.h b/contrib/llvm-project/llvm/include/llvm/CodeGen/TargetInstrInfo.h index 817d32ea0ef6..93dfcfc39924 100644 --- a/contrib/llvm-project/llvm/include/llvm/CodeGen/TargetInstrInfo.h +++ b/contrib/llvm-project/llvm/include/llvm/CodeGen/TargetInstrInfo.h @@ -1044,16 +1044,6 @@ public: return isCopyInstrImpl(MI); } - bool isFullCopyInstr(const MachineInstr &MI) const { - auto DestSrc = isCopyInstr(MI); - if (!DestSrc) - return false; - - const MachineOperand *DestRegOp = DestSrc->Destination; - const MachineOperand *SrcRegOp = DestSrc->Source; - return !DestRegOp->getSubReg() && !SrcRegOp->getSubReg(); - } - /// If the specific machine instruction is an instruction that adds an /// immediate value and a physical register, and stores the result in /// the given physical register \c Reg, return a pair of the source @@ -1968,13 +1958,6 @@ public: return false; } - /// Allows targets to use appropriate copy instruction while spilitting live - /// range of a register in register allocation. - virtual unsigned getLiveRangeSplitOpcode(Register Reg, - const MachineFunction &MF) const { - return TargetOpcode::COPY; - } - /// During PHI eleimination lets target to make necessary checks and /// insert the copy to the PHI destination register in a target specific /// manner. |