Chris Lattner
36c95e38b0
Cleanups. Null out pointer after freeing it for paranoia
...
llvm-svn: 17855
2004-11-15 21:55:06 +00:00
Chris Lattner
94bd315c3f
If a function is external, do not output a FunctionBlock for the function
...
AT ALL. This saves 11 bytes per external function from the bytecode file,
and is also required to make GhostLinkage work.
llvm-svn: 17854
2004-11-15 21:46:40 +00:00
Chris Lattner
55d85402f6
Make functions default to having external linkage if they have no
...
FunctionBlock.
llvm-svn: 17853
2004-11-15 21:43:03 +00:00
Reid Spencer
16d3f968ba
Remove useless/confusing namespace qualifier.
...
llvm-svn: 17852
2004-11-15 21:27:05 +00:00
Misha Brukman
a8c99d4daf
Add BCTR and LWZU instruction opcodes
...
llvm-svn: 17851
2004-11-15 21:20:09 +00:00
Reid Spencer
38fcf309fc
Merge content of RequiredSoftware.html into GettingStarted.html
...
Remove now defunct RequiredSoftware.html.
llvm-svn: 17850
2004-11-15 21:15:12 +00:00
Misha Brukman
dca7238d56
* Add entry for Linux/PowerPC
...
* Mark MacOS X/PPC support as 32-bit-only
* Fix FreeBSD space usage -- it's in MB, not GB
llvm-svn: 17848
2004-11-15 21:05:08 +00:00
Misha Brukman
ef8d601a53
Be less verbose when `The' and `command' just aren't necessary
...
llvm-svn: 17846
2004-11-15 20:39:30 +00:00
Misha Brukman
6c668c4fba
No need for the verbose `the llvm-link command' when simply `llvm-link' will do
...
llvm-svn: 17845
2004-11-15 20:36:39 +00:00
Misha Brukman
16c9176043
Force a short link to gccld's man page
...
llvm-svn: 17844
2004-11-15 20:32:58 +00:00
Misha Brukman
da25907381
Fix syntax within a B<> tag
...
llvm-svn: 17843
2004-11-15 20:30:19 +00:00
Reid Spencer
e51e5724b7
Remove personal email address.
...
llvm-svn: 17842
2004-11-15 20:25:08 +00:00
Misha Brukman
4055d31868
Add the PowerPC 32-bit ABI output option
...
llvm-svn: 17840
2004-11-15 20:22:49 +00:00
Chris Lattner
cc93ee5b45
Bump version. Shouldn't this come from somewhere else??
...
llvm-svn: 17839
2004-11-15 20:06:11 +00:00
Misha Brukman
a8e1718932
* Add an entry for llvm-ranlib
...
* Add missing dashes
llvm-svn: 17838
2004-11-15 19:53:43 +00:00
Misha Brukman
774a6be462
This is llvm-ar, not llvm-as.
...
llvm-svn: 17837
2004-11-15 19:50:15 +00:00
Reid Spencer
d4d25bdb2b
Remove reference to llvm-ld.
...
llvm-svn: 17836
2004-11-15 19:47:20 +00:00
Reid Spencer
38f5a1c6c4
Terminate a list.
...
Remove reference to llvm-ld
llvm-svn: 17835
2004-11-15 19:45:29 +00:00
Misha Brukman
d92f54ae6e
Remove extra space char
...
llvm-svn: 17834
2004-11-15 19:30:05 +00:00
Tanya Lattner
8213dae317
This file was originally developed by the LLVM research group so this comment should stay. I also do NOT want my name explicity listed on src files. I am already mentioned in the credits.
...
llvm-svn: 17833
2004-11-15 19:21:49 +00:00
Reid Spencer
bfa25440e7
Changes/corrections suggested from Chris Lattner's review.
...
llvm-svn: 17832
2004-11-15 19:12:06 +00:00
Chris Lattner
a2b02a8b05
Warning fixes for VC++, contributed by Morten Ofstad!
...
llvm-svn: 17831
2004-11-15 19:02:35 +00:00
Reid Spencer
9339638e9c
Remove unused variable for compilation by VC++.
...
Patch contributed by Morten Ofstad.
llvm-svn: 17830
2004-11-15 17:29:41 +00:00
Reid Spencer
b40098e334
Updates to Visual C++ project files for building on win32.
...
Patch contributed by Morten Ofstad.
llvm-svn: 17829
2004-11-15 17:28:08 +00:00
Reid Spencer
6e886d051c
Update relative files.
...
Patch contributed by Morten Ofstad.
llvm-svn: 17828
2004-11-15 17:27:00 +00:00
Reid Spencer
1ae1656363
Provide the ThrowErrno utility.
...
Patch contributed by Morten Ofstad
llvm-svn: 17827
2004-11-15 17:21:57 +00:00
Reid Spencer
b96afe4b7e
Adjust implementation to match new interface.
...
Patch provided by Morten Ofstad
llvm-svn: 17826
2004-11-15 17:20:28 +00:00
Chris Lattner
1890f94413
Minor cleanups. There is no reason for SCCP to derive from instvisitor anymore.
...
llvm-svn: 17825
2004-11-15 07:15:04 +00:00
Chris Lattner
9a038a3a5e
Count more accurately
...
llvm-svn: 17824
2004-11-15 07:02:42 +00:00
Brian Gaeke
55157f0865
Update list of failing Benchmarks.
...
llvm-svn: 17823
2004-11-15 05:57:26 +00:00
Brian Gaeke
9dcb2fe161
Expand Defs to encompass all the possibly-call-clobbered regs.
...
llvm-svn: 17822
2004-11-15 05:56:53 +00:00
Chris Lattner
97013636cd
Quiet warnings on the persephone tester
...
llvm-svn: 17821
2004-11-15 05:54:07 +00:00
Chris Lattner
d18c16b842
Two minor improvements:
...
1. Speedup getValueState by having it not consider Arguments. It's better
to just add them before we start SCCP'ing.
2. SCCP can delete the contents of dead blocks. No really, it's ok! This
reduces the size of the IR for subsequent passes, even though
simplifycfg would do the same job. In practice, simplifycfg does not
run until much later than sccp in gccas
llvm-svn: 17820
2004-11-15 05:45:33 +00:00
Misha Brukman
b068167941
Replace the textual description with table specifying disk space requirements
...
llvm-svn: 17819
2004-11-15 05:19:53 +00:00
Chris Lattner
4f0316229c
rename InstValue to LatticeValue, as it holds for more than instructions.
...
llvm-svn: 17818
2004-11-15 05:03:30 +00:00
Reid Spencer
dacbf466c8
Actually get the #include correct so it compiles .. duh.
...
llvm-svn: 17817
2004-11-15 04:47:22 +00:00
Chris Lattner
074be1f6e4
Substantially refactor the SCCP class into an SCCP pass and an SCCPSolver
...
class. The only changes are minor:
* Do not try to SCCP instructions that return void in the rewrite loop.
This is silly and fool hardy, wasting a map lookup and adding an entry
to the map which is never used.
* If we decide something has an undefined value, rewrite it to undef,
potentially leading to further simplications.
llvm-svn: 17816
2004-11-15 04:44:20 +00:00
Reid Spencer
315efa1a84
Make it actually compile on Solaris.
...
llvm-svn: 17815
2004-11-15 04:42:44 +00:00
Reid Spencer
9b3a69175d
Consolidate the implementation of TimeValue::now() for Unix to use the
...
seemingly ubiquitous gettimeofday(3) call.
llvm-svn: 17814
2004-11-15 04:36:36 +00:00
Reid Spencer
bfb7b3eb68
Consolidate the implementation of TimeValue::now() for Unix to use the
...
seemingly ubiquitous gettimeofday(3) call.
llvm-svn: 17813
2004-11-15 04:36:35 +00:00
Reid Spencer
cbd9aeb587
* Make sure the string table gets read even if there isn't a foreign
...
symbol table.
* Make sure we update the file pointer for each member when rebuilding the
symbol table.
llvm-svn: 17812
2004-11-15 01:40:20 +00:00
Reid Spencer
fcf5ef7a4a
Changes necessary to enable linking of archives without LLVM symbol tables.
...
llvm-svn: 17811
2004-11-15 01:20:11 +00:00
Reid Spencer
a67b6e1874
Remove a forgotten debug output line.
...
llvm-svn: 17810
2004-11-14 23:49:55 +00:00
Reid Spencer
7705ec231c
Implement functionality suggested from code review: getStatusInfo should
...
returnn false if the file doesn't exist rather than throw ane exception.
llvm-svn: 17809
2004-11-14 23:30:38 +00:00
Reid Spencer
e554760178
Changes per code review:
...
* Document StatusInfo fields better
* No lines > 80 cols
* Have getStatusInfo return bool if file doesn't exist
* Don't document in detail how temporary file name should be created.
llvm-svn: 17808
2004-11-14 23:29:00 +00:00
Reid Spencer
9b0ddbbe2c
Linker.h moved to include/llvm from include/llvm/Support.
...
llvm-svn: 17807
2004-11-14 23:27:04 +00:00
Reid Spencer
6881623775
Make sure IdentifyFileType is in the sys namespace.
...
llvm-svn: 17806
2004-11-14 23:26:18 +00:00
Reid Spencer
4cee8e3365
Linker.h moved to include/llvm.
...
llvm-svn: 17805
2004-11-14 23:25:32 +00:00
Reid Spencer
aede779b1c
bugpoint needs LLVMLinker.a now.
...
llvm-svn: 17804
2004-11-14 23:23:18 +00:00
Reid Spencer
b3eaba688d
Correct call of methods whose names have changed.
...
llvm-svn: 17803
2004-11-14 23:17:41 +00:00