OpDefs

scair.clair.OpDefs
See theOpDefs companion object
trait OpDefs[T <: Operation] extends OperationCompanion[T]

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
OpDefs[T]

Members list

Type members

Classlikes

case class UnstructuredOp(operands: Seq[Value[Attribute]] = ..., successors: Seq[Block] = ..., results: Seq[Result[Attribute]] = ..., regions: Seq[Region] = ..., properties: Map[String, Attribute] = ..., attributes: LinkedHashMap[String, Attribute] = ...) extends Operation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Operation
trait IRNode
class Object
trait Matchable
class Any
Show all

Types

type DerivingType = T

Value members

Abstract methods

def apply(operands: Seq[Value[Attribute]] = ..., successors: Seq[Block] = ..., results: Seq[Result[Attribute]] = ..., regions: Seq[Region] = ..., properties: Map[String, Attribute] = ..., attributes: LinkedHashMap[String, Attribute] = ...): UnstructuredOp | T & Operation
def constraintVerify(adtOp: T): OK[Operation]
def customPrint(adtOp: T, p: Printer): Unit
def destructure(adtOp: T): UnstructuredOp
def operands(adtOp: T): Seq[Value[Attribute]]
def properties(adtOp: T): Map[String, Attribute]
def regions(adtOp: T): Seq[Region]
def results(adtOp: T): Seq[Result[Attribute]]
def structure(unstrucOp: UnstructuredOp): T
def successors(adtOp: T): Seq[Block]

Inherited methods

Attributes

Inherited from:
OperationCompanion
def parse[$](resNames: Seq[String])(using evidence$1: ParsingRun[$], Parser): ParsingRun[T]

Attributes

Inherited from:
OperationCompanion

Inherited and Abstract methods

def name: String

Attributes

Inherited from:
OperationCompanion

Exports

Inherited defined exports

export whitespace
Exported from Lexical$package

Whitespace syntax that supports // line-comments, without /* */ comments, as is the case in the MLIR Language Spec.

Whitespace syntax that supports // line-comments, without /* */ comments, as is the case in the MLIR Language Spec.

It's litteraly fastparse's JavaWhitespace with the /* */ states just erased :)

Attributes

Inherited from:
OperationCompanion