Hi all,
I was wondering what the best way of adding a custom calling convention in llvm?
In particular, for the x86 platform, I want:
on entry
esi = size of argument block
edi = address of argument block
ecx = callee object
and on return
eax = status code
ebx = possible one-shot continuation
ecx = returned value
edx = returned reference
I only want it to work in a JIT fashion so no persistence in bitcode
files is necessary.
Thanks,
Raja Mukherji