Convert the rest of the rewriting code to the more reasonable scheme.
Convert the rest of the rewriting code to the more reasonable scheme.

Two big parts left: (1) API for adding/removing/modifying functions,
splitting basic blocks, &c. and (2) the actual rewrite engine that
explodes a Module and then rebuilds it.

travitch/llvm-analysis,wangxiayang/llvm-analysis,travitch/llvm-analysis,wangxiayang/llvm-analysis