clang 19.0.0git
Public Member Functions | List of all members
clang::ForwardDataflowWorklist Struct Reference

A worklist implementation for forward dataflow analysis. More...

#include "clang/Analysis/FlowSensitive/DataflowWorklist.h"

Inheritance diagram for clang::ForwardDataflowWorklist:
Inheritance graph

Public Member Functions

 ForwardDataflowWorklist (const CFG &Cfg, PostOrderCFGView *POV)
 ForwardDataflowWorklist (const CFG &Cfg, AnalysisDeclContext &Ctx)
void enqueueSuccessors (const CFGBlock *Block)
- Public Member Functions inherited from clang::DataflowWorklistBase< ReversePostOrderCompare, 20 >
 DataflowWorklistBase (const CFG &Cfg, ReversePostOrderCompare C)
void enqueueBlock (const CFGBlock *Block)
const CFGBlockdequeue ()

Detailed Description

A worklist implementation for forward dataflow analysis.

The enqueued blocks will be dequeued in reverse post order. The worklist cannot contain the same block multiple times at once.

Definition at line 60 of file DataflowWorklist.h.

Constructor & Destructor Documentation

◆ ForwardDataflowWorklist() [1/2]

clang::ForwardDataflowWorklist::ForwardDataflowWorklist ( const CFG Cfg,
PostOrderCFGView POV 

Definition at line 62 of file DataflowWorklist.h.

◆ ForwardDataflowWorklist() [2/2]

clang::ForwardDataflowWorklist::ForwardDataflowWorklist ( const CFG Cfg,
AnalysisDeclContext Ctx 

Definition at line 66 of file DataflowWorklist.h.

Member Function Documentation

◆ enqueueSuccessors()

void clang::ForwardDataflowWorklist::enqueueSuccessors ( const CFGBlock Block)

The documentation for this struct was generated from the following file: