Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVMoveMerger.cpp35 bool isCandidateToMergeMVA01S(const DestSourcePair &RegPair);
36 bool isCandidateToMergeMVSA01(const DestSourcePair &RegPair);
47 const DestSourcePair &RegPair);
102 bool RISCVMoveMerge::isCandidateToMergeMVA01S(const DestSourcePair &RegPair) { in isCandidateToMergeMVA01S()
113 bool RISCVMoveMerge::isCandidateToMergeMVSA01(const DestSourcePair &RegPair) { in isCandidateToMergeMVSA01()
130 DestSourcePair FirstPair = TII->isCopyInstrImpl(*I).value(); in mergePairedInsns()
131 DestSourcePair PairedRegs = TII->isCopyInstrImpl(*Paired).value(); in mergePairedInsns()
179 const DestSourcePair &RegPair) { in findMatchingInst()
H A DRISCVInstrInfo.h160 std::optional<DestSourcePair>
H A DRISCVInstrInfo.cpp1928 std::optional<DestSourcePair>
1931 return DestSourcePair{MI.getOperand(0), MI.getOperand(1)}; in isCopyInstrImpl()
1940 return DestSourcePair{MI.getOperand(0), MI.getOperand(2)}; in isCopyInstrImpl()
1943 return DestSourcePair{MI.getOperand(0), MI.getOperand(1)}; in isCopyInstrImpl()
1949 return DestSourcePair{MI.getOperand(0), MI.getOperand(1)}; in isCopyInstrImpl()
1954 return DestSourcePair{MI.getOperand(0), MI.getOperand(1)}; in isCopyInstrImpl()
1964 return DestSourcePair{MI.getOperand(0), MI.getOperand(2)}; in isCopyInstrImpl()
1976 return DestSourcePair{MI.getOperand(0), MI.getOperand(1)}; in isCopyInstrImpl()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineCopyPropagation.cpp97 static std::optional<DestSourcePair> isCopyInstr(const MachineInstr &MI, in isCopyInstr()
104 return std::optional<DestSourcePair>( in isCopyInstr()
105 DestSourcePair{MI.getOperand(0), MI.getOperand(1)}); in isCopyInstr()
170 std::optional<DestSourcePair> CopyOperands = in invalidateRegister()
204 std::optional<DestSourcePair> CopyOperands = in clobberRegUnit()
271 std::optional<DestSourcePair> CopyOperands = in trackSrcUsers()
300 std::optional<DestSourcePair> CopyOperands = in trackCopy()
357 std::optional<DestSourcePair> CopyOperands = in findAvailBackwardCopy()
387 std::optional<DestSourcePair> CopyOperands = in findAvailCopy()
418 std::optional<DestSourcePair> CopyOperands = in findLastSeenDefInCopy()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetInstrInfo.h75 struct DestSourcePair { struct
79 DestSourcePair(const MachineOperand &Dest, const MachineOperand &Src) in DestSourcePair() argument
1078 virtual std::optional<DestSourcePair>
1083 virtual std::optional<DestSourcePair>
1106 std::optional<DestSourcePair> isCopyInstr(const MachineInstr &MI) const { in isCopyInstr()
1108 return DestSourcePair{MI.getOperand(0), MI.getOperand(1)}; in isCopyInstr()
1115 std::optional<DestSourcePair> isCopyLikeInstr(const MachineInstr &MI) const { in isCopyLikeInstr()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsSEInstrInfo.h83 std::optional<DestSourcePair>
H A DMips16InstrInfo.h108 std::optional<DestSourcePair>
H A DMips16InstrInfo.cpp97 std::optional<DestSourcePair>
100 return DestSourcePair{MI.getOperand(0), MI.getOperand(1)}; in isCopyInstrImpl()
H A DMipsSEInstrInfo.cpp204 std::optional<DestSourcePair>
207 return DestSourcePair{MI.getOperand(0), MI.getOperand(1)}; in isCopyInstrImpl()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64InstrInfo.h569 std::optional<DestSourcePair>
571 std::optional<DestSourcePair>
H A DAArch64InstrInfo.cpp10055 std::optional<DestSourcePair>
10071 return DestSourcePair{MI.getOperand(0), MI.getOperand(2)}; in isCopyInstrImpl()
10076 return DestSourcePair{MI.getOperand(0), MI.getOperand(2)}; in isCopyInstrImpl()
10081 std::optional<DestSourcePair>
10088 return DestSourcePair{MI.getOperand(0), MI.getOperand(2)}; in isCopyLikeInstrImpl()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZInstrInfo.h390 std::optional<DestSourcePair>
H A DSystemZInstrInfo.cpp2353 std::optional<DestSourcePair>
2357 return DestSourcePair(MI.getOperand(0), MI.getOperand(1)); in isCopyInstrImpl()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstrInfo.h672 std::optional<DestSourcePair>
H A DX86InstrInfo.cpp4384 std::optional<DestSourcePair>
4393 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.cpp885 std::optional<DestSourcePair>
898 return DestSourcePair{MI.getOperand(0), MI.getOperand(1)}; in isCopyInstrImpl()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIInstrInfo.h192 std::optional<DestSourcePair>
H A DSIInstrInfo.cpp2716 std::optional<DestSourcePair>
2719 return DestSourcePair{MI.getOperand(0), MI.getOperand(1)}; in isCopyInstrImpl()