Return true if it is safe to unroll‐and‐jam loop L.
Synopsis
Declared in <llvm/Transforms/Utils/UnrollLoop.h>
bool
isSafeToUnrollAndJam(
Loop* L,
ScalarEvolution& SE,
DominatorTree& DT,
DependenceInfo& DI,
LoopInfo& LI);
Return Value
True if it is safe to unroll‐and‐jam L.
Parameters
Name |
Description |
L |
Candidate outer loop to check. |
SE |
ScalarEvolution used for dependence and trip‐count queries. |
DT |
Dominator tree used to validate control flow. |
DI |
Dependence info used to prove independence of jammed iterations. |
LI |
LoopInfo describing the loop nest. |
Created with MrDocs