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

Public Types

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

Public Member Functions

static ::llvm::ArrayRef<::llvm::StringRef > getAttributeNames ()
::mlir::StringAttr getLowBitAttrName ()
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index)
::mlir::Operation::operand_range getODSOperands (unsigned index)
::mlir::TypedValue<::llzk::smt::BitVectorTypegetInput ()
::mlir::OpOperand & getInputMutable ()
std::pair< unsigned, unsigned > getODSResultIndexAndLength (unsigned index)
::mlir::Operation::result_range getODSResults (unsigned index)
::mlir::TypedValue<::llzk::smt::BitVectorTypegetResult ()
void writeProperties (::mlir::DialectBytecodeWriter &writer)
::mlir::IntegerAttr getLowBitAttr ()
uint32_t getLowBit ()
void setLowBitAttr (::mlir::IntegerAttr attr)
void setLowBit (uint32_t attrValue)
::llvm::LogicalResult verifyInvariantsImpl ()
::llvm::LogicalResult verifyInvariants ()
::llvm::LogicalResult verify ()
void print (::mlir::OpAsmPrinter &_odsPrinter)
void getEffects (::llvm::SmallVectorImpl<::mlir::SideEffects::EffectInstance<::mlir::MemoryEffects::Effect > > &effects)

Static Public Member Functions

::mlir::StringAttr getLowBitAttrName (::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, ::mlir::IntegerAttr lowBit, ::mlir::Value input)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::IntegerAttr lowBit, ::mlir::Value input)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Type result, uint32_t lowBit, ::mlir::Value input)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, uint32_t lowBit, ::mlir::Value input)
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 5416 of file SMT.h.inc.

Member Typedef Documentation

◆ Adaptor

Definition at line 5420 of file SMT.h.inc.

◆ FoldAdaptor

using llzk::smt::ExtractOp::FoldAdaptor = GenericAdaptor<::llvm::ArrayRef<::mlir::Attribute>>

Definition at line 5423 of file SMT.h.inc.

◆ GenericAdaptor

template<typename RangeT>
using llzk::smt::ExtractOp::GenericAdaptor = ExtractOpGenericAdaptor<RangeT>

Definition at line 5422 of file SMT.h.inc.

◆ Properties

Member Function Documentation

◆ build() [1/5]

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

Definition at line 6497 of file SMT.cpp.inc.

◆ build() [2/5]

void llzk::smt::ExtractOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::Type result,
::mlir::IntegerAttr lowBit,
::mlir::Value input )
static

Definition at line 6471 of file SMT.cpp.inc.

◆ build() [3/5]

void llzk::smt::ExtractOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::Type result,
uint32_t lowBit,
::mlir::Value input )
static

Definition at line 6484 of file SMT.cpp.inc.

◆ build() [4/5]

void llzk::smt::ExtractOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::TypeRange resultTypes,
::mlir::IntegerAttr lowBit,
::mlir::Value input )
static

Definition at line 6477 of file SMT.cpp.inc.

◆ build() [5/5]

void llzk::smt::ExtractOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::TypeRange resultTypes,
uint32_t lowBit,
::mlir::Value input )
static

Definition at line 6490 of file SMT.cpp.inc.

◆ computePropertiesHash()

llvm::hash_code llzk::smt::ExtractOp::computePropertiesHash ( const Properties & prop)
static

Definition at line 6419 of file SMT.cpp.inc.

◆ getAttributeNames()

::llvm::ArrayRef<::llvm::StringRef > llzk::smt::ExtractOp::getAttributeNames ( )
inline

Definition at line 5425 of file SMT.h.inc.

◆ getEffects()

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

Definition at line 6603 of file SMT.cpp.inc.

◆ getInherentAttr()

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

Definition at line 6424 of file SMT.cpp.inc.

◆ getInput()

::mlir::TypedValue<::llzk::smt::BitVectorType > llzk::smt::ExtractOp::getInput ( )
inline

Definition at line 5452 of file SMT.h.inc.

◆ getInputMutable()

::mlir::OpOperand & llzk::smt::ExtractOp::getInputMutable ( )
inline

Definition at line 5456 of file SMT.h.inc.

◆ getLowBit()

uint32_t llzk::smt::ExtractOp::getLowBit ( )

Definition at line 6462 of file SMT.cpp.inc.

◆ getLowBitAttr()

::mlir::IntegerAttr llzk::smt::ExtractOp::getLowBitAttr ( )
inline

Definition at line 5484 of file SMT.h.inc.

◆ getLowBitAttrName() [1/2]

::mlir::StringAttr llzk::smt::ExtractOp::getLowBitAttrName ( )
inline

Definition at line 5430 of file SMT.h.inc.

◆ getLowBitAttrName() [2/2]

::mlir::StringAttr llzk::smt::ExtractOp::getLowBitAttrName ( ::mlir::OperationName name)
inlinestatic

Definition at line 5434 of file SMT.h.inc.

◆ getODSOperandIndexAndLength()

std::pair< unsigned, unsigned > llzk::smt::ExtractOp::getODSOperandIndexAndLength ( unsigned index)
inline

Definition at line 5442 of file SMT.h.inc.

◆ getODSOperands()

::mlir::Operation::operand_range llzk::smt::ExtractOp::getODSOperands ( unsigned index)
inline

Definition at line 5446 of file SMT.h.inc.

◆ getODSResultIndexAndLength()

std::pair< unsigned, unsigned > llzk::smt::ExtractOp::getODSResultIndexAndLength ( unsigned index)
inline

Definition at line 5461 of file SMT.h.inc.

◆ getODSResults()

::mlir::Operation::result_range llzk::smt::ExtractOp::getODSResults ( unsigned index)
inline

Definition at line 5465 of file SMT.h.inc.

◆ getOperationName()

constexpr ::llvm::StringLiteral llzk::smt::ExtractOp::getOperationName ( )
inlinestatic

Definition at line 5438 of file SMT.h.inc.

◆ getPropertiesAsAttr()

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

Definition at line 6403 of file SMT.cpp.inc.

◆ getResult()

::mlir::TypedValue<::llzk::smt::BitVectorType > llzk::smt::ExtractOp::getResult ( )
inline

Definition at line 5471 of file SMT.h.inc.

◆ parse()

mlir::ParseResult llzk::smt::ExtractOp::parse ( ::mlir::OpAsmParser & parser,
::mlir::OperationState & result )
static

Definition at line 6548 of file SMT.cpp.inc.

◆ populateInherentAttrs()

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

Definition at line 6437 of file SMT.cpp.inc.

◆ print()

void llzk::smt::ExtractOp::print ( ::mlir::OpAsmPrinter & _odsPrinter)

Definition at line 6589 of file SMT.cpp.inc.

◆ readProperties()

llvm::LogicalResult llzk::smt::ExtractOp::readProperties ( ::mlir::DialectBytecodeReader & reader,
::mlir::OperationState & state )
static

Definition at line 6450 of file SMT.cpp.inc.

◆ setInherentAttr()

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

Definition at line 6430 of file SMT.cpp.inc.

◆ setLowBit()

void llzk::smt::ExtractOp::setLowBit ( uint32_t attrValue)

Definition at line 6467 of file SMT.cpp.inc.

◆ setLowBitAttr()

void llzk::smt::ExtractOp::setLowBitAttr ( ::mlir::IntegerAttr attr)
inline

Definition at line 5489 of file SMT.h.inc.

◆ setPropertiesFromAttr()

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

Definition at line 6380 of file SMT.cpp.inc.

◆ verify()

LogicalResult ExtractOp::verify ( )

Definition at line 157 of file SMTOps.cpp.

◆ verifyInherentAttrs()

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

Definition at line 6441 of file SMT.cpp.inc.

◆ verifyInvariants()

llvm::LogicalResult llzk::smt::ExtractOp::verifyInvariants ( )

Definition at line 6542 of file SMT.cpp.inc.

◆ verifyInvariantsImpl()

llvm::LogicalResult llzk::smt::ExtractOp::verifyInvariantsImpl ( )

Definition at line 6515 of file SMT.cpp.inc.

◆ writeProperties()

void llzk::smt::ExtractOp::writeProperties ( ::mlir::DialectBytecodeWriter & writer)

Definition at line 6457 of file SMT.cpp.inc.


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