mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
b212088edb
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
33 lines
730 B
CMake
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")
|