LLVM  13.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
Collaboration diagram for llvm::remarks::HotnessThresholdParser:
Collaboration graph

Public Member Functions

 HotnessThresholdParser (cl::Option &O)
bool parse (cl::Option &O, StringRef ArgName, StringRef Arg, Optional< uint64_t > &V)
- Public Member Functions inherited from llvm::cl::parser< 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, Optional< uint64_t > &V)
void addLiteralOption (StringRef Name, const DT &V, StringRef HelpStr)
 addLiteralOption - Add an entry to the mapping table. More...
void removeLiteralOption (StringRef Name)
 removeLiteralOption - Remove the specified option. More...
- 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 size_t getOptionWidth (const Option &O) const
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< Optional< uint64_t > >
using parser_data_type = Optional< uint64_t >
- Protected Attributes inherited from llvm::cl::parser< 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,
Optional< uint64_t > &  V 

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