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