• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1cc_library_static {
2    name: "libLLVMAArch64CodeGen",
3    defaults: [
4        "llvm-lib-defaults",
5        "llvm-aarch64-defaults",
6    ],
7    srcs: ["*.cpp"],
8
9    // Global ISEL is an experimental feature.  If LLVM_BUILD_GLOBAL_ISEL is not
10    // set, these files fail compilation based on a macro check.
11    exclude_srcs: [
12        "AArch64CallLowering.cpp",
13        "AArch64RegisterBankInfo.cpp",
14    ],
15}
16
17cc_defaults {
18    name: "llvm-aarch64-defaults",
19    generated_headers: ["llvm-gen-aarch64"],
20    static_libs: ["llvm-aarch64-headers"],
21}
22
23cc_library_static {
24    name: "llvm-aarch64-headers",
25    host_supported: true,
26    target: {
27        windows: {
28            enabled: true,
29        },
30    },
31    export_include_dirs: ["."],
32}
33
34llvm_tblgen {
35    name: "llvm-gen-aarch64",
36    in: "AArch64.td",
37    outs: [
38        "AArch64GenRegisterInfo.inc",
39        "AArch64GenInstrInfo.inc",
40        "AArch64GenAsmWriter.inc",
41        "AArch64GenAsmWriter1.inc",
42        "AArch64GenDAGISel.inc",
43        "AArch64GenCallingConv.inc",
44        "AArch64GenAsmMatcher.inc",
45        "AArch64GenSubtargetInfo.inc",
46        "AArch64GenMCCodeEmitter.inc",
47        "AArch64GenFastISel.inc",
48        "AArch64GenDisassemblerTables.inc",
49        "AArch64GenMCPseudoLowering.inc",
50        "AArch64GenSystemOperands.inc",
51    ],
52}
53
54subdirs = ["*"]
55