LLZK 0.1.0
Veridise's ZK Language IR
Loading...
Searching...
No Matches
llzk::array::ExtractArrayOp Class Reference
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 ()
 
::mlir::LogicalResult verifyInvariantsImpl ()
 
::mlir::LogicalResult verifyInvariants ()
 
::mlir::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={})
 
::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)
 
::mlir::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 475 of file Ops.h.inc.

Member Typedef Documentation

◆ Adaptor

◆ FoldAdaptor

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

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

◆ GenericAdaptor

Definition at line 481 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 960 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 932 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 953 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 938 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 968 of file Ops.cpp.inc.

◆ getArrRef()

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

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

◆ getArrRefMutable()

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

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

◆ getArrRefType()

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

Gets the type of the referenced base array.

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

◆ getAttributeNames()

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

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

◆ getIndices()

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

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

◆ getIndicesMutable()

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

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

◆ getODSOperandIndexAndLength()

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

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

◆ getODSOperands()

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

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

◆ getODSResultIndexAndLength()

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

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

◆ getODSResults()

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

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

◆ getOperationName()

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

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

◆ getResult()

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

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

◆ inferReturnTypes() [1/2]

::mlir::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]

::mlir::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 413 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 1102 of file Ops.cpp.inc.

◆ parse()

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

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

◆ print()

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

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

◆ verifyInvariants()

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

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

◆ verifyInvariantsImpl()

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

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

◆ verifySymbolUses()

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

Definition at line 376 of file Ops.cpp.


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