blob: 0082528307b4939e83b93c5b2e2f6163f2231d41 [file] [log] [blame]
import("//llvm/utils/TableGen/tablegen.gni")
tablegen("InstCombineTables") {
visibility = [ ":InstCombine" ]
args = [ "-gen-searchable-tables" ]
}
static_library("InstCombine") {
output_name = "LLVMInstCombine"
deps = [
":InstCombineTables",
"//llvm/lib/Analysis",
"//llvm/lib/IR",
"//llvm/lib/Support",
"//llvm/lib/Transforms/Utils",
]
sources = [
"InstCombineAddSub.cpp",
"InstCombineAndOrXor.cpp",
"InstCombineCalls.cpp",
"InstCombineCasts.cpp",
"InstCombineCompares.cpp",
"InstCombineLoadStoreAlloca.cpp",
"InstCombineMulDivRem.cpp",
"InstCombinePHI.cpp",
"InstCombineSelect.cpp",
"InstCombineShifts.cpp",
"InstCombineSimplifyDemanded.cpp",
"InstCombineVectorOps.cpp",
"InstructionCombining.cpp",
]
}