1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/tools/llvm-mca/lib/CMakeLists.txt
Andrea Di Biagio b212088edb [llvm-mca] PR39261: Rename FetchStage to EntryStage.
This fixes PR39261.

FetchStage is a misnomer. It causes confusion with the frontend fetch stage,
which we don't currently simulate.  I decided to rename it into EntryStage
mainly because this is meant to be a "source" stage for all pipelines.

Differential Revision: https://reviews.llvm.org/D54268

llvm-svn: 346419
2018-11-08 17:49:30 +00:00

33 lines
730 B
CMake

include_directories(${LLVM_MCA_SOURCE_DIR}/include)
add_library(LLVMMCA
STATIC
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
)
llvm_update_compile_flags(LLVMMCA)
llvm_map_components_to_libnames(libs
MC
Support
)
target_link_libraries(LLVMMCA ${libs})
set_target_properties(LLVMMCA PROPERTIES FOLDER "Libraries")