Home
last modified time | relevance | path

Searched refs:infinite (Results 1 – 25 of 241) sorted by relevance

12345678910

/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/bugprone/
H A Dinfinite-loop.rst1 .. 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 Dremove-phis.ll15 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 Dinfinite.ll3 ; 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 Dinfinite-loop.mm1 // 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 Dinf-recursion.ll3 ; 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 Ddomtree-updates.ll32 ; 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 Dpr44541.ll2 ; 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 D2004-08-09-RemInfLoop.ll3 ; This testcase should not send the instcombiner into an infinite loop!
H A D2005-07-07-DeadPHILoop.ll3 ; This example caused instcombine to spin into an infinite loop.
H A D2003-06-05-BranchInvertInfLoop.ll1 ; This testcase causes an infinite loop in the instruction combiner,
H A D2004-03-13-InstCombineInfLoop.ll1 ; This testcase caused the combiner to go into an infinite loop, moving the
/llvm-project-15.0.7/llvm/test/Transforms/Reassociate/
H A Ddeadcode.ll9 ; 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 Dshift-op.ll92 ; %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 Dbad_input.ll35 ; 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 Dsink-inf-loop.ll4 ; 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 D2000-12-06-MeetingSummary.txt22 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 Dtrunc-and.ll4 ; 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 Dbranchfolding-catchpads.ll45 ; 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 Dexit.S18 rjmp __stop_program ; Fall into an infinite loop.
/llvm-project-15.0.7/polly/lib/External/isl/test_inputs/codegen/
H A Dsingle_valued.in2 # and does not end up in an infinite recursion.
/llvm-project-15.0.7/clang/test/Index/
H A DKeepGoingWithLotsOfErrors.mm3 // This is the minimized test that triggered an infinite recursion:
/llvm-project-15.0.7/compiler-rt/test/fuzzer/
H A Dtrace-malloc-2.test1 // FIXME: This test infinite loops on darwin because it crashes
/llvm-project-15.0.7/clang/test/PCH/
H A Dmethod-redecls.m4 // Avoid infinite loop because of method redeclarations.
/llvm-project-15.0.7/llvm/test/CodeGen/Generic/
H A D2014-02-05-OpaqueConstants.ll1 ; Test that opaque constants are not creating an infinite DAGCombine loop
/llvm-project-15.0.7/llvm/test/Transforms/NaryReassociate/
H A Dpr35710.ll4 ; The test check that compilation does not fall into infinite loop.

12345678910