add_llvm_component_library(LLVMGlobalISel CSEInfo.cpp GISelKnownBits.cpp CSEMIRBuilder.cpp CallLowering.cpp GlobalISel.cpp Combiner.cpp CombinerHelper.cpp GIMatchTableExecutor.cpp GISelChangeObserver.cpp IRTranslator.cpp InlineAsmLowering.cpp InstructionSelect.cpp InstructionSelector.cpp LegalityPredicates.cpp LegalizeMutations.cpp Legalizer.cpp LegalizerHelper.cpp LegalizerInfo.cpp LegacyLegalizerInfo.cpp LoadStoreOpt.cpp Localizer.cpp LostDebugLocObserver.cpp MachineIRBuilder.cpp RegBankSelect.cpp Utils.cpp ADDITIONAL_HEADER_DIRS ${LLVM_MAIN_INCLUDE_DIR}/llvm/CodeGen/GlobalISel DEPENDS intrinsics_gen LINK_COMPONENTS Analysis CodeGen CodeGenTypes Core MC SelectionDAG Support Target TransformUtils )