16 #ifndef LLVM_CLANG_ANALYSIS_ANALYSES_CFGREACHABILITYANALYSIS_H 17 #define LLVM_CLANG_ANALYSIS_ANALYSES_CFGREACHABILITYANALYSIS_H 19 #include "llvm/ADT/BitVector.h" 20 #include "llvm/ADT/DenseMap.h" 33 typedef llvm::BitVector ReachableSet;
34 typedef llvm::DenseMap<unsigned, ReachableSet> ReachableMap;
35 ReachableSet analyzed;
36 ReachableMap reachable;
44 void mapReachability(
const CFGBlock *Dst);
CFGBlock - Represents a single basic block in a source-level CFG.
CFG - Represents a source-level, intra-procedural CFG that represents the control-flow of a Stmt...
bool isReachable(const CFGBlock *Src, const CFGBlock *Dst)
Returns true if the block 'Dst' can be reached from block 'Src'.
CFGReverseBlockReachabilityAnalysis(const CFG &cfg)
Dataflow Directional Tag Classes.