|
LLVM 24.0.0git
|
Entry for a single option instance in the option data table. More...
#include "llvm/Option/OptTable.h"
Public Member Functions | |
| bool | hasNoPrefix () const |
| unsigned | getNumPrefixes (ArrayRef< StringTable::Offset > PrefixesTable) const |
| ArrayRef< StringTable::Offset > | getPrefixOffsets (ArrayRef< StringTable::Offset > PrefixesTable) const |
| bool | hasHelpText () const |
| void | appendPrefixes (const StringTable &StrTable, ArrayRef< StringTable::Offset > PrefixesTable, SmallVectorImpl< StringRef > &Prefixes) const |
| StringRef | getPrefix (const StringTable &StrTable, ArrayRef< StringTable::Offset > PrefixesTable, unsigned PrefixIndex) const |
| StringRef | getPrefixedName (const StringTable &StrTable) const |
| StringRef | getName (const StringTable &StrTable, ArrayRef< StringTable::Offset > PrefixesTable) const |
Public Attributes | |
| StringTable::Offset | PrefixedNameOffset |
| StringTable::Offset | HelpTextOffset |
| Offset 0 means the .td supplied no HelpText. | |
| unsigned | Flags |
| unsigned short | Visibility |
| unsigned short | PrefixesOffset |
| unsigned short | GroupID |
| unsigned short | AliasID |
| unsigned short | ExtraOffset |
| unsigned char | Kind |
| unsigned char | Param |
Entry for a single option instance in the option data table.
An option's ID is its 1-based position in the table.
Definition at line 92 of file OptTable.h.
|
inline |
Definition at line 124 of file OptTable.h.
References getPrefixOffsets(), and llvm::SmallVectorTemplateBase< T, bool >::push_back().
|
inline |
Definition at line 141 of file OptTable.h.
References getPrefix(), getPrefixedName(), and hasNoPrefix().
|
inline |
Definition at line 110 of file OptTable.h.
References PrefixesOffset.
Referenced by getPrefixOffsets().
|
inline |
|
inline |
|
inline |
Definition at line 116 of file OptTable.h.
References getNumPrefixes(), hasNoPrefix(), and PrefixesOffset.
Referenced by appendPrefixes(), and getPrefix().
|
inline |
Definition at line 122 of file OptTable.h.
References HelpTextOffset.
|
inline |
Definition at line 108 of file OptTable.h.
References PrefixesOffset.
Referenced by getName(), and getPrefixOffsets().
| unsigned short llvm::opt::OptTable::Info::AliasID |
Definition at line 102 of file OptTable.h.
| unsigned short llvm::opt::OptTable::Info::ExtraOffset |
Definition at line 104 of file OptTable.h.
| unsigned llvm::opt::OptTable::Info::Flags |
Definition at line 97 of file OptTable.h.
Referenced by llvm::opt::OptTable::findNearest().
| unsigned short llvm::opt::OptTable::Info::GroupID |
Definition at line 101 of file OptTable.h.
| StringTable::Offset llvm::opt::OptTable::Info::HelpTextOffset |
Offset 0 means the .td supplied no HelpText.
A HelpText<""> maps to a distinct empty string, marking the option deliberately undocumented.
Definition at line 96 of file OptTable.h.
Referenced by hasHelpText().
Definition at line 105 of file OptTable.h.
Definition at line 106 of file OptTable.h.
| StringTable::Offset llvm::opt::OptTable::Info::PrefixedNameOffset |
Definition at line 93 of file OptTable.h.
Referenced by getPrefixedName().
| unsigned short llvm::opt::OptTable::Info::PrefixesOffset |
Definition at line 100 of file OptTable.h.
Referenced by getNumPrefixes(), getPrefixOffsets(), and hasNoPrefix().
| unsigned short llvm::opt::OptTable::Info::Visibility |
Definition at line 98 of file OptTable.h.
Referenced by llvm::opt::OptTable::findNearest(), and llvm::opt::OptTable::printHelp().