| 1 |
import("//clang/utils/TableGen/clang_tablegen.gni") |
| 2 |
|
| 3 |
clang_tablegen("OpenCLBuiltins") { |
| 4 |
args = [ "-gen-clang-opencl-builtins" ] |
| 5 |
} |
| 6 |
|
| 7 |
static_library("Sema") { |
| 8 |
output_name = "clangSema" |
| 9 |
configs += [ "//llvm/utils/gn/build:clang_code" ] |
| 10 |
deps = [ |
| 11 |
":OpenCLBuiltins", |
| 12 |
"//clang/include/clang/Basic:arm_cde_builtin_aliases", |
| 13 |
"//clang/include/clang/Basic:arm_cde_builtin_sema", |
| 14 |
"//clang/include/clang/Basic:arm_mve_builtin_aliases", |
| 15 |
"//clang/include/clang/Basic:arm_mve_builtin_sema", |
| 16 |
"//clang/include/clang/Basic:arm_sme_builtins_za_state", |
| 17 |
"//clang/include/clang/Basic:arm_sme_sema_rangechecks", |
| 18 |
"//clang/include/clang/Basic:arm_sme_streaming_attrs", |
| 19 |
"//clang/include/clang/Basic:arm_sve_sema_rangechecks", |
| 20 |
"//clang/include/clang/Basic:arm_sve_streaming_attrs", |
| 21 |
"//clang/include/clang/Basic:riscv_sifive_vector_builtin_sema", |
| 22 |
"//clang/include/clang/Basic:riscv_vector_builtin_sema", |
| 23 |
"//clang/include/clang/Sema:AttrParsedAttrImpl", |
| 24 |
"//clang/include/clang/Sema:AttrParsedAttrKinds", |
| 25 |
"//clang/include/clang/Sema:AttrParsedAttrList", |
| 26 |
"//clang/include/clang/Sema:AttrSpellingListIndex", |
| 27 |
"//clang/include/clang/Sema:AttrTemplateInstantiate", |
| 28 |
"//clang/lib/APINotes", |
| 29 |
"//clang/lib/AST", |
| 30 |
"//clang/lib/Analysis", |
| 31 |
"//clang/lib/Basic", |
| 32 |
"//clang/lib/Edit", |
| 33 |
"//clang/lib/Lex", |
| 34 |
"//clang/lib/Support", |
| 35 |
"//llvm/lib/Frontend/OpenMP", |
| 36 |
"//llvm/lib/MC", |
| 37 |
"//llvm/lib/Support", |
| 38 |
"//llvm/lib/TargetParser", |
| 39 |
] |
| 40 |
sources = [ |
| 41 |
"AnalysisBasedWarnings.cpp", |
| 42 |
"CheckExprLifetime.cpp", |
| 43 |
"CodeCompleteConsumer.cpp", |
| 44 |
"DeclSpec.cpp", |
| 45 |
"DelayedDiagnostic.cpp", |
| 46 |
"HLSLExternalSemaSource.cpp", |
| 47 |
"IdentifierResolver.cpp", |
| 48 |
"JumpDiagnostics.cpp", |
| 49 |
"MultiplexExternalSemaSource.cpp", |
| 50 |
"ParsedAttr.cpp", |
| 51 |
"Scope.cpp", |
| 52 |
"ScopeInfo.cpp", |
| 53 |
"Sema.cpp", |
| 54 |
"SemaAMDGPU.cpp", |
| 55 |
"SemaAPINotes.cpp", |
| 56 |
"SemaARM.cpp", |
| 57 |
"SemaAVR.cpp", |
| 58 |
"SemaAccess.cpp", |
| 59 |
"SemaAttr.cpp", |
| 60 |
"SemaAvailability.cpp", |
| 61 |
"SemaBPF.cpp", |
| 62 |
"SemaBase.cpp", |
| 63 |
"SemaBoundsSafety.cpp", |
| 64 |
"SemaCUDA.cpp", |
| 65 |
"SemaCXXScopeSpec.cpp", |
| 66 |
"SemaCast.cpp", |
| 67 |
"SemaChecking.cpp", |
| 68 |
"SemaCodeComplete.cpp", |
| 69 |
"SemaConcept.cpp", |
| 70 |
"SemaConsumer.cpp", |
| 71 |
"SemaCoroutine.cpp", |
| 72 |
"SemaDecl.cpp", |
| 73 |
"SemaDeclAttr.cpp", |
| 74 |
"SemaDeclCXX.cpp", |
| 75 |
"SemaDeclObjC.cpp", |
| 76 |
"SemaExceptionSpec.cpp", |
| 77 |
"SemaExpr.cpp", |
| 78 |
"SemaExprCXX.cpp", |
| 79 |
"SemaExprMember.cpp", |
| 80 |
"SemaExprObjC.cpp", |
| 81 |
"SemaFixItUtils.cpp", |
| 82 |
"SemaHLSL.cpp", |
| 83 |
"SemaHexagon.cpp", |
| 84 |
"SemaInit.cpp", |
| 85 |
"SemaLambda.cpp", |
| 86 |
"SemaLookup.cpp", |
| 87 |
"SemaLoongArch.cpp", |
| 88 |
"SemaM68k.cpp", |
| 89 |
"SemaMIPS.cpp", |
| 90 |
"SemaMSP430.cpp", |
| 91 |
"SemaModule.cpp", |
| 92 |
"SemaNVPTX.cpp", |
| 93 |
"SemaObjC.cpp", |
| 94 |
"SemaObjCProperty.cpp", |
| 95 |
"SemaOpenACC.cpp", |
| 96 |
"SemaOpenCL.cpp", |
| 97 |
"SemaOpenMP.cpp", |
| 98 |
"SemaOverload.cpp", |
| 99 |
"SemaPPC.cpp", |
| 100 |
"SemaPseudoObject.cpp", |
| 101 |
"SemaRISCV.cpp", |
| 102 |
"SemaSYCL.cpp", |
| 103 |
"SemaStmt.cpp", |
| 104 |
"SemaStmtAsm.cpp", |
| 105 |
"SemaStmtAttr.cpp", |
| 106 |
"SemaSwift.cpp", |
| 107 |
"SemaSystemZ.cpp", |
| 108 |
"SemaTemplate.cpp", |
| 109 |
"SemaTemplateDeduction.cpp", |
| 110 |
"SemaTemplateDeductionGuide.cpp", |
| 111 |
"SemaTemplateInstantiate.cpp", |
| 112 |
"SemaTemplateInstantiateDecl.cpp", |
| 113 |
"SemaTemplateVariadic.cpp", |
| 114 |
"SemaType.cpp", |
| 115 |
"SemaWasm.cpp", |
| 116 |
"SemaX86.cpp", |
| 117 |
"TypeLocBuilder.cpp", |
| 118 |
] |
| 119 |
} |