llvm/docs
Nick Lewycky e642658480 Introducing nocapture, a parameter attribute for pointers to indicate that the
callee will not introduce any new aliases of that pointer.

The attributes had all bits allocated already, so I decided to collapse
alignment. Alignment was previously stored as a 16-bit integer from bits 16 to
32 of the attribute, but it was required to be a power of 2. Now it's stored in
log2 encoded form in five bits from 16 to 21. That gives us 11 more bits of
space.

You may have already noticed that you only need four bits to encode a 16-bit
power of two, so why five bits? Because the AsmParser accepted 32-bit
alignments, even though we couldn't store them (they were silently discarded).
Now we can store them in memory, but not in the bitcode.

The bitcode format was already storing these as 64-bit VBR integers. So, the
bitcode format stays the same, keeping the alignment values stored as 16 bit
raw values. There's some hideous code in the reader and writer that deals with
this, waiting to be ripped out the moment we run out of bits again and have to
replace the parameter attributes table encoding.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61019 91177308-0d34-0410-b5e6-96231b3b80d8
2008-12-15 01:34:58 +00:00
..
CommandGuide Man page update. 2008-12-12 02:34:56 +00:00
HistoricalNotes
img
tutorial fix some incorrect links. 2008-12-12 04:20:01 +00:00
AliasAnalysis.html Introducing nocapture, a parameter attribute for pointers to indicate that the 2008-12-15 01:34:58 +00:00
BitCodeFormat.html Global replace of yellow W3C "valid HTML/CSS" icons with blue ones. 2008-12-11 17:34:48 +00:00
Bugpoint.html Global replace of yellow W3C "valid HTML/CSS" icons with blue ones. 2008-12-11 17:34:48 +00:00
CFEBuildInstrs.html Global replace of yellow W3C "valid HTML/CSS" icons with blue ones. 2008-12-11 17:34:48 +00:00
CMake.html Global replace of yellow W3C "valid HTML/CSS" icons with blue ones. 2008-12-11 17:34:48 +00:00
CodeGenerator.html Removed warnings from HTML 4.01 validator: trailing slashes in <br> and <img> 2008-12-11 18:23:24 +00:00
CodingStandards.html * <div align=center> is not valid HTML 4.01 - removed alignment 2008-12-11 19:37:04 +00:00
CommandLine.html Global replace of yellow W3C "valid HTML/CSS" icons with blue ones. 2008-12-11 17:34:48 +00:00
CompilerDriver.html Add a comment to the auto-generated docs. 2008-12-13 17:51:47 +00:00
CompilerDriverTutorial.html Add a comment to the auto-generated docs. 2008-12-13 17:51:47 +00:00
CompilerWriterInfo.html Global replace of yellow W3C "valid HTML/CSS" icons with blue ones. 2008-12-11 17:34:48 +00:00
DeveloperPolicy.html * Removed stray </p> tag 2008-12-11 19:44:51 +00:00
doxygen.cfg.in Upgrade doxygen. 2008-09-18 16:32:28 +00:00
doxygen.css
doxygen.footer Removed warnings from HTML 4.01 validator: trailing slashes in <br> and <img> 2008-12-11 18:23:24 +00:00
doxygen.header
doxygen.intro
ExceptionHandling.html Global replace of yellow W3C "valid HTML/CSS" icons with blue ones. 2008-12-11 17:34:48 +00:00
ExtendingLLVM.html Removed warnings from HTML 4.01 validator: trailing slashes in <br> and <img> 2008-12-11 18:23:24 +00:00
FAQ.html Global replace of yellow W3C "valid HTML/CSS" icons with blue ones. 2008-12-11 17:34:48 +00:00
GarbageCollection.html Global replace of yellow W3C "valid HTML/CSS" icons with blue ones. 2008-12-11 17:34:48 +00:00
GCCFEBuildInstrs.html Global replace of yellow W3C "valid HTML/CSS" icons with blue ones. 2008-12-11 17:34:48 +00:00
GetElementPtr.html Removed warnings from HTML 4.01 validator: trailing slashes in <br> and <img> 2008-12-11 18:23:24 +00:00
GettingStarted.html Removed warnings from HTML 4.01 validator: trailing slashes in <br> and <img> 2008-12-11 18:23:24 +00:00
GettingStartedVS.html Removed warnings from HTML 4.01 validator: trailing slashes in <br> and <img> 2008-12-11 18:23:24 +00:00
HowToReleaseLLVM.html Removed warnings from HTML 4.01 validator: trailing slashes in <br> and <img> 2008-12-11 18:23:24 +00:00
HowToSubmitABug.html Removed warnings from HTML 4.01 validator: trailing slashes in <br> and <img> 2008-12-11 18:23:24 +00:00
index.html Update the auto-generated llvmc documentation. 2008-12-11 23:24:40 +00:00
LangRef.html Introducing nocapture, a parameter attribute for pointers to indicate that the 2008-12-15 01:34:58 +00:00
Lexicon.html Fixed HTML validator warning. 2008-12-14 08:01:51 +00:00
LinkTimeOptimization.html Global replace of yellow W3C "valid HTML/CSS" icons with blue ones. 2008-12-11 17:34:48 +00:00
llvm.css CSS cleanup: 2008-12-14 07:20:36 +00:00
Makefile
MakefileGuide.html Removed warnings from HTML 4.01 validator: trailing slashes in <br> and <img> 2008-12-11 18:23:24 +00:00
Passes.html Global replace of yellow W3C "valid HTML/CSS" icons with blue ones. 2008-12-11 17:34:48 +00:00
ProgrammersManual.html Global replace of yellow W3C "valid HTML/CSS" icons with blue ones. 2008-12-11 17:34:48 +00:00
Projects.html Removed warnings from HTML 4.01 validator: trailing slashes in <br> and <img> 2008-12-11 18:23:24 +00:00
ReleaseNotes.html Global replace of yellow W3C "valid HTML/CSS" icons with blue ones. 2008-12-11 17:34:48 +00:00
SourceLevelDebugging.html Global replace of yellow W3C "valid HTML/CSS" icons with blue ones. 2008-12-11 17:34:48 +00:00
SystemLibrary.html Global replace of yellow W3C "valid HTML/CSS" icons with blue ones. 2008-12-11 17:34:48 +00:00
TableGenFundamentals.html Global replace of yellow W3C "valid HTML/CSS" icons with blue ones. 2008-12-11 17:34:48 +00:00
TestingGuide.html Global replace of yellow W3C "valid HTML/CSS" icons with blue ones. 2008-12-11 17:34:48 +00:00
UsingLibraries.html Removed warnings from HTML 4.01 validator: trailing slashes in <br> and <img> 2008-12-11 18:23:24 +00:00
WritingAnLLVMBackend.html Global replace of yellow W3C "valid HTML/CSS" icons with blue ones. 2008-12-11 17:34:48 +00:00
WritingAnLLVMPass.html Removed warnings from HTML 4.01 validator: trailing slashes in <br> and <img> 2008-12-11 18:23:24 +00:00