add_llvm_library(LLVMMCA Context.cpp HWEventListener.cpp HardwareUnits/HardwareUnit.cpp HardwareUnits/LSUnit.cpp HardwareUnits/RegisterFile.cpp HardwareUnits/ResourceManager.cpp HardwareUnits/RetireControlUnit.cpp HardwareUnits/Scheduler.cpp InstrBuilder.cpp Instruction.cpp Pipeline.cpp Stages/DispatchStage.cpp Stages/EntryStage.cpp Stages/ExecuteStage.cpp Stages/InstructionTables.cpp Stages/RetireStage.cpp Stages/Stage.cpp Support.cpp ADDITIONAL_HEADER_DIRS ${LLVM_MAIN_INCLUDE_DIR}/llvm/MCA )