Commit Graph

26075 Commits

Author SHA1 Message Date
Bill Wendling 4bd5567d14 Added my home web page.
llvm-svn: 29732
2006-08-16 21:18:56 +00:00
Chris Lattner 29787976df Change the use_list to be a smallvector instead of a vector. This reduces
isel time from 6.79s to 5.53s (22%) on kc++ with a release build on ppc.
Go smallvector! :)

llvm-svn: 29731
2006-08-16 21:01:10 +00:00
Chris Lattner a4f3625c23 Use the appropriate typedef
llvm-svn: 29730
2006-08-16 20:59:32 +00:00
Reid Spencer 4e41aaf805 Patches to correct several bugs in llvmc.
Patches contributed by Bram Adams. Thanks Bram.

llvm-svn: 29729
2006-08-16 20:31:44 +00:00
Rafael Espindola bf8e751488 Declare the callee saved regs
Remove the hard coded store and load of the link register
Implement ARMFrameInfo

llvm-svn: 29727
2006-08-16 14:43:33 +00:00
Evan Cheng 63d178f473 SelectNodeTo() may return a SDOperand that is different from the input.
llvm-svn: 29726
2006-08-16 07:30:09 +00:00
Evan Cheng f2a7d5768a RET_FLAG has an optional input flag, but it does not produce a flag result.
llvm-svn: 29725
2006-08-16 07:28:58 +00:00
Reid Spencer 9d121b0897 Fix a thinko noticed by Chandler Carruth.
llvm-svn: 29724
2006-08-16 05:53:32 +00:00
Chris Lattner a9a2b144b9 add a way to have multiple modules in a JIT :)
llvm-svn: 29723
2006-08-16 02:53:27 +00:00
Chris Lattner 08a5f38c5c add a note
llvm-svn: 29722
2006-08-16 02:47:44 +00:00
Chris Lattner 0621caef44 initial changes to support JIT'ing from multiple module providers, implicitly
linking the program on the fly.

llvm-svn: 29721
2006-08-16 01:24:12 +00:00
Chris Lattner 9ed9ddeae4 Bugfixes for smallvector when the element size is small and N is small.
llvm-svn: 29720
2006-08-16 01:23:31 +00:00
Reid Spencer 34ddd2861f Add a section on how to build an RPM package as an optional release
activity.

llvm-svn: 29719
2006-08-16 00:54:50 +00:00
Reid Spencer 1277ba22b8 Add llvm.spec to the list of files to be configured.
Remove the search for etags. Nothing in LLVM uses it any more.

llvm-svn: 29718
2006-08-16 00:45:38 +00:00
Reid Spencer d14c6ca455 Add .PHONY targets for building source and binary RPM packages. You can
now just "make rpm" or "make srpm" and it will build them.

llvm-svn: 29717
2006-08-16 00:43:50 +00:00
Reid Spencer 0afdce389c Transform the LLVM RPM spec file to be a configured file. This allows us
to automatically pick up the configured version number and other details.
Also, update the contents of this script to allow building both a source
and binary version of the RPM package.

llvm-svn: 29716
2006-08-16 00:42:52 +00:00
Chris Lattner bc485fdc4c Fix PowerPC/2006-08-15-SelectionCrash.ll and simplify selection code.
llvm-svn: 29715
2006-08-15 23:48:22 +00:00
Chris Lattner 75b5713bc8 New testcase
llvm-svn: 29714
2006-08-15 23:45:28 +00:00
Chris Lattner d16696d115 The generated runloop shouldn't require Select to update 'Result'. In fact
we'd like to remove result entirely.

llvm-svn: 29713
2006-08-15 23:42:26 +00:00
Chris Lattner 72608b5387 allow Select to return the node being selected if RAU isn't needed.
llvm-svn: 29712
2006-08-15 23:27:50 +00:00
Chris Lattner a5a3eafbd0 Start using SDVTList more consistently
llvm-svn: 29711
2006-08-15 19:11:05 +00:00
Chris Lattner f98411a220 add a new SDVTList type and new SelectionDAG::getVTList methods to streamline
the creation of canonical VTLists.

llvm-svn: 29709
2006-08-15 17:46:01 +00:00
Patrick Jenkins 499b96d5a8 Fixed the awkward description of the -find-bugs option for bugpoint.
llvm-svn: 29708
2006-08-15 17:39:40 +00:00
Patrick Jenkins d6e477dccf Fixed the awkward description of -find-bugs in the "Advice for using bugpoint" section.
llvm-svn: 29707
2006-08-15 17:38:36 +00:00
Patrick Jenkins c884cfbeb9 Added option description for -find-bugs.
llvm-svn: 29706
2006-08-15 17:31:58 +00:00
Patrick Jenkins 478cc0435b This commit mentions -find-bugs under the advice for using bugpoints section of the bugpoint design and usage document.
llvm-svn: 29705
2006-08-15 17:03:17 +00:00
Patrick Jenkins 38a197a2eb Adding FindBugs.cpp so the -find-bugs option will work.
llvm-svn: 29704
2006-08-15 16:41:52 +00:00
Patrick Jenkins c46c03834c This commit adds a new feature called find-bugs. The find-bugs option can be invoked on a .bc file from the command like with -find-bugs and a list of passes you wish to test. This procedure takes the set of optimization passes the user specifies, randomizes the passes, runs the passes on the specified .bc file, compiles the program, and finally runs the program checking its output vs the .bc file with no optimizations. This process repeats until either the user kills bugpoint or an error occurs in the optimizations, program complitation, or the running of the program. If an error occurs, bugpoint attempts to diagnose the error by eliminating passes that are not at fault and code that is not needed.
llvm-svn: 29703
2006-08-15 16:40:49 +00:00
Jim Laskey 6047ec97ed Haste-o discovered after.
llvm-svn: 29702
2006-08-15 12:15:08 +00:00
Jim Laskey 6cef9de0c1 Hypos pointed out by Jakob Praher.
llvm-svn: 29701
2006-08-15 12:11:42 +00:00
Jim Laskey 00389a8269 Typo.
llvm-svn: 29700
2006-08-15 08:14:19 +00:00
Reid Spencer c438e0879c Okay, make the prose match the example too.
llvm-svn: 29697
2006-08-15 04:00:29 +00:00
Reid Spencer 334e26be28 Some more correction to the examples, thanks to Chris Lattner.
llvm-svn: 29696
2006-08-15 03:57:05 +00:00
Reid Spencer 7c63770b0e Simplify this a little bit.
llvm-svn: 29695
2006-08-15 03:50:10 +00:00
Reid Spencer e2bcaaa250 This script takes arguments so remove the check for number of arguments,
just check the first arg to see if its -topdir.

llvm-svn: 29694
2006-08-15 03:48:22 +00:00
Reid Spencer 22bb5c3305 Fix an example.
llvm-svn: 29693
2006-08-15 03:46:38 +00:00
Reid Spencer 6500f40a4e Clarify the first question.
llvm-svn: 29692
2006-08-15 03:43:31 +00:00
Reid Spencer afa58f1c7d Rearrange things for clarity, don't talk about "dereferencing" when we
shouldn't, and add a better example for one of the questions. Thanks to
Chris Lattner for these suggestions.

llvm-svn: 29691
2006-08-15 03:32:10 +00:00
Chris Lattner 6ab6672cac Add a link to the GEP faq.
llvm-svn: 29690
2006-08-15 00:45:58 +00:00
Chris Lattner 667c901622 Add a link in a prominant location.
llvm-svn: 29689
2006-08-15 00:43:35 +00:00
Chris Lattner 99908dc720 Make getNodeValueTypes methods public.
llvm-svn: 29688
2006-08-14 23:54:24 +00:00
Chris Lattner bd8877744b eliminate use of getNode that takes vector of valuetypes.
llvm-svn: 29687
2006-08-14 23:53:35 +00:00
Devang Patel 151c3969b1 untabify
llvm-svn: 29686
2006-08-14 23:37:18 +00:00
Chris Lattner 3bf4be453f Add a new getNode() method that takes a pointer to an already-intern'd list
of value-type nodes.  This avoids having to do mallocs for std::vectors of
valuetypes when a node returns more than one type.

llvm-svn: 29685
2006-08-14 23:31:51 +00:00
Devang Patel b23eff64f1 Avoid extra string copy.
llvm-svn: 29684
2006-08-14 23:27:36 +00:00
Reid Spencer 5f55c21d80 For PR876:
Fix problem setting the USE_{program} variable. It should be set to a
Makefile variable definition line, not just "1". Problem noted by
Kenneth Hoste.

llvm-svn: 29682
2006-08-14 23:19:57 +00:00
Reid Spencer df2e100063 For PR876:
Fix problem noticed by Kenneth Hoste. The wrong name for a variable was
being set and subsequently uses of the correct name were empty.

llvm-svn: 29681
2006-08-14 23:15:03 +00:00
Devang Patel 4500688cc7 Use mangler, instead of addUnderscore(), to get mangled name.
Now, LLVMSymbol keeps symbol original name and mangled name.

llvm-svn: 29679
2006-08-14 22:36:16 +00:00
Reid Spencer 82c0e38366 Provide indentation of the generated program.
llvm-svn: 29678
2006-08-14 22:35:15 +00:00
Chris Lattner e93a39f2d7 remove SelectionDAG::InsertISelMapEntry, it is dead
llvm-svn: 29677
2006-08-14 22:24:39 +00:00