LLVM 22.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 | hasSubCommands () const |
unsigned | getNumSubCommandIDs (ArrayRef< unsigned > SubCommandIDsTable) const |
ArrayRef< unsigned > | getSubCommandIDs (ArrayRef< unsigned > SubCommandIDsTable) 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 | |
unsigned | PrefixesOffset |
StringTable::Offset | PrefixedNameOffset |
const char * | HelpText |
std::array< std::pair< std::array< unsigned int, 2 >, const char * >, 1 > | HelpTextsForVariants |
const char * | MetaVar |
unsigned | ID |
unsigned char | Kind |
unsigned char | Param |
unsigned int | Flags |
unsigned int | Visibility |
unsigned short | GroupID |
unsigned short | AliasID |
const char * | AliasArgs |
const char * | Values |
unsigned | SubCommandIDsOffset |
Entry for a single option instance in the option data table.
Definition at line 64 of file OptTable.h.
|
inline |
Definition at line 121 of file OptTable.h.
References getPrefixOffsets(), and llvm::SmallVectorTemplateBase< T, bool >::push_back().
|
inline |
Definition at line 138 of file OptTable.h.
References getPrefix(), getPrefixedName(), and hasNoPrefix().
|
inline |
Definition at line 94 of file OptTable.h.
References PrefixesOffset.
Referenced by getPrefixOffsets().
|
inline |
Definition at line 108 of file OptTable.h.
References SubCommandIDsOffset.
Referenced by getSubCommandIDs().
|
inline |
|
inline |
|
inline |
Definition at line 100 of file OptTable.h.
References getNumPrefixes(), hasNoPrefix(), and PrefixesOffset.
Referenced by appendPrefixes(), llvm::opt::GenericOptTable::GenericOptTable(), and getPrefix().
|
inline |
Definition at line 114 of file OptTable.h.
References getNumSubCommandIDs(), hasSubCommands(), and SubCommandIDsOffset.
Referenced by llvm::opt::OptTable::isValidForSubCommand().
|
inline |
Definition at line 92 of file OptTable.h.
References PrefixesOffset.
Referenced by getName(), and getPrefixOffsets().
|
inline |
Definition at line 106 of file OptTable.h.
References SubCommandIDsOffset.
Referenced by getSubCommandIDs().
Definition at line 87 of file OptTable.h.
unsigned short llvm::opt::OptTable::Info::AliasID |
Definition at line 86 of file OptTable.h.
unsigned int llvm::opt::OptTable::Info::Flags |
Definition at line 83 of file OptTable.h.
Referenced by llvm::opt::OptTable::findNearest().
unsigned short llvm::opt::OptTable::Info::GroupID |
Definition at line 85 of file OptTable.h.
Definition at line 67 of file OptTable.h.
Referenced by llvm::opt::OptTable::getOptionHelpText().
std::array<std::pair<std::array<unsigned int, 2 >, const char *>, 1 > llvm::opt::OptTable::Info::HelpTextsForVariants |
Definition at line 78 of file OptTable.h.
Referenced by llvm::opt::OptTable::getOptionHelpText().
unsigned llvm::opt::OptTable::Info::ID |
Definition at line 80 of file OptTable.h.
Definition at line 81 of file OptTable.h.
Definition at line 79 of file OptTable.h.
Definition at line 82 of file OptTable.h.
StringTable::Offset llvm::opt::OptTable::Info::PrefixedNameOffset |
Definition at line 66 of file OptTable.h.
Referenced by getPrefixedName().
unsigned llvm::opt::OptTable::Info::PrefixesOffset |
Definition at line 65 of file OptTable.h.
Referenced by getNumPrefixes(), getPrefixOffsets(), and hasNoPrefix().
unsigned llvm::opt::OptTable::Info::SubCommandIDsOffset |
Definition at line 90 of file OptTable.h.
Referenced by getNumSubCommandIDs(), getSubCommandIDs(), and hasSubCommands().
Definition at line 88 of file OptTable.h.
unsigned int llvm::opt::OptTable::Info::Visibility |
Definition at line 84 of file OptTable.h.
Referenced by llvm::opt::OptTable::findNearest(), and llvm::opt::OptTable::printHelp().