Changeset View
Changeset View
Standalone View
Standalone View
llvm/include/llvm/Transforms/Utils/LoopUtils.h
Show First 20 Lines • Show All 242 Lines • ▼ Show 20 Lines | makeFollowupLoopID(MDNode *OrigLoopID, ArrayRef<StringRef> FollowupAttrs, | ||||
bool AlwaysNew = false); | bool AlwaysNew = false); | ||||
/// Look for the loop attribute that disables all transformation heuristic. | /// Look for the loop attribute that disables all transformation heuristic. | ||||
bool hasDisableAllTransformsHint(const Loop *L); | bool hasDisableAllTransformsHint(const Loop *L); | ||||
/// Look for the loop attribute that disables the LICM transformation heuristics. | /// Look for the loop attribute that disables the LICM transformation heuristics. | ||||
bool hasDisableLICMTransformsHint(const Loop *L); | bool hasDisableLICMTransformsHint(const Loop *L); | ||||
/// Look for the loop attribute that requires progress within the loop. | |||||
jdoerfert: Describe the metadata rather then the effect. | |||||
bool hasMustProgress(const Loop *L); | |||||
/// The mode sets how eager a transformation should be applied. | /// The mode sets how eager a transformation should be applied. | ||||
enum TransformationMode { | enum TransformationMode { | ||||
/// The pass can use heuristics to determine whether a transformation should | /// The pass can use heuristics to determine whether a transformation should | ||||
/// be applied. | /// be applied. | ||||
TM_Unspecified, | TM_Unspecified, | ||||
/// The transformation should be applied without considering a cost model. | /// The transformation should be applied without considering a cost model. | ||||
TM_Enable, | TM_Enable, | ||||
▲ Show 20 Lines • Show All 219 Lines • Show Last 20 Lines |
Describe the metadata rather then the effect.