# Generated by devtools/yamaker from nixpkgs 22.05.

LIBRARY()

LICENSE(
    Apache-2.0 WITH LLVM-exception AND
    NCSA
)

LICENSE_TEXTS(.yandex_meta/licenses.list.txt)

VERSION(16.0.0)

ORIGINAL_SOURCE(https://github.com/llvm/llvm-project/archive/llvmorg-16.0.0.tar.gz)

ADDINCL(
    GLOBAL ${ARCADIA_BUILD_ROOT}/contrib/libs/llvm16/include
    GLOBAL contrib/libs/llvm16/include
)

END()

RECURSE(
    include
    lib/Analysis
    lib/AsmParser
    lib/BinaryFormat
    lib/Bitcode/Reader
    lib/Bitcode/Writer
    lib/Bitstream/Reader
    lib/CodeGen
    lib/CodeGen/AsmPrinter
    lib/CodeGen/GlobalISel
    lib/CodeGen/MIRParser
    lib/CodeGen/SelectionDAG
    lib/DWARFLinker
    lib/DWP
    lib/DebugInfo/CodeView
    lib/DebugInfo/DWARF
    lib/DebugInfo/GSYM
    lib/DebugInfo/MSF
    lib/DebugInfo/PDB
    lib/DebugInfo/Symbolize
    lib/Debuginfod
    lib/Demangle
    lib/ExecutionEngine
    lib/ExecutionEngine/Interpreter
    lib/ExecutionEngine/JITLink
    lib/ExecutionEngine/MCJIT
    lib/ExecutionEngine/Orc
    lib/ExecutionEngine/Orc/Shared
    lib/ExecutionEngine/Orc/TargetProcess
    lib/ExecutionEngine/RuntimeDyld
    lib/Extensions
    lib/FileCheck
    lib/Frontend/HLSL
    lib/Frontend/OpenACC
    lib/Frontend/OpenMP
    lib/FuzzMutate
    lib/IR
    lib/IRPrinter
    lib/IRReader
    lib/InterfaceStub
    lib/LTO
    lib/LineEditor
    lib/Linker
    lib/MC
    lib/MC/MCDisassembler
    lib/MC/MCParser
    lib/MCA
    lib/ObjCopy
    lib/Object
    lib/ObjectYAML
    lib/Option
    lib/Passes
    lib/ProfileData
    lib/ProfileData/Coverage
    lib/Remarks
    lib/Support
    lib/TableGen
    lib/Target
    lib/Target/AArch64
    lib/Target/AArch64/AsmParser
    lib/Target/AArch64/Disassembler
    lib/Target/AArch64/MCTargetDesc
    lib/Target/AArch64/TargetInfo
    lib/Target/AArch64/Utils
    lib/Target/ARM
    lib/Target/ARM/AsmParser
    lib/Target/ARM/Disassembler
    lib/Target/ARM/MCTargetDesc
    lib/Target/ARM/TargetInfo
    lib/Target/ARM/Utils
    lib/Target/BPF
    lib/Target/BPF/AsmParser
    lib/Target/BPF/Disassembler
    lib/Target/BPF/MCTargetDesc
    lib/Target/BPF/TargetInfo
    lib/Target/LoongArch
    lib/Target/LoongArch/AsmParser
    lib/Target/LoongArch/Disassembler
    lib/Target/LoongArch/MCTargetDesc
    lib/Target/LoongArch/TargetInfo
    lib/Target/NVPTX
    lib/Target/NVPTX/MCTargetDesc
    lib/Target/NVPTX/TargetInfo
    lib/Target/PowerPC
    lib/Target/PowerPC/AsmParser
    lib/Target/PowerPC/Disassembler
    lib/Target/PowerPC/MCTargetDesc
    lib/Target/PowerPC/TargetInfo
    lib/Target/WebAssembly
    lib/Target/WebAssembly/AsmParser
    lib/Target/WebAssembly/Disassembler
    lib/Target/WebAssembly/MCTargetDesc
    lib/Target/WebAssembly/TargetInfo
    lib/Target/WebAssembly/Utils
    lib/Target/X86
    lib/Target/X86/AsmParser
    lib/Target/X86/Disassembler
    lib/Target/X86/MCA
    lib/Target/X86/MCTargetDesc
    lib/Target/X86/TargetInfo
    lib/TargetParser
    lib/TextAPI
    lib/ToolDrivers/llvm-dlltool
    lib/ToolDrivers/llvm-lib
    lib/Transforms/AggressiveInstCombine
    lib/Transforms/CFGuard
    lib/Transforms/Coroutines
    lib/Transforms/IPO
    lib/Transforms/InstCombine
    lib/Transforms/Instrumentation
    lib/Transforms/ObjCARC
    lib/Transforms/Scalar
    lib/Transforms/Utils
    lib/Transforms/Vectorize
    lib/WindowsDriver
    lib/WindowsManifest
    lib/XRay
    tools/bugpoint
    tools/dsymutil
    tools/llc
    tools/lli
    tools/lli/ChildTarget
    tools/llvm-ar
    tools/llvm-as
    tools/llvm-bcanalyzer
    tools/llvm-cat
    tools/llvm-cfi-verify
    tools/llvm-cfi-verify/lib
    tools/llvm-config
    tools/llvm-cov
    tools/llvm-cvtres
    tools/llvm-cxxdump
    tools/llvm-cxxfilt
    tools/llvm-cxxmap
    tools/llvm-diff
    tools/llvm-diff/lib
    tools/llvm-dis
    tools/llvm-dwarfdump
    tools/llvm-dwp
    tools/llvm-exegesis
    tools/llvm-exegesis/lib
    tools/llvm-exegesis/lib/AArch64
    tools/llvm-exegesis/lib/PowerPC
    tools/llvm-exegesis/lib/X86
    tools/llvm-extract
    tools/llvm-gsymutil
    tools/llvm-ifs
    tools/llvm-jitlink
    tools/llvm-jitlink/llvm-jitlink-executor
    tools/llvm-libtool-darwin
    tools/llvm-link
    tools/llvm-lipo
    tools/llvm-lto
    tools/llvm-lto2
    tools/llvm-mc
    tools/llvm-mca
    tools/llvm-ml
    tools/llvm-modextract
    tools/llvm-mt
    tools/llvm-nm
    tools/llvm-objcopy
    tools/llvm-objdump
    tools/llvm-opt-report
    tools/llvm-pdbutil
    tools/llvm-profdata
    tools/llvm-profgen
    tools/llvm-rc
    tools/llvm-readobj
    tools/llvm-reduce
    tools/llvm-rtdyld
    tools/llvm-size
    tools/llvm-split
    tools/llvm-stress
    tools/llvm-strings
    tools/llvm-symbolizer
    tools/llvm-undname
    tools/llvm-xray
    tools/lto
    tools/obj2yaml
    tools/opt
    tools/polly/lib
    tools/polly/lib/External/isl
    tools/polly/lib/External/ppcg
    tools/remarks-shlib
    tools/sancov
    tools/sanstats
    tools/verify-uselistorder
    tools/yaml2obj
    utils/TableGen
    utils/TableGen/GlobalISel
)

IF (OS_LINUX)
    RECURSE(
        lib/ExecutionEngine/PerfJITEvents
        tools/gold
    )
ENDIF()