Lines Matching +full:super +full:- +full:frames
1 //===-- M68kRegisterInfo.cpp - CPU0 Register Information --------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
12 //===----------------------------------------------------------------------===//
34 #define DEBUG_TYPE "m68k-reg-info"
39 "m68k-use-base-pointer", cl::Hidden, cl::init(true),
40 cl::desc("Enable use of a base pointer for complex stack frames"));
55 //===----------------------------------------------------------------------===//
57 //===----------------------------------------------------------------------===//
78 for (MCPhysReg Super : superregs(Reg)) in getMatchingMegaReg() local
79 if (RC->contains(Super)) in getMatchingMegaReg()
80 return Super; in getMatchingMegaReg()
96 RC->contains(reg) && in getMaximalPhysRegClass()
98 (BestRC->hasSubClass(RC) && RC->getNumRegs() > BestRC->getNumRegs()))) in getMaximalPhysRegClass()
113 return -1; in getRegisterOrder()
127 // Set a register's and its sub-registers and aliases as reserved. in getReservedRegs()
146 if (TFI->hasFP(MF)) { in getReservedRegs()
150 // Set the base-pointer register and its aliases as reserved if needed. in getReservedRegs()
169 MachineFunction &MF = *MI.getParent()->getParent(); in eliminateFrameIndex()
174 MachineOperand &Disp = MI.getOperand(FIOperandNum - 1); in eliminateFrameIndex()
191 BasePtr = (TFI->hasFP(MF) ? FramePtr : StackPtr); in eliminateFrameIndex()
201 FIOffset = MFI.getObjectOffset(FIndex) - TFI->getOffsetOfLocalArea(); in eliminateFrameIndex()
204 TFI->getFrameIndexReference(MF, FIndex, IgnoredFrameReg).getFixed(); in eliminateFrameIndex()
235 // pointer. When we have dynamic allocas or stack-adjusting inline asm, we in hasBasePointer()
252 if (!MRI->canReserveReg(FramePtr)) in canRealignStack()
257 return MRI->canReserveReg(BasePtr); in canRealignStack()
264 return TFI->hasFP(MF) ? FramePtr : StackPtr; in getFrameRegister()