Lines Matching refs:BC

225 void FrameOptimizerPass::runOnFunctions(BinaryContext &BC) {  in runOnFunctions()  argument
236 CG = std::make_unique<BinaryFunctionCallGraph>(buildCallGraph(BC)); in runOnFunctions()
242 FA = std::make_unique<FrameAnalysis>(BC, *CG); in runOnFunctions()
248 RA = std::make_unique<RegAnalysis>(BC, &BC.getBinaryFunctions(), CG.get()); in runOnFunctions()
253 for (auto &I : BC.getBinaryFunctions()) { in runOnFunctions()
258 if (I.second.getKnownExecutionCount() < BC.getHotThreshold()) in runOnFunctions()
265 << BC.getHotThreshold() << " )\n"); in runOnFunctions()
289 performShrinkWrapping(*RA, *FA, BC); in runOnFunctions()
311 BinaryContext &BC) { in performShrinkWrapping() argument
314 BC.MIB->getOrCreateAnnotationIndex(CalleeSavedAnalysis::getSaveTagName()); in performShrinkWrapping()
315 BC.MIB->getOrCreateAnnotationIndex(CalleeSavedAnalysis::getRestoreTagName()); in performShrinkWrapping()
316 BC.MIB->getOrCreateAnnotationIndex(StackLayoutModifier::getTodoTagName()); in performShrinkWrapping()
317 BC.MIB->getOrCreateAnnotationIndex(StackLayoutModifier::getSlotTagName()); in performShrinkWrapping()
318 BC.MIB->getOrCreateAnnotationIndex( in performShrinkWrapping()
320 BC.MIB->getOrCreateAnnotationIndex("ReachingDefs"); in performShrinkWrapping()
321 BC.MIB->getOrCreateAnnotationIndex("ReachingUses"); in performShrinkWrapping()
322 BC.MIB->getOrCreateAnnotationIndex("LivenessAnalysis"); in performShrinkWrapping()
323 BC.MIB->getOrCreateAnnotationIndex("StackReachingUses"); in performShrinkWrapping()
324 BC.MIB->getOrCreateAnnotationIndex("PostDominatorAnalysis"); in performShrinkWrapping()
325 BC.MIB->getOrCreateAnnotationIndex("DominatorAnalysis"); in performShrinkWrapping()
326 BC.MIB->getOrCreateAnnotationIndex("StackPointerTracking"); in performShrinkWrapping()
327 BC.MIB->getOrCreateAnnotationIndex("StackPointerTrackingForInternalCalls"); in performShrinkWrapping()
328 BC.MIB->getOrCreateAnnotationIndex("StackAvailableExpressions"); in performShrinkWrapping()
329 BC.MIB->getOrCreateAnnotationIndex("StackAllocationAnalysis"); in performShrinkWrapping()
330 BC.MIB->getOrCreateAnnotationIndex("ShrinkWrap-Todo"); in performShrinkWrapping()
331 BC.MIB->getOrCreateAnnotationIndex("PredictiveStackPointerTracking"); in performShrinkWrapping()
332 BC.MIB->getOrCreateAnnotationIndex("ReachingInsnsBackward"); in performShrinkWrapping()
333 BC.MIB->getOrCreateAnnotationIndex("ReachingInsns"); in performShrinkWrapping()
334 BC.MIB->getOrCreateAnnotationIndex("AccessesDeletedPos"); in performShrinkWrapping()
335 BC.MIB->getOrCreateAnnotationIndex("DeleteMe"); in performShrinkWrapping()
374 BC, ParallelUtilities::SchedulingPolicy::SP_INST_QUADRATIC, WorkFunction, in performShrinkWrapping()