The patch introduces three peeling levels:
- No peeling
- Peeling basing on heuristic without profile information
- All peeling heuristics
The patch mostly is NFC except it changes the ways the peeling enabling
is specified. Before the patch it was a bool flag and now it is a enum value,
The idea comes from review of https://reviews.llvm.org/D64972.