CIRCT  20.0.0git
Namespaces | Macros | Functions
FreezePaths.cpp File Reference
#include "circt/Dialect/HW/HWInstanceGraph.h"
#include "circt/Dialect/HW/HWOps.h"
#include "circt/Dialect/HW/InnerSymbolTable.h"
#include "circt/Dialect/OM/OMAttributes.h"
#include "circt/Dialect/OM/OMOps.h"
#include "circt/Dialect/OM/OMPasses.h"
#include "mlir/Pass/Pass.h"
#include "circt/Dialect/OM/OMPasses.h.inc"
Include dependency graph for FreezePaths.cpp:

Go to the source code of this file.

Namespaces

 circt
 The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
 
 circt::om
 

Macros

#define GEN_PASS_DEF_FREEZEPATHS
 

Functions

static LogicalResult getAccessPath (Location loc, Type type, size_t fieldId, StringAttr &result)
 
static bool hasPathType (Type type)
 
mlir::AttrTypeReplacer makeReplacer ()
 
static Type processType (Type type)
 

Macro Definition Documentation

◆ GEN_PASS_DEF_FREEZEPATHS

#define GEN_PASS_DEF_FREEZEPATHS

Definition at line 23 of file FreezePaths.cpp.

Function Documentation

◆ getAccessPath()

static LogicalResult getAccessPath ( Location  loc,
Type  type,
size_t  fieldId,
StringAttr &  result 
)
static

Definition at line 53 of file FreezePaths.cpp.

References circt::calyx::direction::get().

◆ hasPathType()

static bool hasPathType ( Type  type)
static

Definition at line 83 of file FreezePaths.cpp.

References circt::esi::innerType().

◆ makeReplacer()

mlir::AttrTypeReplacer makeReplacer ( )

Definition at line 93 of file FreezePaths.cpp.

References circt::calyx::direction::get(), and circt::esi::innerType().

Referenced by processType().

◆ processType()

static Type processType ( Type  type)
static

Definition at line 105 of file FreezePaths.cpp.

References makeReplacer().