Searched refs:CommutableOpIdx2 (Results 1 – 6 of 6) sorted by relevance
158 unsigned CommutableOpIdx2 = Idx2; (void)CommutableOpIdx2; in commuteInstructionImpl() local159 assert(findCommutedOpIndices(MI, CommutableOpIdx1, CommutableOpIdx2) && in commuteInstructionImpl()160 CommutableOpIdx1 == Idx1 && CommutableOpIdx2 == Idx2 && in commuteInstructionImpl()249 unsigned CommutableOpIdx2) { in fixCommutedOpIndices() argument253 ResultIdx2 = CommutableOpIdx2; in fixCommutedOpIndices()256 ResultIdx1 = CommutableOpIdx2; in fixCommutedOpIndices()257 else if (ResultIdx2 == CommutableOpIdx2) in fixCommutedOpIndices()263 ResultIdx2 = CommutableOpIdx2; in fixCommutedOpIndices()264 else if (ResultIdx1 == CommutableOpIdx2) in fixCommutedOpIndices()271 return (ResultIdx1 == CommutableOpIdx1 && ResultIdx2 == CommutableOpIdx2) || in fixCommutedOpIndices()[all …]
136 unsigned CommutableOpIdx2 = Idx2; (void)CommutableOpIdx2; in commuteInstructionImpl() local137 assert(findCommutedOpIndices(MI, CommutableOpIdx1, CommutableOpIdx2) && in commuteInstructionImpl()138 CommutableOpIdx1 == Idx1 && CommutableOpIdx2 == Idx2 && in commuteInstructionImpl()213 unsigned CommutableOpIdx2) { in fixCommutedOpIndices() argument217 ResultIdx2 = CommutableOpIdx2; in fixCommutedOpIndices()220 ResultIdx1 = CommutableOpIdx2; in fixCommutedOpIndices()221 else if (ResultIdx2 == CommutableOpIdx2) in fixCommutedOpIndices()227 ResultIdx2 = CommutableOpIdx2; in fixCommutedOpIndices()228 else if (ResultIdx1 == CommutableOpIdx2) in fixCommutedOpIndices()235 return (ResultIdx1 == CommutableOpIdx1 && ResultIdx2 == CommutableOpIdx2) || in fixCommutedOpIndices()[all …]
136 unsigned CommutableOpIdx2);
1912 unsigned CommutableOpIdx2 = SrcOpIdx2; in findThreeSrcCommutedOpIndices() local1919 CommutableOpIdx2 = LastCommutableVecOp; in findThreeSrcCommutedOpIndices()1922 CommutableOpIdx2 = SrcOpIdx1; in findThreeSrcCommutedOpIndices()1926 unsigned Op2Reg = MI.getOperand(CommutableOpIdx2).getReg(); in findThreeSrcCommutedOpIndices()1947 CommutableOpIdx1, CommutableOpIdx2)) in findThreeSrcCommutedOpIndices()2059 unsigned CommutableOpIdx2 = 3; in findCommutedOpIndices() local2063 ++CommutableOpIdx2; in findCommutedOpIndices()2066 CommutableOpIdx1, CommutableOpIdx2)) in findCommutedOpIndices()2087 unsigned CommutableOpIdx2 = Desc.getNumDefs() + 2; in findCommutedOpIndices() local2099 ++CommutableOpIdx2; in findCommutedOpIndices()[all …]
145 unsigned CommutableOpIdx2);
3428 unsigned CommutableOpIdx2 = SrcOpIdx2; in findFMA3CommutedOpIndices() local3435 CommutableOpIdx2 = RegOpsNum; in findFMA3CommutedOpIndices()3438 CommutableOpIdx2 = SrcOpIdx1; in findFMA3CommutedOpIndices()3442 unsigned Op2Reg = MI.getOperand(CommutableOpIdx2).getReg(); in findFMA3CommutedOpIndices()3458 CommutableOpIdx1, CommutableOpIdx2)) in findFMA3CommutedOpIndices()