[LLVMdev] How are OutputOperandList and InputOperandList used?

Thomson lilotom at gmail.com
Mon Jan 13 18:08:47 PST 2014


Thanks Tim. You are right and sorry for my typo. Another related question
is some sub-instruction class override it by let expression, as `let
InOperanList=ins` and some others seem redeclare it, such as `dag
InOperandList = ins`. What's the different between these 2 usages?

Thanks,
-Thomson


On Mon, Jan 13, 2014 at 6:37 PM, Tim Northover <t.p.northover at gmail.com>wrote:

> Hi Thomson,
>
> On 12 January 2014 15:29, Thomson <lilotom at gmail.com> wrote:
> > I saw many definitions derived from Instruction defines OutputOperandList
> > and InputOperandList (usually in the xxxInstrFormats.td), but I don't see
> > where they are referenced. Anything I missed here?
>
> Do you mean InOperandList and OutOperandList? They're used by TableGen
> for many of its automatically generated code fragments (all three of
> asm parsing, disassembly, codegen). The place to look for uses is
> utils/TableGen/*.cpp.
>
> Cheers.
>
> Tim.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140114/c7f57d6c/attachment.html>


More information about the llvm-dev mailing list