LLZK 0.1.0
Veridise's ZK Language IR
Loading...
Searching...
No Matches
llzk::constrain::EmitContainmentOp Class Reference
Inheritance diagram for llzk::constrain::EmitContainmentOp:
[legend]
Collaboration diagram for llzk::constrain::EmitContainmentOp:
[legend]

Public Types

using Adaptor = EmitContainmentOpAdaptor
 
template<typename RangeT>
using GenericAdaptor = EmitContainmentOpGenericAdaptor<RangeT>
 
using FoldAdaptor = GenericAdaptor<::llvm::ArrayRef<::mlir::Attribute>>
 

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<::llzk::array::ArrayTypegetLhs ()
 
::mlir::Value getRhs ()
 
::mlir::OpOperand & getLhsMutable ()
 
::mlir::OpOperand & getRhsMutable ()
 
std::pair< unsigned, unsigned > getODSResultIndexAndLength (unsigned index)
 
::mlir::Operation::result_range getODSResults (unsigned index)
 
::mlir::LogicalResult verifyInvariantsImpl ()
 
::mlir::LogicalResult verifyInvariants ()
 
::mlir::LogicalResult verifySymbolUses (::mlir::SymbolTableCollection &symbolTable)
 
void print (::mlir::OpAsmPrinter &_odsPrinter)
 

Static Public Member Functions

static constexpr ::llvm::StringLiteral getOperationName ()
 
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Value lhs, ::mlir::Value rhs)
 
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::Value lhs, ::mlir::Value rhs)
 
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)
 
::mlir::Type inferRHS (::mlir::Type lhsType)
 
::mlir::ParseResult parseInferredOrParsedType (::mlir::OpAsmParser &parser, ::mlir::Type &rhsType, ::mlir::Type lhsType)
 
static void printInferredOrParsedType (::mlir::OpAsmPrinter &printer, ::mlir::Operation *op, ::mlir::Type rhsType, ::mlir::Type lhsType)
 

Detailed Description

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

Member Typedef Documentation

◆ Adaptor

◆ FoldAdaptor

using llzk::constrain::EmitContainmentOp::FoldAdaptor = GenericAdaptor<::llvm::ArrayRef<::mlir::Attribute>>

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

◆ GenericAdaptor

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

Member Function Documentation

◆ build() [1/3]

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

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

◆ build() [2/3]

void llzk::constrain::EmitContainmentOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::TypeRange resultTypes,
::mlir::Value lhs,
::mlir::Value rhs )
static

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

◆ build() [3/3]

void llzk::constrain::EmitContainmentOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::Value lhs,
::mlir::Value rhs )
static

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

◆ getAttributeNames()

static ::llvm::ArrayRef<::llvm::StringRef > llzk::constrain::EmitContainmentOp::getAttributeNames ( )
inline

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

◆ getLhs()

mlir::TypedValue<::llzk::array::ArrayType > llzk::constrain::EmitContainmentOp::getLhs ( )

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

◆ getLhsMutable()

mlir::OpOperand & llzk::constrain::EmitContainmentOp::getLhsMutable ( )

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

◆ getODSOperandIndexAndLength()

std::pair< unsigned, unsigned > llzk::constrain::EmitContainmentOp::getODSOperandIndexAndLength ( unsigned index)

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

◆ getODSOperands()

mlir::Operation::operand_range llzk::constrain::EmitContainmentOp::getODSOperands ( unsigned index)

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

◆ getODSResultIndexAndLength()

std::pair< unsigned, unsigned > llzk::constrain::EmitContainmentOp::getODSResultIndexAndLength ( unsigned index)

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

◆ getODSResults()

mlir::Operation::result_range llzk::constrain::EmitContainmentOp::getODSResults ( unsigned index)

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

◆ getOperationName()

static constexpr ::llvm::StringLiteral llzk::constrain::EmitContainmentOp::getOperationName ( )
inlinestatic

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

◆ getRhs()

mlir::Value llzk::constrain::EmitContainmentOp::getRhs ( )

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

◆ getRhsMutable()

mlir::OpOperand & llzk::constrain::EmitContainmentOp::getRhsMutable ( )

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

◆ inferRHS()

Type llzk::constrain::EmitContainmentOp::inferRHS ( ::mlir::Type lhsType)
static

Definition at line 49 of file Ops.cpp.

◆ parse()

mlir::ParseResult llzk::constrain::EmitContainmentOp::parse ( ::mlir::OpAsmParser & parser,
::mlir::OperationState & result )
static

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

◆ parseInferredOrParsedType()

::mlir::ParseResult llzk::constrain::EmitContainmentOp::parseInferredOrParsedType ( ::mlir::OpAsmParser & parser,
::mlir::Type & rhsType,
::mlir::Type lhsType )
inlinestatic

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

◆ print()

void llzk::constrain::EmitContainmentOp::print ( ::mlir::OpAsmPrinter & _odsPrinter)

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

◆ printInferredOrParsedType()

static void llzk::constrain::EmitContainmentOp::printInferredOrParsedType ( ::mlir::OpAsmPrinter & printer,
::mlir::Operation * op,
::mlir::Type rhsType,
::mlir::Type lhsType )
inlinestatic

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

◆ verifyInvariants()

mlir::LogicalResult llzk::constrain::EmitContainmentOp::verifyInvariants ( )

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

◆ verifyInvariantsImpl()

mlir::LogicalResult llzk::constrain::EmitContainmentOp::verifyInvariantsImpl ( )

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

◆ verifySymbolUses()

LogicalResult llzk::constrain::EmitContainmentOp::verifySymbolUses ( ::mlir::SymbolTableCollection & symbolTable)

Definition at line 42 of file Ops.cpp.


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