summaryrefslogtreecommitdiffstats
path: root/llvm/lib/AsmParser
Commit message (Collapse)AuthorAgeFilesLines
* * 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