Add back IR support, fixed dotcase util ref, and removed incompatible msim stuff.

Change-Id: Idbcf898b66de8c4a7f9412618f11220c0f1a34cd