Home
last modified time | relevance | path

Searched refs:branches (Results 1 – 25 of 345) sorted by relevance

12345678910>>...14

/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/bugprone/
H A Dbranch-clone.rst6 Checks for repeated branches in ``if/else if/else`` chains, consecutive
7 repeated branches in ``switch`` statements and identical true and false
8 branches in conditional operators.
21 ``then`` and ``else`` branches are identical and the code is equivalent the
35 The check also detects repeated branches in longer ``if/else if/else`` chains
38 In ``switch`` statements the check only reports repeated branches when they are
58 Here the check reports that the ``'a'`` and ``'A'`` branches are identical
59 (and that the ``'b'`` and ``'B'`` branches are also identical), but does not
60 report that the ``default:`` branch is also identical to the first two branches.
89 Note: This check also reports situations where branches become identical only
/llvm-project-15.0.7/llvm/test/MC/ARM/
H A Dthumb2-branches.s4 @ unconditional branches accept narrow suffix and encode to short encodings
14 @ unconditional branches accept wide suffix and encode to wide encodings
28 @ unconditional branches without width suffix encode depending of offset size
46 @ unconditional branches with width narrow suffix in IT block
60 @ unconditional branches with wide suffix in IT block
82 @ conditional branches accept narrow suffix and encode to short encodings
92 @ unconditional branches accept wide suffix and encode to wide encodings
163 @ unconditional branches accept wide suffix and encode to wide encodings
195 @ unconditional branches with width narrow suffix in IT block
209 @ unconditional branches with wide suffix in IT block
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/Mips/compactbranches/
H A Dcompact-branch-policy.ll1 ; Check that -mips-compact-branches={never,optimal,always} is accepted and honoured.
2 ; RUN: llc -march=mips -mcpu=mips32r6 -mips-compact-branches=never < %s | FileCheck %s -check-prefi…
3 ; RUN: llc -march=mips -mcpu=mips32r6 -mips-compact-branches=optimal < %s | FileCheck %s -check-pre…
4 ; RUN: llc -march=mips -mcpu=mips32r6 -mips-compact-branches=always < %s | FileCheck %s -check-pref…
/llvm-project-15.0.7/polly/test/ScopDetect/
H A Dnon-affine-loop.ll1 ; RUN: opt %loadPolly -polly-allow-nonaffine-branches -polly-allow-nonaffine-loops=false …
2 ; RUN: opt %loadPolly -polly-allow-nonaffine-branches -polly-allow-nonaffine-loops=true …
3 ; RUN: opt %loadPolly -polly-allow-nonaffine-branches -polly-allow-nonaffine-loops=false -polly-all…
4 ; RUN: opt %loadPolly -polly-allow-nonaffine-branches -polly-allow-nonaffine-loops=true -polly-all…
5 ; RUN: opt %loadPolly -polly-allow-nonaffine-branches -polly-allow-nonaffine-loops=true -polly-all…
H A Dnon-affine-loop-condition-dependent-access.ll1 ; RUN: opt %loadPolly -basic-aa -polly-allow-nonaffine-branches -polly-allow-nonaffine-loops=false …
2 ; RUN: opt %loadPolly -basic-aa -polly-allow-nonaffine-branches -polly-allow-nonaffine-loops=true …
3 ; RUN: opt %loadPolly -basic-aa -polly-allow-nonaffine-branches -polly-allow-nonaffine-loops=true …
4 ; RUN: opt %loadPolly -basic-aa -polly-allow-nonaffine-branches -polly-allow-nonaffine-loops=true …
/llvm-project-15.0.7/llvm/test/CodeGen/ARM/
H A Dindirectbr-3.ll5 ; for blocks with indirect branches, the IfConverter could end up deleting
6 ; blocks that were the destinations of indirect branches, leaving branches to
/llvm-project-15.0.7/llvm/test/Transforms/Inline/ML/
H A Dsize-estimator-training.ll5 ; DEFAULT: [InlineSizeEstimatorAnalysis] size estimate for branches: None
6 ; CHECK: [InlineSizeEstimatorAnalysis] size estimate for branches: 28
/llvm-project-15.0.7/.github/workflows/
H A Dversion-check.yml5 branches:
8 branches:
H A Dlld-tests.yml7 branches:
16 branches:
H A Dclang-tests.yml7 branches:
16 branches:
H A Dlibclc-tests.yml7 branches:
17 branches:
H A Dlldb-tests.yml7 branches:
17 branches:
/llvm-project-15.0.7/llvm/test/CodeGen/Mips/
H A Dreloc-jalr.ll10 ; RUN: -O2 -mcpu=mips32r6 -mips-compact-branches=always < %s | \
14 ; RUN: -O2 -mcpu=mips64r6 -mips-compact-branches=always < %s | \
18 ; RUN: -O2 -mcpu=mips32r6 -mips-compact-branches=never < %s | \
22 ; RUN: -O2 -mcpu=mips64r6 -mips-compact-branches=never < %s | \
40 ; RUN: -O0 -mcpu=mips32r6 -mips-compact-branches=always < %s | \
44 ; RUN: -O0 -mcpu=mips64r6 -mips-compact-branches=always < %s | \
48 ; RUN: -O0 -mcpu=mips32r6 -mips-compact-branches=never < %s | \
52 ; RUN: -O0 -mcpu=mips64r6 -mips-compact-branches=never < %s | \
/llvm-project-15.0.7/llvm/test/Transforms/Inline/ML/Inputs/
H A Dsize-estimator.ll7 define i32 @branches(i32) {
25 %1 = call i32 @branches(i32 2)
/llvm-project-15.0.7/llvm/test/tools/llvm-cov/gcov/
H A Dbasic.test89 OUT-FB-NEXT:No branches
94 OUT-FB-NEXT:No branches
99 OUT-FB-NEXT:No branches
104 OUT-FB-NEXT:No branches
109 OUT-FB-NEXT:No branches
114 OUT-FB-NEXT:No branches
119 OUT-FB-NEXT:No branches
124 OUT-FB-NEXT:No branches
129 OUT-FB-NEXT:No branches
141 OUT-B-NEXT:No branches
[all …]
/llvm-project-15.0.7/llvm/test/MC/X86/
H A Dalign-branch-general.s2 # RUN: llvm-mc -filetype=obj -triple x86_64 --x86-branches-within-32B-boundaries %s -o %t2
5 # Check the general option --x86-branches-within-32B-boundaries is equivelent
/llvm-project-15.0.7/llvm/test/Transforms/LoopVectorize/
H A Dmultiple-exits-versioning.ll4 ; multiple exiting branches.
6 ; Multiple branches exiting the loop to a unique exit block. The loop should
38 ; Multiple branches exiting the loop to different blocks. Currently this is not supported.
/llvm-project-15.0.7/llvm/test/tools/llvm-cov/
H A Dbranch-export-json.test5 // CHECK: "branches":
27 // MACROS: "branches":
/llvm-project-15.0.7/bolt/docs/
H A DOptimizingClang.md80 660155947 : executed forward branches (-2.3%)
81 48252553 : taken forward branches (-57.2%)
82 129897961 : executed backward branches (+13.8%)
83 52389551 : taken backward branches (-19.5%)
84 35650038 : executed unconditional branches (-33.2%)
91 20467109 : taken jump table branches (=)
92 825703946 : total branches (-2.1%)
93 136292142 : taken branches (-41.1%)
94 689411804 : non-taken conditional branches (+12.6%)
95 100642104 : taken conditional branches (-43.4%)
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Dswitch-density.ll44 ; Lowered as a jump table when sparse, and branches when dense.
75 ; Lowered as a jump table when sparse, and branches when dense.
98 ; Lowered as branches.
124 ; Lowered as branches.
H A Dalign-branch-boundary-suppressions-tls.ll5 ; RUN: llc -mtriple=i386 -relocation-model=pic -x86-branches-within-32B-boundaries < %s | FileCheck…
6 ; RUN: llc -mtriple=x86_64 -relocation-model=pic -x86-branches-within-32B-boundaries < %s | FileChe…
/llvm-project-15.0.7/llvm/lib/ProfileData/
H A DGCOV.cpp51 uint64_t branches = 0; member
720 int branches = 0, execBranches = 0, takenBranches = 0; in collectSourceLine() local
722 ++branches; in collectSourceLine()
728 if (branches > 1) { in collectSourceLine()
729 summary->branches += branches; in collectSourceLine()
943 if (summary.branches == 0) { in printSummary()
947 double(summary.branchesExec) * 100 / summary.branches, in printSummary()
948 summary.branches); in printSummary()
950 double(summary.branchesTaken) * 100 / summary.branches, in printSummary()
951 summary.branches); in printSummary()
/llvm-project-15.0.7/llvm/test/Transforms/SampleProfile/
H A Dnolocinfo.ll9 ; Remarks for conditional branches need debug location information for the
12 ; CHECK: remark: nolocinfo.c:3:5: most popular destination for conditional branches at <UNKNOWN LOC…
/llvm-project-15.0.7/polly/test/ScopInfo/NonAffine/
H A Dnon_affine_loop_condition.ll1 ; RUN: opt %loadPolly -polly-allow-nonaffine-branches -polly-allow-nonaffine-loops …
2 ; RUN: opt %loadPolly -polly-allow-nonaffine-branches -polly-allow-nonaffine-loops -polly-process-u…
3 ; RUN: opt %loadPolly -polly-allow-nonaffine-branches -polly-allow-nonaffine-loops -polly-detect-re…
/llvm-project-15.0.7/llvm/test/Transforms/SimplifyCFG/
H A Dfold-two-entry-phi-node-with-one-block-profmd.ll45 br i1 %cmp, label %cond.true, label %end, !prof !0 ; likely branches to %cond.true
74 br i1 %cmp, label %end, label %cond.true, !prof !0 ; likely branches to %end
99 br i1 %cmp, label %end, label %cond.true, !prof !1 ; probably likely branches to %end
149 …br i1 %cmp, label %cond.true, label %end, !prof !0, !unpredictable !2 ; likely branches to %cond.t…
174 …br i1 %cmp, label %end, label %cond.true, !prof !0, !unpredictable !2 ; likely branches to %end, y…

12345678910>>...14