mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-26 02:06:07 +00:00

This patch adds a new benchmark suite for SandboxIR. It measures the performance of some of the most commonly used API functions and compares it against LLVM IR.
14 lines
549 B
CMake
14 lines
549 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
AsmParser
|
|
Core
|
|
SandboxIR
|
|
Support)
|
|
|
|
add_benchmark(DummyYAML DummyYAML.cpp PARTIAL_SOURCES_INTENDED)
|
|
add_benchmark(xxhash xxhash.cpp PARTIAL_SOURCES_INTENDED)
|
|
add_benchmark(GetIntrinsicForClangBuiltin GetIntrinsicForClangBuiltin.cpp PARTIAL_SOURCES_INTENDED)
|
|
add_benchmark(FormatVariadicBM FormatVariadicBM.cpp PARTIAL_SOURCES_INTENDED)
|
|
add_benchmark(GetIntrinsicInfoTableEntriesBM GetIntrinsicInfoTableEntriesBM.cpp PARTIAL_SOURCES_INTENDED)
|
|
add_benchmark(SandboxIRBench SandboxIRBench.cpp PARTIAL_SOURCES_INTENDED)
|
|
|