Home
last modified time | relevance | path

Searched refs:SecondMI (Results 1 – 13 of 13) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64MacroFusion.cpp24 if (SecondMI.getOpcode() != AArch64::Bcc) in isArithmeticBccPair()
73 if (SecondMI.getOpcode() != AArch64::CBZW && in isArithmeticCbzPair()
74 SecondMI.getOpcode() != AArch64::CBZX && in isArithmeticCbzPair()
75 SecondMI.getOpcode() != AArch64::CBNZW && in isArithmeticCbzPair()
76 SecondMI.getOpcode() != AArch64::CBNZX) in isArithmeticCbzPair()
124 switch (SecondMI.getOpcode()) { in isAESPair()
183 SecondMI.getOperand(3).getImm() == 16)) in isLiteralsPair()
200 switch (SecondMI.getOpcode()) { in isAddressLdStPair()
288 switch (SecondMI.getOpcode()) { in isArithmeticLogicPair()
388 switch (SecondMI.getOpcode()) { in isAddSub2RegAndConstOnePair()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCMacroFusion.cpp70 const MachineInstr &SecondMI, in matchingRegOps() argument
105 const MachineOperand &RA = SecondMI.getOperand(1); in checkOpConstraints()
114 const MachineOperand &RT = SecondMI.getOperand(0); in checkOpConstraints()
122 if (!matchingRegOps(SecondMI, 0, SecondMI, 2) || in checkOpConstraints()
143 if (SecondMI.getOpcode() == PPC::LD) in checkOpConstraints()
174 if (SecondMI.getOpcode() == PPC::CMPDI && in checkOpConstraints()
175 matchingImmOps(SecondMI, 2, -1, 16)) in checkOpConstraints()
177 return matchingImmOps(SecondMI, 2, 0) || matchingImmOps(SecondMI, 2, 1); in checkOpConstraints()
185 return matchingImmOps(SecondMI, 2, 0) || matchingImmOps(SecondMI, 2, 1) || in checkOpConstraints()
186 matchingImmOps(SecondMI, 2, -1, 16); in checkOpConstraints()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DGCNCreateVOPD.cpp48 : FirstMI(First), SecondMI(Second) {} in VOPDCombineInfo()
51 MachineInstr *SecondMI; member in __anoncc5e514e0111::GCNCreateVOPD::VOPDCombineInfo
71 auto *SecondMI = CI.SecondMI; in doReplace() local
73 unsigned Opc2 = SecondMI->getOpcode(); in doReplace()
87 MachineInstr *MI[] = {FirstMI, SecondMI}; in doReplace()
89 AMDGPU::getVOPDInstInfo(FirstMI->getDesc(), SecondMI->getDesc()); in doReplace()
139 auto *SecondMI = &*MII; in runOnMachineFunction() local
141 unsigned Opc2 = SecondMI->getOpcode(); in runOnMachineFunction()
147 CI = VOPDCombineInfo(FirstMI, SecondMI); in runOnMachineFunction()
149 CI = VOPDCombineInfo(SecondMI, FirstMI); in runOnMachineFunction()
[all …]
H A DGCNVOPDUtils.cpp39 const MachineInstr &SecondMI) { in checkVOPDRegConstraints() argument
59 if (&*MII == &SecondMI) in checkVOPDRegConstraints()
65 for (const auto &Use : SecondMI.uses()) in checkVOPDRegConstraints()
70 const MachineInstr &MI = (OpcodeIdx == VOPD::X) ? FirstMI : SecondMI; in checkVOPDRegConstraints()
78 AMDGPU::getVOPDInstInfo(FirstMI.getDesc(), SecondMI.getDesc()); in checkVOPDRegConstraints()
81 const MachineInstr &MI = (CompIdx == VOPD::X) ? FirstMI : SecondMI; in checkVOPDRegConstraints()
110 SecondMI.getOpcode() == AMDGPU::V_MOV_B32_e32; in checkVOPDRegConstraints()
116 << "\n\tY: " << SecondMI << "\n"); in checkVOPDRegConstraints()
126 const MachineInstr &SecondMI) { in shouldScheduleVOPDAdjacent() argument
128 unsigned Opc2 = SecondMI.getOpcode(); in shouldScheduleVOPDAdjacent()
[all …]
H A DAMDGPUMacroFusion.cpp29 const MachineInstr &SecondMI) { in shouldScheduleAdjacent() argument
32 switch (SecondMI.getOpcode()) { in shouldScheduleAdjacent()
46 const MachineOperand *Src2 = TII.getNamedOperand(SecondMI, in shouldScheduleAdjacent()
H A DGCNVOPDUtils.h26 const MachineInstr &SecondMI);
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMMacroFusion.cpp23 const MachineInstr &SecondMI) { in isAESPair() argument
25 switch(SecondMI.getOpcode()) { in isAESPair()
39 const MachineInstr &SecondMI) { in isLiteralsPair() argument
42 SecondMI.getOpcode() == ARM::MOVTi16) in isLiteralsPair()
54 const MachineInstr &SecondMI) { in shouldScheduleAdjacent() argument
57 if (ST.hasFuseAES() && isAESPair(FirstMI, SecondMI)) in shouldScheduleAdjacent()
59 if (ST.hasFuseLiterals() && isLiteralsPair(FirstMI, SecondMI)) in shouldScheduleAdjacent()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86MacroFusion.cpp38 const MachineInstr &SecondMI) { in shouldScheduleAdjacent() argument
45 const X86::SecondMacroFusionInstKind BranchKind = classifySecond(SecondMI); in shouldScheduleAdjacent()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DMacroFusion.cpp154 const MachineInstr &SecondMI);
162 const MachineInstr &SecondMI) { in shouldScheduleAdjacent() argument
164 return Predicate(TII, STI, FirstMI, SecondMI); in shouldScheduleAdjacent()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMacroFusion.h35 const MachineInstr &SecondMI);
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Target/
H A DTargetSchedule.td599 // * const MachineInstr &SecondMI
626 // `firstOpIdx` should be the same as the operand of `SecondMI` at position
655 // const MachineInstr &SecondMI) {
656 // auto &MRI = SecondMI.getMF()->getRegInfo();
671 // const MachineInstr &SecondMI) {
672 // auto &MRI = SecondMI.getMF()->getRegInfo();
674 // /* Predicate for `SecondMI` */
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchExpandPseudoInsts.cpp145 MachineInstr *SecondMI = in expandPcalau12iInstPair() local
151 SecondMI->addMemOperand(*MF, *MI.memoperands_begin()); in expandPcalau12iInstPair()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVExpandPseudoInsts.cpp515 MachineInstr *SecondMI = in expandAuipcInstPair() local
521 SecondMI->addMemOperand(*MF, *MI.memoperands_begin()); in expandAuipcInstPair()