summaryrefslogtreecommitdiffstats
path: root/llvm/lib/AsmParser
Commit message (Collapse)AuthorAgeFilesLines
...
* Modify the cmake build system so that if it doesn't find bison, it will use ↵Cedric Venet2008-10-241-1/+25
| | | | | | the pregenerated file in from the svn (.cvs). Work only for windows for the moment. Tested on Vista64 with MSVC2008express. llvm-svn: 58090
* regenerateNuno Lopes2008-10-153-337/+339
| | | | llvm-svn: 57577
* fix memleak in GetForwardRefForGlobal()Nuno Lopes2008-10-151-0/+1
| | | | llvm-svn: 57576
* regenerateNuno Lopes2008-10-153-339/+343
| | | | llvm-svn: 57575
* fix memleak in getTypeVal()Nuno Lopes2008-10-151-1/+3
| | | | llvm-svn: 57574
* regenerateNuno Lopes2008-10-153-342/+344
| | | | llvm-svn: 57573
* fix memleak in ResolveTypeTo()Nuno Lopes2008-10-151-0/+1
| | | | llvm-svn: 57572
* regenerateChris Lattner2008-10-152-1483/+1521
| | | | llvm-svn: 57561
* Fix the .ll grammar rules to allow any type before an 'i32', not just anChris Lattner2008-10-151-32/+49
| | | | | | | integer type. Invalid things like 'float 42' are now rejected by the semantic analysis in the productions not the parser. This fixes PR2733. llvm-svn: 57560
* regenerateChris Lattner2008-10-153-1467/+1446
| | | | llvm-svn: 57559
* Eliminate the "IntType ::= INTTYPE" production, just use Chris Lattner2008-10-151-10/+9
| | | | | | INTTYPE everywhere. llvm-svn: 57558
* 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
OpenPOWER on IntegriCloud