Displaying 2 results from an estimated 2 matches for "hasvariadicus".
Did you mean:
hasvariadicuses
2012 Sep 25
2
[LLVMdev] Distinguish variadic register defines/uses in MCInstrDesc?
...finitions but are marked as mayLoad are register
definitions. I'm not very happy with this solution.
Is it possible to extend LLVM to check if 'variable_ops' is in 'ins' and/or
'outs' in tablegen, so that MCInstrDesc could provide something like
hasVariadicDefs() and hasVariadicUses()?
That way handling variadic instructions when disassembling would be much
easier and only instructions with variadic uses and defines would need
explicit special casing - if they even exist.
Thanks,
Christoph
2012 Sep 26
0
[LLVMdev] Distinguish variadic register defines/uses in MCInstrDesc?
...Sep 24, 2012, at 6:39 PM, Christoph Grenz <christophg+llvm at grenz-bonn.de> wrote:
> Is it possible to extend LLVM to check if 'variable_ops' is in 'ins' and/or
> 'outs' in tablegen, so that MCInstrDesc could provide something like
> hasVariadicDefs() and hasVariadicUses()?
>
> That way handling variadic instructions when disassembling would be much
> easier and only instructions with variadic uses and defines would need
> explicit special casing - if they even exist.
Hi Christoph,
As you noticed, MCInstrDesc doesn't distinguish between varia...