Commit Graph

806 Commits

Author SHA1 Message Date
Chris Lattner 197ac9c525 More interesting testcase
llvm-svn: 809
2001-10-14 23:28:56 +00:00
Vikram S. Adve e6c611b990 Forward operands into implicit uses as well as explicit ones.
llvm-svn: 808
2001-10-14 23:28:43 +00:00
Chris Lattner 01a206b8fd External methods shouldn't have argument lists
llvm-svn: 807
2001-10-14 23:28:41 +00:00
Chris Lattner 79ccfb1e07 Update comment, remove misleading method
llvm-svn: 806
2001-10-14 23:26:24 +00:00
Chris Lattner 004b85f9c0 Initializers are not const even if the GV is.
llvm-svn: 805
2001-10-14 23:24:46 +00:00
Chris Lattner d631165a45 Add a new -d argument to dump the internal rep as assembly.
llvm-svn: 804
2001-10-14 23:23:33 +00:00
Vikram S. Adve 6e4d106c21 Cast NULL when requested.
llvm-svn: 803
2001-10-14 23:21:06 +00:00
Vikram S. Adve de04672797 Added getEntryNode() and getExitNode() functions.
The latter are actually bogus and will be fixed by me soon.

llvm-svn: 802
2001-10-14 23:20:44 +00:00
Vikram S. Adve 27ee020e1b Insert code to trace values at basic block and method exits.
llvm-svn: 801
2001-10-14 23:19:02 +00:00
Vikram S. Adve a200a6c583 Insert code to trace values at basic block and method exits.
Current version does not check for liveness.

llvm-svn: 800
2001-10-14 23:18:45 +00:00
Vikram S. Adve 34410432da Added routine to create a char array for a string.
Also, print char arrays as strings.

llvm-svn: 799
2001-10-14 23:17:20 +00:00
Vikram S. Adve 227ea168bd Added routine to create a char array for a string.
llvm-svn: 798
2001-10-14 23:16:27 +00:00
Vikram S. Adve 8514ec3186 Enable most tests.
llvm-svn: 797
2001-10-14 23:15:42 +00:00
Vikram S. Adve 0504bf4616 Added a string global variable.
llvm-svn: 796
2001-10-14 23:13:45 +00:00
Vikram S. Adve 1679709b71 Two bug fixes that were suppressing some "load-constant-into-register" instrs.
llvm-svn: 795
2001-10-14 18:10:33 +00:00
Chris Lattner b3368ac9db Move the burg file to here. Add .in suffix to indicate that it gets
preprocessed before burg gets to it

llvm-svn: 794
2001-10-14 17:26:21 +00:00
Chris Lattner 1a176f15dc Make the sparc.burg file be a little more flexible and rubust in the fact of
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
2001-10-14 17:25:31 +00:00
Chris Lattner 9853942d66 Use the instruction.def file to remain up to date with future instruction
changes

llvm-svn: 792
2001-10-14 17:24:50 +00:00
Chris Lattner 00987bb11a New file to define instructions...
llvm-svn: 791
2001-10-14 17:24:33 +00:00
Chris Lattner 082479a583 Burg files should come out of the Debug Directory for temporary files
llvm-svn: 790
2001-10-14 17:23:55 +00:00
Chris Lattner 8015f958c6 New module linking functionality prototype
llvm-svn: 789
2001-10-13 16:57:49 +00:00
Chris Lattner 1362299644 Check in makefile
llvm-svn: 788
2001-10-13 16:57:03 +00:00
Vikram S. Adve a0e99085b2 Fixed tags target so it only happens at root level.
llvm-svn: 787
2001-10-13 12:26:59 +00:00
Chris Lattner 83d64a068d Add C source for testmisc.ll
llvm-svn: 786
2001-10-13 07:32:16 +00:00
Chris Lattner 9b69cae4d9 Dang, I screwed up the merge. This should be better
llvm-svn: 785
2001-10-13 07:18:40 +00:00
Chris Lattner 1600652b24 New testcase for testing constant pointers to globals
llvm-svn: 784
2001-10-13 07:16:11 +00:00
Chris Lattner 1be86ca6a9 Test files for linker
llvm-svn: 783
2001-10-13 07:15:38 +00:00
Chris Lattner a8f29f8a80 MethodTypes take an explicit isVarArg argument
llvm-svn: 782
2001-10-13 07:07:28 +00:00
Chris Lattner 6d56c6b5b6 Fix comment flyer
llvm-svn: 781
2001-10-13 07:06:57 +00:00
Chris Lattner 9d810e0494 Add new linker
llvm-svn: 780
2001-10-13 07:06:23 +00:00
Chris Lattner 5de85fcb7f Build the new linker
llvm-svn: 779
2001-10-13 07:06:06 +00:00
Chris Lattner a652ce3b1a Use null keyword instead of kludge
llvm-svn: 778
2001-10-13 07:05:51 +00:00
Chris Lattner dcd96760f6 Add more function call and prototype specific tests
llvm-svn: 777
2001-10-13 07:05:07 +00:00
Chris Lattner 1efb6bc30e Compile the transforms directory
llvm-svn: 776
2001-10-13 07:04:00 +00:00
Chris Lattner b7b537f192 Start of a linker
llvm-svn: 775
2001-10-13 07:03:50 +00:00
Chris Lattner cc17a7af5a Implement the invoke instruction
llvm-svn: 774
2001-10-13 07:01:45 +00:00
Chris Lattner 74a0151acb * Fix a nefarious bugs: TypesEqual was wrong for varargs methods
* MethodType::get now takes a literal isVarArg method argument
* Use new style casts

llvm-svn: 773
2001-10-13 07:01:33 +00:00
Chris Lattner 2ec97a2b9c Convert a runtime check into an assertion
llvm-svn: 772
2001-10-13 06:58:56 +00:00
Chris Lattner 446ad50c30 * Add support for Module specific constants
* Add proper support for ConstPoolPointerReference's

llvm-svn: 771
2001-10-13 06:58:40 +00:00
Chris Lattner 3b88b14312 Add new TerminatorInst ctor for invoke
llvm-svn: 770
2001-10-13 06:57:47 +00:00
Chris Lattner d7a7330e97 * Fix TODO
* Support ConstPoolPOinterReferences correctly
* New constPoolPointerNull subclass
* Add classof support for more classes
* Add proper support for ConstPoolPointerReference::getStrValue()

llvm-svn: 769
2001-10-13 06:57:33 +00:00
Chris Lattner 8deb9e588e Fix broken #endif
llvm-svn: 768
2001-10-13 06:54:54 +00:00
Chris Lattner a742b6acf3 * Add #include
* Fix #endif problems
* Change to getCalledValue instead of getCalledMethod

llvm-svn: 767
2001-10-13 06:54:30 +00:00
Chris Lattner 675db8db26 Add StringList support
llvm-svn: 766
2001-10-13 06:53:19 +00:00
Chris Lattner f0b68888af Support the invoke instruction
llvm-svn: 765
2001-10-13 06:52:41 +00:00
Chris Lattner cfc2f446a6 Support indirect calls
llvm-svn: 764
2001-10-13 06:52:31 +00:00
Chris Lattner 9be166000d not is a keyword in ansi C++, avoid it
llvm-svn: 763
2001-10-13 06:51:26 +00:00
Chris Lattner 2b3369567e * Fix privacy issues on RegToRefVecMap
* Fix initialization order problems...

llvm-svn: 762
2001-10-13 06:51:01 +00:00
Chris Lattner 81125b6c48 * Use new style casts more
* Add real support for global variable addresses initializing constants
* Fix encoding/decoding of VarArgs calls
* Support the Invoke instruction

llvm-svn: 761
2001-10-13 06:48:38 +00:00
Chris Lattner fb49fd6642 * Add real support for global variable addresses initializing constants
* 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
2001-10-13 06:47:01 +00:00