[llvm] r348905 - [gn build] Add build files for lib/LTO, lib/Linker, lib/Passes, lib/Transforms/{IPO, Instrumentation, ObjCARC}
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 11 16:04:39 PST 2018
Author: nico
Date: Tue Dec 11 16:04:38 2018
New Revision: 348905
URL: http://llvm.org/viewvc/llvm-project?rev=348905&view=rev
Log:
[gn build] Add build files for lib/LTO, lib/Linker, lib/Passes, lib/Transforms/{IPO,Instrumentation,ObjCARC}
Differential Revision: https://reviews.llvm.org/D55553
Added:
llvm/trunk/utils/gn/secondary/llvm/lib/LTO/
llvm/trunk/utils/gn/secondary/llvm/lib/LTO/BUILD.gn
llvm/trunk/utils/gn/secondary/llvm/lib/Linker/
llvm/trunk/utils/gn/secondary/llvm/lib/Linker/BUILD.gn
llvm/trunk/utils/gn/secondary/llvm/lib/Passes/
llvm/trunk/utils/gn/secondary/llvm/lib/Passes/BUILD.gn
llvm/trunk/utils/gn/secondary/llvm/lib/Transforms/IPO/
llvm/trunk/utils/gn/secondary/llvm/lib/Transforms/IPO/BUILD.gn
llvm/trunk/utils/gn/secondary/llvm/lib/Transforms/Instrumentation/
llvm/trunk/utils/gn/secondary/llvm/lib/Transforms/Instrumentation/BUILD.gn
llvm/trunk/utils/gn/secondary/llvm/lib/Transforms/ObjCARC/
llvm/trunk/utils/gn/secondary/llvm/lib/Transforms/ObjCARC/BUILD.gn
Modified:
llvm/trunk/utils/gn/secondary/BUILD.gn
Modified: llvm/trunk/utils/gn/secondary/BUILD.gn
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/gn/secondary/BUILD.gn?rev=348905&r1=348904&r2=348905&view=diff
==============================================================================
--- llvm/trunk/utils/gn/secondary/BUILD.gn (original)
+++ llvm/trunk/utils/gn/secondary/BUILD.gn Tue Dec 11 16:04:38 2018
@@ -1,5 +1,6 @@
group("default") {
deps = [
+ "//llvm/lib/LTO",
"//llvm/tools/llc",
"//llvm/tools/llvm-undname",
]
Added: llvm/trunk/utils/gn/secondary/llvm/lib/LTO/BUILD.gn
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/gn/secondary/llvm/lib/LTO/BUILD.gn?rev=348905&view=auto
==============================================================================
--- llvm/trunk/utils/gn/secondary/llvm/lib/LTO/BUILD.gn (added)
+++ llvm/trunk/utils/gn/secondary/llvm/lib/LTO/BUILD.gn Tue Dec 11 16:04:38 2018
@@ -0,0 +1,32 @@
+static_library("LTO") {
+ output_name = "LLVMLTO"
+ deps = [
+ "//llvm/include/llvm/Config:config",
+ "//llvm/lib/Analysis",
+ "//llvm/lib/Bitcode/Reader",
+ "//llvm/lib/Bitcode/Writer",
+ "//llvm/lib/CodeGen",
+ "//llvm/lib/IR",
+ "//llvm/lib/Linker",
+ "//llvm/lib/MC",
+ "//llvm/lib/Object",
+ "//llvm/lib/Passes",
+ "//llvm/lib/Support",
+ "//llvm/lib/Target",
+ "//llvm/lib/Transforms/AggressiveInstCombine",
+ "//llvm/lib/Transforms/IPO",
+ "//llvm/lib/Transforms/InstCombine",
+ "//llvm/lib/Transforms/ObjCARC",
+ "//llvm/lib/Transforms/Scalar",
+ "//llvm/lib/Transforms/Utils",
+ ]
+ sources = [
+ "Caching.cpp",
+ "LTO.cpp",
+ "LTOBackend.cpp",
+ "LTOCodeGenerator.cpp",
+ "LTOModule.cpp",
+ "ThinLTOCodeGenerator.cpp",
+ "UpdateCompilerUsed.cpp",
+ ]
+}
Added: llvm/trunk/utils/gn/secondary/llvm/lib/Linker/BUILD.gn
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/gn/secondary/llvm/lib/Linker/BUILD.gn?rev=348905&view=auto
==============================================================================
--- llvm/trunk/utils/gn/secondary/llvm/lib/Linker/BUILD.gn (added)
+++ llvm/trunk/utils/gn/secondary/llvm/lib/Linker/BUILD.gn Tue Dec 11 16:04:38 2018
@@ -0,0 +1,12 @@
+static_library("Linker") {
+ output_name = "LLVMLinker"
+ deps = [
+ "//llvm/lib/IR",
+ "//llvm/lib/Support",
+ "//llvm/lib/Transforms/Utils",
+ ]
+ sources = [
+ "IRMover.cpp",
+ "LinkModules.cpp",
+ ]
+}
Added: llvm/trunk/utils/gn/secondary/llvm/lib/Passes/BUILD.gn
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/gn/secondary/llvm/lib/Passes/BUILD.gn?rev=348905&view=auto
==============================================================================
--- llvm/trunk/utils/gn/secondary/llvm/lib/Passes/BUILD.gn (added)
+++ llvm/trunk/utils/gn/secondary/llvm/lib/Passes/BUILD.gn Tue Dec 11 16:04:38 2018
@@ -0,0 +1,22 @@
+static_library("Passes") {
+ output_name = "LLVMPasses"
+ deps = [
+ "//llvm/lib/Analysis",
+ "//llvm/lib/CodeGen",
+ "//llvm/lib/IR",
+ "//llvm/lib/Support",
+ "//llvm/lib/Target",
+ "//llvm/lib/Transforms/AggressiveInstCombine",
+ "//llvm/lib/Transforms/IPO",
+ "//llvm/lib/Transforms/InstCombine",
+ "//llvm/lib/Transforms/Instrumentation",
+ "//llvm/lib/Transforms/Scalar",
+ "//llvm/lib/Transforms/Utils",
+ "//llvm/lib/Transforms/Vectorize",
+ ]
+ sources = [
+ "PassBuilder.cpp",
+ "PassPlugin.cpp",
+ "StandardInstrumentations.cpp",
+ ]
+}
Added: llvm/trunk/utils/gn/secondary/llvm/lib/Transforms/IPO/BUILD.gn
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/gn/secondary/llvm/lib/Transforms/IPO/BUILD.gn?rev=348905&view=auto
==============================================================================
--- llvm/trunk/utils/gn/secondary/llvm/lib/Transforms/IPO/BUILD.gn (added)
+++ llvm/trunk/utils/gn/secondary/llvm/lib/Transforms/IPO/BUILD.gn Tue Dec 11 16:04:38 2018
@@ -0,0 +1,58 @@
+static_library("IPO") {
+ output_name = "LLVMipo"
+ deps = [
+ "//llvm/lib/Analysis",
+ "//llvm/lib/Bitcode/Reader",
+ "//llvm/lib/Bitcode/Writer",
+ "//llvm/lib/IR",
+ "//llvm/lib/IRReader",
+ "//llvm/lib/Linker",
+ "//llvm/lib/Object",
+ "//llvm/lib/ProfileData",
+ "//llvm/lib/Support",
+ "//llvm/lib/Transforms/AggressiveInstCombine",
+ "//llvm/lib/Transforms/InstCombine",
+ "//llvm/lib/Transforms/Instrumentation",
+ "//llvm/lib/Transforms/Scalar",
+ "//llvm/lib/Transforms/Utils",
+ "//llvm/lib/Transforms/Vectorize",
+ ]
+ sources = [
+ "AlwaysInliner.cpp",
+ "ArgumentPromotion.cpp",
+ "BarrierNoopPass.cpp",
+ "BlockExtractor.cpp",
+ "CalledValuePropagation.cpp",
+ "ConstantMerge.cpp",
+ "CrossDSOCFI.cpp",
+ "DeadArgumentElimination.cpp",
+ "ElimAvailExtern.cpp",
+ "ExtractGV.cpp",
+ "ForceFunctionAttrs.cpp",
+ "FunctionAttrs.cpp",
+ "FunctionImport.cpp",
+ "GlobalDCE.cpp",
+ "GlobalOpt.cpp",
+ "GlobalSplit.cpp",
+ "HotColdSplitting.cpp",
+ "IPConstantPropagation.cpp",
+ "IPO.cpp",
+ "InferFunctionAttrs.cpp",
+ "InlineSimple.cpp",
+ "Inliner.cpp",
+ "Internalize.cpp",
+ "LoopExtractor.cpp",
+ "LowerTypeTests.cpp",
+ "MergeFunctions.cpp",
+ "PartialInlining.cpp",
+ "PassManagerBuilder.cpp",
+ "PruneEH.cpp",
+ "SCCP.cpp",
+ "SampleProfile.cpp",
+ "StripDeadPrototypes.cpp",
+ "StripSymbols.cpp",
+ "SyntheticCountsPropagation.cpp",
+ "ThinLTOBitcodeWriter.cpp",
+ "WholeProgramDevirt.cpp",
+ ]
+}
Added: llvm/trunk/utils/gn/secondary/llvm/lib/Transforms/Instrumentation/BUILD.gn
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/gn/secondary/llvm/lib/Transforms/Instrumentation/BUILD.gn?rev=348905&view=auto
==============================================================================
--- llvm/trunk/utils/gn/secondary/llvm/lib/Transforms/Instrumentation/BUILD.gn (added)
+++ llvm/trunk/utils/gn/secondary/llvm/lib/Transforms/Instrumentation/BUILD.gn Tue Dec 11 16:04:38 2018
@@ -0,0 +1,29 @@
+static_library("Instrumentation") {
+ output_name = "LLVMInstrumentation"
+ deps = [
+ "//llvm/lib/Analysis",
+ "//llvm/lib/IR",
+ "//llvm/lib/MC",
+ "//llvm/lib/ProfileData",
+ "//llvm/lib/Support",
+ "//llvm/lib/Transforms/Utils",
+ ]
+ sources = [
+ "AddressSanitizer.cpp",
+ "BoundsChecking.cpp",
+ "CGProfile.cpp",
+ "ControlHeightReduction.cpp",
+ "DataFlowSanitizer.cpp",
+ "EfficiencySanitizer.cpp",
+ "GCOVProfiling.cpp",
+ "HWAddressSanitizer.cpp",
+ "IndirectCallPromotion.cpp",
+ "InstrProfiling.cpp",
+ "Instrumentation.cpp",
+ "MemorySanitizer.cpp",
+ "PGOInstrumentation.cpp",
+ "PGOMemOPSizeOpt.cpp",
+ "SanitizerCoverage.cpp",
+ "ThreadSanitizer.cpp",
+ ]
+}
Added: llvm/trunk/utils/gn/secondary/llvm/lib/Transforms/ObjCARC/BUILD.gn
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/gn/secondary/llvm/lib/Transforms/ObjCARC/BUILD.gn?rev=348905&view=auto
==============================================================================
--- llvm/trunk/utils/gn/secondary/llvm/lib/Transforms/ObjCARC/BUILD.gn (added)
+++ llvm/trunk/utils/gn/secondary/llvm/lib/Transforms/ObjCARC/BUILD.gn Tue Dec 11 16:04:38 2018
@@ -0,0 +1,20 @@
+static_library("ObjCARC") {
+ output_name = "LLVMObjCARCOpts"
+ deps = [
+ "//llvm/lib/Analysis",
+ "//llvm/lib/IR",
+ "//llvm/lib/Support",
+ "//llvm/lib/Transforms/Utils",
+ ]
+ sources = [
+ "DependencyAnalysis.cpp",
+ "ObjCARC.cpp",
+ "ObjCARCAPElim.cpp",
+ "ObjCARCContract.cpp",
+ "ObjCARCExpand.cpp",
+ "ObjCARCOpts.cpp",
+ "ProvenanceAnalysis.cpp",
+ "ProvenanceAnalysisEvaluator.cpp",
+ "PtrState.cpp",
+ ]
+}
More information about the llvm-commits
mailing list