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

Public Types

using Adaptor = NegFeltOpAdaptor
template<typename RangeT>
using GenericAdaptor = NegFeltOpGenericAdaptor<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 > getOperand ()
::mlir::OpOperand & getOperandMutable ()
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 ()
::mlir::OpFoldResult fold (FoldAdaptor adaptor)
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 operand)
static NegFeltOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::Type result, ::mlir::Value operand)
static NegFeltOp create (::mlir::ImplicitLocOpBuilder &builder, ::mlir::Type result, ::mlir::Value operand)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Value operand)
static NegFeltOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::Value operand)
static NegFeltOp create (::mlir::ImplicitLocOpBuilder &builder, ::mlir::Value operand)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::Value operand)
static NegFeltOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::Value operand)
static NegFeltOp create (::mlir::ImplicitLocOpBuilder &builder, ::mlir::TypeRange resultTypes, ::mlir::Value operand)
static void build (::mlir::OpBuilder &, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes={})
static NegFeltOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes={})
static NegFeltOp create (::mlir::ImplicitLocOpBuilder &builder, ::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={})
static NegFeltOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes={})
static NegFeltOp create (::mlir::ImplicitLocOpBuilder &builder, ::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 NegFeltOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, const Properties &properties, ::llvm::ArrayRef<::mlir::NamedAttribute > discardableAttributes={})
static NegFeltOp create (::mlir::ImplicitLocOpBuilder &builder, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, const Properties &properties, ::llvm::ArrayRef<::mlir::NamedAttribute > discardableAttributes={})
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::ValueRange operands, const Properties &properties, ::llvm::ArrayRef<::mlir::NamedAttribute > discardableAttributes={})
static NegFeltOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::ValueRange operands, const Properties &properties, ::llvm::ArrayRef<::mlir::NamedAttribute > discardableAttributes={})
static NegFeltOp create (::mlir::ImplicitLocOpBuilder &builder, ::mlir::ValueRange operands, const Properties &properties, ::llvm::ArrayRef<::mlir::NamedAttribute > discardableAttributes={})
::llvm::LogicalResult inferReturnTypes (::mlir::MLIRContext *context, ::std::optional<::mlir::Location > location, ::mlir::ValueRange operands, ::mlir::DictionaryAttr attributes, ::mlir::PropertyRef properties, ::mlir::RegionRange regions, ::llvm::SmallVectorImpl<::mlir::Type > &inferredReturnTypes)
::mlir::ParseResult parse (::mlir::OpAsmParser &parser, ::mlir::OperationState &result)
::llvm::LogicalResult inferReturnTypes (::mlir::MLIRContext *context, std::optional<::mlir::Location > location, Adaptor adaptor, ::llvm::SmallVectorImpl<::mlir::Type > &inferredReturnTypes)
static bool isCompatibleReturnTypes (::mlir::TypeRange l, ::mlir::TypeRange r)

Static Public Attributes

static constexpr int odsIndex_operand = 0

Detailed Description

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

Member Typedef Documentation

◆ Adaptor

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

◆ FoldAdaptor

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

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

◆ GenericAdaptor

template<typename RangeT>
using llzk::felt::NegFeltOp::GenericAdaptor = NegFeltOpGenericAdaptor<RangeT>

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

◆ Properties

Member Function Documentation

◆ build() [1/7]

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

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

◆ build() [2/7]

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

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

◆ build() [3/7]

void llzk::felt::NegFeltOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::Type result,
::mlir::Value operand )
static

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

◆ build() [4/7]

void llzk::felt::NegFeltOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::TypeRange resultTypes,
::mlir::Value operand )
static

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

◆ build() [5/7]

void llzk::felt::NegFeltOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::Value operand )
static

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

◆ build() [6/7]

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

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

◆ build() [7/7]

void llzk::felt::NegFeltOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::ValueRange operands,
const Properties & properties,
::llvm::ArrayRef<::mlir::NamedAttribute > discardableAttributes = {} )
static

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

◆ computePropertiesHash()

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

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

◆ create() [1/14]

NegFeltOp llzk::felt::NegFeltOp::create ( ::mlir::ImplicitLocOpBuilder & builder,
::mlir::Type result,
::mlir::Value operand )
static

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

◆ create() [2/14]

NegFeltOp llzk::felt::NegFeltOp::create ( ::mlir::ImplicitLocOpBuilder & builder,
::mlir::TypeRange resultTypes,
::mlir::Value operand )
static

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

◆ create() [3/14]

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

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

◆ create() [4/14]

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

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

◆ create() [5/14]

NegFeltOp llzk::felt::NegFeltOp::create ( ::mlir::ImplicitLocOpBuilder & builder,
::mlir::Value operand )
static

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

◆ create() [6/14]

NegFeltOp llzk::felt::NegFeltOp::create ( ::mlir::ImplicitLocOpBuilder & builder,
::mlir::ValueRange operands,
::llvm::ArrayRef<::mlir::NamedAttribute > attributes = {} )
static

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

◆ create() [7/14]

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

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

◆ create() [8/14]

NegFeltOp llzk::felt::NegFeltOp::create ( ::mlir::OpBuilder & builder,
::mlir::Location location,
::mlir::Type result,
::mlir::Value operand )
static

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

◆ create() [9/14]

NegFeltOp llzk::felt::NegFeltOp::create ( ::mlir::OpBuilder & builder,
::mlir::Location location,
::mlir::TypeRange resultTypes,
::mlir::Value operand )
static

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

◆ create() [10/14]

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

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

◆ create() [11/14]

NegFeltOp llzk::felt::NegFeltOp::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 2396 of file Ops.cpp.inc.

◆ create() [12/14]

NegFeltOp llzk::felt::NegFeltOp::create ( ::mlir::OpBuilder & builder,
::mlir::Location location,
::mlir::Value operand )
static

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

◆ create() [13/14]

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

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

◆ create() [14/14]

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

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

◆ fold()

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

Definition at line 318 of file Ops.cpp.

◆ getAttributeNames()

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

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

◆ getEffects()

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

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

◆ getInherentAttr()

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

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

◆ getODSOperandIndexAndLength()

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

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

◆ getODSOperands()

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

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

◆ getODSResultIndexAndLength()

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

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

◆ getODSResults()

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

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

◆ getOperand()

::mlir::TypedValue<::mlir::Type > llzk::felt::NegFeltOp::getOperand ( )
inline

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

◆ getOperandMutable()

::mlir::OpOperand & llzk::felt::NegFeltOp::getOperandMutable ( )
inline

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

◆ getOperationName()

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

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

◆ getPropertiesAsAttr()

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

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

◆ getResult()

::mlir::TypedValue<::mlir::Type > llzk::felt::NegFeltOp::getResult ( )
inline

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

◆ inferReturnTypes() [1/2]

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

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

◆ inferReturnTypes() [2/2]

::llvm::LogicalResult llzk::felt::NegFeltOp::inferReturnTypes ( ::mlir::MLIRContext * context,
std::optional<::mlir::Location > location,
Adaptor adaptor,
::llvm::SmallVectorImpl<::mlir::Type > & inferredReturnTypes )
static

◆ isCompatibleReturnTypes()

bool llzk::felt::NegFeltOp::isCompatibleReturnTypes ( ::mlir::TypeRange l,
::mlir::TypeRange r )
static

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

◆ parse()

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

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

◆ populateInherentAttrs()

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

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

◆ print()

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

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

◆ setInherentAttr()

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

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

◆ setPropertiesFromAttr()

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

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

◆ verifyInherentAttrs()

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

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

◆ verifyInvariants()

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

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

◆ verifyInvariantsImpl()

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

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

Member Data Documentation

◆ odsIndex_operand

int llzk::felt::NegFeltOp::odsIndex_operand = 0
staticconstexpr

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


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