CIRCT 24.0.0git
Loading...
Searching...
No Matches
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 772 of file KanagawaOps.cpp.

Function Documentation

◆ genValueName()

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

Definition at line 41 of file KanagawaOps.cpp.

References assert(), and genValueName().

Referenced by genValueName(), and genValueNameAttr().

◆ genValueNameAttr()

StringAttr genValueNameAttr ( Value v)
static

Definition at line 75 of file KanagawaOps.cpp.

References genValueName().

◆ parseBlockLikeOp()

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

Definition at line 544 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 success().

◆ printBlockLikeOp()

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

Definition at line 588 of file KanagawaOps.cpp.

References circt::parsing_util::printInitializerList().

◆ printMethodLikeOp()

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

Definition at line 153 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.