Home
last modified time | relevance | path

Searched refs:SrcOpIdx1 (Results 1 – 25 of 28) sorted by relevance

12

/external/llvm/lib/Target/X86/
DX86InstrInfo.h264 bool findCommutedOpIndices(MachineInstr &MI, unsigned &SrcOpIdx1,
289 bool findFMA3CommutedOpIndices(MachineInstr &MI, unsigned &SrcOpIdx1,
302 unsigned getFMA3OpcodeToCommuteOperands(MachineInstr &MI, unsigned SrcOpIdx1,
DX86InstrInfo.cpp3408 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-10.0/llvm/lib/Target/X86/
DX86InstrInfo.h257 bool findCommutedOpIndices(const MachineInstr &MI, unsigned &SrcOpIdx1,
276 getFMA3OpcodeToCommuteOperands(const MachineInstr &MI, unsigned SrcOpIdx1,
591 unsigned &SrcOpIdx1,
DX86InstrInfo.cpp1336 static unsigned getThreeSrcCommuteCase(uint64_t TSFlags, unsigned SrcOpIdx1, in getThreeSrcCommuteCase() argument
1339 if (SrcOpIdx1 > SrcOpIdx2) in getThreeSrcCommuteCase()
1340 std::swap(SrcOpIdx1, SrcOpIdx2); in getThreeSrcCommuteCase()
1348 if (SrcOpIdx1 == Op1 && SrcOpIdx2 == Op2) in getThreeSrcCommuteCase()
1350 if (SrcOpIdx1 == Op1 && SrcOpIdx2 == Op3) in getThreeSrcCommuteCase()
1352 if (SrcOpIdx1 == Op2 && SrcOpIdx2 == Op3) in getThreeSrcCommuteCase()
1358 const MachineInstr &MI, unsigned SrcOpIdx1, unsigned SrcOpIdx2, in getFMA3OpcodeToCommuteOperands() argument
1369 assert(!(FMA3Group.isIntrinsic() && (SrcOpIdx1 == 1 || SrcOpIdx2 == 1)) && in getFMA3OpcodeToCommuteOperands()
1373 unsigned Case = getThreeSrcCommuteCase(MI.getDesc().TSFlags, SrcOpIdx1, in getFMA3OpcodeToCommuteOperands()
1415 static void commuteVPTERNLOG(MachineInstr &MI, unsigned SrcOpIdx1, in commuteVPTERNLOG() argument
[all …]
/external/llvm-project/llvm/lib/Target/X86/
DX86InstrInfo.h284 bool findCommutedOpIndices(const MachineInstr &MI, unsigned &SrcOpIdx1,
303 getFMA3OpcodeToCommuteOperands(const MachineInstr &MI, unsigned SrcOpIdx1,
627 unsigned &SrcOpIdx1,
DX86InstrInfo.cpp1819 static unsigned getThreeSrcCommuteCase(uint64_t TSFlags, unsigned SrcOpIdx1, in getThreeSrcCommuteCase() argument
1822 if (SrcOpIdx1 > SrcOpIdx2) in getThreeSrcCommuteCase()
1823 std::swap(SrcOpIdx1, SrcOpIdx2); in getThreeSrcCommuteCase()
1831 if (SrcOpIdx1 == Op1 && SrcOpIdx2 == Op2) in getThreeSrcCommuteCase()
1833 if (SrcOpIdx1 == Op1 && SrcOpIdx2 == Op3) in getThreeSrcCommuteCase()
1835 if (SrcOpIdx1 == Op2 && SrcOpIdx2 == Op3) in getThreeSrcCommuteCase()
1841 const MachineInstr &MI, unsigned SrcOpIdx1, unsigned SrcOpIdx2, in getFMA3OpcodeToCommuteOperands() argument
1852 assert(!(FMA3Group.isIntrinsic() && (SrcOpIdx1 == 1 || SrcOpIdx2 == 1)) && in getFMA3OpcodeToCommuteOperands()
1856 unsigned Case = getThreeSrcCommuteCase(MI.getDesc().TSFlags, SrcOpIdx1, in getFMA3OpcodeToCommuteOperands()
1898 static void commuteVPTERNLOG(MachineInstr &MI, unsigned SrcOpIdx1, in commuteVPTERNLOG() argument
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsInstrInfo.cpp681 unsigned &SrcOpIdx1, in findCommutedOpIndices() argument
698 if (!fixCommutedOpIndices(SrcOpIdx1, SrcOpIdx2, 2, 3)) in findCommutedOpIndices()
701 if (!MI.getOperand(SrcOpIdx1).isReg() || !MI.getOperand(SrcOpIdx2).isReg()) in findCommutedOpIndices()
705 return TargetInstrInfo::findCommutedOpIndices(MI, SrcOpIdx1, SrcOpIdx2); in findCommutedOpIndices()
DMipsInstrInfo.h151 bool findCommutedOpIndices(const MachineInstr &MI, unsigned &SrcOpIdx1,
/external/llvm-project/llvm/lib/Target/Mips/
DMipsInstrInfo.cpp682 unsigned &SrcOpIdx1, in findCommutedOpIndices() argument
699 if (!fixCommutedOpIndices(SrcOpIdx1, SrcOpIdx2, 2, 3)) in findCommutedOpIndices()
702 if (!MI.getOperand(SrcOpIdx1).isReg() || !MI.getOperand(SrcOpIdx2).isReg()) in findCommutedOpIndices()
706 return TargetInstrInfo::findCommutedOpIndices(MI, SrcOpIdx1, SrcOpIdx2); in findCommutedOpIndices()
DMipsInstrInfo.h155 bool findCommutedOpIndices(const MachineInstr &MI, unsigned &SrcOpIdx1,
/external/llvm/lib/Target/PowerPC/
DPPCInstrInfo.h159 bool findCommutedOpIndices(MachineInstr &MI, unsigned &SrcOpIdx1,
DPPCInstrInfo.cpp405 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/llvm/lib/CodeGen/
DTargetInstrInfo.cpp242 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-10.0/llvm/lib/CodeGen/
DTargetInstrInfo.cpp287 unsigned &SrcOpIdx1, in findCommutedOpIndices() argument
300 if (!fixCommutedOpIndices(SrcOpIdx1, SrcOpIdx2, in findCommutedOpIndices()
304 if (!MI.getOperand(SrcOpIdx1).isReg() || !MI.getOperand(SrcOpIdx2).isReg()) in findCommutedOpIndices()
/external/llvm-project/llvm/lib/CodeGen/
DTargetInstrInfo.cpp297 unsigned &SrcOpIdx1, in findCommutedOpIndices() argument
310 if (!fixCommutedOpIndices(SrcOpIdx1, SrcOpIdx2, in findCommutedOpIndices()
314 if (!MI.getOperand(SrcOpIdx1).isReg() || !MI.getOperand(SrcOpIdx2).isReg()) in findCommutedOpIndices()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCInstrInfo.h255 bool findCommutedOpIndices(const MachineInstr &MI, unsigned &SrcOpIdx1,
DPPCInstrInfo.cpp453 unsigned &SrcOpIdx1, in findCommutedOpIndices() argument
461 return TargetInstrInfo::findCommutedOpIndices(MI, SrcOpIdx1, SrcOpIdx2); in findCommutedOpIndices()
465 return fixCommutedOpIndices(SrcOpIdx1, SrcOpIdx2, 2, 3); in findCommutedOpIndices()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIInstrInfo.h255 bool findCommutedOpIndices(const MachineInstr &MI, unsigned &SrcOpIdx1,
259 unsigned & SrcOpIdx1) const;
/external/llvm/lib/Target/AMDGPU/
DSIInstrInfo.h149 bool findCommutedOpIndices(MachineInstr &MI, unsigned &SrcOpIdx1,
DSIInstrInfo.cpp1031 unsigned &SrcOpIdx1) const { in findCommutedOpIndices()
1066 return fixCommutedOpIndices(SrcOpIdx0, SrcOpIdx1, Src0Idx, Src1Idx); in findCommutedOpIndices()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DSIInstrInfo.h262 bool findCommutedOpIndices(const MachineInstr &MI, unsigned &SrcOpIdx1,
266 unsigned & SrcOpIdx1) const;
/external/llvm-project/llvm/lib/Target/PowerPC/
DPPCInstrInfo.h383 bool findCommutedOpIndices(const MachineInstr &MI, unsigned &SrcOpIdx1,
/external/llvm/include/llvm/Target/
DTargetInstrInfo.h352 virtual bool findCommutedOpIndices(MachineInstr &MI, unsigned &SrcOpIdx1,
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DTargetInstrInfo.h445 unsigned &SrcOpIdx1,
/external/llvm-project/llvm/include/llvm/CodeGen/
DTargetInstrInfo.h452 unsigned &SrcOpIdx1,

12