Add convenience functions for reading in LLVM IR that autodetect