Commit Graph

5 Commits

Author SHA1 Message Date
Andrea Gussoni aee582a586 Make pass names compliant to the convention 2019-03-08 15:26:46 +01:00
Pietro Fezzardi 3b2dac4e85 Enforce clang-format 2019-02-25 12:29:15 +01:00
Andrea Gussoni ec7f0f68e2 Disassemble switch in right order
Add the switch successor to the nested `if` tree in the right order.
2019-02-11 14:41:26 +01:00
Pietro Fezzardi b9d04e502c Remove unreachable blocks after RemoveSwitchPass 2019-02-11 12:18:44 +01:00
Andrea Gussoni 02e1b94daa Added RemoveSwitchPass
Added a new `FunctionPass` which converts `switch` instructions in a
nested chain of `if` checks.
2019-02-11 12:18:44 +01:00