clang  12.0.0git
Public Member Functions | List of all members
clang::ControlDependencyCalculator Class Reference

#include "clang/Analysis/Analyses/Dominators.h"

Inheritance diagram for clang::ControlDependencyCalculator:
Inheritance graph
[legend]
Collaboration diagram for clang::ControlDependencyCalculator:
Collaboration graph
[legend]

Public Member Functions

 ControlDependencyCalculator (CFG *cfg)
 
const CFGPostDomTreegetCFGPostDomTree () const
 
const CFGBlockVectorgetControlDependencies (CFGBlock *A)
 
bool isControlDependent (CFGBlock *A, CFGBlock *B)
 Whether A is control dependent on B. More...
 
LLVM_DUMP_METHOD void dump ()
 
- Public Member Functions inherited from clang::ManagedAnalysis
virtual ~ManagedAnalysis ()
 

Additional Inherited Members

- Protected Member Functions inherited from clang::ManagedAnalysis
 ManagedAnalysis ()=default
 

Detailed Description

Definition at line 215 of file Dominators.h.

Constructor & Destructor Documentation

◆ ControlDependencyCalculator()

clang::ControlDependencyCalculator::ControlDependencyCalculator ( CFG cfg)
inline

Definition at line 226 of file Dominators.h.

Member Function Documentation

◆ dump()

LLVM_DUMP_METHOD void clang::ControlDependencyCalculator::dump ( )
inline

Definition at line 254 of file Dominators.h.

References clang::CFGDominatorTreeImpl< IsPostDom >::getCFG().

◆ getCFGPostDomTree()

const CFGPostDomTree& clang::ControlDependencyCalculator::getCFGPostDomTree ( ) const
inline

Definition at line 229 of file Dominators.h.

◆ getControlDependencies()

const CFGBlockVector& clang::ControlDependencyCalculator::getControlDependencies ( CFGBlock A)
inline

Definition at line 232 of file Dominators.h.

◆ isControlDependent()

bool clang::ControlDependencyCalculator::isControlDependent ( CFGBlock A,
CFGBlock B 
)
inline

Whether A is control dependent on B.

Definition at line 249 of file Dominators.h.


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