summaryrefslogtreecommitdiffstats
path: root/llvm/lib/AsmParser
Commit message (Collapse)AuthorAgeFilesLines
* If there are attributes on the varargs part of aDuncan Sands2008-01-111-2/+16
| | | | | | call, don't discard them. llvm-svn: 45884
* Remove attribution from file headers, per discussion on llvmdev.Chris Lattner2007-12-297-162/+367
| | | | llvm-svn: 45418
* remove attribution from lib Makefiles.Chris Lattner2007-12-291-2/+2
| | | | llvm-svn: 45415
* regenerate.Christopher Lamb2007-12-172-6/+6
| | | | llvm-svn: 45085
* Change the PointerType api for creating pointer types. The old functionality ↵Christopher Lamb2007-12-171-3/+3
| | | | | | of PointerType::get() has become PointerType::getUnqual(), which returns a pointer in the generic address space. The new prototype of PointerType::get() requires both a type and an address space. llvm-svn: 45082
* Remove spurious warnings from GCC:Bill Wendling2007-12-161-75/+79
| | | | | | | | | warning: suggest a space before ';' or explicit braces around empty body in 'for' statement Patch by Mike Stump (modified slightly by yours truly). llvm-svn: 45071
* Regenerate.Christopher Lamb2007-12-122-1215/+1197
| | | | llvm-svn: 44934
* Implement part of review feedback for address spaces.Christopher Lamb2007-12-121-27/+13
| | | | llvm-svn: 44933
* Regenerate.Christopher Lamb2007-12-113-4845/+3590
| | | | llvm-svn: 44859
* Implement address space attribute for LLVM pointer types. Address spaces are Christopher Lamb2007-12-112-5/+27
| | | | | | | | | | | | | | | | | regions of memory that have a target specific relationship, as described in the Embedded C Technical Report. This also implements the 2007-12-11-AddressSpaces test, which demonstrates how address space attributes can be used in LLVM IR. In addition, this patch changes the bitcode signature for stores (in a backwards compatible manner), such that the pointer type, rather than the pointee type, is encoded. This permits type information in the pointer (e.g. address space) to be preserved for stores. LangRef updates are forthcoming. llvm-svn: 44858
* Adding a collector name attribute to Function in the IR. These Gordon Henriksen2007-12-105-1212/+1259
| | | | | | | | | | | | | | | | | | | | 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. llvm-svn: 44769
* add #includeChris Lattner2007-12-081-0/+1
| | | | llvm-svn: 44710
* RegenerateAnton Korobeynikov2007-12-032-196/+210
| | | | llvm-svn: 44546
* Fix fallout from my last patch: don't reject varargs functions :)Anton Korobeynikov2007-12-031-7/+14
| | | | llvm-svn: 44545
* RegenerateAnton Korobeynikov2007-12-032-280/+292
| | | | llvm-svn: 44541
* More sanity checks for function types. Anton Korobeynikov2007-12-032-2/+26
| | | | | | Thanks goes to PyPy folks for generating broken stuff :) llvm-svn: 44538
* Add a convenience method for modifying parameterDuncan Sands2007-11-301-3/+3
| | | | | | | | attributes. While there, I noticed that not all attribute methods returned a pointer-to-constant, so I fixed that. llvm-svn: 44457
* Add some convenience methods for querying attributes, andDuncan Sands2007-11-282-6/+6
| | | | | | use them. llvm-svn: 44403
* Fix PR1146: parameter attributes are longer part ofDuncan Sands2007-11-274-1121/+1082
| | | | | | | | | | | | 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. llvm-svn: 44359
* Rename the 'const' parameter attribute to 'readnone',Duncan Sands2007-11-222-5/+5
| | | | | | | and the 'pure' parameter attribute to 'readonly'. Names suggested by DannyB. llvm-svn: 44273
* autoupgrade files that use callfoo as call foo.Chris Lattner2007-11-181-1/+9
| | | | llvm-svn: 44218
* Bugfix, this fixes CodeGen/X86/ldzero.ll and ↵Chris Lattner2007-11-181-1/+1
| | | | | | CodeGen/X86/2007-10-16-fp80_select.ll llvm-svn: 44215
* Replace the original flex lexer with a hand writen one. This Chris Lattner2007-11-189-4424/+929
| | | | | | | drops a dependency on flex and lets us make future progress more easily. Yay for 2 fewer .cvs files to make silly conflicts with. llvm-svn: 44213
* Basic non-power-of-2 vector supportNate Begeman2007-11-154-289/+283
| | | | llvm-svn: 44181
* RegenerateAnton Korobeynikov2007-11-145-4977/+6488
| | | | llvm-svn: 44110
* Add pure/const attributes. Documentation will follow.Anton Korobeynikov2007-11-142-0/+5
| | | | llvm-svn: 44109
* Add support for vector remainder operations.Dan Gohman2007-11-051-5/+0
| | | | llvm-svn: 43744
* Make labels work in asm blocks; allow labels asDale Johannesen2007-11-055-754/+819
| | | | | | | parameters. Rename ValueRefList to ParamList in AsmParser, since its only use is for parameters. llvm-svn: 43734
* Next PPC long double bits. First cut at constants.Dale Johannesen2007-10-113-3/+3
| | | | | | | | | No compile-time support for constant operations yet, just format transformations. Make readers and writers work. Split constants into 2 doubles in Legalize. llvm-svn: 42865
* Generated files for previous patch.Dale Johannesen2007-09-124-12/+12
| | | | llvm-svn: 41876
* Revise previous patch per review comments.Dale Johannesen2007-09-122-7/+7
| | | | | | | Next round of x87 long double stuff. Getting close now, basically works. llvm-svn: 41875
* Generated files for previous patch.Dale Johannesen2007-09-114-979/+1109
| | | | llvm-svn: 41859
* Add APInt interfaces to APFloat (allows directlyDale Johannesen2007-09-112-9/+64
| | | | | | | | | access to bits). Use them in place of float and double interfaces where appropriate. First bits of x86 long double constants handling (untested, probably does not work). llvm-svn: 41858
* regenerateChris Lattner2007-09-102-266/+308
| | | | llvm-svn: 41816
* Fix PR1645 by resolving forward alias references.Chris Lattner2007-09-101-0/+21
| | | | llvm-svn: 41815
* Apply feedback from previous patch.Dale Johannesen2007-09-074-3786/+2823
| | | | llvm-svn: 41774
* Next round of APFloat changes.Dale Johannesen2007-09-067-30/+54
| | | | | | | | | | | | | | Use APFloat in UpgradeParser and AsmParser. Change all references to ConstantFP to use the APFloat interface rather than double. Remove the ConstantFP double interfaces. Use APFloat functions for constant folding arithmetic and comparisons. (There are still way too many places APFloat is just a wrapper around host float/double, but we're getting there.) llvm-svn: 41747
* Update generated files.David Greene2007-09-043-2812/+3786
| | | | llvm-svn: 41706
* Update GEP constructors to use an iterator interface to fixDavid Greene2007-09-041-3/+3
| | | | | | GLIBCXX_DEBUG issues. llvm-svn: 41697
* update theseChris Lattner2007-08-292-2/+2
| | | | llvm-svn: 41565
* Update InvokeInst to work like CallInstDavid Greene2007-08-271-1/+1
| | | | llvm-svn: 41506
* regenerateChris Lattner2007-08-063-4748/+3438
| | | | llvm-svn: 40875
* Fix PR1577, a crash on invalid bug.Chris Lattner2007-08-061-0/+1
| | | | llvm-svn: 40874
* Regenerating.Chandler Carruth2007-08-043-3437/+4761
| | | | llvm-svn: 40808
* This is the patch to provide clean intrinsic function overloading support in ↵Chandler Carruth2007-08-041-0/+6
| | | | | | | | 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. llvm-svn: 40807
* Long double, part 1 of N. Support in IR.Dale Johannesen2007-08-037-4495/+3613
| | | | llvm-svn: 40774
* Update generated files.David Greene2007-08-014-1393/+1220
| | | | llvm-svn: 40663
* New CallInst interface to address GLIBCXX_DEBUG errors caused byDavid Greene2007-08-011-1/+1
| | | | | | | | indexing an empty std::vector. Updates to all clients. llvm-svn: 40660
* Regenerate.Reid Spencer2007-07-312-954/+954
| | | | llvm-svn: 40634
* After a discussion with Anton, it turns out that the InReg attribute is notReid Spencer2007-07-311-1/+0
| | | | | | permitted on function results. So, revert the last patch to make it illegal. llvm-svn: 40632
OpenPOWER on IntegriCloud