LLVM 20.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< unsigned > PrefixesTable) const |
ArrayRef< unsigned > | getPrefixOffsets (ArrayRef< unsigned > PrefixesTable) const |
void | appendPrefixes (const char *StrTable, ArrayRef< unsigned > PrefixesTable, SmallVectorImpl< StringRef > &Prefixes) const |
StringRef | getPrefix (const char *StrTable, ArrayRef< unsigned > PrefixesTable, unsigned PrefixIndex) const |
StringRef | getPrefixedName (const char *StrTable) const |
StringRef | getName (const char *StrTable, ArrayRef< unsigned > PrefixesTable) const |
Public Attributes | |
unsigned | PrefixesOffset |
unsigned | 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 |
Entry for a single option instance in the option data table.
Definition at line 55 of file OptTable.h.
|
inline |
Definition at line 94 of file OptTable.h.
References getPrefixOffsets(), and llvm::SmallVectorTemplateBase< T, bool >::push_back().
|
inline |
Definition at line 109 of file OptTable.h.
References llvm::StringRef::drop_front(), getPrefix(), getPrefixedName(), hasNoPrefix(), and llvm::StringRef::size().
Referenced by llvm::opt::OptTable::getOptionName().
|
inline |
Definition at line 83 of file OptTable.h.
References PrefixesOffset.
Referenced by getPrefixOffsets(), and llvm::opt::Option::print().
|
inline |
Definition at line 100 of file OptTable.h.
References getPrefixOffsets().
Referenced by getName(), and llvm::opt::Option::print().
Definition at line 105 of file OptTable.h.
References PrefixedNameOffset.
Referenced by getName(), and llvm::opt::OptTable::getOptionPrefixedName().
|
inline |
Definition at line 88 of file OptTable.h.
References getNumPrefixes(), hasNoPrefix(), PrefixesOffset, and llvm::ArrayRef< T >::slice().
Referenced by appendPrefixes(), llvm::opt::GenericOptTable::GenericOptTable(), and getPrefix().
|
inline |
Definition at line 81 of file OptTable.h.
References PrefixesOffset.
Referenced by getName(), getPrefixOffsets(), and llvm::opt::Option::print().
Definition at line 78 of file OptTable.h.
Referenced by llvm::opt::Option::getAliasArgs().
unsigned short llvm::opt::OptTable::Info::AliasID |
Definition at line 77 of file OptTable.h.
Referenced by llvm::opt::Option::getAlias().
unsigned int llvm::opt::OptTable::Info::Flags |
Definition at line 74 of file OptTable.h.
Referenced by llvm::opt::OptTable::findNearest(), llvm::opt::Option::getRenderStyle(), llvm::opt::Option::hasFlag(), llvm::opt::Option::hasNoOptAsInput(), and llvm::opt::OptTable::printHelp().
unsigned short llvm::opt::OptTable::Info::GroupID |
Definition at line 76 of file OptTable.h.
Referenced by llvm::opt::Option::getGroup(), and llvm::opt::OptTable::getOptionGroupID().
Definition at line 58 of file OptTable.h.
Referenced by llvm::opt::Option::getHelpText(), and llvm::opt::OptTable::getOptionHelpText().
std::array<std::pair<std::array<unsigned int, 2 >, const char *>, 1 > llvm::opt::OptTable::Info::HelpTextsForVariants |
Definition at line 69 of file OptTable.h.
Referenced by llvm::opt::OptTable::getOptionHelpText().
unsigned llvm::opt::OptTable::Info::ID |
Definition at line 71 of file OptTable.h.
Referenced by llvm::opt::Option::getID(), llvm::opt::Option::getName(), llvm::opt::Option::getPrefix(), llvm::opt::Option::getPrefixedName(), and llvm::opt::OptTable::OptTable().
Definition at line 72 of file OptTable.h.
Referenced by llvm::opt::Option::getKind(), llvm::opt::OptTable::getOptionKind(), and llvm::opt::OptTable::OptTable().
Definition at line 70 of file OptTable.h.
Referenced by llvm::opt::Option::getMetaVar(), and llvm::opt::OptTable::getOptionMetaVar().
Definition at line 73 of file OptTable.h.
Referenced by llvm::opt::Option::getNumArgs().
unsigned llvm::opt::OptTable::Info::PrefixedNameOffset |
Definition at line 57 of file OptTable.h.
Referenced by getPrefixedName().
unsigned llvm::opt::OptTable::Info::PrefixesOffset |
Definition at line 56 of file OptTable.h.
Referenced by getNumPrefixes(), getPrefixOffsets(), and hasNoPrefix().
Definition at line 79 of file OptTable.h.
unsigned int llvm::opt::OptTable::Info::Visibility |
Definition at line 75 of file OptTable.h.
Referenced by llvm::opt::OptTable::findNearest(), llvm::opt::Option::hasVisibilityFlag(), and llvm::opt::OptTable::printHelp().