Displaying 1 result from an estimated 1 matches for "2421287f".
Did you mean:
242.287
2012 Oct 24
1
[LLVMdev] How to Find Instruction Encoding for a MachineInstr
On 10/23/12 7:19 PM, Craig Topper wrote:
> What function provides the encoding length? X86 in particular is so
> difficult to encode that only the old style JIT and the MC Code
> Emitter could possibly know how many bytes something takes.
The getSize() method of MCInstrDesc which can be fetched from a
MachineInstr using the getDesc() method: