Searched refs:NumInsts (Results 1 – 14 of 14) sorted by relevance
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()[all …]
45 unsigned NumInsts, NumBlocks; member68 NumInsts(0), NumBlocks(0), NumCalls(0), in CodeMetrics()
109 unsigned NumInstsBeforeThisBB = NumInsts; in analyzeBasicBlock()165 NumInsts += TTI.getUserCost(&I); in analyzeBasicBlock()185 NumBBInsts[BB] = NumInsts - NumInstsBeforeThisBB; in analyzeBasicBlock()
72 unsigned NumInsts = 0; in computeFunctionSummary() local82 ++NumInsts; in computeFunctionSummary()100 llvm::make_unique<FunctionSummary>(Flags, NumInsts); in computeFunctionSummary()
63 unsigned NumInsts = false; member
246 FunctionSummary(GVFlags Flags, unsigned NumInsts) in FunctionSummary() argument247 : GlobalValueSummary(FunctionKind, Flags), InstCount(NumInsts) {} in FunctionSummary()
583 unsigned NumInsts = 0; in scheduleTwoAddrSource() local594 if (++NumInsts == 4) in scheduleTwoAddrSource()599 if (NumInsts) { in scheduleTwoAddrSource()
119 unsigned LoopSize = Metrics.NumInsts; in ApproximateLoopSize()
180 if (Metrics.NumInsts > MAX_HEADER_SIZE) in rotateLoop()
450 if (Metrics.NumInsts > Threshold || in UnswitchIfProfitable()
202 unsigned LoopSize = Metrics.NumInsts; in runOnLoop()
235 if (Metrics.NumInsts > MaxHeaderSize) in rotateLoop()
543 unsigned LoopSize = Metrics.NumInsts; in ApproximateLoopSize()
292 Props.SizeEstimation = Metrics.NumInsts; in countLoop()