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

Public Types

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

Public Member Functions

static ::llvm::ArrayRef<::llvm::StringRef > getAttributeNames ()
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index)
::mlir::Operation::operand_range getODSOperands (unsigned index)
::mlir::TypedValue<::mlir::Type > getInput ()
::mlir::OpOperand & getInputMutable ()
std::pair< unsigned, unsigned > getODSResultIndexAndLength (unsigned index)
::mlir::Operation::result_range getODSResults (unsigned index)
::mlir::TypedValue<::mlir::Type > getResult ()
::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

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)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Type result, ::mlir::Value input)
static UnifiableCastOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::Type result, ::mlir::Value input)
static UnifiableCastOp create (::mlir::ImplicitLocOpBuilder &builder, ::mlir::Type result, ::mlir::Value input)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::Value input)
static UnifiableCastOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::Value input)
static UnifiableCastOp create (::mlir::ImplicitLocOpBuilder &builder, ::mlir::TypeRange resultTypes, ::mlir::Value input)
static void build (::mlir::OpBuilder &, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes={})
static UnifiableCastOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes={})
static UnifiableCastOp create (::mlir::ImplicitLocOpBuilder &builder, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes={})
static void build (::mlir::OpBuilder &, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, const Properties &properties, ::llvm::ArrayRef<::mlir::NamedAttribute > discardableAttributes={})
static UnifiableCastOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, const Properties &properties, ::llvm::ArrayRef<::mlir::NamedAttribute > discardableAttributes={})
static UnifiableCastOp create (::mlir::ImplicitLocOpBuilder &builder, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, const Properties &properties, ::llvm::ArrayRef<::mlir::NamedAttribute > discardableAttributes={})
::mlir::ParseResult parse (::mlir::OpAsmParser &parser, ::mlir::OperationState &result)

Static Public Attributes

static constexpr int odsIndex_input = 0

Detailed Description

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

Member Typedef Documentation

◆ Adaptor

◆ FoldAdaptor

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

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

◆ GenericAdaptor

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

◆ Properties

Member Function Documentation

◆ build() [1/4]

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

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

◆ build() [2/4]

void llzk::polymorphic::UnifiableCastOp::build ( ::mlir::OpBuilder & ,
::mlir::OperationState & odsState,
::mlir::TypeRange resultTypes,
::mlir::ValueRange operands,
const Properties & properties,
::llvm::ArrayRef<::mlir::NamedAttribute > discardableAttributes = {} )
static

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

◆ build() [3/4]

void llzk::polymorphic::UnifiableCastOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::Type result,
::mlir::Value input )
static

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

◆ build() [4/4]

void llzk::polymorphic::UnifiableCastOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::TypeRange resultTypes,
::mlir::Value input )
static

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

◆ computePropertiesHash()

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

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

◆ create() [1/8]

UnifiableCastOp llzk::polymorphic::UnifiableCastOp::create ( ::mlir::ImplicitLocOpBuilder & builder,
::mlir::Type result,
::mlir::Value input )
static

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

◆ create() [2/8]

UnifiableCastOp llzk::polymorphic::UnifiableCastOp::create ( ::mlir::ImplicitLocOpBuilder & builder,
::mlir::TypeRange resultTypes,
::mlir::Value input )
static

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

◆ create() [3/8]

UnifiableCastOp llzk::polymorphic::UnifiableCastOp::create ( ::mlir::ImplicitLocOpBuilder & builder,
::mlir::TypeRange resultTypes,
::mlir::ValueRange operands,
::llvm::ArrayRef<::mlir::NamedAttribute > attributes = {} )
static

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

◆ create() [4/8]

UnifiableCastOp llzk::polymorphic::UnifiableCastOp::create ( ::mlir::ImplicitLocOpBuilder & builder,
::mlir::TypeRange resultTypes,
::mlir::ValueRange operands,
const Properties & properties,
::llvm::ArrayRef<::mlir::NamedAttribute > discardableAttributes = {} )
static

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

◆ create() [5/8]

UnifiableCastOp llzk::polymorphic::UnifiableCastOp::create ( ::mlir::OpBuilder & builder,
::mlir::Location location,
::mlir::Type result,
::mlir::Value input )
static

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

◆ create() [6/8]

UnifiableCastOp llzk::polymorphic::UnifiableCastOp::create ( ::mlir::OpBuilder & builder,
::mlir::Location location,
::mlir::TypeRange resultTypes,
::mlir::Value input )
static

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

◆ create() [7/8]

UnifiableCastOp llzk::polymorphic::UnifiableCastOp::create ( ::mlir::OpBuilder & builder,
::mlir::Location location,
::mlir::TypeRange resultTypes,
::mlir::ValueRange operands,
::llvm::ArrayRef<::mlir::NamedAttribute > attributes = {} )
static

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

◆ create() [8/8]

UnifiableCastOp llzk::polymorphic::UnifiableCastOp::create ( ::mlir::OpBuilder & builder,
::mlir::Location location,
::mlir::TypeRange resultTypes,
::mlir::ValueRange operands,
const Properties & properties,
::llvm::ArrayRef<::mlir::NamedAttribute > discardableAttributes = {} )
static

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

◆ getAttributeNames()

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

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

◆ getEffects()

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

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

◆ getInherentAttr()

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

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

◆ getInput()

::mlir::TypedValue<::mlir::Type > llzk::polymorphic::UnifiableCastOp::getInput ( )
inline

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

◆ getInputMutable()

::mlir::OpOperand & llzk::polymorphic::UnifiableCastOp::getInputMutable ( )
inline

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

◆ getODSOperandIndexAndLength()

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

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

◆ getODSOperands()

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

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

◆ getODSResultIndexAndLength()

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

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

◆ getODSResults()

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

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

◆ getOperationName()

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

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

◆ getPropertiesAsAttr()

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

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

◆ getResult()

::mlir::TypedValue<::mlir::Type > llzk::polymorphic::UnifiableCastOp::getResult ( )
inline

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

◆ parse()

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

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

◆ populateInherentAttrs()

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

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

◆ print()

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

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

◆ setInherentAttr()

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

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

◆ setPropertiesFromAttr()

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

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

◆ verify()

LogicalResult llzk::polymorphic::UnifiableCastOp::verify ( )

Definition at line 285 of file Ops.cpp.

◆ verifyInherentAttrs()

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

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

◆ verifyInvariants()

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

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

◆ verifyInvariantsImpl()

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

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

Member Data Documentation

◆ odsIndex_input

int llzk::polymorphic::UnifiableCastOp::odsIndex_input = 0
staticconstexpr

Definition at line 1518 of file Ops.h.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