Function tvm::tirx::RenewDef#
Defined in File function.h
Function Documentation#
-
Function tvm::tirx::RenewDef(Function func)#
Renew variable definitions and remap their uses in a function.
Definition regions follow the registered structural hooks. Free variables and function attributes are preserved, and the function signature is rebuilt.
- Parameters:
func – The function to renew.
- Returns:
The function with fresh variable definitions.