14#include "llvm/ADT/DenseMap.h"
22typedef llvm::DenseMap<const Stmt*, CFGBlock*>
SMap;
34 SMap::iterator I =
SM->find(
X);
static SMap * AsMap(void *m)
static void Accumulate(SMap &SM, CFGBlock *B)
llvm::DenseMap< const Stmt *, CFGBlock * > SMap
Represents a single basic block in a source-level CFG.
ElementList::iterator iterator
Stmt * getTerminatorStmt()
Represents a top-level expression in a basic block.
std::optional< T > getAs() const
Convert to the specified CFGElement type, returning std::nullopt if this CFGElement is not of the des...
CFGBlock * getBlock(Stmt *S)
Returns the CFGBlock the specified Stmt* appears in.
static CFGStmtMap * Build(CFG *C, ParentMap *PM)
Returns a new CFGMap for the given CFG.
Represents a source-level, intra-procedural CFG that represents the control-flow of a Stmt.
Stmt * getParentIgnoreParens(Stmt *) const
Stmt - This represents one statement.
The JSON file list parser is used to communicate input to InstallAPI.