Add some compiler pass to ease some treatment