Lines Matching refs:AFI
270 const ARMFunctionInfo *AFI = MF.getInfo<ARMFunctionInfo>(); in hasBasePointer() local
284 if (AFI->isThumbFunction() && MFI->hasVarSizedObjects()) { in hasBasePointer()
291 if (AFI->isThumb2Function() && MFI->getLocalFrameSize() < 128) in hasBasePointer()
301 const ARMFunctionInfo *AFI = MF.getInfo<ARMFunctionInfo>(); in canRealignStack() local
308 if (AFI->isThumb1OnlyFunction()) in canRealignStack()
495 ARMFunctionInfo *AFI = MF.getInfo<ARMFunctionInfo>(); in needsFrameBaseReg() local
503 if (!AFI->isThumbFunction() || !AFI->isThumb1OnlyFunction()) in needsFrameBaseReg()
544 ARMFunctionInfo *AFI = MBB->getParent()->getInfo<ARMFunctionInfo>(); in materializeFrameBaseRegister() local
545 unsigned ADDriOpc = !AFI->isThumbFunction() ? ARM::ADDri : in materializeFrameBaseRegister()
546 (AFI->isThumb1OnlyFunction() ? ARM::tADDrSPi : ARM::t2ADDri); in materializeFrameBaseRegister()
561 if (!AFI->isThumb1OnlyFunction()) in materializeFrameBaseRegister()
571 ARMFunctionInfo *AFI = MF.getInfo<ARMFunctionInfo>(); in resolveFrameIndex() local
575 assert(!AFI->isThumb1OnlyFunction() && in resolveFrameIndex()
583 if (!AFI->isThumbFunction()) in resolveFrameIndex()
586 assert(AFI->isThumb2Function()); in resolveFrameIndex()
670 ARMFunctionInfo *AFI = MF.getInfo<ARMFunctionInfo>(); in eliminateFrameIndex() local
671 assert(!AFI->isThumb1OnlyFunction() && in eliminateFrameIndex()
702 if (!AFI->isThumbFunction()) in eliminateFrameIndex()
705 assert(AFI->isThumb2Function()); in eliminateFrameIndex()
729 if (!AFI->isThumbFunction()) in eliminateFrameIndex()
733 assert(AFI->isThumb2Function()); in eliminateFrameIndex()