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

Public Types

using Adaptor = ArrayLengthOpAdaptor
 
template<typename RangeT>
using GenericAdaptor = ArrayLengthOpGenericAdaptor<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::ArrayTypegetArrRef ()
 
::mlir::TypedValue<::mlir::IndexType > getDim ()
 
::mlir::OpOperand & getArrRefMutable ()
 
::mlir::OpOperand & getDimMutable ()
 
std::pair< unsigned, unsigned > getODSResultIndexAndLength (unsigned index)
 
::mlir::Operation::result_range getODSResults (unsigned index)
 
::mlir::TypedValue<::mlir::IndexType > getLength ()
 
::mlir::LogicalResult verifyInvariantsImpl ()
 
::mlir::LogicalResult verifyInvariants ()
 
::mlir::LogicalResult verifySymbolUses (::mlir::SymbolTableCollection &symbolTable)
 
void print (::mlir::OpAsmPrinter &_odsPrinter)
 
void getEffects (::llvm::SmallVectorImpl<::mlir::SideEffects::EffectInstance<::mlir::MemoryEffects::Effect > > &effects)
 
inline ::llzk::array::ArrayType getArrRefType ()
 Gets the type of the referenced base array.
 

Static Public Member Functions

static constexpr ::llvm::StringLiteral getOperationName ()
 
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Type length, ::mlir::Value arr_ref, ::mlir::Value dim)
 
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Value arr_ref, ::mlir::Value dim)
 
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::Value arr_ref, ::mlir::Value dim)
 
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={})
 
::mlir::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 119 of file Ops.h.inc.

Member Typedef Documentation

◆ Adaptor

◆ FoldAdaptor

using llzk::array::ArrayLengthOp::FoldAdaptor = GenericAdaptor<::llvm::ArrayRef<::mlir::Attribute>>

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

◆ GenericAdaptor

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

Member Function Documentation

◆ build() [1/5]

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

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

◆ build() [2/5]

void llzk::array::ArrayLengthOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::Type length,
::mlir::Value arr_ref,
::mlir::Value dim )
static

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

◆ build() [3/5]

void llzk::array::ArrayLengthOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::TypeRange resultTypes,
::mlir::Value arr_ref,
::mlir::Value dim )
static

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

◆ build() [4/5]

void llzk::array::ArrayLengthOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::Value arr_ref,
::mlir::Value dim )
static

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

◆ build() [5/5]

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

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

◆ getArrRef()

mlir::TypedValue<::llzk::array::ArrayType > llzk::array::ArrayLengthOp::getArrRef ( )

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

◆ getArrRefMutable()

mlir::OpOperand & llzk::array::ArrayLengthOp::getArrRefMutable ( )

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

◆ getArrRefType()

inline ::llzk::array::ArrayType llzk::array::ArrayLengthOp::getArrRefType ( )
inline

Gets the type of the referenced base array.

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

◆ getAttributeNames()

static ::llvm::ArrayRef<::llvm::StringRef > llzk::array::ArrayLengthOp::getAttributeNames ( )
inline

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

◆ getDim()

mlir::TypedValue<::mlir::IndexType > llzk::array::ArrayLengthOp::getDim ( )

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

◆ getDimMutable()

mlir::OpOperand & llzk::array::ArrayLengthOp::getDimMutable ( )

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

◆ getEffects()

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

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

◆ getLength()

mlir::TypedValue<::mlir::IndexType > llzk::array::ArrayLengthOp::getLength ( )

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

◆ getODSOperandIndexAndLength()

std::pair< unsigned, unsigned > llzk::array::ArrayLengthOp::getODSOperandIndexAndLength ( unsigned index)

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

◆ getODSOperands()

mlir::Operation::operand_range llzk::array::ArrayLengthOp::getODSOperands ( unsigned index)

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

◆ getODSResultIndexAndLength()

std::pair< unsigned, unsigned > llzk::array::ArrayLengthOp::getODSResultIndexAndLength ( unsigned index)

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

◆ getODSResults()

mlir::Operation::result_range llzk::array::ArrayLengthOp::getODSResults ( unsigned index)

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

◆ getOperationName()

static constexpr ::llvm::StringLiteral llzk::array::ArrayLengthOp::getOperationName ( )
inlinestatic

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

◆ inferReturnTypes()

mlir::LogicalResult llzk::array::ArrayLengthOp::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 254 of file Ops.cpp.inc.

◆ parse()

mlir::ParseResult llzk::array::ArrayLengthOp::parse ( ::mlir::OpAsmParser & parser,
::mlir::OperationState & result )
static

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

◆ print()

void llzk::array::ArrayLengthOp::print ( ::mlir::OpAsmPrinter & _odsPrinter)

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

◆ verifyInvariants()

mlir::LogicalResult llzk::array::ArrayLengthOp::verifyInvariants ( )

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

◆ verifyInvariantsImpl()

mlir::LogicalResult llzk::array::ArrayLengthOp::verifyInvariantsImpl ( )

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

◆ verifySymbolUses()

LogicalResult llzk::array::ArrayLengthOp::verifySymbolUses ( ::mlir::SymbolTableCollection & symbolTable)

Definition at line 482 of file Ops.cpp.


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