[LLVMdev] Being able to know the jitted code-size before emitting
nicolas.geoffray at lip6.fr
Tue Apr 15 04:24:54 PDT 2008
OK, here's a new patch that adds the infrastructure and the
implementation for X86, ARM and PPC of GetInstSize and GetFunctionSize.
Both functions are virtual functions defined in TargetInstrInfo.h.
For X86, I moved some commodity functions from X86CodeEmitter to
What do you think?
Evan Cheng wrote:
> I think both of these belong to TargetInstrInfo. And yes, it's a good
> idea, there are other passes which can make use of them, e.g. branch
>> LLVM Developers mailing list
>> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 39859 bytes
Desc: not available
More information about the llvm-dev