[llvm] r348823 - [gn build] Add build files for AsmParser, MIRParser, IRReader, MCDisassembler, Vectorize
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 10 18:09:33 PST 2018
Author: nico
Date: Mon Dec 10 18:09:32 2018
New Revision: 348823
URL: http://llvm.org/viewvc/llvm-project?rev=348823&view=rev
Log:
[gn build] Add build files for AsmParser, MIRParser, IRReader, MCDisassembler, Vectorize
These are all remaining build dependencies of llc, except for Target/X86 which
is in a separate patch at https://reviews.llvm.org/D55524
Differential Revision: https://reviews.llvm.org/D55518
Added:
llvm/trunk/utils/gn/secondary/llvm/lib/AsmParser/
llvm/trunk/utils/gn/secondary/llvm/lib/AsmParser/BUILD.gn
llvm/trunk/utils/gn/secondary/llvm/lib/CodeGen/MIRParser/
llvm/trunk/utils/gn/secondary/llvm/lib/CodeGen/MIRParser/BUILD.gn
llvm/trunk/utils/gn/secondary/llvm/lib/IRReader/
llvm/trunk/utils/gn/secondary/llvm/lib/IRReader/BUILD.gn
llvm/trunk/utils/gn/secondary/llvm/lib/MC/MCDisassembler/
llvm/trunk/utils/gn/secondary/llvm/lib/MC/MCDisassembler/BUILD.gn
llvm/trunk/utils/gn/secondary/llvm/lib/Transforms/Vectorize/
llvm/trunk/utils/gn/secondary/llvm/lib/Transforms/Vectorize/BUILD.gn
Added: llvm/trunk/utils/gn/secondary/llvm/lib/AsmParser/BUILD.gn
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/gn/secondary/llvm/lib/AsmParser/BUILD.gn?rev=348823&view=auto
==============================================================================
--- llvm/trunk/utils/gn/secondary/llvm/lib/AsmParser/BUILD.gn (added)
+++ llvm/trunk/utils/gn/secondary/llvm/lib/AsmParser/BUILD.gn Mon Dec 10 18:09:32 2018
@@ -0,0 +1,13 @@
+static_library("AsmParser") {
+ output_name = "LLVMAsmParser"
+ deps = [
+ "//llvm/lib/BinaryFormat",
+ "//llvm/lib/IR",
+ "//llvm/lib/Support",
+ ]
+ sources = [
+ "LLLexer.cpp",
+ "LLParser.cpp",
+ "Parser.cpp",
+ ]
+}
Added: llvm/trunk/utils/gn/secondary/llvm/lib/CodeGen/MIRParser/BUILD.gn
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/gn/secondary/llvm/lib/CodeGen/MIRParser/BUILD.gn?rev=348823&view=auto
==============================================================================
--- llvm/trunk/utils/gn/secondary/llvm/lib/CodeGen/MIRParser/BUILD.gn (added)
+++ llvm/trunk/utils/gn/secondary/llvm/lib/CodeGen/MIRParser/BUILD.gn Mon Dec 10 18:09:32 2018
@@ -0,0 +1,17 @@
+static_library("MIRParser") {
+ output_name = "LLVMMIRParser"
+ deps = [
+ "//llvm/lib/AsmParser",
+ "//llvm/lib/BinaryFormat",
+ "//llvm/lib/CodeGen",
+ "//llvm/lib/IR",
+ "//llvm/lib/MC",
+ "//llvm/lib/Support",
+ "//llvm/lib/Target",
+ ]
+ sources = [
+ "MILexer.cpp",
+ "MIParser.cpp",
+ "MIRParser.cpp",
+ ]
+}
Added: llvm/trunk/utils/gn/secondary/llvm/lib/IRReader/BUILD.gn
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/gn/secondary/llvm/lib/IRReader/BUILD.gn?rev=348823&view=auto
==============================================================================
--- llvm/trunk/utils/gn/secondary/llvm/lib/IRReader/BUILD.gn (added)
+++ llvm/trunk/utils/gn/secondary/llvm/lib/IRReader/BUILD.gn Mon Dec 10 18:09:32 2018
@@ -0,0 +1,12 @@
+static_library("IRReader") {
+ output_name = "LLVMIRReader"
+ deps = [
+ "//llvm/lib/AsmParser",
+ "//llvm/lib/Bitcode/Reader",
+ "//llvm/lib/IR",
+ "//llvm/lib/Support",
+ ]
+ sources = [
+ "IRReader.cpp",
+ ]
+}
Added: llvm/trunk/utils/gn/secondary/llvm/lib/MC/MCDisassembler/BUILD.gn
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/gn/secondary/llvm/lib/MC/MCDisassembler/BUILD.gn?rev=348823&view=auto
==============================================================================
--- llvm/trunk/utils/gn/secondary/llvm/lib/MC/MCDisassembler/BUILD.gn (added)
+++ llvm/trunk/utils/gn/secondary/llvm/lib/MC/MCDisassembler/BUILD.gn Mon Dec 10 18:09:32 2018
@@ -0,0 +1,14 @@
+static_library("MCDisassembler") {
+ output_name = "LLVMMCDisassembler"
+ deps = [
+ "//llvm/lib/MC",
+ "//llvm/lib/Support",
+ ]
+ sources = [
+ "Disassembler.cpp",
+ "MCDisassembler.cpp",
+ "MCExternalSymbolizer.cpp",
+ "MCRelocationInfo.cpp",
+ "MCSymbolizer.cpp",
+ ]
+}
Added: llvm/trunk/utils/gn/secondary/llvm/lib/Transforms/Vectorize/BUILD.gn
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/gn/secondary/llvm/lib/Transforms/Vectorize/BUILD.gn?rev=348823&view=auto
==============================================================================
--- llvm/trunk/utils/gn/secondary/llvm/lib/Transforms/Vectorize/BUILD.gn (added)
+++ llvm/trunk/utils/gn/secondary/llvm/lib/Transforms/Vectorize/BUILD.gn Mon Dec 10 18:09:32 2018
@@ -0,0 +1,21 @@
+static_library("Vectorize") {
+ output_name = "LLVMVectorize"
+ deps = [
+ "//llvm/lib/Analysis",
+ "//llvm/lib/IR",
+ "//llvm/lib/Support",
+ "//llvm/lib/Transforms/Utils",
+ ]
+ sources = [
+ "LoadStoreVectorizer.cpp",
+ "LoopVectorizationLegality.cpp",
+ "LoopVectorize.cpp",
+ "SLPVectorizer.cpp",
+ "VPlan.cpp",
+ "VPlanHCFGBuilder.cpp",
+ "VPlanHCFGTransforms.cpp",
+ "VPlanSLP.cpp",
+ "VPlanVerifier.cpp",
+ "Vectorize.cpp",
+ ]
+}
More information about the llvm-commits
mailing list