LLZK 0.1.0
Veridise's ZK Language IR
Loading...
Searching...
No Matches
llzk::polymorphic::ConstReadOp Class Reference
Inheritance diagram for llzk::polymorphic::ConstReadOp:
[legend]
Collaboration diagram for llzk::polymorphic::ConstReadOp:
[legend]

Public Types

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

Public Member Functions

static ::llvm::ArrayRef<::llvm::StringRef > getAttributeNames ()
::mlir::StringAttr getConstNameAttrName ()
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)
::mlir::TypedValue<::mlir::Type > getVal ()
void writeProperties (::mlir::DialectBytecodeWriter &writer)
::mlir::FlatSymbolRefAttr getConstNameAttr ()
::llvm::StringRef getConstName ()
void setConstNameAttr (::mlir::FlatSymbolRefAttr attr)
void setConstName (::llvm::StringRef attrValue)
::llvm::LogicalResult verifyInvariantsImpl ()
::llvm::LogicalResult verifyInvariants ()
::llvm::LogicalResult verifySymbolUses (::mlir::SymbolTableCollection &symbolTable)
void print (::mlir::OpAsmPrinter &_odsPrinter)

Static Public Member Functions

::mlir::StringAttr getConstNameAttrName (::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::Type val, ::mlir::FlatSymbolRefAttr const_name)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::FlatSymbolRefAttr const_name)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Type val, ::llvm::StringRef const_name)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::llvm::StringRef const_name)
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 384 of file Ops.h.inc.

Member Typedef Documentation

◆ Adaptor

◆ FoldAdaptor

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

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

◆ GenericAdaptor

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

◆ Properties

Member Function Documentation

◆ build() [1/5]

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

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

◆ build() [2/5]

void llzk::polymorphic::ConstReadOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::Type val,
::llvm::StringRef const_name )
static

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

◆ build() [3/5]

void llzk::polymorphic::ConstReadOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::Type val,
::mlir::FlatSymbolRefAttr const_name )
static

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

◆ build() [4/5]

void llzk::polymorphic::ConstReadOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::TypeRange resultTypes,
::llvm::StringRef const_name )
static

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

◆ build() [5/5]

void llzk::polymorphic::ConstReadOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::TypeRange resultTypes,
::mlir::FlatSymbolRefAttr const_name )
static

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

◆ computePropertiesHash()

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

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

◆ getAttributeNames()

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

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

◆ getConstName()

llvm::StringRef llzk::polymorphic::ConstReadOp::getConstName ( )

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

◆ getConstNameAttr()

::mlir::FlatSymbolRefAttr llzk::polymorphic::ConstReadOp::getConstNameAttr ( )
inline

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

◆ getConstNameAttrName() [1/2]

::mlir::StringAttr llzk::polymorphic::ConstReadOp::getConstNameAttrName ( )
inline

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

◆ getConstNameAttrName() [2/2]

::mlir::StringAttr llzk::polymorphic::ConstReadOp::getConstNameAttrName ( ::mlir::OperationName name)
inlinestatic

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

◆ getInherentAttr()

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

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

◆ getODSOperandIndexAndLength()

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

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

◆ getODSOperands()

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

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

◆ getODSResultIndexAndLength()

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

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

◆ getODSResults()

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

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

◆ getOperationName()

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

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

◆ getPropertiesAsAttr()

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

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

◆ getVal()

::mlir::TypedValue<::mlir::Type > llzk::polymorphic::ConstReadOp::getVal ( )
inline

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

◆ parse()

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

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

◆ populateInherentAttrs()

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

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

◆ print()

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

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

◆ readProperties()

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

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

◆ setConstName()

void llzk::polymorphic::ConstReadOp::setConstName ( ::llvm::StringRef attrValue)

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

◆ setConstNameAttr()

void llzk::polymorphic::ConstReadOp::setConstNameAttr ( ::mlir::FlatSymbolRefAttr attr)
inline

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

◆ setInherentAttr()

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

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

◆ setPropertiesFromAttr()

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

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

◆ verifyInherentAttrs()

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

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

◆ verifyInvariants()

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

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

◆ verifyInvariantsImpl()

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

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

◆ verifySymbolUses()

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

Definition at line 28 of file Ops.cpp.

◆ writeProperties()

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

Definition at line 547 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