[llvm-dev] TableGen terminology (original) (raw)

David Greene via llvm-dev llvm-dev at lists.llvm.org
Fri Jul 31 13:58:27 PDT 2020


"Paul C. Anagnostopoulos via llvm-dev" <llvm-dev at lists.llvm.org> writes:

I'd like to get involved with LLVM and I'm thinking of doing a little editing of the TableGen documents. After reading the Introduction and Reference documents, I see that there is no consistent term for the fields of the records that TableGen creates. They are referred to as fields, values, definitions, etc.

I propose to make this consistent with the term "field." Is that the best choice? Other possibilities are "slot" and "item." I think it's clear that "value" and "definition" are confusing.

+1 for "field." I don't know if "field" is used in other contexts though.

"A record-level let expression is used to change the value of a value definition in a record."

lolwat

                   -David


More information about the llvm-dev mailing list