Home
last modified time | relevance | path

Searched refs:FirstLdSt (Results 1 – 10 of 10) sorted by relevance

/external/llvm/lib/Target/AArch64/
DAArch64InstrInfo.h108 bool shouldClusterMemOps(MachineInstr &FirstLdSt, MachineInstr &SecondLdSt,
DAArch64InstrInfo.cpp1761 bool AArch64InstrInfo::shouldClusterMemOps(MachineInstr &FirstLdSt, in shouldClusterMemOps() argument
1769 unsigned FirstOpc = FirstLdSt.getOpcode(); in shouldClusterMemOps()
1776 if (!isCandidateToMergeOrPair(FirstLdSt) || in shouldClusterMemOps()
1781 int64_t Offset1 = FirstLdSt.getOperand(2).getImm(); in shouldClusterMemOps()
/external/llvm/lib/Target/AMDGPU/
DSIInstrInfo.cpp299 bool SIInstrInfo::shouldClusterMemOps(MachineInstr &FirstLdSt, in shouldClusterMemOps() argument
305 if (isDS(FirstLdSt) && isDS(SecondLdSt)) { in shouldClusterMemOps()
306 FirstDst = getNamedOperand(FirstLdSt, AMDGPU::OpName::vdst); in shouldClusterMemOps()
310 if (isSMRD(FirstLdSt) && isSMRD(SecondLdSt)) { in shouldClusterMemOps()
311 FirstDst = getNamedOperand(FirstLdSt, AMDGPU::OpName::sdst); in shouldClusterMemOps()
315 if ((isMUBUF(FirstLdSt) && isMUBUF(SecondLdSt)) || in shouldClusterMemOps()
316 (isMTBUF(FirstLdSt) && isMTBUF(SecondLdSt))) { in shouldClusterMemOps()
317 FirstDst = getNamedOperand(FirstLdSt, AMDGPU::OpName::vdata); in shouldClusterMemOps()
335 FirstLdSt.getParent()->getParent()->getRegInfo(); in shouldClusterMemOps()
DSIInstrInfo.h117 bool shouldClusterMemOps(MachineInstr &FirstLdSt, MachineInstr &SecondLdSt,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIInstrInfo.cpp439 const MachineInstr &FirstLdSt = *BaseOp1.getParent(); in shouldClusterMemOps() local
442 if (!memOpsHaveSameBasePtr(FirstLdSt, BaseOp1, SecondLdSt, BaseOp2)) in shouldClusterMemOps()
448 if ((isMUBUF(FirstLdSt) && isMUBUF(SecondLdSt)) || in shouldClusterMemOps()
449 (isMTBUF(FirstLdSt) && isMTBUF(SecondLdSt)) || in shouldClusterMemOps()
450 (isFLAT(FirstLdSt) && isFLAT(SecondLdSt))) { in shouldClusterMemOps()
455 FirstDst = getNamedOperand(FirstLdSt, AMDGPU::OpName::vdata); in shouldClusterMemOps()
457 FirstDst = getNamedOperand(FirstLdSt, AMDGPU::OpName::vdst); in shouldClusterMemOps()
461 } else if (isSMRD(FirstLdSt) && isSMRD(SecondLdSt)) { in shouldClusterMemOps()
462 FirstDst = getNamedOperand(FirstLdSt, AMDGPU::OpName::sdst); in shouldClusterMemOps()
464 } else if (isDS(FirstLdSt) && isDS(SecondLdSt)) { in shouldClusterMemOps()
[all …]
/external/llvm/include/llvm/Target/
DTargetInstrInfo.h1045 virtual bool shouldClusterMemOps(MachineInstr &FirstLdSt, in shouldClusterMemOps() argument
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64InstrInfo.cpp2369 const MachineInstr &FirstLdSt = *BaseOp1.getParent(); in shouldClusterMemOps() local
2385 if (!isPairableLdStInst(FirstLdSt) || !isPairableLdStInst(SecondLdSt)) in shouldClusterMemOps()
2389 unsigned FirstOpc = FirstLdSt.getOpcode(); in shouldClusterMemOps()
2396 if (!isCandidateToMergeOrPair(FirstLdSt) || in shouldClusterMemOps()
2401 int64_t Offset1 = FirstLdSt.getOperand(2).getImm(); in shouldClusterMemOps()
2420 FirstLdSt.getParent()->getParent()->getFrameInfo(); in shouldClusterMemOps()
/external/llvm-project/llvm/lib/Target/AArch64/
DAArch64InstrInfo.cpp2634 const MachineInstr &FirstLdSt = *BaseOp1.getParent(); in shouldClusterMemOps() local
2650 if (!isPairableLdStInst(FirstLdSt) || !isPairableLdStInst(SecondLdSt)) in shouldClusterMemOps()
2654 unsigned FirstOpc = FirstLdSt.getOpcode(); in shouldClusterMemOps()
2661 if (!isCandidateToMergeOrPair(FirstLdSt) || in shouldClusterMemOps()
2666 int64_t Offset1 = FirstLdSt.getOperand(2).getImm(); in shouldClusterMemOps()
2685 FirstLdSt.getParent()->getParent()->getFrameInfo(); in shouldClusterMemOps()
/external/llvm-project/llvm/lib/Target/PowerPC/
DPPCInstrInfo.cpp2369 const MachineInstr &FirstLdSt = *BaseOp1.getParent(); in shouldClusterMemOps() local
2371 unsigned FirstOpc = FirstLdSt.getOpcode(); in shouldClusterMemOps()
2380 if (!isLdStSafeToCluster(FirstLdSt, TRI) || in shouldClusterMemOps()
2387 if (!getMemOperandWithOffsetWidth(FirstLdSt, Base1, Offset1, Width1, TRI) || in shouldClusterMemOps()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DSIInstrInfo.cpp479 const MachineInstr &FirstLdSt = *BaseOps1.front()->getParent(); in shouldClusterMemOps() local
481 if (!memOpsHaveSameBasePtr(FirstLdSt, BaseOps1, SecondLdSt, BaseOps2)) in shouldClusterMemOps()