mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
[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
a6ebf898de
commit
0f070d70e6
42
utils/gn/secondary/llvm/lib/CodeGen/AsmPrinter/BUILD.gn
Normal file
42
utils/gn/secondary/llvm/lib/CodeGen/AsmPrinter/BUILD.gn
Normal file
@ -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",
|
||||
]
|
||||
}
|
34
utils/gn/secondary/llvm/lib/CodeGen/GlobalISel/BUILD.gn
Normal file
34
utils/gn/secondary/llvm/lib/CodeGen/GlobalISel/BUILD.gn
Normal file
@ -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",
|
||||
]
|
||||
}
|
39
utils/gn/secondary/llvm/lib/CodeGen/SelectionDAG/BUILD.gn
Normal file
39
utils/gn/secondary/llvm/lib/CodeGen/SelectionDAG/BUILD.gn
Normal file
@ -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
Block a user