Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | First try at a horrible global value reference wrapper | Chris Lattner | 2001-10-03 | 1 | -19/+40 | |
| | | | | llvm-svn: 701 | |||||
* | Clean up parser, fix a bug that prevented this from working: | Chris Lattner | 2001-10-03 | 1 | -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 constant | Chris Lattner | 2001-10-03 | 2 | -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 style | Chris Lattner | 2001-10-02 | 1 | -6/+5 | |
| | | | | llvm-svn: 697 | |||||
* | Convert more code to use new style casts | Chris Lattner | 2001-10-01 | 1 | -4/+1 | |
| | | | | | | Eliminate old style casts from value.h llvm-svn: 696 | |||||
* | Add more support for new style casts | Chris Lattner | 2001-10-01 | 1 | -14/+10 | |
| | | | | | | Convert more code to use them llvm-svn: 695 | |||||
* | Add support for new style casts | Chris Lattner | 2001-10-01 | 1 | -13/+19 | |
| | | | | llvm-svn: 694 | |||||
* | Implement constant pointers, and null specifically in the parser, bytecode ↵ | Chris Lattner | 2001-09-30 | 3 | -35/+64 | |
| | | | | | | | | writer, and bytecode reader. llvm-svn: 668 | |||||
* | Pull iterators out of CFG.h and CFGdecls and put them in Support directory | Chris Lattner | 2001-09-28 | 1 | -2/+2 | |
| | | | | llvm-svn: 664 | |||||
* | Remove the unsized array constraint | Chris Lattner | 2001-09-18 | 1 | -5/+0 | |
| | | | | llvm-svn: 599 | |||||
* | Add support for global constants, and for initializers for constants | Chris Lattner | 2001-09-18 | 2 | -32/+52 | |
| | | | | | | Clean up parser somewhat by factoring out freeing of ID's into setname function llvm-svn: 597 | |||||
* | Update to use correct type cast | Chris Lattner | 2001-09-10 | 1 | -2/+2 | |
| | | | | llvm-svn: 536 | |||||
* | Implement global variable support | Chris Lattner | 2001-09-10 | 2 | -12/+21 | |
| | | | | llvm-svn: 530 | |||||
* | * Add support for forward referencing types | Chris Lattner | 2001-09-07 | 1 | -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 types | Chris Lattner | 2001-09-07 | 1 | -3/+13 | |
| | | | | llvm-svn: 445 | |||||
* | Add support for an opaque type | Chris Lattner | 2001-09-07 | 1 | -19/+22 | |
| | | | | llvm-svn: 444 | |||||
* | * Enable the use of escaped literal strings | Chris Lattner | 2001-07-28 | 3 | -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 constant | Chris Lattner | 2001-07-26 | 2 | -70/+89 | |
| | | | | | | values directly. This was causing test failures. :( llvm-svn: 304 | |||||
* | Add support for extern varargs methods & varargs method calls | Chris Lattner | 2001-07-25 | 4 | -2185/+38 | |
| | | | | | | Remove tool generated files llvm-svn: 296 | |||||
* | Moved inline/llvm/Tools/* to include/llvm/Support/* | Chris Lattner | 2001-07-23 | 1 | -1/+1 | |
| | | | | llvm-svn: 279 | |||||
* | Remove dependence on command line library. Silly anyway. | Chris Lattner | 2001-07-22 | 4 | -2441/+19 | |
| | | | | llvm-svn: 271 | |||||
* | Add a comment. | Chris Lattner | 2001-07-20 | 2 | -107/+111 | |
| | | | | llvm-svn: 212 | |||||
* | Implement forward/external declarations for methods. Also, emit an error if ↵ | Chris Lattner | 2001-07-15 | 4 | -696/+755 | |
| | | | | | | | | a method is defined more than once, instead of crashing. llvm-svn: 195 | |||||
* | Add support to the parser to recognize floating point constants | Chris Lattner | 2001-07-15 | 6 | -810/+890 | |
| | | | | llvm-svn: 188 | |||||
* | Added some comments, preparing to add global variables and method prototypes | Chris Lattner | 2001-07-14 | 2 | -98/+117 | |
| | | | | llvm-svn: 179 | |||||
* | Make sure that types go in the constant pool if they are used. | Chris Lattner | 2001-07-09 | 2 | -141/+199 | |
| | | | | llvm-svn: 171 | |||||
* | Implementation of Store & GetElementPtr | Chris Lattner | 2001-07-08 | 5 | -427/+463 | |
| | | | | llvm-svn: 164 | |||||
* | Implemented shl, shl, & load instructions | Chris Lattner | 2001-07-08 | 5 | -681/+769 | |
| | | | | llvm-svn: 161 | |||||
* | Moved Cast from being a Unary instruction to being an "Other" instruction | Chris Lattner | 2001-07-08 | 5 | -94/+94 | |
| | | | | llvm-svn: 160 | |||||
* | Neg instruction removed. Cast instruction implemented. | Chris Lattner | 2001-07-08 | 5 | -673/+682 | |
| | | | | llvm-svn: 156 | |||||
* | Broad superficial changes: | Chris Lattner | 2001-07-07 | 1 | -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 implicit | Chris Lattner | 2001-07-07 | 3 | -41/+29 | |
| | | | | | | type of the instruction. llvm-svn: 148 | |||||
* | Miscellaneous cleanups: | Chris Lattner | 2001-06-27 | 2 | -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 qualified | Chris Lattner | 2001-06-25 | 2 | -4/+4 | |
| | | | | | | with the classname anyways. llvm-svn: 74 | |||||
* | Updates to support | Chris Lattner | 2001-06-11 | 3 | -258/+305 | |
| | | | | | | | * Changes in PHI node structure * Change to PHI syntax llvm-svn: 24 | |||||
* | Moved getBinaryOperator to the BinaryOperator class and the getUnaryOperator | Chris Lattner | 2001-06-08 | 2 | -4/+4 | |
| | | | | | | to the UnaryOperator class (from the Instruction class). llvm-svn: 21 | |||||
* | Initial revision | Chris Lattner | 2001-06-06 | 8 | -0/+5735 | |
llvm-svn: 2 |