Refactor inline costs analysis by removing the InlineCostAnalysis class