Home
last modified time | relevance | path

Searched refs:GEPInfo (Results 1 – 3 of 3) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUInstructionSelector.h62 struct GEPInfo { struct
67 GEPInfo(const MachineInstr &GEP) : GEP(GEP), Imm(0) { } in GEPInfo() function
108 bool hasVgprParts(ArrayRef<GEPInfo> AddrInfo) const;
110 SmallVectorImpl<GEPInfo> &AddrInfo) const;
111 bool selectSMRD(MachineInstr &I, ArrayRef<GEPInfo> AddrInfo) const;
DAMDGPUInstructionSelector.cpp1495 const MachineRegisterInfo &MRI, SmallVectorImpl<GEPInfo> &AddrInfo) const { in getAddrModeInfo()
1504 GEPInfo GEPInfo(*PtrMI); in getAddrModeInfo() local
1513 assert(GEPInfo.Imm == 0); in getAddrModeInfo()
1514 GEPInfo.Imm = OpDef->getOperand(1).getCImm()->getSExtValue(); in getAddrModeInfo()
1519 GEPInfo.SgprParts.push_back(GEPOp.getReg()); in getAddrModeInfo()
1521 GEPInfo.VgprParts.push_back(GEPOp.getReg()); in getAddrModeInfo()
1524 AddrInfo.push_back(GEPInfo); in getAddrModeInfo()
1550 bool AMDGPUInstructionSelector::hasVgprParts(ArrayRef<GEPInfo> AddrInfo) const { in hasVgprParts()
1551 for (const GEPInfo &GEPInfo : AddrInfo) { in hasVgprParts() local
1552 if (!GEPInfo.VgprParts.empty()) in hasVgprParts()
[all …]
DSMInstructions.td725 SmallVector<GEPInfo, 4> AddrInfo;