summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
* Make the sparc.burg file be a little more flexible and rubust in the fact ofChris Lattner2001-10-142-6/+11
| | | | | | | | renumbering of instructions. It is still horribly broken and grossly dependant on the number of instructions, but now it is a least a little better. Oh yeah it also works now. llvm-svn: 793
* Check in makefileChris Lattner2001-10-131-0/+6
| | | | llvm-svn: 788
* Compile the transforms directoryChris Lattner2001-10-131-1/+1
| | | | llvm-svn: 776
* Start of a linkerChris Lattner2001-10-131-0/+22
| | | | llvm-svn: 775
* Implement the invoke instructionChris Lattner2001-10-131-11/+50
| | | | llvm-svn: 774
* * Fix a nefarious bugs: TypesEqual was wrong for varargs methodsChris Lattner2001-10-131-16/+29
| | | | | | | * MethodType::get now takes a literal isVarArg method argument * Use new style casts llvm-svn: 773
* Convert a runtime check into an assertionChris Lattner2001-10-131-5/+2
| | | | llvm-svn: 772
* * Add support for Module specific constantsChris Lattner2001-10-131-4/+55
| | | | | | * Add proper support for ConstPoolPointerReference's llvm-svn: 771
* Add new TerminatorInst ctor for invokeChris Lattner2001-10-131-1/+6
| | | | llvm-svn: 770
* * Fix TODOChris Lattner2001-10-131-16/+110
| | | | | | | | | * Support ConstPoolPOinterReferences correctly * New constPoolPointerNull subclass * Add classof support for more classes * Add proper support for ConstPoolPointerReference::getStrValue() llvm-svn: 769
* Fix broken #endifChris Lattner2001-10-131-1/+1
| | | | llvm-svn: 768
* * Add #includeChris Lattner2001-10-131-3/+3
| | | | | | | * Fix #endif problems * Change to getCalledValue instead of getCalledMethod llvm-svn: 767
* Add StringList supportChris Lattner2001-10-131-1/+10
| | | | llvm-svn: 766
* Support the invoke instructionChris Lattner2001-10-131-1/+2
| | | | llvm-svn: 765
* Support indirect callsChris Lattner2001-10-131-2/+3
| | | | llvm-svn: 764
* not is a keyword in ansi C++, avoid itChris Lattner2001-10-131-1/+1
| | | | llvm-svn: 763
* * Fix privacy issues on RegToRefVecMapChris Lattner2001-10-131-5/+5
| | | | | | * Fix initialization order problems... llvm-svn: 762
* * Use new style casts moreChris Lattner2001-10-133-25/+41
| | | | | | | | * Add real support for global variable addresses initializing constants * Fix encoding/decoding of VarArgs calls * Support the Invoke instruction llvm-svn: 761
* * Add real support for global variable addresses initializing constantsChris Lattner2001-10-134-49/+207
| | | | | | | | | * Add minor optimization to BytecodeParser::refineAbstractType * MethodType::get now take an explicit isVarArg parameter * Fix encoding/decoding of VarArgs calls * Support the Invoke instruction llvm-svn: 760
* * Support writing GlobalVariables with info comments by themChris Lattner2001-10-131-19/+58
| | | | | | | | * Print out prototypes correctly in cases that we weren't before * Use new style casts more * Support printing new invoke instruction llvm-svn: 759
* * Add support for forward references of global variable addressesChris Lattner2001-10-131-110/+283
| | | | | | | | | | | * Add support for numeric global variable addresses * Clean up getVal function by refactoring it into several smaller functions * MethodTypes are now specified with an explicit isVarArg parameter * Break ValueRef into ConstValueRef & SymbolicValueRef components * Add support for the new Invoke instruction * Fix a few broken calls to Type::getName instead of Type::getDescription llvm-svn: 758
* Add operator< to ValID's so that they can be put in map'sChris Lattner2001-10-131-0/+14
| | | | llvm-svn: 757
* Remove exception specificationChris Lattner2001-10-131-1/+1
| | | | llvm-svn: 756
* Support the new Invoke instructionChris Lattner2001-10-131-1/+3
| | | | llvm-svn: 755
* Support pointers to globals happilyChris Lattner2001-10-131-9/+37
| | | | llvm-svn: 754
* Fix code to make GCC 2.96 happyChris Lattner2001-10-131-1/+2
| | | | llvm-svn: 753
* * Add support for Invoke instructionsChris Lattner2001-10-131-3/+11
| | | | | | * Add support for indirect calls llvm-svn: 752
* --corrected coalescing test: coalsed only if two are of the same reg classRuchira Sasanka2001-10-121-6/+6
| | | | llvm-svn: 729
* added support for implict operands in machine instructionRuchira Sasanka2001-10-122-29/+76
| | | | llvm-svn: 728
* --added support for implicit operands in machine instructionsRuchira Sasanka2001-10-121-0/+6
| | | | llvm-svn: 727
* Record implicitRefs for each machine instruction instead ofVikram S. Adve2001-10-111-39/+32
| | | | | | each VM instruction. llvm-svn: 725
* Add graph edges due to implicit refs in each machine instruction.Vikram S. Adve2001-10-111-27/+52
| | | | llvm-svn: 724
* Don't insert useful instructions in delay slot of a RETURN.Vikram S. Adve2001-10-102-27/+32
| | | | llvm-svn: 721
* Insert code to load constants used as Call or Return arguments.Vikram S. Adve2001-10-101-39/+94
| | | | | | Also, note return value of a Call as an "implicitUse". llvm-svn: 720
* Machine-independent code generation routines used in instructionVikram S. Adve2001-10-101-0/+357
| | | | | | selection. These used to live in several different places before. llvm-svn: 719
* Moved code generation support routines to InstrSelectionSupport.cpp.Vikram S. Adve2001-10-102-259/+1
| | | | llvm-svn: 717
* --removed %g regs being allocated - fix laterRuchira Sasanka2001-10-091-5/+6
| | | | llvm-svn: 714
* Add commentChris Lattner2001-10-031-0/+6
| | | | llvm-svn: 712
* Support multiple global's definitionsChris Lattner2001-10-031-23/+13
| | | | llvm-svn: 711
* Factor parentness out of Module & GlobalVariable into GlobalValueChris Lattner2001-10-033-2/+34
| | | | | | Implement SymbolTable debug/dump utility llvm-svn: 710
* Rename getNullPointer to getNullChris Lattner2001-10-031-1/+13
| | | | | | Allow sharing of null pointer constants llvm-svn: 709
* Rename getNullPointer to getNullChris Lattner2001-10-031-1/+1
| | | | llvm-svn: 708
* Allow duplicate constant values as long as they are compatible.Chris Lattner2001-10-031-36/+62
| | | | | | Clean up stuff a little bit with inMethod/ModuleContext functions llvm-svn: 707
* Add check to make sure that we dont reference MEthodType's directlyChris Lattner2001-10-031-0/+3
| | | | llvm-svn: 704
* * Both Method & GlobalVariable now subclass GlobalValueChris Lattner2001-10-0314-46/+82
| | | | | | | | * ConstPoolPointerReference now represents a pointer to a GlobalValue * Methods name references are now explicit pointers to methods * Rename Value::GlobalVal to Value::GlobalVariableVal to avoid confusion llvm-svn: 703
* First try at a horrible global value reference wrapperChris Lattner2001-10-032-19/+51
| | | | 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-0223-128/+120
| | | | llvm-svn: 697
* Convert more code to use new style castsChris Lattner2001-10-0122-86/+86
| | | | | | Eliminate old style casts from value.h llvm-svn: 696
OpenPOWER on IntegriCloud