Support for compile-time code transformation