CIRCT  20.0.0git
Macros | Functions
KanagawaOps.cpp File Reference
#include "circt/Dialect/Kanagawa/KanagawaOps.h"
#include "circt/Dialect/DC/DCTypes.h"
#include "circt/Support/ParsingUtils.h"
#include "mlir/IR/BuiltinOps.h"
#include "mlir/IR/DialectImplementation.h"
#include "mlir/IR/PatternMatch.h"
#include "mlir/IR/SymbolTable.h"
#include "mlir/Interfaces/FunctionImplementation.h"
#include "llvm/ADT/TypeSwitch.h"
#include "circt/Dialect/Kanagawa/KanagawaInterfaces.cpp.inc"
#include "circt/Dialect/Kanagawa/Kanagawa.cpp.inc"
Include dependency graph for KanagawaOps.cpp:

Go to the source code of this file.

Macros

#define GET_OP_CLASSES
 

Functions

template<typename TSymAttr >
ParseResult parseScopeRefFromName (OpAsmParser &parser, Type &scopeRefType, TSymAttr sym)
 
template<typename TSymAttr >
void printScopeRefFromName (OpAsmPrinter &p, Operation *op, Type type, TSymAttr sym)
 
static llvm::raw_string_ostream & genValueName (llvm::raw_string_ostream &os, Value value)
 
static StringAttr genValueNameAttr (Value v)
 
template<typename TOp >
ParseResult parseMethodLikeOp (OpAsmParser &parser, OperationState &result)
 
template<typename TOp >
void printMethodLikeOp (TOp op, OpAsmPrinter &p)
 
template<typename TOp >
static ParseResult parseBlockLikeOp (OpAsmParser &parser, OperationState &result, llvm::function_ref< ParseResult(OpAsmParser::Argument &)> argAdjuster={})
 
template<typename T >
static void printBlockLikeOp (T op, OpAsmPrinter &p)
 

Macro Definition Documentation

◆ GET_OP_CLASSES

#define GET_OP_CLASSES

Definition at line 825 of file KanagawaOps.cpp.

Function Documentation

◆ genValueName()

static llvm::raw_string_ostream& genValueName ( llvm::raw_string_ostream &  os,
Value  value 
)
static

Definition at line 41 of file KanagawaOps.cpp.

References assert().

Referenced by genValueNameAttr().

◆ genValueNameAttr()

static StringAttr genValueNameAttr ( Value  v)
static

Definition at line 76 of file KanagawaOps.cpp.

References genValueName(), and circt::calyx::direction::get().

◆ parseBlockLikeOp()

template<typename TOp >
static ParseResult parseBlockLikeOp ( OpAsmParser &  parser,
OperationState &  result,
llvm::function_ref< ParseResult(OpAsmParser::Argument &)>  argAdjuster = {} 
)
static

Definition at line 597 of file KanagawaOps.cpp.

◆ parseMethodLikeOp()

template<typename TOp >
ParseResult parseMethodLikeOp ( OpAsmParser &  parser,
OperationState &  result 
)

◆ parseScopeRefFromName()

template<typename TSymAttr >
ParseResult parseScopeRefFromName ( OpAsmParser &  parser,
Type &  scopeRefType,
TSymAttr  sym 
)

Definition at line 25 of file KanagawaOps.cpp.

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

◆ printBlockLikeOp()

template<typename T >
static void printBlockLikeOp ( op,
OpAsmPrinter &  p 
)
static

Definition at line 641 of file KanagawaOps.cpp.

References circt::parsing_util::printInitializerList().

◆ printMethodLikeOp()

template<typename TOp >
void printMethodLikeOp ( TOp  op,
OpAsmPrinter &  p 
)

Definition at line 170 of file KanagawaOps.cpp.

◆ printScopeRefFromName()

template<typename TSymAttr >
void printScopeRefFromName ( OpAsmPrinter &  p,
Operation *  op,
Type  type,
TSymAttr  sym 
)

Definition at line 33 of file KanagawaOps.cpp.