add_llvm_component_library(LLVMPasses
CodeGenPassBuilder.cpp
OptimizationLevel.cpp
PassBuilder.cpp
PassBuilderBindings.cpp
PassBuilderPipelines.cpp
PassPlugin.cpp
StandardInstrumentations.cpp
ADDITIONAL_HEADER_DIRS
${LLVM_MAIN_INCLUDE_DIR}/llvm
${LLVM_MAIN_INCLUDE_DIR}/llvm/Passes
DEPENDS
intrinsics_gen
LINK_COMPONENTS
AggressiveInstCombine
Analysis
CFGuard
CodeGen
Core
Coroutines
HipStdPar
IPO
InstCombine
IRPrinter
ObjCARC
Scalar
Support
Target
TransformUtils
Vectorize
Instrumentation
)