LLZK 0.1.0
Veridise's ZK Language IR
Loading...
Searching...
No Matches
llzk::string::LitStringOp Class Reference
Inheritance diagram for llzk::string::LitStringOp:
[legend]
Collaboration diagram for llzk::string::LitStringOp:
[legend]

Public Types

using Adaptor = LitStringOpAdaptor
 
template<typename RangeT>
using GenericAdaptor = LitStringOpGenericAdaptor<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::string::StringTypegetResult ()
 
void writeProperties (::mlir::DialectBytecodeWriter &writer)
 
::mlir::StringAttr getValueAttr ()
 
::llvm::StringRef getValue ()
 
void setValueAttr (::mlir::StringAttr attr)
 
void setValue (::llvm::StringRef attrValue)
 
::mlir::LogicalResult verifyInvariantsImpl ()
 
::mlir::LogicalResult verifyInvariants ()
 
::mlir::OpFoldResult fold (FoldAdaptor adaptor)
 
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 ()
 
::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::Type result, ::mlir::StringAttr value)
 
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::StringAttr value)
 
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Type result, ::llvm::StringRef value)
 
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::llvm::StringRef value)
 
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)
 

Detailed Description

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

Member Typedef Documentation

◆ Adaptor

◆ FoldAdaptor

using llzk::string::LitStringOp::FoldAdaptor = GenericAdaptor<::llvm::ArrayRef<::mlir::Attribute>>

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

◆ GenericAdaptor

template<typename RangeT>
using llzk::string::LitStringOp::GenericAdaptor = LitStringOpGenericAdaptor<RangeT>

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

◆ Properties

Member Function Documentation

◆ build() [1/5]

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

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

◆ build() [2/5]

void llzk::string::LitStringOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::Type result,
::llvm::StringRef value )
static

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

◆ build() [3/5]

void llzk::string::LitStringOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::Type result,
::mlir::StringAttr value )
static

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

◆ build() [4/5]

void llzk::string::LitStringOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::TypeRange resultTypes,
::llvm::StringRef value )
static

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

◆ build() [5/5]

void llzk::string::LitStringOp::build ( ::mlir::OpBuilder & odsBuilder,
::mlir::OperationState & odsState,
::mlir::TypeRange resultTypes,
::mlir::StringAttr value )
static

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

◆ computePropertiesHash()

llvm::hash_code llzk::string::LitStringOp::computePropertiesHash ( const Properties & prop)
static

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

◆ fold()

OpFoldResult llzk::string::LitStringOp::fold ( LitStringOp::FoldAdaptor adaptor)

Definition at line 26 of file Ops.cpp.

◆ getAttributeNames()

static ::llvm::ArrayRef<::llvm::StringRef > llzk::string::LitStringOp::getAttributeNames ( )
inline

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

◆ getEffects()

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

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

◆ getInherentAttr()

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

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

◆ getODSOperandIndexAndLength()

std::pair< unsigned, unsigned > llzk::string::LitStringOp::getODSOperandIndexAndLength ( unsigned index)

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

◆ getODSOperands()

mlir::Operation::operand_range llzk::string::LitStringOp::getODSOperands ( unsigned index)

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

◆ getODSResultIndexAndLength()

std::pair< unsigned, unsigned > llzk::string::LitStringOp::getODSResultIndexAndLength ( unsigned index)

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

◆ getODSResults()

mlir::Operation::result_range llzk::string::LitStringOp::getODSResults ( unsigned index)

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

◆ getOperationName()

static constexpr ::llvm::StringLiteral llzk::string::LitStringOp::getOperationName ( )
inlinestatic

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

◆ getPropertiesAsAttr()

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

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

◆ getResult()

mlir::TypedValue<::llzk::string::StringType > llzk::string::LitStringOp::getResult ( )

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

◆ getValue()

llvm::StringRef llzk::string::LitStringOp::getValue ( )

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

◆ getValueAttr()

mlir::StringAttr llzk::string::LitStringOp::getValueAttr ( )

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

◆ getValueAttrName() [1/2]

::mlir::StringAttr llzk::string::LitStringOp::getValueAttrName ( )
inline

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

◆ getValueAttrName() [2/2]

::mlir::StringAttr llzk::string::LitStringOp::getValueAttrName ( ::mlir::OperationName name)
inlinestatic

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

◆ parse()

mlir::ParseResult llzk::string::LitStringOp::parse ( ::mlir::OpAsmParser & parser,
::mlir::OperationState & result )
static

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

◆ populateInherentAttrs()

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

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

◆ print()

void llzk::string::LitStringOp::print ( ::mlir::OpAsmPrinter & _odsPrinter)

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

◆ readProperties()

mlir::LogicalResult llzk::string::LitStringOp::readProperties ( ::mlir::DialectBytecodeReader & reader,
::mlir::OperationState & state )
static

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

◆ setInherentAttr()

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

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

◆ setPropertiesFromAttr()

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

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

◆ setValue()

void llzk::string::LitStringOp::setValue ( ::llvm::StringRef attrValue)

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

◆ setValueAttr()

void llzk::string::LitStringOp::setValueAttr ( ::mlir::StringAttr attr)

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

◆ verifyInherentAttrs()

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

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

◆ verifyInvariants()

mlir::LogicalResult llzk::string::LitStringOp::verifyInvariants ( )

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

◆ verifyInvariantsImpl()

mlir::LogicalResult llzk::string::LitStringOp::verifyInvariantsImpl ( )

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

◆ writeProperties()

void llzk::string::LitStringOp::writeProperties ( ::mlir::DialectBytecodeWriter & writer)

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


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