14#ifndef LLVM_CLANG_STATICANALYZER_CORE_PATHSENSITIVE_WORKLIST_H
15#define LLVM_CLANG_STATICANALYZER_CORE_PATHSENSITIVE_WORKLIST_H
82 static std::unique_ptr<WorkList>
makeDFS();
83 static std::unique_ptr<WorkList>
makeBFS();
__CUDA_BUILTIN_VAR __cuda_builtin_blockIdx_t blockIdx
Represents a single basic block in a source-level CFG.
An abstract data type used to count the number of times a given block has been visited along a path a...
ProgramPoint getLocation() const
getLocation - Returns the edge associated with the given node.
ExplodedNode * getNode() const
Returns the node associated with the worklist unit.
WorkListUnit(ExplodedNode *N, BlockCounter C)
unsigned getIndex() const
Return the index within the CFGBlock for the worklist unit.
const CFGBlock * getBlock() const
Returns the CFGblock associated with the worklist unit.
BlockCounter getBlockCounter() const
Returns the block counter map associated with the worklist unit.
WorkListUnit(ExplodedNode *N, BlockCounter C, const CFGBlock *B, unsigned idx)
virtual bool hasWork() const =0
void enqueue(ExplodedNode *N)
static std::unique_ptr< WorkList > makeUnexploredFirstPriorityLocationQueue()
BlockCounter getBlockCounter() const
void enqueue(ExplodedNode *N, const CFGBlock *B, unsigned idx)
static std::unique_ptr< WorkList > makeUnexploredFirstPriorityQueue()
static std::unique_ptr< WorkList > makeBFSBlockDFSContents()
virtual WorkListUnit dequeue()=0
static std::unique_ptr< WorkList > makeBFS()
static std::unique_ptr< WorkList > makeDFS()
static std::unique_ptr< WorkList > makeUnexploredFirst()
void setBlockCounter(BlockCounter C)
virtual void enqueue(const WorkListUnit &U)=0
The JSON file list parser is used to communicate input to InstallAPI.