1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00
Commit Graph

243 Commits

Author SHA1 Message Date
Vikram S. Adve
4761eb23fd 1. Make table size prime -- improves hashing performance vastly.
2. Reduce #hashes from 2 to 1 for initial inserts.
3. Fix incorrect assertion from last checkin.

llvm-svn: 7417
2003-07-30 12:49:25 +00:00
Vikram S. Adve
fe15c01e24 Bug fix: after reallocating the hash table, we have to re-insert each value
instead of copying table entries!

llvm-svn: 7396
2003-07-29 20:01:01 +00:00
Chris Lattner
ac8e9ebce9 Remove unneccesary #ifdefs
llvm-svn: 7214
2003-07-21 19:23:31 +00:00
Chris Lattner
425abc04ab Fix warnings
llvm-svn: 7213
2003-07-21 19:20:44 +00:00
Vikram S. Adve
f6d22acc22 Use uint32_t for table index and size: table will never be > 4GB.
Also, make Pointer type depend on architecture.

llvm-svn: 7170
2003-07-11 22:02:28 +00:00
Vikram S. Adve
a23754ed38 Pointer hash table reallocation code seems never to have been tested!
Unfortunately, reallocation also means that the pointer numbering will
change, so increase table size to try to avoid it.

llvm-svn: 7130
2003-07-08 18:42:44 +00:00
Vikram S. Adve
bb4677de1e Native libraries (libinstr*.a) should not have been taken out when
taking out the rule for compiling the test driver.
We need the native libraries for libinstr because they are directly
linked into the native CBE or LLC code.  That is the only practical
way to debug them!

llvm-svn: 7129
2003-07-08 18:40:58 +00:00
Sumant Kowshik
b1a109f9e9 Added support for poolallocarray and poolmakeunfreeable. The latter is used by the SAFECode project
llvm-svn: 7102
2003-07-03 17:55:47 +00:00
Chris Lattner
d99475d41a Don't register the destructors if the list is empty
llvm-svn: 6909
2003-06-26 04:20:38 +00:00
Joel Stanley
81aa4149c0 Prevented inclusion of (non-existent) stdint.h on Sparc.
llvm-svn: 6876
2003-06-24 02:46:47 +00:00
Misha Brukman
7b26d58686 Prevent lines from wrapping.
llvm-svn: 6419
2003-05-29 22:12:35 +00:00
Chris Lattner
76958109b3 Initial checkin
llvm-svn: 6414
2003-05-29 20:24:54 +00:00
Chris Lattner
1f291722b2 Run more post-link xforms
llvm-svn: 6400
2003-05-29 15:16:45 +00:00
Chris Lattner
f08e569e7d Update to match the reality that is now.
llvm-svn: 6362
2003-05-27 21:43:14 +00:00
Chris Lattner
f8e93a7026 add support for an explicit EXPORTED_SYMBOL_LIST
llvm-svn: 6296
2003-05-22 20:27:30 +00:00
Chris Lattner
95a6a0aaed Specify a list of symbols that should be exported by the library
llvm-svn: 6290
2003-05-22 19:50:30 +00:00
Chris Lattner
eec3d84e72 Update to match typename produced by the C frontend
llvm-svn: 6287
2003-05-22 19:30:11 +00:00
Chris Lattner
ae45cc55c4 Dead file
llvm-svn: 6189
2003-05-14 13:10:18 +00:00
Chris Lattner
44d2fa762a Minor updates
llvm-svn: 6188
2003-05-14 13:09:57 +00:00
Chris Lattner
2476986342 Initial checkin of crtend.o implementation
llvm-svn: 6187
2003-05-14 13:09:41 +00:00
Chris Lattner
07b8575e57 New file
llvm-svn: 6186
2003-05-14 12:40:20 +00:00
Chris Lattner
876f0342b4 Remove support for memset
llvm-svn: 5599
2003-02-18 20:42:15 +00:00
Chris Lattner
adb111cdfe Add lots of functions
llvm-svn: 5598
2003-02-18 20:42:07 +00:00
Chris Lattner
06bfa524c1 Implement more functions
llvm-svn: 5538
2003-02-11 23:12:23 +00:00
Chris Lattner
1fa5e51461 Implement feof and xmalloc
llvm-svn: 5478
2003-02-03 19:12:38 +00:00
Chris Lattner
45c0f94256 Add a bunch more stubs
llvm-svn: 5459
2003-02-01 04:51:12 +00:00
Chris Lattner
e40d684a50 Initial checkin of pool allocator library
llvm-svn: 5429
2003-01-29 18:38:11 +00:00
Chris Lattner
030f0c3762 Initial checkin of dummylib
llvm-svn: 5357
2003-01-17 19:09:29 +00:00
Chris Lattner
ee05a7d01c fix path
llvm-svn: 4636
2002-11-08 21:29:22 +00:00
Chris Lattner
b49c5bca1b Add note about what this is
llvm-svn: 4581
2002-11-06 20:58:26 +00:00
Chris Lattner
8795611a6d Pass renamed
llvm-svn: 3141
2002-07-30 00:53:26 +00:00
Chris Lattner
3a889be674 Fixes to be LP64 correct
llvm-svn: 2950
2002-07-18 00:15:29 +00:00
Chris Lattner
5349ba3178 Allow libraries to specify other libraries to link to
llvm-svn: 2678
2002-05-20 21:45:44 +00:00
Chris Lattner
37ced9a9de Tracelib is now an LLVM library just like all other libraries in this
directory.

If the test code needs to be resurrected in the future, it should be moved
into the test/Programs directory, linking with tracelib.

llvm-svn: 2672
2002-05-20 21:16:19 +00:00
Chris Lattner
284fbfcbf9 * If hashing a pointer, cast it to a 64 bit number so gcc doesn't warn
* Don't put extra stuff after #endif

llvm-svn: 2671
2002-05-20 21:15:30 +00:00
Chris Lattner
69f8e162eb Implement the printf function, used by assert
llvm-svn: 2666
2002-05-20 19:11:23 +00:00
Vikram S. Adve
8ebcebf6f9 Runtime routines to support tracing.
Currently includes code to hash pointers to sequence numbers.
The hash table should be separated out into a separate file
since that is generic.  The rest of this code is pretty small.

llvm-svn: 2655
2002-05-19 15:49:58 +00:00
Chris Lattner
28cae4bbd9 Remove compilation of __main because we now link -lgcc into programs
llvm-svn: 1947
2002-03-22 19:13:47 +00:00
Vikram S. Adve
428665864f Need rule for runtime.o. This is just temporary to provide
ll__main so that llc output can link.

llvm-svn: 1913
2002-03-18 04:04:25 +00:00
Chris Lattner
5b625388e6 Add strcat function
llvm-svn: 1847
2002-03-11 17:46:50 +00:00
Chris Lattner
a111bee74b Checkin library infrastructure for building stuff to be linked with
gccld

llvm-svn: 1842
2002-03-08 23:20:52 +00:00
Chris Lattner
25838a86df Add a clean target stub
llvm-svn: 1818
2002-02-26 21:48:24 +00:00
Chris Lattner
c66e1aa9b5 Initial checkin of Makefile, just a dummy file for now.
llvm-svn: 1566
2002-01-23 19:57:59 +00:00