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

Public Types

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

Public Member Functions

static ::llvm::ArrayRef<::llvm::StringRef > getAttributeNames ()
::mlir::StringAttr getColumnAttrName ()
::mlir::StringAttr getSignalAttrName ()
::mlir::StringAttr getSymNameAttrName ()
::mlir::StringAttr getTypeAttrName ()
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 getTypeAttr ()
::mlir::Type getType ()
::mlir::UnitAttr getColumnAttr ()
bool getColumn ()
::mlir::UnitAttr getSignalAttr ()
bool getSignal ()
void setSymNameAttr (::mlir::StringAttr attr)
void setSymName (::llvm::StringRef attrValue)
void setTypeAttr (::mlir::TypeAttr attr)
void setType (::mlir::Type attrValue)
void setColumnAttr (::mlir::UnitAttr attr)
void setColumn (bool attrValue)
void setSignalAttr (::mlir::UnitAttr attr)
void setSignal (bool attrValue)
::mlir::Attribute removeColumnAttr ()
::mlir::Attribute removeSignalAttr ()
::llvm::LogicalResult verifyInvariantsImpl ()
::llvm::LogicalResult verifyInvariants ()
::llvm::LogicalResult verifySymbolUses (::mlir::SymbolTableCollection &symbolTable)
void print (::mlir::OpAsmPrinter &_odsPrinter)
bool hasPublicAttr ()
void setPublicAttr (bool newValue=true)

Static Public Member Functions

::mlir::StringAttr getColumnAttrName (::mlir::OperationName name)
::mlir::StringAttr getSignalAttrName (::mlir::OperationName name)
::mlir::StringAttr getSymNameAttrName (::mlir::OperationName name)
::mlir::StringAttr getTypeAttrName (::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, bool isSignal=false, bool isColumn=false)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::llvm::StringRef sym_name, ::mlir::Type type, bool isSignal=false, bool isColumn=false)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes, bool isSignal=false, bool isColumn=false)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes, bool isSignal=false, bool isColumn=false)
::mlir::ParseResult parse (::mlir::OpAsmParser &parser, ::mlir::OperationState &result)

Detailed Description

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

Member Typedef Documentation

◆ Adaptor

◆ FoldAdaptor

using llzk::component::MemberDefOp::FoldAdaptor = GenericAdaptor<::llvm::ArrayRef<::mlir::Attribute>>

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

◆ GenericAdaptor

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

◆ Properties

Member Function Documentation

◆ build() [1/4]

void llzk::component::MemberDefOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::llvm::ArrayRef<::mlir::NamedAttribute > attributes,
bool isSignal = false,
bool isColumn = false )
static

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

◆ build() [2/4]

void llzk::component::MemberDefOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::llvm::StringRef sym_name,
::mlir::Type type,
bool isSignal = false,
bool isColumn = false )
static

◆ build() [3/4]

void llzk::component::MemberDefOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::StringAttr sym_name,
::mlir::TypeAttr type,
bool isSignal = false,
bool isColumn = false )
static

◆ build() [4/4]

void llzk::component::MemberDefOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::TypeRange resultTypes,
::mlir::ValueRange operands,
::llvm::ArrayRef<::mlir::NamedAttribute > attributes,
bool isSignal = false,
bool isColumn = false )
static

◆ computePropertiesHash()

llvm::hash_code llzk::component::MemberDefOp::computePropertiesHash ( const Properties & prop)
static

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

◆ getAttributeNames()

::llvm::ArrayRef<::llvm::StringRef > llzk::component::MemberDefOp::getAttributeNames ( )
inline

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

◆ getColumn()

bool llzk::component::MemberDefOp::getColumn ( )

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

◆ getColumnAttr()

::mlir::UnitAttr llzk::component::MemberDefOp::getColumnAttr ( )
inline

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

◆ getColumnAttrName() [1/2]

::mlir::StringAttr llzk::component::MemberDefOp::getColumnAttrName ( )
inline

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

◆ getColumnAttrName() [2/2]

::mlir::StringAttr llzk::component::MemberDefOp::getColumnAttrName ( ::mlir::OperationName name)
inlinestatic

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

◆ getInherentAttr()

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

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

◆ getODSOperandIndexAndLength()

std::pair< unsigned, unsigned > llzk::component::MemberDefOp::getODSOperandIndexAndLength ( unsigned index)
inline

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

◆ getODSOperands()

::mlir::Operation::operand_range llzk::component::MemberDefOp::getODSOperands ( unsigned index)
inline

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

◆ getODSResultIndexAndLength()

std::pair< unsigned, unsigned > llzk::component::MemberDefOp::getODSResultIndexAndLength ( unsigned index)
inline

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

◆ getODSResults()

::mlir::Operation::result_range llzk::component::MemberDefOp::getODSResults ( unsigned index)
inline

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

◆ getOperationName()

constexpr ::llvm::StringLiteral llzk::component::MemberDefOp::getOperationName ( )
inlinestatic

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

◆ getPropertiesAsAttr()

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

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

◆ getSignal()

bool llzk::component::MemberDefOp::getSignal ( )

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

◆ getSignalAttr()

::mlir::UnitAttr llzk::component::MemberDefOp::getSignalAttr ( )
inline

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

◆ getSignalAttrName() [1/2]

::mlir::StringAttr llzk::component::MemberDefOp::getSignalAttrName ( )
inline

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

◆ getSignalAttrName() [2/2]

::mlir::StringAttr llzk::component::MemberDefOp::getSignalAttrName ( ::mlir::OperationName name)
inlinestatic

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

◆ getSymName()

llvm::StringRef llzk::component::MemberDefOp::getSymName ( )

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

◆ getSymNameAttr()

::mlir::StringAttr llzk::component::MemberDefOp::getSymNameAttr ( )
inline

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

◆ getSymNameAttrName() [1/2]

::mlir::StringAttr llzk::component::MemberDefOp::getSymNameAttrName ( )
inline

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

◆ getSymNameAttrName() [2/2]

::mlir::StringAttr llzk::component::MemberDefOp::getSymNameAttrName ( ::mlir::OperationName name)
inlinestatic

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

◆ getType()

mlir::Type llzk::component::MemberDefOp::getType ( )

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

◆ getTypeAttr()

::mlir::TypeAttr llzk::component::MemberDefOp::getTypeAttr ( )
inline

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

◆ getTypeAttrName() [1/2]

::mlir::StringAttr llzk::component::MemberDefOp::getTypeAttrName ( )
inline

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

◆ getTypeAttrName() [2/2]

::mlir::StringAttr llzk::component::MemberDefOp::getTypeAttrName ( ::mlir::OperationName name)
inlinestatic

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

◆ hasPublicAttr()

bool llzk::component::MemberDefOp::hasPublicAttr ( )
inline

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

◆ parse()

mlir::ParseResult llzk::component::MemberDefOp::parse ( ::mlir::OpAsmParser & parser,
::mlir::OperationState & result )
static

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

◆ populateInherentAttrs()

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

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

◆ print()

void llzk::component::MemberDefOp::print ( ::mlir::OpAsmPrinter & _odsPrinter)

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

◆ readProperties()

llvm::LogicalResult llzk::component::MemberDefOp::readProperties ( ::mlir::DialectBytecodeReader & reader,
::mlir::OperationState & state )
static

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

◆ removeColumnAttr()

::mlir::Attribute llzk::component::MemberDefOp::removeColumnAttr ( )
inline

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

◆ removeSignalAttr()

::mlir::Attribute llzk::component::MemberDefOp::removeSignalAttr ( )
inline

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

◆ setColumn()

void llzk::component::MemberDefOp::setColumn ( bool attrValue)

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

◆ setColumnAttr()

void llzk::component::MemberDefOp::setColumnAttr ( ::mlir::UnitAttr attr)
inline

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

◆ setInherentAttr()

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

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

◆ setPropertiesFromAttr()

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

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

◆ setPublicAttr()

void llzk::component::MemberDefOp::setPublicAttr ( bool newValue = true)

Definition at line 504 of file Ops.cpp.

◆ setSignal()

void llzk::component::MemberDefOp::setSignal ( bool attrValue)

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

◆ setSignalAttr()

void llzk::component::MemberDefOp::setSignalAttr ( ::mlir::UnitAttr attr)
inline

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

◆ setSymName()

void llzk::component::MemberDefOp::setSymName ( ::llvm::StringRef attrValue)

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

◆ setSymNameAttr()

void llzk::component::MemberDefOp::setSymNameAttr ( ::mlir::StringAttr attr)
inline

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

◆ setType()

void llzk::component::MemberDefOp::setType ( ::mlir::Type attrValue)

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

◆ setTypeAttr()

void llzk::component::MemberDefOp::setTypeAttr ( ::mlir::TypeAttr attr)
inline

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

◆ verifyInherentAttrs()

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

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

◆ verifyInvariants()

llvm::LogicalResult llzk::component::MemberDefOp::verifyInvariants ( )

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

◆ verifyInvariantsImpl()

llvm::LogicalResult llzk::component::MemberDefOp::verifyInvariantsImpl ( )

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

◆ verifySymbolUses()

LogicalResult llzk::component::MemberDefOp::verifySymbolUses ( ::mlir::SymbolTableCollection & symbolTable)

Definition at line 535 of file Ops.cpp.

◆ writeProperties()

void llzk::component::MemberDefOp::writeProperties ( ::mlir::DialectBytecodeWriter & writer)

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


The documentation for this class was generated from the following files: