summaryrefslogtreecommitdiffstats
path: root/llvm/lib/AsmParser
Commit message (Collapse)AuthorAgeFilesLines
...
* Generated files for previous checkin.Dale Johannesen2008-10-093-347/+359
| | | | llvm-svn: 57331
* Add a "loses information" return value to APFloat::convertDale Johannesen2008-10-091-4/+10
| | | | | | | and APFloat::convertToInteger. Restore return value to IEEE754. Adjust all users accordingly. llvm-svn: 57329
* regenerateChris Lattner2008-10-083-310/+310
| | | | llvm-svn: 57290
* Add missing semicolumns in parser rules, those missing semicolumns Chris Lattner2008-10-081-3/+3
| | | | | | | | are required to compile with the latest Bison. Patch by Samuel Tardieu! llvm-svn: 57289
* regenerateNuno Lopes2008-10-052-209/+233
| | | | llvm-svn: 57114
* clean ArgTypeListI production: free the PATypeHolderNuno Lopes2008-10-051-2/+14
| | | | llvm-svn: 57113
* regenerateNuno Lopes2008-10-033-338/+346
| | | | llvm-svn: 57009
* fix more memleaks in ResolveTypeTo() and ParseGlobalVariable()Nuno Lopes2008-10-031-0/+4
| | | | llvm-svn: 57008
* regenerate with bison 2.3Nuno Lopes2008-10-033-316/+318
| | | | llvm-svn: 57007
* fix memleak in FunctionHeaderHNuno Lopes2008-10-031-0/+1
| | | | llvm-svn: 57005
* Support inreg, zext and sext as return value attributes.Devang Patel2008-09-293-1694/+1728
| | | | llvm-svn: 56801
* Implement function notes as function attributes. Devang Patel2008-09-264-93/+27
| | | | llvm-svn: 56716
* Generated files for warning fix.Dale Johannesen2008-09-262-115/+171
| | | | llvm-svn: 56715
* Fix a compiler warning.Dale Johannesen2008-09-261-1/+0
| | | | llvm-svn: 56714
* Now Attributes are divided in three groupsDevang Patel2008-09-262-16/+132
| | | | | | | | | | | | | - return attributes - inreg, zext and sext - parameter attributes - function attributes - nounwind, readonly, readnone, noreturn Return attributes use 0 as the index. Function attributes use ~0U as the index. This patch requires corresponding changes in llvm-gcc and clang. llvm-svn: 56704
* Generated files for previous patch.Dale Johannesen2008-09-263-1823/+1800
| | | | llvm-svn: 56679
* Add "inreg" field to CallSDNode (doesn't increaseDale Johannesen2008-09-262-3/+0
| | | | | | | | | its size). Adjust various lowering functions to pass this info through from CallInst. Use it to implement sseregparm returns on X86. Remove X86_ssecall calling convention. llvm-svn: 56677
* Large mechanical patch.Devang Patel2008-09-254-549/+549
| | | | | | | | | | | | | | | s/ParamAttr/Attribute/g s/PAList/AttrList/g s/FnAttributeWithIndex/AttributeWithIndex/g s/FnAttr/Attribute/g This sets the stage - to implement function notes as function attributes and - to distinguish between function attributes and return value attributes. This requires corresponding changes in llvm-gcc and clang. llvm-svn: 56622
* Fix fallout from revision r56535.Eric Christopher2008-09-244-740/+740
| | | | llvm-svn: 56545
* Put FN_NOTE_AlwaysInline and others in FnAttr namespace.Devang Patel2008-09-243-24/+24
| | | | llvm-svn: 56527
* Move FN_NOTE_AlwaysInline and other out of ParamAttrs namespace.Devang Patel2008-09-233-24/+24
| | | | | | Do not check isDeclaration() in hasNote(). It is clients' responsibility. llvm-svn: 56524
* s/ParameterAttributes/Attributes/gDevang Patel2008-09-234-359/+357
| | | | llvm-svn: 56520
* s/ParameterAttributes/Attributes/gDevang Patel2008-09-231-4/+4
| | | | llvm-svn: 56513
* Use parameter attribute store (soon to be renamed) forDevang Patel2008-09-233-22/+26
| | | | | | Function Notes also. Function notes are stored at index ~0. llvm-svn: 56511
* regenerateChris Lattner2008-09-233-1284/+1286
| | | | llvm-svn: 56502
* allow inreg on the result of a functionChris Lattner2008-09-231-0/+1
| | | | llvm-svn: 56501
* Initial support for the CMake build system.Oscar Fuentes2008-09-221-0/+15
| | | | llvm-svn: 56419
* Update generated files.Dan Gohman2008-09-093-324/+342
| | | | llvm-svn: 55972
* Extend the vcmp/fcmp LLVM IR instructions to take vectors as argumentsDan Gohman2008-09-091-10/+19
| | | | | | | | | | | | | | and, if so, to return a vector of boolean as a result; Extend the select LLVM IR instruction to allow you to specify a result type which is a vector of boolean, in which case the result will be an element-wise selection instead of choosing one vector or the other; and Update LangRef.html to describe these changes. This patch was contributed by Preston Gurd! llvm-svn: 55969
* Parse and print opt_size note.Devang Patel2008-09-031-1/+1
| | | | llvm-svn: 55740
* s/FP_AlwaysInline/FN_NOTE_AlwaysInline/gDevang Patel2008-09-023-18/+18
| | | | llvm-svn: 55676
* Parse function notes.Devang Patel2008-09-025-1408/+1566
| | | | llvm-svn: 55646
* regenerateChris Lattner2008-08-293-1455/+1531
| | | | llvm-svn: 55542
* Add support for parsing .ll files that have numbers in front ofChris Lattner2008-08-291-5/+39
| | | | | | | | | | nameless values, such as: %3 = add i32 4, 2 This fixes the first half of PR2480 llvm-svn: 55539
* Regenerate.Gordon Henriksen2008-08-173-291/+291
| | | | llvm-svn: 54900
* Rename some GC classes so that their roll will hopefully be clearer.Gordon Henriksen2008-08-171-1/+1
| | | | | | | | | | | | | | | | | | In particular, Collector was confusing to implementors. Several thought that this compile-time class was the place to implement their runtime GC heap. Of course, it doesn't even exist at runtime. Specifically, the renames are: Collector -> GCStrategy CollectorMetadata -> GCFunctionInfo CollectorModuleMetadata -> GCModuleInfo CollectorRegistry -> GCRegistry Function::getCollector -> getGC (setGC, hasGC, clearGC) Several accessors and nested types have also been renamed to be consistent. These changes should be obvious. llvm-svn: 54899
* Rework the routines that convert AP[S]Int into a string. Now, instead ofChris Lattner2008-08-171-1/+1
| | | | | | | | | | | | | | | | | returning an std::string by value, it fills in a SmallString/SmallVector passed in. This significantly reduces string thrashing in some cases. More specifically, this: - Adds an operator<< and a print method for APInt that allows you to directly send them to an ostream. - Reimplements APInt::toString to be much simpler and more efficient algorithmically in addition to not thrashing strings quite as much. This speeds up llvm-dis on kc++ by 7%, and may also slightly speed up the asmprinter. This also fixes a bug I introduced into the asmwriter in a previous patch w.r.t. alias printing. llvm-svn: 54873
* Generated files for 54744.Dale Johannesen2008-08-133-1781/+1797
| | | | llvm-svn: 54745
* Add read/write support for X86's sseregparm.Dale Johannesen2008-08-132-0/+3
| | | | llvm-svn: 54744
* Add vector shifts to the IR, patch by Eli Friedman.Nate Begeman2008-07-294-294/+294
| | | | | | CodeGen & Clang work coming next. llvm-svn: 54161
* Update the generated .cvs files.Dan Gohman2008-07-233-307/+345
| | | | llvm-svn: 53943
* Enable first-class aggregates support.Dan Gohman2008-07-232-7/+26
| | | | | | | | | | | | Remove the GetResultInst instruction. It is still accepted in LLVM assembly and bitcode, where it is now auto-upgraded to ExtractValueInst. Also, remove support for return instructions with multiple values. These are auto-upgraded to use InsertValueInst instructions. The IRBuilder still accepts multiple-value returns, and auto-upgrades them to InsertValueInst instructions. llvm-svn: 53941
* Align comments, colons and cases. Remove trailingDuncan Sands2008-07-111-17/+17
| | | | | | whitespace. llvm-svn: 53453
* regenerateChris Lattner2008-07-113-1035/+1101
| | | | llvm-svn: 53440
* Implement PR2538Chris Lattner2008-07-112-24/+64
| | | | llvm-svn: 53438
* Added MemOperands to Atomic operations since Atomics touches memory.Mon P Wang2008-06-253-306/+306
| | | | | | | | Added abstract class MemSDNode for any Node that have an associated MemOperand Changed atomic.lcs => atomic.cmp.swap, atomic.las => atomic.load.add, and atomic.lss => atomic.load.sub llvm-svn: 52706
* Fix some signed vs. unsigned issues in array and vector handling.Dan Gohman2008-06-241-10/+10
| | | | llvm-svn: 52664
* Update the .cvs files.Dan Gohman2008-06-233-102/+106
| | | | llvm-svn: 52637
* Fix the types for NumElements variables, and add a commentDan Gohman2008-06-231-7/+9
| | | | | | explaining why empty array constants use ValID::createUndef(). llvm-svn: 52636
* AsmParser support for immediate constant aggregate values.Dan Gohman2008-06-094-777/+1046
| | | | llvm-svn: 52149
OpenPOWER on IntegriCloud