translation to the LLVM IR

Hi all,

I am trying to compile a high-level imperative OOP-like language to
the LLVM IR. Do we have any "generic" way of translating a non-SSA
form to the LLVM IR's SSA? There are lots of LLVM front-ends now. Do
they do such translation individually? or there is some common non-SSA
IR that we can translate to, and can be converted to the LLVM IR
automatically? I did not find such things from the current LLVM code.

See http://llvm.org/docs/tutorial/LangImpl7.html#memory .

-Eli

Hi all,

I am trying to compile a high-level imperative OOP-like language to
the LLVM IR. Do we have any "generic" way of translating a non-SSA
form to the LLVM IR's SSA? There are lots of LLVM front-ends now. Do
they do such translation individually? or there is some common non-SSA
IR that we can translate to, and can be converted to the LLVM IR
automatically? I did not find such things from the current LLVM code.

See http://llvm.org/docs/tutorial/LangImpl7.html#memory .

Thanks!