1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00
Commit Graph

50842 Commits

Author SHA1 Message Date
Chris Lattner
c27b016566 fix a gone file.
llvm-svn: 79802
2009-08-23 01:11:21 +00:00
Chris Lattner
abcb18592a remove some dead print method variants.
llvm-svn: 79801
2009-08-23 01:03:30 +00:00
Chris Lattner
cf11411573 convert the DIE printing stuff to use raw_ostream instead of std::ostream.
Tweak #includes.

llvm-svn: 79800
2009-08-23 01:01:17 +00:00
Chris Lattner
2c5fb733fa random code cleanups.
llvm-svn: 79798
2009-08-23 00:51:47 +00:00
Chris Lattner
1c6c358071 remove some random indentation stuff, yay for efficiency.
llvm-svn: 79797
2009-08-23 00:51:00 +00:00
Chris Lattner
85bc7f732b remove dead PrefixPrinter class.
llvm-svn: 79796
2009-08-23 00:47:04 +00:00
Chris Lattner
38a3eb5739 remove a dead class.
llvm-svn: 79795
2009-08-23 00:42:42 +00:00
Chris Lattner
f1c8c46e95 random cleanups.
llvm-svn: 79794
2009-08-23 00:35:30 +00:00
Eli Friedman
e8106d9fc6 Add check for completeness. Note that this doesn't actually have any
effect with the way the current code is structured.

llvm-svn: 79792
2009-08-23 00:14:19 +00:00
Chris Lattner
9a959112e3 switch formattedstream to use raw_ostream::indent. This eliminates
the weird MAX_COLUMN_PAD limitation.

llvm-svn: 79785
2009-08-22 23:16:09 +00:00
Chris Lattner
b20aefd460 add a raw_ostream::indent method, to be used like:
OS.indent(i) << "whatever";

people seem to like indenting things ;-)

llvm-svn: 79784
2009-08-22 23:10:29 +00:00
Benjamin Kramer
52cba58070 Forgot to update some CMakeLists.
llvm-svn: 79780
2009-08-22 22:20:11 +00:00
Benjamin Kramer
4a7695a622 Update CMake build, unbreak linux build.
llvm-svn: 79779
2009-08-22 22:07:08 +00:00
Chris Lattner
16834ce974 fix a build error on the clang-i686-linux tester.
llvm-svn: 79778
2009-08-22 21:45:03 +00:00
Chris Lattner
8d06945fff rename TAI -> MAI, being careful not to make MAILJMP instructions :)
llvm-svn: 79777
2009-08-22 21:43:10 +00:00
Chris Lattner
8d5796f941 mcasminfo doesn't use std::string
llvm-svn: 79774
2009-08-22 21:05:21 +00:00
Chris Lattner
384b7d24a9 rename COFFMCAsmInfo -> MCAsmInfoCOFF, likewise for darwin.
llvm-svn: 79773
2009-08-22 21:03:30 +00:00
Tanya Lattner
6967c57a4b Regenerate configure.
llvm-svn: 79772
2009-08-22 21:01:26 +00:00
Tanya Lattner
e7d5584aac Update copyright date.
llvm-svn: 79771
2009-08-22 21:00:33 +00:00
Chris Lattner
9f2ba3294f move the MCAsmInfo .cpp/.h files into the right
directories and rename them.

llvm-svn: 79768
2009-08-22 20:58:17 +00:00
Chris Lattner
665d8e92a8 revert 79764, my dependencies failed me again.
llvm-svn: 79767
2009-08-22 20:56:12 +00:00
Bill Wendling
f0c30267ee Convert DOUT to DEBUG(errs()...).
llvm-svn: 79766
2009-08-22 20:54:03 +00:00
Bill Wendling
54e5b301f7 Convert DOUT to DEBUG(errs()...).
llvm-svn: 79765
2009-08-22 20:52:46 +00:00
Chris Lattner
7416d2bf88 remove dead member.
llvm-svn: 79764
2009-08-22 20:50:18 +00:00
Chris Lattner
5d8af49626 Rename TargetAsmInfo (and its subclasses) to MCAsmInfo.
llvm-svn: 79763
2009-08-22 20:48:53 +00:00
Bill Wendling
befc5142d8 Convert DOUT to DEBUG(errs()...).
llvm-svn: 79762
2009-08-22 20:46:59 +00:00
Bill Wendling
8e64fefc68 Convert DOUT to DEBUG(errs()...).
llvm-svn: 79760
2009-08-22 20:41:06 +00:00
Bill Wendling
4a1c36eac3 Convert DOUT to DEBUG(errs()...).
llvm-svn: 79759
2009-08-22 20:40:21 +00:00
Bill Wendling
2e996850e3 Convert DOUT to DEBUG(errs()...).
llvm-svn: 79758
2009-08-22 20:38:09 +00:00
Bill Wendling
f5b999004d Convert DOUT to DEBUG(errs()...).
llvm-svn: 79756
2009-08-22 20:30:53 +00:00
Bill Wendling
583b46267f Convert DOUT to DEBUG(errs()...).
llvm-svn: 79755
2009-08-22 20:26:23 +00:00
Bill Wendling
6dff651660 Convert DOUT to DEBUG(errs()...).
llvm-svn: 79754
2009-08-22 20:25:44 +00:00
Bill Wendling
6fca65fb1c Convert DOUT to DEBUG(errs()...).
llvm-svn: 79753
2009-08-22 20:23:49 +00:00
Bill Wendling
cf51caf09d Convert DOUT to DEBUG(errs()...).
llvm-svn: 79752
2009-08-22 20:18:03 +00:00
Bill Wendling
295fc15497 Convert DOUT to DEBUG(errs()...).
llvm-svn: 79751
2009-08-22 20:11:17 +00:00
Bill Wendling
5a5d0efc7f Normalize how the 'namespace llvm {' is used in this file.
llvm-svn: 79750
2009-08-22 20:08:44 +00:00
Bill Wendling
afba8e204c Convert DOUT to DEBUG(errs()...).
llvm-svn: 79749
2009-08-22 20:07:03 +00:00
Bill Wendling
d197f257a7 Convert DOUT to DEBUG(errs()...).
llvm-svn: 79748
2009-08-22 20:04:03 +00:00
Bill Wendling
7ce39eba34 Convert DOUT to DEBUG(errs()...).
llvm-svn: 79747
2009-08-22 20:03:00 +00:00
Chris Lattner
29213a76e4 prune some redundant #includes.
llvm-svn: 79746
2009-08-22 19:35:08 +00:00
Chris Lattner
d786e8929e tweak #includes
llvm-svn: 79744
2009-08-22 19:19:12 +00:00
Devang Patel
c071d6c1b4 Record variable debug info at ISel time directly.
llvm-svn: 79742
2009-08-22 17:12:53 +00:00
Anton Korobeynikov
23ecf9767c 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

llvm-svn: 79741
2009-08-22 11:46:16 +00:00
Daniel Dunbar
4c3cf93d1d 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).

llvm-svn: 79740
2009-08-22 11:41:10 +00:00
Daniel Dunbar
d22c0d4d49 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.

llvm-svn: 79739
2009-08-22 10:13:24 +00:00
Daniel Dunbar
eef8b8ed05 Fix typo.
llvm-svn: 79738
2009-08-22 10:09:17 +00:00
Daniel Dunbar
260235bc1a Force triple for these tests.
llvm-svn: 79737
2009-08-22 09:45:43 +00:00
Daniel Dunbar
b960969b44 llvm-mc: Hopefully fix Mach-O tests on big-endian platforms, force values to be
converted to Python ints if possible.

llvm-svn: 79736
2009-08-22 09:28:33 +00:00
Daniel Dunbar
2b6db55380 llvm-mc/Mach-O: Move more logic for writing the Mach-O file into the writer
class, and kill off MCSectionData::FileOffset.

llvm-svn: 79735
2009-08-22 08:28:27 +00:00
Daniel Dunbar
b367c1724d llvm-mc: Rename / redefine MCFragment::FileOffset to MCFragment::Offset (the
section offset).

llvm-svn: 79734
2009-08-22 08:27:54 +00:00