Modular Semantics and Metatheory for LLVM IR