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::Value getVal ()
 
void writeProperties (::mlir::DialectBytecodeWriter &writer)
 
::mlir::FlatSymbolRefAttr getConstNameAttr ()
 
::llvm::StringRef getConstName ()
 
void setConstNameAttr (::mlir::FlatSymbolRefAttr attr)
 
void setConstName (::llvm::StringRef attrValue)
 
::mlir::LogicalResult verifyInvariantsImpl ()
 
::mlir::LogicalResult verifyInvariants ()
 
::mlir::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 ()
 
::mlir::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)
 
::mlir::LogicalResult verifyInherentAttrs (::mlir::OperationName opName, ::mlir::NamedAttrList &attrs, llvm::function_ref<::mlir::InFlightDiagnostic()> emitError)
 
::mlir::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 332 of file Ops.h.inc.

Member Typedef Documentation

◆ Adaptor

◆ FoldAdaptor

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

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

◆ GenericAdaptor

Definition at line 338 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 701 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 690 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 679 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 695 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 684 of file Ops.cpp.inc.

◆ computePropertiesHash()

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

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

◆ getAttributeNames()

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

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

◆ getConstName()

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

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

◆ getConstNameAttr()

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

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

◆ getConstNameAttrName() [1/2]

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

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

◆ getConstNameAttrName() [2/2]

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

Definition at line 350 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 624 of file Ops.cpp.inc.

◆ getODSOperandIndexAndLength()

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

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

◆ getODSOperands()

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

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

◆ getODSResultIndexAndLength()

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

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

◆ getODSResults()

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

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

◆ getOperationName()

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

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

◆ getPropertiesAsAttr()

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

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

◆ getVal()

mlir::Value llzk::polymorphic::ConstReadOp::getVal ( )

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

◆ parse()

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

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

◆ populateInherentAttrs()

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

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

◆ print()

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

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

◆ readProperties()

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

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

◆ setConstName()

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

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

◆ setConstNameAttr()

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

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

◆ setInherentAttr()

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

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

◆ setPropertiesFromAttr()

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

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

◆ verifyInherentAttrs()

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

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

◆ verifyInvariants()

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

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

◆ verifyInvariantsImpl()

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

Definition at line 709 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 657 of file Ops.cpp.inc.


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