clang  14.0.0git
Public Member Functions | List of all members
clang::DataflowWorklistBase< Comp, QueueSize > Class Template Reference

A worklist implementation where the enqueued blocks will be dequeued based on the order defined by 'Comp'. More...

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

Inheritance diagram for clang::DataflowWorklistBase< Comp, QueueSize >:
Inheritance graph
[legend]

Public Member Functions

 DataflowWorklistBase (const CFG &Cfg, PostOrderCFGView *POV, Comp C)
 
const PostOrderCFGViewgetCFGView () const
 
void enqueueBlock (const CFGBlock *Block)
 
const CFGBlockdequeue ()
 

Detailed Description

template<typename Comp, unsigned QueueSize>
class clang::DataflowWorklistBase< Comp, QueueSize >

A worklist implementation where the enqueued blocks will be dequeued based on the order defined by 'Comp'.

Definition at line 22 of file DataflowWorklist.h.

Constructor & Destructor Documentation

◆ DataflowWorklistBase()

template<typename Comp , unsigned QueueSize>
clang::DataflowWorklistBase< Comp, QueueSize >::DataflowWorklistBase ( const CFG Cfg,
PostOrderCFGView POV,
Comp  C 
)
inline

Definition at line 30 of file DataflowWorklist.h.

Member Function Documentation

◆ dequeue()

template<typename Comp , unsigned QueueSize>
const CFGBlock* clang::DataflowWorklistBase< Comp, QueueSize >::dequeue ( )
inline

◆ enqueueBlock()

template<typename Comp , unsigned QueueSize>
void clang::DataflowWorklistBase< Comp, QueueSize >::enqueueBlock ( const CFGBlock Block)
inline

Definition at line 35 of file DataflowWorklist.h.

Referenced by clang::LiveVariables::computeLiveness().

◆ getCFGView()

template<typename Comp , unsigned QueueSize>
const PostOrderCFGView* clang::DataflowWorklistBase< Comp, QueueSize >::getCFGView ( ) const
inline

Definition at line 33 of file DataflowWorklist.h.


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