[LLVMdev] Calling Conventions Cont'd
baldrick at free.fr
Mon Apr 14 12:13:52 PDT 2008
> > entirely in the back end. Apart from calling conventions, the front end
> > doesn't need to know the specific target, only the data layout and which
> > intrinsics the target supports. This approach makes a clean division
> > between the front end and back end.
> If you want to map from a C type/calling convetion to LLVM IR, clang is a
> good way to go. It isn't fully up to snuff with all the ABIs out there,
> but will be doing much better over the next few months.
How about extracting the clang code and turning it into a set of helper
routines for people who want to be able to generate C compatible function
More information about the llvm-dev