CIRCT  20.0.0git
Macros | Functions
OMOps.cpp File Reference
#include "circt/Dialect/OM/OMOps.h"
#include "circt/Dialect/HW/HWOps.h"
#include "circt/Dialect/OM/OMUtils.h"
#include "mlir/IR/Builders.h"
#include "mlir/IR/ImplicitLocOpBuilder.h"
#include "circt/Dialect/OM/OM.cpp.inc"
Include dependency graph for OMOps.cpp:

Go to the source code of this file.

Macros

#define GET_OP_CLASSES
 

Functions

static ParseResult parseBasePathString (OpAsmParser &parser, PathAttr &path)
 
static void printBasePathString (OpAsmPrinter &p, Operation *op, PathAttr path)
 
static ParseResult parsePathString (OpAsmParser &parser, PathAttr &path, StringAttr &module, StringAttr &ref, StringAttr &field)
 
static void printPathString (OpAsmPrinter &p, Operation *op, PathAttr path, StringAttr module, StringAttr ref, StringAttr field)
 
static ParseResult parseClassLike (OpAsmParser &parser, OperationState &state)
 
static void printClassLike (ClassLike classLike, OpAsmPrinter &printer)
 
LogicalResult verifyClassLike (ClassLike classLike)
 
void getClassLikeAsmBlockArgumentNames (ClassLike classLike, Region &region, OpAsmSetValueNameFn setNameFn)
 

Macro Definition Documentation

◆ GET_OP_CLASSES

#define GET_OP_CLASSES

Definition at line 531 of file OMOps.cpp.

Function Documentation

◆ getClassLikeAsmBlockArgumentNames()

void getClassLikeAsmBlockArgumentNames ( ClassLike  classLike,
Region &  region,
OpAsmSetValueNameFn  setNameFn 
)

Definition at line 165 of file OMOps.cpp.

◆ parseBasePathString()

static ParseResult parseBasePathString ( OpAsmParser &  parser,
PathAttr &  path 
)
static

Definition at line 26 of file OMOps.cpp.

References circt::om::parseBasePath().

◆ parseClassLike()

static ParseResult parseClassLike ( OpAsmParser &  parser,
OperationState &  state 
)
static

Definition at line 81 of file OMOps.cpp.

◆ parsePathString()

static ParseResult parsePathString ( OpAsmParser &  parser,
PathAttr &  path,
StringAttr &  module,
StringAttr &  ref,
StringAttr &  field 
)
static

Definition at line 48 of file OMOps.cpp.

References circt::om::parsePath().

◆ printBasePathString()

static void printBasePathString ( OpAsmPrinter &  p,
Operation *  op,
PathAttr  path 
)
static

Definition at line 37 of file OMOps.cpp.

References circt::om::PathElement::instance, and circt::om::PathElement::module.

◆ printClassLike()

static void printClassLike ( ClassLike  classLike,
OpAsmPrinter &  printer 
)
static

Definition at line 118 of file OMOps.cpp.

◆ printPathString()

static void printPathString ( OpAsmPrinter &  p,
Operation *  op,
PathAttr  path,
StringAttr  module,
StringAttr  ref,
StringAttr  field 
)
static

Definition at line 62 of file OMOps.cpp.

◆ verifyClassLike()

LogicalResult verifyClassLike ( ClassLike  classLike)

Definition at line 148 of file OMOps.cpp.