[gn build] Port commits (#184454)
282a2b77c358 60eac414b794 6d82f143dee1 80a1cf4f8058 8a9049198d18 a171b8d4d523 f3e8508ac771 Move X86GenAsmMatcher into llvm/lib/Target/X86
This commit is contained in:
parent
0c9734f120
commit
393bbd5520
@ -34,5 +34,6 @@ static_library("performance") {
|
||||
"TypePromotionInMathFnCheck.cpp",
|
||||
"UnnecessaryCopyInitializationCheck.cpp",
|
||||
"UnnecessaryValueParamCheck.cpp",
|
||||
"UseStdMoveCheck.cpp",
|
||||
]
|
||||
}
|
||||
|
||||
@ -19,7 +19,11 @@ static_library("Scalable") {
|
||||
"Model/EntityLinkage.cpp",
|
||||
"Model/EntityName.cpp",
|
||||
"Model/SummaryName.cpp",
|
||||
"Serialization/JSONFormat.cpp",
|
||||
"Serialization/JSONFormat/JSONFormatImpl.cpp",
|
||||
"Serialization/JSONFormat/LUSummary.cpp",
|
||||
"Serialization/JSONFormat/LUSummaryEncoding.cpp",
|
||||
"Serialization/JSONFormat/TUSummary.cpp",
|
||||
"Serialization/JSONFormat/TUSummaryEncoding.cpp",
|
||||
"Serialization/SerializationFormatRegistry.cpp",
|
||||
"Support/ErrorBuilder.cpp",
|
||||
"TUSummary/ExtractorRegistry.cpp",
|
||||
|
||||
@ -130,6 +130,7 @@ copy("Headers") {
|
||||
"adxintrin.h",
|
||||
"altivec.h",
|
||||
"amdgpuintrin.h",
|
||||
"amdhsa_abi.h",
|
||||
"ammintrin.h",
|
||||
"amo.h",
|
||||
"amxavx512intrin.h",
|
||||
|
||||
@ -23,12 +23,15 @@ unittest("ClangScalableAnalysisTests") {
|
||||
"EntityLinkerTest.cpp",
|
||||
"EntityNameTest.cpp",
|
||||
"ErrorBuilderTest.cpp",
|
||||
"ModelStringConversionsTest.cpp",
|
||||
"Registries/FancyAnalysisData.cpp",
|
||||
"Registries/MockSerializationFormat.cpp",
|
||||
"Registries/MockSummaryExtractor1.cpp",
|
||||
"Registries/MockSummaryExtractor2.cpp",
|
||||
"Registries/SerializationFormatRegistryTest.cpp",
|
||||
"Registries/SummaryExtractorRegistryTest.cpp",
|
||||
"Serialization/JSONFormatTest/JSONFormatTest.cpp",
|
||||
"Serialization/JSONFormatTest/LUSummaryTest.cpp",
|
||||
"Serialization/JSONFormatTest/TUSummaryTest.cpp",
|
||||
"SummaryNameTest.cpp",
|
||||
"TUSummaryBuilderTest.cpp",
|
||||
|
||||
@ -8,8 +8,5 @@ unittest("ClangDependencyScanningTests") {
|
||||
"//llvm/lib/Option",
|
||||
"//llvm/lib/Support",
|
||||
]
|
||||
sources = [
|
||||
"DependencyScanningFilesystemTest.cpp",
|
||||
"DependencyScanningWorkerTest.cpp",
|
||||
]
|
||||
sources = [ "DependencyScanningFilesystemTest.cpp" ]
|
||||
}
|
||||
|
||||
@ -55,6 +55,7 @@ static_library("LLVMNVPTXCodeGen") {
|
||||
"NVPTXLowerArgs.cpp",
|
||||
"NVPTXLowerUnreachable.cpp",
|
||||
"NVPTXMCExpr.cpp",
|
||||
"NVPTXMarkKernelPtrsGlobal.cpp",
|
||||
"NVPTXPeephole.cpp",
|
||||
"NVPTXPrologEpilogPass.cpp",
|
||||
"NVPTXProxyRegErasure.cpp",
|
||||
|
||||
@ -1,15 +1,9 @@
|
||||
import("//llvm/utils/TableGen/tablegen.gni")
|
||||
|
||||
tablegen("X86GenAsmMatcher") {
|
||||
visibility = [ ":AsmParser" ]
|
||||
args = [ "-gen-asm-matcher" ]
|
||||
td_file = "../X86.td"
|
||||
}
|
||||
|
||||
static_library("AsmParser") {
|
||||
output_name = "LLVMX86AsmParser"
|
||||
deps = [
|
||||
":X86GenAsmMatcher",
|
||||
"..:X86GenAsmMatcher",
|
||||
"..:X86GenInstrMapping",
|
||||
"//llvm/lib/MC",
|
||||
"//llvm/lib/MC/MCParser",
|
||||
|
||||
@ -1,5 +1,14 @@
|
||||
import("//llvm/utils/TableGen/tablegen.gni")
|
||||
|
||||
tablegen("X86GenAsmMatcher") {
|
||||
visibility = [
|
||||
":LLVMX86CodeGen",
|
||||
"AsmParser",
|
||||
]
|
||||
args = [ "-gen-asm-matcher" ]
|
||||
td_file = "X86.td"
|
||||
}
|
||||
|
||||
tablegen("X86GenCallingConv") {
|
||||
visibility = [ ":LLVMX86CodeGen" ]
|
||||
args = [ "-gen-callingconv" ]
|
||||
@ -68,6 +77,7 @@ tablegen("X86GenPostLegalizeGICombiner") {
|
||||
|
||||
static_library("LLVMX86CodeGen") {
|
||||
deps = [
|
||||
":X86GenAsmMatcher",
|
||||
":X86GenCallingConv",
|
||||
":X86GenDAGISel",
|
||||
":X86GenFastISel",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user