summaryrefslogtreecommitdiffstats
path: root/llvm/lib/AsmParser
Commit message (Collapse)AuthorAgeFilesLines
...
* RegenerateAnton Korobeynikov2008-02-202-305/+306
| | | | llvm-svn: 47376
* Fix newly-introduced 4.3 warningsAnton Korobeynikov2008-02-202-2/+4
| | | | llvm-svn: 47375
* Unbreak build with gcc 4.3: provide missed includes and silence most ↵Anton Korobeynikov2008-02-202-0/+3
| | | | | | annoying warnings. llvm-svn: 47367
* regenerateDevang Patel2008-02-193-1040/+1062
| | | | llvm-svn: 47350
* ParseDevang Patel2008-02-192-1/+11
| | | | | | %b = getresult {i32, i32} %a, i32 1 llvm-svn: 47349
* Generated files for checkin 47342.Dale Johannesen2008-02-193-267/+267
| | | | llvm-svn: 47344
* Forgot a file, goes with 47342.Dale Johannesen2008-02-191-3/+3
| | | | llvm-svn: 47343
* Expand ParameterAttributes to 32 bits (in preparationDale Johannesen2008-02-191-1/+1
| | | | | | | for adding alignment info, not there yet). Clean up interfaces to reference ParameterAttributes consistently. llvm-svn: 47342
* regenerateChris Lattner2008-02-193-3431/+4591
| | | | llvm-svn: 47312
* Fix PR2060 by rejecting invalid types for integer constants.Chris Lattner2008-02-191-11/+15
| | | | llvm-svn: 47311
* Back out mods to llvmAsmParser, incorrectly committedScott Michel2008-01-303-4562/+3410
| | | | llvm-svn: 46545
* More cleanups for CellSPU:Scott Michel2008-01-303-3410/+4562
| | | | | | | | | - Expand tabs... (poss 80-col violations, will get them later...) - Consolidate logic for SelectDFormAddr and SelectDForm2Addr into a single function, simplifying maintenance. Also reduced custom instruction generation for SPUvecinsert/INSERT_MASK. llvm-svn: 46544
* 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
OpenPOWER on IntegriCloud