Add loopDump function
Add PassKind enum
Add support for native haskell passes