|
LLVM
7.0.0
|
Contains a collection of routines for determining if a given instruction is guaranteed to execute if a given point in control flow is reached. More...
#include "llvm/ADT/DenseMap.h"#include "llvm/Analysis/EHPersonalities.h"#include "llvm/Analysis/LoopInfo.h"#include "llvm/IR/BasicBlock.h"#include "llvm/IR/Dominators.h"#include "llvm/IR/Instruction.h"Go to the source code of this file.
Classes | |
| struct | llvm::LoopSafetyInfo |
| Captures loop safety information. More... | |
Namespaces | |
| llvm | |
| Compute iterated dominance frontiers using a linear time algorithm. | |
Functions | |
| void | llvm::computeLoopSafetyInfo (LoopSafetyInfo *, Loop *) |
| Computes safety information for a loop checks loop body & header for the possibility of may throw exception, it takes LoopSafetyInfo and loop as argument. More... | |
| bool | llvm::isGuaranteedToExecute (const Instruction &Inst, const DominatorTree *DT, const Loop *CurLoop, const LoopSafetyInfo *SafetyInfo) |
| Returns true if the instruction in a loop is guaranteed to execute at least once (under the assumption that the loop is entered). More... | |
Contains a collection of routines for determining if a given instruction is guaranteed to execute if a given point in control flow is reached.
The most common example is an instruction within a loop being provably executed if we branch to the header of it's containing loop.
Definition in file MustExecute.h.
1.8.13