Lines Matching refs:FA
58 const FrameAnalysis &FA, in removeUnnecessaryLoads() argument
60 StackAvailableExpressions SAE(RA, FA, BF); in removeUnnecessaryLoads()
84 ErrorOr<const FrameIndexEntry &> FIEX = FA.getFIEFor(Inst); in removeUnnecessaryLoads()
101 ErrorOr<const FrameIndexEntry &> FIEY = FA.getFIEFor(*AvailableInst); in removeUnnecessaryLoads()
163 void FrameOptimizerPass::removeUnusedStores(const FrameAnalysis &FA, in removeUnusedStores() argument
165 StackReachingUses SRU(FA, BF); in removeUnusedStores()
185 ErrorOr<const FrameIndexEntry &> FIEX = FA.getFIEFor(Inst); in removeUnusedStores()
230 std::unique_ptr<FrameAnalysis> FA; in runOnFunctions() local
242 FA = std::make_unique<FrameAnalysis>(BC, *CG); in runOnFunctions()
254 if (!FA->hasFrameInfo(I.second)) in runOnFunctions()
271 if (!FA->hasStackArithmetic(I.second)) in runOnFunctions()
272 removeUnnecessaryLoads(*RA, *FA, I.second); in runOnFunctions()
278 if (!FA->hasStackArithmetic(I.second)) in runOnFunctions()
279 removeUnusedStores(*FA, I.second); in runOnFunctions()
289 performShrinkWrapping(*RA, *FA, BC); in runOnFunctions()
305 FA->printStats(); in runOnFunctions()
310 const FrameAnalysis &FA, in performShrinkWrapping() argument
363 DataflowInfoManager Info(BF, &RA, &FA, AllocatorId); in performShrinkWrapping()
364 ShrinkWrapping SW(FA, BF, Info, AllocatorId); in performShrinkWrapping()