Expr Type
Represents a LowUIR expression.
Union cases
Union case | Description |
Full Usage:
BinOp(BinOpType, RegType, Expr, Expr, HashConsingInfo)
Parameters:
BinOpType
Item2 : RegType
Item3 : Expr
Item4 : Expr
Item5 : HashConsingInfo
|
|
Full Usage:
Cast(CastKind, RegType, Expr, HashConsingInfo)
Parameters:
CastKind
Item2 : RegType
Item3 : Expr
Item4 : HashConsingInfo
|
|
Full Usage:
ExprList(Expr list, HashConsingInfo)
Parameters:
Expr list
Item2 : HashConsingInfo
|
|
Full Usage:
Extract(Expr, RegType, startPos, HashConsingInfo)
Parameters:
Expr
Item2 : RegType
startPos : int
Item4 : HashConsingInfo
|
|
|
|
Full Usage:
Ite(Expr, Expr, Expr, HashConsingInfo)
Parameters:
Expr
Item2 : Expr
Item3 : Expr
Item4 : HashConsingInfo
|
|
|
|
Full Usage:
Load(Endian, RegType, Expr, HashConsingInfo)
Parameters:
Endian
Item2 : RegType
Item3 : Expr
Item4 : HashConsingInfo
|
|
|
|
Full Usage:
PCVar(RegType, string, HashConsingInfo)
Parameters:
RegType
Item2 : string
Item3 : HashConsingInfo
|
|
Full Usage:
RelOp(RelOpType, Expr, Expr, HashConsingInfo)
Parameters:
RelOpType
Item2 : Expr
Item3 : Expr
Item4 : HashConsingInfo
|
|
Full Usage:
TempVar(RegType, int, HashConsingInfo)
Parameters:
RegType
Item2 : int
Item3 : HashConsingInfo
|
A temporary variable represents an internal (imaginary) register. Names of temporary variables should always be affixed by an underscore (_) and a number. This is to make sure that any temporary variable is unique in a CFG. For example, a temporary variable T can be represented as (T_2:I32), where 2 is a unique number assigned to the variable.
|
Full Usage:
UnOp(UnOpType, Expr, HashConsingInfo)
Parameters:
UnOpType
Item2 : Expr
Item3 : HashConsingInfo
|
|
Full Usage:
Undefined(RegType, string, HashConsingInfo)
Parameters:
RegType
Item2 : string
Item3 : HashConsingInfo
|
|
Full Usage:
Var(RegType, RegisterID, string, HashConsingInfo)
Parameters:
RegType
Item2 : RegisterID
Item3 : string
Item4 : HashConsingInfo
|
|
Instance members
Instance member | Description |
Full Usage:
this.Hash
Returns: int
Modifiers: inline |
|
Full Usage:
this.ID
Returns: uint32
Modifiers: inline |
|
Full Usage:
this.IsBinOp
Returns: bool
|
|
Full Usage:
this.IsCast
Returns: bool
|
|
Full Usage:
this.IsExprList
Returns: bool
|
|
Full Usage:
this.IsExtract
Returns: bool
|
|
Full Usage:
this.IsFuncName
Returns: bool
|
|
Full Usage:
this.IsIte
Returns: bool
|
|
Full Usage:
this.IsJmpDest
Returns: bool
|
|
Full Usage:
this.IsLoad
Returns: bool
|
|
Full Usage:
this.IsNum
Returns: bool
|
|
Full Usage:
this.IsPCVar
Returns: bool
|
|
Full Usage:
this.IsRelOp
Returns: bool
|
|
Full Usage:
this.IsTempVar
Returns: bool
|
|
Full Usage:
this.IsUnOp
Returns: bool
|
|
Full Usage:
this.IsUndefined
Returns: bool
|
|
Full Usage:
this.IsVar
Returns: bool
|
|
Static members
Static member | Description |
|
|
|
|
|
|
Full Usage:
Expr.HashExprList(exprs, hasCache)
Parameters:
Expr list
hasCache : bool
Returns: int
Modifiers: inline |
|
|
|
Full Usage:
Expr.HashFuncName(s)
Parameters:
string
Returns: int
Modifiers: inline |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
Expr.HashUndef(rt, s)
Parameters:
RegType
s : string
Returns: int
Modifiers: inline |
|
Full Usage:
Expr.HashVar(rt, rid)
Parameters:
RegType
rid : RegisterID
Returns: int
Modifiers: inline |
|
|
|
|