[BOLT][NFC] Add aliases for ICP flags
authorAmir Ayupov <aaupov@fb.com>
Mon, 27 Jun 2022 17:29:10 +0000 (10:29 -0700)
committerAmir Ayupov <aaupov@fb.com>
Mon, 27 Jun 2022 17:29:26 +0000 (10:29 -0700)
commit0d477f63b0eaaa940c74f683fa7d4ceaf9c426a5
tree89d647428674d7e6acbeb86d06bb28fdfab09d44
parentc4302e4fc2017f293323f436c20bcab31e469d57
[BOLT][NFC] Add aliases for ICP flags

- `indirect-call-promotion` -> `icp`
- `indirect-call-promotion-mispredict-threshold` -> `icp-mp-threshold`
- `indirect-call-promotion-use-mispredicts` -> `icp-use-mp`
- `indirect-call-promotion-topn` -> `icp-topn`
- `indirect-call-promotion-calls-topn` -> `icp-calls-topn`
- `indirect-call-promotion-jump-tables-topn` -> `icp-jt-topn`
- `icp-jump-table-targets` -> `icp-jt-targets`

This also fixes an inconsistency in ICP flag names that some start with
`indirect-call-promotion` while others start with `icp`.

Reviewed By: rafauler

Differential Revision: https://reviews.llvm.org/D128375
bolt/lib/Core/BinaryFunctionProfile.cpp
bolt/lib/Passes/IndirectCallPromotion.cpp