CIRCT 23.0.0git
Loading...
Searching...
No Matches
Namespaces | Typedefs | Functions
CaptureAnalysis.h File Reference
#include "circt/Support/LLVM.h"
#include "llvm/ADT/SetVector.h"
Include dependency graph for CaptureAnalysis.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  slang
 
namespace  slang::ast
 
namespace  circt
 The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
 
namespace  circt::ImportVerilog
 

Typedefs

using circt::ImportVerilog::CaptureMap = DenseMap< const slang::ast::SubroutineSymbol *, SmallSetVector< const slang::ast::ValueSymbol *, 4 > >
 The result of capture analysis: for each function, the set of non-local, non-global variable symbols that the function captures directly or transitively through calls.
 

Functions

CaptureMap circt::ImportVerilog::analyzeFunctionCaptures (const slang::ast::RootSymbol &root)
 Analyze the AST rooted at root to determine which variables each function captures.