[PATCH] D50894: Pull google/benchmark library to the LLVM tree
Kirill Bobyrev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 24 00:55:43 PDT 2018
kbobyrev updated this revision to Diff 162331.
kbobyrev marked 3 inline comments as done.
kbobyrev added a comment.
Similarly to unittest infrastructure, add `LLVM_BUILD_BENCHMARKS` and `LLVM_INCLUDE_BENCHMARKS` CMake variables to add benchmarks to the list of default targets and generate build targets respectively.
Next step (for another patch) would be to add update benchmark library according to https://github.com/google/benchmark/commit/f85304e4e3a0e4e1bf15b91720df4a19e90b589f to silence a bunch of warnings generated by a relatively recent Clang compiler.
https://reviews.llvm.org/D50894
Files:
llvm/CMakeLists.txt
llvm/benchmarks/CMakeLists.txt
llvm/benchmarks/DummyYAML.cpp
llvm/cmake/modules/AddLLVM.cmake
llvm/utils/benchmark/AUTHORS
llvm/utils/benchmark/CMakeLists.txt
llvm/utils/benchmark/CONTRIBUTING.md
llvm/utils/benchmark/CONTRIBUTORS
llvm/utils/benchmark/LICENSE
llvm/utils/benchmark/README.LLVM
llvm/utils/benchmark/README.md
llvm/utils/benchmark/WORKSPACE
llvm/utils/benchmark/appveyor.yml
llvm/utils/benchmark/cmake/AddCXXCompilerFlag.cmake
llvm/utils/benchmark/cmake/CXXFeatureCheck.cmake
llvm/utils/benchmark/cmake/Config.cmake.in
llvm/utils/benchmark/cmake/GetGitVersion.cmake
llvm/utils/benchmark/cmake/HandleGTest.cmake
llvm/utils/benchmark/cmake/Modules/FindLLVMAr.cmake
llvm/utils/benchmark/cmake/Modules/FindLLVMNm.cmake
llvm/utils/benchmark/cmake/Modules/FindLLVMRanLib.cmake
llvm/utils/benchmark/cmake/benchmark.pc.in
llvm/utils/benchmark/cmake/gnu_posix_regex.cpp
llvm/utils/benchmark/cmake/llvm-toolchain.cmake
llvm/utils/benchmark/cmake/posix_regex.cpp
llvm/utils/benchmark/cmake/split_list.cmake
llvm/utils/benchmark/cmake/std_regex.cpp
llvm/utils/benchmark/cmake/steady_clock.cpp
llvm/utils/benchmark/cmake/thread_safety_attributes.cpp
llvm/utils/benchmark/docs/AssemblyTests.md
llvm/utils/benchmark/docs/tools.md
llvm/utils/benchmark/include/benchmark/benchmark.h
llvm/utils/benchmark/mingw.py
llvm/utils/benchmark/releasing.md
llvm/utils/benchmark/src/CMakeLists.txt
llvm/utils/benchmark/src/arraysize.h
llvm/utils/benchmark/src/benchmark.cc
llvm/utils/benchmark/src/benchmark_api_internal.h
llvm/utils/benchmark/src/benchmark_main.cc
llvm/utils/benchmark/src/benchmark_register.cc
llvm/utils/benchmark/src/benchmark_register.h
llvm/utils/benchmark/src/check.h
llvm/utils/benchmark/src/colorprint.cc
llvm/utils/benchmark/src/colorprint.h
llvm/utils/benchmark/src/commandlineflags.cc
llvm/utils/benchmark/src/commandlineflags.h
llvm/utils/benchmark/src/complexity.cc
llvm/utils/benchmark/src/complexity.h
llvm/utils/benchmark/src/console_reporter.cc
llvm/utils/benchmark/src/counter.cc
llvm/utils/benchmark/src/counter.h
llvm/utils/benchmark/src/csv_reporter.cc
llvm/utils/benchmark/src/cycleclock.h
llvm/utils/benchmark/src/internal_macros.h
llvm/utils/benchmark/src/json_reporter.cc
llvm/utils/benchmark/src/log.h
llvm/utils/benchmark/src/mutex.h
llvm/utils/benchmark/src/re.h
llvm/utils/benchmark/src/reporter.cc
llvm/utils/benchmark/src/sleep.cc
llvm/utils/benchmark/src/sleep.h
llvm/utils/benchmark/src/statistics.cc
llvm/utils/benchmark/src/statistics.h
llvm/utils/benchmark/src/string_util.cc
llvm/utils/benchmark/src/string_util.h
llvm/utils/benchmark/src/sysinfo.cc
llvm/utils/benchmark/src/thread_manager.h
llvm/utils/benchmark/src/thread_timer.h
llvm/utils/benchmark/src/timers.cc
llvm/utils/benchmark/src/timers.h
llvm/utils/benchmark/test/AssemblyTests.cmake
llvm/utils/benchmark/test/CMakeLists.txt
llvm/utils/benchmark/test/basic_test.cc
llvm/utils/benchmark/test/benchmark_gtest.cc
llvm/utils/benchmark/test/benchmark_test.cc
llvm/utils/benchmark/test/clobber_memory_assembly_test.cc
llvm/utils/benchmark/test/complexity_test.cc
llvm/utils/benchmark/test/cxx03_test.cc
llvm/utils/benchmark/test/diagnostics_test.cc
llvm/utils/benchmark/test/donotoptimize_assembly_test.cc
llvm/utils/benchmark/test/donotoptimize_test.cc
llvm/utils/benchmark/test/filter_test.cc
llvm/utils/benchmark/test/fixture_test.cc
llvm/utils/benchmark/test/link_main_test.cc
llvm/utils/benchmark/test/map_test.cc
llvm/utils/benchmark/test/multiple_ranges_test.cc
llvm/utils/benchmark/test/options_test.cc
llvm/utils/benchmark/test/output_test.h
llvm/utils/benchmark/test/output_test_helper.cc
llvm/utils/benchmark/test/register_benchmark_test.cc
llvm/utils/benchmark/test/reporter_output_test.cc
llvm/utils/benchmark/test/skip_with_error_test.cc
llvm/utils/benchmark/test/state_assembly_test.cc
llvm/utils/benchmark/test/statistics_gtest.cc
llvm/utils/benchmark/test/templated_fixture_test.cc
llvm/utils/benchmark/test/user_counters_tabular_test.cc
llvm/utils/benchmark/test/user_counters_test.cc
llvm/utils/benchmark/tools/compare.py
llvm/utils/benchmark/tools/gbench/Inputs/test1_run1.json
llvm/utils/benchmark/tools/gbench/Inputs/test1_run2.json
llvm/utils/benchmark/tools/gbench/Inputs/test2_run.json
llvm/utils/benchmark/tools/gbench/__init__.py
llvm/utils/benchmark/tools/gbench/report.py
llvm/utils/benchmark/tools/gbench/util.py
llvm/utils/benchmark/tools/strip_asm.py
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50894.162331.patch
Type: text/x-patch
Size: 522807 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180824/2fd10a28/attachment-0001.bin>
More information about the llvm-commits
mailing list