LLVM 19.0.0git
Public Member Functions | List of all members
llvm::remarks::HotnessThresholdParser Class Reference

#include "llvm/Remarks/HotnessThresholdParser.h"

Inheritance diagram for llvm::remarks::HotnessThresholdParser:
Inheritance graph

Public Member Functions

 HotnessThresholdParser (cl::Option &O)
bool parse (cl::Option &O, StringRef ArgName, StringRef Arg, std::optional< uint64_t > &V)
- Public Member Functions inherited from llvm::cl::parser< std::optional< uint64_t > >
 parser (Option &O)
unsigned getNumOptions () const override
StringRef getOption (unsigned N) const override
StringRef getDescription (unsigned N) const override
const GenericOptionValuegetOptionValue (unsigned N) const override
bool parse (Option &O, StringRef ArgName, StringRef Arg, std::optional< uint64_t > &V)
void addLiteralOption (StringRef Name, const DT &V, StringRef HelpStr)
 Add an entry to the mapping table.
void removeLiteralOption (StringRef Name)
 Remove the specified option.
- Public Member Functions inherited from llvm::cl::generic_parser_base
 generic_parser_base (Option &O)
virtual ~generic_parser_base ()=default
virtual unsigned getNumOptions () const =0
virtual StringRef getOption (unsigned N) const =0
virtual StringRef getDescription (unsigned N) const =0
virtual size_t getOptionWidth (const Option &O) const
virtual const GenericOptionValuegetOptionValue (unsigned N) const =0
virtual void printOptionInfo (const Option &O, size_t GlobalWidth) const
void printGenericOptionDiff (const Option &O, const GenericOptionValue &V, const GenericOptionValue &Default, size_t GlobalWidth) const
template<class AnyOptionValue >
void printOptionDiff (const Option &O, const AnyOptionValue &V, const AnyOptionValue &Default, size_t GlobalWidth) const
void initialize ()
void getExtraOptionNames (SmallVectorImpl< StringRef > &OptionNames)
enum ValueExpected getValueExpectedFlagDefault () const
unsigned findOption (StringRef Name)

Additional Inherited Members

- Public Types inherited from llvm::cl::parser< std::optional< uint64_t > >
using parser_data_type = std::optional< uint64_t >
- Protected Attributes inherited from llvm::cl::parser< std::optional< uint64_t > >
SmallVector< OptionInfo, 8 > Values
- Protected Attributes inherited from llvm::cl::generic_parser_base

Detailed Description

Definition at line 45 of file HotnessThresholdParser.h.

Constructor & Destructor Documentation

◆ HotnessThresholdParser()

llvm::remarks::HotnessThresholdParser::HotnessThresholdParser ( cl::Option O)

Definition at line 47 of file HotnessThresholdParser.h.

Member Function Documentation

◆ parse()

bool llvm::remarks::HotnessThresholdParser::parse ( cl::Option O,
StringRef  ArgName,
StringRef  Arg,
std::optional< uint64_t > &  V 

The documentation for this class was generated from the following file: