LLZK 2.0.0
An open-source IR for Zero Knowledge (ZK) circuits
Loading...
Searching...
No Matches
llzk::polymorphic::TemplateParamOp Class Reference
Inheritance diagram for llzk::polymorphic::TemplateParamOp:
[legend]
Collaboration diagram for llzk::polymorphic::TemplateParamOp:
[legend]

Public Types

using Adaptor = TemplateParamOpAdaptor
template<typename RangeT>
using GenericAdaptor = TemplateParamOpGenericAdaptor<RangeT>
using FoldAdaptor = GenericAdaptor<::llvm::ArrayRef<::mlir::Attribute>>
using Properties = FoldAdaptor::Properties

Public Member Functions

static ::llvm::ArrayRef<::llvm::StringRef > getAttributeNames ()
::mlir::StringAttr getSymNameAttrName ()
::mlir::StringAttr getTypeOptAttrName ()
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index)
::mlir::Operation::operand_range getODSOperands (unsigned index)
std::pair< unsigned, unsigned > getODSResultIndexAndLength (unsigned index)
::mlir::Operation::result_range getODSResults (unsigned index)
void writeProperties (::mlir::DialectBytecodeWriter &writer)
::mlir::StringAttr getSymNameAttr ()
::llvm::StringRef getSymName ()
::mlir::TypeAttr getTypeOptAttr ()
::std::optional<::mlir::Type > getTypeOpt ()
void setSymNameAttr (::mlir::StringAttr attr)
void setSymName (::llvm::StringRef attrValue)
void setTypeOptAttr (::mlir::TypeAttr attr)
void setTypeOpt (::std::optional<::mlir::Type > attrValue)
::mlir::Attribute removeTypeOptAttr ()
::llvm::LogicalResult verifyInvariantsImpl ()
::llvm::LogicalResult verifyInvariants ()
::llvm::LogicalResult verifySymbolUses (::mlir::SymbolTableCollection &symbolTable)
void print (::mlir::OpAsmPrinter &_odsPrinter)

Static Public Member Functions

::mlir::StringAttr getSymNameAttrName (::mlir::OperationName name)
::mlir::StringAttr getTypeOptAttrName (::mlir::OperationName name)
static constexpr ::llvm::StringLiteral getOperationName ()
::llvm::LogicalResult setPropertiesFromAttr (Properties &prop, ::mlir::Attribute attr, ::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError)
::mlir::Attribute getPropertiesAsAttr (::mlir::MLIRContext *ctx, const Properties &prop)
static llvm::hash_code computePropertiesHash (const Properties &prop)
static std::optional< mlir::Attribute > getInherentAttr (::mlir::MLIRContext *ctx, const Properties &prop, llvm::StringRef name)
static void setInherentAttr (Properties &prop, llvm::StringRef name, mlir::Attribute value)
static void populateInherentAttrs (::mlir::MLIRContext *ctx, const Properties &prop, ::mlir::NamedAttrList &attrs)
::llvm::LogicalResult verifyInherentAttrs (::mlir::OperationName opName, ::mlir::NamedAttrList &attrs, llvm::function_ref<::mlir::InFlightDiagnostic()> emitError)
::llvm::LogicalResult readProperties (::mlir::DialectBytecodeReader &reader, ::mlir::OperationState &state)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::StringAttr sym_name, ::mlir::TypeAttr type_opt)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::StringAttr sym_name, ::mlir::TypeAttr type_opt)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::llvm::StringRef sym_name, ::mlir::TypeAttr type_opt)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::llvm::StringRef sym_name, ::mlir::TypeAttr type_opt)
static void build (::mlir::OpBuilder &, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes={})
::mlir::ParseResult parse (::mlir::OpAsmParser &parser, ::mlir::OperationState &result)

Detailed Description

Definition at line 1110 of file Ops.h.inc.

Member Typedef Documentation

◆ Adaptor

◆ FoldAdaptor

using llzk::polymorphic::TemplateParamOp::FoldAdaptor = GenericAdaptor<::llvm::ArrayRef<::mlir::Attribute>>

Definition at line 1117 of file Ops.h.inc.

◆ GenericAdaptor

Definition at line 1116 of file Ops.h.inc.

◆ Properties

Member Function Documentation

◆ build() [1/5]

void llzk::polymorphic::TemplateParamOp::build ( ::mlir::OpBuilder & ,
::mlir::OperationState & odsState,
::mlir::TypeRange resultTypes,
::mlir::ValueRange operands,
::llvm::ArrayRef<::mlir::NamedAttribute > attributes = {} )
static

Definition at line 1386 of file Ops.cpp.inc.

◆ build() [2/5]

void llzk::polymorphic::TemplateParamOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::llvm::StringRef sym_name,
::mlir::TypeAttr type_opt )
static

Definition at line 1370 of file Ops.cpp.inc.

◆ build() [3/5]

void llzk::polymorphic::TemplateParamOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::StringAttr sym_name,
::mlir::TypeAttr type_opt )
static

Definition at line 1354 of file Ops.cpp.inc.

◆ build() [4/5]

void llzk::polymorphic::TemplateParamOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::TypeRange resultTypes,
::llvm::StringRef sym_name,
::mlir::TypeAttr type_opt )
static

Definition at line 1377 of file Ops.cpp.inc.

◆ build() [5/5]

void llzk::polymorphic::TemplateParamOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::TypeRange resultTypes,
::mlir::StringAttr sym_name,
::mlir::TypeAttr type_opt )
static

Definition at line 1361 of file Ops.cpp.inc.

◆ computePropertiesHash()

llvm::hash_code llzk::polymorphic::TemplateParamOp::computePropertiesHash ( const Properties & prop)
static

Definition at line 1267 of file Ops.cpp.inc.

◆ getAttributeNames()

::llvm::ArrayRef<::llvm::StringRef > llzk::polymorphic::TemplateParamOp::getAttributeNames ( )
inline

Definition at line 1119 of file Ops.h.inc.

◆ getInherentAttr()

std::optional< mlir::Attribute > llzk::polymorphic::TemplateParamOp::getInherentAttr ( ::mlir::MLIRContext * ctx,
const Properties & prop,
llvm::StringRef name )
static

Definition at line 1273 of file Ops.cpp.inc.

◆ getODSOperandIndexAndLength()

std::pair< unsigned, unsigned > llzk::polymorphic::TemplateParamOp::getODSOperandIndexAndLength ( unsigned index)
inline

Definition at line 1144 of file Ops.h.inc.

◆ getODSOperands()

::mlir::Operation::operand_range llzk::polymorphic::TemplateParamOp::getODSOperands ( unsigned index)
inline

Definition at line 1148 of file Ops.h.inc.

◆ getODSResultIndexAndLength()

std::pair< unsigned, unsigned > llzk::polymorphic::TemplateParamOp::getODSResultIndexAndLength ( unsigned index)
inline

Definition at line 1154 of file Ops.h.inc.

◆ getODSResults()

::mlir::Operation::result_range llzk::polymorphic::TemplateParamOp::getODSResults ( unsigned index)
inline

Definition at line 1158 of file Ops.h.inc.

◆ getOperationName()

constexpr ::llvm::StringLiteral llzk::polymorphic::TemplateParamOp::getOperationName ( )
inlinestatic

Definition at line 1140 of file Ops.h.inc.

◆ getPropertiesAsAttr()

mlir::Attribute llzk::polymorphic::TemplateParamOp::getPropertiesAsAttr ( ::mlir::MLIRContext * ctx,
const Properties & prop )
static

Definition at line 1244 of file Ops.cpp.inc.

◆ getSymName()

llvm::StringRef llzk::polymorphic::TemplateParamOp::getSymName ( )

Definition at line 1332 of file Ops.cpp.inc.

◆ getSymNameAttr()

::mlir::StringAttr llzk::polymorphic::TemplateParamOp::getSymNameAttr ( )
inline

Definition at line 1173 of file Ops.h.inc.

◆ getSymNameAttrName() [1/2]

::mlir::StringAttr llzk::polymorphic::TemplateParamOp::getSymNameAttrName ( )
inline

Definition at line 1124 of file Ops.h.inc.

◆ getSymNameAttrName() [2/2]

::mlir::StringAttr llzk::polymorphic::TemplateParamOp::getSymNameAttrName ( ::mlir::OperationName name)
inlinestatic

Definition at line 1128 of file Ops.h.inc.

◆ getTypeOpt()

std::optional<::mlir::Type > llzk::polymorphic::TemplateParamOp::getTypeOpt ( )

Definition at line 1337 of file Ops.cpp.inc.

◆ getTypeOptAttr()

::mlir::TypeAttr llzk::polymorphic::TemplateParamOp::getTypeOptAttr ( )
inline

Definition at line 1178 of file Ops.h.inc.

◆ getTypeOptAttrName() [1/2]

::mlir::StringAttr llzk::polymorphic::TemplateParamOp::getTypeOptAttrName ( )
inline

Definition at line 1132 of file Ops.h.inc.

◆ getTypeOptAttrName() [2/2]

::mlir::StringAttr llzk::polymorphic::TemplateParamOp::getTypeOptAttrName ( ::mlir::OperationName name)
inlinestatic

Definition at line 1136 of file Ops.h.inc.

◆ parse()

mlir::ParseResult llzk::polymorphic::TemplateParamOp::parse ( ::mlir::OpAsmParser & parser,
::mlir::OperationState & result )
static

Definition at line 1421 of file Ops.cpp.inc.

◆ populateInherentAttrs()

void llzk::polymorphic::TemplateParamOp::populateInherentAttrs ( ::mlir::MLIRContext * ctx,
const Properties & prop,
::mlir::NamedAttrList & attrs )
static

Definition at line 1294 of file Ops.cpp.inc.

◆ print()

void llzk::polymorphic::TemplateParamOp::print ( ::mlir::OpAsmPrinter & _odsPrinter)

Definition at line 1447 of file Ops.cpp.inc.

◆ readProperties()

llvm::LogicalResult llzk::polymorphic::TemplateParamOp::readProperties ( ::mlir::DialectBytecodeReader & reader,
::mlir::OperationState & state )
static

Definition at line 1315 of file Ops.cpp.inc.

◆ removeTypeOptAttr()

::mlir::Attribute llzk::polymorphic::TemplateParamOp::removeTypeOptAttr ( )
inline

Definition at line 1193 of file Ops.h.inc.

◆ setInherentAttr()

void llzk::polymorphic::TemplateParamOp::setInherentAttr ( Properties & prop,
llvm::StringRef name,
mlir::Attribute value )
static

Definition at line 1282 of file Ops.cpp.inc.

◆ setPropertiesFromAttr()

llvm::LogicalResult llzk::polymorphic::TemplateParamOp::setPropertiesFromAttr ( Properties & prop,
::mlir::Attribute attr,
::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError )
static

Definition at line 1207 of file Ops.cpp.inc.

◆ setSymName()

void llzk::polymorphic::TemplateParamOp::setSymName ( ::llvm::StringRef attrValue)

Definition at line 1342 of file Ops.cpp.inc.

◆ setSymNameAttr()

void llzk::polymorphic::TemplateParamOp::setSymNameAttr ( ::mlir::StringAttr attr)
inline

Definition at line 1183 of file Ops.h.inc.

◆ setTypeOpt()

void llzk::polymorphic::TemplateParamOp::setTypeOpt ( ::std::optional<::mlir::Type > attrValue)

Definition at line 1346 of file Ops.cpp.inc.

◆ setTypeOptAttr()

void llzk::polymorphic::TemplateParamOp::setTypeOptAttr ( ::mlir::TypeAttr attr)
inline

Definition at line 1188 of file Ops.h.inc.

◆ verifyInherentAttrs()

llvm::LogicalResult llzk::polymorphic::TemplateParamOp::verifyInherentAttrs ( ::mlir::OperationName opName,
::mlir::NamedAttrList & attrs,
llvm::function_ref<::mlir::InFlightDiagnostic()> emitError )
static

Definition at line 1300 of file Ops.cpp.inc.

◆ verifyInvariants()

llvm::LogicalResult llzk::polymorphic::TemplateParamOp::verifyInvariants ( )

Definition at line 1417 of file Ops.cpp.inc.

◆ verifyInvariantsImpl()

llvm::LogicalResult llzk::polymorphic::TemplateParamOp::verifyInvariantsImpl ( )

Definition at line 1404 of file Ops.cpp.inc.

◆ verifySymbolUses()

LogicalResult llzk::polymorphic::TemplateParamOp::verifySymbolUses ( ::mlir::SymbolTableCollection & symbolTable)

Definition at line 63 of file Ops.cpp.

◆ writeProperties()

void llzk::polymorphic::TemplateParamOp::writeProperties ( ::mlir::DialectBytecodeWriter & writer)

Definition at line 1325 of file Ops.cpp.inc.


The documentation for this class was generated from the following files:
  • build/include/llzk/Dialect/Polymorphic/IR/Ops.h.inc
  • lib/Dialect/Polymorphic/IR/Ops.cpp
  • build/include/llzk/Dialect/Polymorphic/IR/Ops.cpp.inc