This adds a cost model that takes into account the total number of machine instructions to be removed from each region, the number of instructions added by adding a new function with a set of instructions, and the instructions added by handling arguments.
Tests not adding flags:
- llvm/test/Transforms/IROutliner/outlining-cost-model.ll
What's the benefit from having this member variable as opposed to just reading the option directly where needed?