Lines Matching defs:MFI
56 MachineFrameInfo &MFI = MF.getFrameInfo();
59 if (MFI.getStackID(FrameIndex) == TargetStackID::WasmLocal)
60 return static_cast<unsigned>(MFI.getObjectOffset(FrameIndex));
64 const AllocaInst *AI = MFI.getObjectAllocation(FrameIndex);
75 MFI.setStackID(FrameIndex, TargetStackID::WasmLocal);
78 MFI.setObjectOffset(FrameIndex, Local);
85 MFI.setObjectSize(FrameIndex, ValueVTs.size());
102 const MachineFrameInfo &MFI = MF.getFrameInfo();
110 bool HasFixedSizedObjects = MFI.getStackSize() > 0;
113 return MFI.isFrameAddressTaken() ||
114 (MFI.hasVarSizedObjects() && NeedsFixedReference) ||
115 MFI.hasStackMap() || MFI.hasPatchPoint();
132 auto &MFI = MF.getFrameInfo();
140 return MFI.getStackSize() || MFI.adjustsStack() || hasFP(MF) ||
167 auto &MFI = MF.getFrameInfo();
176 bool CanUseRedZone = MFI.getStackSize() <= RedZoneSize && !MFI.hasCalls() &&
264 auto &MFI = MF.getFrameInfo();
265 assert(MFI.getCalleeSavedInfo().empty() &&
270 uint64_t StackSize = MFI.getStackSize();
312 Align Alignment = MFI.getMaxAlign();
386 const WebAssemblyFunctionInfo &MFI = *MF.getInfo<WebAssemblyFunctionInfo>();
387 if (needsSP(MF) && MFI.isFrameBaseVirtual()) {
388 unsigned LocalNum = MFI.getFrameBaseLocal();