Commit Graph

1375 Commits

Author SHA1 Message Date
Eric Dobson
dedd42a9dd Fixed and cleaned up some types. 2011-06-22 15:17:57 -04:00
Eric Dobson
7803aed77b Added types for tcp and udp operations. 2011-06-22 15:17:57 -04:00
Eric Dobson
85b19e9fee Added types for syntax operations. 2011-06-22 15:16:56 -04:00
Eric Dobson
ad247b28b6 Added types for environment and runtime operations. 2011-06-22 15:16:56 -04:00
Eric Dobson
ae26c2173d Added types for file operations. 2011-06-22 15:16:55 -04:00
Eric Dobson
329b209f3b TR: Many small type changes. 2011-06-22 15:16:55 -04:00
Eric Dobson
4f898865fd Added types for namespace and variable reference operations. 2011-06-22 15:16:55 -04:00
Eric Dobson
7102c4dae2 Added types for hash and set operations. 2011-06-22 15:16:55 -04:00
Eric Dobson
469f0a5314 Added types for parameters and parameterization operations. 2011-06-22 15:16:55 -04:00
Eric Dobson
a913a1432d TR: Added Thread Cells and corresponding operations 2011-06-22 15:16:55 -04:00
Eric Dobson
bdf0d13970 Added types for thread operations. Added Custodian type. 2011-06-22 15:16:55 -04:00
Vincent St-Amour
32d80f4c01 Remove duplicate require. 2011-06-22 14:43:42 -04:00
Vincent St-Amour
d946060a13 Fix type of = to only accept 2+ arguments. 2011-06-22 14:32:05 -04:00
Sam Tobin-Hochstadt
7b9cd61cb3 Fix requires/provides of `typed-scheme' language. 2011-06-22 14:28:53 -04:00
Sam Tobin-Hochstadt
9dde2a6d39 Document #% forms. 2011-06-22 14:28:52 -04:00
Sam Tobin-Hochstadt
2cdf05ad5c Fix type-env-lang to handle require'/provide' better. 2011-06-22 14:28:52 -04:00
Sam Tobin-Hochstadt
f195b3c689 Remove `SomeSystemPath'. 2011-06-22 14:28:51 -04:00
Sam Tobin-Hochstadt
00f9e6342f Avoid providing renamed identifiers. 2011-06-22 12:40:51 -04:00
Sam Tobin-Hochstadt
9be4b16703 Rename SomeSystemPath to `Path-For-Some-System' 2011-06-21 15:34:50 -04:00
Sam Tobin-Hochstadt
d8c972734d Fix missing documentation of alias forms. 2011-06-21 15:34:50 -04:00
Sam Tobin-Hochstadt
fbc76a3074 Support additional `provide'. 2011-06-21 15:34:50 -04:00
Eric Dobson
0f6fde5003 Fixes TR regexp regression. Closes PR11991. 2011-06-21 15:34:50 -04:00
Vincent St-Amour
f9205665e4 Add a section on performance debugging to the TR guide. 2011-06-17 18:18:04 -04:00
Vincent St-Amour
26b909744c Display irritants nicely. 2011-06-17 18:18:04 -04:00
Vincent St-Amour
e8dcee732e Don't merge missed optimizations repeatedly, which artificially increases badness. 2011-06-17 18:18:04 -04:00
Vincent St-Amour
fc08b4d401 Display badness of missed optimizations. 2011-06-17 18:18:04 -04:00
Vincent St-Amour
9dbca39cfe Use write instead of display for syntax in logs. 2011-06-17 18:18:04 -04:00
Vincent St-Amour
847e4b2e23 Do duplicate detection at the expanded syntax level, instead of the source level. 2011-06-17 18:18:04 -04:00
Vincent St-Amour
fddf189530 Report opts and missed opts in terms of the original programs, not in terms of expanded code. 2011-06-17 18:18:04 -04:00
Vincent St-Amour
86efbc8396 Specify opt or missed opt in the TR log format. 2011-06-17 18:18:03 -04:00
Vincent St-Amour
d9256f2b76 Refactoring. 2011-06-17 18:18:03 -04:00
Vincent St-Amour
1a2080fc97 Handle the case where we would need to merge with multiple children at once. 2011-06-17 18:18:02 -04:00
Vincent St-Amour
e095976c8b Simplify log sorting. 2011-06-17 18:18:02 -04:00
Vincent St-Amour
8d2f66faa6 First attempt at handling missed optimization cascades.
Currently, if missed optimizations a and b are of the same kind, a is caused
by b, and b is caused by c, we merge them into a single miss with cause c.

This works in some cases, but fails in others.
2011-06-17 18:18:02 -04:00
Vincent St-Amour
6de90b7185 Sort irritants by source location. 2011-06-17 18:18:02 -04:00
Vincent St-Amour
c5ca1422a2 Abstract out printing of missed optimization log messages. 2011-06-17 18:18:02 -04:00
Vincent St-Amour
4c31b08554 Put logging code in its own file. 2011-06-17 18:18:02 -04:00
Vincent St-Amour
c54717d557 Have more structure to missed optimizations, for eventual handling of nesting and/or missed optimization cascades. 2011-06-17 18:18:02 -04:00
Vincent St-Amour
6b5095df2d Have multiple irritants for missed optimizations. 2011-06-17 18:18:02 -04:00
Vincent St-Amour
cb706aab9c Change log message to reflect new behavior. 2011-06-17 18:18:02 -04:00
Vincent St-Amour
f547b99ed5 Remove useless irritant. 2011-06-17 18:18:02 -04:00
Vincent St-Amour
9528f63cf0 Swap miss region and irritant. 2011-06-17 18:18:02 -04:00
Vincent St-Amour
647ae4fe9a Report missed optimizations for unary float operations. 2011-06-17 18:18:01 -04:00
Vincent St-Amour
cc129adb39 Make unary float optimizations less restrictive. 2011-06-17 18:18:01 -04:00
Vincent St-Amour
484fb029f1 Rephrase a missed optimization message. 2011-06-17 18:18:01 -04:00
Vincent St-Amour
81d6e380da Add a "unique" key to log messages that are sent by the optimizer. 2011-06-17 18:18:01 -04:00
Vincent St-Amour
7347da4919 Use racket's logging facilities for the optimizer logs. 2011-06-17 18:18:01 -04:00
Vincent St-Amour
9ae4f82c0a Sort optimizer logs by source location, to prepare for eventual user consumption. 2011-06-17 18:18:00 -04:00
Vincent St-Amour
5a151420e4 Keep source location around for derived pair optimizations. 2011-06-17 18:18:00 -04:00
Vincent St-Amour
b8b061fb39 Don't print duplicate log entries. 2011-06-17 18:18:00 -04:00