reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    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
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",
    "InstCombineAtomicRMW.cpp",
    "InstCombineCalls.cpp",
    "InstCombineCasts.cpp",
    "InstCombineCompares.cpp",
    "InstCombineLoadStoreAlloca.cpp",
    "InstCombineMulDivRem.cpp",
    "InstCombinePHI.cpp",
    "InstCombineSelect.cpp",
    "InstCombineShifts.cpp",
    "InstCombineSimplifyDemanded.cpp",
    "InstCombineVectorOps.cpp",
    "InstructionCombining.cpp",
  ]
}