Lines Matching defs:AFI
304 const ARMFunctionInfo *AFI = MF.getInfo<ARMFunctionInfo>();
318 if (AFI->isThumbFunction() && MFI->hasVarSizedObjects()) {
325 if (AFI->isThumb2Function() && MFI->getLocalFrameSize() < 128)
335 const ARMFunctionInfo *AFI = MF.getInfo<ARMFunctionInfo>();
342 if (AFI->isThumb1OnlyFunction())
522 ARMFunctionInfo *AFI = MF.getInfo<ARMFunctionInfo>();
530 if (!AFI->isThumbFunction() || !AFI->isThumb1OnlyFunction())
570 ARMFunctionInfo *AFI = MBB->getParent()->getInfo<ARMFunctionInfo>();
571 unsigned ADDriOpc = !AFI->isThumbFunction() ? ARM::ADDri :
572 (AFI->isThumb1OnlyFunction() ? ARM::tADDframe : ARM::t2ADDri);
588 if (!AFI->isThumb1OnlyFunction())
598 ARMFunctionInfo *AFI = MF.getInfo<ARMFunctionInfo>();
602 assert(!AFI->isThumb1OnlyFunction() &&
610 if (!AFI->isThumbFunction())
613 assert(AFI->isThumb2Function());
699 ARMFunctionInfo *AFI = MF.getInfo<ARMFunctionInfo>();
700 assert(!AFI->isThumb1OnlyFunction() &&
726 if (!AFI->isThumbFunction())
729 assert(AFI->isThumb2Function());
753 if (!AFI->isThumbFunction())
757 assert(AFI->isThumb2Function());
800 auto AFI = MF->getInfo<ARMFunctionInfo>();
801 auto It = AFI->getCoalescedWeight(MBB);