14#ifndef LLVM_CLANG_ANALYSIS_FLOWSENSITIVE_TRANSFER_H
15#define LLVM_CLANG_ANALYSIS_FLOWSENSITIVE_TRANSFER_H
37 : ACFG(ACFG), BlockToState(BlockToState), CurBlockID(CurBlockID),
56void transfer(
const StmtToEnvMap &StmtToEnv,
const Stmt &S, Environment &
Env,
57 Environment::ValueModel &Model);
Stmt - This represents one statement.
Holds CFG with additional information derived from it that is needed to perform dataflow analysis.
Holds the state of the program (store and heap) at a given program point.
Maps statements to the environments of basic blocks that contain them.
const Environment * getEnvironment(const Stmt &S) const
Returns the environment of the basic block that contains S.
StmtToEnvMap(const AdornedCFG &ACFG, llvm::ArrayRef< std::optional< TypeErasedDataflowAnalysisState > > BlockToState, unsigned CurBlockID, const TypeErasedDataflowAnalysisState &CurState)
void transfer(const StmtToEnvMap &StmtToEnv, const Stmt &S, Environment &Env, Environment::ValueModel &Model)
Evaluates S and updates Env accordingly.
The JSON file list parser is used to communicate input to InstallAPI.
Type-erased model of the program at a given program point.