forked from OSchip/llvm-project
[gn build] Add build files for CodeGen subfolders AsmPrinter, GlobalISel, SelectionDAG.
Differential Revision: https://reviews.llvm.org/D55462 llvm-svn: 348704
This commit is contained in:
parent
e915a71f18
commit
c68d5e6c89
|
@ -0,0 +1,42 @@
|
||||||
|
static_library("AsmPrinter") {
|
||||||
|
output_name = "LLVMAsmPrinter"
|
||||||
|
deps = [
|
||||||
|
"//llvm/lib/Analysis",
|
||||||
|
"//llvm/lib/BinaryFormat",
|
||||||
|
"//llvm/lib/CodeGen",
|
||||||
|
"//llvm/lib/DebugInfo/CodeView",
|
||||||
|
"//llvm/lib/DebugInfo/MSF",
|
||||||
|
"//llvm/lib/IR",
|
||||||
|
"//llvm/lib/MC",
|
||||||
|
"//llvm/lib/MC/MCParser",
|
||||||
|
"//llvm/lib/Support",
|
||||||
|
"//llvm/lib/Target",
|
||||||
|
]
|
||||||
|
sources = [
|
||||||
|
"ARMException.cpp",
|
||||||
|
"AccelTable.cpp",
|
||||||
|
"AddressPool.cpp",
|
||||||
|
"AsmPrinter.cpp",
|
||||||
|
"AsmPrinterDwarf.cpp",
|
||||||
|
"AsmPrinterInlineAsm.cpp",
|
||||||
|
"CodeViewDebug.cpp",
|
||||||
|
"DIE.cpp",
|
||||||
|
"DIEHash.cpp",
|
||||||
|
"DbgEntityHistoryCalculator.cpp",
|
||||||
|
"DebugHandlerBase.cpp",
|
||||||
|
"DebugLocStream.cpp",
|
||||||
|
"DwarfCFIException.cpp",
|
||||||
|
"DwarfCompileUnit.cpp",
|
||||||
|
"DwarfDebug.cpp",
|
||||||
|
"DwarfExpression.cpp",
|
||||||
|
"DwarfFile.cpp",
|
||||||
|
"DwarfStringPool.cpp",
|
||||||
|
"DwarfUnit.cpp",
|
||||||
|
"EHStreamer.cpp",
|
||||||
|
"ErlangGCPrinter.cpp",
|
||||||
|
"OcamlGCPrinter.cpp",
|
||||||
|
"WasmException.cpp",
|
||||||
|
"WinCFGuard.cpp",
|
||||||
|
"WinException.cpp",
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1,34 @@
|
||||||
|
static_library("GlobalISel") {
|
||||||
|
output_name = "LLVMGlobalISel"
|
||||||
|
deps = [
|
||||||
|
"//llvm/include/llvm/Config:config",
|
||||||
|
"//llvm/include/llvm/Config:llvm-config",
|
||||||
|
"//llvm/lib/Analysis",
|
||||||
|
"//llvm/lib/CodeGen",
|
||||||
|
"//llvm/lib/IR",
|
||||||
|
"//llvm/lib/MC",
|
||||||
|
"//llvm/lib/Support",
|
||||||
|
"//llvm/lib/Target",
|
||||||
|
"//llvm/lib/Transforms/Utils",
|
||||||
|
]
|
||||||
|
sources = [
|
||||||
|
"CallLowering.cpp",
|
||||||
|
"Combiner.cpp",
|
||||||
|
"CombinerHelper.cpp",
|
||||||
|
"GlobalISel.cpp",
|
||||||
|
"IRTranslator.cpp",
|
||||||
|
"InstructionSelect.cpp",
|
||||||
|
"InstructionSelector.cpp",
|
||||||
|
"LegalityPredicates.cpp",
|
||||||
|
"LegalizeMutations.cpp",
|
||||||
|
"Legalizer.cpp",
|
||||||
|
"LegalizerHelper.cpp",
|
||||||
|
"LegalizerInfo.cpp",
|
||||||
|
"Localizer.cpp",
|
||||||
|
"MachineIRBuilder.cpp",
|
||||||
|
"RegBankSelect.cpp",
|
||||||
|
"RegisterBank.cpp",
|
||||||
|
"RegisterBankInfo.cpp",
|
||||||
|
"Utils.cpp",
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1,39 @@
|
||||||
|
static_library("SelectionDAG") {
|
||||||
|
output_name = "LLVMSelectionDAG"
|
||||||
|
deps = [
|
||||||
|
"//llvm/lib/Analysis",
|
||||||
|
"//llvm/lib/CodeGen",
|
||||||
|
"//llvm/lib/IR",
|
||||||
|
"//llvm/lib/MC",
|
||||||
|
"//llvm/lib/Support",
|
||||||
|
"//llvm/lib/Target",
|
||||||
|
"//llvm/lib/Transforms/Utils",
|
||||||
|
]
|
||||||
|
sources = [
|
||||||
|
"DAGCombiner.cpp",
|
||||||
|
"FastISel.cpp",
|
||||||
|
"FunctionLoweringInfo.cpp",
|
||||||
|
"InstrEmitter.cpp",
|
||||||
|
"LegalizeDAG.cpp",
|
||||||
|
"LegalizeFloatTypes.cpp",
|
||||||
|
"LegalizeIntegerTypes.cpp",
|
||||||
|
"LegalizeTypes.cpp",
|
||||||
|
"LegalizeTypesGeneric.cpp",
|
||||||
|
"LegalizeVectorOps.cpp",
|
||||||
|
"LegalizeVectorTypes.cpp",
|
||||||
|
"ResourcePriorityQueue.cpp",
|
||||||
|
"ScheduleDAGFast.cpp",
|
||||||
|
"ScheduleDAGRRList.cpp",
|
||||||
|
"ScheduleDAGSDNodes.cpp",
|
||||||
|
"ScheduleDAGVLIW.cpp",
|
||||||
|
"SelectionDAG.cpp",
|
||||||
|
"SelectionDAGAddressAnalysis.cpp",
|
||||||
|
"SelectionDAGBuilder.cpp",
|
||||||
|
"SelectionDAGDumper.cpp",
|
||||||
|
"SelectionDAGISel.cpp",
|
||||||
|
"SelectionDAGPrinter.cpp",
|
||||||
|
"SelectionDAGTargetInfo.cpp",
|
||||||
|
"StatepointLowering.cpp",
|
||||||
|
"TargetLowering.cpp",
|
||||||
|
]
|
||||||
|
}
|
Loading…
Reference in New Issue