Lines Matching refs:AFI
400 const ARMFunctionInfo *AFI = MF.getInfo<ARMFunctionInfo>(); in hasBasePointer() local
423 if (AFI->isThumb2Function() && MFI.hasVarSizedObjects() && in hasBasePointer()
430 if (AFI->isThumb1OnlyFunction() && !TFI->hasReservedCallFrame(MF)) in hasBasePointer()
599 ARMFunctionInfo *AFI = MF.getInfo<ARMFunctionInfo>(); in needsFrameBaseReg() local
607 if (!AFI->isThumbFunction() || !AFI->isThumb1OnlyFunction()) in needsFrameBaseReg()
647 ARMFunctionInfo *AFI = MBB->getParent()->getInfo<ARMFunctionInfo>(); in materializeFrameBaseRegister() local
648 unsigned ADDriOpc = !AFI->isThumbFunction() ? ARM::ADDri : in materializeFrameBaseRegister()
649 (AFI->isThumb1OnlyFunction() ? ARM::tADDframe : ARM::t2ADDri); in materializeFrameBaseRegister()
665 if (!AFI->isThumb1OnlyFunction()) in materializeFrameBaseRegister()
675 ARMFunctionInfo *AFI = MF.getInfo<ARMFunctionInfo>(); in resolveFrameIndex() local
679 assert(!AFI->isThumb1OnlyFunction() && in resolveFrameIndex()
687 if (!AFI->isThumbFunction()) in resolveFrameIndex()
690 assert(AFI->isThumb2Function()); in resolveFrameIndex()
773 ARMFunctionInfo *AFI = MF.getInfo<ARMFunctionInfo>(); in eliminateFrameIndex() local
774 assert(!AFI->isThumb1OnlyFunction() && in eliminateFrameIndex()
800 if (!AFI->isThumbFunction()) in eliminateFrameIndex()
803 assert(AFI->isThumb2Function()); in eliminateFrameIndex()
838 if (!AFI->isThumbFunction()) in eliminateFrameIndex()
842 assert(AFI->isThumb2Function()); in eliminateFrameIndex()
887 auto AFI = MF->getInfo<ARMFunctionInfo>(); in shouldCoalesce() local
888 auto It = AFI->getCoalescedWeight(MBB); in shouldCoalesce()