reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/CodeGen/CommandFlags.inc
   46         clEnumValN(Reloc::Static, "static", "Non-relocatable code"),
   47         clEnumValN(Reloc::PIC_, "pic",
   49         clEnumValN(Reloc::DynamicNoPIC, "dynamic-no-pic",
   51         clEnumValN(Reloc::ROPI, "ropi",
   53         clEnumValN(
   56         clEnumValN(Reloc::ROPI_RWPI, "ropi-rwpi",
   70     cl::values(clEnumValN(ThreadModel::POSIX, "posix", "POSIX thread model"),
   71                clEnumValN(ThreadModel::Single, "single",
   76     cl::values(clEnumValN(CodeModel::Tiny, "tiny", "Tiny code model"),
   77                clEnumValN(CodeModel::Small, "small", "Small code model"),
   78                clEnumValN(CodeModel::Kernel, "kernel", "Kernel code model"),
   79                clEnumValN(CodeModel::Medium, "medium", "Medium code model"),
   80                clEnumValN(CodeModel::Large, "large", "Large code model")));
   94         clEnumValN(ExceptionHandling::None, "default",
   96         clEnumValN(ExceptionHandling::DwarfCFI, "dwarf",
   98         clEnumValN(ExceptionHandling::SjLj, "sjlj", "SjLj exception handling"),
   99         clEnumValN(ExceptionHandling::ARM, "arm", "ARM EHABI exceptions"),
  100         clEnumValN(ExceptionHandling::WinEH, "wineh",
  102         clEnumValN(ExceptionHandling::Wasm, "wasm",
  109     cl::values(clEnumValN(TargetMachine::CGFT_AssemblyFile, "asm",
  111                clEnumValN(TargetMachine::CGFT_ObjectFile, "obj",
  113                clEnumValN(TargetMachine::CGFT_Null, "null",
  120         clEnumValN(llvm::FramePointer::All, "all",
  122         clEnumValN(llvm::FramePointer::NonLeaf, "non-leaf",
  124         clEnumValN(llvm::FramePointer::None, "none",
  158     cl::values(clEnumValN(FPDenormal::IEEE, "ieee",
  160                clEnumValN(FPDenormal::PreserveSign, "preserve-sign",
  163                clEnumValN(FPDenormal::PositiveZero, "positive-zero",
  173     cl::values(clEnumValN(FloatABI::Default, "default",
  175                clEnumValN(FloatABI::Soft, "soft",
  177                clEnumValN(FloatABI::Hard, "hard",
  184         clEnumValN(FPOpFusion::Fast, "fast", "Fuse FP ops whenever profitable"),
  185         clEnumValN(FPOpFusion::Standard, "on", "Only fuse 'blessed' FP ops."),
  186         clEnumValN(FPOpFusion::Strict, "off",
  253                 cl::values(clEnumValN(EABI::Default, "default",
  255                            clEnumValN(EABI::EABI4, "4", "EABI version 4"),
  256                            clEnumValN(EABI::EABI5, "5", "EABI version 5"),
  257                            clEnumValN(EABI::GNU, "gnu", "EABI GNU")));
  262     cl::values(clEnumValN(DebuggerKind::GDB, "gdb", "gdb"),
  263                clEnumValN(DebuggerKind::LLDB, "lldb", "lldb"),
  264                clEnumValN(DebuggerKind::SCE, "sce", "SCE targets (e.g. PS4)")));
lib/Analysis/BlockFrequencyInfo.cpp
   39     cl::values(clEnumValN(GVDT_None, "none", "do not display graphs."),
   40                clEnumValN(GVDT_Fraction, "fraction",
   43                clEnumValN(GVDT_Integer, "integer",
   46                clEnumValN(GVDT_Count, "count", "display a graph using the real "
   76     cl::values(clEnumValN(PGOVCT_None, "none", "do not show."),
   77                clEnumValN(PGOVCT_Graph, "graph", "show a graph."),
   78                clEnumValN(PGOVCT_Text, "text", "show in text.")));
lib/Analysis/CostModel.cpp
   32     cl::values(clEnumValN(TargetTransformInfo::TCK_RecipThroughput,
   34                clEnumValN(TargetTransformInfo::TCK_Latency,
   36                clEnumValN(TargetTransformInfo::TCK_CodeSize,
lib/Analysis/ModuleSummaryAnalysis.cpp
   68     cl::values(clEnumValN(FunctionSummary::FSHT_None, "none", "None."),
   69                clEnumValN(FunctionSummary::FSHT_AllNonCritical,
   71                clEnumValN(FunctionSummary::FSHT_All, "all", "All edges.")));
lib/Analysis/RegionInfo.cpp
   53     clEnumValN(Region::PrintNone, "none",  "print no details"),
   54     clEnumValN(Region::PrintBB, "bb",
   56     clEnumValN(Region::PrintRN, "rn",
lib/Analysis/TargetLibraryInfo.cpp
   22     cl::values(clEnumValN(TargetLibraryInfoImpl::NoLibrary, "none",
   24                clEnumValN(TargetLibraryInfoImpl::Accelerate, "Accelerate",
   26                clEnumValN(TargetLibraryInfoImpl::MASSV, "MASSV",
   28                clEnumValN(TargetLibraryInfoImpl::SVML, "SVML",
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
  123     cl::values(clEnumValN(AccelTableKind::Default, "Default",
  125                clEnumValN(AccelTableKind::None, "Disable", "Disabled."),
  126                clEnumValN(AccelTableKind::Apple, "Apple", "Apple"),
  127                clEnumValN(AccelTableKind::Dwarf, "Dwarf", "DWARF")),
  159                       cl::values(clEnumValN(DefaultLinkageNames, "Default",
  161                                  clEnumValN(AllLinkageNames, "All", "All"),
  162                                  clEnumValN(AbstractLinkageNames, "Abstract",
lib/CodeGen/GlobalISel/RegBankSelect.cpp
   55     cl::values(clEnumValN(RegBankSelect::Mode::Fast, "regbankselect-fast",
   57                clEnumValN(RegBankSelect::Mode::Greedy, "regbankselect-greedy",
lib/CodeGen/MachineBlockFrequencyInfo.cpp
   35     cl::values(clEnumValN(GVDT_None, "none", "do not display graphs."),
   36                clEnumValN(GVDT_Fraction, "fraction",
   39                clEnumValN(GVDT_Integer, "integer",
   42                clEnumValN(GVDT_Count, "count", "display a graph using the real "
   51     cl::values(clEnumValN(GVDT_None, "none", "do not display graphs."),
   52                clEnumValN(GVDT_Fraction, "fraction",
   55                clEnumValN(GVDT_Integer, "integer",
   58                clEnumValN(GVDT_Count, "count",
lib/CodeGen/RegAllocGreedy.cpp
   91     cl::values(clEnumValN(SplitEditor::SM_Partition, "default", "Default"),
   92                clEnumValN(SplitEditor::SM_Size, "size", "Optimize for size"),
   93                clEnumValN(SplitEditor::SM_Speed, "speed", "Optimize for speed")),
lib/CodeGen/TargetPassConfig.cpp
  121     cl::values(clEnumValN(AlwaysOutline, "always",
  123                clEnumValN(NeverOutline, "never", "Disable all outlining"),
  125                clEnumValN(AlwaysOutline, "", "")));
  146         clEnumValN(GlobalISelAbortMode::Disable, "0", "Disable the abort"),
  147         clEnumValN(GlobalISelAbortMode::Enable, "1", "Enable the abort"),
  148         clEnumValN(GlobalISelAbortMode::DisableWithDiag, "2",
  170     cl::values(clEnumValN(CFLAAType::None, "none", "Disable CFL-AA"),
  171                clEnumValN(CFLAAType::Steensgaard, "steens",
  173                clEnumValN(CFLAAType::Andersen, "anders",
  175                clEnumValN(CFLAAType::Both, "both",
lib/Target/AArch64/AArch64StackTaggingPreRA.cpp
   47         clEnumValN(UncheckedNever, "never", "never apply unchecked-ld-st"),
   48         clEnumValN(
   51         clEnumValN(UncheckedAlways, "always", "always apply unchecked-ld-st")));
lib/Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.cpp
   30     cl::values(clEnumValN(Generic, "generic", "Emit generic NEON assembly"),
   31                clEnumValN(Apple, "apple", "Emit Apple-style NEON assembly")));
lib/Target/ARM/ARMSubtarget.cpp
   62    cl::values(clEnumValN(DefaultIT, "arm-default-it",
   64               clEnumValN(RestrictedIT, "arm-restrict-it",
   66               clEnumValN(NoRestrictedIT, "arm-no-restrict-it",
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
   84     cl::values(clEnumValN(ImplicitItModeTy::Always, "always",
   86                clEnumValN(ImplicitItModeTy::Never, "never",
   88                clEnumValN(ImplicitItModeTy::ARMOnly, "arm",
   90                clEnumValN(ImplicitItModeTy::ThumbOnly, "thumb",
lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp
   80         clEnumValN(Hexagon::ArchEnum::V60, "v60", "Build for HVX v60"),
   81         clEnumValN(Hexagon::ArchEnum::V62, "v62", "Build for HVX v62"),
   82         clEnumValN(Hexagon::ArchEnum::V65, "v65", "Build for HVX v65"),
   83         clEnumValN(Hexagon::ArchEnum::V66, "v66", "Build for HVX v66"),
   85         clEnumValN(Hexagon::ArchEnum::Generic, "", "")),
lib/Target/MSP430/MSP430Subtarget.cpp
   26              clEnumValN(MSP430Subtarget::NoHWMult, "none",
   28              clEnumValN(MSP430Subtarget::HWMult16, "16bit",
   30              clEnumValN(MSP430Subtarget::HWMult32, "32bit",
   32              clEnumValN(MSP430Subtarget::HWMultF5, "f5series",
lib/Target/Mips/MipsDelaySlotFiller.cpp
   98     clEnumValN(CB_Never, "never", "Do not use compact branches if possible."),
   99     clEnumValN(CB_Optimal, "optimal", "Use compact branches where appropiate (default)."),
  100     clEnumValN(CB_Always, "always", "Always use compact branches if possible.")
lib/Target/PowerPC/PPCISelDAGToDAG.cpp
  117   cl::values(clEnumValN(ICGPR_None, "none", "Do not modify integer comparisons."),
  118              clEnumValN(ICGPR_All, "all", "All possible int comparisons in GPRs."),
  119              clEnumValN(ICGPR_I32, "i32", "Only i32 comparisons in GPRs."),
  120              clEnumValN(ICGPR_I64, "i64", "Only i64 comparisons in GPRs."),
  121              clEnumValN(ICGPR_NonExtIn, "nonextin",
  123              clEnumValN(ICGPR_Zext, "zext", "Only comparisons with zext result."),
  124              clEnumValN(ICGPR_ZextI32, "zexti32",
  126              clEnumValN(ICGPR_ZextI64, "zexti64",
  128              clEnumValN(ICGPR_Sext, "sext", "Only comparisons with sext result."),
  129              clEnumValN(ICGPR_SextI32, "sexti32",
  131              clEnumValN(ICGPR_SextI64, "sexti64",
lib/Target/X86/MCTargetDesc/X86MCAsmInfo.cpp
   29     cl::values(clEnumValN(ATT, "att", "Emit AT&T-style assembly"),
   30                clEnumValN(Intel, "intel", "Emit Intel-style assembly")));
lib/Transforms/IPO/Inliner.cpp
  109     cl::values(clEnumValN(InlinerFunctionImportStatsOpts::Basic, "basic",
  111                clEnumValN(InlinerFunctionImportStatsOpts::Verbose, "verbose",
lib/Transforms/IPO/LowerTypeTests.cpp
  102     cl::values(clEnumValN(PassSummaryAction::None, "none", "Do nothing"),
  103                clEnumValN(PassSummaryAction::Import, "import",
  105                clEnumValN(PassSummaryAction::Export, "export",
lib/Transforms/IPO/PassManagerBuilder.cpp
   77              cl::values(clEnumValN(CFLAAType::None, "none", "Disable CFL-AA"),
   78                         clEnumValN(CFLAAType::Steensgaard, "steens",
   80                         clEnumValN(CFLAAType::Andersen, "anders",
   82                         clEnumValN(CFLAAType::Both, "both",
lib/Transforms/IPO/WholeProgramDevirt.cpp
  107     cl::values(clEnumValN(PassSummaryAction::None, "none", "Do nothing"),
  108                clEnumValN(PassSummaryAction::Import, "import",
  110                clEnumValN(PassSummaryAction::Export, "export",
lib/Transforms/Instrumentation/PGOInstrumentation.cpp
  232     cl::values(clEnumValN(PGOVCT_None, "none", "do not show."),
  233                clEnumValN(PGOVCT_Graph, "graph", "show a graph."),
  234                clEnumValN(PGOVCT_Text, "text", "show in text.")));
lib/Transforms/Scalar/IndVarSimplify.cpp
  110     cl::values(clEnumValN(NeverRepl, "never", "never replace exit value"),
  111                clEnumValN(OnlyCheapRepl, "cheap",
  113                clEnumValN(NoHardUse, "noharduse",
  115                clEnumValN(AlwaysRepl, "always",
lib/Transforms/Scalar/LoopFuse.cpp
  101     cl::values(clEnumValN(FUSION_DEPENDENCE_ANALYSIS_SCEV, "scev",
  103                clEnumValN(FUSION_DEPENDENCE_ANALYSIS_DA, "da",
  105                clEnumValN(FUSION_DEPENDENCE_ANALYSIS_ALL, "all",
tools/bugpoint/ExecutionDriver.cpp
   50     cl::values(clEnumValN(AutoPick, "auto", "Use best guess"),
   51                clEnumValN(RunLLI, "run-int", "Execute with the interpreter"),
   52                clEnumValN(RunJIT, "run-jit", "Execute with JIT"),
   53                clEnumValN(RunLLC, "run-llc", "Compile with LLC"),
   54                clEnumValN(RunLLCIA, "run-llc-ia",
   56                clEnumValN(LLC_Safe, "llc-safe", "Use LLC for all"),
   57                clEnumValN(CompileCustom, "compile-custom",
   60                clEnumValN(Custom, "run-custom",
   67     cl::values(clEnumValN(AutoPick, "safe-auto", "Use best guess"),
   68                clEnumValN(RunLLC, "safe-run-llc", "Compile with LLC"),
   69                clEnumValN(Custom, "safe-run-custom",
tools/clang/tools/c-index-test/core_main.cpp
   47           clEnumValN(ActionType::PrintSourceSymbols,
tools/clang/tools/clang-scan-deps/ClangScanDeps.cpp
   51         clEnumValN(ScanningMode::MinimizedSourcePreprocessing,
   56         clEnumValN(ScanningMode::CanonicalPreprocessing, "preprocess",
tools/clang/tools/extra/clang-doc/tool/ClangDocMain.cpp
  103                llvm::cl::values(clEnumValN(OutputFormatTy::yaml, "yaml",
  105                                 clEnumValN(OutputFormatTy::md, "md",
  107                                 clEnumValN(OutputFormatTy::html, "html",
tools/clang/tools/extra/clangd/indexer/IndexerMain.cpp
   32            llvm::cl::values(clEnumValN(IndexFileFormat::YAML, "yaml",
   34                             clEnumValN(IndexFileFormat::RIFF, "binary",
tools/clang/tools/extra/clangd/tool/ClangdMain.cpp
   66     values(clEnumValN(LSPCompileArgs, "lsp",
   69            clEnumValN(FilesystemCompileArgs, "filesystem",
  149     values(clEnumValN(CodeCompleteOptions::AlwaysParse, "always",
  151            clEnumValN(CodeCompleteOptions::ParseIfReady, "auto",
  154            clEnumValN(CodeCompleteOptions::NeverParse, "never",
  166     values(clEnumValN(Detailed, "detailed",
  169            clEnumValN(Bundled, "bundled",
  198         clEnumValN(CodeCompleteOptions::IWYU, "iwyu",
  203         clEnumValN(
  304         clEnumValN(PCHStorageFlag::Disk, "disk", "store PCHs on disk"),
  305         clEnumValN(PCHStorageFlag::Memory, "memory", "store PCHs in memory")),
  323         clEnumValN(JSONStreamStyle::Standard, "standard", "usual LSP protocol"),
  324         clEnumValN(JSONStreamStyle::Delimited, "delimited",
  350     values(clEnumValN(Logger::Error, "error", "Error messages only"),
  351            clEnumValN(Logger::Info, "info", "High level execution tracing"),
  352            clEnumValN(Logger::Debug, "verbose", "Low level details")),
  362         clEnumValN(OffsetEncoding::UTF8, "utf-8", "Offsets are in UTF-8 bytes"),
  363         clEnumValN(OffsetEncoding::UTF16, "utf-16",
  365         clEnumValN(OffsetEncoding::UTF32, "utf-32",
tools/clang/utils/TableGen/TableGen.cpp
   80         clEnumValN(PrintRecords, "print-records",
   82         clEnumValN(DumpJSON, "dump-json",
   84         clEnumValN(GenClangAttrClasses, "gen-clang-attr-classes",
   86         clEnumValN(GenClangAttrParserStringSwitches,
   89         clEnumValN(GenClangAttrSubjectMatchRulesParserStringSwitches,
   93         clEnumValN(GenClangAttrImpl, "gen-clang-attr-impl",
   95         clEnumValN(GenClangAttrList, "gen-clang-attr-list",
   97         clEnumValN(GenClangAttrSubjectMatchRuleList,
  100         clEnumValN(GenClangAttrPCHRead, "gen-clang-attr-pch-read",
  102         clEnumValN(GenClangAttrPCHWrite, "gen-clang-attr-pch-write",
  104         clEnumValN(GenClangAttrHasAttributeImpl,
  107         clEnumValN(GenClangAttrSpellingListIndex,
  110         clEnumValN(GenClangAttrASTVisitor, "gen-clang-attr-ast-visitor",
  112         clEnumValN(GenClangAttrTemplateInstantiate,
  115         clEnumValN(GenClangAttrParsedAttrList,
  118         clEnumValN(GenClangAttrParsedAttrImpl,
  121         clEnumValN(GenClangAttrParsedAttrKinds,
  124         clEnumValN(GenClangAttrTextNodeDump, "gen-clang-attr-text-node-dump",
  126         clEnumValN(GenClangAttrNodeTraverse, "gen-clang-attr-node-traverse",
  128         clEnumValN(GenClangDiagsDefs, "gen-clang-diags-defs",
  130         clEnumValN(GenClangDiagGroups, "gen-clang-diag-groups",
  132         clEnumValN(GenClangDiagsIndexName, "gen-clang-diags-index-name",
  134         clEnumValN(GenClangCommentNodes, "gen-clang-comment-nodes",
  136         clEnumValN(GenClangDeclNodes, "gen-clang-decl-nodes",
  138         clEnumValN(GenClangStmtNodes, "gen-clang-stmt-nodes",
  140         clEnumValN(GenClangTypeNodes, "gen-clang-type-nodes",
  142         clEnumValN(GenClangOpcodes, "gen-clang-opcodes",
  144         clEnumValN(GenClangSACheckers, "gen-clang-sa-checkers",
  146         clEnumValN(GenClangCommentHTMLTags, "gen-clang-comment-html-tags",
  149         clEnumValN(GenClangCommentHTMLTagsProperties,
  153         clEnumValN(GenClangCommentHTMLNamedCharacterReferences,
  157         clEnumValN(GenClangCommentCommandInfo, "gen-clang-comment-command-info",
  160         clEnumValN(GenClangCommentCommandList, "gen-clang-comment-command-list",
  163         clEnumValN(GenClangOpenCLBuiltins, "gen-clang-opencl-builtins",
  165         clEnumValN(GenArmNeon, "gen-arm-neon", "Generate arm_neon.h for clang"),
  166         clEnumValN(GenArmFP16, "gen-arm-fp16", "Generate arm_fp16.h for clang"),
  167         clEnumValN(GenArmNeonSema, "gen-arm-neon-sema",
  169         clEnumValN(GenArmNeonTest, "gen-arm-neon-test",
  171         clEnumValN(GenArmMveHeader, "gen-arm-mve-header",
  173         clEnumValN(GenArmMveBuiltinDef, "gen-arm-mve-builtin-def",
  175         clEnumValN(GenArmMveBuiltinSema, "gen-arm-mve-builtin-sema",
  177         clEnumValN(GenArmMveBuiltinCG, "gen-arm-mve-builtin-codegen",
  179         clEnumValN(GenArmMveBuiltinAliases, "gen-arm-mve-builtin-aliases",
  181         clEnumValN(GenAttrDocs, "gen-attr-docs",
  183         clEnumValN(GenDiagDocs, "gen-diag-docs",
  185         clEnumValN(GenOptDocs, "gen-opt-docs", "Generate option documentation"),
  186         clEnumValN(GenDataCollectors, "gen-clang-data-collectors",
  188         clEnumValN(GenTestPragmaAttributeSupportedAttributes,
tools/lldb/tools/lldb-test/lldb-test.cpp
  123         clEnumValN(FindType::None, "none", "No search, just dump the module."),
  124         clEnumValN(FindType::Function, "function", "Find functions."),
  125         clEnumValN(FindType::Block, "block", "Find blocks."),
  126         clEnumValN(FindType::Namespace, "namespace", "Find namespaces."),
  127         clEnumValN(FindType::Type, "type", "Find types."),
  128         clEnumValN(FindType::Variable, "variable", "Find global variables.")),
  154     cl::values(clEnumValN(eFunctionNameTypeAuto, "auto",
  156                clEnumValN(eFunctionNameTypeFull, "full", "Full function name."),
  157                clEnumValN(eFunctionNameTypeBase, "base", "Base name."),
  158                clEnumValN(eFunctionNameTypeMethod, "method", "Method name."),
  159                clEnumValN(eFunctionNameTypeSelector, "selector",
tools/lldb/utils/TableGen/LLDBTableGen.cpp
   34     cl::values(clEnumValN(PrintRecords, "print-records",
   36                clEnumValN(DumpJSON, "dump-json",
   38                clEnumValN(GenOptionDefs, "gen-lldb-option-defs",
   40                clEnumValN(GenPropertyDefs, "gen-lldb-property-defs",
   42                clEnumValN(GenPropertyEnumDefs, "gen-lldb-property-enum-defs",
tools/lli/lli.cpp
   89       cl::values(clEnumValN(JITKind::MCJIT, "mcjit", "MCJIT"),
   90                  clEnumValN(JITKind::OrcMCJITReplacement, "orc-mcjit",
   93                  clEnumValN(JITKind::OrcLazy, "orc-lazy",
  210       cl::values(clEnumValN(DumpKind::NoDump, "no-dump",
  212                  clEnumValN(DumpKind::DumpFuncsToStdOut, "funcs-to-stdout",
  214                  clEnumValN(DumpKind::DumpModsToStdOut, "mods-to-stdout",
  216                  clEnumValN(DumpKind::DumpModsToDisk, "mods-to-disk",
tools/llvm-cov/CodeCoverage.cpp
  566       cl::values(clEnumValN(CoverageViewOptions::OutputFormat::Text, "text",
  568                  clEnumValN(CoverageViewOptions::OutputFormat::HTML, "html",
  570                  clEnumValN(CoverageViewOptions::OutputFormat::Lcov, "lcov",
tools/llvm-cxxfilt/llvm-cxxfilt.cpp
   32            cl::values(clEnumValN(Auto, "auto", "auto-detect style"),
   33                       clEnumValN(GNU, "gnu", "GNU (itanium) style")),
tools/llvm-elfabi/llvm-elfabi.cpp
   38     cl::values(clEnumValN(FileFormat::TBE,
   40                clEnumValN(FileFormat::ELF,
tools/llvm-exegesis/llvm-exegesis.cpp
   73     cl::values(clEnumValN(exegesis::InstructionBenchmark::Latency, "latency",
   75                clEnumValN(exegesis::InstructionBenchmark::InverseThroughput,
   78                clEnumValN(exegesis::InstructionBenchmark::Uops, "uops",
   82                clEnumValN(exegesis::InstructionBenchmark::Unknown, "analysis",
   88     cl::values(clEnumValN(exegesis::InstructionBenchmark::Duplicate,
   90                clEnumValN(exegesis::InstructionBenchmark::Loop, "loop",
  113         cl::values(clEnumValN(exegesis::InstructionBenchmarkClustering::Dbscan,
  115                    clEnumValN(exegesis::InstructionBenchmarkClustering::Naive,
tools/llvm-lto/llvm-lto.cpp
  117         clEnumValN(
  120         clEnumValN(THINDISTRIBUTE, "distributedindexes",
  122         clEnumValN(THINEMITIMPORTS, "emitimports",
  124         clEnumValN(THINPROMOTE, "promote",
  126         clEnumValN(THINIMPORT, "import", "Perform both promotion and "
  129         clEnumValN(THININTERNALIZE, "internalize",
  132         clEnumValN(THINOPT, "optimize", "Perform ThinLTO optimizations."),
  133         clEnumValN(THINCODEGEN, "codegen", "CodeGen (expected to match llc)"),
  134         clEnumValN(THINALL, "run", "Perform ThinLTO end-to-end")));
tools/llvm-mc/llvm-mc.cpp
   66     cl::values(clEnumValN(DebugCompressionType::None, "none", "No compression"),
   67                clEnumValN(DebugCompressionType::Z, "zlib",
   69                clEnumValN(DebugCompressionType::GNU, "zlib-gnu",
  103        clEnumValN(OFT_AssemblyFile, "asm",
  105        clEnumValN(OFT_Null, "null",
  107        clEnumValN(OFT_ObjectFile, "obj",
  183        cl::values(clEnumValN(AC_AsLex, "as-lex",
  185                   clEnumValN(AC_Assemble, "assemble",
  187                   clEnumValN(AC_Disassemble, "disassemble",
  189                   clEnumValN(AC_MDisassemble, "mdis",
tools/llvm-objdump/llvm-objdump.cpp
  175     cl::values(clEnumValN(DIDT_DebugFrame, "frames", ".debug_frame")),
tools/llvm-pdbutil/llvm-pdbutil.cpp
  132     clEnumValN(ModuleSubsection::CrossScopeExports, "cme",
  134     clEnumValN(ModuleSubsection::CrossScopeImports, "cmi",
  136     clEnumValN(ModuleSubsection::FileChecksums, "fc",
  138     clEnumValN(ModuleSubsection::InlineeLines, "ilines",
  140     clEnumValN(ModuleSubsection::Lines, "lines",
  142     clEnumValN(ModuleSubsection::StringTable, "strings",
  145     clEnumValN(ModuleSubsection::FrameData, "frames",
  147     clEnumValN(ModuleSubsection::Symbols, "symbols",
  150     clEnumValN(ModuleSubsection::CoffSymbolRVAs, "rvas",
  152     clEnumValN(ModuleSubsection::Unknown, "unknown",
  154     clEnumValN(ModuleSubsection::All, "all", "All known subsections"));
  229         clEnumValN(SymLevel::Thunks, "thunks", "Display thunk symbols"),
  230         clEnumValN(SymLevel::Data, "data", "Display data symbols"),
  231         clEnumValN(SymLevel::Functions, "funcs", "Display function symbols"),
  232         clEnumValN(SymLevel::All, "all", "Display all symbols (default)")));
  256     cl::values(clEnumValN(SymbolSortMode::None, "none",
  258                clEnumValN(SymbolSortMode::Name, "name", "Sort symbols by name"),
  259                clEnumValN(SymbolSortMode::Size, "size",
  266         clEnumValN(ClassSortMode::None, "none",
  268         clEnumValN(ClassSortMode::Name, "name", "Sort classes by name"),
  269         clEnumValN(ClassSortMode::Size, "size", "Sort classes by size"),
  270         clEnumValN(ClassSortMode::Padding, "padding",
  272         clEnumValN(ClassSortMode::PaddingPct, "padding-pct",
  274         clEnumValN(ClassSortMode::PaddingImmediate, "padding-imm",
  276         clEnumValN(ClassSortMode::PaddingPctImmediate, "padding-pct-imm",
  285         clEnumValN(ClassDefinitionFormat::All, "all",
  288         clEnumValN(ClassDefinitionFormat::Layout, "layout",
  290         clEnumValN(ClassDefinitionFormat::None, "none",
  711     cl::values(clEnumValN(InputFileType::PDBFile, "pdb-file",
  713                clEnumValN(InputFileType::PDBStream, "pdb-stream",
  715                clEnumValN(InputFileType::DBIStream, "dbi-stream",
  717                clEnumValN(InputFileType::Names, "names-stream",
  719                clEnumValN(InputFileType::ModuleStream, "mod-stream",
tools/llvm-profdata/llvm-profdata.cpp
  628           clEnumValN(PF_Binary, "binary", "Binary encoding (default)"),
  629           clEnumValN(PF_Compact_Binary, "compbinary",
  631           clEnumValN(PF_Ext_Binary, "extbinary", "Extensible binary encoding"),
  632           clEnumValN(PF_Text, "text", "Text encoding"),
  633           clEnumValN(PF_GCC, "gcc",
  637       cl::values(clEnumValN(failIfAnyAreInvalid, "any",
  639                  clEnumValN(failIfAllAreInvalid, "all",
tools/llvm-rtdyld/llvm-rtdyld.cpp
   61        cl::values(clEnumValN(AC_Execute, "execute",
   63                   clEnumValN(AC_PrintLineInfo, "printline",
   65                   clEnumValN(AC_PrintDebugLineInfo, "printdebugline",
   67                   clEnumValN(AC_PrintObjectLineInfo, "printobjline",
   69                   clEnumValN(AC_Verify, "verify",
tools/llvm-size/llvm-size.cpp
   48                       cl::values(clEnumValN(sysv, "A", "System V format"),
   49                                  clEnumValN(berkeley, "B", "Berkeley format"),
   50                                  clEnumValN(darwin, "m", "Darwin -m format")),
   80     cl::values(clEnumValN(octal, "8", "Print size in octal"),
   81                clEnumValN(decimal, "10", "Print size in decimal"),
   82                clEnumValN(hexadecimal, "16", "Print size in hexadecimal")),
   87     cl::values(clEnumValN(octal, "o", "Print size in octal"),
   88                clEnumValN(decimal, "d", "Print size in decimal"),
   89                clEnumValN(hexadecimal, "x", "Print size in hexadecimal")),
tools/llvm-strings/llvm-strings.cpp
   51           cl::values(clEnumValN(octal, "o", "octal"),
   52                      clEnumValN(hexadecimal, "x", "hexadecimal"),
   53                      clEnumValN(decimal, "d", "decimal")),
tools/llvm-symbolizer/llvm-symbolizer.cpp
   42     cl::values(clEnumValN(FunctionNameKind::None, "none", "omit function name"),
   43                clEnumValN(FunctionNameKind::ShortName, "short",
   45                clEnumValN(FunctionNameKind::LinkageName, "linkage",
   48                clEnumValN(FunctionNameKind::LinkageName, "", "")));
  156                   cl::values(clEnumValN(DIPrinter::OutputStyle::LLVM, "LLVM",
  158                              clEnumValN(DIPrinter::OutputStyle::GNU, "GNU",
tools/llvm-xray/xray-account.cpp
   57                         cl::values(clEnumValN(AccountOutputFormats::TEXT,
   59                                    clEnumValN(AccountOutputFormats::CSV, "csv",
   81     cl::values(clEnumValN(SortField::FUNCID, "funcid", "function id"),
   82                clEnumValN(SortField::COUNT, "count", "funciton call counts"),
   83                clEnumValN(SortField::MIN, "min", "minimum function durations"),
   84                clEnumValN(SortField::MED, "med", "median function durations"),
   85                clEnumValN(SortField::PCT90, "90p", "90th percentile durations"),
   86                clEnumValN(SortField::PCT99, "99p", "99th percentile durations"),
   87                clEnumValN(SortField::MAX, "max", "maximum function durations"),
   88                clEnumValN(SortField::SUM, "sum", "sum of call durations"),
   89                clEnumValN(SortField::FUNC, "func", "function names")));
  100     cl::values(clEnumValN(SortDirection::ASCENDING, "asc", "ascending"),
  101                clEnumValN(SortDirection::DESCENDING, "dsc", "descending")),
tools/llvm-xray/xray-converter.cpp
   39     cl::values(clEnumValN(ConvertFormats::BINARY, "raw", "output in binary"),
   40                clEnumValN(ConvertFormats::YAML, "yaml", "output in yaml"),
   41                clEnumValN(ConvertFormats::CHROME_TRACE_EVENT, "trace_event",
tools/llvm-xray/xray-graph-diff.cpp
  116     cl::values(clEnumValN(GraphRenderer::StatType::NONE, "none",
  118                clEnumValN(GraphRenderer::StatType::COUNT, "count",
  120                clEnumValN(GraphRenderer::StatType::MIN, "min",
  122                clEnumValN(GraphRenderer::StatType::MED, "med",
  124                clEnumValN(GraphRenderer::StatType::PCT90, "90p",
  126                clEnumValN(GraphRenderer::StatType::PCT99, "99p",
  128                clEnumValN(GraphRenderer::StatType::MAX, "max",
  130                clEnumValN(GraphRenderer::StatType::SUM, "sum",
  140     cl::values(clEnumValN(GraphRenderer::StatType::NONE, "none",
  142                clEnumValN(GraphRenderer::StatType::COUNT, "count",
  144                clEnumValN(GraphRenderer::StatType::MIN, "min",
  146                clEnumValN(GraphRenderer::StatType::MED, "med",
  148                clEnumValN(GraphRenderer::StatType::PCT90, "90p",
  150                clEnumValN(GraphRenderer::StatType::PCT99, "99p",
  152                clEnumValN(GraphRenderer::StatType::MAX, "max",
  154                clEnumValN(GraphRenderer::StatType::SUM, "sum",
  165     cl::values(clEnumValN(GraphRenderer::StatType::NONE, "none",
  167                clEnumValN(GraphRenderer::StatType::COUNT, "count",
  169                clEnumValN(GraphRenderer::StatType::MIN, "min",
  171                clEnumValN(GraphRenderer::StatType::MED, "med",
  173                clEnumValN(GraphRenderer::StatType::PCT90, "90p",
  175                clEnumValN(GraphRenderer::StatType::PCT99, "99p",
  177                clEnumValN(GraphRenderer::StatType::MAX, "max",
  179                clEnumValN(GraphRenderer::StatType::SUM, "sum",
  190     cl::values(clEnumValN(GraphRenderer::StatType::NONE, "none",
  192                clEnumValN(GraphRenderer::StatType::COUNT, "count",
  194                clEnumValN(GraphRenderer::StatType::MIN, "min",
  196                clEnumValN(GraphRenderer::StatType::MED, "med",
  198                clEnumValN(GraphRenderer::StatType::PCT90, "90p",
  200                clEnumValN(GraphRenderer::StatType::PCT99, "99p",
  202                clEnumValN(GraphRenderer::StatType::MAX, "max",
  204                clEnumValN(GraphRenderer::StatType::SUM, "sum",
tools/llvm-xray/xray-graph.cpp
   66                    cl::values(clEnumValN(GraphRenderer::StatType::NONE, "none",
   68                               clEnumValN(GraphRenderer::StatType::COUNT,
   70                               clEnumValN(GraphRenderer::StatType::MIN, "min",
   72                               clEnumValN(GraphRenderer::StatType::MED, "med",
   74                               clEnumValN(GraphRenderer::StatType::PCT90, "90p",
   76                               clEnumValN(GraphRenderer::StatType::PCT99, "99p",
   78                               clEnumValN(GraphRenderer::StatType::MAX, "max",
   80                               clEnumValN(GraphRenderer::StatType::SUM, "sum",
   91     cl::values(clEnumValN(GraphRenderer::StatType::NONE, "none",
   93                clEnumValN(GraphRenderer::StatType::COUNT, "count",
   95                clEnumValN(GraphRenderer::StatType::MIN, "min",
   97                clEnumValN(GraphRenderer::StatType::MED, "med",
   99                clEnumValN(GraphRenderer::StatType::PCT90, "90p",
  101                clEnumValN(GraphRenderer::StatType::PCT99, "99p",
  103                clEnumValN(GraphRenderer::StatType::MAX, "max",
  105                clEnumValN(GraphRenderer::StatType::SUM, "sum",
  116     cl::values(clEnumValN(GraphRenderer::StatType::NONE, "none",
  118                clEnumValN(GraphRenderer::StatType::COUNT, "count",
  120                clEnumValN(GraphRenderer::StatType::MIN, "min",
  122                clEnumValN(GraphRenderer::StatType::MED, "med",
  124                clEnumValN(GraphRenderer::StatType::PCT90, "90p",
  126                clEnumValN(GraphRenderer::StatType::PCT99, "99p",
  128                clEnumValN(GraphRenderer::StatType::MAX, "max",
  130                clEnumValN(GraphRenderer::StatType::SUM, "sum",
  141     cl::values(clEnumValN(GraphRenderer::StatType::NONE, "none",
  143                clEnumValN(GraphRenderer::StatType::COUNT, "count",
  145                clEnumValN(GraphRenderer::StatType::MIN, "min",
  147                clEnumValN(GraphRenderer::StatType::MED, "med",
  149                clEnumValN(GraphRenderer::StatType::PCT90, "90p",
  151                clEnumValN(GraphRenderer::StatType::PCT99, "99p",
  153                clEnumValN(GraphRenderer::StatType::MAX, "max",
  155                clEnumValN(GraphRenderer::StatType::SUM, "sum",
tools/llvm-xray/xray-stacks.cpp
   87         clEnumValN(HUMAN, "human",
   89         clEnumValN(FLAMETOOL, "flame",
  104         clEnumValN(
  107         clEnumValN(AggregationType::INVOCATION_COUNT, "count",
tools/opt/opt.cpp
  284                 cl::values(clEnumValN(NoPGO, "nopgo", "Do not use PGO."),
  285                            clEnumValN(InstrGen, "pgo-instr-gen-pipeline",
  287                            clEnumValN(InstrUse, "pgo-instr-use-pipeline",
  289                            clEnumValN(SampleUse, "pgo-sample-use-pipeline",
  298         clEnumValN(NoCSPGO, "nocspgo", "Do not use CSPGO."),
  299         clEnumValN(
  302         clEnumValN(
tools/polly/lib/Analysis/DependenceInfo.cpp
   64     cl::values(clEnumValN(VALUE_BASED_ANALYSIS, "value-based",
   66                clEnumValN(MEMORY_BASED_ANALYSIS, "memory-based",
   74     cl::values(clEnumValN(Dependences::AL_Statement, "statement-wise",
   76                clEnumValN(Dependences::AL_Reference, "reference-wise",
   79                clEnumValN(Dependences::AL_Access, "access-wise",
tools/polly/lib/Analysis/ScopBuilder.cpp
  149     cl::values(clEnumValN(GranularityChoice::BasicBlocks, "bb",
  151                clEnumValN(GranularityChoice::ScalarIndependence, "scalar-indep",
  153                clEnumValN(GranularityChoice::Stores, "store",
tools/polly/lib/CodeGen/IslExprBuilder.cpp
   32     cl::values(clEnumValN(OT_NEVER, "never", "Never track the overflow bit."),
   33                clEnumValN(OT_REQUEST, "request",
   35                clEnumValN(OT_ALWAYS, "always",
tools/polly/lib/CodeGen/IslNodeBuilder.cpp
  106     cl::values(clEnumValN(OpenMPBackend::GNU, "GNU", "GNU OpenMP"),
  107                clEnumValN(OpenMPBackend::LLVM, "LLVM", "LLVM OpenMP")),
tools/polly/lib/CodeGen/LoopGenerators.cpp
   40     cl::values(clEnumValN(OMPGeneralSchedulingType::StaticChunked, "static",
   42                clEnumValN(OMPGeneralSchedulingType::Dynamic, "dynamic",
   44                clEnumValN(OMPGeneralSchedulingType::Guided, "guided",
   46                clEnumValN(OMPGeneralSchedulingType::Runtime, "runtime",
tools/polly/lib/Support/RegisterPasses.cpp
   71         clEnumValN(POSITION_EARLY, "early", "Before everything"),
   72         clEnumValN(POSITION_AFTER_LOOPOPT, "after-loopopt",
   74         clEnumValN(POSITION_BEFORE_VECTORIZER, "before-vectorizer",
   81               cl::values(clEnumValN(OPTIMIZER_NONE, "none", "No optimizer"),
   82                          clEnumValN(OPTIMIZER_ISL, "isl",
   90     cl::values(clEnumValN(CODEGEN_FULL, "full", "AST and IR generation"),
   91                clEnumValN(CODEGEN_AST, "ast", "Only AST generation"),
   92                clEnumValN(CODEGEN_NONE, "none", "No code generation")),
   98            cl::values(clEnumValN(TARGET_CPU, "cpu", "generate CPU code")
  133         clEnumValN(polly::VECTORIZER_NONE, "none", "No Vectorization"),
  134         clEnumValN(polly::VECTORIZER_POLLY, "polly",
  136         clEnumValN(
tools/sancov/sancov.cpp
   74         clEnumValN(PrintAction, "print", "Print coverage addresses"),
   75         clEnumValN(PrintCovPointsAction, "print-coverage-pcs",
   77         clEnumValN(CoveredFunctionsAction, "covered-functions",
   79         clEnumValN(NotCoveredFunctionsAction, "not-covered-functions",
   81         clEnumValN(StatsAction, "print-coverage-stats",
   83         clEnumValN(HtmlReportAction, "html-report",
   85         clEnumValN(SymbolizeAction, "symbolize",
   87         clEnumValN(MergeAction, "merge", "Merges reports.")));
unittests/Support/CommandLineTest.cpp
 1174               cl::values(clEnumValN(OptionValue::Val, "v1", "desc1")));
 1185       cl::ValueOptional, cl::values(clEnumValN(OptionValue::Val, "v1", "desc1"),
 1186                                     clEnumValN(OptionValue::Val, "", "")));
 1199       cl::ValueOptional, cl::values(clEnumValN(OptionValue::Val, "v1", "desc1"),
 1200                                     clEnumValN(OptionValue::Val, "", "desc2")));
 1213       cl::ValueRequired, cl::values(clEnumValN(OptionValue::Val, "v1", "desc1"),
 1214                                     clEnumValN(OptionValue::Val, "", "")));
 1226       cl::ValueRequired, cl::values(clEnumValN(OptionValue::Val, "v1", "")));
 1257       runTest(ArgName, cl::values(clEnumValN(OptionValue::Val, "v", "help"))),
 1265       runTest("a", cl::values(clEnumValN(OptionValue::Val, OptName, "help"),
 1266                               clEnumValN(OptionValue::Val, "b", "help"))),
 1274       runTest("a", cl::values(clEnumValN(OptionValue::Val, "b", "help"),
 1275                               clEnumValN(OptionValue::Val, OptName, "help"))),
 1284   EXPECT_EQ(runTest("a", cl::values(clEnumValN(OptionValue::Val, "b", "help"),
 1285                                     clEnumValN(OptionValue::Val, "", "help"))),
 1299                     cl::values(clEnumValN(OptionValue::Val, "value", "help"),
 1300                                clEnumValN(OptionValue::Val, "", ""))),
 1311                     cl::values(clEnumValN(OptionValue::Val, "value", "help"),
 1312                                clEnumValN(OptionValue::Val, "", ""))),
utils/FileCheck/FileCheck.cpp
  124     cl::values(clEnumValN(DumpInputHelp, "help",
  126                clEnumValN(DumpInputNever, "never", "Never dump input"),
  127                clEnumValN(DumpInputFail, "fail", "Dump input on failure"),
  128                clEnumValN(DumpInputAlways, "always", "Always dump input")));
utils/TableGen/TableGen.cpp
   70         clEnumValN(PrintRecords, "print-records",
   72         clEnumValN(DumpJSON, "dump-json",
   74         clEnumValN(GenEmitter, "gen-emitter", "Generate machine code emitter"),
   75         clEnumValN(GenRegisterInfo, "gen-register-info",
   77         clEnumValN(GenInstrInfo, "gen-instr-info",
   79         clEnumValN(GenInstrDocs, "gen-instr-docs",
   81         clEnumValN(GenCallingConv, "gen-callingconv",
   83         clEnumValN(GenAsmWriter, "gen-asm-writer", "Generate assembly writer"),
   84         clEnumValN(GenDisassembler, "gen-disassembler",
   86         clEnumValN(GenPseudoLowering, "gen-pseudo-lowering",
   88         clEnumValN(GenCompressInst, "gen-compress-inst-emitter",
   90         clEnumValN(GenAsmMatcher, "gen-asm-matcher",
   92         clEnumValN(GenDAGISel, "gen-dag-isel",
   94         clEnumValN(GenDFAPacketizer, "gen-dfa-packetizer",
   96         clEnumValN(GenFastISel, "gen-fast-isel",
   98         clEnumValN(GenSubtarget, "gen-subtarget",
  100         clEnumValN(GenIntrinsicEnums, "gen-intrinsic-enums",
  102         clEnumValN(GenIntrinsicImpl, "gen-intrinsic-impl",
  104         clEnumValN(GenTgtIntrinsicEnums, "gen-tgt-intrinsic-enums",
  106         clEnumValN(GenTgtIntrinsicImpl, "gen-tgt-intrinsic-impl",
  108         clEnumValN(PrintEnums, "print-enums", "Print enum values for a class"),
  109         clEnumValN(PrintSets, "print-sets",
  111         clEnumValN(GenOptParserDefs, "gen-opt-parser-defs",
  113         clEnumValN(GenCTags, "gen-ctags", "Generate ctags-compatible index"),
  114         clEnumValN(GenAttributes, "gen-attrs", "Generate attributes"),
  115         clEnumValN(GenSearchableTables, "gen-searchable-tables",
  117         clEnumValN(GenGlobalISel, "gen-global-isel",
  119         clEnumValN(GenGICombiner, "gen-global-isel-combiner",
  121         clEnumValN(GenX86EVEX2VEXTables, "gen-x86-EVEX2VEX-tables",
  123         clEnumValN(GenX86FoldTables, "gen-x86-fold-tables",
  125         clEnumValN(GenRegisterBank, "gen-register-bank",
  127         clEnumValN(GenExegesis, "gen-exegesis",
  129         clEnumValN(GenAutomata, "gen-automata",