| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/bugprone/ |
| H A D | infinite-loop.rst | 1 .. title:: clang-tidy - bugprone-infinite-loop 3 bugprone-infinite-loop 6 Finds obvious infinite loops (loops where the condition variable is not changed 9 Finding infinite loops is well-known to be impossible (halting problem). 10 However, it is possible to detect some obvious infinite loops, for example, if 12 considered infinite if it does not have any loop exit statement (``break``, 22 infinite since functions may return different values for different calls. 24 For example, the following loop is considered infinite `i` is not changed in
|
| /llvm-project-15.0.7/llvm/test/Transforms/LCSSA/ |
| H A D | remove-phis.ll | 15 br i1 undef, label %gazonk, label %infinite.loop.pred 50 infinite.loop.pred: 51 br label %infinite.loop 53 infinite.loop: 54 %dead = phi i16 [ %value, %infinite.loop.pred ], [ 0, %infinite.loop ] 55 br label %infinite.loop
|
| /llvm-project-15.0.7/llvm/test/Analysis/LoopNestAnalysis/ |
| H A D | infinite.ll | 3 ; Test that the loop nest analysis is able to analyze an infinite loop in a loop nest. 7 ; CHECK-LABEL: IsPerfect=true, Depth=1, OutermostLoop: for.infinite, Loops: ( for.infinite ) 13 br i1 %cond, label %for.inner, label %for.infinite 25 for.infinite: 26 br label %for.infinite
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/ |
| H A D | infinite-loop.mm | 1 // RUN: %check_clang_tidy %s bugprone-infinite-loop %t -- -- -fblocks 2 // RUN: %check_clang_tidy %s bugprone-infinite-loop %t -- -- -fblocks -fobjc-arc 24 …-1]]:3: warning: this loop is infinite; none of its condition variables (i) are updated in the loo… 34 …-1]]:3: warning: this loop is infinite; none of its condition variables (i) are updated in the loo… 43 …-1]]:3: warning: this loop is infinite; none of its condition variables (i) are updated in the loo…
|
| /llvm-project-15.0.7/llvm/test/Transforms/TailCallElim/ |
| H A D | inf-recursion.ll | 3 ; Don't turn this into an infinite loop, this is probably the implementation 15 ; Do turn other calls into infinite loops though. 35 ; Don't crash while transforming a function with infinite recursion.
|
| /llvm-project-15.0.7/llvm/test/Transforms/JumpThreading/ |
| H A D | domtree-updates.ll | 32 ; CHECK-NEXT: [2] %infinite.loop {4294967295,4294967295} [1] 42 br i1 %tobool.not, label %for.cond1, label %infinite.loop 44 infinite.loop: ; preds = %infinite.loop, %entry 45 br label %infinite.loop
|
| /llvm-project-15.0.7/llvm/test/Transforms/InstCombine/ |
| H A D | pr44541.ll | 2 ; RUN: opt -S -passes=instcombine -instcombine-infinite-loop-threshold=2 < %s | FileCheck %s 4 ; This test used to cause an infinite combine loop.
|
| H A D | 2004-08-09-RemInfLoop.ll | 3 ; This testcase should not send the instcombiner into an infinite loop!
|
| H A D | 2005-07-07-DeadPHILoop.ll | 3 ; This example caused instcombine to spin into an infinite loop.
|
| H A D | 2003-06-05-BranchInvertInfLoop.ll | 1 ; This testcase causes an infinite loop in the instruction combiner,
|
| H A D | 2004-03-13-InstCombineInfLoop.ll | 1 ; This testcase caused the combiner to go into an infinite loop, moving the
|
| /llvm-project-15.0.7/llvm/test/Transforms/Reassociate/ |
| H A D | deadcode.ll | 9 ; The problem found was that the -reassociate pass ends up in an infinite loop 24 ; Another example showing that dead code could result in infinite loops in
|
| /llvm-project-15.0.7/llvm/test/Analysis/ScalarEvolution/ |
| H A D | shift-op.ll | 92 ; %iv will "stabilize" to -1, so this is an infinite loop 111 ; Potentially infinite loop, since %shift.amt could be 0 147 ; is infinite. 167 ; This is an infinite loop, make sure that it recognized as such.
|
| /llvm-project-15.0.7/llvm/test/Analysis/BlockFrequencyInfo/ |
| H A D | bad_input.ll | 35 ; Check that the infinite loop is arbitrarily scaled to max out at 4096, 45 ; infinite loop above.
|
| /llvm-project-15.0.7/llvm/test/Transforms/SimplifyCFG/ |
| H A D | sink-inf-loop.ll | 4 ; This would infinite-loop because we allowed code sinking to examine an infinite-loop block (%j).
|
| /llvm-project-15.0.7/llvm/docs/HistoricalNotes/ |
| H A D | 2000-12-06-MeetingSummary.txt | 22 infinite variable space. 73 'infinite' spaces that instructions operate in (SSA register numbers, 77 B. A scheme similar to how UTF-8 works, to encode infinite numbers
|
| /llvm-project-15.0.7/llvm/test/CodeGen/X86/ |
| H A D | trunc-and.ll | 4 ; This would infinite loop by trying to truncate to i16 and then promote back to i32. 27 ; This would infinite loop by trying to truncate and any_extend.
|
| H A D | branchfolding-catchpads.ll | 45 ; purposes of this test. The failure mode is an infinite loop during 91 ; for the purposes of this test. The failure mode is an infinite loop during 152 ; This test exercises a complex case that produced an infinite loop during
|
| /llvm-project-15.0.7/compiler-rt/lib/builtins/avr/ |
| H A D | exit.S | 18 rjmp __stop_program ; Fall into an infinite loop.
|
| /llvm-project-15.0.7/polly/lib/External/isl/test_inputs/codegen/ |
| H A D | single_valued.in | 2 # and does not end up in an infinite recursion.
|
| /llvm-project-15.0.7/clang/test/Index/ |
| H A D | KeepGoingWithLotsOfErrors.mm | 3 // This is the minimized test that triggered an infinite recursion:
|
| /llvm-project-15.0.7/compiler-rt/test/fuzzer/ |
| H A D | trace-malloc-2.test | 1 // FIXME: This test infinite loops on darwin because it crashes
|
| /llvm-project-15.0.7/clang/test/PCH/ |
| H A D | method-redecls.m | 4 // Avoid infinite loop because of method redeclarations.
|
| /llvm-project-15.0.7/llvm/test/CodeGen/Generic/ |
| H A D | 2014-02-05-OpaqueConstants.ll | 1 ; Test that opaque constants are not creating an infinite DAGCombine loop
|
| /llvm-project-15.0.7/llvm/test/Transforms/NaryReassociate/ |
| H A D | pr35710.ll | 4 ; The test check that compilation does not fall into infinite loop.
|