In Clang, is there a way to embed LLVM IR directly into C++? For example, can a GNU-style asm
statement contain LLVM IR instead of machine code?
More specifically, I'm adding some experimental intrinsics to LLVM, and would like to generate calls to them from C++. Do I have to modify Clang to do this, or is there a shortcut?