LLVM 24.0.0git
LibraryOptions.h File Reference
#include "llvm/ADT/StringExtras.h"
#include "llvm/Option/Arg.h"
#include "llvm/Option/OptTable.h"
#include "llvm/Option/Option.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Compiler.h"
#include <optional>
#include <type_traits>

Go to the source code of this file.

Classes

class  llvm::opt::LibraryOptTable
 An OptTable with a public constructor, shared by every options struct. More...
class  llvm::opt::LibraryOptionsParser
 Connects an options struct to cl::ParseCommandLineOptions. More...
class  llvm::opt::RegisterLibraryOptions< T >
 Registers T::Global with cl::ParseCommandLineOptions. More...

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
namespace  llvm::opt

Functions

bool llvm::opt::parseArgValue (StringRef S, bool &V)
bool llvm::opt::parseArgValue (StringRef S, StringRef &V)
template<typename T>
std::enable_if_t< std::is_arithmetic_v< T > &&!std::is_same_v< T, bool >, bool > llvm::opt::parseArgValue (StringRef S, T &V)
template<typename T>
bool llvm::opt::parseArgValue (StringRef S, std::optional< T > &V)