LLZK 0.1.0
Veridise's ZK Language IR
Loading...
Searching...
No Matches
Inheritance diagram for llzk::felt::FeltConstantOp:
[legend]
Collaboration diagram for llzk::felt::FeltConstantOp:
[legend]

Public Types

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

Public Member Functions

static ::llvm::ArrayRef<::llvm::StringRef > getAttributeNames ()
::mlir::StringAttr getValueAttrName ()
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<::llzk::felt::FeltTypegetResult ()
void writeProperties (::mlir::DialectBytecodeWriter &writer)
::llzk::felt::FeltConstAttr getValueAttr ()
::llvm::APInt getValue ()
void setValueAttr (::llzk::felt::FeltConstAttr attr)
::llvm::LogicalResult verifyInvariantsImpl ()
::llvm::LogicalResult verifyInvariants ()
::mlir::OpFoldResult fold (FoldAdaptor adaptor)
void getAsmResultNames (::mlir::OpAsmSetValueNameFn setNameFn)
void print (::mlir::OpAsmPrinter &_odsPrinter)
void getEffects (::llvm::SmallVectorImpl<::mlir::SideEffects::EffectInstance<::mlir::MemoryEffects::Effect > > &effects)

Static Public Member Functions

::mlir::StringAttr getValueAttrName (::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 result, ::llzk::felt::FeltConstAttr value)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::llzk::felt::FeltConstAttr value)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::llzk::felt::FeltConstAttr value)
static void build (::mlir::OpBuilder &, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes={})
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes={})
::llvm::LogicalResult inferReturnTypes (::mlir::MLIRContext *context, ::std::optional<::mlir::Location > location, ::mlir::ValueRange operands, ::mlir::DictionaryAttr attributes, ::mlir::OpaqueProperties properties, ::mlir::RegionRange regions, ::llvm::SmallVectorImpl<::mlir::Type > &inferredReturnTypes)
::mlir::ParseResult parse (::mlir::OpAsmParser &parser, ::mlir::OperationState &result)

Detailed Description

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

Member Typedef Documentation

◆ Adaptor

◆ FoldAdaptor

using llzk::felt::FeltConstantOp::FoldAdaptor = GenericAdaptor<::llvm::ArrayRef<::mlir::Attribute>>

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

◆ GenericAdaptor

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

◆ Properties

Member Function Documentation

◆ build() [1/5]

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

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

◆ build() [2/5]

void llzk::felt::FeltConstantOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::llzk::felt::FeltConstAttr value )
static

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

◆ build() [3/5]

void llzk::felt::FeltConstantOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::Type result,
::llzk::felt::FeltConstAttr value )
static

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

◆ build() [4/5]

void llzk::felt::FeltConstantOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::TypeRange resultTypes,
::llzk::felt::FeltConstAttr value )
static

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

◆ build() [5/5]

void llzk::felt::FeltConstantOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::ValueRange operands,
::llvm::ArrayRef<::mlir::NamedAttribute > attributes = {} )
static

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

◆ computePropertiesHash()

llvm::hash_code llzk::felt::FeltConstantOp::computePropertiesHash ( const Properties & prop)
static

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

◆ fold()

OpFoldResult llzk::felt::FeltConstantOp::fold ( FeltConstantOp::FoldAdaptor adaptor)

Definition at line 38 of file Ops.cpp.

◆ getAsmResultNames()

void llzk::felt::FeltConstantOp::getAsmResultNames ( ::mlir::OpAsmSetValueNameFn setNameFn)

Definition at line 30 of file Ops.cpp.

◆ getAttributeNames()

::llvm::ArrayRef<::llvm::StringRef > llzk::felt::FeltConstantOp::getAttributeNames ( )
inline

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

◆ getEffects()

void llzk::felt::FeltConstantOp::getEffects ( ::llvm::SmallVectorImpl<::mlir::SideEffects::EffectInstance<::mlir::MemoryEffects::Effect > > & effects)

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

◆ getInherentAttr()

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

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

◆ getODSOperandIndexAndLength()

std::pair< unsigned, unsigned > llzk::felt::FeltConstantOp::getODSOperandIndexAndLength ( unsigned index)
inline

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

◆ getODSOperands()

::mlir::Operation::operand_range llzk::felt::FeltConstantOp::getODSOperands ( unsigned index)
inline

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

◆ getODSResultIndexAndLength()

std::pair< unsigned, unsigned > llzk::felt::FeltConstantOp::getODSResultIndexAndLength ( unsigned index)
inline

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

◆ getODSResults()

::mlir::Operation::result_range llzk::felt::FeltConstantOp::getODSResults ( unsigned index)
inline

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

◆ getOperationName()

constexpr ::llvm::StringLiteral llzk::felt::FeltConstantOp::getOperationName ( )
inlinestatic

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

◆ getPropertiesAsAttr()

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

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

◆ getResult()

::mlir::TypedValue<::llzk::felt::FeltType > llzk::felt::FeltConstantOp::getResult ( )
inline

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

◆ getValue()

llvm::APInt llzk::felt::FeltConstantOp::getValue ( )

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

◆ getValueAttr()

::llzk::felt::FeltConstAttr llzk::felt::FeltConstantOp::getValueAttr ( )
inline

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

◆ getValueAttrName() [1/2]

::mlir::StringAttr llzk::felt::FeltConstantOp::getValueAttrName ( )
inline

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

◆ getValueAttrName() [2/2]

::mlir::StringAttr llzk::felt::FeltConstantOp::getValueAttrName ( ::mlir::OperationName name)
inlinestatic

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

◆ inferReturnTypes()

llvm::LogicalResult llzk::felt::FeltConstantOp::inferReturnTypes ( ::mlir::MLIRContext * context,
::std::optional<::mlir::Location > location,
::mlir::ValueRange operands,
::mlir::DictionaryAttr attributes,
::mlir::OpaqueProperties properties,
::mlir::RegionRange regions,
::llvm::SmallVectorImpl<::mlir::Type > & inferredReturnTypes )
static

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

◆ parse()

mlir::ParseResult llzk::felt::FeltConstantOp::parse ( ::mlir::OpAsmParser & parser,
::mlir::OperationState & result )
static

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

◆ populateInherentAttrs()

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

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

◆ print()

void llzk::felt::FeltConstantOp::print ( ::mlir::OpAsmPrinter & _odsPrinter)

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

◆ readProperties()

llvm::LogicalResult llzk::felt::FeltConstantOp::readProperties ( ::mlir::DialectBytecodeReader & reader,
::mlir::OperationState & state )
static

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

◆ setInherentAttr()

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

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

◆ setPropertiesFromAttr()

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

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

◆ setValueAttr()

void llzk::felt::FeltConstantOp::setValueAttr ( ::llzk::felt::FeltConstAttr attr)
inline

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

◆ verifyInherentAttrs()

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

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

◆ verifyInvariants()

llvm::LogicalResult llzk::felt::FeltConstantOp::verifyInvariants ( )

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

◆ verifyInvariantsImpl()

llvm::LogicalResult llzk::felt::FeltConstantOp::verifyInvariantsImpl ( )

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

◆ writeProperties()

void llzk::felt::FeltConstantOp::writeProperties ( ::mlir::DialectBytecodeWriter & writer)

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


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