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

Public Types

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

Public Member Functions

static ::llvm::ArrayRef<::llvm::StringRef > getAttributeNames ()
::mlir::StringAttr getPathAttrName ()
::mlir::StringAttr getSymNameAttrName ()
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::StringAttr getPathAttr ()
::llvm::StringRef getPath ()
void setSymNameAttr (::mlir::StringAttr attr)
void setSymName (::llvm::StringRef attrValue)
void setPathAttr (::mlir::StringAttr attr)
void setPath (::llvm::StringRef attrValue)
::llvm::LogicalResult verifyInvariantsImpl ()
::llvm::LogicalResult verifyInvariants ()
void print (::mlir::OpAsmPrinter &_odsPrinter)
::mlir::FailureOr< mlir::OwningOpRef< mlir::ModuleOp > > openModule ()
 Opens the module this include references but doesn't insert it into the parent module.
::mlir::FailureOr< mlir::ModuleOp > inlineAndErase ()
 Opens the module this include references and replace this include with that module.

Static Public Member Functions

::mlir::StringAttr getPathAttrName (::mlir::OperationName name)
::mlir::StringAttr getSymNameAttrName (::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::StringAttr path)
static IncludeOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::StringAttr sym_name, ::mlir::StringAttr path)
static IncludeOp create (::mlir::ImplicitLocOpBuilder &builder, ::mlir::StringAttr sym_name, ::mlir::StringAttr path)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::StringAttr sym_name, ::mlir::StringAttr path)
static IncludeOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::StringAttr sym_name, ::mlir::StringAttr path)
static IncludeOp create (::mlir::ImplicitLocOpBuilder &builder, ::mlir::TypeRange resultTypes, ::mlir::StringAttr sym_name, ::mlir::StringAttr path)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::llvm::StringRef sym_name, ::llvm::StringRef path)
static IncludeOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::llvm::StringRef sym_name, ::llvm::StringRef path)
static IncludeOp create (::mlir::ImplicitLocOpBuilder &builder, ::llvm::StringRef sym_name, ::llvm::StringRef path)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::llvm::StringRef sym_name, ::llvm::StringRef path)
static IncludeOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::llvm::StringRef sym_name, ::llvm::StringRef path)
static IncludeOp create (::mlir::ImplicitLocOpBuilder &builder, ::mlir::TypeRange resultTypes, ::llvm::StringRef sym_name, ::llvm::StringRef path)
static void build (::mlir::OpBuilder &, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes={})
static IncludeOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes={})
static IncludeOp create (::mlir::ImplicitLocOpBuilder &builder, ::mlir::TypeRange resultTypes, ::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 IncludeOp create (::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, const Properties &properties, ::llvm::ArrayRef<::mlir::NamedAttribute > discardableAttributes={})
static IncludeOp create (::mlir::ImplicitLocOpBuilder &builder, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, const Properties &properties, ::llvm::ArrayRef<::mlir::NamedAttribute > discardableAttributes={})
::mlir::ParseResult parse (::mlir::OpAsmParser &parser, ::mlir::OperationState &result)
static IncludeOp create (::mlir::Location, ::llvm::StringRef name, ::llvm::StringRef path)
static IncludeOp create (::mlir::Location, ::mlir::StringAttr name, ::mlir::StringAttr path)

Detailed Description

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

Member Typedef Documentation

◆ Adaptor

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

◆ FoldAdaptor

using llzk::include::IncludeOp::FoldAdaptor = GenericAdaptor<::llvm::ArrayRef<::mlir::Attribute>>

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

◆ GenericAdaptor

template<typename RangeT>
using llzk::include::IncludeOp::GenericAdaptor = IncludeOpGenericAdaptor<RangeT>

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

◆ Properties

Member Function Documentation

◆ build() [1/6]

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

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

◆ build() [2/6]

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

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

◆ build() [3/6]

void llzk::include::IncludeOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::llvm::StringRef sym_name,
::llvm::StringRef path )
static

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

◆ build() [4/6]

void llzk::include::IncludeOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::StringAttr sym_name,
::mlir::StringAttr path )
static

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

◆ build() [5/6]

void llzk::include::IncludeOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::TypeRange resultTypes,
::llvm::StringRef sym_name,
::llvm::StringRef path )
static

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

◆ build() [6/6]

void llzk::include::IncludeOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::TypeRange resultTypes,
::mlir::StringAttr sym_name,
::mlir::StringAttr path )
static

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

◆ computePropertiesHash()

llvm::hash_code llzk::include::IncludeOp::computePropertiesHash ( const Properties & prop)
static

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

◆ create() [1/14]

IncludeOp llzk::include::IncludeOp::create ( ::mlir::ImplicitLocOpBuilder & builder,
::llvm::StringRef sym_name,
::llvm::StringRef path )
static

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

◆ create() [2/14]

IncludeOp llzk::include::IncludeOp::create ( ::mlir::ImplicitLocOpBuilder & builder,
::mlir::StringAttr sym_name,
::mlir::StringAttr path )
static

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

◆ create() [3/14]

IncludeOp llzk::include::IncludeOp::create ( ::mlir::ImplicitLocOpBuilder & builder,
::mlir::TypeRange resultTypes,
::llvm::StringRef sym_name,
::llvm::StringRef path )
static

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

◆ create() [4/14]

IncludeOp llzk::include::IncludeOp::create ( ::mlir::ImplicitLocOpBuilder & builder,
::mlir::TypeRange resultTypes,
::mlir::StringAttr sym_name,
::mlir::StringAttr path )
static

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

◆ create() [5/14]

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

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

◆ create() [6/14]

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

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

◆ create() [7/14]

IncludeOp llzk::include::IncludeOp::create ( ::mlir::Location ,
::llvm::StringRef name,
::llvm::StringRef path )
static

◆ create() [8/14]

IncludeOp llzk::include::IncludeOp::create ( ::mlir::Location ,
::mlir::StringAttr name,
::mlir::StringAttr path )
static

◆ create() [9/14]

IncludeOp llzk::include::IncludeOp::create ( ::mlir::OpBuilder & builder,
::mlir::Location location,
::llvm::StringRef sym_name,
::llvm::StringRef path )
static

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

◆ create() [10/14]

IncludeOp llzk::include::IncludeOp::create ( ::mlir::OpBuilder & builder,
::mlir::Location location,
::mlir::StringAttr sym_name,
::mlir::StringAttr path )
static

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

◆ create() [11/14]

IncludeOp llzk::include::IncludeOp::create ( ::mlir::OpBuilder & builder,
::mlir::Location location,
::mlir::TypeRange resultTypes,
::llvm::StringRef sym_name,
::llvm::StringRef path )
static

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

◆ create() [12/14]

IncludeOp llzk::include::IncludeOp::create ( ::mlir::OpBuilder & builder,
::mlir::Location location,
::mlir::TypeRange resultTypes,
::mlir::StringAttr sym_name,
::mlir::StringAttr path )
static

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

◆ create() [13/14]

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

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

◆ create() [14/14]

IncludeOp llzk::include::IncludeOp::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 331 of file Ops.cpp.inc.

◆ getAttributeNames()

::llvm::ArrayRef<::llvm::StringRef > llzk::include::IncludeOp::getAttributeNames ( )
inline

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

◆ getInherentAttr()

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

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

◆ getODSOperandIndexAndLength()

std::pair< unsigned, unsigned > llzk::include::IncludeOp::getODSOperandIndexAndLength ( unsigned index)
inline

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

◆ getODSOperands()

::mlir::Operation::operand_range llzk::include::IncludeOp::getODSOperands ( unsigned index)
inline

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

◆ getODSResultIndexAndLength()

std::pair< unsigned, unsigned > llzk::include::IncludeOp::getODSResultIndexAndLength ( unsigned index)
inline

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

◆ getODSResults()

::mlir::Operation::result_range llzk::include::IncludeOp::getODSResults ( unsigned index)
inline

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

◆ getOperationName()

constexpr ::llvm::StringLiteral llzk::include::IncludeOp::getOperationName ( )
inlinestatic

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

◆ getPath()

llvm::StringRef llzk::include::IncludeOp::getPath ( )

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

◆ getPathAttr()

::mlir::StringAttr llzk::include::IncludeOp::getPathAttr ( )
inline

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

◆ getPathAttrName() [1/2]

::mlir::StringAttr llzk::include::IncludeOp::getPathAttrName ( )
inline

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

◆ getPathAttrName() [2/2]

::mlir::StringAttr llzk::include::IncludeOp::getPathAttrName ( ::mlir::OperationName name)
inlinestatic

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

◆ getPropertiesAsAttr()

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

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

◆ getSymName()

llvm::StringRef llzk::include::IncludeOp::getSymName ( )

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

◆ getSymNameAttr()

::mlir::StringAttr llzk::include::IncludeOp::getSymNameAttr ( )
inline

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

◆ getSymNameAttrName() [1/2]

::mlir::StringAttr llzk::include::IncludeOp::getSymNameAttrName ( )
inline

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

◆ getSymNameAttrName() [2/2]

::mlir::StringAttr llzk::include::IncludeOp::getSymNameAttrName ( ::mlir::OperationName name)
inlinestatic

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

◆ inlineAndErase()

FailureOr< ModuleOp > llzk::include::IncludeOp::inlineAndErase ( )

Opens the module this include references and replace this include with that module.

Definition at line 198 of file IncludeHelper.cpp.

◆ openModule()

FailureOr< OwningOpRef< ModuleOp > > llzk::include::IncludeOp::openModule ( )

Opens the module this include references but doesn't insert it into the parent module.

Definition at line 221 of file IncludeHelper.cpp.

◆ parse()

mlir::ParseResult llzk::include::IncludeOp::parse ( ::mlir::OpAsmParser & parser,
::mlir::OperationState & result )
static

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

◆ populateInherentAttrs()

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

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

◆ print()

void llzk::include::IncludeOp::print ( ::mlir::OpAsmPrinter & _odsPrinter)

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

◆ readProperties()

llvm::LogicalResult llzk::include::IncludeOp::readProperties ( ::mlir::DialectBytecodeReader & reader,
::mlir::OperationState & state )
static

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

◆ setInherentAttr()

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

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

◆ setPath()

void llzk::include::IncludeOp::setPath ( ::llvm::StringRef attrValue)

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

◆ setPathAttr()

void llzk::include::IncludeOp::setPathAttr ( ::mlir::StringAttr attr)
inline

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

◆ setPropertiesFromAttr()

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

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

◆ setSymName()

void llzk::include::IncludeOp::setSymName ( ::llvm::StringRef attrValue)

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

◆ setSymNameAttr()

void llzk::include::IncludeOp::setSymNameAttr ( ::mlir::StringAttr attr)
inline

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

◆ verifyInherentAttrs()

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

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

◆ verifyInvariants()

llvm::LogicalResult llzk::include::IncludeOp::verifyInvariants ( )

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

◆ verifyInvariantsImpl()

llvm::LogicalResult llzk::include::IncludeOp::verifyInvariantsImpl ( )

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

◆ writeProperties()

void llzk::include::IncludeOp::writeProperties ( ::mlir::DialectBytecodeWriter & writer)

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


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