Add extention point for CFG based optimizations