Inline assembler
From LLVM
[edit] Basic Concept
Basically as far as I can see, all we need is to modify the parser to parse a generic assembly code, ideally Intel like (rather than AT&T style).
TableGen already has the info about the instruction sets needed in order to parse instructions.
The parser would generate special AST nodes that act as basic blocks, this would limit us to a single entry point but would be easier to code. The backend code generators would then expand these nodes to normal machine code.
Maybe I am over simplifying things a bit, please let me know your thoughts. ---AaronNGray
This is already done.

