| 1 |
static_library("CodeGen") { |
| 2 |
output_name = "clangCodeGen" |
| 3 |
configs += [ "//llvm/utils/gn/build:clang_code" ] |
| 4 |
deps = [ |
| 5 |
"//clang/include/clang/Basic:arm_cde_builtin_cg", |
| 6 |
"//clang/include/clang/Basic:arm_mve_builtin_cg", |
| 7 |
"//clang/include/clang/Basic:arm_sme_builtin_cg", |
| 8 |
"//clang/include/clang/Basic:arm_sve_builtin_cg", |
| 9 |
"//clang/include/clang/Basic:riscv_sifive_vector_builtin_cg", |
| 10 |
"//clang/include/clang/Basic:riscv_vector_builtin_cg", |
| 11 |
"//clang/lib/AST", |
| 12 |
"//clang/lib/Analysis", |
| 13 |
"//clang/lib/Basic", |
| 14 |
"//clang/lib/Frontend", |
| 15 |
"//clang/lib/Lex", |
| 16 |
"//llvm/lib/Analysis", |
| 17 |
"//llvm/lib/Bitcode/Reader", |
| 18 |
"//llvm/lib/CodeGen", |
| 19 |
"//llvm/lib/Demangle", |
| 20 |
"//llvm/lib/Frontend/Driver", |
| 21 |
"//llvm/lib/Frontend/HLSL", |
| 22 |
"//llvm/lib/Frontend/Offloading", |
| 23 |
"//llvm/lib/IR", |
| 24 |
"//llvm/lib/IRPrinter", |
| 25 |
"//llvm/lib/IRReader", |
| 26 |
"//llvm/lib/LTO", |
| 27 |
"//llvm/lib/Linker", |
| 28 |
"//llvm/lib/MC", |
| 29 |
"//llvm/lib/Object", |
| 30 |
"//llvm/lib/Passes", |
| 31 |
"//llvm/lib/ProfileData", |
| 32 |
"//llvm/lib/ProfileData/Coverage", |
| 33 |
"//llvm/lib/Support", |
| 34 |
"//llvm/lib/Target", |
| 35 |
"//llvm/lib/TargetParser", |
| 36 |
"//llvm/lib/Transforms/Coroutines", |
| 37 |
"//llvm/lib/Transforms/IPO", |
| 38 |
"//llvm/lib/Transforms/InstCombine", |
| 39 |
"//llvm/lib/Transforms/Instrumentation", |
| 40 |
"//llvm/lib/Transforms/ObjCARC", |
| 41 |
"//llvm/lib/Transforms/Scalar", |
| 42 |
"//llvm/lib/Transforms/Utils", |
| 43 |
] |
| 44 |
include_dirs = [ "." ] |
| 45 |
sources = [ |
| 46 |
"ABIInfo.cpp", |
| 47 |
"ABIInfoImpl.cpp", |
| 48 |
"BackendUtil.cpp", |
| 49 |
"CGAtomic.cpp", |
| 50 |
"CGBlocks.cpp", |
| 51 |
"CGBuiltin.cpp", |
| 52 |
"CGCUDANV.cpp", |
| 53 |
"CGCUDARuntime.cpp", |
| 54 |
"CGCXX.cpp", |
| 55 |
"CGCXXABI.cpp", |
| 56 |
"CGCall.cpp", |
| 57 |
"CGClass.cpp", |
| 58 |
"CGCleanup.cpp", |
| 59 |
"CGCoroutine.cpp", |
| 60 |
"CGDebugInfo.cpp", |
| 61 |
"CGDecl.cpp", |
| 62 |
"CGDeclCXX.cpp", |
| 63 |
"CGException.cpp", |
| 64 |
"CGExpr.cpp", |
| 65 |
"CGExprAgg.cpp", |
| 66 |
"CGExprCXX.cpp", |
| 67 |
"CGExprComplex.cpp", |
| 68 |
"CGExprConstant.cpp", |
| 69 |
"CGExprScalar.cpp", |
| 70 |
"CGGPUBuiltin.cpp", |
| 71 |
"CGHLSLRuntime.cpp", |
| 72 |
"CGLoopInfo.cpp", |
| 73 |
"CGNonTrivialStruct.cpp", |
| 74 |
"CGObjC.cpp", |
| 75 |
"CGObjCGNU.cpp", |
| 76 |
"CGObjCMac.cpp", |
| 77 |
"CGObjCRuntime.cpp", |
| 78 |
"CGOpenCLRuntime.cpp", |
| 79 |
"CGOpenMPRuntime.cpp", |
| 80 |
"CGOpenMPRuntimeGPU.cpp", |
| 81 |
"CGPointerAuth.cpp", |
| 82 |
"CGRecordLayoutBuilder.cpp", |
| 83 |
"CGStmt.cpp", |
| 84 |
"CGStmtOpenMP.cpp", |
| 85 |
"CGVTT.cpp", |
| 86 |
"CGVTables.cpp", |
| 87 |
"CodeGenABITypes.cpp", |
| 88 |
"CodeGenAction.cpp", |
| 89 |
"CodeGenFunction.cpp", |
| 90 |
"CodeGenModule.cpp", |
| 91 |
"CodeGenPGO.cpp", |
| 92 |
"CodeGenTBAA.cpp", |
| 93 |
"CodeGenTypes.cpp", |
| 94 |
"ConstantInitBuilder.cpp", |
| 95 |
"CoverageMappingGen.cpp", |
| 96 |
"ItaniumCXXABI.cpp", |
| 97 |
"LinkInModulesPass.cpp", |
| 98 |
"MacroPPCallbacks.cpp", |
| 99 |
"MicrosoftCXXABI.cpp", |
| 100 |
"ModuleBuilder.cpp", |
| 101 |
"ObjectFilePCHContainerOperations.cpp", |
| 102 |
"PatternInit.cpp", |
| 103 |
"SanitizerMetadata.cpp", |
| 104 |
"SwiftCallingConv.cpp", |
| 105 |
"TargetInfo.cpp", |
| 106 |
"Targets/AArch64.cpp", |
| 107 |
"Targets/AMDGPU.cpp", |
| 108 |
"Targets/ARC.cpp", |
| 109 |
"Targets/ARM.cpp", |
| 110 |
"Targets/AVR.cpp", |
| 111 |
"Targets/BPF.cpp", |
| 112 |
"Targets/CSKY.cpp", |
| 113 |
"Targets/Hexagon.cpp", |
| 114 |
"Targets/Lanai.cpp", |
| 115 |
"Targets/LoongArch.cpp", |
| 116 |
"Targets/M68k.cpp", |
| 117 |
"Targets/MSP430.cpp", |
| 118 |
"Targets/Mips.cpp", |
| 119 |
"Targets/NVPTX.cpp", |
| 120 |
"Targets/PNaCl.cpp", |
| 121 |
"Targets/PPC.cpp", |
| 122 |
"Targets/RISCV.cpp", |
| 123 |
"Targets/SPIR.cpp", |
| 124 |
"Targets/Sparc.cpp", |
| 125 |
"Targets/SystemZ.cpp", |
| 126 |
"Targets/TCE.cpp", |
| 127 |
"Targets/VE.cpp", |
| 128 |
"Targets/WebAssembly.cpp", |
| 129 |
"Targets/X86.cpp", |
| 130 |
"Targets/XCore.cpp", |
| 131 |
"VarBypassDetector.cpp", |
| 132 |
] |
| 133 |
} |