summaryrefslogtreecommitdiffstats
path: root/llvm/docs
Commit message (Collapse)AuthorAgeFilesLines
...
* Don't document exactly how virtual registers are represented as integers. CodeJakob Stoklund Olesen2011-01-081-11/+18
| | | | | | | | | shouldn't depend directly on that. Give an example of how to iterate over all virtual registers in a function without depending on the representation. llvm-svn: 123099
* First step in fixing PR8927:Rafael Espindola2011-01-082-2/+18
| | | | | | | | | | | | | | | | | | | Add a unnamed_addr bit to global variables and functions. This will be used to indicate that the address is not significant and therefore the constant or function can be merged with others. If an optimization pass can show that an address is not used, it can set this. Examples of things that can have this set by the FE are globals created to hold string literals and C++ constructors. Adding unnamed_addr to a non-const global should have no effect unless an optimization can transform that global into a constant. Aliases are not allowed to have unnamed_addr since I couldn't figure out any use for it. llvm-svn: 123063
* Rename lisp-like functions as suggested by Gabor Greif as loooong timeDavid Greene2011-01-071-3/+3
| | | | | | ago. This is both easier to learn and easier to read. llvm-svn: 123001
* Stub out a new updating interface to AliasAnalysis, allowing stateful ↵Owen Anderson2011-01-031-1/+23
| | | | | | | | | analyses to be informed when a pointer value has potentially become escaping. Implementations can choose to either fall back to conservative responses for that value, or may recompute their analysis to accomodate the change. llvm-svn: 122777
* We can count properly.Owen Anderson2011-01-031-1/+1
| | | | llvm-svn: 122773
* Reapply 122341 to fix PR8199 now that clang changes are in.David Greene2011-01-031-0/+5
| | | | llvm-svn: 122754
* Further expand what a call graph pass may do.Nick Lewycky2011-01-031-5/+3
| | | | | | | | The rationale is that after analyzing a function in the SCC, we may want to modify it in a way that requires us to update its uses (f.e. to replace the call with a constant) or its users (f.e. to call it with fewer arguments). llvm-svn: 122739
* Permit CallGraphSCCPasses readonly access to the direct callers of the functionsNick Lewycky2011-01-031-2/+2
| | | | | | in their SCC as they already have with the direct callees. llvm-svn: 122734
* Correct a bunch of mistakes which meant that the example pass didn'tDuncan Sands2011-01-011-8/+8
| | | | | | even compile, let alone work. llvm-svn: 122657
* I was unable to get the instructions to work if LLVM was builtDuncan Sands2011-01-011-2/+4
| | | | | | using a separate objects directory. llvm-svn: 122656
* Clarify that the loadable module turns up in the top-level directory,Duncan Sands2011-01-011-4/+5
| | | | | | not locally. llvm-svn: 122655
* Add a reference to the OCamlLangImpl8.Erick Tryzelaar2011-01-011-1/+1
| | | | llvm-svn: 122651
* Add an OCaml tutorial page 8Erick Tryzelaar2011-01-012-1/+366
| | | | llvm-svn: 122650
* Integers are primitive types. Update the documentation to state thisTobias Grosser2010-12-281-0/+1
| | | | | | | This was done for label, void, floating point, x86mmx, metadata, just not integer. llvm-svn: 122606
* Revert 122341. It breaks some darwin tests.David Greene2010-12-211-5/+0
| | | | llvm-svn: 122346
* Fix PR 8199. This patch prepends the build tool dir to LLVM programsDavid Greene2010-12-211-0/+5
| | | | | | | | being tested. This ensures that we test the tools just built and not some random tools that might happen to be in the user's PATH. This makes LLVM testing much more stable and predictable. llvm-svn: 122341
* Grammar corrections and some formatting changes.Bill Wendling2010-12-211-200/+201
| | | | llvm-svn: 122312
* Update the target feature matrix to reflect some new features in the MBlaze ↵Wesley Peck2010-12-201-4/+4
| | | | | | backend. llvm-svn: 122276
* New cmake option LLVM_APPEND_VC_REV for controlling when the VCOscar Fuentes2010-12-201-0/+6
| | | | | | | | | | | | | revision id is appended to the LLVM version string. Defaults to OFF. Until now the VC revision id was always appended to the revision string whenever cmake was invoked (either explicitly or implicitly because a cmake source file changed). This was causing massive recompilations because config.h are reconfigured with the new contents of PACKAGE_VERSION. llvm-svn: 122240
* Update the Target Feature Matrix for MipsBruno Cardoso Lopes2010-12-191-4/+4
| | | | llvm-svn: 122203
* Fix a typo that Bill spotted.Dan Gohman2010-12-151-1/+1
| | | | llvm-svn: 121909
* Document some more AliasAnalysis infrastructure limitations.Dan Gohman2010-12-151-4/+38
| | | | llvm-svn: 121874
* Add mention that we support FreeBSD/amd64.Bill Wendling2010-12-151-0/+5
| | | | llvm-svn: 121832
* Add IntervalMap to the Programmer's Manual.Jakob Stoklund Olesen2010-12-141-0/+18
| | | | llvm-svn: 121740
* further fixes.Chris Lattner2010-12-131-2/+2
| | | | llvm-svn: 121657
* fix typoChris Lattner2010-12-121-1/+1
| | | | llvm-svn: 121620
* Introduce a new PartialAlias response for AliasAnalysis. For mostDan Gohman2010-12-101-3/+6
| | | | | | | | | | AliasAnalysis consumers, PartialAlias will be treated as MayAlias. For AliasAnalysis chaining, MayAlias says "procede to the next analysis". PartialAlias will be used to indicate that the query should terminate, even though it didn't reach MustAlias or NoAlias. llvm-svn: 121507
* Use GZIPBIN instead of GZIP. Apparently gzip uses GZIP as an environmentEric Christopher2010-12-101-3/+3
| | | | | | | | | | variable for args you want to default pass to gzip. Patch based on one by asau@inbox.ru. Fixes PR8758. llvm-svn: 121449
* fix some validation problemsChris Lattner2010-12-101-9/+10
| | | | llvm-svn: 121444
* restructure this for readability, correct the example to follow the public ↵Chris Lattner2010-12-101-29/+47
| | | | | | ivar name convention llvm-svn: 121443
* add a rule for enums, patch by Zhanyong Wan!Chris Lattner2010-12-091-4/+6
| | | | llvm-svn: 121430
* Fix the prototype for the llvm.eh.selector intrinsic.Bill Wendling2010-12-091-1/+1
| | | | llvm-svn: 121425
* Fix newlines.Bill Wendling2010-12-081-1/+3
| | | | llvm-svn: 121233
* Clarify some of the differences between indexing with getelementptr and ↵Frits van Bommel2010-12-051-1/+9
| | | | | | indexing with insertvalue/extractvalue. llvm-svn: 120957
* Add naming rules to the coding standards.Zhanyong Wan2010-12-021-0/+67
| | | | llvm-svn: 120689
* forbid rtti and exceptionsChris Lattner2010-11-301-0/+23
| | | | llvm-svn: 120450
* Make @llvm.invariant.start not be readonly, so that it has side-effects. ThisNick Lewycky2010-11-301-1/+1
| | | | | | | unbreaks test/Transforms/InstCombine/invariant.ll which was broken by r120382. This is a fix-forward to do what I think Chris intended. llvm-svn: 120388
* Bump required cmake version on CMake.html.Oscar Fuentes2010-11-251-1/+1
| | | | llvm-svn: 120162
* Fix formatting nits in the coding standards. Reviewed by clattner.Zhanyong Wan2010-11-231-14/+14
| | | | llvm-svn: 119998
* Renaming ISD::BIT_CONVERT to ISD::BITCAST to better reflect the LLVM IR concept.Wesley Peck2010-11-231-1/+1
| | | | llvm-svn: 119990
* a byval argument without an align can have an arbitrary alignmentChris Lattner2010-11-201-6/+10
| | | | | | requirement on the input pointer. llvm-svn: 119914
* add some justification for "using namespace llvm;"Chris Lattner2010-11-171-5/+7
| | | | llvm-svn: 119544
* various cleanups and other improvements, patch by Zhanyong Wan!Chris Lattner2010-11-171-48/+47
| | | | llvm-svn: 119515
* With the newly simplified SourceMgr interfaces and the generalizedChris Lattner2010-11-171-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SrcMgrDiagHandler, we can improve clang diagnostics for inline asm: instead of reporting them on a source line of the original line, we can report it on the correct line wherever the string literal came from. For something like this: void foo() { asm("push %rax\n" ".code32\n"); } we used to get this: (note that the line in t.c isn't helpful) t.c:4:7: error: warning: ignoring directive for now asm("push %rax\n" ^ <inline asm>:2:1: note: instantiated into assembly here .code32 ^ now we get: t.c:5:8: error: warning: ignoring directive for now ".code32\n" ^ <inline asm>:2:1: note: instantiated into assembly here .code32 ^ Note that we're pointing to line 5 properly now. llvm-svn: 119488
* update coding standards. Partial specialization is now ok,Chris Lattner2010-11-161-3/+4
| | | | | | though possibly not a good idea. llvm-svn: 119398
* libc++ and compiler_rt are now dual licensed under UIUC and MIT license.Chris Lattner2010-11-161-9/+20
| | | | llvm-svn: 119387
* Document -enable-no-infs-fp-math and -enable-no-nans-fp-math command line ↵Peter Collingbourne2010-11-162-3/+14
| | | | | | options llvm-svn: 119370
* Fix missing includes of "llvm/Analysis/Passes.h" in the tutorials. ThanksDan Gohman2010-11-164-0/+4
| | | | | | for Arnaud Allard de Grandmaison for preparing a patch. llvm-svn: 119351
* Update examples and documentation to explicitly add basicaa, now that it'sDan Gohman2010-11-154-0/+10
| | | | | | no longer included by default. llvm-svn: 119169
* -basicaa is no longer the default.Dan Gohman2010-11-151-2/+2
| | | | llvm-svn: 119163
OpenPOWER on IntegriCloud