reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
411 if (skipFunction(F)) 414 DL = &F.getParent()->getDataLayout(); 423 SubtargetInfo = TM->getSubtargetImpl(F); 427 TLInfo = &getAnalysis<TargetLibraryInfoWrapperPass>().getTLI(F); 428 TTI = &getAnalysis<TargetTransformInfoWrapperPass>().getTTI(F); 430 BPI.reset(new BranchProbabilityInfo(F, *LI)); 431 BFI.reset(new BlockFrequencyInfo(F, *BPI, *LI)); 432 OptSize = F.hasOptSize(); 437 if (PSI->isFunctionHotInCallGraph(&F, *BFI)) 438 F.setSectionPrefix(".hot"); 439 else if (PSI->isFunctionColdInCallGraph(&F, *BFI)) 440 F.setSectionPrefix(".unlikely"); 449 BasicBlock* BB = &*F.begin(); 461 EverMadeChange |= eliminateMostlyEmptyBlocks(F); 465 EverMadeChange |= splitBranchCondition(F, ModifiedDT); 469 EverMadeChange |= SplitIndirectBrCriticalEdges(F); 475 for (Function::iterator I = F.begin(); I != F.end(); ) { 475 for (Function::iterator I = F.begin(); I != F.end(); ) { 485 MadeChange |= mergeSExts(F); 509 for (BasicBlock &BB : F) { 537 MadeChange |= eliminateFallThrough(F); 544 for (BasicBlock &BB : F) 554 EverMadeChange |= placeDbgValues(F);