Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DTargetInstrInfo.cpp157 unsigned CommutableOpIdx1 = Idx1; (void)CommutableOpIdx1; in commuteInstructionImpl() local
159 assert(findCommutedOpIndices(MI, CommutableOpIdx1, CommutableOpIdx2) && in commuteInstructionImpl()
160 CommutableOpIdx1 == Idx1 && CommutableOpIdx2 == Idx2 && in commuteInstructionImpl()
248 unsigned CommutableOpIdx1, in fixCommutedOpIndices() argument
252 ResultIdx1 = CommutableOpIdx1; in fixCommutedOpIndices()
255 if (ResultIdx2 == CommutableOpIdx1) in fixCommutedOpIndices()
258 ResultIdx1 = CommutableOpIdx1; in fixCommutedOpIndices()
262 if (ResultIdx1 == CommutableOpIdx1) in fixCommutedOpIndices()
265 ResultIdx2 = CommutableOpIdx1; in fixCommutedOpIndices()
271 return (ResultIdx1 == CommutableOpIdx1 && ResultIdx2 == CommutableOpIdx2) || in fixCommutedOpIndices()
[all …]
/external/llvm/lib/CodeGen/
DTargetInstrInfo.cpp135 unsigned CommutableOpIdx1 = Idx1; (void)CommutableOpIdx1; in commuteInstructionImpl() local
137 assert(findCommutedOpIndices(MI, CommutableOpIdx1, CommutableOpIdx2) && in commuteInstructionImpl()
138 CommutableOpIdx1 == Idx1 && CommutableOpIdx2 == Idx2 && in commuteInstructionImpl()
212 unsigned CommutableOpIdx1, in fixCommutedOpIndices() argument
216 ResultIdx1 = CommutableOpIdx1; in fixCommutedOpIndices()
219 if (ResultIdx2 == CommutableOpIdx1) in fixCommutedOpIndices()
222 ResultIdx1 = CommutableOpIdx1; in fixCommutedOpIndices()
226 if (ResultIdx1 == CommutableOpIdx1) in fixCommutedOpIndices()
229 ResultIdx2 = CommutableOpIdx1; in fixCommutedOpIndices()
235 return (ResultIdx1 == CommutableOpIdx1 && ResultIdx2 == CommutableOpIdx2) || in fixCommutedOpIndices()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86InstrInfo.cpp1911 unsigned CommutableOpIdx1 = SrcOpIdx1; in findThreeSrcCommutedOpIndices() local
1927 for (CommutableOpIdx1 = LastCommutableVecOp; in findThreeSrcCommutedOpIndices()
1928 CommutableOpIdx1 >= FirstCommutableVecOp; CommutableOpIdx1--) { in findThreeSrcCommutedOpIndices()
1930 if (CommutableOpIdx1 == KMaskOp) in findThreeSrcCommutedOpIndices()
1936 if (Op2Reg != MI.getOperand(CommutableOpIdx1).getReg()) in findThreeSrcCommutedOpIndices()
1941 if (CommutableOpIdx1 < FirstCommutableVecOp) in findThreeSrcCommutedOpIndices()
1947 CommutableOpIdx1, CommutableOpIdx2)) in findThreeSrcCommutedOpIndices()
2058 unsigned CommutableOpIdx1 = 2; in findCommutedOpIndices() local
2062 ++CommutableOpIdx1; in findCommutedOpIndices()
2066 CommutableOpIdx1, CommutableOpIdx2)) in findCommutedOpIndices()
[all …]
/external/llvm/include/llvm/Target/
DTargetInstrInfo.h135 unsigned CommutableOpIdx1,
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DTargetInstrInfo.h144 unsigned CommutableOpIdx1,
/external/llvm/lib/Target/X86/
DX86InstrInfo.cpp3427 unsigned CommutableOpIdx1 = SrcOpIdx1; in findFMA3CommutedOpIndices() local
3443 for (CommutableOpIdx1 = RegOpsNum; CommutableOpIdx1 > 0; CommutableOpIdx1--) { in findFMA3CommutedOpIndices()
3447 if (Op2Reg != MI.getOperand(CommutableOpIdx1).getReg()) in findFMA3CommutedOpIndices()
3452 if (CommutableOpIdx1 == 0) in findFMA3CommutedOpIndices()
3458 CommutableOpIdx1, CommutableOpIdx2)) in findFMA3CommutedOpIndices()