Lines Matching refs:CallerMetrics
601 CodeMetrics &CallerMetrics = CachedFunctionInfo[Caller].Metrics; in growCachedCostInfo() local
604 if (CallerMetrics.NumBlocks < 10 && CallerMetrics.NumInsts < 1000) { in growCachedCostInfo()
611 if (CallerMetrics.NumCalls > 0) in growCachedCostInfo()
612 --CallerMetrics.NumCalls; in growCachedCostInfo()
628 CallerMetrics.usesDynamicAlloca |= CalleeMetrics.usesDynamicAlloca; in growCachedCostInfo()
632 CallerMetrics.callsSetJmp |= CalleeMetrics.callsSetJmp; in growCachedCostInfo()
633 CallerMetrics.isRecursive |= CalleeMetrics.isRecursive; in growCachedCostInfo()
634 CallerMetrics.containsIndirectBr |= CalleeMetrics.containsIndirectBr; in growCachedCostInfo()
636 CallerMetrics.NumInsts += CalleeMetrics.NumInsts; in growCachedCostInfo()
637 CallerMetrics.NumBlocks += CalleeMetrics.NumBlocks; in growCachedCostInfo()
638 CallerMetrics.NumCalls += CalleeMetrics.NumCalls; in growCachedCostInfo()
639 CallerMetrics.NumVectorInsts += CalleeMetrics.NumVectorInsts; in growCachedCostInfo()
640 CallerMetrics.NumRets += CalleeMetrics.NumRets; 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()