Home
last modified time | relevance | path

Searched refs:SecondLdSt (Results 1 – 2 of 2) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIInstrInfo.cpp440 const MachineInstr &SecondLdSt = *BaseOp2.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()
458 SecondDst = getNamedOperand(SecondLdSt, AMDGPU::OpName::vdata); in shouldClusterMemOps()
460 SecondDst = getNamedOperand(SecondLdSt, AMDGPU::OpName::vdst); in shouldClusterMemOps()
461 } else if (isSMRD(FirstLdSt) && isSMRD(SecondLdSt)) { in shouldClusterMemOps()
463 SecondDst = getNamedOperand(SecondLdSt, AMDGPU::OpName::sdst); in shouldClusterMemOps()
464 } else if (isDS(FirstLdSt) && isDS(SecondLdSt)) { in shouldClusterMemOps()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64InstrInfo.cpp2370 const MachineInstr &SecondLdSt = *BaseOp2.getParent(); in shouldClusterMemOps() local
2385 if (!isPairableLdStInst(FirstLdSt) || !isPairableLdStInst(SecondLdSt)) in shouldClusterMemOps()
2390 unsigned SecondOpc = SecondLdSt.getOpcode(); in shouldClusterMemOps()
2397 !isCandidateToMergeOrPair(SecondLdSt)) in shouldClusterMemOps()
2405 int64_t Offset2 = SecondLdSt.getOperand(2).getImm(); in shouldClusterMemOps()