• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1cc_library_static {
2    name: "libLLVMX86CodeGen",
3    defaults: [
4        "llvm-lib-defaults",
5        "llvm-x86-defaults",
6    ],
7    srcs: ["*.cpp"],
8
9    // b/31559947, b/31938382 clang-tidy segmentation fault.
10    tidy_checks: [
11        "-clang-analyzer-*",
12        "-readability-*",
13        "-google-readability-*",
14    ],
15}
16
17cc_defaults {
18    name: "llvm-x86-defaults",
19    generated_headers: ["llvm-gen-x86"],
20    static_libs: ["llvm-x86-headers"],
21}
22
23cc_library_static {
24    name: "llvm-x86-headers",
25    vendor_available: true,
26    host_supported: true,
27    target: {
28        windows: {
29            enabled: true,
30        },
31    },
32    export_include_dirs: ["."],
33}
34
35llvm_tblgen {
36    name: "llvm-gen-x86",
37    in: "X86.td",
38    outs: [
39        "X86GenAsmMatcher.inc",
40        "X86GenAsmWriter.inc",
41        "X86GenAsmWriter1.inc",
42        "X86GenDisassemblerTables.inc",
43        "X86GenRegisterInfo.inc",
44        "X86GenInstrInfo.inc",
45        "X86GenDAGISel.inc",
46        "X86GenFastISel.inc",
47        "X86GenSubtargetInfo.inc",
48        "X86GenCallingConv.inc",
49    ],
50}
51
52subdirs = ["*"]
53