diff options
Diffstat (limited to 'llvm/include/llvm/Transforms/Utils/UnrollLoop.h')
-rw-r--r-- | llvm/include/llvm/Transforms/Utils/UnrollLoop.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/llvm/include/llvm/Transforms/Utils/UnrollLoop.h b/llvm/include/llvm/Transforms/Utils/UnrollLoop.h index 4254bd71a41c..d95ead2def3d 100644 --- a/llvm/include/llvm/Transforms/Utils/UnrollLoop.h +++ b/llvm/include/llvm/Transforms/Utils/UnrollLoop.h @@ -66,14 +66,9 @@ enum class LoopUnrollResult { struct UnrollLoopOptions { unsigned Count; - unsigned TripCount; bool Force; - bool AllowRuntime; + bool Runtime; bool AllowExpensiveTripCount; - bool PreserveCondBr; - bool PreserveOnlyFirst; - unsigned TripMultiple; - unsigned PeelCount; bool UnrollRemainder; bool ForgetAllSCEV; }; @@ -106,9 +101,9 @@ bool isSafeToUnrollAndJam(Loop *L, ScalarEvolution &SE, DominatorTree &DT, bool computeUnrollCount(Loop *L, const TargetTransformInfo &TTI, DominatorTree &DT, LoopInfo *LI, ScalarEvolution &SE, const SmallPtrSetImpl<const Value *> &EphValues, - OptimizationRemarkEmitter *ORE, unsigned &TripCount, + OptimizationRemarkEmitter *ORE, unsigned TripCount, unsigned MaxTripCount, bool MaxOrZero, - unsigned &TripMultiple, unsigned LoopSize, + unsigned TripMultiple, unsigned LoopSize, TargetTransformInfo::UnrollingPreferences &UP, TargetTransformInfo::PeelingPreferences &PP, bool &UseUpperBound); |