Files
clang-p2996/llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp
Nikita Popov 296671f059 [LoopUnroll] Store more information in UnrollCostEstimator (NFCI)
Instead of having ApproximateLoopSize() use a bunch of out parameters,
from which we later construct an UnrollCostEstimator, directly
construct UnrollCostEstimator which holds all the information
derived from loop analysis. This makes it easier to add additional
metrics in the future.
2023-09-27 12:06:13 +02:00

66 KiB