Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUInstructionSelector.cpp1497 const MachineInstr *PtrMI = MRI.getUniqueVRegDef(Load.getOperand(1).getReg()); in getAddrModeInfo() local
1499 assert(PtrMI); in getAddrModeInfo()
1501 if (PtrMI->getOpcode() != TargetOpcode::G_PTR_ADD) in getAddrModeInfo()
1504 GEPInfo GEPInfo(*PtrMI); in getAddrModeInfo()
1507 const MachineOperand &GEPOp = PtrMI->getOperand(i); in getAddrModeInfo()
1525 getAddrModeInfo(*PtrMI, MRI, AddrInfo); in getAddrModeInfo()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64InstructionSelector.cpp1861 auto *PtrMI = MRI.getVRegDef(PtrReg); in select() local
1864 if (PtrMI->getOpcode() == TargetOpcode::G_PTR_ADD) { in select()
1865 if (auto COff = getConstantVRegVal(PtrMI->getOperand(2).getReg(), MRI)) { in select()
1870 Register Ptr2Reg = PtrMI->getOperand(1).getReg(); in select()
1872 PtrMI = MRI.getVRegDef(Ptr2Reg); in select()
1880 if (!Offset && PtrMI->getOpcode() == TargetOpcode::G_FRAME_INDEX) in select()
1881 I.getOperand(1).ChangeToFrameIndex(PtrMI->getOperand(1).getIndex()); in select()