Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUInstructionSelector.cpp394 const MachineRegisterInfo &MRI, SmallVectorImpl<GEPInfo> &AddrInfo) const { in getAddrModeInfo()
403 GEPInfo GEPInfo(*PtrMI); in getAddrModeInfo() local
412 assert(GEPInfo.Imm == 0); in getAddrModeInfo()
413 GEPInfo.Imm = OpDef->getOperand(1).getCImm()->getSExtValue(); in getAddrModeInfo()
418 GEPInfo.SgprParts.push_back(GEPOp.getReg()); in getAddrModeInfo()
420 GEPInfo.VgprParts.push_back(GEPOp.getReg()); in getAddrModeInfo()
423 AddrInfo.push_back(GEPInfo); in getAddrModeInfo()
495 bool AMDGPUInstructionSelector::hasVgprParts(ArrayRef<GEPInfo> AddrInfo) const { in hasVgprParts()
496 for (const GEPInfo &GEPInfo : AddrInfo) { in hasVgprParts() local
497 if (!GEPInfo.VgprParts.empty()) in hasVgprParts()
[all …]
DAMDGPUInstructionSelector.h53 struct GEPInfo { struct
58 GEPInfo(const MachineInstr &GEP) : GEP(GEP), Imm(0) { } in GEPInfo() argument
73 bool hasVgprParts(ArrayRef<GEPInfo> AddrInfo) const;
75 SmallVectorImpl<GEPInfo> &AddrInfo) const;
76 bool selectSMRD(MachineInstr &I, ArrayRef<GEPInfo> AddrInfo) const;