[lit] Improve lit.Run class
[llvm-complete.git] / utils / gn / secondary / llvm / lib / IR / BUILD.gn
bloba93b714c011154ae05271c1b859ff0074dcf7068
1 import("//llvm/utils/TableGen/tablegen.gni")
3 tablegen("AttributesCompatFunc") {
4   visibility = [ ":IR" ]
5   args = [ "-gen-attrs" ]
8 static_library("IR") {
9   output_name = "LLVMCore"
10   public_deps = [
11     # Must be public_dep because IR's public headers include llvm-config.h.
12     "//llvm/include/llvm/Config:llvm-config",
13     "//llvm/include/llvm/IR:public_tablegen",
14   ]
15   deps = [
16     ":AttributesCompatFunc",
17     "//llvm/include/llvm/IR:IntrinsicImpl",
18     "//llvm/lib/BinaryFormat",
19     "//llvm/lib/Remarks",
20     "//llvm/lib/Support",
21   ]
22   sources = [
23     "AbstractCallSite.cpp",
24     "AsmWriter.cpp",
25     "Attributes.cpp",
26     "AutoUpgrade.cpp",
27     "BasicBlock.cpp",
28     "Comdat.cpp",
29     "ConstantFold.cpp",
30     "ConstantRange.cpp",
31     "Constants.cpp",
32     "Core.cpp",
33     "DIBuilder.cpp",
34     "DataLayout.cpp",
35     "DebugInfo.cpp",
36     "DebugInfoMetadata.cpp",
37     "DebugLoc.cpp",
38     "DiagnosticHandler.cpp",
39     "DiagnosticInfo.cpp",
40     "DiagnosticPrinter.cpp",
41     "Dominators.cpp",
42     "Function.cpp",
43     "GVMaterializer.cpp",
44     "Globals.cpp",
45     "IRBuilder.cpp",
46     "IRPrintingPasses.cpp",
47     "InlineAsm.cpp",
48     "Instruction.cpp",
49     "Instructions.cpp",
50     "IntrinsicInst.cpp",
51     "LLVMContext.cpp",
52     "LLVMContextImpl.cpp",
53     "LegacyPassManager.cpp",
54     "MDBuilder.cpp",
55     "Mangler.cpp",
56     "Metadata.cpp",
57     "Module.cpp",
58     "ModuleSummaryIndex.cpp",
59     "Operator.cpp",
60     "OptBisect.cpp",
61     "Pass.cpp",
62     "PassInstrumentation.cpp",
63     "PassManager.cpp",
64     "PassRegistry.cpp",
65     "PassTimingInfo.cpp",
66     "ProfileSummary.cpp",
67     "RemarkStreamer.cpp",
68     "SafepointIRVerifier.cpp",
69     "Statepoint.cpp",
70     "Type.cpp",
71     "TypeFinder.cpp",
72     "Use.cpp",
73     "User.cpp",
74     "Value.cpp",
75     "ValueSymbolTable.cpp",
76     "Verifier.cpp",
77   ]