Home
last modified time | relevance | path

Searched refs:CommutableOpIdx2 (Results 1 – 6 of 6) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DTargetInstrInfo.cpp158 unsigned CommutableOpIdx2 = Idx2; (void)CommutableOpIdx2; in commuteInstructionImpl() local
159 assert(findCommutedOpIndices(MI, CommutableOpIdx1, CommutableOpIdx2) && in commuteInstructionImpl()
160 CommutableOpIdx1 == Idx1 && CommutableOpIdx2 == Idx2 && in commuteInstructionImpl()
249 unsigned CommutableOpIdx2) { in fixCommutedOpIndices() argument
253 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 …]
/external/llvm/lib/CodeGen/
DTargetInstrInfo.cpp136 unsigned CommutableOpIdx2 = Idx2; (void)CommutableOpIdx2; in commuteInstructionImpl() local
137 assert(findCommutedOpIndices(MI, CommutableOpIdx1, CommutableOpIdx2) && in commuteInstructionImpl()
138 CommutableOpIdx1 == Idx1 && CommutableOpIdx2 == Idx2 && in commuteInstructionImpl()
213 unsigned CommutableOpIdx2) { in fixCommutedOpIndices() argument
217 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 …]
/external/llvm/include/llvm/Target/
DTargetInstrInfo.h136 unsigned CommutableOpIdx2);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86InstrInfo.cpp1912 unsigned CommutableOpIdx2 = SrcOpIdx2; in findThreeSrcCommutedOpIndices() local
1919 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() local
2063 ++CommutableOpIdx2; in findCommutedOpIndices()
2066 CommutableOpIdx1, CommutableOpIdx2)) in findCommutedOpIndices()
2087 unsigned CommutableOpIdx2 = Desc.getNumDefs() + 2; in findCommutedOpIndices() local
2099 ++CommutableOpIdx2; in findCommutedOpIndices()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DTargetInstrInfo.h145 unsigned CommutableOpIdx2);
/external/llvm/lib/Target/X86/
DX86InstrInfo.cpp3428 unsigned CommutableOpIdx2 = SrcOpIdx2; in findFMA3CommutedOpIndices() local
3435 CommutableOpIdx2 = RegOpsNum; in findFMA3CommutedOpIndices()
3438 CommutableOpIdx2 = SrcOpIdx1; in findFMA3CommutedOpIndices()
3442 unsigned Op2Reg = MI.getOperand(CommutableOpIdx2).getReg(); in findFMA3CommutedOpIndices()
3458 CommutableOpIdx1, CommutableOpIdx2)) in findFMA3CommutedOpIndices()