| name | port-library-options |
|---|---|
| description | Port an llvm/lib/XXX library's cl::opt globals to a TableGen OptionsStruct (RFC 91877, LibraryOptions.td). Use when migrating a library's options, reviewing such a port, or writing its .td. |
Field kinds are documented in "Declaring a Library's Options in TableGen" (llvm/docs/CommandLine.md). Reference ports: CGData (lib/CGData/CGDataOptions.*), InstCombine (InstCombineCLOptions.*), CodeGen (lib/CodeGen/CodeGenOptions.*), Sparc (a target), IR (lib/IR/IROptions.*, no central object).