Thomson
2014-Jan-12 15:29 UTC
[LLVMdev] How are OutputOperandList and InputOperandList used?
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? Thanks, -Thomson -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140112/e6e87e9f/attachment.html>
Tim Northover
2014-Jan-13 10:37 UTC
[LLVMdev] How are OutputOperandList and InputOperandList used?
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.
Thomson
2014-Jan-14 02:08 UTC
[LLVMdev] How are OutputOperandList and InputOperandList used?
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>