21 uint16_t GPRMask = (ChainedFrame << 11);
25 GPRMask |= (LinkRegister << 14);
29 GPRMask |= (LinkRegister << 14);
31 GPRMask |= (LinkRegister << 15);
36 VFPMask |= (((1 << ((NumRegisters + 1) % 8)) - 1) << 8);
38 GPRMask |= (((1 << (NumRegisters + 1)) - 1) << 4);
41 GPRMask |= (((1 << ((RF.
StackAdjust() & 0x3) + 1)) - 1)
44 return {GPRMask, VFPMask};
RuntimeFunction - An entry in the table of procedure data (.pdata)
uint16_t StackAdjust() const
bool EpilogueFolding(const RuntimeFunction &RF)
Epilogue - pseudo-flag derived from Stack Adjust indicating that the epilogue has stack adjustment co...
LLVM_ABI std::pair< uint16_t, uint32_t > SavedRegisterMask(const RuntimeFunction &RF, bool Prologue=true)
SavedRegisterMask - Utility function to calculate the set of saved general purpose (r0-r15) and VFP (...
bool PrologueFolding(const RuntimeFunction &RF)
PrologueFolding - pseudo-flag derived from Stack Adjust indicating that the prologue has stack adjust...
Define some predicates that are used for node matching.
This is an optimization pass for GlobalISel generic memory operations.