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

Public Types

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

Public Member Functions

static ::llvm::ArrayRef<::llvm::StringRef > getAttributeNames ()
::mlir::StringAttr getColumnAttrName ()
::mlir::StringAttr getSymNameAttrName ()
::mlir::StringAttr getTypeAttrName ()
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index)
::mlir::Operation::operand_range getODSOperands (unsigned index)
std::pair< unsigned, unsigned > getODSResultIndexAndLength (unsigned index)
::mlir::Operation::result_range getODSResults (unsigned index)
void writeProperties (::mlir::DialectBytecodeWriter &writer)
::mlir::StringAttr getSymNameAttr ()
::llvm::StringRef getSymName ()
::mlir::TypeAttr getTypeAttr ()
::mlir::Type getType ()
::mlir::UnitAttr getColumnAttr ()
bool getColumn ()
void setSymNameAttr (::mlir::StringAttr attr)
void setSymName (::llvm::StringRef attrValue)
void setTypeAttr (::mlir::TypeAttr attr)
void setType (::mlir::Type attrValue)
void setColumnAttr (::mlir::UnitAttr attr)
void setColumn (bool attrValue)
::mlir::Attribute removeColumnAttr ()
::llvm::LogicalResult verifyInvariantsImpl ()
::llvm::LogicalResult verifyInvariants ()
::llvm::LogicalResult verifySymbolUses (::mlir::SymbolTableCollection &symbolTable)
void print (::mlir::OpAsmPrinter &_odsPrinter)
bool hasPublicAttr ()
void setPublicAttr (bool newValue=true)

Static Public Member Functions

::mlir::StringAttr getColumnAttrName (::mlir::OperationName name)
::mlir::StringAttr getSymNameAttrName (::mlir::OperationName name)
::mlir::StringAttr getTypeAttrName (::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::StringAttr sym_name, ::mlir::TypeAttr type, bool isColumn=false)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::llvm::StringRef sym_name, ::mlir::Type type, bool isColumn=false)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes, bool isColumn=false)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes, bool isColumn=false)
::mlir::ParseResult parse (::mlir::OpAsmParser &parser, ::mlir::OperationState &result)

Detailed Description

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

Member Typedef Documentation

◆ Adaptor

◆ FoldAdaptor

using llzk::component::FieldDefOp::FoldAdaptor = GenericAdaptor<::llvm::ArrayRef<::mlir::Attribute>>

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

◆ GenericAdaptor

template<typename RangeT>
using llzk::component::FieldDefOp::GenericAdaptor = FieldDefOpGenericAdaptor<RangeT>

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

◆ Properties

Member Function Documentation

◆ build() [1/4]

void llzk::component::FieldDefOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::llvm::ArrayRef<::mlir::NamedAttribute > attributes,
bool isColumn = false )
static

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

◆ build() [2/4]

void llzk::component::FieldDefOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::llvm::StringRef sym_name,
::mlir::Type type,
bool isColumn = false )
static

◆ build() [3/4]

void llzk::component::FieldDefOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::StringAttr sym_name,
::mlir::TypeAttr type,
bool isColumn = false )
static

◆ build() [4/4]

void llzk::component::FieldDefOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::TypeRange resultTypes,
::mlir::ValueRange operands,
::llvm::ArrayRef<::mlir::NamedAttribute > attributes,
bool isColumn = false )
static

◆ computePropertiesHash()

llvm::hash_code llzk::component::FieldDefOp::computePropertiesHash ( const Properties & prop)
static

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

◆ getAttributeNames()

::llvm::ArrayRef<::llvm::StringRef > llzk::component::FieldDefOp::getAttributeNames ( )
inline

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

◆ getColumn()

bool llzk::component::FieldDefOp::getColumn ( )

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

◆ getColumnAttr()

::mlir::UnitAttr llzk::component::FieldDefOp::getColumnAttr ( )
inline

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

◆ getColumnAttrName() [1/2]

::mlir::StringAttr llzk::component::FieldDefOp::getColumnAttrName ( )
inline

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

◆ getColumnAttrName() [2/2]

::mlir::StringAttr llzk::component::FieldDefOp::getColumnAttrName ( ::mlir::OperationName name)
inlinestatic

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

◆ getInherentAttr()

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

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

◆ getODSOperandIndexAndLength()

std::pair< unsigned, unsigned > llzk::component::FieldDefOp::getODSOperandIndexAndLength ( unsigned index)
inline

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

◆ getODSOperands()

::mlir::Operation::operand_range llzk::component::FieldDefOp::getODSOperands ( unsigned index)
inline

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

◆ getODSResultIndexAndLength()

std::pair< unsigned, unsigned > llzk::component::FieldDefOp::getODSResultIndexAndLength ( unsigned index)
inline

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

◆ getODSResults()

::mlir::Operation::result_range llzk::component::FieldDefOp::getODSResults ( unsigned index)
inline

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

◆ getOperationName()

constexpr ::llvm::StringLiteral llzk::component::FieldDefOp::getOperationName ( )
inlinestatic

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

◆ getPropertiesAsAttr()

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

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

◆ getSymName()

llvm::StringRef llzk::component::FieldDefOp::getSymName ( )

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

◆ getSymNameAttr()

::mlir::StringAttr llzk::component::FieldDefOp::getSymNameAttr ( )
inline

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

◆ getSymNameAttrName() [1/2]

::mlir::StringAttr llzk::component::FieldDefOp::getSymNameAttrName ( )
inline

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

◆ getSymNameAttrName() [2/2]

::mlir::StringAttr llzk::component::FieldDefOp::getSymNameAttrName ( ::mlir::OperationName name)
inlinestatic

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

◆ getType()

mlir::Type llzk::component::FieldDefOp::getType ( )

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

◆ getTypeAttr()

::mlir::TypeAttr llzk::component::FieldDefOp::getTypeAttr ( )
inline

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

◆ getTypeAttrName() [1/2]

::mlir::StringAttr llzk::component::FieldDefOp::getTypeAttrName ( )
inline

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

◆ getTypeAttrName() [2/2]

::mlir::StringAttr llzk::component::FieldDefOp::getTypeAttrName ( ::mlir::OperationName name)
inlinestatic

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

◆ hasPublicAttr()

bool llzk::component::FieldDefOp::hasPublicAttr ( )
inline

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

◆ parse()

mlir::ParseResult llzk::component::FieldDefOp::parse ( ::mlir::OpAsmParser & parser,
::mlir::OperationState & result )
static

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

◆ populateInherentAttrs()

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

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

◆ print()

void llzk::component::FieldDefOp::print ( ::mlir::OpAsmPrinter & _odsPrinter)

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

◆ readProperties()

llvm::LogicalResult llzk::component::FieldDefOp::readProperties ( ::mlir::DialectBytecodeReader & reader,
::mlir::OperationState & state )
static

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

◆ removeColumnAttr()

::mlir::Attribute llzk::component::FieldDefOp::removeColumnAttr ( )
inline

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

◆ setColumn()

void llzk::component::FieldDefOp::setColumn ( bool attrValue)

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

◆ setColumnAttr()

void llzk::component::FieldDefOp::setColumnAttr ( ::mlir::UnitAttr attr)
inline

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

◆ setInherentAttr()

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

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

◆ setPropertiesFromAttr()

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

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

◆ setPublicAttr()

void llzk::component::FieldDefOp::setPublicAttr ( bool newValue = true)

Definition at line 483 of file Ops.cpp.

◆ setSymName()

void llzk::component::FieldDefOp::setSymName ( ::llvm::StringRef attrValue)

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

◆ setSymNameAttr()

void llzk::component::FieldDefOp::setSymNameAttr ( ::mlir::StringAttr attr)
inline

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

◆ setType()

void llzk::component::FieldDefOp::setType ( ::mlir::Type attrValue)

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

◆ setTypeAttr()

void llzk::component::FieldDefOp::setTypeAttr ( ::mlir::TypeAttr attr)
inline

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

◆ verifyInherentAttrs()

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

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

◆ verifyInvariants()

llvm::LogicalResult llzk::component::FieldDefOp::verifyInvariants ( )

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

◆ verifyInvariantsImpl()

llvm::LogicalResult llzk::component::FieldDefOp::verifyInvariantsImpl ( )

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

◆ verifySymbolUses()

LogicalResult llzk::component::FieldDefOp::verifySymbolUses ( ::mlir::SymbolTableCollection & symbolTable)

Definition at line 514 of file Ops.cpp.

◆ writeProperties()

void llzk::component::FieldDefOp::writeProperties ( ::mlir::DialectBytecodeWriter & writer)

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


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