summaryrefslogtreecommitdiffstats
path: root/llvm/lib/AsmParser
Commit message (Collapse)AuthorAgeFilesLines
...
* First try at a horrible global value reference wrapperChris Lattner2001-10-031-19/+40
| | | | llvm-svn: 701
* Clean up parser, fix a bug that prevented this from working:Chris Lattner2001-10-031-66/+52
| | | | | | | | | | | %ListNode3 = global %list { %list* null, int 4 } because %list is name and the parser expected a literal {..} type there. In addition, simplified rules that the fix (Allow any Types there, not just a StructType) made obsolete. Simplified type propogation a bit. llvm-svn: 700
* * Add support for null as a constantChris Lattner2001-10-032-28/+59
| | | | | | | | * Allow multiple definitions of a type with the same name as long as they are the same type * Eagerly resolve types to allow #2 to work instead of after the whole const pool has been processed * Change grammar to require a const before a local constant definition llvm-svn: 699
* Commit more code over to new cast styleChris Lattner2001-10-021-6/+5
| | | | llvm-svn: 697
* Convert more code to use new style castsChris Lattner2001-10-011-4/+1
| | | | | | Eliminate old style casts from value.h llvm-svn: 696
* Add more support for new style castsChris Lattner2001-10-011-14/+10
| | | | | | Convert more code to use them llvm-svn: 695
* Add support for new style castsChris Lattner2001-10-011-13/+19
| | | | llvm-svn: 694
* Implement constant pointers, and null specifically in the parser, bytecode ↵Chris Lattner2001-09-303-35/+64
| | | | | | | | writer, and bytecode reader. llvm-svn: 668
* Pull iterators out of CFG.h and CFGdecls and put them in Support directoryChris Lattner2001-09-281-2/+2
| | | | llvm-svn: 664
* Remove the unsized array constraintChris Lattner2001-09-181-5/+0
| | | | llvm-svn: 599
* Add support for global constants, and for initializers for constantsChris Lattner2001-09-182-32/+52
| | | | | | Clean up parser somewhat by factoring out freeing of ID's into setname function llvm-svn: 597
* Update to use correct type castChris Lattner2001-09-101-2/+2
| | | | llvm-svn: 536
* Implement global variable supportChris Lattner2001-09-102-12/+21
| | | | llvm-svn: 530
* * Add support for forward referencing typesChris Lattner2001-09-071-369/+501
| | | | | | | | | * Add support for upreferences for recursive types * Remove support for ConstantPool.h * Add support for globally unique Constants * Add support for the opaque type llvm-svn: 446
* Add support for forward referencing typesChris Lattner2001-09-071-3/+13
| | | | llvm-svn: 445
* Add support for an opaque typeChris Lattner2001-09-071-19/+22
| | | | llvm-svn: 444
* * Enable the use of escaped literal stringsChris Lattner2001-07-283-63/+174
| | | | | | | | | | | | | | | | * Unresolved variable names now have the correct line number for their error messages * Rename Def* to Value* * Check for symbol table collisions before inserting values * Remove the STRING keyword * Enable the use of string literals to initialize constant arrays * Enable the use of extended constants in more locations: eg ret [int] [4, 5] * Allow method prototypes to appear in the constant pool of the program * Support varargs methods better. Enable varargs methods with 0 fixed arguments * Allow the entire method prototype to optionally be specified in a call inst llvm-svn: 321
* Refactor some of the constant stuff so that we can return complex constantChris Lattner2001-07-262-70/+89
| | | | | | values directly. This was causing test failures. :( llvm-svn: 304
* Add support for extern varargs methods & varargs method callsChris Lattner2001-07-254-2185/+38
| | | | | | Remove tool generated files llvm-svn: 296
* Moved inline/llvm/Tools/* to include/llvm/Support/*Chris Lattner2001-07-231-1/+1
| | | | llvm-svn: 279
* Remove dependence on command line library. Silly anyway.Chris Lattner2001-07-224-2441/+19
| | | | llvm-svn: 271
* Add a comment.Chris Lattner2001-07-202-107/+111
| | | | llvm-svn: 212
* Implement forward/external declarations for methods. Also, emit an error if ↵Chris Lattner2001-07-154-696/+755
| | | | | | | | a method is defined more than once, instead of crashing. llvm-svn: 195
* Add support to the parser to recognize floating point constantsChris Lattner2001-07-156-810/+890
| | | | llvm-svn: 188
* Added some comments, preparing to add global variables and method prototypesChris Lattner2001-07-142-98/+117
| | | | llvm-svn: 179
* Make sure that types go in the constant pool if they are used.Chris Lattner2001-07-092-141/+199
| | | | llvm-svn: 171
* Implementation of Store & GetElementPtrChris Lattner2001-07-085-427/+463
| | | | llvm-svn: 164
* Implemented shl, shl, & load instructionsChris Lattner2001-07-085-681/+769
| | | | llvm-svn: 161
* Moved Cast from being a Unary instruction to being an "Other" instructionChris Lattner2001-07-085-94/+94
| | | | llvm-svn: 160
* Neg instruction removed. Cast instruction implemented.Chris Lattner2001-07-085-673/+682
| | | | llvm-svn: 156
* Broad superficial changes:Chris Lattner2001-07-071-1/+1
| | | | | | | | | * Renamed getOpcode to getOpcodeName * Changed getOpcodeName to return a const char * instead of string * Added a getOpcode method to replace getInstType * Changed code to use getOpcode instead of getInstType llvm-svn: 152
* Changed memory reference instructions to store the result as the implicitChris Lattner2001-07-073-41/+29
| | | | | | type of the instruction. llvm-svn: 148
* Miscellaneous cleanups:Chris Lattner2001-06-272-14/+14
| | | | | | | | | | | * Convert post to pre-increment for for loops * Use generic programming more * Use new Value::cast* instructions * Use new Module, Method, & BasicBlock forwarding methods * Use new facilities in STLExtras.h * Use new Instruction::isPHINode() method llvm-svn: 96
* Renamed get.*Operator to create seeing that it would have to be qualifiedChris Lattner2001-06-252-4/+4
| | | | | | with the classname anyways. llvm-svn: 74
* Updates to supportChris Lattner2001-06-113-258/+305
| | | | | | | * Changes in PHI node structure * Change to PHI syntax llvm-svn: 24
* Moved getBinaryOperator to the BinaryOperator class and the getUnaryOperatorChris Lattner2001-06-082-4/+4
| | | | | | to the UnaryOperator class (from the Instruction class). llvm-svn: 21
* Initial revisionChris Lattner2001-06-068-0/+5735
llvm-svn: 2
OpenPOWER on IntegriCloud