Displaying 4 results from an estimated 4 matches for "getinstructionsize".
2008 Apr 14
2
[LLVMdev] Being able to know the jitted code-size before emitting
...I'm stubborn sometimes. :-) And really I think adding the
> code size functionality is not really that complicated. I would be
> happy to help if you run into issues.
>
>
What do you think of adding a
TargetMachine::getFunctionSize(MachineFunction*) and a
TargetInstrInfo::getInstructionSize(MachineInstruction*)? Is this a good
place to make them available to other passes? (ie the JIT)
Thanks,
Nicolas
> Thanks.
>
> Evan
>
2008 Apr 14
0
[LLVMdev] Being able to know the jitted code-size before emitting
...s. :-) And really I think adding the
>> code size functionality is not really that complicated. I would be
>> happy to help if you run into issues.
>>
>>
>
> What do you think of adding a
> TargetMachine::getFunctionSize(MachineFunction*) and a
> TargetInstrInfo::getInstructionSize(MachineInstruction*)? Is this a
> good
> place to make them available to other passes? (ie the JIT)
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
shortening.
Thanks,
Evan
>
>
>...
2008 Apr 07
0
[LLVMdev] Being able to know the jitted code-size before emitting
On Apr 7, 2008, at 3:02 AM, Nicolas Geoffray wrote:
> Hi Evan,
>
> Evan Cheng wrote:
>>
>> I don't think the duplication is going to be top much of a problem.
>> If
>> it is, I'll bug you about refactoring. :)
>>
>>
>
> I don't mean to show how lazy I can be, but I also need to know the
> size
> of the exception table
2008 Apr 07
2
[LLVMdev] Being able to know the jitted code-size before emitting
Hi Evan,
Evan Cheng wrote:
>
> I don't think the duplication is going to be top much of a problem. If
> it is, I'll bug you about refactoring. :)
>
>
I don't mean to show how lazy I can be, but I also need to know the size
of the exception table emitted in memory (JITDwarfEmitter.cpp).
Reviewing it a little, I can not see how things won't be duplicated.