Pulled CodeMetrics out of InlineCost.h and made it a bit more general, so it can...