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

Public Types

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

Public Member Functions

static ::llvm::ArrayRef<::llvm::StringRef > getAttributeNames ()
::mlir::StringAttr getArgAttrsAttrName ()
::mlir::StringAttr getFunctionTypeAttrName ()
::mlir::StringAttr getResAttrsAttrName ()
::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)
::mlir::Region & getBody ()
void writeProperties (::mlir::DialectBytecodeWriter &writer)
::mlir::StringAttr getSymNameAttr ()
::llvm::StringRef getSymName ()
::mlir::TypeAttr getFunctionTypeAttr ()
::mlir::FunctionType getFunctionType ()
::mlir::ArrayAttr getArgAttrsAttr ()
::std::optional< ::mlir::ArrayAttr > getArgAttrs ()
::mlir::ArrayAttr getResAttrsAttr ()
::std::optional< ::mlir::ArrayAttr > getResAttrs ()
void setSymNameAttr (::mlir::StringAttr attr)
void setSymName (::llvm::StringRef attrValue)
void setFunctionTypeAttr (::mlir::TypeAttr attr)
void setFunctionType (::mlir::FunctionType attrValue)
void setArgAttrsAttr (::mlir::ArrayAttr attr)
void setResAttrsAttr (::mlir::ArrayAttr attr)
::mlir::Attribute removeArgAttrsAttr ()
::mlir::Attribute removeResAttrsAttr ()
void print (::mlir::OpAsmPrinter &p)
::llvm::LogicalResult verifyInvariantsImpl ()
::llvm::LogicalResult verifyInvariants ()
::llvm::LogicalResult verify ()
::llvm::LogicalResult verifySymbolUses (::mlir::SymbolTableCollection &symbolTable)
FuncDefOp clone (::mlir::IRMapping &mapper)
 Create a deep copy of this function and all of its blocks, remapping any operands that use values outside of the function using the map that is provided (leaving them alone if no entry is present).
FuncDefOp clone ()
void cloneInto (FuncDefOp dest, ::mlir::IRMapping &mapper)
 Clone the internal blocks and attributes from this function into dest.
bool hasAllowConstraintAttr ()
 Return true iff the function def has the allow_constraint attribute.
void setAllowConstraintAttr (bool newValue=true)
 Add (resp. remove) the allow_constraint attribute to (resp. from) the function def.
bool hasAllowWitnessAttr ()
 Return true iff the function def has the allow_witness attribute.
void setAllowWitnessAttr (bool newValue=true)
 Add (resp. remove) the allow_witness attribute to (resp. from) the function def.
bool hasAllowNonNativeFieldOpsAttr ()
 Return true iff the function def has the allow_non_native_field_ops attribute.
void setAllowNonNativeFieldOpsAttr (bool newValue=true)
 Add (resp. remove) the allow_non_native_field_ops attribute to (resp. from) the function def.
bool hasArgPublicAttr (unsigned index)
 Return true iff the argument at the given index has pub attribute.
::mlir::Region * getCallableRegion ()
 Required by FunctionOpInterface.
::llvm::ArrayRef<::mlir::Type > getArgumentTypes ()
 Required by FunctionOpInterface.
::llvm::ArrayRef<::mlir::Type > getResultTypes ()
 Required by FunctionOpInterface.
bool isDeclaration ()
 Required by SymbolOpInterface.
::mlir::SymbolRefAttr getFullyQualifiedName (bool requireParent=true)
 Return the full name for this function from the root module, including all surrounding symbol table names (i.e., modules and structs).
bool nameIsCompute ()
 Return true iff the function name is FUNC_NAME_COMPUTE (if needed, a check that this FuncDefOp is located within a StructDefOp must be done separately).
bool nameIsConstrain ()
 Return true iff the function name is FUNC_NAME_CONSTRAIN (if needed, a check that this FuncDefOp is located within a StructDefOp must be done separately).
bool nameIsProduct ()
 Return true iff the function name is FUNC_NAME_PRODUCT (if needed, a check that this FuncDefOp is located within a StructDefOp must be done separately).
bool isInStruct ()
 Return true iff the function is within a StructDefOp.
bool isStructCompute ()
 Return true iff the function is within a StructDefOp and named FUNC_NAME_COMPUTE.
bool isStructConstrain ()
 Return true iff the function is within a StructDefOp and named FUNC_NAME_CONSTRAIN.
bool isStructProduct ()
 Return true iff the function is within a StructDefOp and named FUNC_NAME_PRODUCT.
::mlir::Value getSelfValueFromCompute ()
 Return the "self" value (i.e.
::mlir::Value getSelfValueFromConstrain ()
 Return the "self" value (i.e.
::llzk::component::StructType getSingleResultTypeOfCompute ()
 Assuming the name is FUNC_NAME_COMPUTE, return the single StructType result.

Static Public Member Functions

::mlir::StringAttr getArgAttrsAttrName (::mlir::OperationName name)
::mlir::StringAttr getFunctionTypeAttrName (::mlir::OperationName name)
::mlir::StringAttr getResAttrsAttrName (::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, ::llvm::StringRef name, ::mlir::FunctionType type, ::llvm::ArrayRef<::mlir::NamedAttribute > attrs={}, ::llvm::ArrayRef<::mlir::DictionaryAttr > argAttrs={})
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::StringAttr sym_name, ::mlir::TypeAttr function_type, ::mlir::ArrayAttr arg_attrs, ::mlir::ArrayAttr res_attrs)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::StringAttr sym_name, ::mlir::TypeAttr function_type, ::mlir::ArrayAttr arg_attrs, ::mlir::ArrayAttr res_attrs)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::llvm::StringRef sym_name, ::mlir::FunctionType function_type, ::mlir::ArrayAttr arg_attrs, ::mlir::ArrayAttr res_attrs)
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::llvm::StringRef sym_name, ::mlir::FunctionType function_type, ::mlir::ArrayAttr arg_attrs, ::mlir::ArrayAttr res_attrs)
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 FuncDefOp create (::mlir::Location location, ::llvm::StringRef name, ::mlir::FunctionType type, ::llvm::ArrayRef<::mlir::NamedAttribute > attrs={})
static FuncDefOp create (::mlir::Location location, ::llvm::StringRef name, ::mlir::FunctionType type, ::mlir::Operation::dialect_attr_range attrs)
static FuncDefOp create (::mlir::Location location, ::llvm::StringRef name, ::mlir::FunctionType type, ::llvm::ArrayRef<::mlir::NamedAttribute > attrs, ::llvm::ArrayRef<::mlir::DictionaryAttr > argAttrs)

Detailed Description

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

Member Typedef Documentation

◆ Adaptor

◆ FoldAdaptor

using llzk::function::FuncDefOp::FoldAdaptor = GenericAdaptor<::llvm::ArrayRef<::mlir::Attribute>>

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

◆ GenericAdaptor

template<typename RangeT>
using llzk::function::FuncDefOp::GenericAdaptor = FuncDefOpGenericAdaptor<RangeT>

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

◆ Properties

Member Function Documentation

◆ build() [1/6]

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

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

◆ build() [2/6]

void llzk::function::FuncDefOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::llvm::StringRef name,
::mlir::FunctionType type,
::llvm::ArrayRef<::mlir::NamedAttribute > attrs = {},
::llvm::ArrayRef<::mlir::DictionaryAttr > argAttrs = {} )
static

◆ build() [3/6]

void llzk::function::FuncDefOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::llvm::StringRef sym_name,
::mlir::FunctionType function_type,
::mlir::ArrayAttr arg_attrs,
::mlir::ArrayAttr res_attrs )
static

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

◆ build() [4/6]

void llzk::function::FuncDefOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::StringAttr sym_name,
::mlir::TypeAttr function_type,
::mlir::ArrayAttr arg_attrs,
::mlir::ArrayAttr res_attrs )
static

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

◆ build() [5/6]

void llzk::function::FuncDefOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::TypeRange resultTypes,
::llvm::StringRef sym_name,
::mlir::FunctionType function_type,
::mlir::ArrayAttr arg_attrs,
::mlir::ArrayAttr res_attrs )
static

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

◆ build() [6/6]

void llzk::function::FuncDefOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::TypeRange resultTypes,
::mlir::StringAttr sym_name,
::mlir::TypeAttr function_type,
::mlir::ArrayAttr arg_attrs,
::mlir::ArrayAttr res_attrs )
static

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

◆ clone() [1/2]

FuncDefOp llzk::function::FuncDefOp::clone ( )

Definition at line 205 of file Ops.cpp.

◆ clone() [2/2]

FuncDefOp llzk::function::FuncDefOp::clone ( ::mlir::IRMapping & mapper)

Create a deep copy of this function and all of its blocks, remapping any operands that use values outside of the function using the map that is provided (leaving them alone if no entry is present).

If the mapper contains entries for function arguments, these arguments are not included in the new function. Replaces references to cloned sub-values with the corresponding value that is copied, and adds those mappings to the mapper.

◆ cloneInto()

void llzk::function::FuncDefOp::cloneInto ( FuncDefOp dest,
::mlir::IRMapping & mapper )

Clone the internal blocks and attributes from this function into dest.

Clone the internal blocks from this function into dest and all attributes from this function to dest.

Any cloned blocks are appended to the back of dest. This function asserts that the attributes of the current function and dest are compatible.

Definition at line 138 of file Ops.cpp.

◆ computePropertiesHash()

llvm::hash_code llzk::function::FuncDefOp::computePropertiesHash ( const Properties & prop)
static

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

◆ create() [1/3]

FuncDefOp llzk::function::FuncDefOp::create ( ::mlir::Location location,
::llvm::StringRef name,
::mlir::FunctionType type,
::llvm::ArrayRef<::mlir::NamedAttribute > attrs,
::llvm::ArrayRef<::mlir::DictionaryAttr > argAttrs )
static

◆ create() [2/3]

FuncDefOp llzk::function::FuncDefOp::create ( ::mlir::Location location,
::llvm::StringRef name,
::mlir::FunctionType type,
::llvm::ArrayRef<::mlir::NamedAttribute > attrs = {} )
static

◆ create() [3/3]

FuncDefOp llzk::function::FuncDefOp::create ( ::mlir::Location location,
::llvm::StringRef name,
::mlir::FunctionType type,
::mlir::Operation::dialect_attr_range attrs )
static

◆ getArgAttrs()

std::optional<::mlir::ArrayAttr > llzk::function::FuncDefOp::getArgAttrs ( )

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

◆ getArgAttrsAttr()

::mlir::ArrayAttr llzk::function::FuncDefOp::getArgAttrsAttr ( )
inline

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

◆ getArgAttrsAttrName() [1/2]

::mlir::StringAttr llzk::function::FuncDefOp::getArgAttrsAttrName ( )
inline

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

◆ getArgAttrsAttrName() [2/2]

::mlir::StringAttr llzk::function::FuncDefOp::getArgAttrsAttrName ( ::mlir::OperationName name)
inlinestatic

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

◆ getArgumentTypes()

::llvm::ArrayRef<::mlir::Type > llzk::function::FuncDefOp::getArgumentTypes ( )
inline

Required by FunctionOpInterface.

Returns the argument types of this function.

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

◆ getAttributeNames()

::llvm::ArrayRef<::llvm::StringRef > llzk::function::FuncDefOp::getAttributeNames ( )
inline

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

◆ getBody()

::mlir::Region & llzk::function::FuncDefOp::getBody ( )
inline

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

◆ getCallableRegion()

::mlir::Region * llzk::function::FuncDefOp::getCallableRegion ( )
inline

Required by FunctionOpInterface.

Returns the region on the current operation that is callable. This may return null in the case of an external callable object, e.g. an external function.

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

◆ getFullyQualifiedName()

SymbolRefAttr llzk::function::FuncDefOp::getFullyQualifiedName ( bool requireParent = true)

Return the full name for this function from the root module, including all surrounding symbol table names (i.e., modules and structs).

Definition at line 353 of file Ops.cpp.

◆ getFunctionType()

mlir::FunctionType llzk::function::FuncDefOp::getFunctionType ( )

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

◆ getFunctionTypeAttr()

::mlir::TypeAttr llzk::function::FuncDefOp::getFunctionTypeAttr ( )
inline

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

◆ getFunctionTypeAttrName() [1/2]

::mlir::StringAttr llzk::function::FuncDefOp::getFunctionTypeAttrName ( )
inline

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

◆ getFunctionTypeAttrName() [2/2]

::mlir::StringAttr llzk::function::FuncDefOp::getFunctionTypeAttrName ( ::mlir::OperationName name)
inlinestatic

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

◆ getInherentAttr()

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

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

◆ getODSOperandIndexAndLength()

std::pair< unsigned, unsigned > llzk::function::FuncDefOp::getODSOperandIndexAndLength ( unsigned index)
inline

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

◆ getODSOperands()

::mlir::Operation::operand_range llzk::function::FuncDefOp::getODSOperands ( unsigned index)
inline

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

◆ getODSResultIndexAndLength()

std::pair< unsigned, unsigned > llzk::function::FuncDefOp::getODSResultIndexAndLength ( unsigned index)
inline

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

◆ getODSResults()

::mlir::Operation::result_range llzk::function::FuncDefOp::getODSResults ( unsigned index)
inline

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

◆ getOperationName()

constexpr ::llvm::StringLiteral llzk::function::FuncDefOp::getOperationName ( )
inlinestatic

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

◆ getPropertiesAsAttr()

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

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

◆ getResAttrs()

std::optional<::mlir::ArrayAttr > llzk::function::FuncDefOp::getResAttrs ( )

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

◆ getResAttrsAttr()

::mlir::ArrayAttr llzk::function::FuncDefOp::getResAttrsAttr ( )
inline

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

◆ getResAttrsAttrName() [1/2]

::mlir::StringAttr llzk::function::FuncDefOp::getResAttrsAttrName ( )
inline

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

◆ getResAttrsAttrName() [2/2]

::mlir::StringAttr llzk::function::FuncDefOp::getResAttrsAttrName ( ::mlir::OperationName name)
inlinestatic

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

◆ getResultTypes()

::llvm::ArrayRef<::mlir::Type > llzk::function::FuncDefOp::getResultTypes ( )
inline

Required by FunctionOpInterface.

Returns the result types of this function.

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

◆ getSelfValueFromCompute()

Value llzk::function::FuncDefOp::getSelfValueFromCompute ( )

Return the "self" value (i.e.

the return value) from the function (which must be named FUNC_NAME_COMPUTE).

Definition at line 363 of file Ops.cpp.

◆ getSelfValueFromConstrain()

Value llzk::function::FuncDefOp::getSelfValueFromConstrain ( )

Return the "self" value (i.e.

the first parameter) from the function (which must be named FUNC_NAME_CONSTRAIN).

Definition at line 382 of file Ops.cpp.

◆ getSingleResultTypeOfCompute()

StructType llzk::function::FuncDefOp::getSingleResultTypeOfCompute ( )

Assuming the name is FUNC_NAME_COMPUTE, return the single StructType result.

Definition at line 387 of file Ops.cpp.

◆ getSymName()

llvm::StringRef llzk::function::FuncDefOp::getSymName ( )

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

◆ getSymNameAttr()

::mlir::StringAttr llzk::function::FuncDefOp::getSymNameAttr ( )
inline

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

◆ getSymNameAttrName() [1/2]

::mlir::StringAttr llzk::function::FuncDefOp::getSymNameAttrName ( )
inline

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

◆ getSymNameAttrName() [2/2]

::mlir::StringAttr llzk::function::FuncDefOp::getSymNameAttrName ( ::mlir::OperationName name)
inlinestatic

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

◆ hasAllowConstraintAttr()

bool llzk::function::FuncDefOp::hasAllowConstraintAttr ( )
inline

Return true iff the function def has the allow_constraint attribute.

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

◆ hasAllowNonNativeFieldOpsAttr()

bool llzk::function::FuncDefOp::hasAllowNonNativeFieldOpsAttr ( )
inline

Return true iff the function def has the allow_non_native_field_ops attribute.

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

◆ hasAllowWitnessAttr()

bool llzk::function::FuncDefOp::hasAllowWitnessAttr ( )
inline

Return true iff the function def has the allow_witness attribute.

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

◆ hasArgPublicAttr()

bool llzk::function::FuncDefOp::hasArgPublicAttr ( unsigned index)

Return true iff the argument at the given index has pub attribute.

Definition at line 234 of file Ops.cpp.

◆ isDeclaration()

bool llzk::function::FuncDefOp::isDeclaration ( )
inline

Required by SymbolOpInterface.

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

◆ isInStruct()

bool llzk::function::FuncDefOp::isInStruct ( )
inline

Return true iff the function is within a StructDefOp.

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

◆ isStructCompute()

bool llzk::function::FuncDefOp::isStructCompute ( )
inline

Return true iff the function is within a StructDefOp and named FUNC_NAME_COMPUTE.

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

◆ isStructConstrain()

bool llzk::function::FuncDefOp::isStructConstrain ( )
inline

Return true iff the function is within a StructDefOp and named FUNC_NAME_CONSTRAIN.

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

◆ isStructProduct()

bool llzk::function::FuncDefOp::isStructProduct ( )
inline

Return true iff the function is within a StructDefOp and named FUNC_NAME_PRODUCT.

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

◆ nameIsCompute()

bool llzk::function::FuncDefOp::nameIsCompute ( )
inline

Return true iff the function name is FUNC_NAME_COMPUTE (if needed, a check that this FuncDefOp is located within a StructDefOp must be done separately).

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

◆ nameIsConstrain()

bool llzk::function::FuncDefOp::nameIsConstrain ( )
inline

Return true iff the function name is FUNC_NAME_CONSTRAIN (if needed, a check that this FuncDefOp is located within a StructDefOp must be done separately).

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

◆ nameIsProduct()

bool llzk::function::FuncDefOp::nameIsProduct ( )
inline

Return true iff the function name is FUNC_NAME_PRODUCT (if needed, a check that this FuncDefOp is located within a StructDefOp must be done separately).

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

◆ parse()

ParseResult llzk::function::FuncDefOp::parse ( ::mlir::OpAsmParser & parser,
::mlir::OperationState & result )
static

Definition at line 118 of file Ops.cpp.

◆ populateInherentAttrs()

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

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

◆ print()

void llzk::function::FuncDefOp::print ( ::mlir::OpAsmPrinter & p)

Definition at line 129 of file Ops.cpp.

◆ readProperties()

llvm::LogicalResult llzk::function::FuncDefOp::readProperties ( ::mlir::DialectBytecodeReader & reader,
::mlir::OperationState & state )
static

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

◆ removeArgAttrsAttr()

::mlir::Attribute llzk::function::FuncDefOp::removeArgAttrsAttr ( )
inline

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

◆ removeResAttrsAttr()

::mlir::Attribute llzk::function::FuncDefOp::removeResAttrsAttr ( )
inline

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

◆ setAllowConstraintAttr()

void llzk::function::FuncDefOp::setAllowConstraintAttr ( bool newValue = true)

Add (resp. remove) the allow_constraint attribute to (resp. from) the function def.

Definition at line 210 of file Ops.cpp.

◆ setAllowNonNativeFieldOpsAttr()

void llzk::function::FuncDefOp::setAllowNonNativeFieldOpsAttr ( bool newValue = true)

Add (resp. remove) the allow_non_native_field_ops attribute to (resp. from) the function def.

Definition at line 226 of file Ops.cpp.

◆ setAllowWitnessAttr()

void llzk::function::FuncDefOp::setAllowWitnessAttr ( bool newValue = true)

Add (resp. remove) the allow_witness attribute to (resp. from) the function def.

Definition at line 218 of file Ops.cpp.

◆ setArgAttrsAttr()

void llzk::function::FuncDefOp::setArgAttrsAttr ( ::mlir::ArrayAttr attr)
inline

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

◆ setFunctionType()

void llzk::function::FuncDefOp::setFunctionType ( ::mlir::FunctionType attrValue)

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

◆ setFunctionTypeAttr()

void llzk::function::FuncDefOp::setFunctionTypeAttr ( ::mlir::TypeAttr attr)
inline

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

◆ setInherentAttr()

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

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

◆ setPropertiesFromAttr()

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

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

◆ setResAttrsAttr()

void llzk::function::FuncDefOp::setResAttrsAttr ( ::mlir::ArrayAttr attr)
inline

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

◆ setSymName()

void llzk::function::FuncDefOp::setSymName ( ::llvm::StringRef attrValue)

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

◆ setSymNameAttr()

void llzk::function::FuncDefOp::setSymNameAttr ( ::mlir::StringAttr attr)
inline

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

◆ verify()

LogicalResult llzk::function::FuncDefOp::verify ( )

Definition at line 244 of file Ops.cpp.

◆ verifyInherentAttrs()

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

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

◆ verifyInvariants()

llvm::LogicalResult llzk::function::FuncDefOp::verifyInvariants ( )

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

◆ verifyInvariantsImpl()

llvm::LogicalResult llzk::function::FuncDefOp::verifyInvariantsImpl ( )

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

◆ verifySymbolUses()

LogicalResult llzk::function::FuncDefOp::verifySymbolUses ( ::mlir::SymbolTableCollection & symbolTable)

Definition at line 337 of file Ops.cpp.

◆ writeProperties()

void llzk::function::FuncDefOp::writeProperties ( ::mlir::DialectBytecodeWriter & writer)

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


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