scair.clair.macros
Members list
Type members
Classlikes
Attributes
- Companion
- object
- Supertypes
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Attributes
- Supertypes
- Known subtypes
-
class Applyclass Forclass Ifclass Loadclass Minclass Parallelclass Storeclass Yieldclass Addfclass Addiclass Andiclass Cmpiclass Divfclass Divsiclass Divuiclass Index_Castclass Mulfclass Muliclass Oriclass Remsiclass Remuiclass Sitofpclass Subiclass Mulclass Normclass Callclass Funcclass Returnclass GetElementPtrclass Loadclass Allocclass Deallocclass Loadclass Storeclass Conditionclass ExecuteRegionOpclass ForOpclass ForallOpclass IfOpclass InParallelOpclass IndexSwitchOpclass ParallelOpclass ReduceOpclass ReduceReturnOpclass WhileOpclass YieldOpShow all
- Self type
-
T
Attributes
- Companion
- object
- Supertypes
- Self type
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Types
Type helper to get the defined input type of a construct definition.
Type helper to get the defined input type of a construct definition.
Attributes
Type helper to get the defined input type of a construct definition.
Type helper to get the defined input type of a construct definition.
Attributes
Value members
Concrete methods
Get all constructs of the specified type flattened from the ADT expression.
Get all constructs of the specified type flattened from the ADT expression.
Type parameters
- Def
-
The construct definition type.
Value parameters
- adtOpExpr
-
The ADT expression.
- opInputDefs
-
The construct definitions.
Attributes
Return all named arguments for the primary constructor of an ADT. Those are verified, in the sense that they are checked to be of the correct types and numbers.
Return all named arguments for the primary constructor of an ADT. Those are verified, in the sense that they are checked to be of the correct types and numbers.
Value parameters
- op
-
The UnverifiedOp instance.
- opDef
-
The OperationDef derived from the ADT.
Attributes
- Returns
-
The verified named arguments for the primary constructor of the ADT.
Expect a segmentSizes property of DenseArrayAttr type, and return it as a list of integers.
Expect a segmentSizes property of DenseArrayAttr type, and return it as a list of integers.
Type parameters
- Def
-
The construct definition type.
Value parameters
- op
-
The UnverifiedOp expression.
Attributes
Attempt to create an ADT from an UnverifiedO[ADT]
Attempt to create an ADT from an UnverifiedO[ADT]
Type parameters
- T
-
The ADT Type.
Value parameters
- genExpr
-
The expression of the UnverifiedOp[ADT].
- opDef
-
The OperationDef derived from the ADT.
Attributes
- Returns
-
The ADT instance.
Helper to verify a property argument.
Helper to verify a property argument.
Attributes
Helper to get the expected type of a construct definition's construct.
Helper to get the expected type of a construct definition's construct.
Attributes
Helper to get the name of a construct definition type.
Helper to get the name of a construct definition type.
Attributes
Helper to access the right sequence of constructs from an UnverifiedOp, given a construct definition type.
Helper to access the right sequence of constructs from an UnverifiedOp, given a construct definition type.
Attributes
Helper to get the variadicity of a construct definition's construct.
Helper to get the variadicity of a construct definition's construct.
Attributes
Partion constructs of a specified type. That is, verify that they are in a coherent quantity, and partition them into the provided definitions.
Partion constructs of a specified type. That is, verify that they are in a coherent quantity, and partition them into the provided definitions.
Type parameters
- Def
-
The construct definition type.
Value parameters
- defs
-
The construct definitions.
- op
-
The UnverifiedOp expression.
Attributes
Small helper to select a member of an expression.
Small helper to select a member of an expression.
Value parameters
- name
-
The name of the member to select.
- obj
-
The object to select the member from.
Attributes
Get all verified constructs of a specified type from an UnverifiedOp. That is, of the expected types and variadicities, as specified by the OperationDef.
Get all verified constructs of a specified type from an UnverifiedOp. That is, of the expected types and variadicities, as specified by the OperationDef.
Type parameters
- Def
-
The construct definition type.
Value parameters
- defs
-
The constructs definitions.
- op
-
The UnverifiedOp expression.