Chris Lattner
805f8d646e
Add a new info-output-file option (hidden from --help) which is to be used by
...
the testing scripts to avoid breaking diffs while still gathering stats.
llvm-svn: 6067
2003-05-09 20:05:44 +00:00
Chris Lattner
57bc07ffc3
Update to work with newer versions of bison
...
llvm-svn: 5762
2003-03-31 21:26:06 +00:00
Chris Lattner
9efc110b12
Make more compatible with GCC 2.96
...
llvm-svn: 5550
2003-02-13 16:25:28 +00:00
Chris Lattner
34094ff7e3
Remove gunk that was supposed to make space evaluation more precise, but never worked.
...
llvm-svn: 5549
2003-02-13 05:07:53 +00:00
Chris Lattner
bf2c5b238f
Don't output times in "scientific" notation
...
llvm-svn: 5544
2003-02-12 19:02:13 +00:00
Chris Lattner
ae91295cfa
Remove the -debug option from release executables
...
llvm-svn: 5521
2003-02-09 21:13:57 +00:00
Chris Lattner
8088c79d39
Squelch warning
...
llvm-svn: 5494
2003-02-05 21:44:28 +00:00
Chris Lattner
bedb4f4a83
* Add new -track-memory option to tools which enables the mem usage column in the reports.
...
This is now optional (and defaults to off) because mallinfo can be VERY slow as it
seems to touch every page of allocated memory.
llvm-svn: 5448
2003-01-30 23:08:50 +00:00
Chris Lattner
649a63bd45
Fix build problem on sparc
...
llvm-svn: 5428
2003-01-29 18:15:34 +00:00
Chris Lattner
8ceda40a94
Fix warning on sparc
...
llvm-svn: 5426
2003-01-29 16:26:46 +00:00
Chris Lattner
720592e011
Fix warnings
...
llvm-svn: 5377
2003-01-20 06:19:18 +00:00
Chris Lattner
ab69d9da2f
Move annotation to support library
...
llvm-svn: 5268
2003-01-14 21:29:58 +00:00
Chris Lattner
801b1a9ddc
Fix static initializer ordering dependency
...
llvm-svn: 5236
2003-01-13 00:52:43 +00:00
Chris Lattner
1214348847
Fix compilation on GCC 3.2
...
llvm-svn: 5136
2002-12-24 00:44:34 +00:00
Chris Lattner
2af84f79e3
New files for miscompilation detection
...
llvm-svn: 5120
2002-12-23 23:50:16 +00:00
Chris Lattner
48b0c706a4
Fix bug
...
llvm-svn: 4942
2002-12-06 04:42:16 +00:00
Chris Lattner
3e112b9973
Allow printing partially constructed bitsets
...
llvm-svn: 4941
2002-12-06 04:42:10 +00:00
Chris Lattner
80ba7cbffc
Don't delete values that may still be referenced!
...
llvm-svn: 4940
2002-12-06 04:02:48 +00:00
Chris Lattner
b20f8a3d5d
Tighten up assertion checking
...
llvm-svn: 4939
2002-12-06 03:55:39 +00:00
Chris Lattner
173aae3f70
Add code that can be used for debugging
...
llvm-svn: 4888
2002-12-03 20:01:04 +00:00
Chris Lattner
d07b76e83a
Continue implementing field initializers
...
llvm-svn: 4879
2002-12-03 06:00:33 +00:00
Chris Lattner
15cd2a0edb
Don't delete temporary files
...
llvm-svn: 4878
2002-12-03 06:00:11 +00:00
Misha Brukman
2c0ee80414
Ignore generated files gram.tab.c and gram.tab.h
...
llvm-svn: 4862
2002-12-02 21:15:37 +00:00
Misha Brukman
67923fb2cd
Ignore generated files FileLexer.* and FileParser.*
...
llvm-svn: 4860
2002-12-02 21:13:59 +00:00
Chris Lattner
1a4dddb269
Continued support for field intitializers
...
llvm-svn: 4855
2002-12-02 17:53:54 +00:00
Chris Lattner
29f8466be1
Continued support for field initializer
...
llvm-svn: 4854
2002-12-02 17:44:35 +00:00
Chris Lattner
b3385a75b7
Continued support for Field Initializer
...
llvm-svn: 4853
2002-12-02 17:43:58 +00:00
Chris Lattner
09e5402d2f
Adjustments due to new FieldInit stuff
...
llvm-svn: 4852
2002-12-02 17:43:43 +00:00
Chris Lattner
8c9131ede0
Add comments, factor out common code
...
llvm-svn: 4851
2002-12-02 16:57:01 +00:00
Chris Lattner
f04515fec4
Add support for field exprs
...
llvm-svn: 4850
2002-12-02 16:43:43 +00:00
Chris Lattner
42ea6fe801
* Move BitsInit::resolveReferences up with the rest of BitsInit code
...
* Initial support for field expressions
llvm-svn: 4849
2002-12-02 16:43:30 +00:00
Chris Lattner
b05511cde1
Initial support for Field Expressions
...
llvm-svn: 4848
2002-12-02 16:42:52 +00:00
Chris Lattner
c0794f940a
Add correct dependency
...
llvm-svn: 4847
2002-12-02 16:31:46 +00:00
Chris Lattner
5f7c43d3d5
Split up targets
...
llvm-svn: 4846
2002-12-02 16:13:42 +00:00
Chris Lattner
442ad12dff
Add comments
...
llvm-svn: 4845
2002-12-02 16:13:23 +00:00
Chris Lattner
8f9112b1bb
Initial checkin of TableGen utility
...
llvm-svn: 4843
2002-12-02 01:23:04 +00:00
Chris Lattner
8118f6db93
Add peak memory usage measurement capability
...
Add (currently disabled) faciility to try to filter out pool allocation overhead from memory usage stats
llvm-svn: 4753
2002-11-18 21:47:09 +00:00
Chris Lattner
fe090b7d1f
Simplify code
...
llvm-svn: 4547
2002-11-04 21:06:54 +00:00
Chris Lattner
45a7acb725
Sun can now use mallinfo()
...
llvm-svn: 4546
2002-11-04 21:05:21 +00:00
Chris Lattner
da3f2f6133
Allow memory sizes to be negative, remove obsolete TmpRSS field
...
llvm-svn: 4538
2002-11-04 19:19:36 +00:00
Chris Lattner
33a0632b24
mallinfo is not available on sun apparently :(
...
llvm-svn: 4537
2002-11-04 19:01:41 +00:00
Chris Lattner
471179e6b9
Minor fix to space accounting
...
llvm-svn: 4520
2002-11-04 01:49:45 +00:00
Chris Lattner
a7cdb12f6c
Implement MaxRSS in terms of mallinfo instead of the system RSS. This gives
...
us much more accurate numbers and actually WORKS.
llvm-svn: 4518
2002-11-04 00:32:44 +00:00
Chris Lattner
cb389fcb57
Fix burg build problem.
...
llvm-svn: 4480
2002-11-01 03:16:45 +00:00
Chris Lattner
8f38efd9dd
Add #include
...
llvm-svn: 4291
2002-10-27 19:08:03 +00:00
Chris Lattner
1f63263eee
Work better with other versions of bison
...
llvm-svn: 4290
2002-10-27 19:06:56 +00:00
Anand Shukla
d49d35f562
Added #include<unistd.h> to compile with solaris gcc3.2
...
llvm-svn: 4042
2002-10-04 23:57:01 +00:00
Anand Shukla
02acbe2c93
added cast to unsigned to compile with gcc3.2 (sparc)
...
llvm-svn: 4041
2002-10-04 23:56:18 +00:00
Chris Lattner
c2322d5fac
- Rework Statistics:
...
* Renamed StatisticReporter.h/cpp to Statistic.h/cpp
* Broke constructor to take two const char * arguments instead of one, so
that indendation can be taken care of automatically.
* Sort the list by pass name when printing
* Make sure to print all statistics as a group, instead of randomly when
the statistics dtors are called.
llvm-svn: 3999
2002-10-01 22:35:45 +00:00
Chris Lattner
9b38808792
Checkin generic interval timer support
...
llvm-svn: 3992
2002-10-01 19:36:54 +00:00
Chris Lattner
eedc6cc9bd
Clean up dead rules
...
llvm-svn: 3875
2002-09-22 02:41:20 +00:00
Chris Lattner
48fc42ba79
Fix tons of warnings, convert burg to use Makefile.common system, rename
...
gram.y to gram.yc so that we don't try to turn it into a .cpp file.
llvm-svn: 3874
2002-09-22 02:40:40 +00:00
Vikram S. Adve
be45b2caf9
Build burg separately for different architectures.
...
llvm-svn: 3861
2002-09-20 16:14:47 +00:00
Vikram S. Adve
8feab97474
Include our config and system-specific Makefiles to get the
...
right compilers and paths.
llvm-svn: 3852
2002-09-20 13:56:32 +00:00
Chris Lattner
39614ed129
Add an optimization to support the most common access pattern for the
...
library. This speeds debug builds up significantly.
llvm-svn: 3826
2002-09-19 19:22:11 +00:00
Chris Lattner
7b0f393cff
TEst commit
...
llvm-svn: 3791
2002-09-17 23:22:31 +00:00
Chris Lattner
c62d335023
Test commit
...
llvm-svn: 3790
2002-09-17 23:20:47 +00:00
Chris Lattner
d60141cea9
Test change
...
llvm-svn: 3789
2002-09-17 23:19:46 +00:00
Chris Lattner
51d8263667
We need an 'all' target to build burg, add it back
...
llvm-svn: 3788
2002-09-17 23:19:14 +00:00
Chris Lattner
d422435b6f
Don't run tests by default
...
llvm-svn: 3787
2002-09-17 23:04:24 +00:00
Chris Lattner
11312a8e53
Initial checkin of burg documetnation files
...
llvm-svn: 3786
2002-09-17 23:03:35 +00:00
Chris Lattner
4ef8d0aede
Initial checkin of burg files
...
llvm-svn: 3785
2002-09-17 23:03:30 +00:00
Chris Lattner
73f4e09752
Submitted by Casey Carter:
...
ISSUE: Linux doesn't have any steenking SIGEMT signal, as referred to in
lib/Support/Signals.cpp.
ACTION: Wrap the use with a #ifdef SIGEMT / #endif.
llvm-svn: 3700
2002-09-13 14:57:24 +00:00
Chris Lattner
0580054142
Remove extra #include
...
llvm-svn: 3652
2002-09-10 15:43:30 +00:00
Chris Lattner
24e420fd81
Checkin initial support for automatic memory leak detection routines
...
llvm-svn: 3618
2002-09-08 18:51:16 +00:00
Chris Lattner
fa03431b04
Minor bug fix.
...
llvm-svn: 3577
2002-09-03 23:12:40 +00:00
Chris Lattner
1d80a4fb6c
Fix bugs
...
llvm-svn: 3569
2002-09-02 20:49:27 +00:00
Chris Lattner
1d7454a065
Add printing support to ConstantRange class
...
llvm-svn: 3565
2002-09-02 00:18:22 +00:00
Chris Lattner
dde20e4a6b
Initial implementation of ConstantRange support
...
llvm-svn: 3563
2002-09-01 23:53:36 +00:00
Chris Lattner
a4b59e7f2b
Simplify writing custom parsers.
...
llvm-svn: 3256
2002-08-07 18:36:37 +00:00
Chris Lattner
86b1459fdb
Fix lli with no arguments
...
llvm-svn: 3226
2002-08-02 21:51:29 +00:00
Chris Lattner
e6e1bc4719
Fix bug that was causing problems for lli
...
llvm-svn: 3176
2002-07-31 16:29:43 +00:00
Chris Lattner
abbfb07573
* Fix assertion failure caused by command line argument getting removed after
...
the map was freed.
* Cleanup code a bit
llvm-svn: 3121
2002-07-29 20:58:42 +00:00
Chris Lattner
86e5192d95
Remove needless #include
...
llvm-svn: 3117
2002-07-27 05:25:29 +00:00
Chris Lattner
05fe67c0d2
*** empty log message ***
...
llvm-svn: 3075
2002-07-25 06:17:51 +00:00
Chris Lattner
2cc5c6616e
Fix problem that GCC3.1 doesn't like.
...
llvm-svn: 3050
2002-07-24 20:17:22 +00:00
Chris Lattner
b0e9d1b80c
Fix a bug exposed by lli
...
llvm-svn: 3049
2002-07-24 20:15:13 +00:00
Chris Lattner
585a05d786
Initial checkin
...
llvm-svn: 3005
2002-07-23 17:56:53 +00:00
Chris Lattner
24bcbdd155
*** empty log message ***
...
llvm-svn: 3002
2002-07-23 17:52:38 +00:00
Chris Lattner
d39f1f6b60
*** empty log message ***
...
llvm-svn: 2999
2002-07-23 17:15:12 +00:00
Chris Lattner
706b40541e
Minor bugfix, prevents error in LLI
...
llvm-svn: 2989
2002-07-22 02:21:57 +00:00
Chris Lattner
99ad379582
*** empty log message ***
...
llvm-svn: 2985
2002-07-22 02:10:13 +00:00
Chris Lattner
435788e8c3
Checkin CommandLine 2.0
...
llvm-svn: 2982
2002-07-22 02:07:59 +00:00
Anand Shukla
ee7ed50bb4
changes to make it compatible with 64bit gcc
...
llvm-svn: 2791
2002-06-25 20:55:50 +00:00
Chris Lattner
20ab8448b0
Fix const problems
...
llvm-svn: 2760
2002-06-05 17:55:27 +00:00
Chris Lattner
7f8f0b5863
Implement a new command line option, -debug, which is meant to unify all of
...
the random debugging macros scattered throughout llvm.
The new DEBUG(x) macro should be used instead of special purpose debug macros.
llvm-svn: 2709
2002-05-22 17:06:20 +00:00
Chris Lattner
555163a0ab
Add ability to update existing variables with values read from the command line
...
to certain classes. This is nice because it means that in header files we can
just declare a value, and still have that value be set based on a command-line
argument. The difference is now that the #include of CommandLine.h does not
need to go into the header file as well.
llvm-svn: 2708
2002-05-22 17:03:05 +00:00
Chris Lattner
8c131ef721
Initial checkin of Statistic class.
...
llvm-svn: 2598
2002-05-10 15:36:46 +00:00
Chris Lattner
96e0c48175
Eliminate duplicate or unneccesary #include's
...
llvm-svn: 2397
2002-04-29 17:42:12 +00:00
Chris Lattner
37c9e90c89
Add new api for basic signal handling for tools
...
llvm-svn: 2302
2002-04-18 19:53:53 +00:00
Chris Lattner
8afff0c29a
s/MethodType/FunctionType
...
llvm-svn: 2115
2002-04-04 22:19:18 +00:00
Chris Lattner
08443aa73b
64 bit clean now
...
llvm-svn: 1789
2002-02-24 23:02:12 +00:00
Chris Lattner
d1f09685e3
If an invalid alternative is listed for an argument, print the valid options
...
llvm-svn: 1604
2002-01-31 00:42:56 +00:00
Chris Lattner
3dc9a2a61f
Changes to build successfully with GCC 3.02
...
llvm-svn: 1503
2002-01-20 22:54:45 +00:00
Chris Lattner
c4a5815033
Renamed inst_const_iterator -> const_inst_iterator
...
Renamed op_const_iterator -> const_op_iterator
Renamed PointerType::getValueType() -> PointerType::getElementType()
llvm-svn: 1408
2001-12-04 00:03:30 +00:00
Chris Lattner
463cc31132
Create a new #include "Support/..." directory structure to move things
...
from "llvm/Support/..." that are not llvm dependant.
Move files and fix #includes
llvm-svn: 1400
2001-11-27 00:03:19 +00:00
Chris Lattner
9158ea6980
* Implement support for folding multiple single letter arguments together like
...
with ls: ls -la === ls -l -a
* Implement support for trimming arguments that start with a single letter
argument so that -lfoo is recognized as -l foo for the linker
llvm-svn: 1378
2001-11-26 18:58:34 +00:00
Chris Lattner
7a44b7776f
Checkin of C string stuff. Fix several bugs, including most escape codes being
...
printed as '\\n' instead of their correct code. Also print things in octal instead of hex.
llvm-svn: 1022
2001-10-29 13:28:00 +00:00
Chris Lattner
d4a079ffb0
Initial checkin of name mangling code moved from linker
...
llvm-svn: 1018
2001-10-28 23:44:03 +00:00
Chris Lattner
269c7dd5d3
Provide option to enable eating of all arguments following a specific one
...
llvm-svn: 986
2001-10-27 05:54:17 +00:00
Chris Lattner
c3cee9637c
Clean up error handling a bit. Add / as a seperator for command line arguments. This is just a big old ugly hack.
...
llvm-svn: 974
2001-10-24 06:21:56 +00:00
Chris Lattner
57781f7fda
Add StringList support
...
llvm-svn: 766
2001-10-13 06:53:19 +00:00
Chris Lattner
45768e6fe5
Clean up Type class by removing mutable ConstRules member and use annotations insead
...
llvm-svn: 516
2001-09-09 21:02:38 +00:00
Chris Lattner
99e8b0589f
Annotations are const objects now
...
llvm-svn: 458
2001-09-07 16:44:01 +00:00
Chris Lattner
b04aee8d08
Support passing a data pointer to annotation factory methods
...
llvm-svn: 376
2001-08-27 05:19:10 +00:00
Chris Lattner
d381beea6a
Add annotation support
...
llvm-svn: 366
2001-08-23 17:07:56 +00:00
Chris Lattner
8de7c629dd
Fixed a bug exposed when doing something like this: <program> -notanoption --help
...
llvm-svn: 293
2001-07-25 18:40:49 +00:00
Chris Lattner
aafababdd2
Doh! Wrong Optional flag. :(
...
llvm-svn: 290
2001-07-23 23:14:23 +00:00
Chris Lattner
501f2d27ea
Add a comment indicating that there is documentation of the library
...
llvm-svn: 289
2001-07-23 23:04:07 +00:00
Chris Lattner
866521c345
Minor changes to implementation of CommandLine library to let users override
...
options forced by different subclasses of Option
llvm-svn: 286
2001-07-23 23:02:45 +00:00
Chris Lattner
3e365b974b
CommandLine library cleanup. No longer use getValue/setValue, instead, just treat the commandline
...
args as the objects they represent and the "right thing" will happen
llvm-svn: 283
2001-07-23 19:27:24 +00:00
Chris Lattner
ff6c44f04f
Moved inline/llvm/Tools/* to include/llvm/Support/*
...
llvm-svn: 279
2001-07-23 17:46:59 +00:00
Chris Lattner
59f8477b5c
Initial checkin
...
llvm-svn: 278
2001-07-23 17:17:47 +00:00
Chris Lattner
f42a7804c8
Large scale changes to implement new command line argument facility
...
llvm-svn: 272
2001-07-23 02:35:57 +00:00
Chris Lattner
833a705036
Convert from using C style char*'s to strings.
...
Look ma, no strdups
llvm-svn: 265
2001-07-22 03:57:31 +00:00
Chris Lattner
09dffa5c66
Remove String file some more
...
llvm-svn: 264
2001-07-22 00:46:48 +00:00
Chris Lattner
c22bd8dd74
Remove stringutils.h file
...
llvm-svn: 263
2001-07-22 00:18:33 +00:00
Vikram S. Adve
1b172a1df5
Program options class.
...
llvm-svn: 235
2001-07-21 12:43:07 +00:00