Home
last modified time | relevance | path

Searched refs:branch (Results 1 – 25 of 1065) sorted by relevance

12345678910>>...43

/llvm-project-15.0.7/llvm/test/MC/Mips/
H A Dmips-bad-branches.s3 # CHECK: error: branch to misaligned address
5 # CHECK: error: branch to misaligned address
7 # CHECK: error: branch to misaligned address
9 # CHECK: error: branch target out of range
11 # CHECK: error: branch to misaligned address
13 # CHECK: error: branch to misaligned address
15 # CHECK: error: branch to misaligned address
17 # CHECK: error: branch target out of range
20 # CHECK: error: branch to misaligned address
26 # CHECK: error: branch target out of range
[all …]
H A Dmicromips-bad-branches.s3 # CHECK: error: branch to misaligned address
5 # CHECK: error: branch target out of range
7 # CHECK: error: branch to misaligned address
9 # CHECK: error: branch target out of range
12 # CHECK: error: branch to misaligned address
14 # CHECK: error: branch target out of range
16 # CHECK: error: branch to misaligned address
18 # CHECK: error: branch target out of range
23 # CHECK: error: branch target out of range
27 # CHECK: error: branch target out of range
[all …]
/llvm-project-15.0.7/llvm/test/MC/SystemZ/
H A Dfixups-zEC12.s7 # CHECK: bpp 12, branch, 0 # encoding: [0xc7,0xc0,0x00,0x00,A,A]
9 # CHECK-REL: 0x{{[0-9A-F]*4}} R_390_PC16DBL branch 0x4
11 bpp 12, branch, 0
13 # CHECK: bpp 12, branch@PLT, 0 # encoding: [0xc7,0xc0,0x00,0x00,A,A]
15 # CHECK-REL: 0x{{[0-9A-F]*4}} R_390_PLT16DBL branch 0x4
17 bpp 12, branch@plt, 0
19 # CHECK: bprp 12, branch, target # encoding: [0xc5,0b1100AAAA,A,B,B,B]
22 # CHECK-REL: 0x{{[0-9A-F]*1}} R_390_PC12DBL branch 0x1
25 bprp 12, branch, target
27 # CHECK: bprp 12, branch@PLT, target@PLT # encoding: [0xc5,0b1100AAAA,A,B,B,B]
[all …]
H A Dinsn-good-zEC12.s76 #CHECK: fixup A - offset: 1, value: branch+1, kind: FK_390_PC12DBL
79 #CHECK: fixup A - offset: 1, value: branch+1, kind: FK_390_PC12DBL
85 bprp 1, branch, target
86 bprp 2, branch, target
87 bprp 3, branch, target
99 bprp 4, branch+100, target
100 bprp 5, branch, target+100
101 bprp 6, branch+100, target+100
113 bprp 7, branch@plt, target
114 bprp 8, branch, target@plt
[all …]
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/readability/
H A Dbraces-around-statements-constexpr-if-templates.cpp5 template <bool branch>
7 if constexpr (branch) in shouldFail()
15 template <bool branch>
17 if constexpr (branch) { in shouldPass()
25 constexpr bool branch = false; in shouldFailNonTemplate() local
26 if constexpr (branch) in shouldFailNonTemplate()
35 constexpr bool branch = false; in shouldPass() local
36 if constexpr (branch) { in shouldPass()
/llvm-project-15.0.7/mlir/lib/Analysis/DataFlow/
H A DDeadCodeAnalysis.cpp235 if (auto branch = dyn_cast<RegionBranchOpInterface>(op)) { in visit() local
236 visitRegionBranchOperation(branch); in visit()
257 visitRegionTerminator(op, branch); in visit()
267 if (auto branch = dyn_cast<BranchOpInterface>(op)) { in visit() local
268 visitBranchOperation(branch); in visit()
343 markEdgeLive(branch->getBlock(), successor); in visitBranchOperation()
346 for (Block *successor : branch->getSuccessors()) in visitBranchOperation()
347 markEdgeLive(branch->getBlock(), successor); in visitBranchOperation()
352 RegionBranchOpInterface branch) { in visitRegionBranchOperation() argument
364 : ProgramPoint(branch); in visitRegionBranchOperation()
[all …]
H A DSparseAnalysis.cpp102 if (auto branch = dyn_cast<RegionBranchOpInterface>(op)) { in visitOperation() local
103 return visitRegionSuccessors({branch}, branch, in visitOperation()
181 block, branch, block->getParent()->getRegionNumber(), argLattices); in visitBlock()
204 if (auto branch = in visitBlock() local
207 branch.getSuccessorOperands(it.getSuccessorIndex()); in visitBlock()
224 ProgramPoint point, RegionBranchOpInterface branch, in visitRegionSuccessors() argument
236 if (op == branch) { in visitRegionSuccessors()
237 operands = branch.getSuccessorEntryOperands(successorIndex); in visitRegionSuccessors()
259 branch, in visitRegionSuccessors()
261 branch->getResults().slice(firstIndex, inputs.size())), in visitRegionSuccessors()
[all …]
H A DDenseAnalysis.cpp57 if (auto branch = dyn_cast<RegionBranchOpInterface>(op)) in visitOperation() local
58 return visitRegionBranchOperation(op, branch, after); in visitOperation()
119 if (auto branch = dyn_cast<RegionBranchOpInterface>(block->getParentOp())) in visitBlock() local
120 return visitRegionBranchOperation(block, branch, after); in visitBlock()
142 ProgramPoint point, RegionBranchOpInterface branch, in visitRegionBranchOperation() argument
152 if (op == branch) { in visitRegionBranchOperation()
/llvm-project-15.0.7/compiler-rt/test/profile/Inputs/
H A Dinstrprof-gcov-multiple-bbs-single-line.c.gcov13 // CHECK-NEXT:branch 0 taken 1
14 // CHECK-NEXT:branch 1 taken 0
19 // CHECK-NEXT:branch 0 taken 1
20 // CHECK-NEXT:branch 1 taken 0
24 // CHECK-NEXT:branch 0 taken 0
25 // CHECK-NEXT:branch 1 taken 1
30 // CHECK-NEXT:branch 0 taken 0
31 // CHECK-NEXT:branch 1 taken 1
/llvm-project-15.0.7/llvm/test/MC/Mips/micromips32r6/
H A Dinvalid.s15 beqzc16 $6, 31 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: branch to misaligned address
16 beqzc16 $6, 130 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: branch target out of range
18 bnezc16 $6, 31 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: branch to misaligned address
19 bnezc16 $6, 130 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: branch target out of range
230 bc1eqzc $f31, -65537 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: branch target out of range
232 bc1eqzc $f31, 65536 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: branch target out of range
235 bc1nezc $f31, -65537 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: branch target out of range
237 bc1nezc $f31, 65536 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: branch target out of range
240 bc2eqzc $31, -65537 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: branch target out of range
242 bc2eqzc $31, 65536 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: branch target out of range
[all …]
/llvm-project-15.0.7/mlir/test/Analysis/
H A Dtest-foo-analysis.mlir39 "test.branch"() [^bb0, ^bb1] {tag = "init", foo = 1 : ui64} : () -> ()
43 "test.branch"() [^bb2] {tag = "a", foo = 2 : ui64} : () -> ()
47 "test.branch"() [^bb2] {tag = "b", foo = 4 : ui64} : () -> ()
61 "test.branch"() [^bb0] {tag = "init", foo = 1 : ui64} : () -> ()
66 "test.branch"() [^bb0, ^bb1] : () -> ()
79 "test.branch"() [^bb0] {tag = "init", foo = 2 : ui64} : () -> ()
84 "test.branch"() [^bb0, ^bb1] : () -> ()
89 "test.branch"() [^bb0, ^bb2] : () -> ()
/llvm-project-15.0.7/llvm/test/MC/X86/
H A Dalign-branch-single.s1 # RUN: llvm-mc -filetype=obj -triple x86_64 --x86-align-branch-boundary=32 --x86-align-branch=jcc %…
2 # RUN: llvm-mc -filetype=obj -triple x86_64 --x86-align-branch-boundary=32 --x86-align-branch=jmp %…
3 # RUN: llvm-mc -filetype=obj -triple x86_64 --x86-align-branch-boundary=32 --x86-align-branch=indir…
4 # RUN: llvm-mc -filetype=obj -triple x86_64 --x86-align-branch-boundary=32 --x86-align-branch=call …
5 # RUN: llvm-mc -filetype=obj -triple x86_64 --x86-align-branch-boundary=32 --x86-align-branch=ret %…
H A Dalign-branch-bundle.s1 … -filetype=obj -triple x86_64-unknown-unknown --x86-align-branch-boundary=16 --x86-align-branch=fu…
3 # Check using option --x86-align-branch-boundary=16 --x86-align-branch=fused+jcc --mc-relax-all wit…
H A Dalign-branch-variant-symbol.s1 # RUN: llvm-mc -filetype=obj -triple x86_64 --x86-align-branch-boundary=32 --x86-align-branch=call+…
3 # RUN: llvm-mc -filetype=obj -triple i386 --x86-align-branch-boundary=32 --x86-align-branch=call+in…
/llvm-project-15.0.7/llvm/test/tools/llvm-cov/
H A Dbranch-c-general.test1 // Test visualization of general branch constructs in C.
3 // RUN: llvm-profdata merge %S/Inputs/branch-c-general.proftext -o %t.profdata
4 …w-branches=count %S/Inputs/branch-c-general.o32l -instr-profile %t.profdata -path-equivalence=/tmp…
5 …--show-branch-summary %S/Inputs/branch-c-general.o32l -instr-profile %t.profdata -show-functions -…
135 // RUN: llvm-profdata merge %S/Inputs/branch-c-general.proftext -o %t.profdata
136 … llvm-cov report %S/Inputs/branch-c-general.o32l -instr-profile %t.profdata -path-equivalence=/tmp…
140 …w-branches=count %S/Inputs/branch-c-general.o32l -instr-profile %t.profdata -path-equivalence=/tmp…
144 …how-branch-summary --show-branches=count %S/Inputs/branch-c-general.o32l -instr-profile %t.profdat…
145 // RUN: FileCheck -check-prefix=HTML -input-file=%t.html.dir/coverage/tmp/branch-c-general.c.html %s
156 // HTML-INDEX: <a href='coverage{{.*}}branch-c-general.c.html'{{.*}}branch-c-general.c</a>
H A Dbranch-noShowBranch.test2 // RUN: llvm-profdata merge %S/Inputs/branch-c-general.proftext -o %t.profdata
3 // RUN: llvm-cov show %S/Inputs/branch-c-general.o32l -instr-profile %t.profdata -path-equivalence=…
4 …puts/branch-c-general.o32l --show-branch-summary=false -instr-profile %t.profdata -show-functions …
/llvm-project-15.0.7/llvm/test/Transforms/Inline/
H A Dinline-brunch-funnel.ll1 ; Test that inliner skips @llvm.icall.branch.funnel
7 declare void @llvm.icall.branch.funnel(...)
18 musttail call void (...) @llvm.icall.branch.funnel(...)
19 ; CHECK: musttail call void (...) @llvm.icall.branch.funnel(
32 musttail call void (...) @llvm.icall.branch.funnel(...)
33 ; CHECK: musttail call void (...) @llvm.icall.branch.funnel(
/llvm-project-15.0.7/llvm/test/Transforms/PGOProfile/
H A Dmisexpect-branch.ll1 ; Test that misexpect diagnostics are emtted when profile branch weights are
2 ; below the branch weights added by llvm.expect intrinsics
4 ; RUN: llvm-profdata merge %S/Inputs/misexpect-branch.proftext -o %t.profdata
12 ; WARNING-DAG: warning: misexpect-branch.c:22:0: 19.98%
15 ; REMARK-NOT: warning: misexpect-branch.c:22:0: 19.98%
18 ; BOTH-DAG: warning: misexpect-branch.c:22:0: 19.98%
21 ; DISABLED-NOT: warning: misexpect-branch.c:22:0: 19.98%
24 ; THRESHOLD-NOT: warning: misexpect-branch.c:22:0: 19.98%
27 ; ModuleID = 'misexpect-branch.c'
28 source_filename = "misexpect-branch.c"
[all …]
/llvm-project-15.0.7/.github/workflows/
H A Dissue-release-workflow.yml2 # to the release branch using comments on issues.
7 # release branch (release/Y.x) and if successful, push the result to a branch
10 # /branch <owner>/<repo>/<branch>
12 # This comment will create a pull request from <branch> to the latest release
13 # branch.
70 contains(github.event.comment.body, '/branch')
/llvm-project-15.0.7/llvm/test/CodeGen/Mips/
H A Dnacl-branch-delay.ll20 ; We first make sure that for non-NaCl targets branch-delay slot contains
23 ; Check that branch-delay slot is used to load argument from x before function
29 ; Check that branch-delay slot is used for adjusting sp before return.
35 ; For NaCl, check that branch-delay slot doesn't contain dangerous instructions.
53 ; Check that branch-delay slot is used for storing to x before function call.
58 ; Check that branch-delay slot is used for adjusting sp before return.
64 ; For NaCl, check that branch-delay slot doesn't contain dangerous instructions.
/llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/
H A Dbranch-relaxation-inst-size-gfx10.ll1 ; RUN: llc -march=amdgcn -mcpu=gfx1010 -verify-machineinstrs -amdgpu-s-branch-bits=4 < %s | FileChe…
2 ; RUN: llc -march=amdgcn -mcpu=gfx900 -verify-machineinstrs -amdgpu-s-branch-bits=4 < %s | FileChec…
3 ; RUN: llc -march=amdgcn -mcpu=gfx1100 -verify-machineinstrs -amdgpu-s-branch-bits=4 < %s | FileChe…
22 br i1 %cmp, label %bb3, label %bb2 ; +9 dword branch
25 ; Estimated as 40-bytes on gfx10 (requiring a long branch), but
26 ; 16-bytes on gfx9 (allowing a short branch)
/llvm-project-15.0.7/polly/test/ScopInfo/
H A Dbranch-references-loop-scev-with-unknown-iterations.ll20 ; this test case is that the branch instruction in %branch references
22 ; location %branch, as the loop %loop does not terminate. At some point, we
23 ; did not identify the branch condition as non-affine during scop detection.
24 ; This test verifies that we either model the branch condition as non-affine
39 br i1 false, label %branch, label %loop
41 branch:
/llvm-project-15.0.7/llvm/docs/
H A DGitHub.rst30 to cherry-pick the commit(s) to the release branch. If the commit(s) fail to
37 /branch <owner>/<repo>/<branch>
39 This command will create a pull request against the latest release branch using
40 the <branch> from the <owner>/<repo> repository. <branch> cannot contain any
/llvm-project-15.0.7/mlir/lib/Analysis/AliasAnalysis/
H A DLocalAliasAnalysis.cpp36 static void collectUnderlyingAddressValues(RegionBranchOpInterface branch, in collectUnderlyingAddressValues() argument
49 branch.getSuccessorRegions(predIndex, successors); in collectUnderlyingAddressValues()
85 branch.getSuccessorEntryOperands(regionIndex)[*operandIndex], maxDepth, in collectUnderlyingAddressValues()
89 Operation *op = branch.getOperation(); in collectUnderlyingAddressValues()
123 if (auto branch = dyn_cast<RegionBranchOpInterface>(op)) { in collectUnderlyingAddressValues() local
124 return collectUnderlyingAddressValues(branch, /*region=*/nullptr, result, in collectUnderlyingAddressValues()
143 auto branch = dyn_cast<BranchOpInterface>((*it)->getTerminator()); in collectUnderlyingAddressValues() local
144 if (!branch) { in collectUnderlyingAddressValues()
152 Value operand = branch.getSuccessorOperands(index)[argNumber]; in collectUnderlyingAddressValues()
166 if (auto branch = dyn_cast<RegionBranchOpInterface>(op)) { in collectUnderlyingAddressValues() local
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/
H A Dppc-passname.ll85 ; Test pass name: ppc-branch-select.
87 ; STOP-BEFORE-BRANCH-SELECT-NOT: -ppc-branch-select
88 ; STOP-BEFORE-BRANCH-SELECT-NOT: "ppc-branch-select" pass is not registered.
92 ; STOP-AFTER-BRANCH-SELECT: -ppc-branch-select
93 ; STOP-AFTER-BRANCH-SELECT-NOT: "ppc-branch-select" pass is not registered.
97 ; Test pass name: ppc-branch-coalescing.
99 ; STOP-BEFORE-BRANCH-COALESCING-NOT: -ppc-branch-coalescing
100 ; STOP-BEFORE-BRANCH-COALESCING-NOT: "ppc-branch-coalescing" pass is not registered.
103 ; RUN: llc -enable-ppc-branch-coalesce -mtriple=powerpc64le-unknown-unknown < %s -debug-pass=Struct…
104 ; STOP-AFTER-BRANCH-COALESCING: -ppc-branch-coalescing
[all …]

12345678910>>...43