Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/CodeGen/
DTargetInstrInfoImpl.cpp122 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/
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-7.0/llvm/lib/Target/X86/
DX86InstrInfo.h292 bool findCommutedOpIndices(MachineInstr &MI, unsigned &SrcOpIdx1,
311 getFMA3OpcodeToCommuteOperands(const MachineInstr &MI, unsigned SrcOpIdx1,
617 unsigned &SrcOpIdx1,
DX86InstrInfo.cpp1313 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/
DMipsInstrInfo.cpp669 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()
DMipsInstrInfo.h152 bool findCommutedOpIndices(MachineInstr &MI, unsigned &SrcOpIdx1,
/external/swiftshader/third_party/LLVM/include/llvm/Target/
DTargetInstrInfo.h233 virtual bool findCommutedOpIndices(MachineInstr *MI, unsigned &SrcOpIdx1,
739 virtual bool findCommutedOpIndices(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/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DTargetInstrInfo.cpp278 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/
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-7.0/llvm/lib/Target/PowerPC/
DPPCInstrInfo.h216 bool findCommutedOpIndices(MachineInstr &MI, unsigned &SrcOpIdx1,
DPPCInstrInfo.cpp441 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/
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/include/llvm/Target/
DTargetInstrInfo.h352 virtual bool findCommutedOpIndices(MachineInstr &MI, unsigned &SrcOpIdx1,
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DTargetInstrInfo.h421 virtual bool findCommutedOpIndices(MachineInstr &MI, unsigned &SrcOpIdx1,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DSIInstrInfo.h225 bool findCommutedOpIndices(MachineInstr &MI, unsigned &SrcOpIdx1,
DSIInstrInfo.cpp1423 unsigned &SrcOpIdx1) const { in findCommutedOpIndices()
1436 return fixCommutedOpIndices(SrcOpIdx0, SrcOpIdx1, Src0Idx, Src1Idx); in findCommutedOpIndices()