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

Public Types

using Adaptor = ReadArrayOpAdaptor
template<typename RangeT>
using GenericAdaptor = ReadArrayOpGenericAdaptor<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<::llzk::array::ArrayType > getArrRef ()
::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<::mlir::Type > getResult ()
::llvm::LogicalResult verifyInvariantsImpl ()
::llvm::LogicalResult verifyInvariants ()
::llvm::LogicalResult verify ()
bool canRewire (const ::mlir::DestructurableMemorySlot &slot, ::llvm::SmallPtrSetImpl<::mlir::Attribute > &usedIndices, ::mlir::SmallVectorImpl<::mlir::MemorySlot > &mustBeSafelyUsed, const ::mlir::DataLayout &dataLayout)
 Required by DestructurableAllocationOpInterface / SROA pass.
::mlir::DeletionKind rewire (const ::mlir::DestructurableMemorySlot &slot, ::llvm::DenseMap<::mlir::Attribute, ::mlir::MemorySlot > &subslots, ::mlir::OpBuilder &builder, const ::mlir::DataLayout &dataLayout)
 Required by DestructurableAllocationOpInterface / SROA pass.
bool loadsFrom (const ::mlir::MemorySlot &slot)
 Required by PromotableMemOpInterface / mem2reg pass.
bool storesTo (const ::mlir::MemorySlot &slot)
 Required by PromotableMemOpInterface / mem2reg pass.
::mlir::Value getStored (const ::mlir::MemorySlot &slot, ::mlir::OpBuilder &builder, ::mlir::Value reachingDef, const ::mlir::DataLayout &dataLayout)
 Required by PromotableAllocationOpInterface / mem2reg pass.
bool canUsesBeRemoved (const ::mlir::MemorySlot &slot, const ::llvm::SmallPtrSetImpl<::mlir::OpOperand * > &blockingUses, ::llvm::SmallVectorImpl<::mlir::OpOperand * > &newBlockingUses, const ::mlir::DataLayout &datalayout)
 Required by PromotableMemOpInterface / mem2reg pass.
::mlir::DeletionKind removeBlockingUses (const ::mlir::MemorySlot &slot, const ::llvm::SmallPtrSetImpl< mlir::OpOperand * > &blockingUses, ::mlir::OpBuilder &builder, ::mlir::Value reachingDefinition, const ::mlir::DataLayout &dataLayout)
 Required by PromotableMemOpInterface / mem2reg pass.
bool loadsFromDiscardableAllocation (::mlir::Value ptr)
 Required by DiscardableAllocationAccessorOpInterface / unused allocation cleanup.
bool storesToDiscardableAllocation (::mlir::Value ptr)
 Required by DiscardableAllocationAccessorOpInterface / unused allocation cleanup.
bool canEraseAsDeadStoreTo (::mlir::Value ptr, const ::mlir::DataLayout &dataLayout)
 Required by DiscardableAllocationAccessorOpInterface / unused allocation cleanup.
::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 ()
::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 arr_ref, ::mlir::ValueRange indices)
static ReadArrayOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::Type result, ::mlir::Value arr_ref, ::mlir::ValueRange indices)
static ReadArrayOp create (::mlir::ImplicitLocOpBuilder &builder, ::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 ReadArrayOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::Value arr_ref, ::mlir::ValueRange indices)
static ReadArrayOp create (::mlir::ImplicitLocOpBuilder &builder, ::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 ReadArrayOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::Value arr_ref, ::mlir::ValueRange indices)
static ReadArrayOp create (::mlir::ImplicitLocOpBuilder &builder, ::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 ReadArrayOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes={})
static ReadArrayOp 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 ReadArrayOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes={})
static ReadArrayOp 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 ReadArrayOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, const Properties &properties, ::llvm::ArrayRef<::mlir::NamedAttribute > discardableAttributes={})
static ReadArrayOp 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 ReadArrayOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::ValueRange operands, const Properties &properties, ::llvm::ArrayRef<::mlir::NamedAttribute > discardableAttributes={})
static ReadArrayOp 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_arr_ref = 0
static constexpr int odsIndex_indices = 1

Detailed Description

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

Member Typedef Documentation

◆ Adaptor

◆ FoldAdaptor

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

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

◆ GenericAdaptor

template<typename RangeT>
using llzk::array::ReadArrayOp::GenericAdaptor = ReadArrayOpGenericAdaptor<RangeT>

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

◆ Properties

Member Function Documentation

◆ build() [1/7]

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

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

◆ build() [2/7]

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

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

◆ build() [3/7]

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

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

◆ build() [4/7]

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

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

◆ build() [5/7]

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

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

◆ build() [6/7]

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

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

◆ build() [7/7]

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

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

◆ canEraseAsDeadStoreTo()

bool llzk::array::ReadArrayOp::canEraseAsDeadStoreTo ( ::mlir::Value ptr,
const ::mlir::DataLayout & dataLayout )

Required by DiscardableAllocationAccessorOpInterface / unused allocation cleanup.

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

◆ canRewire()

bool llzk::array::ReadArrayOp::canRewire ( const ::mlir::DestructurableMemorySlot & slot,
::llvm::SmallPtrSetImpl<::mlir::Attribute > & usedIndices,
::mlir::SmallVectorImpl<::mlir::MemorySlot > & mustBeSafelyUsed,
const ::mlir::DataLayout & dataLayout )

Required by DestructurableAllocationOpInterface / SROA pass.

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

◆ canUsesBeRemoved()

bool llzk::array::ReadArrayOp::canUsesBeRemoved ( const ::mlir::MemorySlot & slot,
const ::llvm::SmallPtrSetImpl<::mlir::OpOperand * > & blockingUses,
::llvm::SmallVectorImpl<::mlir::OpOperand * > & newBlockingUses,
const ::mlir::DataLayout & datalayout )

Required by PromotableMemOpInterface / mem2reg pass.

Definition at line 384 of file Ops.cpp.

◆ computePropertiesHash()

llvm::hash_code llzk::array::ReadArrayOp::computePropertiesHash ( const Properties & prop)
static

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

◆ create() [1/14]

ReadArrayOp llzk::array::ReadArrayOp::create ( ::mlir::ImplicitLocOpBuilder & builder,
::mlir::Type result,
::mlir::Value arr_ref,
::mlir::ValueRange indices )
static

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

◆ create() [2/14]

ReadArrayOp llzk::array::ReadArrayOp::create ( ::mlir::ImplicitLocOpBuilder & builder,
::mlir::TypeRange resultTypes,
::mlir::Value arr_ref,
::mlir::ValueRange indices )
static

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

◆ create() [3/14]

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

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

◆ create() [4/14]

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

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

◆ create() [5/14]

ReadArrayOp llzk::array::ReadArrayOp::create ( ::mlir::ImplicitLocOpBuilder & builder,
::mlir::Value arr_ref,
::mlir::ValueRange indices )
static

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

◆ create() [6/14]

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

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

◆ create() [7/14]

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

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

◆ create() [8/14]

ReadArrayOp llzk::array::ReadArrayOp::create ( ::mlir::OpBuilder & builder,
::mlir::Location location,
::mlir::Type result,
::mlir::Value arr_ref,
::mlir::ValueRange indices )
static

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

◆ create() [9/14]

ReadArrayOp llzk::array::ReadArrayOp::create ( ::mlir::OpBuilder & builder,
::mlir::Location location,
::mlir::TypeRange resultTypes,
::mlir::Value arr_ref,
::mlir::ValueRange indices )
static

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

◆ create() [10/14]

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

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

◆ create() [11/14]

ReadArrayOp llzk::array::ReadArrayOp::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 1876 of file Ops.cpp.inc.

◆ create() [12/14]

ReadArrayOp llzk::array::ReadArrayOp::create ( ::mlir::OpBuilder & builder,
::mlir::Location location,
::mlir::Value arr_ref,
::mlir::ValueRange indices )
static

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

◆ create() [13/14]

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

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

◆ create() [14/14]

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

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

◆ getArrRef()

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

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

◆ getArrRefMutable()

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

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

◆ getArrRefType()

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

Gets the type of the referenced base array.

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

◆ getAttributeNames()

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

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

◆ getIndices()

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

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

◆ getIndicesMutable()

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

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

◆ getInherentAttr()

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

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

◆ getODSOperandIndexAndLength()

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

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

◆ getODSOperands()

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

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

◆ getODSResultIndexAndLength()

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

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

◆ getODSResults()

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

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

◆ getOperationName()

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

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

◆ getPropertiesAsAttr()

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

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

◆ getResult()

::mlir::TypedValue<::mlir::Type > llzk::array::ReadArrayOp::getResult ( )
inline

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

◆ getStored()

mlir::Value llzk::array::ReadArrayOp::getStored ( const ::mlir::MemorySlot & slot,
::mlir::OpBuilder & builder,
::mlir::Value reachingDef,
const ::mlir::DataLayout & dataLayout )

Required by PromotableAllocationOpInterface / mem2reg pass.

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

◆ inferReturnTypes() [1/2]

llvm::LogicalResult llzk::array::ReadArrayOp::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 2043 of file Ops.cpp.inc.

◆ inferReturnTypes() [2/2]

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

◆ isCompatibleReturnTypes()

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

Definition at line 375 of file Ops.cpp.

◆ isRead()

bool llzk::array::ReadArrayOp::isRead ( )

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

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

◆ loadsFrom()

bool llzk::array::ReadArrayOp::loadsFrom ( const ::mlir::MemorySlot & slot)

Required by PromotableMemOpInterface / mem2reg pass.

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

◆ loadsFromDiscardableAllocation()

bool llzk::array::ReadArrayOp::loadsFromDiscardableAllocation ( ::mlir::Value ptr)

Required by DiscardableAllocationAccessorOpInterface / unused allocation cleanup.

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

◆ parse()

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

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

◆ populateInherentAttrs()

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

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

◆ print()

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

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

◆ removeBlockingUses()

DeletionKind llzk::array::ReadArrayOp::removeBlockingUses ( const ::mlir::MemorySlot & slot,
const ::llvm::SmallPtrSetImpl< mlir::OpOperand * > & blockingUses,
::mlir::OpBuilder & builder,
::mlir::Value reachingDefinition,
const ::mlir::DataLayout & dataLayout )

Required by PromotableMemOpInterface / mem2reg pass.

Definition at line 397 of file Ops.cpp.

◆ rewire()

mlir::DeletionKind llzk::array::ReadArrayOp::rewire ( const ::mlir::DestructurableMemorySlot & slot,
::llvm::DenseMap<::mlir::Attribute, ::mlir::MemorySlot > & subslots,
::mlir::OpBuilder & builder,
const ::mlir::DataLayout & dataLayout )

Required by DestructurableAllocationOpInterface / SROA pass.

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

◆ setInherentAttr()

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

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

◆ setPropertiesFromAttr()

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

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

◆ storesTo()

bool llzk::array::ReadArrayOp::storesTo ( const ::mlir::MemorySlot & slot)

Required by PromotableMemOpInterface / mem2reg pass.

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

◆ storesToDiscardableAllocation()

bool llzk::array::ReadArrayOp::storesToDiscardableAllocation ( ::mlir::Value ptr)

Required by DiscardableAllocationAccessorOpInterface / unused allocation cleanup.

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

◆ verify()

LogicalResult llzk::array::ReadArrayOp::verify ( )

Definition at line 379 of file Ops.cpp.

◆ verifyInherentAttrs()

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

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

◆ verifyInvariants()

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

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

◆ verifyInvariantsImpl()

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

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

◆ verifySymbolUses()

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

Definition at line 359 of file Ops.cpp.

Member Data Documentation

◆ odsIndex_arr_ref

int llzk::array::ReadArrayOp::odsIndex_arr_ref = 0
staticconstexpr

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

◆ odsIndex_indices

int llzk::array::ReadArrayOp::odsIndex_indices = 1
staticconstexpr

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


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