Lines Matching refs:NumInsts
59 unsigned NumInstsBeforeThisBB = NumInsts; in analyzeBasicBlock()
88 NumInsts += CS.arg_size(); in analyzeBasicBlock()
127 ++NumInsts; in analyzeBasicBlock()
142 NumBBInsts[BB] = NumInsts - NumInstsBeforeThisBB; in analyzeBasicBlock()
250 --Metrics.NumInsts; in analyzeFunction()
418 InlineCost += CalleeFI->Metrics.NumInsts*InlineConstants::InstrCost; in getInlineSize()
560 Cost += CalleeFI->Metrics.NumInsts * InlineConstants::InstrCost; in getSpecializationCost()
590 if (CalleeFI.Metrics.NumVectorInsts > CalleeFI.Metrics.NumInsts/2) in getInlineFudgeFactor()
592 else if (CalleeFI.Metrics.NumVectorInsts > CalleeFI.Metrics.NumInsts/10) in getInlineFudgeFactor()
604 if (CallerMetrics.NumBlocks < 10 && CallerMetrics.NumInsts < 1000) { in growCachedCostInfo()
636 CallerMetrics.NumInsts += CalleeMetrics.NumInsts; in growCachedCostInfo()
643 if (CallerMetrics.NumInsts >= Callee->arg_size()) in growCachedCostInfo()
644 CallerMetrics.NumInsts -= Callee->arg_size(); in growCachedCostInfo()
646 CallerMetrics.NumInsts = 0; in growCachedCostInfo()