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, PREFIXES_OFFSET, PREFIXED_NAME_OFFSET, ID, KIND, GROUP, ALIAS, ALIASARGS, FLAGS, VISIBILITY, PARAM, HELPTEXT, HELPTEXTSFORVARIANTS, METAVAR, VALUES)    ID_PREFIX##ID
 
#define LLVM_MAKE_OPT_ID(PREFIXES_OFFSET, PREFIXED_NAME_OFFSET, ID, KIND, GROUP, ALIAS, ALIASARGS, FLAGS, VISIBILITY, PARAM, HELPTEXT, HELPTEXTSFORVARIANTS, METAVAR, VALUES)
 
#define LLVM_CONSTRUCT_OPT_INFO_WITH_ID_PREFIX( ID_PREFIX, PREFIXES_OFFSET, PREFIXED_NAME_OFFSET, ID, KIND, GROUP, ALIAS, ALIASARGS, FLAGS, VISIBILITY, PARAM, HELPTEXT, HELPTEXTSFORVARIANTS, METAVAR, VALUES)
 
#define LLVM_CONSTRUCT_OPT_INFO( PREFIXES_OFFSET, PREFIXED_NAME_OFFSET, ID, KIND, GROUP, ALIAS, ALIASARGS, FLAGS, VISIBILITY, PARAM, HELPTEXT, HELPTEXTSFORVARIANTS, METAVAR, VALUES)
 

Macro Definition Documentation

◆ LLVM_CONSTRUCT_OPT_INFO

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

Definition at line 466 of file OptTable.h.

◆ LLVM_CONSTRUCT_OPT_INFO_WITH_ID_PREFIX

#define LLVM_CONSTRUCT_OPT_INFO_WITH_ID_PREFIX (   ID_PREFIX,
  PREFIXES_OFFSET,
  PREFIXED_NAME_OFFSET,
  ID,
  KIND,
  GROUP,
  ALIAS,
  ALIASARGS,
  FLAGS,
  VISIBILITY,
  PARAM,
  HELPTEXT,
  HELPTEXTSFORVARIANTS,
  METAVAR,
  VALUES 
)
Value:
PREFIXES_OFFSET, PREFIXED_NAME_OFFSET, 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 456 of file OptTable.h.

◆ LLVM_MAKE_OPT_ID

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

Definition at line 448 of file OptTable.h.

◆ LLVM_MAKE_OPT_ID_WITH_ID_PREFIX

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

Definition at line 442 of file OptTable.h.