#include "benchmark/benchmark.h" #include "llvm/IR/Intrinsics.h" usingnamespacellvm; usingnamespaceIntrinsic; // Benchmark intrinsic lookup from a variety of targets. static void BM_GetIntrinsicForClangBuiltin(benchmark::State &state) { … } static void BM_GetIntrinsicForClangBuiltinHexagonFirst(benchmark::State &state) { … } BENCHMARK(…); BENCHMARK(…); BENCHMARK_MAIN(…);