This patch is based on the patch that print and parses machine function names (http://reviews.llvm.org/D9841).
In this patch the machine function analysis pass is connected to the MIR parser to allow the MIR parser
to initialize the machine functions with the loaded state and to enable reconstruction of machine IR.