• Home
  • Raw
  • Download

Lines Matching refs:DoNotOptimize

42   benchmark::DoNotOptimize(ps);  in BM_StringViewFromString()
43 benchmark::DoNotOptimize(psv); in BM_StringViewFromString()
46 benchmark::DoNotOptimize(sv); in BM_StringViewFromString()
62 benchmark::DoNotOptimize(a == b); in DoEqualityComparisons()
107 benchmark::DoNotOptimize(a == "aaa"); in DoConstantSizeInlinedEqualityComparisons()
108 benchmark::DoNotOptimize(a == "bbb"); in DoConstantSizeInlinedEqualityComparisons()
109 benchmark::DoNotOptimize(a == "ccc"); in DoConstantSizeInlinedEqualityComparisons()
110 benchmark::DoNotOptimize(a == "ddd"); in DoConstantSizeInlinedEqualityComparisons()
111 benchmark::DoNotOptimize(a == "eee"); in DoConstantSizeInlinedEqualityComparisons()
112 benchmark::DoNotOptimize(a == "fff"); in DoConstantSizeInlinedEqualityComparisons()
113 benchmark::DoNotOptimize(a == "ggg"); in DoConstantSizeInlinedEqualityComparisons()
114 benchmark::DoNotOptimize(a == "hhh"); in DoConstantSizeInlinedEqualityComparisons()
133 benchmark::DoNotOptimize(NonInlinedEq(a, "aaa")); in DoConstantSizeNonInlinedEqualityComparisons()
134 benchmark::DoNotOptimize(NonInlinedEq(a, "bbb")); in DoConstantSizeNonInlinedEqualityComparisons()
135 benchmark::DoNotOptimize(NonInlinedEq(a, "ccc")); in DoConstantSizeNonInlinedEqualityComparisons()
136 benchmark::DoNotOptimize(NonInlinedEq(a, "ddd")); in DoConstantSizeNonInlinedEqualityComparisons()
137 benchmark::DoNotOptimize(NonInlinedEq(a, "eee")); in DoConstantSizeNonInlinedEqualityComparisons()
138 benchmark::DoNotOptimize(NonInlinedEq(a, "fff")); in DoConstantSizeNonInlinedEqualityComparisons()
139 benchmark::DoNotOptimize(NonInlinedEq(a, "ggg")); in DoConstantSizeNonInlinedEqualityComparisons()
140 benchmark::DoNotOptimize(NonInlinedEq(a, "hhh")); in DoConstantSizeNonInlinedEqualityComparisons()
163 benchmark::DoNotOptimize(a); in BM_CompareSame()
164 benchmark::DoNotOptimize(b); in BM_CompareSame()
165 benchmark::DoNotOptimize(a.compare(b)); in BM_CompareSame()
179 benchmark::DoNotOptimize(a); in BM_CompareFirstOneLess()
180 benchmark::DoNotOptimize(b); in BM_CompareFirstOneLess()
181 benchmark::DoNotOptimize(a.compare(b)); in BM_CompareFirstOneLess()
195 benchmark::DoNotOptimize(a); in BM_CompareSecondOneLess()
196 benchmark::DoNotOptimize(b); in BM_CompareSecondOneLess()
197 benchmark::DoNotOptimize(a.compare(b)); in BM_CompareSecondOneLess()
206 benchmark::DoNotOptimize(s.find("x")); // not present; length 1 in BM_find_string_view_len_one()
215 benchmark::DoNotOptimize(s.find("xx")); // not present; length 2 in BM_find_string_view_len_two()
224 benchmark::DoNotOptimize(s.find('x')); // not present in BM_find_one_char()
233 benchmark::DoNotOptimize(s.rfind('x')); // not present in BM_rfind_one_char()
248 benchmark::DoNotOptimize(s.find_first_of(needle)); in BM_worst_case_find_first_of()
346 benchmark::DoNotOptimize(sum); in StringViewMapBenchmark()