Lines Matching refs:BaseReg
255 lookupCandidateBaseReg(unsigned BaseReg, in lookupCandidateBaseReg() argument
264 return TRI->isFrameOffsetLegal(MI, BaseReg, Offset); in lookupCandidateBaseReg()
330 unsigned BaseReg = 0; in insertFrameReferenceRegisters() local
366 if (UsedBaseReg && lookupCandidateBaseReg(BaseReg, BaseOffset, in insertFrameReferenceRegisters()
369 DEBUG(dbgs() << " Reusing base register " << BaseReg << "\n"); in insertFrameReferenceRegisters()
387 BaseReg, BaseOffset, FrameSizeAdjust, in insertFrameReferenceRegisters()
396 BaseReg = Fn.getRegInfo().createVirtualRegister(RC); in insertFrameReferenceRegisters()
398 DEBUG(dbgs() << " Materializing base register " << BaseReg << in insertFrameReferenceRegisters()
404 TRI->materializeFrameBaseRegister(Entry, BaseReg, FrameIdx, in insertFrameReferenceRegisters()
415 assert(BaseReg != 0 && "Unable to allocate virtual base register!"); in insertFrameReferenceRegisters()
419 TRI->resolveFrameIndex(*I, BaseReg, Offset); in insertFrameReferenceRegisters()