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

Public Types

using Adaptor = ApplyMapOpAdaptor
template<typename RangeT>
using GenericAdaptor = ApplyMapOpGenericAdaptor<RangeT>
using FoldAdaptor = GenericAdaptor<::llvm::ArrayRef<::mlir::Attribute>>
using Properties = FoldAdaptor::Properties

Public Member Functions

static ::llvm::ArrayRef<::llvm::StringRef > getAttributeNames ()
::mlir::StringAttr getMapAttrName ()
::mlir::StringAttr getNumDimsAttrName ()
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index)
::mlir::Operation::operand_range getODSOperands (unsigned index)
::mlir::Operation::operand_range getMapOperands ()
::mlir::MutableOperandRange getMapOperandsMutable ()
std::pair< unsigned, unsigned > getODSResultIndexAndLength (unsigned index)
::mlir::Operation::result_range getODSResults (unsigned index)
void writeProperties (::mlir::DialectBytecodeWriter &writer)
::mlir::AffineMapAttr getMapAttr ()
::mlir::AffineMap getMap ()
::mlir::IntegerAttr getNumDimsAttr ()
::llvm::APInt getNumDims ()
void setMapAttr (::mlir::AffineMapAttr attr)
void setMap (::mlir::AffineMap attrValue)
void setNumDimsAttr (::mlir::IntegerAttr attr)
void setNumDims (::llvm::APInt attrValue)
::llvm::LogicalResult verifyInvariantsImpl ()
::llvm::LogicalResult verifyInvariants ()
::llvm::LogicalResult verify ()
void print (::mlir::OpAsmPrinter &_odsPrinter)
void getEffects (::llvm::SmallVectorImpl<::mlir::SideEffects::EffectInstance<::mlir::MemoryEffects::Effect > > &effects)
::mlir::AffineMap getAffineMap ()
 Returns the affine map to be applied by this operation.
::mlir::affine::AffineValueMap getAffineValueMap ()
 Returns the affine value map computed from this operation.
::mlir::ValueRange getDimOperands ()
 Returns all dimension operands.
::mlir::ValueRange getSymbolOperands ()
 Returns all symbol operands.

Static Public Member Functions

::mlir::StringAttr getMapAttrName (::mlir::OperationName name)
::mlir::StringAttr getNumDimsAttrName (::mlir::OperationName name)
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)
::llvm::LogicalResult readProperties (::mlir::DialectBytecodeReader &reader, ::mlir::OperationState &state)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::AffineMapAttr map, ::mlir::ValueRange mapOperands={})
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::AffineMap map, ::mlir::ValueRange mapOperands={})
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::AffineExpr expr, ::mlir::ValueRange mapOperands={})
::mlir::ParseResult parse (::mlir::OpAsmParser &parser, ::mlir::OperationState &result)

Detailed Description

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

Member Typedef Documentation

◆ Adaptor

◆ FoldAdaptor

using llzk::polymorphic::ApplyMapOp::FoldAdaptor = GenericAdaptor<::llvm::ArrayRef<::mlir::Attribute>>

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

◆ GenericAdaptor

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

◆ Properties

Member Function Documentation

◆ build() [1/3]

void llzk::polymorphic::ApplyMapOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::AffineExpr expr,
::mlir::ValueRange mapOperands = {} )
static

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

◆ build() [2/3]

void llzk::polymorphic::ApplyMapOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::AffineMap map,
::mlir::ValueRange mapOperands = {} )
static

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

◆ build() [3/3]

void llzk::polymorphic::ApplyMapOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::AffineMapAttr map,
::mlir::ValueRange mapOperands = {} )
static

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

◆ computePropertiesHash()

llvm::hash_code llzk::polymorphic::ApplyMapOp::computePropertiesHash ( const Properties & prop)
static

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

◆ getAffineMap()

::mlir::AffineMap llzk::polymorphic::ApplyMapOp::getAffineMap ( )
inline

Returns the affine map to be applied by this operation.

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

◆ getAffineValueMap()

::mlir::affine::AffineValueMap llzk::polymorphic::ApplyMapOp::getAffineValueMap ( )
inline

Returns the affine value map computed from this operation.

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

◆ getAttributeNames()

::llvm::ArrayRef<::llvm::StringRef > llzk::polymorphic::ApplyMapOp::getAttributeNames ( )
inline

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

◆ getDimOperands()

::mlir::ValueRange llzk::polymorphic::ApplyMapOp::getDimOperands ( )
inline

Returns all dimension operands.

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

◆ getEffects()

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

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

◆ getInherentAttr()

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

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

◆ getMap()

mlir::AffineMap llzk::polymorphic::ApplyMapOp::getMap ( )

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

◆ getMapAttr()

::mlir::AffineMapAttr llzk::polymorphic::ApplyMapOp::getMapAttr ( )
inline

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

◆ getMapAttrName() [1/2]

::mlir::StringAttr llzk::polymorphic::ApplyMapOp::getMapAttrName ( )
inline

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

◆ getMapAttrName() [2/2]

::mlir::StringAttr llzk::polymorphic::ApplyMapOp::getMapAttrName ( ::mlir::OperationName name)
inlinestatic

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

◆ getMapOperands()

::mlir::Operation::operand_range llzk::polymorphic::ApplyMapOp::getMapOperands ( )
inline

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

◆ getMapOperandsMutable()

mlir::MutableOperandRange llzk::polymorphic::ApplyMapOp::getMapOperandsMutable ( )

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

◆ getNumDims()

llvm::APInt llzk::polymorphic::ApplyMapOp::getNumDims ( )

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

◆ getNumDimsAttr()

::mlir::IntegerAttr llzk::polymorphic::ApplyMapOp::getNumDimsAttr ( )
inline

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

◆ getNumDimsAttrName() [1/2]

::mlir::StringAttr llzk::polymorphic::ApplyMapOp::getNumDimsAttrName ( )
inline

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

◆ getNumDimsAttrName() [2/2]

::mlir::StringAttr llzk::polymorphic::ApplyMapOp::getNumDimsAttrName ( ::mlir::OperationName name)
inlinestatic

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

◆ getODSOperandIndexAndLength()

std::pair< unsigned, unsigned > llzk::polymorphic::ApplyMapOp::getODSOperandIndexAndLength ( unsigned index)

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

◆ getODSOperands()

::mlir::Operation::operand_range llzk::polymorphic::ApplyMapOp::getODSOperands ( unsigned index)
inline

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

◆ getODSResultIndexAndLength()

std::pair< unsigned, unsigned > llzk::polymorphic::ApplyMapOp::getODSResultIndexAndLength ( unsigned index)
inline

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

◆ getODSResults()

::mlir::Operation::result_range llzk::polymorphic::ApplyMapOp::getODSResults ( unsigned index)
inline

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

◆ getOperationName()

constexpr ::llvm::StringLiteral llzk::polymorphic::ApplyMapOp::getOperationName ( )
inlinestatic

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

◆ getPropertiesAsAttr()

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

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

◆ getSymbolOperands()

::mlir::ValueRange llzk::polymorphic::ApplyMapOp::getSymbolOperands ( )
inline

Returns all symbol operands.

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

◆ parse()

mlir::ParseResult llzk::polymorphic::ApplyMapOp::parse ( ::mlir::OpAsmParser & parser,
::mlir::OperationState & result )
static

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

◆ populateInherentAttrs()

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

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

◆ print()

void llzk::polymorphic::ApplyMapOp::print ( ::mlir::OpAsmPrinter & _odsPrinter)

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

◆ readProperties()

llvm::LogicalResult llzk::polymorphic::ApplyMapOp::readProperties ( ::mlir::DialectBytecodeReader & reader,
::mlir::OperationState & state )
static

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

◆ setInherentAttr()

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

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

◆ setMap()

void llzk::polymorphic::ApplyMapOp::setMap ( ::mlir::AffineMap attrValue)

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

◆ setMapAttr()

void llzk::polymorphic::ApplyMapOp::setMapAttr ( ::mlir::AffineMapAttr attr)
inline

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

◆ setNumDims()

void llzk::polymorphic::ApplyMapOp::setNumDims ( ::llvm::APInt attrValue)

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

◆ setNumDimsAttr()

void llzk::polymorphic::ApplyMapOp::setNumDimsAttr ( ::mlir::IntegerAttr attr)
inline

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

◆ setPropertiesFromAttr()

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

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

◆ verify()

LogicalResult llzk::polymorphic::ApplyMapOp::verify ( )

Definition at line 48 of file Ops.cpp.

◆ verifyInherentAttrs()

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

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

◆ verifyInvariants()

llvm::LogicalResult llzk::polymorphic::ApplyMapOp::verifyInvariants ( )

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

◆ verifyInvariantsImpl()

llvm::LogicalResult llzk::polymorphic::ApplyMapOp::verifyInvariantsImpl ( )

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

◆ writeProperties()

void llzk::polymorphic::ApplyMapOp::writeProperties ( ::mlir::DialectBytecodeWriter & writer)

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


The documentation for this class was generated from the following files:
  • build/include/llzk/Dialect/Polymorphic/IR/Ops.h.inc
  • lib/Dialect/Polymorphic/IR/Ops.cpp
  • build/include/llzk/Dialect/Polymorphic/IR/Ops.cpp.inc