Produce an estimate of the unrolled cost of the specified loop.
Synopsis
Declared in <llvm/Transforms/Utils/UnrollLoop.h>
class UnrollCostEstimator;
Description
This is used to a) produce a cost estimate for partial unrolling and b) to cheaply estimate cost for full unrolling when we don't want to symbolically evaluate all iterations.
Member Functions
Name |
Description |
|
Estimate the rolled size and convergence properties of loop |
Whether it is legal to unroll this loop. If |
|
Return the estimated size of the loop before unrolling. |
|
Returns loop size estimation for an unrolled loop with the given unroll count and the unrolling configuration specified by UP. |
Data Members
Name |
Description |
Convergence kind of operations found in the loop body. |
|
True if convergence still permits runtime unrolling with a remainder. |
|
Number of calls that look like profitable inlining candidates. |
Created with MrDocs