Prazek added a comment. I don't think it is inconsistent. The name "Bonus" suggest that it should be substracted to lower the cost, the name Penality suggest that it should be added so the cost rise. https://reviews.llvm.org/D23222