Lines Matching refs:AFI
336 const ARMFunctionInfo *AFI = MF.getInfo<ARMFunctionInfo>(); in hasBasePointer() local
350 if (AFI->isThumbFunction() && MFI->hasVarSizedObjects()) { in hasBasePointer()
357 if (AFI->isThumb2Function() && MFI->getLocalFrameSize() < 128) in hasBasePointer()
367 const ARMFunctionInfo *AFI = MF.getInfo<ARMFunctionInfo>(); in canRealignStack() local
375 if (AFI->isThumb1OnlyFunction()) in canRealignStack()
540 ARMFunctionInfo *AFI = MF.getInfo<ARMFunctionInfo>(); in needsFrameBaseReg() local
548 if (!AFI->isThumbFunction() || !AFI->isThumb1OnlyFunction()) in needsFrameBaseReg()
588 ARMFunctionInfo *AFI = MBB->getParent()->getInfo<ARMFunctionInfo>(); in materializeFrameBaseRegister() local
589 unsigned ADDriOpc = !AFI->isThumbFunction() ? ARM::ADDri : in materializeFrameBaseRegister()
590 (AFI->isThumb1OnlyFunction() ? ARM::tADDframe : ARM::t2ADDri); in materializeFrameBaseRegister()
606 if (!AFI->isThumb1OnlyFunction()) in materializeFrameBaseRegister()
616 ARMFunctionInfo *AFI = MF.getInfo<ARMFunctionInfo>(); in resolveFrameIndex() local
620 assert(!AFI->isThumb1OnlyFunction() && in resolveFrameIndex()
628 if (!AFI->isThumbFunction()) in resolveFrameIndex()
631 assert(AFI->isThumb2Function()); in resolveFrameIndex()
716 ARMFunctionInfo *AFI = MF.getInfo<ARMFunctionInfo>(); in eliminateFrameIndex() local
717 assert(!AFI->isThumb1OnlyFunction() && in eliminateFrameIndex()
743 if (!AFI->isThumbFunction()) in eliminateFrameIndex()
746 assert(AFI->isThumb2Function()); in eliminateFrameIndex()
770 if (!AFI->isThumbFunction()) in eliminateFrameIndex()
774 assert(AFI->isThumb2Function()); in eliminateFrameIndex()
817 auto AFI = MF->getInfo<ARMFunctionInfo>(); in shouldCoalesce() local
818 auto It = AFI->getCoalescedWeight(MBB); in shouldCoalesce()