Expand description
Structs§
- Call
- The call of
oponargs. - CallObj
- The object behind
Call. - Constant
- The base of literal constants:
IntImm,FloatImm,StringImm,DataTypeImmandGenericConst. - Constant
Obj - The object behind
Constant. - Data
Type Imm - A data type as a constant, of type
AnyType. - Data
Type ImmObj - The object behind
DataTypeImm. - Expr
- The base of every expression: its source location
locand its typety. - ExprObj
- The object behind
Expr. - Float
Imm - A floating-point constant of a scalar floating-point type, its value held as an
f64. - Float
ImmObj - The object behind
FloatImm. - Generic
Const - A constant of any value, with an explicit
Typeheld apart from the value. - Generic
Const Obj - The object behind
GenericConst. - Global
Var - A global variable: a reference to a function of the module, by which functions call each other, recursively too.
- Global
VarObj - The object behind
GlobalVar. - IntExpr
- A
PrimExprof a scalar signed or unsigned integer type of any width, such as an index or an extent. - IntImm
- An integer or boolean constant of a scalar integer or boolean type. The value is a
BigInt, exact at any width. - IntImm
Obj - The object behind
IntImm. - Lambda
Expr - A function of
varsthat evaluates tobody, such as a reduction combiner or a predication rule. - Lambda
Expr Obj - The object behind
LambdaExpr. - Opaque
Expr - The base of opaque construction-time expressions, which generic expression visitors and mutators pass through. None may remain in finished IR.
- Opaque
Expr Obj - The object behind
OpaqueExpr. - Prim
Expr - An expression typed by a
PrimType: a constant, a variable, an operator on scalars or vectors, or a call that returns one. - PrimVar
- A
Vartyped by aPrimType: a scalar or vector variable, which takes part in arithmetic as aPrimExpr. - Range
- The half-open interval
[begin, begin + extent). - Range
Obj - The object behind
Range. - Staging
Expr - The base of the expressions that compilation eliminates, such as
LambdaExpr: traversals visit them like any expression, but none remains in executable IR. - Staging
Expr Obj - The object behind
StagingExpr. - String
Imm - A string constant, of type
StringType. - String
ImmObj - The object behind
StringImm. - Tensor
Load - The element or vector of
sourceatindices: a load from a tensor, or from any expression whose type supports it. - Tensor
Load Obj - The object behind
TensorLoad. - Tensor
Region - The region of
sourcethat the rangesregionselect, such as a slice of a tensor, of the type it is created with. - Tensor
Region Obj - The object behind
TensorRegion. - Tuple
- The tuple of the expressions
fields,(a, b, ...). - Tuple
GetItem - The field
indexof the tupletuple_value. - Tuple
GetItem Obj - The object behind
TupleGetItem. - Tuple
Obj - The object behind
Tuple. - Var
- A local variable.
- VarObj
- The object behind
Var.
Enums§
- Subscript
- An index of
Expr::subscript: a primitive expression, or astart:stop:stepslice.
Traits§
- Into
Expr - A value that converts into the expression type
T, possibly failing: aTor a subtype of it, owned or borrowed, a Rust literal, or anExprResultunder construction.