Bill Wendling [Tue, 8 May 2007 19:02:46 +0000 (19:02 +0000)]
Change names from RA to something unique to get rid of naming conflicts with
certain linkers...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36944
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Tue, 8 May 2007 19:00:00 +0000 (19:00 +0000)]
Eliminate MarkVirtRegAliveInBlock recursion.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36943
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Tue, 8 May 2007 18:55:03 +0000 (18:55 +0000)]
Add MachineBasicBlock preds / succs reverse iterators.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36942
91177308-0d34-0410-b5e6-
96231b3b80d8
Devang Patel [Tue, 8 May 2007 18:08:20 +0000 (18:08 +0000)]
New test for PR1400
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36941
91177308-0d34-0410-b5e6-
96231b3b80d8
Dale Johannesen [Tue, 8 May 2007 17:44:36 +0000 (17:44 +0000)]
testcase for CodeGenPrepare bug fixed yesterday
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36940
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Tue, 8 May 2007 17:03:51 +0000 (17:03 +0000)]
R0 is a sub-register of X0, etc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36939
91177308-0d34-0410-b5e6-
96231b3b80d8
Dan Gohman [Tue, 8 May 2007 15:19:19 +0000 (15:19 +0000)]
Fix various whitespace inconsistencies.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36936
91177308-0d34-0410-b5e6-
96231b3b80d8
Dan Gohman [Tue, 8 May 2007 15:14:19 +0000 (15:14 +0000)]
Correct the comment for ApproximateLoopSize to reflect what it actually does.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36935
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Tue, 8 May 2007 07:49:07 +0000 (07:49 +0000)]
Spare '&' in the RUN line.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36933
91177308-0d34-0410-b5e6-
96231b3b80d8
Devang Patel [Tue, 8 May 2007 06:10:12 +0000 (06:10 +0000)]
New test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36930
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 8 May 2007 05:38:32 +0000 (05:38 +0000)]
update comments, no functionality change
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36929
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 8 May 2007 05:38:01 +0000 (05:38 +0000)]
Make a preemptive bitcode format change to support PR1146. This lets us do
pr1146 in llvm 2.1 without ugly code to emulate old behavior. This should
be merged into the 2.0 release branch.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36928
91177308-0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Tue, 8 May 2007 04:32:07 +0000 (04:32 +0000)]
Bumping cvs version number
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36922
91177308-0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Tue, 8 May 2007 04:22:59 +0000 (04:22 +0000)]
Bump version number in cvs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36920
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 8 May 2007 02:19:56 +0000 (02:19 +0000)]
move this out of Codegen/Generic, because it requires the ARM backend to be
linked into llc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36919
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 8 May 2007 02:13:52 +0000 (02:13 +0000)]
move to CodeGen/ARM/2007-05-07-tailmerge-1.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36918
91177308-0d34-0410-b5e6-
96231b3b80d8
Dale Johannesen [Tue, 8 May 2007 01:01:04 +0000 (01:01 +0000)]
Don't generate branch to entry block.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36917
91177308-0d34-0410-b5e6-
96231b3b80d8
Lauro Ramos Venancio [Mon, 7 May 2007 23:15:16 +0000 (23:15 +0000)]
Fix PR1390 in a better way.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36916
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Mon, 7 May 2007 21:50:07 +0000 (21:50 +0000)]
Fix tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36913
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Mon, 7 May 2007 21:49:35 +0000 (21:49 +0000)]
Add some tests for (conv (load x)) -> (load (conv*)x) xform.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36912
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Mon, 7 May 2007 21:38:05 +0000 (21:38 +0000)]
Fix test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36911
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Mon, 7 May 2007 21:36:06 +0000 (21:36 +0000)]
Forgot a check.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36910
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Mon, 7 May 2007 21:29:41 +0000 (21:29 +0000)]
This is no longer needed after enabling the DAG combiner xform.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36909
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Mon, 7 May 2007 21:27:48 +0000 (21:27 +0000)]
Enable a couple of xforms:
- (store (bitconvert v)) -> (store v) if resultant store does not require
higher alignment
- (bitconvert (load v)) -> (load (bitconvert*)v) if resultant load does not
require higher alignment
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36908
91177308-0d34-0410-b5e6-
96231b3b80d8
Dale Johannesen [Mon, 7 May 2007 20:57:21 +0000 (20:57 +0000)]
Handle some non-exit blocks in tail merging.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36907
91177308-0d34-0410-b5e6-
96231b3b80d8
Duncan Sands [Mon, 7 May 2007 20:49:28 +0000 (20:49 +0000)]
Parameter attributes on invoke calls were being lost due to the wrong
attribute index being used. Fix proposed by Anton Korobeynikov, who
asked me to implement and commit it for him. This is PR1398.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36906
91177308-0d34-0410-b5e6-
96231b3b80d8
Duncan Sands [Mon, 7 May 2007 20:45:20 +0000 (20:45 +0000)]
Testcase for PR1398.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36905
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 7 May 2007 18:50:07 +0000 (18:50 +0000)]
Initialize variable to null so it has a value in the off chance that a
memory buffer couldn't be allocated.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36904
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Mon, 7 May 2007 17:58:13 +0000 (17:58 +0000)]
Update.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36903
91177308-0d34-0410-b5e6-
96231b3b80d8
Jeff Cohen [Mon, 7 May 2007 15:21:46 +0000 (15:21 +0000)]
Unbreak VC++ build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36901
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 23:45:49 +0000 (23:45 +0000)]
use the new MemoryBuffer interfaces to simplify error reporting in clients.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36900
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 23:32:36 +0000 (23:32 +0000)]
Enhance MemoryBuffer to return error messages in strings if they occur.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36899
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 23:24:42 +0000 (23:24 +0000)]
remove dead option
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36898
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 23:21:05 +0000 (23:21 +0000)]
this is obsolete
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36897
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 23:20:06 +0000 (23:20 +0000)]
link to the bitcode doc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36896
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 23:18:44 +0000 (23:18 +0000)]
bzip2 is gone
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36895
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 23:13:56 +0000 (23:13 +0000)]
Fix PR1395, by passing the ID correctly
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36894
91177308-0d34-0410-b5e6-
96231b3b80d8
Anton Korobeynikov [Sun, 6 May 2007 20:33:02 +0000 (20:33 +0000)]
Update fields
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36893
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 20:31:17 +0000 (20:31 +0000)]
add this back
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36892
91177308-0d34-0410-b5e6-
96231b3b80d8
Anton Korobeynikov [Sun, 6 May 2007 20:14:21 +0000 (20:14 +0000)]
Detabify
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36891
91177308-0d34-0410-b5e6-
96231b3b80d8
Anton Korobeynikov [Sun, 6 May 2007 20:13:33 +0000 (20:13 +0000)]
Update MSIL BE. This patch fixes most weird glitches outlined in
README.txt. Patch by Roman Samoilov!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36890
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 19:51:20 +0000 (19:51 +0000)]
lib/Bytecode is dead
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36889
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 19:50:53 +0000 (19:50 +0000)]
move this to lib/Archive
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36888
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 19:50:06 +0000 (19:50 +0000)]
build lib/Archive instead of lib/Bytecode
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36887
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 19:49:28 +0000 (19:49 +0000)]
adjust this to live in lib/Archive
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36886
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 19:47:36 +0000 (19:47 +0000)]
remove bytecode headers
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36885
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 19:46:23 +0000 (19:46 +0000)]
remove dead header
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36884
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 19:43:09 +0000 (19:43 +0000)]
Fix a buggy conversion from bytecode to bitcode
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36883
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 19:42:57 +0000 (19:42 +0000)]
remove bytecode reader
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36882
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 19:33:40 +0000 (19:33 +0000)]
remove the old bc writer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36881
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 19:27:46 +0000 (19:27 +0000)]
fix off-by-one that caused the llvm2cpp test to fail
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36880
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 19:21:48 +0000 (19:21 +0000)]
remove libbzip2 from this. This should use llvm-config or something.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36879
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 19:19:23 +0000 (19:19 +0000)]
Flush the file after writing bitcode so that clients who don't close their
ofstreams will be ok.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36878
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 19:17:23 +0000 (19:17 +0000)]
make sure the ofstream for opt's output file is destroyed, so that the bits
actually land on disk.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36877
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 19:10:47 +0000 (19:10 +0000)]
remove this file for now, we can bring it back from cvs if we need it in
the future (and integrate it with membuffer, etc)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36876
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 19:05:34 +0000 (19:05 +0000)]
remove libbzip2, it is dead
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36875
91177308-0d34-0410-b5e6-
96231b3b80d8
Duncan Sands [Sun, 6 May 2007 16:20:30 +0000 (16:20 +0000)]
Testcase for yet another global constant Ada f-e bug.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36874
91177308-0d34-0410-b5e6-
96231b3b80d8
Nick Lewycky [Sun, 6 May 2007 13:37:16 +0000 (13:37 +0000)]
Fix typo in comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36873
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 09:32:02 +0000 (09:32 +0000)]
switch tools to bitcode from bytecode
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36872
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 09:31:32 +0000 (09:31 +0000)]
don't build bzip2 for now
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36871
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 09:31:06 +0000 (09:31 +0000)]
disable this for now
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36870
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 09:30:31 +0000 (09:30 +0000)]
don't build bcreader/bcwriter
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36869
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 09:29:57 +0000 (09:29 +0000)]
switch tools to bitcode instead of bytecode
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36868
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 09:29:13 +0000 (09:29 +0000)]
switch this to bitcode instead of bytecode
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36867
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 09:28:33 +0000 (09:28 +0000)]
Switch this over to bitcode instead of bytecode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36866
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 09:14:53 +0000 (09:14 +0000)]
Move this here from Bytecode/Archive.h
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36865
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 08:35:19 +0000 (08:35 +0000)]
Fix a nasty problem where we would miss enumeration of some types. This fixes
issues with CE_CAST etc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36864
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 08:22:10 +0000 (08:22 +0000)]
allow zero-length arrays
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36863
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 08:21:50 +0000 (08:21 +0000)]
Allow structs with zero fields.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36862
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 08:12:09 +0000 (08:12 +0000)]
we aren't at the end of stream until we've consumed all the bytes AND all
the bits in those bytes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36861
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Sun, 6 May 2007 07:56:19 +0000 (07:56 +0000)]
3DNowA implies 3DNow. 64-bit implies SSE1, SSE2, and I assume MMX.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36860
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 07:33:01 +0000 (07:33 +0000)]
add a missing check
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36859
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 07:24:46 +0000 (07:24 +0000)]
Fix MemoryBuffer::getFile to return null if it has an error opening the
file instead of aborting.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36858
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 07:24:03 +0000 (07:24 +0000)]
Fix a bug in my previous patch
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36857
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 06:18:07 +0000 (06:18 +0000)]
add bitcode support
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36856
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 06:02:13 +0000 (06:02 +0000)]
add bitcode support
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36855
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 05:58:00 +0000 (05:58 +0000)]
this doesn't directly depend on bytecode
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36854
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 05:56:58 +0000 (05:56 +0000)]
add bitcode support.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36853
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 05:53:02 +0000 (05:53 +0000)]
archive library already depends on bc reader
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36852
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 05:51:37 +0000 (05:51 +0000)]
add bitcode support, optimize reading to not read all function bodies just
to get deplibs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36851
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 05:47:36 +0000 (05:47 +0000)]
use an auto_ptr to avoid an explicit delete
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36850
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 05:47:06 +0000 (05:47 +0000)]
add bitcode support
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36849
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 05:40:41 +0000 (05:40 +0000)]
Remove the -emit-bytecode option. Noone in the llvm tree uses it, and this
keeps llvm-upgrade a simple "source to source" tool.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36848
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 05:36:18 +0000 (05:36 +0000)]
add bitcode reading support to llvm-nm
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36847
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 05:32:21 +0000 (05:32 +0000)]
pull some win32 code into common code, add bitcode identification support.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36846
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 05:30:10 +0000 (05:30 +0000)]
add support for identifying bitcode files
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36845
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 05:21:42 +0000 (05:21 +0000)]
bitcodify, remove eh cruft
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36844
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 05:18:53 +0000 (05:18 +0000)]
teach this to read from bitcode files
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36843
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 05:18:37 +0000 (05:18 +0000)]
debugger depends on bcreader, not llvm-db
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36842
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 05:13:17 +0000 (05:13 +0000)]
remove EH cruft, add bitcode support
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36841
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 04:58:26 +0000 (04:58 +0000)]
add bitcode reading support, remove eh stuff
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36840
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 04:55:19 +0000 (04:55 +0000)]
add bitcode reading support. Remove EH cruft.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36839
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 04:49:55 +0000 (04:49 +0000)]
bitcodify
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36838
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 04:43:36 +0000 (04:43 +0000)]
simplify code
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36837
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 04:43:00 +0000 (04:43 +0000)]
add support to llvm-prof for reading from a bitcode file
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36836
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 6 May 2007 04:41:59 +0000 (04:41 +0000)]
Add a helper that either opens a file or stdin.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36835
91177308-0d34-0410-b5e6-
96231b3b80d8
Nate Begeman [Sun, 6 May 2007 04:00:55 +0000 (04:00 +0000)]
Reference correct header
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36834
91177308-0d34-0410-b5e6-
96231b3b80d8
Jeff Cohen [Sun, 6 May 2007 03:24:19 +0000 (03:24 +0000)]
Make code more 64-bit aware.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36833
91177308-0d34-0410-b5e6-
96231b3b80d8
Jeff Cohen [Sun, 6 May 2007 03:23:14 +0000 (03:23 +0000)]
Keep header file free of 'possible loss of data' warnings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36832
91177308-0d34-0410-b5e6-
96231b3b80d8
Jeff Cohen [Sun, 6 May 2007 03:12:47 +0000 (03:12 +0000)]
Unbreak VC++.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36831
91177308-0d34-0410-b5e6-
96231b3b80d8