Home
last modified time | relevance | path

Searched refs:DestSourcePair (Results 1 – 17 of 17) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVMoveMerger.cpp33 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 DRISCVInstrInfo.h156 std::optional<DestSourcePair>
H A DRISCVInstrInfo.cpp1549 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 DMachineCopyPropagation.cpp96 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 DTargetInstrInfo.h72 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 DMipsSEInstrInfo.h84 std::optional<DestSourcePair>
H A DMips16InstrInfo.h109 std::optional<DestSourcePair>
H A DMips16InstrInfo.cpp99 std::optional<DestSourcePair>
102 return DestSourcePair{MI.getOperand(0), MI.getOperand(1)}; in isCopyInstrImpl()
H A DMipsSEInstrInfo.cpp206 std::optional<DestSourcePair>
209 return DestSourcePair{MI.getOperand(0), MI.getOperand(1)}; in isCopyInstrImpl()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64InstrInfo.h547 std::optional<DestSourcePair>
549 std::optional<DestSourcePair>
H A DAArch64InstrInfo.cpp9285 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 DX86InstrInfo.h625 std::optional<DestSourcePair>
H A DX86InstrInfo.cpp4324 std::optional<DestSourcePair>
4333 return DestSourcePair{MI.getOperand(0), MI.getOperand(1)}; in isCopyInstrImpl()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMBaseInstrInfo.h112 std::optional<DestSourcePair>
H A DARMBaseInstrInfo.cpp1058 std::optional<DestSourcePair>
1071 return DestSourcePair{MI.getOperand(0), MI.getOperand(1)}; in isCopyInstrImpl()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIInstrInfo.h185 std::optional<DestSourcePair>
H A DSIInstrInfo.cpp2710 std::optional<DestSourcePair>
2713 return DestSourcePair{MI.getOperand(0), MI.getOperand(1)}; in isCopyInstrImpl()