Searched refs:isLegalToSwap (Results 1 – 2 of 2) sorted by relevance
198 bool isLegalToSwap(const MachineInstr &MI, unsigned fromIdx,
2786 bool SIInstrInfo::isLegalToSwap(const MachineInstr &MI, unsigned OpIdx0, in isLegalToSwap() function in SIInstrInfo2851 if (!isLegalToSwap(MI, Src0Idx, &Src0, Src1Idx, &Src1)) { in commuteInstructionImpl()