1
2  struct AvailableComponent {
3    /// The name of the component.
4    const char *Name;
5
6    /// The name of the library for this component (or NULL).
7    const char *Library;
8
9    /// Whether the component is installed.
10    bool IsInstalled;
11
12    /// The list of libraries required when linking this component.
13    const char *RequiredLibraries[96];
14  } AvailableComponents[96] = {
15  { "aggressiveinstcombine", "LLVMAggressiveInstCombine", true, {"analysis", "core", "support", "transformutils"} },
16{ "all", nullptr, true, {"demangle", "support", "tablegen", "core", "fuzzercli", "fuzzmutate", "filecheck", "interfacestub", "irprinter", "irreader", "codegen", "selectiondag", "asmprinter", "mirparser", "globalisel", "binaryformat", "bitreader", "bitwriter", "bitstreamreader", "dwarflinker", "dwarflinkerparallel", "extensions", "frontendhlsl", "frontendopenacc", "frontendopenmp", "transformutils", "instrumentation", "aggressiveinstcombine", "instcombine", "scalaropts", "ipo", "vectorize", "objcarcopts", "coroutines", "cfguard", "linker", "analysis", "lto", "mc", "mcparser", "mcdisassembler", "mca", "objcopy", "object", "objectyaml", "option", "remarks", "debuginfodwarf", "debuginfogsym", "debuginfologicalview", "debuginfomsf", "debuginfocodeview", "debuginfopdb", "symbolize", "dwp", "executionengine", "interpreter", "jitlink", "mcjit", "orcjit", "orcshared", "orctargetprocess", "runtimedyld", "target", "armcodegen", "armasmparser", "armdisassembler", "armdesc", "arminfo", "armutils", "amdgpucodegen", "amdgpuasmparser", "amdgpudisassembler", "amdgputargetmca", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "asmparser", "lineeditor", "profiledata", "coverage", "passes", "targetparser", "textapi", "dlltooldriver", "libdriver", "xray", "windowsdriver", "windowsmanifest", "all-targets", "engine", "native", "nativecodegen", "arm", "amdgpu"} },
17{ "all-targets", nullptr, true, {"arm", "amdgpu"} },
18{ "amdgpu", nullptr, true, {"amdgpucodegen", "amdgpuasmparser", "amdgpudisassembler", "amdgputargetmca", "amdgpudesc", "amdgpuinfo", "amdgpuutils"} },
19{ "amdgpuasmparser", "LLVMAMDGPUAsmParser", true, {"mc", "mcparser", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "support", "targetparser"} },
20{ "amdgpucodegen", "LLVMAMDGPUCodeGen", true, {"analysis", "asmprinter", "codegen", "core", "ipo", "mc", "passes", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "scalaropts", "selectiondag", "support", "target", "targetparser", "transformutils", "vectorize", "globalisel", "binaryformat", "mirparser"} },
21{ "amdgpudesc", "LLVMAMDGPUDesc", true, {"core", "mc", "amdgpuinfo", "amdgpuutils", "support", "binaryformat", "targetparser"} },
22{ "amdgpudisassembler", "LLVMAMDGPUDisassembler", true, {"amdgpudesc", "amdgpuinfo", "amdgpuutils", "mc", "mcdisassembler", "support"} },
23{ "amdgpuinfo", "LLVMAMDGPUInfo", true, {"mc", "support"} },
24{ "amdgputargetmca", "LLVMAMDGPUTargetMCA", true, {"mc", "mcparser", "amdgpudesc", "amdgpuinfo", "amdgpuutils", "support", "targetparser", "mca"} },
25{ "amdgpuutils", "LLVMAMDGPUUtils", true, {"analysis", "core", "mc", "binaryformat", "support", "targetparser"} },
26{ "analysis", "LLVMAnalysis", true, {"binaryformat", "core", "object", "profiledata", "support", "targetparser"} },
27{ "arm", nullptr, true, {"armcodegen", "armasmparser", "armdisassembler", "armdesc", "arminfo", "armutils"} },
28{ "armasmparser", "LLVMARMAsmParser", true, {"armdesc", "arminfo", "mc", "mcparser", "support", "targetparser", "armutils"} },
29{ "armcodegen", "LLVMARMCodeGen", true, {"armdesc", "arminfo", "analysis", "asmprinter", "codegen", "core", "ipo", "mc", "scalaropts", "selectiondag", "support", "target", "targetparser", "globalisel", "armutils", "transformutils", "cfguard"} },
30{ "armdesc", "LLVMARMDesc", true, {"arminfo", "armutils", "mc", "mcdisassembler", "support", "binaryformat", "targetparser"} },
31{ "armdisassembler", "LLVMARMDisassembler", true, {"armdesc", "arminfo", "mcdisassembler", "mc", "support", "armutils"} },
32{ "arminfo", "LLVMARMInfo", true, {"mc", "support"} },
33{ "armutils", "LLVMARMUtils", true, {"support"} },
34{ "asmparser", "LLVMAsmParser", true, {"binaryformat", "core", "support"} },
35{ "asmprinter", "LLVMAsmPrinter", true, {"analysis", "binaryformat", "codegen", "core", "debuginfocodeview", "debuginfodwarf", "debuginfomsf", "mc", "mcparser", "remarks", "support", "target", "targetparser"} },
36{ "binaryformat", "LLVMBinaryFormat", true, {"support", "targetparser"} },
37{ "bitreader", "LLVMBitReader", true, {"bitstreamreader", "core", "support", "targetparser"} },
38{ "bitstreamreader", "LLVMBitstreamReader", true, {"support"} },
39{ "bitwriter", "LLVMBitWriter", true, {"analysis", "core", "mc", "object", "support", "targetparser"} },
40{ "cfguard", "LLVMCFGuard", true, {"core", "support", "targetparser"} },
41{ "codegen", "LLVMCodeGen", true, {"analysis", "bitreader", "bitwriter", "core", "mc", "objcarcopts", "profiledata", "scalaropts", "support", "target", "targetparser", "transformutils"} },
42{ "core", "LLVMCore", true, {"binaryformat", "remarks", "support", "targetparser"} },
43{ "coroutines", "LLVMCoroutines", true, {"analysis", "core", "ipo", "scalaropts", "support", "transformutils"} },
44{ "coverage", "LLVMCoverage", true, {"core", "object", "profiledata", "support", "targetparser"} },
45{ "debuginfocodeview", "LLVMDebugInfoCodeView", true, {"support"} },
46{ "debuginfodwarf", "LLVMDebugInfoDWARF", true, {"binaryformat", "object", "support", "targetparser"} },
47{ "debuginfogsym", "LLVMDebugInfoGSYM", true, {"mc", "object", "support", "targetparser", "debuginfodwarf"} },
48{ "debuginfologicalview", "LLVMDebugInfoLogicalView", true, {"binaryformat", "object", "mc", "support", "targetparser", "debuginfodwarf"} },
49{ "debuginfomsf", "LLVMDebugInfoMSF", true, {"support"} },
50{ "debuginfopdb", "LLVMDebugInfoPDB", true, {"binaryformat", "object", "support", "debuginfocodeview", "debuginfomsf"} },
51{ "demangle", "LLVMDemangle", true, {} },
52{ "dlltooldriver", "LLVMDlltoolDriver", true, {"object", "option", "support", "targetparser"} },
53{ "dwarflinker", "LLVMDWARFLinker", true, {"binaryformat", "debuginfodwarf", "asmprinter", "codegen", "mc", "object", "support", "targetparser"} },
54{ "dwarflinkerparallel", "LLVMDWARFLinkerParallel", true, {"binaryformat", "debuginfodwarf", "asmprinter", "codegen", "mc", "object", "support"} },
55{ "dwp", "LLVMDWP", true, {"debuginfodwarf", "mc", "object", "support", "target"} },
56{ "engine", nullptr, true, {"interpreter"} },
57{ "executionengine", "LLVMExecutionEngine", true, {"core", "mc", "object", "orctargetprocess", "runtimedyld", "support", "target", "targetparser"} },
58{ "extensions", "LLVMExtensions", true, {"support"} },
59{ "filecheck", "LLVMFileCheck", true, {} },
60{ "frontendhlsl", "LLVMFrontendHLSL", true, {"core", "support"} },
61{ "frontendopenacc", "LLVMFrontendOpenACC", true, {} },
62{ "frontendopenmp", "LLVMFrontendOpenMP", true, {"core", "support", "targetparser", "transformutils", "analysis", "mc", "scalaropts"} },
63{ "fuzzercli", "LLVMFuzzerCLI", true, {"support", "targetparser"} },
64{ "fuzzmutate", "LLVMFuzzMutate", true, {"analysis", "bitreader", "bitwriter", "core", "scalaropts", "support", "target", "targetparser", "transformutils"} },
65{ "globalisel", "LLVMGlobalISel", true, {"analysis", "codegen", "core", "mc", "selectiondag", "support", "target", "transformutils"} },
66{ "instcombine", "LLVMInstCombine", true, {"analysis", "core", "support", "transformutils"} },
67{ "instrumentation", "LLVMInstrumentation", true, {"analysis", "core", "demangle", "mc", "support", "targetparser", "transformutils", "profiledata"} },
68{ "interfacestub", "LLVMInterfaceStub", true, {"binaryformat", "mc", "object", "support", "targetparser"} },
69{ "interpreter", "LLVMInterpreter", true, {"codegen", "core", "executionengine", "support"} },
70{ "ipo", "LLVMipo", true, {"aggressiveinstcombine", "analysis", "bitreader", "bitwriter", "core", "frontendopenmp", "instcombine", "irreader", "linker", "object", "profiledata", "scalaropts", "support", "targetparser", "transformutils", "vectorize", "instrumentation"} },
71{ "irprinter", "LLVMIRPrinter", true, {"analysis", "core", "support"} },
72{ "irreader", "LLVMIRReader", true, {"asmparser", "bitreader", "core", "support"} },
73{ "jitlink", "LLVMJITLink", true, {"binaryformat", "object", "option", "orctargetprocess", "support", "targetparser"} },
74{ "libdriver", "LLVMLibDriver", true, {"binaryformat", "bitreader", "object", "option", "support", "targetparser", "binaryformat", "bitreader", "object", "option", "support"} },
75{ "lineeditor", "LLVMLineEditor", true, {"support"} },
76{ "linker", "LLVMLinker", true, {"core", "object", "support", "transformutils", "targetparser"} },
77{ "lto", "LLVMLTO", true, {"aggressiveinstcombine", "analysis", "binaryformat", "bitreader", "bitwriter", "codegen", "core", "extensions", "ipo", "instcombine", "instrumentation", "linker", "mc", "objcarcopts", "object", "passes", "remarks", "scalaropts", "support", "target", "targetparser", "transformutils"} },
78{ "mc", "LLVMMC", true, {"support", "targetparser", "binaryformat", "debuginfocodeview"} },
79{ "mca", "LLVMMCA", true, {"mc", "support"} },
80{ "mcdisassembler", "LLVMMCDisassembler", true, {"mc", "support", "targetparser"} },
81{ "mcjit", "LLVMMCJIT", true, {"core", "executionengine", "object", "runtimedyld", "support", "target"} },
82{ "mcparser", "LLVMMCParser", true, {"mc", "support", "targetparser"} },
83{ "mirparser", "LLVMMIRParser", true, {"asmparser", "binaryformat", "codegen", "core", "mc", "support", "target"} },
84{ "native", nullptr, true, {} },
85{ "nativecodegen", nullptr, true, {} },
86{ "objcarcopts", "LLVMObjCARCOpts", true, {"analysis", "core", "support", "transformutils"} },
87{ "objcopy", "LLVMObjCopy", true, {"binaryformat", "object", "support", "mc"} },
88{ "object", "LLVMObject", true, {"bitreader", "core", "mc", "irreader", "binaryformat", "mcparser", "support", "targetparser", "textapi"} },
89{ "objectyaml", "LLVMObjectYAML", true, {"binaryformat", "object", "support", "targetparser", "debuginfocodeview", "mc"} },
90{ "option", "LLVMOption", true, {"support"} },
91{ "orcjit", "LLVMOrcJIT", true, {"core", "executionengine", "jitlink", "object", "orcshared", "orctargetprocess", "windowsdriver", "mc", "mcdisassembler", "passes", "runtimedyld", "support", "target", "targetparser", "transformutils"} },
92{ "orcshared", "LLVMOrcShared", true, {"support"} },
93{ "orctargetprocess", "LLVMOrcTargetProcess", true, {"orcshared", "support", "targetparser"} },
94{ "passes", "LLVMPasses", true, {"aggressiveinstcombine", "analysis", "codegen", "core", "coroutines", "ipo", "instcombine", "irprinter", "objcarcopts", "scalaropts", "support", "target", "transformutils", "vectorize", "instrumentation"} },
95{ "profiledata", "LLVMProfileData", true, {"core", "object", "support", "demangle", "symbolize", "debuginfodwarf", "targetparser"} },
96{ "remarks", "LLVMRemarks", true, {"bitstreamreader", "support"} },
97{ "runtimedyld", "LLVMRuntimeDyld", true, {"core", "mc", "object", "support", "targetparser"} },
98{ "scalaropts", "LLVMScalarOpts", true, {"aggressiveinstcombine", "analysis", "core", "instcombine", "support", "transformutils"} },
99{ "selectiondag", "LLVMSelectionDAG", true, {"analysis", "codegen", "core", "mc", "support", "target", "targetparser", "transformutils"} },
100{ "support", "LLVMSupport", true, {"demangle"} },
101{ "symbolize", "LLVMSymbolize", true, {"debuginfodwarf", "debuginfopdb", "object", "support", "demangle", "targetparser"} },
102{ "tablegen", "LLVMTableGen", true, {"support"} },
103{ "target", "LLVMTarget", true, {"analysis", "core", "mc", "support", "targetparser"} },
104{ "targetparser", "LLVMTargetParser", true, {"support"} },
105{ "textapi", "LLVMTextAPI", true, {"support", "binaryformat", "targetparser"} },
106{ "transformutils", "LLVMTransformUtils", true, {"analysis", "core", "support", "targetparser"} },
107{ "vectorize", "LLVMVectorize", true, {"analysis", "core", "support", "transformutils"} },
108{ "windowsdriver", "LLVMWindowsDriver", true, {"option", "support", "targetparser"} },
109{ "windowsmanifest", "LLVMWindowsManifest", true, {"support"} },
110{ "xray", "LLVMXRay", true, {"support", "object", "targetparser"} },
111};