aboutsummaryrefslogtreecommitdiffstats
path: root/docs/LangRef.html
Commit message (Collapse)AuthorAgeFilesLines
* explain that NumElements in alloca and malloc defaults to oneGabor Greif2008-02-091-9/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46912 91177308-0d34-0410-b5e6-96231b3b80d8
* llvm.sqrt(-0.0) is defined.Chris Lattner2008-01-291-1/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46500 91177308-0d34-0410-b5e6-96231b3b80d8
* make handling of overflow and undefined results much more clear. Chris Lattner2008-01-281-9/+40
| | | | | | | Patch by Eli Friedman, thanks! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46428 91177308-0d34-0410-b5e6-96231b3b80d8
* Add description of 'llvm.trap' intrinsic. Also, minor fixes in formatting. Anton Korobeynikov2008-01-151-5/+39
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46024 91177308-0d34-0410-b5e6-96231b3b80d8
* clarify that byval is valid for any pointer argument.Chris Lattner2008-01-151-5/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45998 91177308-0d34-0410-b5e6-96231b3b80d8
* document the byval parameter attribute.Chris Lattner2008-01-111-0/+14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45855 91177308-0d34-0410-b5e6-96231b3b80d8
* improve description of alignment, patch by Alain Frisch.Chris Lattner2008-01-061-0/+20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45662 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix typo noticed by 'Danny' in PR1901Chris Lattner2008-01-061-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45661 91177308-0d34-0410-b5e6-96231b3b80d8
* fix nesting issues.Chris Lattner2008-01-041-1/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45566 91177308-0d34-0410-b5e6-96231b3b80d8
* fix validation issues.Chris Lattner2008-01-041-2/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45565 91177308-0d34-0410-b5e6-96231b3b80d8
* improve the description of types, patch by Alain FrischChris Lattner2008-01-041-38/+82
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45564 91177308-0d34-0410-b5e6-96231b3b80d8
* update to llvm 2.0 syntax.Chris Lattner2007-12-251-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45355 91177308-0d34-0410-b5e6-96231b3b80d8
* Noting and enforcing that GC intrinsics are valid only within aGordon Henriksen2007-12-251-4/+9
| | | | | | | | | | function with GC. This will catch the error when the inliner inlines a function with GC into a caller with no GC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45350 91177308-0d34-0410-b5e6-96231b3b80d8
* fix more table abuses.Chris Lattner2007-12-191-50/+46
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45187 91177308-0d34-0410-b5e6-96231b3b80d8
* avoid confusing terminology (what is a "word"?), fix scary markup, add ↵Chris Lattner2007-12-181-21/+12
| | | | | | section to TOC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45150 91177308-0d34-0410-b5e6-96231b3b80d8
* Make it clear in the LangRef that allocation instructions only operated on ↵Christopher Lamb2007-12-171-2/+8
| | | | | | the generic address space. Implement support in the verifier for ensuring this is true. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45080 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement part of review feedback for address spaces.Christopher Lamb2007-12-121-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44933 91177308-0d34-0410-b5e6-96231b3b80d8
* Add information on address space qualifiers for pointer types and global Christopher Lamb2007-12-111-4/+15
| | | | | | | declarations to the LangRef. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44860 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a typo spotted by Nick Lewycky.Gordon Henriksen2007-12-101-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44774 91177308-0d34-0410-b5e6-96231b3b80d8
* Adding a collector name attribute to Function in the IR. These Gordon Henriksen2007-12-101-3/+22
| | | | | | | | | | | | | | | | | | | | | methods are new to Function: bool hasCollector() const; const std::string &getCollector() const; void setCollector(const std::string &); void clearCollector(); The assembly representation is as such: define void @f() gc "shadow-stack" { ... The implementation uses an on-the-side table to map Functions to collector names, such that there is no overhead. A StringPool is further used to unique collector names, which are extremely likely to be unique per process. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44769 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix PR1146: parameter attributes are longer part ofDuncan Sands2007-11-271-9/+7
| | | | | | | | | | | | | the function type, instead they belong to functions and function calls. This is an updated and slightly corrected version of Reid Spencer's original patch. The only known problem is that auto-upgrading of bitcode files doesn't seem to work properly (see test/Bitcode/AutoUpgradeIntrinsics.ll). Hopefully a bitcode guru (who might that be? :) ) will fix it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44359 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename the 'const' parameter attribute to 'readnone',Duncan Sands2007-11-221-6/+6
| | | | | | | | and the 'pure' parameter attribute to 'readonly'. Names suggested by DannyB. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44273 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for vectors to int <-> float casts.Nate Begeman2007-11-171-21/+34
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44204 91177308-0d34-0410-b5e6-96231b3b80d8
* Tweak the descriptions of the new 'const' and 'pure' attributes.Duncan Sands2007-11-141-7/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44132 91177308-0d34-0410-b5e6-96231b3b80d8
* Document pure/const parameter attributesAnton Korobeynikov2007-11-141-0/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44111 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for vector remainder operations.Dan Gohman2007-11-051-3/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43744 91177308-0d34-0410-b5e6-96231b3b80d8
* Put correct link in exampleBill Wendling2007-10-221-3/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43216 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't mention -enable-unsafe-fp-math in LangRef.html, as that option isDan Gohman2007-10-171-9/+3
| | | | | | | assumed to globally mutate the spec. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43078 91177308-0d34-0410-b5e6-96231b3b80d8
* Document the new llvm.sin, llvm.cos, and llvm.pow intrinsics. FeedbackDan Gohman2007-10-151-4/+136
| | | | | | | is welcome! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43007 91177308-0d34-0410-b5e6-96231b3b80d8
* Fixing a typo. Found by Kevin André!Gordon Henriksen2007-10-141-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42956 91177308-0d34-0410-b5e6-96231b3b80d8
* Clarify that shifts that are too large are undefined.Chris Lattner2007-10-031-3/+19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42588 91177308-0d34-0410-b5e6-96231b3b80d8
* remove extraneous tagChris Lattner2007-10-031-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42581 91177308-0d34-0410-b5e6-96231b3b80d8
* remove misleading documentation: LLVM has no atomic support yet.Chris Lattner2007-10-031-302/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42580 91177308-0d34-0410-b5e6-96231b3b80d8
* Document new sqrt and powi handling.Dale Johannesen2007-10-021-4/+14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42540 91177308-0d34-0410-b5e6-96231b3b80d8
* Validation fixesBill Wendling2007-09-221-4/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42225 91177308-0d34-0410-b5e6-96231b3b80d8
* fix bugs in the manualChris Lattner2007-09-221-10/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42221 91177308-0d34-0410-b5e6-96231b3b80d8
* Correct names.Tanya Lattner2007-09-221-5/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42219 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix typo.Tanya Lattner2007-09-221-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42217 91177308-0d34-0410-b5e6-96231b3b80d8
* One last fix to get name correct.Tanya Lattner2007-09-211-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42216 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix silly typo.Tanya Lattner2007-09-211-3/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42215 91177308-0d34-0410-b5e6-96231b3b80d8
* Update annotation intrinsic with more details.Tanya Lattner2007-09-211-3/+13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42214 91177308-0d34-0410-b5e6-96231b3b80d8
* Adding support for __builtin_annotation with an intrinsic called ↵Tanya Lattner2007-09-211-0/+37
| | | | | | llvm.annotation. This is similar to llvm.var.annotation but is applied to expressions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42211 91177308-0d34-0410-b5e6-96231b3b80d8
* gcroot must take concrete types, not arbitrary types.Chris Lattner2007-09-211-8/+7
| | | | | | | clean up intrinsic descriptions in langref a bit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42194 91177308-0d34-0410-b5e6-96231b3b80d8
* Fold the adjust_trampoline intrinsic intoDuncan Sands2007-09-111-46/+21
| | | | | | | | init_trampoline. There is now only one trampoline intrinsic. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41841 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix description of the call instruction. There are two types, with one beingNick Lewycky2007-09-081-9/+15
| | | | | | | optional. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41785 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement review feedback on trampoline documentation.Duncan Sands2007-08-221-6/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41304 91177308-0d34-0410-b5e6-96231b3b80d8
* Describe the global/local naming convention.Reid Spencer2007-08-071-11/+13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40890 91177308-0d34-0410-b5e6-96231b3b80d8
* This is the patch to provide clean intrinsic function overloading support in ↵Chandler Carruth2007-08-041-35/+44
| | | | | | | | | LLVM. It cleans up the intrinsic definitions and generally smooths the process for more complicated intrinsic writing. It will be used by the upcoming atomic intrinsics as well as vector and float intrinsics in the future. This also changes the syntax for llvm.bswap, llvm.part.set, llvm.part.select, and llvm.ct* intrinsics. They are automatically upgraded by both the LLVM ASM reader and the bitcode reader. The test cases have been updated, with special tests added to ensure the automatic upgrading is supported. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40807 91177308-0d34-0410-b5e6-96231b3b80d8
* fp2uint -> fptouiReid Spencer2007-07-311-8/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40633 91177308-0d34-0410-b5e6-96231b3b80d8
* Forget to add 'nest' to the list of parameterDuncan Sands2007-07-271-0/+3
| | | | | | | attributes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40565 91177308-0d34-0410-b5e6-96231b3b80d8