Searched refs:DestSourcePair (Results 1 – 17 of 17) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVMoveMerger.cpp | 33 bool isCandidateToMergeMVA01S(const DestSourcePair &RegPair); 34 bool isCandidateToMergeMVSA01(const DestSourcePair &RegPair); 45 const DestSourcePair &RegPair); 60 bool RISCVMoveMerge::isCandidateToMergeMVA01S(const DestSourcePair &RegPair) { 71 bool RISCVMoveMerge::isCandidateToMergeMVSA01(const DestSourcePair &RegPair) { 88 DestSourcePair FirstPair = TII->isCopyInstrImpl(*I).value(); in mergePairedInsns() 89 DestSourcePair PairedRegs = TII->isCopyInstrImpl(*Paired).value(); in mergePairedInsns() 125 const DestSourcePair &RegPair) { in findMatchingInst()
|
H A D | RISCVInstrInfo.h | 156 std::optional<DestSourcePair>
|
H A D | RISCVInstrInfo.cpp | 1549 std::optional<DestSourcePair> 1552 return DestSourcePair{MI.getOperand(0), MI.getOperand(1)}; in isCopyInstrImpl() 1560 return DestSourcePair{MI.getOperand(0), MI.getOperand(1)}; in isCopyInstrImpl() 1572 return DestSourcePair{MI.getOperand(0), MI.getOperand(1)}; in isCopyInstrImpl()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | MachineCopyPropagation.cpp | 96 static std::optional<DestSourcePair> isCopyInstr(const MachineInstr &MI, in isCopyInstr() 103 return std::optional<DestSourcePair>( in isCopyInstr() 104 DestSourcePair{MI.getOperand(0), MI.getOperand(1)}); in isCopyInstr() 142 std::optional<DestSourcePair> CopyOperands = in invalidateRegister() 177 std::optional<DestSourcePair> CopyOperands = in clobberRegister() 229 std::optional<DestSourcePair> CopyOperands = in trackCopy() 287 std::optional<DestSourcePair> CopyOperands = in findAvailBackwardCopy() 317 std::optional<DestSourcePair> CopyOperands = in findAvailCopy() 348 std::optional<DestSourcePair> CopyOperands = in findLastSeenDefInCopy() 494 std::optional<DestSourcePair> CopyOperands = in isNopCopy() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | TargetInstrInfo.h | 72 struct DestSourcePair { struct 76 DestSourcePair(const MachineOperand &Dest, const MachineOperand &Src) in DestSourcePair() argument 1049 virtual std::optional<DestSourcePair> 1054 virtual std::optional<DestSourcePair> 1077 std::optional<DestSourcePair> isCopyInstr(const MachineInstr &MI) const { in isCopyInstr() 1079 return DestSourcePair{MI.getOperand(0), MI.getOperand(1)}; in isCopyInstr() 1086 std::optional<DestSourcePair> isCopyLikeInstr(const MachineInstr &MI) const { in isCopyLikeInstr()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
H A D | MipsSEInstrInfo.h | 84 std::optional<DestSourcePair>
|
H A D | Mips16InstrInfo.h | 109 std::optional<DestSourcePair>
|
H A D | Mips16InstrInfo.cpp | 99 std::optional<DestSourcePair> 102 return DestSourcePair{MI.getOperand(0), MI.getOperand(1)}; in isCopyInstrImpl()
|
H A D | MipsSEInstrInfo.cpp | 206 std::optional<DestSourcePair> 209 return DestSourcePair{MI.getOperand(0), MI.getOperand(1)}; in isCopyInstrImpl()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64InstrInfo.h | 547 std::optional<DestSourcePair> 549 std::optional<DestSourcePair>
|
H A D | AArch64InstrInfo.cpp | 9285 std::optional<DestSourcePair> 9300 return DestSourcePair{MI.getOperand(0), MI.getOperand(2)}; in isCopyInstrImpl() 9305 return DestSourcePair{MI.getOperand(0), MI.getOperand(2)}; in isCopyInstrImpl() 9310 std::optional<DestSourcePair> 9315 return DestSourcePair{MI.getOperand(0), MI.getOperand(2)}; in isCopyLikeInstrImpl()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86InstrInfo.h | 625 std::optional<DestSourcePair>
|
H A D | X86InstrInfo.cpp | 4324 std::optional<DestSourcePair> 4333 return DestSourcePair{MI.getOperand(0), MI.getOperand(1)}; in isCopyInstrImpl()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMBaseInstrInfo.h | 112 std::optional<DestSourcePair>
|
H A D | ARMBaseInstrInfo.cpp | 1058 std::optional<DestSourcePair> 1071 return DestSourcePair{MI.getOperand(0), MI.getOperand(1)}; in isCopyInstrImpl()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | SIInstrInfo.h | 185 std::optional<DestSourcePair>
|
H A D | SIInstrInfo.cpp | 2710 std::optional<DestSourcePair> 2713 return DestSourcePair{MI.getOperand(0), MI.getOperand(1)}; in isCopyInstrImpl()
|