CIRCT 24.0.0git
Loading...
Searching...
No Matches
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

namespace  circt
 The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
namespace  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()

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

Definition at line 53 of file FreezePaths.cpp.

References success().

◆ hasPathType()

bool hasPathType ( Type type)
static

Definition at line 83 of file FreezePaths.cpp.

◆ makeReplacer()

mlir::AttrTypeReplacer makeReplacer ( )

Definition at line 93 of file FreezePaths.cpp.

Referenced by processType().

◆ processType()

Type processType ( Type type)
static

Definition at line 105 of file FreezePaths.cpp.

References makeReplacer().