LLVM 24.0.0git
llvm::VGPRThresholdParser Struct Reference

#include "Target/AMDGPU/GCNSchedStrategy.h"

Inheritance diagram for llvm::VGPRThresholdParser:
[legend]

Public Member Functions

 VGPRThresholdParser (cl::Option &O)
bool parse (cl::Option &O, StringRef ArgName, StringRef Arg, unsigned &Value)
Public Member Functions inherited from llvm::cl::parser< unsigned >
 parser (Option &O)
bool parse (Option &O, StringRef ArgName, StringRef Arg, unsigned &Val)
StringRef getValueName () const override
void printOptionDiff (const Option &O, unsigned V, OptVal Default, size_t GlobalWidth) const
void anchor () override
unsigned getNumOptions () const override
StringRef getOption (unsigned N) const override
StringRef getDescription (unsigned N) const override
const GenericOptionValue & getOptionValue (unsigned N) const override
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 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)
Public Member Functions inherited from llvm::cl::basic_parser< unsigned >
 basic_parser (Option &O)
Public Member Functions inherited from llvm::cl::basic_parser_impl
 basic_parser_impl (Option &)
virtual ~basic_parser_impl ()=default
enum ValueExpected getValueExpectedFlagDefault () const
void getExtraOptionNames (SmallVectorImpl< StringRef > &)
void initialize ()
size_t getOptionWidth (const Option &O) const
void printOptionInfo (const Option &O, size_t GlobalWidth) const
void printOptionNoValue (const Option &O, size_t GlobalWidth) const

Additional Inherited Members

Public Types inherited from llvm::cl::parser< unsigned >
using parser_data_type
Public Types inherited from llvm::cl::basic_parser< unsigned >
using parser_data_type
using OptVal
Protected Member Functions inherited from llvm::cl::basic_parser_impl
void printOptionName (const Option &O, size_t GlobalWidth) const
Protected Attributes inherited from llvm::cl::parser< unsigned >
SmallVector< OptionInfo, 8 > Values
Protected Attributes inherited from llvm::cl::generic_parser_base
Option & Owner

Detailed Description

Definition at line 27 of file GCNSchedStrategy.h.

Constructor & Destructor Documentation

◆ VGPRThresholdParser()

llvm::VGPRThresholdParser::VGPRThresholdParser ( cl::Option & O)
inline

Definition at line 28 of file GCNSchedStrategy.h.

References llvm::cl::parser< unsigned >::parser().

Member Function Documentation

◆ parse()

bool VGPRThresholdParser::parse ( cl::Option & O,
StringRef ArgName,
StringRef Arg,
unsigned & Value )

Definition at line 106 of file GCNSchedStrategy.cpp.

References llvm::StringRef::getAsInteger().


The documentation for this struct was generated from the following files: