A paper, LLVM M.D.: A Denotational Translation Validator, mentions the source code for LLVM M.D is available here:http://llvm-md.seas.harvard.edu/