summaryrefslogtreecommitdiffstats
path: root/llvm/lib/AsmParser
Commit message (Collapse)AuthorAgeFilesLines
* Extend the 'noalias' attribute to function return values. This is intended toNick Lewycky2008-11-242-1343/+1352
| | | | | | | | | indicate functions that allocate, such as operator new, or list::insert. The actual definition is slightly less strict (for now). No changes to the bitcode reader/writer, asm printer or verifier were needed. llvm-svn: 59934
* RegeneratedBill Wendling2008-11-133-1397/+1433
| | | | llvm-svn: 59204
* Implement stack protectors as function attributes: "ssp" and "sspreq".Bill Wendling2008-11-132-2/+6
| | | | llvm-svn: 59202
* regenerateNuno Lopes2008-11-043-339/+347
| | | | llvm-svn: 58697
* fix leakage of APFloats in getExistingVal()Nuno Lopes2008-11-042-1/+7
| | | | llvm-svn: 58696
* regenerateNuno Lopes2008-11-043-337/+339
| | | | llvm-svn: 58694
* fix leakage of APSInt in getVal()Nuno Lopes2008-11-041-0/+1
| | | | llvm-svn: 58693
* CMake: Cross-platform support for using pre-generated llvmAsmParser.cpp and ↵Oscar Fuentes2008-10-251-25/+18
| | | | | | llvmAsmParser.h. llvm-svn: 58130
* 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
OpenPOWER on IntegriCloud