summaryrefslogtreecommitdiffstats
path: root/llvm/docs
Commit message (Collapse)AuthorAgeFilesLines
* Deprecate LLVMGetDataLayout and replace it by LLVMGetDataLayoutStrAmaury Sechet2016-02-161-0/+3
| | | | | | | | | | | | Summary: The name is confusing as it matche another method on the module. Reviewers: joker.eph, Wallbraker, echristo Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D17283 llvm-svn: 260920
* Kill LLVMAddTargetDataAmaury Sechet2016-02-161-0/+2
| | | | | | | | | | | | Summary: It's red, it's dead. Reviewers: joker.eph, Wallbraker, echristo Subscribers: llvm-commits, axw Differential Revision: http://reviews.llvm.org/D17282 llvm-svn: 260919
* Fix some typos in the llvm docSylvestre Ledru2016-02-148-11/+11
| | | | llvm-svn: 260855
* Delete the deprecated LLVMLinkModules.Rafael Espindola2016-02-121-1/+3
| | | | llvm-svn: 260683
* C API: Remove LLVMGetDataLayout that was deprecated in 3.7Mehdi Amini2016-02-121-1/+2
| | | | | From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 260657
* Fix minor error with debug info doc.Mark Lacey2016-02-121-1/+1
| | | | | | Replace 'third' with 'fourth' in the description of the fourth argument. llvm-svn: 260656
* Add -match-full-lines argument to FileCheck.James Y Knight2016-02-111-0/+12
| | | | | | | This is useful for some tests where more-exact matching is useful, such as clang's Preprocessor tests. llvm-svn: 260540
* [llvm-nm] Add -radix optionHemant Kulkarni2016-02-101-0/+5
| | | | | | Differential Revision: http://reviews.llvm.org/D16822 llvm-svn: 260392
* ARM: improve documentation slightly.Tim Northover2016-02-091-13/+6
| | | | | | | | It seems the ARMv8 instruction set overview is no longer provided by ARM, so I've removed it. Since most of the other documents were the same I unified the two sections. llvm-svn: 260329
* Update documentation about convergent attribute.Justin Lebar2016-02-091-4/+11
| | | | | | | | | | | | | | | Summary: Be more explicit about what 'convergent' means, and indicate that the compiler may remove the attribute from a function if it can prove that the function doesn't in fact execute any convergent ops. Reviewers: resistor, jingyue, joker.eph Subscribers: hfinkel, chandlerc, arsenm, jhen, tra, llvm-commits Differential Revision: http://reviews.llvm.org/D17012 llvm-svn: 260318
* cmake: Accept "thin" or "full" as arguments to -DLLVM_ENABLE_LTOJustin Bogner2016-02-081-3/+4
| | | | | | | Mehdi suggested in a review of r259766 that it's also useful to easily set the type of LTO. Augment the cmake variable to support that. llvm-svn: 260143
* [X86] Don't zero/sign-extend i1, i8, or i16 return values to 32 bits (PR22532)Hans Wennborg2016-02-081-2/+1
| | | | | | | | | | | | | | | | | | | | This matches GCC and MSVC's behaviour, and saves on code size. We were already not extending i1 return values on x86_64 after r127766. This takes that patch further by applying it to x86 target as well, and also for i8 and i16. The ABI docs have been unclear about the required behaviour here. The new i386 psABI [1] clearly states (Table 2.4, page 14) that i1, i8, and i16 return vales do not need to be extended beyond 8 bits. The x86_64 ABI doc is being updated to say the same [2]. Differential Revision: http://reviews.llvm.org/D16907 [1]. https://01.org/sites/default/files/file_attach/intel386-psabi-1.0.pdf [2]. https://groups.google.com/d/msg/x86-64-abi/E8O33onbnGQ/_RFWw_ixDQAJ llvm-svn: 260133
* [PGO] Enable compression in pgo instrumentationXinliang David Li2016-02-081-9/+19
| | | | | | | | | | | | This reduces sizes of instrumented object files, final binaries, process images, and raw profile data. The format of the indexed profile data remain the same. Differential Revision: http://reviews.llvm.org/D16388 llvm-svn: 260117
* [docs] Add a note that the Visual Studio C++ tools are requiredKeno Fischer2016-02-071-0/+4
| | | | | | | | | | Watching new contributors trying to build LLVM on Windows, one of the very common failure modes was getting a version of Visual Studio that did not have a C++ compiler for CMake to put up. Trying to create a C++ project in Visual Studio will cause Visual Studio to go and download the C++ tools. llvm-svn: 260049
* [docs] Remove now confusing references to cofigure/autoconfPhilip Reames2016-02-071-10/+1
| | | | llvm-svn: 260042
* [docs] Wordsmithing to program layout descriptio in GettingStartedPhilip Reames2016-02-071-97/+63
| | | | | | | | This just incrementally improves what was already there; it's questionable whether this content belongs in the getting started guide at all. Patch by Ben Nathanson w/permission w/minor edtis by me. llvm-svn: 260040
* [docs] Clarify disk space usage of debug buildsPhilip Reames2016-02-071-8/+9
| | | | llvm-svn: 260039
* [docs] Remove a stale and confusing section from GettingStartedPhilip Reames2016-02-071-19/+2
| | | | | | | | The mentioned environment variable doesn't appear to have any use in the LLVM repository. If it is still relevant for clang, we can consider adding it to the clang getting started page. Patch inspired by documentation work by Ben Nathanson at the LLVM Bloomberg sprint. llvm-svn: 260037
* [docs] Update the docs to describe how to build the docs with cmakePhilip Reames2016-02-072-14/+18
| | | | llvm-svn: 260035
* LangRef: Fix example code for cmpxchgDuncan P. N. Exon Smith2016-02-071-2/+2
| | | | | | Patch by Daniel Robertson! llvm-svn: 260018
* [docs] Warn against slow serial buildsPhilip Reames2016-02-061-0/+3
| | | | llvm-svn: 260006
* [docs] Redirect new contributors to the right starting pointPhilip Reames2016-02-061-0/+4
| | | | llvm-svn: 260004
* [docs] Clarify a couple of getting started issues identified during SprintPhilip Reames2016-02-061-2/+9
| | | | llvm-svn: 260003
* Fixed short underline error in LangRef.rst for recently addedAshutosh Nema2016-02-061-1/+1
| | | | | | metadata 'llvm.loop.licm_versioning.disable' description. llvm-svn: 259988
* New Loop Versioning LICM PassAshutosh Nema2016-02-061-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: When alias analysis is uncertain about the aliasing between any two accesses, it will return MayAlias. This uncertainty from alias analysis restricts LICM from proceeding further. In cases where alias analysis is uncertain we might use loop versioning as an alternative. Loop Versioning will create a version of the loop with aggressive aliasing assumptions in addition to the original with conservative (default) aliasing assumptions. The version of the loop making aggressive aliasing assumptions will have all the memory accesses marked as no-alias. These two versions of loop will be preceded by a memory runtime check. This runtime check consists of bound checks for all unique memory accessed in loop, and it ensures the lack of memory aliasing. The result of the runtime check determines which of the loop versions is executed: If the runtime check detects any memory aliasing, then the original loop is executed. Otherwise, the version with aggressive aliasing assumptions is used. The pass is off by default and can be enabled with command line option -enable-loop-versioning-licm. Reviewers: hfinkel, anemet, chatur01, reames Subscribers: MatzeB, grosser, joker.eph, sanjoy, javed.absar, sbaranga, llvm-commits Differential Revision: http://reviews.llvm.org/D9151 llvm-svn: 259986
* [docs] Fix typo in YamlIO.rstVedant Kumar2016-02-041-2/+3
| | | | | | Patch by Mario Lang! llvm-svn: 259825
* Install cmake files to lib/cmake/llvmNiels Ole Salscheider2016-02-041-4/+4
| | | | | | | | | | | This is the right location for platform-specific files. On some distributions (e. g. Exherbo), a package can be installed for several architectures in parallel, but the architecture-independent files are shared. Therefore, we must not install architecture-dependent files (like the CMake config and export files) to share/. llvm-svn: 259821
* cmake: Add a flag to enable LTOJustin Bogner2016-02-041-0/+4
| | | | | | | This adds -DLLVM_ENABLE_LTO, rather than forcing people to manually add -flto to the various _FLAGS variables. llvm-svn: 259766
* docs: Document how bitsets may be used to encode type information.Peter Collingbourne2016-02-031-11/+117
| | | | llvm-svn: 259619
* [libFuzzer] allow passing 1 or more files as individual inputsKostya Serebryany2016-02-021-3/+10
| | | | llvm-svn: 259459
* [doc] improve the doc for CUDAJingyue Wu2016-01-301-17/+21
| | | | | | | | 1. Mentioned that CUDA support works best with trunk. 2. Simplified the example by removing its dependency on the CUDA samples. 3. Explain the --cuda-gpu-arch flag. llvm-svn: 259307
* [docs] Remove references to autotools build.Alexey Samsonov2016-01-304-351/+4
| | | | llvm-svn: 259280
* [libFuzzer] add -timeout_exitcode optionKostya Serebryany2016-01-291-0/+1
| | | | llvm-svn: 259265
* [Profiling] Add a -sparse mode to llvm-profdata mergeVedant Kumar2016-01-291-0/+6
| | | | | | | | | | Add an option to llvm-profdata merge for writing out sparse indexed profiles. These profiles omit InstrProfRecords for functions which are never executed. Differential Revision: http://reviews.llvm.org/D16727 llvm-svn: 259258
* [Coverage] Fix more bugs in covmap V1 documentationXinliang David Li2016-01-271-8/+11
| | | | llvm-svn: 258906
* [docs] Fix a typoSanjoy Das2016-01-261-1/+1
| | | | llvm-svn: 258878
* Fixing the documentation buildsChris Bieneman2016-01-264-17/+4
| | | | | | I broke the documentation builds when I deleted the MakefileGuide as part of the autoconf removal. At some point I'll need to do a more in-depth pass updating the documentation to remove references to the old build system. llvm-svn: 258873
* Remove autoconf supportChris Bieneman2016-01-263-1209/+0
| | | | | | | | | | | | | | | | Summary: This patch is provided in preparation for removing autoconf on 1/26. The proposal to remove autoconf on 1/26 was discussed on the llvm-dev thread here: http://lists.llvm.org/pipermail/llvm-dev/2016-January/093875.html "I felt a great disturbance in the [build system], as if millions of [makefiles] suddenly cried out in terror and were suddenly silenced. I fear something [amazing] has happened." - Obi Wan Kenobi Reviewers: chandlerc, grosbach, bob.wilson, tstellarAMD, echristo, whitequark Subscribers: chfast, simoncook, emaste, jholewinski, tberghammer, jfb, danalbert, srhines, arsenm, dschuff, jyknight, dsanders, joker.eph, llvm-commits Differential Revision: http://reviews.llvm.org/D16471 llvm-svn: 258861
* [llvm-readobj] Add -elf-section-groups optionHemant Kulkarni2016-01-261-0/+4
| | | | | | | | | Adds a way to inspect SHT_GROUP sections in ELF objects. Displays signature, member sections of these sections. Differential revision: http://reviews.llvm.org/D16555 llvm-svn: 258845
* AMDGPU: Note mesa version in release notesMatt Arsenault2016-01-261-0/+5
| | | | llvm-svn: 258784
* [docs] Document how to merge patches into release branchesVedant Kumar2016-01-251-0/+17
| | | | llvm-svn: 258736
* [libFuzzer] add -abort_on_timeout optionKostya Serebryany2016-01-231-0/+1
| | | | llvm-svn: 258631
* Add a "gc-transition" operand bundleSanjoy Das2016-01-202-1/+15
| | | | | | | | | | | | | | | | | | | Summary: This adds a new kind of operand bundle to LLVM denoted by the `"gc-transition"` tag. Inputs to `"gc-transition"` operand bundle are lowered into the "transition args" section of `gc.statepoint` by `RewriteStatepointsForGC`. This removes the last bit of functionality that was unsupported in the deopt bundle based code path in `RewriteStatepointsForGC`. Reviewers: pgavlin, JosephTremoulet, reames Subscribers: sanjoy, mcrosier, llvm-commits Differential Revision: http://reviews.llvm.org/D16342 llvm-svn: 258338
* docs: address post-commit reviewAndrew Wilkins2016-01-191-6/+9
| | | | | | | | | Rewording/expansion of CMake options suggested by Dan Liew. See http://reviews.llvm.org/D16208. llvm-svn: 258112
* [libFuzzer] introduce LLVMFuzzerInitializeKostya Serebryany2016-01-161-0/+29
| | | | llvm-svn: 257980
* [docs] Document LLVM_{BUILD,LINK}_LLVM_DYLIBAndrew Wilkins2016-01-151-6/+21
| | | | | | | | | | | | | | | Summary: Document the LLVM_BUILD_LLVM_DYLIB and LLVM_LINK_LLVM_DYLIB CMake options, move BUILD_SHARED_LIBS out of frequently-used, and add a note/warning to BUILD_SHARED_LIBS. Reviewers: beanz, delcypher, mjacob Subscribers: mjacob, llvm-commits Differential Revision: http://reviews.llvm.org/D16208 llvm-svn: 257864
* [docs] Restructure description of records created by StatepointsPhilip Reames2016-01-151-12/+23
| | | | | | The previous text was hard to understand even for me and I wrote it. Hopefully the new structure makes it a bit more clear what's going on. If anyone has word smithing suggestion or clarification questions, please let me know. llvm-svn: 257847
* [docs] Update Statepoint docs to clarify format for recent changesPhilip Reames2016-01-141-6/+16
| | | | llvm-svn: 257843
* [docs] Improve the documentation on committing code reviewed onDan Liew2016-01-142-17/+62
| | | | | | | | | | | | | | | | | | | | | | Phabricator to trunk. The previous documentation had a few issues: * It did not make it explicit that code could be committed without using the Arcanist tool and how this should be done. * There was also an implicit assumption on using Subversion rather than git-svn in the example using Arcanist. The documentation now explicitly mentions both cases and details how to commit to trunk in each case. Reviewers: klimek, probinson Subscribers: probinson, nwilson, reames, llvm-commits Differential Revision: http://reviews.llvm.org/D15801 llvm-svn: 257764
* Unbreak the sphinx buildHans Wennborg2016-01-131-2/+2
| | | | llvm-svn: 257659
OpenPOWER on IntegriCloud