Home
last modified time | relevance | path

Searched refs:frequency (Results 1 – 25 of 90) sorted by relevance

1234

/llvm-project-15.0.7/llvm/docs/
H A DBlockFrequencyTerminology.rst11 Block Frequency is a metric for estimating the relative frequency of different
56 Block frequency is a relative metric that represents the number of times a
57 block executes. The ratio of a block frequency to the entry block frequency is
60 Block frequency is the main output of the ``BlockFrequencyInfo`` and
66 The implementation of the block frequency calculation analyses each loop,
96 Implementation: Getting from mass and scale to frequency
103 We can get an initial frequency assignment (with entry frequency of 1.0) by
109 frequency assignment is shifted as necessary into the range of ``uint64_t``.
119 The proposed calculation involves calculating a *reference* block frequency,
127 This reference frequency represents what the block frequency would be in an
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/
H A Dreduce_cr.ll5 ; First block frequency info
6 ;CHECK: block-frequency-info: loop_test
12 ;CHECK: block-frequency-info: loop_test
13 ;CHECK: block-frequency-info: loop_test
14 ;CHECK: block-frequency-info: loop_test
16 ; Last block frequency info
17 ;CHECK: block-frequency-info: loop_test
/llvm-project-15.0.7/llvm/test/Transforms/JumpThreading/
H A Dstatic-profile.ll4 ; branch-weight metadata. Even if the function has an entry frequency, a
8 ; loop-exiting branch to 0, drastically inflating the frequency of the loop
31 ; the frequency of eq_1 from check_2 and then the false edge leaving check_2
51 ; the loop latch. Frequencies are updated to remove the frequency of eq_1
71 ; As a result, the loop exit edge ends up with 0 frequency which in turn makes
72 ; the loop header to have maximum frequency.
/llvm-project-15.0.7/llvm/test/Analysis/BlockFrequencyInfo/
H A Dirreducible.ll7 ; CHECK-NEXT: block-frequency-info: multiexit
54 ; this block. Its successors are the headers, which split the frequency
65 ; distributing frequency iteratively (to infinity). At the first iteration,
95 ; CHECK-NEXT: block-frequency-info: multientry
135 ; CHECK-NEXT: block-frequency-info: crossloops
161 ; CHECK-NEXT: block-frequency-info: loop_around_irreducible
192 ; CHECK-NEXT: block-frequency-info: two_sccs
232 ; CHECK-NEXT: block-frequency-info: loop_inside_irreducible
264 ; CHECK-NEXT: block-frequency-info: loop_around_branch_with_irreducible
356 ; CHECK-NEXT: block-frequency-info: nonheader
[all …]
H A Dbad_input.ll6 ; CHECK-NEXT: block-frequency-info: branch_weight_0
12 ; Check that we get 1 and a huge frequency instead of 0,3.
29 ; CHECK-NEXT: block-frequency-info: infinite_loop
H A Dbasic.ll5 ; CHECK-NEXT: block-frequency-info: test1
10 ; Loop backedges are weighted and thus their bodies have a greater frequency.
29 ; CHECK-NEXT: block-frequency-info: test2
54 ; CHECK-NEXT: block-frequency-info: test3
97 ; CHECK-NEXT: block-frequency-info: nested_loops
H A Dredundant_edges.ll5 ; CHECK-NEXT: block-frequency-info: test1
H A Ddouble_backedge.ll5 ; CHECK-NEXT: block-frequency-info: double_backedge
/llvm-project-15.0.7/openmp/runtime/src/
H A Dkmp_utility.cpp94 char const *frequency // I: Float number and unit: MHz, GHz, or TGz. in __kmp_parse_frequency() argument
101 if (frequency == NULL) { in __kmp_parse_frequency()
104 value = strtod(frequency, &unit); in __kmp_parse_frequency()
279 p->frequency = __kmp_parse_frequency(strrchr(&p->name[0], ' ')); in __kmp_query_cpuid()
282 p->frequency)); in __kmp_query_cpuid()
H A Dkmp_stub.cpp54 static double frequency = 0.0; variable
78 frequency = double(freq.QuadPart); in __kmps_init()
288 if (frequency > 0.0) { in __kmps_get_wtime()
292 wtime = double(now.QuadPart) / frequency; in __kmps_get_wtime()
/llvm-project-15.0.7/llvm/test/Transforms/Inline/
H A Dbfi-update.ll8 ; maximum block frequency among the original blocks in c. If it gets the
9 ; frequency of the block with label cond_true in @c, its frequency will be
10 ; 1/10th of function a's entry block frequency, resulting in a callsite count of
/llvm-project-15.0.7/llvm/test/tools/llvm-xray/X86/
H A Dconvert-roundtrip.yaml8 cycle-frequency: 2601000000
20 #CHECK-NEXT: cycle-frequency: 2601000000
H A Dconvert-with-debug-syms.txt10 ; CHECK-NEXT: cycle-frequency: 2601000000
28 ; MANGLED-NEXT: cycle-frequency: 2601000000
H A Dstack-empty-case.yaml8 cycle-frequency: 2601000000
H A Dstack-simple-case.yaml8 cycle-frequency: 2601000000
H A Daccount-simple-case.yaml8 cycle-frequency: 2601000000
H A Dconvert-fdr-arg1-to-yaml.txt9 ; CHECK-NEXT: cycle-frequency: 3500000000
H A Dgraph-zero-latency-calls.yaml9 cycle-frequency: 2601000000
H A Dconvert-basic-arg1-to-yaml.txt9 ; CHECK-NEXT: cycle-frequency: 3500000000
H A Dconvert-traceevent-special-events.txt10 cycle-frequency: 2601000000
/llvm-project-15.0.7/bolt/test/X86/
H A Dshrinkwrapping-do-not-pessimize.s4 # blocks have the same frequency when B post-dominate A and A dominates B and
21 # the same frequency. But we tweak edge counts from profile to make block A
39 # Reduce frequency from 9 to 1 to simulate an inaccurate profile
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/GlobalISel/
H A DRegBankSelect.h195 virtual uint64_t frequency(const Pass &P) const { return 1; } in frequency() function
230 uint64_t frequency(const Pass &P) const override;
268 uint64_t frequency(const Pass &P) const override;
308 uint64_t frequency(const Pass &P) const override;
/llvm-project-15.0.7/libc/benchmarks/
H A DRATIONALE.md94 - [Dynamic frequency
178 ### Effect of dynamic frequency scaling
180 Modern processors implement [dynamic frequency
182 `performance` mode the CPU will increase its frequency and run faster than usual
185 limits, the number of cores currently in use, and the maximum frequency of the
188 **Decision: When benchmarking we want to make sure the dynamic frequency scaling
190 events are not impacted by frequency scaling.**
228 We reuse some parts of Google Benchmark (detection of frequency scaling, CPU
/llvm-project-15.0.7/llvm/test/Transforms/ConstantHoisting/X86/
H A Dehpad.ll1 ; RUN: opt -S -consthoist -consthoist-with-block-frequency=false < %s | FileCheck %s
2 ; RUN: opt -S -consthoist -consthoist-with-block-frequency=true < %s | FileCheck --check-prefix=BFI…
/llvm-project-15.0.7/llvm/test/Other/
H A Doptimization-remarks-lazy-bfi.ll20 ; HOTNESS: block-frequency: forced
22 ; NO_HOTNESS-NOT: block-frequency: forced

1234