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

Public Types

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

Public Member Functions

static ::llvm::ArrayRef<::llvm::StringRef > getAttributeNames ()
 
::mlir::StringAttr getMsgAttrName ()
 
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index)
 
::mlir::Operation::operand_range getODSOperands (unsigned index)
 
::mlir::TypedValue<::mlir::IntegerType > getCondition ()
 
::mlir::OpOperand & getConditionMutable ()
 
std::pair< unsigned, unsigned > getODSResultIndexAndLength (unsigned index)
 
::mlir::Operation::result_range getODSResults (unsigned index)
 
void writeProperties (::mlir::DialectBytecodeWriter &writer)
 
::mlir::StringAttr getMsgAttr ()
 
::std::optional< ::llvm::StringRef > getMsg ()
 
void setMsgAttr (::mlir::StringAttr attr)
 
void setMsg (::std::optional<::llvm::StringRef > attrValue)
 
::mlir::Attribute removeMsgAttr ()
 
::mlir::LogicalResult verifyInvariantsImpl ()
 
::mlir::LogicalResult verifyInvariants ()
 
void getEffects (::llvm::SmallVectorImpl<::mlir::SideEffects::EffectInstance<::mlir::MemoryEffects::Effect > > &effects)
 
void print (::mlir::OpAsmPrinter &_odsPrinter)
 

Static Public Member Functions

::mlir::StringAttr getMsgAttrName (::mlir::OperationName name)
 
static constexpr ::llvm::StringLiteral getOperationName ()
 
::mlir::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)
 
::mlir::LogicalResult verifyInherentAttrs (::mlir::OperationName opName, ::mlir::NamedAttrList &attrs, llvm::function_ref<::mlir::InFlightDiagnostic()> emitError)
 
::mlir::LogicalResult readProperties (::mlir::DialectBytecodeReader &reader, ::mlir::OperationState &state)
 
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Value condition, ::mlir::StringAttr msg)
 
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::Value condition, ::mlir::StringAttr msg)
 
static void build (::mlir::OpBuilder &, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes={})
 
::mlir::ParseResult parse (::mlir::OpAsmParser &parser, ::mlir::OperationState &result)
 

Detailed Description

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

Member Typedef Documentation

◆ Adaptor

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

◆ FoldAdaptor

using llzk::boolean::AssertOp::FoldAdaptor = GenericAdaptor<::llvm::ArrayRef<::mlir::Attribute>>

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

◆ GenericAdaptor

template<typename RangeT>
using llzk::boolean::AssertOp::GenericAdaptor = AssertOpGenericAdaptor<RangeT>

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

◆ Properties

Member Function Documentation

◆ build() [1/3]

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

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

◆ build() [2/3]

void llzk::boolean::AssertOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::TypeRange resultTypes,
::mlir::Value condition,
::mlir::StringAttr msg )
static

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

◆ build() [3/3]

void llzk::boolean::AssertOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::Value condition,
::mlir::StringAttr msg )
static

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

◆ computePropertiesHash()

llvm::hash_code llzk::boolean::AssertOp::computePropertiesHash ( const Properties & prop)
static

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

◆ getAttributeNames()

static ::llvm::ArrayRef<::llvm::StringRef > llzk::boolean::AssertOp::getAttributeNames ( )
inline

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

◆ getCondition()

mlir::TypedValue<::mlir::IntegerType > llzk::boolean::AssertOp::getCondition ( )

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

◆ getConditionMutable()

mlir::OpOperand & llzk::boolean::AssertOp::getConditionMutable ( )

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

◆ getEffects()

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

Definition at line 28 of file Ops.cpp.

◆ getInherentAttr()

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

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

◆ getMsg()

std::optional<::llvm::StringRef > llzk::boolean::AssertOp::getMsg ( )

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

◆ getMsgAttr()

mlir::StringAttr llzk::boolean::AssertOp::getMsgAttr ( )

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

◆ getMsgAttrName() [1/2]

::mlir::StringAttr llzk::boolean::AssertOp::getMsgAttrName ( )
inline

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

◆ getMsgAttrName() [2/2]

::mlir::StringAttr llzk::boolean::AssertOp::getMsgAttrName ( ::mlir::OperationName name)
inlinestatic

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

◆ getODSOperandIndexAndLength()

std::pair< unsigned, unsigned > llzk::boolean::AssertOp::getODSOperandIndexAndLength ( unsigned index)

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

◆ getODSOperands()

mlir::Operation::operand_range llzk::boolean::AssertOp::getODSOperands ( unsigned index)

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

◆ getODSResultIndexAndLength()

std::pair< unsigned, unsigned > llzk::boolean::AssertOp::getODSResultIndexAndLength ( unsigned index)

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

◆ getODSResults()

mlir::Operation::result_range llzk::boolean::AssertOp::getODSResults ( unsigned index)

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

◆ getOperationName()

static constexpr ::llvm::StringLiteral llzk::boolean::AssertOp::getOperationName ( )
inlinestatic

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

◆ getPropertiesAsAttr()

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

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

◆ parse()

mlir::ParseResult llzk::boolean::AssertOp::parse ( ::mlir::OpAsmParser & parser,
::mlir::OperationState & result )
static

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

◆ populateInherentAttrs()

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

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

◆ print()

void llzk::boolean::AssertOp::print ( ::mlir::OpAsmPrinter & _odsPrinter)

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

◆ readProperties()

mlir::LogicalResult llzk::boolean::AssertOp::readProperties ( ::mlir::DialectBytecodeReader & reader,
::mlir::OperationState & state )
static

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

◆ removeMsgAttr()

mlir::Attribute llzk::boolean::AssertOp::removeMsgAttr ( )

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

◆ setInherentAttr()

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

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

◆ setMsg()

void llzk::boolean::AssertOp::setMsg ( ::std::optional<::llvm::StringRef > attrValue)

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

◆ setMsgAttr()

void llzk::boolean::AssertOp::setMsgAttr ( ::mlir::StringAttr attr)

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

◆ setPropertiesFromAttr()

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

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

◆ verifyInherentAttrs()

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

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

◆ verifyInvariants()

mlir::LogicalResult llzk::boolean::AssertOp::verifyInvariants ( )

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

◆ verifyInvariantsImpl()

mlir::LogicalResult llzk::boolean::AssertOp::verifyInvariantsImpl ( )

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

◆ writeProperties()

void llzk::boolean::AssertOp::writeProperties ( ::mlir::DialectBytecodeWriter & writer)

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


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