
These define the main data structures to represent stable functions and group similar functions in a function map. Serialization is supported in a binary or yaml form. Depends on #112638. This is a patch for https://discourse.llvm.org/t/rfc-global-function-merging/82608.
17 lines
312 B
CMake
17 lines
312 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
${LLVM_TARGETS_TO_BUILD}
|
|
CGData
|
|
CodeGen
|
|
Core
|
|
Support
|
|
)
|
|
|
|
add_llvm_unittest(CGDataTests
|
|
OutlinedHashTreeRecordTest.cpp
|
|
OutlinedHashTreeTest.cpp
|
|
StableFunctionMapRecordTest.cpp
|
|
StableFunctionMapTest.cpp
|
|
)
|
|
|
|
target_link_libraries(CGDataTests PRIVATE LLVMTestingSupport)
|