Commit Graph

9281 Commits

Author SHA1 Message Date
Chris Lattner
f8485c6434 Start using the nicer terminator auto-insertion API
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10111 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-20 18:25:24 +00:00
Chris Lattner
adbc0b5287 Spew symbolic types!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10110 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-20 18:23:14 +00:00
Chris Lattner
143df9a1bb When spewing out warnings during function resolution, do not vomit out pages
and pages of non-symbolic types.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10109 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-20 18:19:35 +00:00
Chris Lattner
593ba8f560 Somehow I forgot poor little UnwindInst
*sniff*


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10108 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-20 18:11:56 +00:00
Chris Lattner
4b74c83334 * Finegrainify namespacification
* Add new constructors to allow insertion of terminator instructions at the
  end of basic blocks.
* Move a ReturnInst method out-of-line, so that the vtable and type info don't
  need to be emitted to every translation unit that uses the class.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10107 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-20 17:45:12 +00:00
Chris Lattner
dd56927846 * Add new constructors to allow insertion of terminator instructions at the
end of basic blocks.
* Document some confusing constructor combinations
* Move a ReturnInst method out-of-line, so that the vtable and type info don't
  need to be emitted to every translation unit that uses the class.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10106 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-20 17:44:37 +00:00
Misha Brukman
438e364692 For consistency, removed space between function name and left paren in function
call, i.e. [ addPass (...) ]  =>  [ addPass(...) ]


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10105 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-20 06:26:15 +00:00
Misha Brukman
9839969110 * Doxygenified comments, simplifying them and shortening in the process
* Eliminated extra space


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10104 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-20 06:21:54 +00:00
Alkis Evlogimenos
ff0cbe175d Merging the linear scan register allocator in trunk. It currently passes most tests under test/Programs/SingleSource/Benchmarks/Shootout so development will continue on trunk. The allocator is not enabled by default. You will need to pass -regallo=linearscan to lli or llc to use it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10103 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-20 03:32:25 +00:00
Chris Lattner
18c4d850c4 One new bug fixed, one old bug fixed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10102 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-20 01:07:41 +00:00
Chris Lattner
6ce829df84 Testcase for PR113
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10101 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-20 00:32:57 +00:00
Chris Lattner
4e4d8624c5 Don't crash if we are printing an orphaned basic block!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10100 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-20 00:09:43 +00:00
Brian Gaeke
8b1daa3e71 Unbreak the "-" as filename hack.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10099 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-19 22:15:00 +00:00
Chris Lattner
55ee03100c bugz
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10098 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-19 22:05:38 +00:00
Brian Gaeke
820428711f Also print an error msg. for files we cannot currently deal with.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10097 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-19 21:57:30 +00:00
Brian Gaeke
08d03c79a2 Fix PR134, by checking FileOpenable() on each input file before analyzing its
type.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10096 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-19 21:52:09 +00:00
Chris Lattner
841d8e90ac New testcase for PR133
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10095 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-19 21:37:52 +00:00
John Criswell
236c4d4214 We now support different expectations for different OS's/architectures.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10094 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-19 21:13:25 +00:00
Chris Lattner
c2ee9b9c7a Fine grainify namespaceification
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10093 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-19 21:08:57 +00:00
Chris Lattner
cb64241795 update test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10092 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-19 19:47:36 +00:00
Chris Lattner
607c317488 Genericize tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10091 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-19 19:44:28 +00:00
Chris Lattner
639b052e7b Cleanup test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10090 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-19 19:42:12 +00:00
Chris Lattner
bb4a15ca57 Really, there was a reason for me factoring that out
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10089 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-19 19:20:20 +00:00
Chris Lattner
542d991451 *** Significantly speed up type resultion
This change speeds up type resolution by checking to see if a type is
  recursive, and if it's not, using a more efficient algorithm.

  This dramatically reduces bytecode loading time of kc++, reducing time-to-jit
  kc++ --version to 17s from 33s


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10088 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-19 19:10:23 +00:00
Chris Lattner
30263d0c4c Improve test portability
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10087 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-19 18:37:06 +00:00
Chris Lattner
f9e8379c29 Fix testcase. This should no longer be XFAIL'd
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10086 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-19 18:34:44 +00:00
Chris Lattner
29b789befa * Finegrainify namespacification
* Strength reduce several data structures which were left over from the
  "bad old days"
* Minor efficiency improvements
* Major efficiency improvement: In BytecodeParser::insertValue, do not allocate
  a new ValueTab entry just because some value exists with a large type.  This
  dramatically reduces the number of allocations/deallocations performed by the
  bytecode reader, and speeds up parsing of Kimwitu++ from 34s to 17s.  This is
  to help address PR127


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10085 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-19 17:27:18 +00:00
Chris Lattner
8eb49936ae Minor efficiency improvements, finegrainify namespacification
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10084 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-19 17:21:11 +00:00
Chris Lattner
c2f4b11552 In the future, these slabs can be null...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10083 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-19 17:20:42 +00:00
Chris Lattner
ebfb9f487d Minor efficiency improvements all over. Finegrainify Namespacification
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10082 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-19 17:17:36 +00:00
Chris Lattner
deab9a7ae5 Fine grainify namespacification, #include file that defines the interface!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10081 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-19 16:06:55 +00:00
Chris Lattner
f2586d13d5 Finegrainify namespacification
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10080 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-19 06:14:38 +00:00
Chris Lattner
1c3673b238 Minor speedup to do less linear time searches of information we already have.
speeds up disassembly of kc++ by .6s


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10079 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-19 06:01:12 +00:00
Chris Lattner
cc33d70a92 add new FAQ entry
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10078 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-19 05:53:12 +00:00
Chris Lattner
6ff1a9272d More bugz
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10077 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-19 01:08:24 +00:00
Chris Lattner
2cbb7543b2 New testcase for PR 130
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10076 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-19 01:03:16 +00:00
Chris Lattner
7dadaa2785 Fix PR130, and testcase test/Regression/Linker/2003-11-18-TypeResolution.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10075 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-19 01:02:52 +00:00
Chris Lattner
df52d97b57 Testcase for PR131
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10074 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-18 23:46:07 +00:00
Chris Lattner
43a54ccb51 Add a few new bugs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10073 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-18 23:04:02 +00:00
Chris Lattner
3b583a6031 new testcase for PR126
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10072 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-18 21:05:55 +00:00
Chris Lattner
7b004ca7b7 New testcase for PR125
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10071 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-18 20:30:00 +00:00
Chris Lattner
d219abf76d Testcase for PR128
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10070 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-18 20:24:46 +00:00
Chris Lattner
62b767b8d7 Fix PR123
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10069 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-18 17:47:05 +00:00
John Criswell
76c1e38039 Added the new GCC front end section to the table of contents.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10068 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-18 16:08:49 +00:00
John Criswell
6ea30b0af2 Added information on the GCC front end.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10067 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-18 16:05:23 +00:00
Brian Gaeke
c8db76c647 Only use -Wl,-R. if HAVE_LINK_R.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10066 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-18 06:31:17 +00:00
Chris Lattner
17a51cecfd Add new bug fixed in the CFE
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10065 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-18 06:25:05 +00:00
Brian Gaeke
ff336a4e7f Regenerated using autoheader-2.57
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10064 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-18 06:21:24 +00:00
Brian Gaeke
f91a15cf0d Regenerated using autoconf-2.57
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10063 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-18 06:20:41 +00:00
Brian Gaeke
190d68585d Fix breakage caused by typos. Use 3-arg form of AC_DEFINE.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10062 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-18 06:19:27 +00:00