Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DSIFrameLowering.cpp544 unsigned StackPtrReg = FuncInfo->getStackPtrOffsetReg(); in emitPrologue() local
569 .addReg(StackPtrReg) in emitPrologue()
583 .addReg(StackPtrReg) in emitPrologue()
588 BuildMI(MBB, MBBI, DL, TII->get(AMDGPU::S_ADD_U32), StackPtrReg) in emitPrologue()
589 .addReg(StackPtrReg) in emitPrologue()
623 unsigned StackPtrReg = FuncInfo->getStackPtrOffsetReg(); in emitEpilogue() local
624 if (StackPtrReg == AMDGPU::NoRegister) in emitEpilogue()
639 BuildMI(MBB, MBBI, DL, TII->get(AMDGPU::S_SUB_U32), StackPtrReg) in emitEpilogue()
640 .addReg(StackPtrReg) in emitEpilogue()
DSIRegisterInfo.cpp212 unsigned StackPtrReg = MFI->getStackPtrOffsetReg(); in getReservedRegs() local
214 if (StackPtrReg != AMDGPU::NoRegister) { in getReservedRegs()
215 reserveRegisterTuples(Reserved, StackPtrReg); in getReservedRegs()
216 assert(!isSubRegister(ScratchRSrcReg, StackPtrReg)); in getReservedRegs()