aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorMichael Kruse <llvm-project@meinersbur.de>2020-10-05 10:21:57 -0500
committerMichael Kruse <llvm-project@meinersbur.de>2020-10-05 10:28:04 -0500
commitc3f12dd6069ebfc913953a4a29e9db5dd4749160 (patch)
tree61982e4dfff30835f584555c1688bfbbe2c14b72 /clang/lib/Frontend/CompilerInvocation.cpp
parent89e8a8b223b2e20bb63e930ddb78cb80a3ed45a2 (diff)
downloadllvm-c3f12dd6069ebfc913953a4a29e9db5dd4749160.zip
llvm-c3f12dd6069ebfc913953a4a29e9db5dd4749160.tar.gz
llvm-c3f12dd6069ebfc913953a4a29e9db5dd4749160.tar.bz2
[docs] Revise loop terminology reference.
Motivated by D88183, this seeks to clarify the current loop nomenclature with added illustrations, examples for possibly unexpected situations (infinite loops not part of the "parent" loop, logical loops sharing the same header, ...), and clarification on what other sources may consider a loop. The current document also has multiple errors that are fixed here. Some selected errors: * Loops a defined as strongly-connected components. A component a partition of all nodes, i.e. a subloop can never be a component. That is, the document as it currently is only covers top-level loops, even it also uses the term SCC for subloops. * "a block can be the header of two separate loops at the same time" (it is considered a single loop by LoopInfo) * "execute before some interesting event happens" (some interesting event is not well-defined) Reviewed By: baziotis, Whitney Differential Revision: https://reviews.llvm.org/D88408
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions