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

Public Types

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

Public Member Functions

static ::llvm::ArrayRef<::llvm::StringRef > getAttributeNames ()
::mlir::StringAttr getValueAttrName ()
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)
::mlir::TypedValue<::llzk::smt::BoolTypegetResult ()
void writeProperties (::mlir::DialectBytecodeWriter &writer)
::mlir::BoolAttr getValueAttr ()
bool getValue ()
void setValueAttr (::mlir::BoolAttr attr)
void setValue (bool attrValue)
::llvm::LogicalResult verifyInvariantsImpl ()
::llvm::LogicalResult verifyInvariants ()
::mlir::OpFoldResult fold (FoldAdaptor adaptor)
void getAsmResultNames (::mlir::OpAsmSetValueNameFn setNameFn)
void print (::mlir::OpAsmPrinter &_odsPrinter)
void getEffects (::llvm::SmallVectorImpl<::mlir::SideEffects::EffectInstance<::mlir::MemoryEffects::Effect > > &effects)

Static Public Member Functions

::mlir::StringAttr getValueAttrName (::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::Type result, ::mlir::BoolAttr value)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::BoolAttr value)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::BoolAttr value)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Type result, bool value)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, bool value)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, bool value)
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={})
::llvm::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)

Detailed Description

Definition at line 4151 of file SMT.h.inc.

Member Typedef Documentation

◆ Adaptor

◆ FoldAdaptor

using llzk::smt::BoolConstantOp::FoldAdaptor = GenericAdaptor<::llvm::ArrayRef<::mlir::Attribute>>

Definition at line 4158 of file SMT.h.inc.

◆ GenericAdaptor

Definition at line 4157 of file SMT.h.inc.

◆ Properties

Member Function Documentation

◆ build() [1/8]

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

Definition at line 4951 of file SMT.cpp.inc.

◆ build() [2/8]

void llzk::smt::BoolConstantOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::BoolAttr value )
static

Definition at line 4904 of file SMT.cpp.inc.

◆ build() [3/8]

void llzk::smt::BoolConstantOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::Type result,
::mlir::BoolAttr value )
static

Definition at line 4899 of file SMT.cpp.inc.

◆ build() [4/8]

void llzk::smt::BoolConstantOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::Type result,
bool value )
static

Definition at line 4925 of file SMT.cpp.inc.

◆ build() [5/8]

void llzk::smt::BoolConstantOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::TypeRange resultTypes,
::mlir::BoolAttr value )
static

Definition at line 4919 of file SMT.cpp.inc.

◆ build() [6/8]

void llzk::smt::BoolConstantOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::TypeRange resultTypes,
bool value )
static

Definition at line 4945 of file SMT.cpp.inc.

◆ build() [7/8]

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

Definition at line 4969 of file SMT.cpp.inc.

◆ build() [8/8]

void llzk::smt::BoolConstantOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
bool value )
static

Definition at line 4930 of file SMT.cpp.inc.

◆ computePropertiesHash()

llvm::hash_code llzk::smt::BoolConstantOp::computePropertiesHash ( const Properties & prop)
static

Definition at line 4847 of file SMT.cpp.inc.

◆ fold()

OpFoldResult BoolConstantOp::fold ( FoldAdaptor adaptor)

Definition at line 282 of file SMTOps.cpp.

◆ getAsmResultNames()

void BoolConstantOp::getAsmResultNames ( ::mlir::OpAsmSetValueNameFn setNameFn)

Definition at line 278 of file SMTOps.cpp.

◆ getAttributeNames()

::llvm::ArrayRef<::llvm::StringRef > llzk::smt::BoolConstantOp::getAttributeNames ( )
inline

Definition at line 4160 of file SMT.h.inc.

◆ getEffects()

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

Definition at line 5055 of file SMT.cpp.inc.

◆ getInherentAttr()

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

Definition at line 4852 of file SMT.cpp.inc.

◆ getODSOperandIndexAndLength()

std::pair< unsigned, unsigned > llzk::smt::BoolConstantOp::getODSOperandIndexAndLength ( unsigned index)
inline

Definition at line 4177 of file SMT.h.inc.

◆ getODSOperands()

::mlir::Operation::operand_range llzk::smt::BoolConstantOp::getODSOperands ( unsigned index)
inline

Definition at line 4181 of file SMT.h.inc.

◆ getODSResultIndexAndLength()

std::pair< unsigned, unsigned > llzk::smt::BoolConstantOp::getODSResultIndexAndLength ( unsigned index)
inline

Definition at line 4187 of file SMT.h.inc.

◆ getODSResults()

::mlir::Operation::result_range llzk::smt::BoolConstantOp::getODSResults ( unsigned index)
inline

Definition at line 4191 of file SMT.h.inc.

◆ getOperationName()

constexpr ::llvm::StringLiteral llzk::smt::BoolConstantOp::getOperationName ( )
inlinestatic

Definition at line 4173 of file SMT.h.inc.

◆ getPropertiesAsAttr()

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

Definition at line 4831 of file SMT.cpp.inc.

◆ getResult()

::mlir::TypedValue<::llzk::smt::BoolType > llzk::smt::BoolConstantOp::getResult ( )
inline

Definition at line 4197 of file SMT.h.inc.

◆ getValue()

bool llzk::smt::BoolConstantOp::getValue ( )

Definition at line 4890 of file SMT.cpp.inc.

◆ getValueAttr()

::mlir::BoolAttr llzk::smt::BoolConstantOp::getValueAttr ( )
inline

Definition at line 4210 of file SMT.h.inc.

◆ getValueAttrName() [1/2]

::mlir::StringAttr llzk::smt::BoolConstantOp::getValueAttrName ( )
inline

Definition at line 4165 of file SMT.h.inc.

◆ getValueAttrName() [2/2]

::mlir::StringAttr llzk::smt::BoolConstantOp::getValueAttrName ( ::mlir::OperationName name)
inlinestatic

Definition at line 4169 of file SMT.h.inc.

◆ inferReturnTypes()

llvm::LogicalResult llzk::smt::BoolConstantOp::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

Definition at line 5018 of file SMT.cpp.inc.

◆ parse()

mlir::ParseResult llzk::smt::BoolConstantOp::parse ( ::mlir::OpAsmParser & parser,
::mlir::OperationState & result )
static

Definition at line 5026 of file SMT.cpp.inc.

◆ populateInherentAttrs()

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

Definition at line 4865 of file SMT.cpp.inc.

◆ print()

void llzk::smt::BoolConstantOp::print ( ::mlir::OpAsmPrinter & _odsPrinter)

Definition at line 5047 of file SMT.cpp.inc.

◆ readProperties()

llvm::LogicalResult llzk::smt::BoolConstantOp::readProperties ( ::mlir::DialectBytecodeReader & reader,
::mlir::OperationState & state )
static

Definition at line 4878 of file SMT.cpp.inc.

◆ setInherentAttr()

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

Definition at line 4858 of file SMT.cpp.inc.

◆ setPropertiesFromAttr()

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

Definition at line 4808 of file SMT.cpp.inc.

◆ setValue()

void llzk::smt::BoolConstantOp::setValue ( bool attrValue)

Definition at line 4895 of file SMT.cpp.inc.

◆ setValueAttr()

void llzk::smt::BoolConstantOp::setValueAttr ( ::mlir::BoolAttr attr)
inline

Definition at line 4215 of file SMT.h.inc.

◆ verifyInherentAttrs()

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

Definition at line 4869 of file SMT.cpp.inc.

◆ verifyInvariants()

llvm::LogicalResult llzk::smt::BoolConstantOp::verifyInvariants ( )

Definition at line 5014 of file SMT.cpp.inc.

◆ verifyInvariantsImpl()

llvm::LogicalResult llzk::smt::BoolConstantOp::verifyInvariantsImpl ( )

Definition at line 4996 of file SMT.cpp.inc.

◆ writeProperties()

void llzk::smt::BoolConstantOp::writeProperties ( ::mlir::DialectBytecodeWriter & writer)

Definition at line 4885 of file SMT.cpp.inc.


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