LLVM 20.0.0git
Classes | Namespaces | Macros
OptTable.h File Reference
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Option/OptSpecifier.h"
#include "llvm/Support/StringSaver.h"
#include <cassert>
#include <string>
#include <vector>

Go to the source code of this file.

Classes

class  llvm::opt::Visibility
 Helper for overload resolution while transitioning from FlagsToInclude/FlagsToExclude APIs to VisibilityMask APIs. More...
 
class  llvm::opt::OptTable
 Provide access to the Option info table. More...
 
struct  llvm::opt::OptTable::Info
 Entry for a single option instance in the option data table. More...
 
class  llvm::opt::GenericOptTable
 Specialization of OptTable. More...
 
class  llvm::opt::PrecomputedOptTable
 

Namespaces

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

Macros

#define LLVM_MAKE_OPT_ID_WITH_ID_PREFIX( ID_PREFIX, PREFIX, PREFIXED_NAME, ID, KIND, GROUP, ALIAS, ALIASARGS, FLAGS, VISIBILITY, PARAM, HELPTEXT, HELPTEXTSFORVARIANTS, METAVAR, VALUES)    ID_PREFIX##ID
 
#define LLVM_MAKE_OPT_ID(PREFIX, PREFIXED_NAME, ID, KIND, GROUP, ALIAS, ALIASARGS, FLAGS, VISIBILITY, PARAM, HELPTEXT, HELPTEXTSFORVARIANTS, METAVAR, VALUES)
 
#define LLVM_CONSTRUCT_OPT_INFO_WITH_ID_PREFIX( ID_PREFIX, PREFIX, PREFIXED_NAME, ID, KIND, GROUP, ALIAS, ALIASARGS, FLAGS, VISIBILITY, PARAM, HELPTEXT, HELPTEXTSFORVARIANTS, METAVAR, VALUES)
 
#define LLVM_CONSTRUCT_OPT_INFO(PREFIX, PREFIXED_NAME, ID, KIND, GROUP, ALIAS, ALIASARGS, FLAGS, VISIBILITY, PARAM, HELPTEXT, HELPTEXTSFORVARIANTS, METAVAR, VALUES)
 

Macro Definition Documentation

◆ LLVM_CONSTRUCT_OPT_INFO

#define LLVM_CONSTRUCT_OPT_INFO (   PREFIX,
  PREFIXED_NAME,
  ID,
  KIND,
  GROUP,
  ALIAS,
  ALIASARGS,
  FLAGS,
  VISIBILITY,
  PARAM,
  HELPTEXT,
  HELPTEXTSFORVARIANTS,
  METAVAR,
  VALUES 
)
Value:
OPT_, PREFIX, PREFIXED_NAME, ID, KIND, GROUP, ALIAS, ALIASARGS, FLAGS, \
VISIBILITY, PARAM, HELPTEXT, HELPTEXTSFORVARIANTS, METAVAR, VALUES)
#define PREFIX(NAME, VALUE)
#define KIND(ENUM, FIELD)
Definition: LVSupport.h:96
#define LLVM_CONSTRUCT_OPT_INFO_WITH_ID_PREFIX( ID_PREFIX, PREFIX, PREFIXED_NAME, ID, KIND, GROUP, ALIAS, ALIASARGS, FLAGS, VISIBILITY, PARAM, HELPTEXT, HELPTEXTSFORVARIANTS, METAVAR, VALUES)
Definition: OptTable.h:396

Definition at line 405 of file OptTable.h.

◆ LLVM_CONSTRUCT_OPT_INFO_WITH_ID_PREFIX

#define LLVM_CONSTRUCT_OPT_INFO_WITH_ID_PREFIX (   ID_PREFIX,
  PREFIX,
  PREFIXED_NAME,
  ID,
  KIND,
  GROUP,
  ALIAS,
  ALIASARGS,
  FLAGS,
  VISIBILITY,
  PARAM,
  HELPTEXT,
  HELPTEXTSFORVARIANTS,
  METAVAR,
  VALUES 
)
Value:
PREFIX, PREFIXED_NAME, HELPTEXT, HELPTEXTSFORVARIANTS, METAVAR, \
ID_PREFIX##ID, llvm::opt::Option::KIND##Class, PARAM, FLAGS, \
VISIBILITY, ID_PREFIX##GROUP, ID_PREFIX##ALIAS, ALIASARGS, VALUES \
}
Entry for a single option instance in the option data table.
Definition: OptTable.h:55

Definition at line 396 of file OptTable.h.

◆ LLVM_MAKE_OPT_ID

#define LLVM_MAKE_OPT_ID (   PREFIX,
  PREFIXED_NAME,
  ID,
  KIND,
  GROUP,
  ALIAS,
  ALIASARGS,
  FLAGS,
  VISIBILITY,
  PARAM,
  HELPTEXT,
  HELPTEXTSFORVARIANTS,
  METAVAR,
  VALUES 
)
Value:
OPT_, PREFIX, PREFIXED_NAME, ID, KIND, GROUP, ALIAS, ALIASARGS, FLAGS, \
VISIBILITY, PARAM, HELPTEXT, HELPTEXTSFORVARIANTS, METAVAR, VALUE)
#define LLVM_MAKE_OPT_ID_WITH_ID_PREFIX( ID_PREFIX, PREFIX, PREFIXED_NAME, ID, KIND, GROUP, ALIAS, ALIASARGS, FLAGS, VISIBILITY, PARAM, HELPTEXT, HELPTEXTSFORVARIANTS, METAVAR, VALUES)
Definition: OptTable.h:384

Definition at line 389 of file OptTable.h.

◆ LLVM_MAKE_OPT_ID_WITH_ID_PREFIX

#define LLVM_MAKE_OPT_ID_WITH_ID_PREFIX (   ID_PREFIX,
  PREFIX,
  PREFIXED_NAME,
  ID,
  KIND,
  GROUP,
  ALIAS,
  ALIASARGS,
  FLAGS,
  VISIBILITY,
  PARAM,
  HELPTEXT,
  HELPTEXTSFORVARIANTS,
  METAVAR,
  VALUES 
)     ID_PREFIX##ID

Definition at line 384 of file OptTable.h.