-
Notifications
You must be signed in to change notification settings - Fork 11.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[gn build] Add build files for AsmParser, MIRParser, IRReader, MCDisa…
…ssembler, 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 llvm-svn: 348823
- Loading branch information
Showing
5 changed files
with
77 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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", | ||
] | ||
} |
17 changes: 17 additions & 0 deletions
17
llvm/utils/gn/secondary/llvm/lib/CodeGen/MIRParser/BUILD.gn
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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", | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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", | ||
] | ||
} |
14 changes: 14 additions & 0 deletions
14
llvm/utils/gn/secondary/llvm/lib/MC/MCDisassembler/BUILD.gn
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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", | ||
] | ||
} |
21 changes: 21 additions & 0 deletions
21
llvm/utils/gn/secondary/llvm/lib/Transforms/Vectorize/BUILD.gn
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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", | ||
] | ||
} |