llvm-project/clang/docs
Adam Nemet 2de463ece3 Add loop pragma for Loop Distribution
Summary:
This is similar to other loop pragmas like 'vectorize'.  Currently it
only has state values: distribute(enable) and distribute(disable).  When
one of these is specified the corresponding loop metadata is generated:

  !{!"llvm.loop.distribute.enable", i1 true/false}

As a result, loop distribution will be attempted on the loop even if
Loop Distribution in not enabled globally.  Analogously, with 'disable'
distribution can be turned off for an individual loop even when the pass
is otherwise enabled.

There are some slight differences compared to the existing loop pragmas.

1. There is no 'assume_safety' variant which makes its handling slightly
different from 'vectorize'/'interleave'.

2. Unlike the existing loop pragmas, it does not have a corresponding
numeric pragma like 'vectorize' -> 'vectorize_width'.  So for the
consistency checks in CheckForIncompatibleAttributes we don't need to
check it against other pragmas.  We just need to check for duplicates of
the same pragma.

Reviewers: rsmith, dexonsmith, aaron.ballman

Subscribers: bob.wilson, cfe-commits, hfinkel

Differential Revision: http://reviews.llvm.org/D19403

llvm-svn: 272656
2016-06-14 12:04:26 +00:00
..
CommandGuide Document that we recommend to turn off -gmodules when building a static 2015-12-22 22:37:22 +00:00
analyzer Docs: keep copyright years up-to-date. 2016-03-30 22:24:57 +00:00
tools Fix the doc extraction script to work with hasAnyName and with equalsNode. 2016-05-04 20:45:00 +00:00
AddressSanitizer.rst [Docs] Slightly update LSan documentation. 2016-01-22 01:35:45 +00:00
AttributeReference.rst Adding a title to appease the sphinx build bot. 2015-06-23 17:31:30 +00:00
AutomaticReferenceCounting.rst Allow (Object *)kMyGlobalCFObj casts without bridging 2015-02-25 20:09:06 +00:00
Block-ABI-Apple.rst
Block-ABI-Apple.txt
BlockLanguageSpec.rst
CMakeLists.txt Fix build. 2016-04-28 14:28:19 +00:00
ClangCheck.rst
ClangFormat.rst Update `clang-format -help` output in clang-format docs. 2015-10-19 01:08:30 +00:00
ClangFormatStyleOptions.rst clang-format: Make include sorting's main include detection configurable. 2016-03-21 14:11:27 +00:00
ClangPlugins.rst Add a PragmaHandler Registry for plugins to add PragmaHandlers to 2016-04-04 14:22:58 +00:00
ClangTools.rst Fixed a link. 2015-11-04 19:42:17 +00:00
ControlFlowIntegrity.rst Re-apply r267784, r267824 and r267830. 2016-04-28 17:09:37 +00:00
ControlFlowIntegrityDesign.rst Cross-DSO control flow integrity (Clang part). 2015-12-15 23:00:20 +00:00
CrossCompilation.rst Fix some typos in the clang doc 2016-02-14 20:20:58 +00:00
DataFlowSanitizer.rst
DataFlowSanitizerDesign.rst
DriverArchitecture.png
DriverInternals.rst Driver: Replace a couple of out of date terms in the docs 2015-07-03 08:03:43 +00:00
ExternalClangExamples.rst Update mailing list references to lists.llvm.org 2015-08-05 03:55:23 +00:00
FAQ.rst
HowToSetupToolingForLLVM.rst
InternalsManual.rst [docs] Change non-c++ code blocks to 'text' format to fix a sphinx warning. 2016-02-24 15:07:48 +00:00
IntroductionToTheClangAST.rst
ItaniumMangleAbiTags.rst NFC fix documentation build by rL263015 2016-03-09 19:39:16 +00:00
JSONCompilationDatabase.rst
LTOVisibility.rst docs: Clarify that LTO visibility is based on source-level symbol visibility. 2016-05-27 22:31:30 +00:00
LanguageExtensions.rst Add loop pragma for Loop Distribution 2016-06-14 12:04:26 +00:00
LeakSanitizer.rst [Docs] Slightly update LSan documentation. 2016-01-22 01:35:45 +00:00
LibASTMatchers.rst
LibASTMatchersReference.html Revert "[ASTMatchers] New forEachOverriden matcher." 2016-06-11 04:45:38 +00:00
LibASTMatchersTutorial.rst docs: Remove references to the long-defunct LLVM_USED_LIBS 2015-11-26 19:52:24 +00:00
LibFormat.rst
LibTooling.rst Update documentation to match recent API change. newFrontendActionFactory now returns a unique_ptr. 2014-05-01 20:04:39 +00:00
MSVCCompatibility.rst [MSVC] Turn C++ EH on my default 2016-02-18 08:15:05 +00:00
Makefile.sphinx docs: Clarify that cfi-unrelated-cast is based on lifetime. 2016-02-01 18:55:50 +00:00
MemorySanitizer.rst [msan] add a sentence about inline assembly 2016-05-27 15:49:32 +00:00
Modules.rst Fix a typo. 2015-09-17 15:58:54 +00:00
ObjectiveCLiterals.rst Fix typo. NFC. 2015-06-27 19:04:55 +00:00
PCHInternals.rst Update PCHInternals.rst to document PCH wrapped in object file containers. 2015-07-08 16:52:51 +00:00
PCHLayout.graffle
PCHLayout.png
PTHInternals.rst PTHInternals.rst: PCH is now a thing, update docs to reflect it 2014-07-07 14:02:39 +00:00
RAVFrontendAction.rst docs: Remove references to the long-defunct LLVM_USED_LIBS 2015-11-26 19:52:24 +00:00
README.txt
ReleaseNotes.rst Replace an ambiguous "it" 2016-06-09 13:35:55 +00:00
SafeStack.rst docs: Document how safestack handles setjmp and exceptions. 2016-05-24 23:38:02 +00:00
SanitizerCoverage.rst [sanitizer-coverage] better docs for -fsanitize-coverage=trace-bb 2016-04-18 21:28:37 +00:00
SanitizerSpecialCaseList.rst Clean up language and grammar. 2014-05-20 17:10:39 +00:00
SanitizerStats.rst Introduce -fsanitize-stats flag. 2016-01-16 00:31:22 +00:00
SourceBasedCodeCoverage.rst [docs] Coverage: Document the profile merge pool specifier 2016-06-14 00:42:12 +00:00
ThreadSafetyAnalysis.rst Updating the documentation to include an operator! for negative capability support. 2015-05-22 13:36:48 +00:00
ThreadSanitizer.rst [Docs] Sanitizer docs migrated from code.google.com to github.com. 2015-12-04 00:38:13 +00:00
Tooling.rst
UndefinedBehaviorSanitizer.rst [ubsan] Add -fsanitize-undefined-strip-path-components=N 2016-05-12 16:51:36 +00:00
UsersManual.rst [mips] Compact branch policy setting. 2016-05-27 15:13:31 +00:00
conf.py Update version to 3.9 2016-01-13 17:32:59 +00:00
doxygen-mainpage.dox [docs] Add missing file 2016-03-03 10:44:10 +00:00
doxygen.cfg.in [docs] Updated doxygen files to work well with doxygen 1.8.11 2016-03-03 10:42:46 +00:00
index.rst [docs] Document the source-based code coverage feature 2016-06-02 00:51:50 +00:00
make.bat

README.txt

See llvm/docs/README.txt