oota-llvm.git
14 years agoTry to fix MSVC build after r79846.
Benjamin Kramer [Sun, 23 Aug 2009 10:39:21 +0000 (10:39 +0000)]
Try to fix MSVC build after r79846.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79850 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoFix -Asserts warnings.
Daniel Dunbar [Sun, 23 Aug 2009 10:29:55 +0000 (10:29 +0000)]
Fix -Asserts warnings.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79849 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoRemove uses of Streams.h from CommandLine.cpp, fix some whitespace and other minor...
Benjamin Kramer [Sun, 23 Aug 2009 10:01:13 +0000 (10:01 +0000)]
Remove uses of Streams.h from CommandLine.cpp, fix some whitespace and other minor tweaks.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79847 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoFix non-determinism in DAGISel emitter.
Daniel Dunbar [Sun, 23 Aug 2009 09:47:37 +0000 (09:47 +0000)]
Fix non-determinism in DAGISel emitter.
 - This manifested as non-determinism in the .inc output in rare cases (when two
   distinct patterns ended up being equivalent, which is rather rare). That
   meant the pattern matching was non-deterministic, which could eventually mean
   the code generator selected different instructions based on the arch.

 - It's probably worth making the DAGISel ensure a total ordering (or force the
   user to), but the simple fix here is to totally order the Record* maps based
   on a unique ID.

 - PR4672, PR4711.

Yay:
--
ddunbar@giles:~$ cat ~/llvm.obj.64/lib/Target/*/*.inc | shasum
d1099ff34b21459a5a3e7021c225c080e6017ece  -
ddunbar@giles:~$ cat ~/llvm.obj.ppc/lib/Target/*/*.inc | shasum
d1099ff34b21459a5a3e7021c225c080e6017ece  -
--

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79846 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoFix windows build.
Benjamin Kramer [Sun, 23 Aug 2009 08:57:52 +0000 (08:57 +0000)]
Fix windows build.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79845 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoFix some refactos for iostream changes (in -Asserts mode).
Daniel Dunbar [Sun, 23 Aug 2009 08:50:52 +0000 (08:50 +0000)]
Fix some refactos for iostream changes (in -Asserts mode).
 - The world needs better C++ refactoring tools, can I get an Amen!?

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79843 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoremove some uses of llvm/Support/Streams.h
Chris Lattner [Sun, 23 Aug 2009 08:43:55 +0000 (08:43 +0000)]
remove some uses of llvm/Support/Streams.h

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79842 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoeliminate the std::ostream forms of the bitcode writing APIs.
Chris Lattner [Sun, 23 Aug 2009 07:49:08 +0000 (07:49 +0000)]
eliminate the std::ostream forms of the bitcode writing APIs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79840 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoremove uses of llvm/Support/Streams.h.
Chris Lattner [Sun, 23 Aug 2009 07:33:14 +0000 (07:33 +0000)]
remove uses of llvm/Support/Streams.h.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79838 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agouse raw_fd_ostream instead of fstream with graphwriter,
Chris Lattner [Sun, 23 Aug 2009 07:31:22 +0000 (07:31 +0000)]
use raw_fd_ostream instead of fstream with graphwriter,
flush the right stream in opt.cpp.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79837 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoconvert LoopInfo.h and GraphWriter.h to use raw_ostream
Chris Lattner [Sun, 23 Aug 2009 07:19:13 +0000 (07:19 +0000)]
convert LoopInfo.h and GraphWriter.h to use raw_ostream

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79836 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoeliminate DOUT and make Debug.h not include Streams.h anymore, woo!
Chris Lattner [Sun, 23 Aug 2009 07:05:39 +0000 (07:05 +0000)]
eliminate DOUT and make Debug.h not include Streams.h anymore, woo!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79835 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoeliminate uses of cerr()
Chris Lattner [Sun, 23 Aug 2009 07:05:07 +0000 (07:05 +0000)]
eliminate uses of cerr()

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79834 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoeliminate the last DOUTs from the targets.
Chris Lattner [Sun, 23 Aug 2009 06:49:22 +0000 (06:49 +0000)]
eliminate the last DOUTs from the targets.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79833 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoremove a few DOUTs here and there.
Chris Lattner [Sun, 23 Aug 2009 06:35:02 +0000 (06:35 +0000)]
remove a few DOUTs here and there.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79832 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoconvert all the constant range EXPECT_EQ tests to use EXPECT_TRUE since
Chris Lattner [Sun, 23 Aug 2009 06:32:25 +0000 (06:32 +0000)]
convert all the constant range EXPECT_EQ tests to use EXPECT_TRUE since
ConstantRange doesn't have an std::ostream inserter anymore.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79831 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoChange Pass::print to take a raw ostream instead of std::ostream,
Chris Lattner [Sun, 23 Aug 2009 06:03:38 +0000 (06:03 +0000)]
Change Pass::print to take a raw ostream instead of std::ostream,
update all code that this affects.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79830 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoDon't install the man page for FileCheck
Douglas Gregor [Sun, 23 Aug 2009 05:24:49 +0000 (05:24 +0000)]
Don't install the man page for FileCheck

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79826 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoeliminate the std::ostream form of WriteAsOperand and update clients.
Chris Lattner [Sun, 23 Aug 2009 05:17:37 +0000 (05:17 +0000)]
eliminate the std::ostream form of WriteAsOperand and update clients.
This also updates dominator related stuff.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79825 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoremove the std::ostream version of module and type printing.
Chris Lattner [Sun, 23 Aug 2009 04:52:46 +0000 (04:52 +0000)]
remove the std::ostream version of module and type printing.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79823 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoupgrade for removed functions.
Chris Lattner [Sun, 23 Aug 2009 04:47:35 +0000 (04:47 +0000)]
upgrade for removed functions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79822 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoremove some DOUTs
Chris Lattner [Sun, 23 Aug 2009 04:44:11 +0000 (04:44 +0000)]
remove some DOUTs

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79821 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoDon't install FileCheck or FileUpdate
Douglas Gregor [Sun, 23 Aug 2009 04:39:38 +0000 (04:39 +0000)]
Don't install FileCheck or FileUpdate

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79820 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoeliminate the "Value" printing methods that print to a std::ostream.
Chris Lattner [Sun, 23 Aug 2009 04:37:46 +0000 (04:37 +0000)]
eliminate the "Value" printing methods that print to a std::ostream.
This required converting a bunch of stuff off DOUT and other cleanups.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79819 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoUpdate release document with more details.
Tanya Lattner [Sun, 23 Aug 2009 04:36:30 +0000 (04:36 +0000)]
Update release document with more details.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79818 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoUse standard LLVM-style headers.
Owen Anderson [Sun, 23 Aug 2009 04:24:24 +0000 (04:24 +0000)]
Use standard LLVM-style headers.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79817 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoswitch a couple things off std::ostream
Chris Lattner [Sun, 23 Aug 2009 04:02:03 +0000 (04:02 +0000)]
switch a couple things off std::ostream

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79816 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoswitch from std::ostream to raw ostream, fix file header.
Chris Lattner [Sun, 23 Aug 2009 03:56:06 +0000 (03:56 +0000)]
switch from std::ostream to raw ostream, fix file header.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79815 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoshoot a few more std::ostream print methods in the head.
Chris Lattner [Sun, 23 Aug 2009 03:47:42 +0000 (03:47 +0000)]
shoot a few more std::ostream print methods in the head.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79814 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoremove various std::ostream version of printing methods from
Chris Lattner [Sun, 23 Aug 2009 03:41:05 +0000 (03:41 +0000)]
remove various std::ostream version of printing methods from
MachineInstr and MachineOperand.  This required eliminating a
bunch of stuff that was using DOUT, I hope that bill doesn't
mind me stealing his fun. ;-)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79813 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoremove some DOUTs
Chris Lattner [Sun, 23 Aug 2009 03:20:44 +0000 (03:20 +0000)]
remove some DOUTs

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79812 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoremove std::ostream versions of printing stuff for MBB and MF,
Chris Lattner [Sun, 23 Aug 2009 03:13:20 +0000 (03:13 +0000)]
remove std::ostream versions of printing stuff for MBB and MF,
upgrading a few things to use raw_ostream

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79811 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agosimplify output file selection, fixing two FIXMEs about binary output
Chris Lattner [Sun, 23 Aug 2009 02:56:05 +0000 (02:56 +0000)]
simplify output file selection, fixing two FIXMEs about binary output

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79808 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoChange raw_fd_ostream to take flags as an optional bitmask
Chris Lattner [Sun, 23 Aug 2009 02:51:22 +0000 (02:51 +0000)]
Change raw_fd_ostream to take flags as an optional bitmask
instead of as two bools.  Use this to add a F_Append flag
which has the obvious behavior.

Other unrelated changes conflated into this patch:

1. REmove EH stuff from llvm-dis and llvm-as, the try blocks
   are dead.
2. Simplify the filename inference code in llvm-as/llvm-dis,
   because raw_fd_ostream does the right thing with '-'.
3. Switch machine verifier to use raw_ostream instead of ostream
   (Which is the thing that needed append in the first place).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79807 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoThis was supposed to go with r79803
Chris Lattner [Sun, 23 Aug 2009 01:13:09 +0000 (01:13 +0000)]
This was supposed to go with r79803

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79804 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoconvert some stuff to work on raw_ostreams instead of std::ostream.
Chris Lattner [Sun, 23 Aug 2009 01:12:47 +0000 (01:12 +0000)]
convert some stuff to work on raw_ostreams instead of std::ostream.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79803 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agofix a gone file.
Chris Lattner [Sun, 23 Aug 2009 01:11:21 +0000 (01:11 +0000)]
fix a gone file.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79802 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoremove some dead print method variants.
Chris Lattner [Sun, 23 Aug 2009 01:03:30 +0000 (01:03 +0000)]
remove some dead print method variants.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79801 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoconvert the DIE printing stuff to use raw_ostream instead of std::ostream.
Chris Lattner [Sun, 23 Aug 2009 01:01:17 +0000 (01:01 +0000)]
convert the DIE printing stuff to use raw_ostream instead of std::ostream.
Tweak #includes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79800 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agorandom code cleanups.
Chris Lattner [Sun, 23 Aug 2009 00:51:47 +0000 (00:51 +0000)]
random code cleanups.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79798 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoremove some random indentation stuff, yay for efficiency.
Chris Lattner [Sun, 23 Aug 2009 00:51:00 +0000 (00:51 +0000)]
remove some random indentation stuff, yay for efficiency.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79797 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoremove dead PrefixPrinter class.
Chris Lattner [Sun, 23 Aug 2009 00:47:04 +0000 (00:47 +0000)]
remove dead PrefixPrinter class.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79796 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoremove a dead class.
Chris Lattner [Sun, 23 Aug 2009 00:42:42 +0000 (00:42 +0000)]
remove a dead class.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79795 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agorandom cleanups.
Chris Lattner [Sun, 23 Aug 2009 00:35:30 +0000 (00:35 +0000)]
random cleanups.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79794 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoAdd check for completeness. Note that this doesn't actually have any
Eli Friedman [Sun, 23 Aug 2009 00:14:19 +0000 (00:14 +0000)]
Add check for completeness.  Note that this doesn't actually have any
effect with the way the current code is structured.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79792 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoswitch formattedstream to use raw_ostream::indent. This eliminates
Chris Lattner [Sat, 22 Aug 2009 23:16:09 +0000 (23:16 +0000)]
switch formattedstream to use raw_ostream::indent.  This eliminates
the weird MAX_COLUMN_PAD limitation.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79785 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoadd a raw_ostream::indent method, to be used like:
Chris Lattner [Sat, 22 Aug 2009 23:10:29 +0000 (23:10 +0000)]
add a raw_ostream::indent method, to be used like:

  OS.indent(i) << "whatever";

people seem to like indenting things ;-)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79784 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoForgot to update some CMakeLists.
Benjamin Kramer [Sat, 22 Aug 2009 22:20:11 +0000 (22:20 +0000)]
Forgot to update some CMakeLists.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79780 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoUpdate CMake build, unbreak linux build.
Benjamin Kramer [Sat, 22 Aug 2009 22:07:08 +0000 (22:07 +0000)]
Update CMake build, unbreak linux build.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79779 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agofix a build error on the clang-i686-linux tester.
Chris Lattner [Sat, 22 Aug 2009 21:45:03 +0000 (21:45 +0000)]
fix a build error on the clang-i686-linux tester.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79778 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agorename TAI -> MAI, being careful not to make MAILJMP instructions :)
Chris Lattner [Sat, 22 Aug 2009 21:43:10 +0000 (21:43 +0000)]
rename TAI -> MAI, being careful not to make MAILJMP instructions :)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79777 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agomcasminfo doesn't use std::string
Chris Lattner [Sat, 22 Aug 2009 21:05:21 +0000 (21:05 +0000)]
mcasminfo doesn't use std::string

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79774 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agorename COFFMCAsmInfo -> MCAsmInfoCOFF, likewise for darwin.
Chris Lattner [Sat, 22 Aug 2009 21:03:30 +0000 (21:03 +0000)]
rename COFFMCAsmInfo -> MCAsmInfoCOFF, likewise for darwin.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79773 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoRegenerate configure.
Tanya Lattner [Sat, 22 Aug 2009 21:01:26 +0000 (21:01 +0000)]
Regenerate configure.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79772 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoUpdate copyright date.
Tanya Lattner [Sat, 22 Aug 2009 21:00:33 +0000 (21:00 +0000)]
Update copyright date.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79771 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agomove the MCAsmInfo .cpp/.h files into the right
Chris Lattner [Sat, 22 Aug 2009 20:58:17 +0000 (20:58 +0000)]
move the MCAsmInfo .cpp/.h files into the right
directories and rename them.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79768 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agorevert 79764, my dependencies failed me again.
Chris Lattner [Sat, 22 Aug 2009 20:56:12 +0000 (20:56 +0000)]
revert 79764, my dependencies failed me again.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79767 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoConvert DOUT to DEBUG(errs()...).
Bill Wendling [Sat, 22 Aug 2009 20:54:03 +0000 (20:54 +0000)]
Convert DOUT to DEBUG(errs()...).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79766 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoConvert DOUT to DEBUG(errs()...).
Bill Wendling [Sat, 22 Aug 2009 20:52:46 +0000 (20:52 +0000)]
Convert DOUT to DEBUG(errs()...).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79765 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoremove dead member.
Chris Lattner [Sat, 22 Aug 2009 20:50:18 +0000 (20:50 +0000)]
remove dead member.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79764 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoRename TargetAsmInfo (and its subclasses) to MCAsmInfo.
Chris Lattner [Sat, 22 Aug 2009 20:48:53 +0000 (20:48 +0000)]
Rename TargetAsmInfo (and its subclasses) to MCAsmInfo.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79763 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoConvert DOUT to DEBUG(errs()...).
Bill Wendling [Sat, 22 Aug 2009 20:46:59 +0000 (20:46 +0000)]
Convert DOUT to DEBUG(errs()...).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79762 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoConvert DOUT to DEBUG(errs()...).
Bill Wendling [Sat, 22 Aug 2009 20:41:06 +0000 (20:41 +0000)]
Convert DOUT to DEBUG(errs()...).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79760 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoConvert DOUT to DEBUG(errs()...).
Bill Wendling [Sat, 22 Aug 2009 20:40:21 +0000 (20:40 +0000)]
Convert DOUT to DEBUG(errs()...).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79759 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoConvert DOUT to DEBUG(errs()...).
Bill Wendling [Sat, 22 Aug 2009 20:38:09 +0000 (20:38 +0000)]
Convert DOUT to DEBUG(errs()...).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79758 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoConvert DOUT to DEBUG(errs()...).
Bill Wendling [Sat, 22 Aug 2009 20:30:53 +0000 (20:30 +0000)]
Convert DOUT to DEBUG(errs()...).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79756 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoConvert DOUT to DEBUG(errs()...).
Bill Wendling [Sat, 22 Aug 2009 20:26:23 +0000 (20:26 +0000)]
Convert DOUT to DEBUG(errs()...).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79755 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoConvert DOUT to DEBUG(errs()...).
Bill Wendling [Sat, 22 Aug 2009 20:25:44 +0000 (20:25 +0000)]
Convert DOUT to DEBUG(errs()...).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79754 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoConvert DOUT to DEBUG(errs()...).
Bill Wendling [Sat, 22 Aug 2009 20:23:49 +0000 (20:23 +0000)]
Convert DOUT to DEBUG(errs()...).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79753 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoConvert DOUT to DEBUG(errs()...).
Bill Wendling [Sat, 22 Aug 2009 20:18:03 +0000 (20:18 +0000)]
Convert DOUT to DEBUG(errs()...).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79752 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoConvert DOUT to DEBUG(errs()...).
Bill Wendling [Sat, 22 Aug 2009 20:11:17 +0000 (20:11 +0000)]
Convert DOUT to DEBUG(errs()...).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79751 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoNormalize how the 'namespace llvm {' is used in this file.
Bill Wendling [Sat, 22 Aug 2009 20:08:44 +0000 (20:08 +0000)]
Normalize how the 'namespace llvm {' is used in this file.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79750 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoConvert DOUT to DEBUG(errs()...).
Bill Wendling [Sat, 22 Aug 2009 20:07:03 +0000 (20:07 +0000)]
Convert DOUT to DEBUG(errs()...).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79749 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoConvert DOUT to DEBUG(errs()...).
Bill Wendling [Sat, 22 Aug 2009 20:04:03 +0000 (20:04 +0000)]
Convert DOUT to DEBUG(errs()...).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79748 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoConvert DOUT to DEBUG(errs()...).
Bill Wendling [Sat, 22 Aug 2009 20:03:00 +0000 (20:03 +0000)]
Convert DOUT to DEBUG(errs()...).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79747 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoprune some redundant #includes.
Chris Lattner [Sat, 22 Aug 2009 19:35:08 +0000 (19:35 +0000)]
prune some redundant #includes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79746 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agotweak #includes
Chris Lattner [Sat, 22 Aug 2009 19:19:12 +0000 (19:19 +0000)]
tweak #includes

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79744 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoRecord variable debug info at ISel time directly.
Devang Patel [Sat, 22 Aug 2009 17:12:53 +0000 (17:12 +0000)]
Record variable debug info at ISel time directly.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79742 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoSome dummy cost model for s390x:
Anton Korobeynikov [Sat, 22 Aug 2009 11:46:16 +0000 (11:46 +0000)]
Some dummy cost model for s390x:
 - Prefer short-imm instructions over ext-imm, when possible
 - Prefer Z10 instructions over Z9, when possible

This hopefully should fix some dejagnu test fails on solaris

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79741 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agollvm-mc/Mach-O: Improve symbol table support:
Daniel Dunbar [Sat, 22 Aug 2009 11:41:10 +0000 (11:41 +0000)]
llvm-mc/Mach-O: Improve symbol table support:
 - Honor .globl.

 - Set symbol type and section correctly ('nm' now works), and order symbols
   appropriately.

 - Take care to the string table so that the .o matches 'as' exactly (for ease
   of testing).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79740 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agollvm-mc/Mach-O: Sketch symbol table support.
Daniel Dunbar [Sat, 22 Aug 2009 10:13:24 +0000 (10:13 +0000)]
llvm-mc/Mach-O: Sketch symbol table support.
 - The only .s syntax this honors right now is emitting labels, and some parts
   of the symbol table generation are wrong or faked.

 - This is enough to get nm to report such symbols... incorrectly, but still.

Also, fixed byte emission to extend the previous fragment if possible.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79739 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoFix typo.
Daniel Dunbar [Sat, 22 Aug 2009 10:09:17 +0000 (10:09 +0000)]
Fix typo.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79738 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoForce triple for these tests.
Daniel Dunbar [Sat, 22 Aug 2009 09:45:43 +0000 (09:45 +0000)]
Force triple for these tests.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79737 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agollvm-mc: Hopefully fix Mach-O tests on big-endian platforms, force values to be
Daniel Dunbar [Sat, 22 Aug 2009 09:28:33 +0000 (09:28 +0000)]
llvm-mc: Hopefully fix Mach-O tests on big-endian platforms, force values to be
converted to Python ints if possible.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79736 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agollvm-mc/Mach-O: Move more logic for writing the Mach-O file into the writer
Daniel Dunbar [Sat, 22 Aug 2009 08:28:27 +0000 (08:28 +0000)]
llvm-mc/Mach-O: Move more logic for writing the Mach-O file into the writer
class, and kill off MCSectionData::FileOffset.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79735 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agollvm-mc: Rename / redefine MCFragment::FileOffset to MCFragment::Offset (the
Daniel Dunbar [Sat, 22 Aug 2009 08:27:54 +0000 (08:27 +0000)]
llvm-mc: Rename / redefine MCFragment::FileOffset to MCFragment::Offset (the
section offset).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79734 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agollvm-mc: Clean up some handling of symbol/section association to be more correct
Daniel Dunbar [Sat, 22 Aug 2009 07:22:36 +0000 (07:22 +0000)]
llvm-mc: Clean up some handling of symbol/section association to be more correct
(external was really undefined and there wasn't an explicit representation for
absolute symbols).
 - This still needs some cleanup to how the absolute "pseudo" section is dealt
   with, but I haven't figured out the nicest approach yet.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79733 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoCMake: Don't use copy_if_different for TableGen output, because it does not work...
Douglas Gregor [Sat, 22 Aug 2009 07:00:18 +0000 (07:00 +0000)]
CMake: Don't use copy_if_different for TableGen output, because it does not work with IDE targets

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79732 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoReapply r79708 with the appropriate fix for the case that still requires locking.
Owen Anderson [Sat, 22 Aug 2009 06:32:36 +0000 (06:32 +0000)]
Reapply r79708 with the appropriate fix for the case that still requires locking.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79731 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoTOT is 2.7svn for CMake, too
Douglas Gregor [Sat, 22 Aug 2009 06:30:31 +0000 (06:30 +0000)]
TOT is 2.7svn for CMake, too

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79730 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoChange SmallString::operator{=,+=} to take a StringRef.
Daniel Dunbar [Sat, 22 Aug 2009 06:06:46 +0000 (06:06 +0000)]
Change SmallString::operator{=,+=} to take a StringRef.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79729 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoRegenerate configure for 2.7svn
Tanya Lattner [Sat, 22 Aug 2009 04:37:30 +0000 (04:37 +0000)]
Regenerate configure for 2.7svn

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79726 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoTOT is now 2.7svn
Tanya Lattner [Sat, 22 Aug 2009 04:33:54 +0000 (04:33 +0000)]
TOT is now 2.7svn

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79725 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agorevert r79708 + r79711
Chris Lattner [Sat, 22 Aug 2009 04:07:34 +0000 (04:07 +0000)]
revert r79708 + r79711

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79720 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoMake x86 test actually test x86 code generation. Fix the
Eli Friedman [Sat, 22 Aug 2009 03:13:10 +0000 (03:13 +0000)]
Make x86 test actually test x86 code generation.  Fix the
construct on ARM, which was breaking by coincidence, and add a similar
testcase for ARM.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79719 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoAdd new intrinsics for Neon vldN_lane and vstN_lane operations.
Bob Wilson [Sat, 22 Aug 2009 02:28:46 +0000 (02:28 +0000)]
Add new intrinsics for Neon vldN_lane and vstN_lane operations.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79716 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoNote down a few bits and bobs off the top of my head for ReleaseNotes-2.6.html
Edward O'Callaghan [Sat, 22 Aug 2009 02:17:22 +0000 (02:17 +0000)]
Note down a few bits and bobs off the top of my head for ReleaseNotes-2.6.html

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79715 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoAdd basic information about SJLJ EH
Jim Grosbach [Sat, 22 Aug 2009 01:42:39 +0000 (01:42 +0000)]
Add basic information about SJLJ EH

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79714 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agorename test, make more specific.
Chris Lattner [Sat, 22 Aug 2009 00:44:24 +0000 (00:44 +0000)]
rename test, make more specific.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79712 91177308-0d34-0410-b5e6-96231b3b80d8

14 years agoActually remove unused static. Previous commit removed trailing
Eric Christopher [Sat, 22 Aug 2009 00:41:47 +0000 (00:41 +0000)]
Actually remove unused static. Previous commit removed trailing
whitespace.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79711 91177308-0d34-0410-b5e6-96231b3b80d8