LLZK 0.1.0
Veridise's ZK Language IR
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 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 137 of file Ops.h.inc.

Member Typedef Documentation

◆ Adaptor

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

◆ FoldAdaptor

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

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

◆ GenericAdaptor

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

Definition at line 143 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 245 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 233 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 221 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 238 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 226 of file Ops.cpp.inc.

◆ computePropertiesHash()

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

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

◆ create() [1/2]

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

◆ create() [2/2]

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

◆ getAttributeNames()

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

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

◆ getODSOperandIndexAndLength()

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

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

◆ getODSOperands()

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

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

◆ getODSResultIndexAndLength()

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

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

◆ getODSResults()

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

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

◆ getOperationName()

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

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

◆ getPath()

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

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

◆ getPathAttr()

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

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

◆ getPathAttrName() [1/2]

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

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

◆ getPathAttrName() [2/2]

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

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

◆ getPropertiesAsAttr()

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

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

◆ getSymName()

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

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

◆ getSymNameAttr()

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

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

◆ getSymNameAttrName() [1/2]

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

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

◆ getSymNameAttrName() [2/2]

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

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

◆ populateInherentAttrs()

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

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

◆ print()

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

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

◆ readProperties()

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

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

◆ setInherentAttr()

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

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

◆ setPath()

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

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

◆ setPathAttr()

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

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

◆ setSymName()

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

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

◆ setSymNameAttr()

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

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

◆ verifyInvariants()

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

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

◆ verifyInvariantsImpl()

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

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

◆ writeProperties()

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

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


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