]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - utils/gn/secondary/llvm/lib/Transforms/InstCombine/BUILD.gn
Vendor import of llvm trunk r351319 (just before the release_80 branch
[FreeBSD/FreeBSD.git] / utils / gn / secondary / llvm / lib / Transforms / InstCombine / BUILD.gn
1 import("//llvm/utils/TableGen/tablegen.gni")
2
3 tablegen("InstCombineTables") {
4   visibility = [ ":InstCombine" ]
5   args = [ "-gen-searchable-tables" ]
6 }
7
8 static_library("InstCombine") {
9   output_name = "LLVMInstCombine"
10   deps = [
11     ":InstCombineTables",
12     "//llvm/lib/Analysis",
13     "//llvm/lib/IR",
14     "//llvm/lib/Support",
15     "//llvm/lib/Transforms/Utils",
16   ]
17   sources = [
18     "InstCombineAddSub.cpp",
19     "InstCombineAndOrXor.cpp",
20     "InstCombineCalls.cpp",
21     "InstCombineCasts.cpp",
22     "InstCombineCompares.cpp",
23     "InstCombineLoadStoreAlloca.cpp",
24     "InstCombineMulDivRem.cpp",
25     "InstCombinePHI.cpp",
26     "InstCombineSelect.cpp",
27     "InstCombineShifts.cpp",
28     "InstCombineSimplifyDemanded.cpp",
29     "InstCombineVectorOps.cpp",
30     "InstructionCombining.cpp",
31   ]
32 }