|
LLVM
7.0.0
|
Captures loop safety information. More...
#include "llvm/Analysis/MustExecute.h"
Public Member Functions | |
| LoopSafetyInfo ()=default | |
Public Attributes | |
| bool | MayThrow = false |
| bool | HeaderMayThrow = false |
| DenseMap< BasicBlock *, ColorVector > | BlockColors |
Captures loop safety information.
It keep information for loop & its header may throw exception or otherwise exit abnormaly on any iteration of the loop which might actually execute at runtime. The primary way to consume this infromation is via isGuaranteedToExecute below, but some callers bailout or fallback to alternate reasoning if a loop contains any implicit control flow.
Definition at line 39 of file MustExecute.h.
|
default |
| DenseMap<BasicBlock *, ColorVector> llvm::LoopSafetyInfo::BlockColors |
Definition at line 44 of file MustExecute.h.
Referenced by canSplitPredecessors(), CloneInstructionInExitBlock(), llvm::computeLoopSafetyInfo(), isNotUsedOrFreeInLoop(), and splitPredecessorsOfLoopExit().
Definition at line 42 of file MustExecute.h.
Referenced by llvm::computeLoopSafetyInfo(), and llvm::isGuaranteedToExecute().
Definition at line 40 of file MustExecute.h.
Referenced by llvm::computeLoopSafetyInfo(), deleteDeadInstruction(), llvm::isGuaranteedToExecute(), llvm::isSafeToUnrollAndJam(), and llvm::promoteLoopAccessesToScalars().
1.8.13