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

Public Types

using Adaptor = ExtractArrayOpAdaptor
template<typename RangeT>
using GenericAdaptor = ExtractArrayOpGenericAdaptor<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::Operation::operand_range getIndices ()
::mlir::OpOperand & getArrRefMutable ()
::mlir::MutableOperandRange getIndicesMutable ()
std::pair< unsigned, unsigned > getODSResultIndexAndLength (unsigned index)
::mlir::Operation::result_range getODSResults (unsigned index)
::mlir::TypedValue<::llzk::array::ArrayTypegetResult ()
::llvm::LogicalResult verifyInvariantsImpl ()
::llvm::LogicalResult verifyInvariants ()
::llvm::LogicalResult verifySymbolUses (::mlir::SymbolTableCollection &symbolTable)
bool isRead ()
 Return true if the op is a read, false if it's a write.
void print (::mlir::OpAsmPrinter &_odsPrinter)
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 result, ::mlir::Value arr_ref, ::mlir::ValueRange indices)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Value arr_ref, ::mlir::ValueRange indices)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::Value arr_ref, ::mlir::ValueRange indices)
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={})
::llvm::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)
::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)

Detailed Description

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

Member Typedef Documentation

◆ Adaptor

◆ FoldAdaptor

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

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

◆ GenericAdaptor

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

Member Function Documentation

◆ build() [1/5]

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

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

◆ build() [2/5]

void llzk::array::ExtractArrayOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::Type result,
::mlir::Value arr_ref,
::mlir::ValueRange indices )
static

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

◆ build() [3/5]

void llzk::array::ExtractArrayOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::TypeRange resultTypes,
::mlir::Value arr_ref,
::mlir::ValueRange indices )
static

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

◆ build() [4/5]

void llzk::array::ExtractArrayOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::Value arr_ref,
::mlir::ValueRange indices )
static

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

◆ build() [5/5]

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

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

◆ getArrRef()

::mlir::TypedValue<::llzk::array::ArrayType > llzk::array::ExtractArrayOp::getArrRef ( )
inline

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

◆ getArrRefMutable()

::mlir::OpOperand & llzk::array::ExtractArrayOp::getArrRefMutable ( )
inline

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

◆ getArrRefType()

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

Gets the type of the referenced base array.

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

◆ getAttributeNames()

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

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

◆ getIndices()

::mlir::Operation::operand_range llzk::array::ExtractArrayOp::getIndices ( )
inline

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

◆ getIndicesMutable()

mlir::MutableOperandRange llzk::array::ExtractArrayOp::getIndicesMutable ( )

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

◆ getODSOperandIndexAndLength()

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

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

◆ getODSOperands()

::mlir::Operation::operand_range llzk::array::ExtractArrayOp::getODSOperands ( unsigned index)
inline

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

◆ getODSResultIndexAndLength()

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

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

◆ getODSResults()

::mlir::Operation::result_range llzk::array::ExtractArrayOp::getODSResults ( unsigned index)
inline

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

◆ getOperationName()

constexpr ::llvm::StringLiteral llzk::array::ExtractArrayOp::getOperationName ( )
inlinestatic

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

◆ getResult()

::mlir::TypedValue<::llzk::array::ArrayType > llzk::array::ExtractArrayOp::getResult ( )
inline

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

◆ inferReturnTypes() [1/2]

::llvm::LogicalResult llzk::array::ExtractArrayOp::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

◆ inferReturnTypes() [2/2]

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

◆ isCompatibleReturnTypes()

bool llzk::array::ExtractArrayOp::isCompatibleReturnTypes ( ::mlir::TypeRange l,
::mlir::TypeRange r )
static

Definition at line 418 of file Ops.cpp.

◆ isRead()

bool llzk::array::ExtractArrayOp::isRead ( )

Return true if the op is a read, false if it's a write.

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

◆ parse()

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

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

◆ print()

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

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

◆ verifyInvariants()

llvm::LogicalResult llzk::array::ExtractArrayOp::verifyInvariants ( )

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

◆ verifyInvariantsImpl()

llvm::LogicalResult llzk::array::ExtractArrayOp::verifyInvariantsImpl ( )

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

◆ verifySymbolUses()

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

Definition at line 381 of file Ops.cpp.


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