/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | TargetInstrInfoImpl.cpp | 122 unsigned &SrcOpIdx1, in findCommutedOpIndices() argument 129 SrcOpIdx1 = MCID.getNumDefs(); in findCommutedOpIndices() 130 SrcOpIdx2 = SrcOpIdx1 + 1; in findCommutedOpIndices() 131 if (!MI->getOperand(SrcOpIdx1).isReg() || in findCommutedOpIndices()
|
/external/llvm/lib/Target/X86/ |
D | X86InstrInfo.h | 264 bool findCommutedOpIndices(MachineInstr &MI, unsigned &SrcOpIdx1, 289 bool findFMA3CommutedOpIndices(MachineInstr &MI, unsigned &SrcOpIdx1, 302 unsigned getFMA3OpcodeToCommuteOperands(MachineInstr &MI, unsigned SrcOpIdx1,
|
D | X86InstrInfo.cpp | 3408 unsigned &SrcOpIdx1, in findFMA3CommutedOpIndices() argument 3416 if (SrcOpIdx1 != CommuteAnyOperandIndex && in findFMA3CommutedOpIndices() 3417 (SrcOpIdx1 < 1 || SrcOpIdx1 > RegOpsNum)) in findFMA3CommutedOpIndices() 3425 if (SrcOpIdx1 == CommuteAnyOperandIndex || in findFMA3CommutedOpIndices() 3427 unsigned CommutableOpIdx1 = SrcOpIdx1; in findFMA3CommutedOpIndices() 3432 if (SrcOpIdx1 == SrcOpIdx2) in findFMA3CommutedOpIndices() 3438 CommutableOpIdx2 = SrcOpIdx1; in findFMA3CommutedOpIndices() 3457 if (!fixCommutedOpIndices(SrcOpIdx1, SrcOpIdx2, in findFMA3CommutedOpIndices() 3464 return getFMA3OpcodeToCommuteOperands(MI, SrcOpIdx1, SrcOpIdx2) != 0; in findFMA3CommutedOpIndices() 3468 MachineInstr &MI, unsigned SrcOpIdx1, unsigned SrcOpIdx2) const { in getFMA3OpcodeToCommuteOperands() argument [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
D | X86InstrInfo.h | 292 bool findCommutedOpIndices(MachineInstr &MI, unsigned &SrcOpIdx1, 311 getFMA3OpcodeToCommuteOperands(const MachineInstr &MI, unsigned SrcOpIdx1, 617 unsigned &SrcOpIdx1,
|
D | X86InstrInfo.cpp | 1313 static unsigned getThreeSrcCommuteCase(uint64_t TSFlags, unsigned SrcOpIdx1, in getThreeSrcCommuteCase() argument 1316 if (SrcOpIdx1 > SrcOpIdx2) in getThreeSrcCommuteCase() 1317 std::swap(SrcOpIdx1, SrcOpIdx2); in getThreeSrcCommuteCase() 1325 if (SrcOpIdx1 == Op1 && SrcOpIdx2 == Op2) in getThreeSrcCommuteCase() 1327 if (SrcOpIdx1 == Op1 && SrcOpIdx2 == Op3) in getThreeSrcCommuteCase() 1329 if (SrcOpIdx1 == Op2 && SrcOpIdx2 == Op3) in getThreeSrcCommuteCase() 1335 const MachineInstr &MI, unsigned SrcOpIdx1, unsigned SrcOpIdx2, in getFMA3OpcodeToCommuteOperands() argument 1346 assert(!(FMA3Group.isIntrinsic() && (SrcOpIdx1 == 1 || SrcOpIdx2 == 1)) && in getFMA3OpcodeToCommuteOperands() 1350 unsigned Case = getThreeSrcCommuteCase(MI.getDesc().TSFlags, SrcOpIdx1, in getFMA3OpcodeToCommuteOperands() 1392 static void commuteVPTERNLOG(MachineInstr &MI, unsigned SrcOpIdx1, in commuteVPTERNLOG() argument [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/ |
D | MipsInstrInfo.cpp | 669 bool MipsInstrInfo::findCommutedOpIndices(MachineInstr &MI, unsigned &SrcOpIdx1, in findCommutedOpIndices() argument 686 if (!fixCommutedOpIndices(SrcOpIdx1, SrcOpIdx2, 2, 3)) in findCommutedOpIndices() 689 if (!MI.getOperand(SrcOpIdx1).isReg() || !MI.getOperand(SrcOpIdx2).isReg()) in findCommutedOpIndices() 693 return TargetInstrInfo::findCommutedOpIndices(MI, SrcOpIdx1, SrcOpIdx2); in findCommutedOpIndices()
|
D | MipsInstrInfo.h | 152 bool findCommutedOpIndices(MachineInstr &MI, unsigned &SrcOpIdx1,
|
/external/swiftshader/third_party/LLVM/include/llvm/Target/ |
D | TargetInstrInfo.h | 233 virtual bool findCommutedOpIndices(MachineInstr *MI, unsigned &SrcOpIdx1, 739 virtual bool findCommutedOpIndices(MachineInstr *MI, unsigned &SrcOpIdx1,
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCInstrInfo.h | 159 bool findCommutedOpIndices(MachineInstr &MI, unsigned &SrcOpIdx1,
|
D | PPCInstrInfo.cpp | 405 bool PPCInstrInfo::findCommutedOpIndices(MachineInstr &MI, unsigned &SrcOpIdx1, in findCommutedOpIndices() argument 413 return TargetInstrInfo::findCommutedOpIndices(MI, SrcOpIdx1, SrcOpIdx2); in findCommutedOpIndices() 417 return fixCommutedOpIndices(SrcOpIdx1, SrcOpIdx2, 2, 3); in findCommutedOpIndices()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | TargetInstrInfo.cpp | 278 unsigned &SrcOpIdx1, in findCommutedOpIndices() argument 291 if (!fixCommutedOpIndices(SrcOpIdx1, SrcOpIdx2, in findCommutedOpIndices() 295 if (!MI.getOperand(SrcOpIdx1).isReg() || !MI.getOperand(SrcOpIdx2).isReg()) in findCommutedOpIndices()
|
/external/llvm/lib/CodeGen/ |
D | TargetInstrInfo.cpp | 242 unsigned &SrcOpIdx1, in findCommutedOpIndices() argument 255 if (!fixCommutedOpIndices(SrcOpIdx1, SrcOpIdx2, in findCommutedOpIndices() 259 if (!MI.getOperand(SrcOpIdx1).isReg() || !MI.getOperand(SrcOpIdx2).isReg()) in findCommutedOpIndices()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/ |
D | PPCInstrInfo.h | 216 bool findCommutedOpIndices(MachineInstr &MI, unsigned &SrcOpIdx1,
|
D | PPCInstrInfo.cpp | 441 bool PPCInstrInfo::findCommutedOpIndices(MachineInstr &MI, unsigned &SrcOpIdx1, in findCommutedOpIndices() argument 449 return TargetInstrInfo::findCommutedOpIndices(MI, SrcOpIdx1, SrcOpIdx2); in findCommutedOpIndices() 453 return fixCommutedOpIndices(SrcOpIdx1, SrcOpIdx2, 2, 3); in findCommutedOpIndices()
|
/external/llvm/lib/Target/AMDGPU/ |
D | SIInstrInfo.h | 149 bool findCommutedOpIndices(MachineInstr &MI, unsigned &SrcOpIdx1,
|
D | SIInstrInfo.cpp | 1031 unsigned &SrcOpIdx1) const { in findCommutedOpIndices() 1066 return fixCommutedOpIndices(SrcOpIdx0, SrcOpIdx1, Src0Idx, Src1Idx); in findCommutedOpIndices()
|
/external/llvm/include/llvm/Target/ |
D | TargetInstrInfo.h | 352 virtual bool findCommutedOpIndices(MachineInstr &MI, unsigned &SrcOpIdx1,
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/ |
D | TargetInstrInfo.h | 421 virtual bool findCommutedOpIndices(MachineInstr &MI, unsigned &SrcOpIdx1,
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | SIInstrInfo.h | 225 bool findCommutedOpIndices(MachineInstr &MI, unsigned &SrcOpIdx1,
|
D | SIInstrInfo.cpp | 1423 unsigned &SrcOpIdx1) const { in findCommutedOpIndices() 1436 return fixCommutedOpIndices(SrcOpIdx0, SrcOpIdx1, Src0Idx, Src1Idx); in findCommutedOpIndices()
|