pub fn transform<T: TransformDispatch>(
op: Shared<dyn Op>,
options: &TransformOptions,
) -> Result<RewriteResult>
Expand description
Transform the given operation via given passen.
This is the main function that most users will interact with. The name “transform” is used instead of “compile” because the infrastructure is not limited to compiling. For example, it could also be used to build decompilers (i.e., for security research where the assembly is decompiled to a more readable form).