Gather peeling preferences for loop L from the target and user overrides.
Declared in <llvm/Transforms/Utils/LoopPeel.h>
TargetTransformInfo::PeelingPreferences
gatherPeelingPreferences(
Loop* L,
ScalarEvolution& SE,
TargetTransformInfo const& TTI,
std::optional<bool> UserAllowPeeling,
std::optional<bool> UserAllowProfileBasedPeeling,
bool UnrollingSpecficValues = false);
Combined peeling preferences for L.
| Name | Description |
|---|---|
| L | Loop for which peeling preferences are gathered. |
| SE | ScalarEvolution analysis for L. |
| TTI | Target transform info providing target-specific defaults. |
| UserAllowPeeling | Optional override for whether peeling is allowed. |
| UserAllowProfileBasedPeeling | Optional override for profile-based peeling. |
| UnrollingSpecficValues | If true, apply unroll-related command-line overrides to the preferences. |