Reusable parts in rust compiler?

Are there reusable parts in rustc that would an existing (but different/unrelated) compiler read and write rlibs and generate binaries on a lower level than rust source, but higher than llvm? I read about MIR but couldn't really find much on the subject other than that it exists.