search for: hasvariadicdefs

Displaying 2 results from an estimated 2 matches for "hasvariadicdefs".

2012 Sep 25
2
[LLVMdev] Distinguish variadic register defines/uses in MCInstrDesc?
...have zero register definitions 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?
On 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 disti...