Function tvm::tirx::reinterpret(Type, Expr, Location)#
Defined in File memory.h
Function Documentation#
-
Expr tvm::tirx::reinterpret(Type target_ty, Expr value, Location loc = UnknownLoc())#
perform reinterpret cast value to type.
Note
This function may return value if the type is the same.
- Parameters:
target_ty – The target type.
value – The value
loc – The location of this operation in the source.
- Returns:
The result expression.