summaryrefslogtreecommitdiffstats
path: root/llvm/docs
Commit message (Collapse)AuthorAgeFilesLines
* Revert "[Stackmaps] Record the stack size of each function that contains a ↵Juergen Ributzka2014-01-301-5/+0
| | | | | | | | stackmap/patchpoint intrinsic." This reverts commit r200444 to unbreak buildbots. llvm-svn: 200445
* [Stackmaps] Record the stack size of each function that contains a ↵Juergen Ributzka2014-01-301-0/+5
| | | | | | | | stackmap/patchpoint intrinsic. Reviewed by Andy llvm-svn: 200444
* Extend the preserve_most/all calling convention description in LangRef about theJuergen Ributzka2014-01-301-2/+7
| | | | | | fact that the argument registers will be preserved too. llvm-svn: 200441
* Document EHABI enabled by defaultRenato Golin2014-01-291-0/+3
| | | | llvm-svn: 200390
* Updating the getting started guide for Visual Studio a smidge.Aaron Ballman2014-01-231-8/+4
| | | | llvm-svn: 199934
* Revert my commit in r199620 that added sections about namespaces to theChandler Carruth2014-01-201-97/+18
| | | | | | | | | | | | | | | | | | coding standards, and instead fix the existing section. Thanks to Daniel Jasper for pointing out we already had a section devoted to this topic. Instead of adding sections, just hack on this section some. Also fix the example in the anonymous namespace section below it to agree with the new advice. As a re-cap, this switches the LLVM preferred style to never indent namespaces. Having two approaches just led to endless (and utterly pointless) debates about what was "small enough". This wasn't helping anyone. The no-indent rule is easy to understand and doesn't really make anything harder to read. Moreover, with tools like clang-format it is considerably nicer to have simple consistent rules. llvm-svn: 199637
* Add some wording to the coding standards to say how to indent namespacesChandler Carruth2014-01-201-1/+45
| | | | | | | | | | | (and to mention namespace ending comments). This is based on a quick discussion on the developer mailing list where there was essentially no objections to a simple and consistent rule. This should avoid future debates about whether or not a namespace is "big enough" to indent. It also matches clang-format's current behavior with LLVM source code which hasn't really seen any opposition in code reviews that I spot checked. llvm-svn: 199620
* Add an inalloca flag to allocasReid Kleckner2014-01-171-14/+11
| | | | | | | | | | | | | | | | Summary: The only current use of this flag is to mark the alloca as dynamic, even if its in the entry block. The stack adjustment for the alloca can never be folded into the prologue because the call may clear it and it has to be allocated at the top of the stack. Reviewers: majnemer CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D2571 llvm-svn: 199525
* Update LangRef to emphasize the difference between "coldcc" and ↵Juergen Ributzka2014-01-171-2/+9
| | | | | | "preserve_mostcc". llvm-svn: 199521
* Add two new calling conventions for runtime callsJuergen Ributzka2014-01-172-0/+45
| | | | | | | | | | | | | | This patch adds two new target-independent calling conventions for runtime calls - PreserveMost and PreserveAll. The target-specific implementation for X86-64 is defined as following: - Arguments are passed as for the default C calling convention - The same applies for the return value(s) - PreserveMost preserves all GPRs - except R11 - PreserveAll preserves all GPRs and all XMMs/YMMs - except R11 Reviewed by Lang and Philip llvm-svn: 199508
* Change inalloca rules to make it only apply to the last parameterReid Kleckner2014-01-162-79/+101
| | | | | | | | | | | This makes things a lot easier, because we can now talk about the "argument allocation", which allocates all the memory for the call in one shot. The only functional change is to the verifier for a feature that hasn't shipped yet. llvm-svn: 199434
* LangRef.rst: fix LangRef data layout text about m specifier, take 2Hans Wennborg2014-01-151-8/+9
| | | | llvm-svn: 199286
* LangRef: attempt to fix line breaksHans Wennborg2014-01-151-2/+2
| | | | | | | The line breaks around the "m:<mangling>" text in the Data Layout section look weird. Let's see if this helps. llvm-svn: 199285
* Decouple dllexport/dllimport from linkageNico Rieck2014-01-142-29/+53
| | | | | | | | | | | | | | | | | | | Representing dllexport/dllimport as distinct linkage types prevents using these attributes on templates and inline functions. Instead of introducing further mixed linkage types to include linkonce and weak ODR, the old import/export linkage types are replaced with a new separate visibility-like specifier: define available_externally dllimport void @f() {} @Var = dllexport global i32 1, align 4 Linkage for dllexported globals and functions is now equal to their linkage without dllexport. Imported globals and functions must be either declarations with external linkage, or definitions with AvailableExternallyLinkage. llvm-svn: 199218
* Revert "Decouple dllexport/dllimport from linkage"Nico Rieck2014-01-142-53/+29
| | | | | | | | Revert this for now until I fix an issue in Clang with it. This reverts commit r199204. llvm-svn: 199207
* Decouple dllexport/dllimport from linkageNico Rieck2014-01-142-29/+53
| | | | | | | | | | | | | | | | | | | Representing dllexport/dllimport as distinct linkage types prevents using these attributes on templates and inline functions. Instead of introducing further mixed linkage types to include linkonce and weak ODR, the old import/export linkage types are replaced with a new separate visibility-like specifier: define available_externally dllimport void @f() {} @Var = dllexport global i32 1, align 4 Linkage for dllexported globals and functions is now equal to their linkage without dllexport. Imported globals and functions must be either declarations with external linkage, or definitions with AvailableExternallyLinkage. llvm-svn: 199204
* Docs: fix sign of division and increase equivocation on code generated.Tim Northover2014-01-131-5/+5
| | | | | | I should have been a politician. llvm-svn: 199092
* [anyregcc] Fix callee-save mask for anyregccJuergen Ributzka2014-01-111-0/+2
| | | | | | | Use separate callee-save masks for XMM and YMM registers for anyregcc on X86 and select the proper mask depending on the target cpu we compile for. llvm-svn: 198985
* Add a note about the old asm printer being removed.Rafael Espindola2014-01-101-0/+3
| | | | llvm-svn: 198960
* Use 'w' instead of 'c' to represent the win32 mangling.Rafael Espindola2014-01-101-1/+1
| | | | | | | This change was requested to avoid confusion if we ever support non windows coff systems. llvm-svn: 198938
* Update the developer policy to more clearly spell out the steps forChandler Carruth2014-01-101-11/+27
| | | | | | | contributors to submit patches to the LLVM project. Thanks to Danny, Chris, Alp, and others for reviewing. llvm-svn: 198901
* Remove mention of old deleted test scripts from testing guideNico Rieck2014-01-081-13/+5
| | | | llvm-svn: 198771
* Improve documentation of the 'a' specifier and the '<abi>:<pref>' align pair.Rafael Espindola2014-01-061-7/+9
| | | | llvm-svn: 198636
* Fix typo.Rafael Espindola2014-01-031-1/+1
| | | | | | Thanks to Owen Anderson for noticing it. llvm-svn: 198443
* Make the llvm mangler depend only on DataLayout.Rafael Espindola2014-01-031-0/+9
| | | | | | | | | | | | | | Before this patch any program that wanted to know the final symbol name of a GlobalValue had to link with Target. This patch implements a compromise solution where the mangler uses DataLayout. This way, any tool that already links with Target (llc, clang) gets the exact behavior as before and new IR files can be mangled without linking with Target. With this patch the mangler is constructed with just a DataLayout and DataLayout is extended to include the information the Mangler needs. llvm-svn: 198438
* Remove the 's' DataLayout specificationRafael Espindola2014-01-011-3/+0
| | | | | | | | | | | | | | | | | | | | | | | During the years there have been some attempts at figuring out how to align byval arguments. A look at the commit log suggests that they were * Use the ABI alignment. * When that was not sufficient for x86-64, I added the 's' specification to DataLayout. * When that was not sufficient Evan added the virtual getByValTypeAlignment. * When even that was not sufficient, we just got the FE to add the alignment to the byval. This patch is just a simple cleanup that removes my first attempt at fixing the problem. I also added an AArch64 implementation of getByValTypeAlignment to make sure this patch is a nop. I also left the 's' parsing for backward compatibility. I will send a short email to llvmdev about the change for anyone maintaining an out of tree target. llvm-svn: 198287
* Update the copyright credits -- Happy new year 2014!NAKAMURA Takumi2014-01-012-2/+2
| | | | | FIXME: Dragonegg may be updated at non-trivial changes. llvm-svn: 198274
* Remove link to unexisting llvm-prof docsAlexey Samsonov2013-12-241-1/+0
| | | | llvm-svn: 197989
* llvm-symbolizer: add --obj flag to specify a single object file that should ↵Alexey Samsonov2013-12-241-1/+15
| | | | | | be symbolized. llvm-svn: 197988
* LangRef documentation for the stackmap and patchpoint intrinsics.Andrew Trick2013-12-243-0/+503
| | | | | | | | | These still have "experimental" status, meaning we don't guarantee backward compatibility. However, they are already actively used by the open source WebKit project, and have started to be adopted by other projects. llvm-svn: 197930
* [COFF] Add support for the .secidx directiveTimur Iskhodzhanov2013-12-201-1/+17
| | | | | | Reviewed at http://llvm-reviews.chandlerc.com/D2445 llvm-svn: 197826
* Fix a typo in the docsTimur Iskhodzhanov2013-12-201-1/+1
| | | | llvm-svn: 197798
* Fix documentation typosAlp Toker2013-12-205-7/+7
| | | | llvm-svn: 197757
* Update the links to the SPARC information.Rafael Espindola2013-12-191-2/+3
| | | | llvm-svn: 197719
* Begin adding docs and IR-level support for the inalloca attributeReid Kleckner2013-12-192-0/+177
| | | | | | | | | | | | | | | | | | | The inalloca attribute is designed to support passing C++ objects by value in the Microsoft C++ ABI. It behaves the same as byval, except that it always implies that the argument is in memory and that the bytes are never copied. This attribute allows the caller to take the address of an outgoing argument's memory and execute arbitrary code to store into it. This patch adds basic IR support, docs, and verification. It does not attempt to implement any lowering or fix any possibly broken transforms. When this patch lands, a complete description of this feature should appear at http://llvm.org/docs/InAlloca.html . Differential Revision: http://llvm-reviews.chandlerc.com/D2173 llvm-svn: 197645
* Fix code sample in NVPTX examples: now it compiles to PTX and runs as expected.Eli Bendersky2013-12-171-2/+2
| | | | llvm-svn: 197498
* Add ARM to release instructionsRenato Golin2013-12-131-0/+6
| | | | llvm-svn: 197220
* Use "a" instead of "a0" in DataLayout.Rafael Espindola2013-12-121-1/+1
| | | | | | It means exactly the same and is just a bit shorter. llvm-svn: 197169
* Use Field Lists for the types' "Overview", "Syntax" and "Examples".Rafael Espindola2013-12-101-56/+31
| | | | | | Thanks to Sean Silva for the suggestion. llvm-svn: 196924
* Remove the notion of primitive types.Rafael Espindola2013-12-071-194/+140
| | | | | | | | | | They were out of place since the introduction of arbitrary precision integer types. This also synchronizes the documentation to Types.h, so it refers to first class types and single value types. llvm-svn: 196661
* Add a RequireStructuredCFG Field to TargetMachine.Vincent Lejeune2013-12-071-0/+6
| | | | llvm-svn: 196634
* Document that dllexported symbols are preserved by optimization passes.Yunzhong Gao2013-12-051-3/+5
| | | | llvm-svn: 196523
* Correct word hyphenationsAlp Toker2013-12-054-4/+4
| | | | | | | This patch tries to avoid unrelated changes other than fixing a few hyphen-related ambiguities and contractions in nearby lines. llvm-svn: 196471
* [LangRef] Remove (non-normative) paragraph that doesn't make sense.Sean Silva2013-12-041-6/+0
| | | | | | | | | It appears to be referring to nonexistent entities. This must be a carry-over from an older version of the document. Patch by Mikael Lyngvig! llvm-svn: 196342
* Update the LTO GoldPlugin documentationAlp Toker2013-12-021-17/+11
| | | | | | | | | * Update build instructions to reflect the current source tree layout. * Don't inflict CVS on readers; there's a perfectly good git mirror. * configure with --disable-werror making it possible to build using clang. * ar and nm-new now support the -plugin option. llvm-svn: 196069
* [docs] Mention gotcha regarding implicit BB numberingSean Silva2013-11-271-1/+3
| | | | | | Impetus for the clarification by Mikael Lyngvig. llvm-svn: 195812
* CMake : optionaly enable LLVM to be compiled with -std=c++11 (default: off)Arnaud A. de Grandmaison2013-11-261-0/+3
| | | | | | | | | | In some case, it may be required to build LLVM in C++11 mode, as some the subprojects (like lldb) requires it. This mimics the autoconf behaviour. However, given the discussions on the switch to C++11 of the codebase, this behaviour should evolve to default to C++11 with some checks of the compiler capabilities. llvm-svn: 195727
* Remove dangling documentation. llvm-prof was deleted a while ago.Benjamin Kramer2013-11-211-63/+0
| | | | llvm-svn: 195372
* YAML I/O add support for validate()Nick Kledzik2013-11-211-0/+38
| | | | | | | MappingTrait template specializations can now have a validate() method which performs semantic checking. For details, see <http://llvm.org/docs/YamlIO.html>. llvm-svn: 195286
* Update to reflect the next release.Bill Wendling2013-11-201-81/+6
| | | | llvm-svn: 195235
OpenPOWER on IntegriCloud