LLZK 0.1.0
Veridise's ZK Language IR
Loading...
Searching...
No Matches
llzk::include::IncludeOp Class Reference
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)
 
::mlir::LogicalResult verifyInvariantsImpl ()
 
::mlir::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 ()
 
::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::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 void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::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 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)
 
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 126 of file Ops.h.inc.

Member Typedef Documentation

◆ Adaptor

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

◆ FoldAdaptor

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

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

◆ GenericAdaptor

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

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

◆ Properties

Member Function Documentation

◆ build() [1/5]

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 313 of file Ops.cpp.inc.

◆ build() [2/5]

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

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

◆ build() [3/5]

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

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

◆ build() [4/5]

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 306 of file Ops.cpp.inc.

◆ build() [5/5]

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 294 of file Ops.cpp.inc.

◆ computePropertiesHash()

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

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

◆ create() [1/2]

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

◆ create() [2/2]

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

◆ getAttributeNames()

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

Definition at line 135 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 197 of file Ops.cpp.inc.

◆ getODSOperandIndexAndLength()

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

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

◆ getODSOperands()

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

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

◆ getODSResultIndexAndLength()

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

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

◆ getODSResults()

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

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

◆ getOperationName()

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

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

◆ getPath()

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

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

◆ getPathAttr()

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

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

◆ getPathAttrName() [1/2]

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

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

◆ getPathAttrName() [2/2]

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

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

◆ getPropertiesAsAttr()

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

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

◆ getSymName()

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

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

◆ getSymNameAttr()

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

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

◆ getSymNameAttrName() [1/2]

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

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

◆ getSymNameAttrName() [2/2]

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

Definition at line 152 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 197 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 220 of file IncludeHelper.cpp.

◆ parse()

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

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

◆ populateInherentAttrs()

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

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

◆ print()

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

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

◆ readProperties()

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

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

◆ setInherentAttr()

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

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

◆ setPath()

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

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

◆ setPathAttr()

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

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

◆ setPropertiesFromAttr()

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

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

◆ setSymName()

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

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

◆ setSymNameAttr()

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

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

◆ verifyInherentAttrs()

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

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

◆ verifyInvariants()

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

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

◆ verifyInvariantsImpl()

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

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

◆ writeProperties()

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

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


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