add a bunch more passes to the C bindings (PR3734), patch by