[llvm-readobj] - Simplify stack-sizes.test test case.
[llvm-complete.git] / utils / gn / secondary / llvm / lib / Transforms / InstCombine / BUILD.gn
blobd68a00712720ac8699d6c7d6d030b7f33398368a
1 import("//llvm/utils/TableGen/tablegen.gni")
3 tablegen("InstCombineTables") {
4   visibility = [ ":InstCombine" ]
5   args = [ "-gen-searchable-tables" ]
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     "InstCombineAtomicRMW.cpp",
21     "InstCombineCalls.cpp",
22     "InstCombineCasts.cpp",
23     "InstCombineCompares.cpp",
24     "InstCombineLoadStoreAlloca.cpp",
25     "InstCombineMulDivRem.cpp",
26     "InstCombinePHI.cpp",
27     "InstCombineSelect.cpp",
28     "InstCombineShifts.cpp",
29     "InstCombineSimplifyDemanded.cpp",
30     "InstCombineVectorOps.cpp",
31     "InstructionCombining.cpp",
32   ]