- Apr 28, 2009
-
-
Bill Wendling authored
use the old behavior, the flag is -O0. This change allows for finer-grained control over which optimizations are run at different -O levels. Most of this work was pretty mechanical. The majority of the fixes came from verifying that a "fast" variable wasn't used anymore. The JIT still uses a "Fast" flag. I'm not 100% sure if it's necessary to change it there... llvm-svn: 70270
-
Eli Friedman authored
builds to work (PR4088). llvm-svn: 70269
-
Eli Friedman authored
llvm-svn: 70268
-
Devang Patel authored
llvm-svn: 70266
-
Douglas Gregor authored
Clang version value rather than hard-coding "1.0". Add PCH and Clang version information into the PCH file. Reject PCH files with the wrong version information. llvm-svn: 70264
-
Chris Lattner authored
llvm-svn: 70263
-
Dan Gohman authored
llvm-svn: 70262
-
Chris Lattner authored
llvm-svn: 70259
-
- Apr 27, 2009
-
-
Chris Lattner authored
processing to after PCH is loaded. -Eonly and -parse-noop are close to working with PCH now but are not quite there yet. llvm-svn: 70257
-
Sebastian Redl authored
llvm-svn: 70256
-
Douglas Gregor authored
ignore a PCH file. llvm-svn: 70251
-
Chris Lattner authored
llvm-svn: 70250
-
Daniel Dunbar authored
- Forces input file to be empty to time startup/shutdown costs. llvm-svn: 70249
-
Sebastian Redl authored
llvm-svn: 70248
-
Dale Johannesen authored
llvm-svn: 70247
-
Evan Cheng authored
llvm-svn: 70245
-
Dan Gohman authored
between the comparison's iv stride and the candidate stride is exactly -1. llvm-svn: 70244
-
Jeffrey Yasskin authored
the comparison operators were not only unnecessary in the presence of the implicit conversion; they caused ambiguous overload errors. So I deleted them. llvm-svn: 70243
-
Sebastian Redl authored
Improve validation of C++ exception handling: diagnose throwing incomplete types and jumps into protected try-catch scopes. llvm-svn: 70242
-
Dan Gohman authored
information to simplify [sz]ext({a,+,b}) to {zext(a),+,[zs]ext(b)}, as appropriate. These functions and the trip count code each call into the other, so this requires careful handling to avoid infinite recursion. During the initial trip count computation, conservative SCEVs are used, which are subsequently discarded once the trip count is actually known. Among other benefits, this change lets LSR automatically eliminate some unnecessary zext-inreg and sext-inreg operation where the operand is an induction variable. llvm-svn: 70241
-
Douglas Gregor authored
Add Sema::ExtVectorDecls and Sema::ObjCCategoryImpls to the PCH file. Since these vectors are very, very rarely used and, when used in headers, and even when used are relatively small, we load them eagerly. llvm-svn: 70240
-
Chris Lattner authored
only llvm-bcanalyzer wants this info. llvm-svn: 70239
-
Owen Anderson authored
This should have no effect on generated code, but makes the intermediate state of the coalescer more sane. llvm-svn: 70238
-
Ted Kremenek authored
'objc_ownership_cfrelease'. These are the 'release' equivalents of 'objc_ownership_retain' and 'objc_ownership_cfretain' respectively. llvm-svn: 70235
-
Duncan Sands authored
no-longer needed workarounds. llvm-svn: 70234
-
Dale Johannesen authored
llvm-svn: 70233
-
Ted Kremenek authored
treated as "not owned" objects. llvm-svn: 70232
-
Chris Lattner authored
llvm-svn: 70229
-
Chris Lattner authored
entries, shaving 100K off the PCH file for cocoa. llvm-svn: 70228
-
Douglas Gregor authored
llvm-svn: 70227
-
Nate Begeman authored
llvm-svn: 70226
-
Nate Begeman authored
PR2957 ISD::VECTOR_SHUFFLE now stores an array of integers representing the shuffle mask internal to the node, rather than taking a BUILD_VECTOR of ConstantSDNodes as the shuffle mask. A value of -1 represents UNDEF. In addition to eliminating the creation of illegal BUILD_VECTORS just to represent shuffle masks, we are better about canonicalizing the shuffle mask, resulting in substantially better code for some classes of shuffles. llvm-svn: 70225
-
Ted Kremenek authored
HandleObjCOwnershipParmAttr. No functionality change (hopefully). llvm-svn: 70224
-
Douglas Gregor authored
essentially the same thing we do with pretokenized headers. stat() caching improves performance of the Cocoa-prefixed "Hello, World" by 45%. llvm-svn: 70223
-
Daniel Dunbar authored
member. Also, spell bitfield more consistently as bit-field. llvm-svn: 70220
-
Ted Kremenek authored
as 'objc_ownership_cfretain' except that the method acts like a CFRetain instead of a [... retain] (important in GC modes). Checker support is wired up, but currently only for Objective-C message expressions (not function calls). llvm-svn: 70218
-
Sebastian Redl authored
llvm-svn: 70217
-
Chris Lattner authored
of 64 bits. This cuts 400KB off the PCH file for cocoa (7.1 -> 6.7MB): Before: Record Histogram: Count # Bits % Abv Record Kind 1 14296 SOURCE_LOCATION_PRELOADS 1 1699598 100.00 SOURCE_LOCATION_OFFSETS 1 1870766 100.00 METHOD_POOL 1 212988 100.00 SELECTOR_OFFSETS 1 88 STATISTICS 1 106 SPECIAL_TYPES 1 18033788 100.00 IDENTIFIER_TABLE 1 1806428 100.00 IDENTIFIER_OFFSET 1 170 100.00 TARGET_TRIPLE 1 268 LANGUAGE_OPTIONS 1 5168252 100.00 DECL_OFFSET 1 952700 100.00 TYPE_OFFSET After: Record Histogram: Count # Bits % Abv Record Kind 1 14296 SOURCE_LOCATION_PRELOADS 1 1699598 100.00 SOURCE_LOCATION_OFFSETS 1 1870766 100.00 METHOD_POOL 1 212988 100.00 SELECTOR_OFFSETS 1 88 STATISTICS 1 106 SPECIAL_TYPES 1 18033788 100.00 IDENTIFIER_TABLE 1 1806428 100.00 IDENTIFIER_OFFSET 1 170 100.00 TARGET_TRIPLE 1 268 LANGUAGE_OPTIONS 1 2584156 100.00 DECL_OFFSET 1 476380 100.00 TYPE_OFFSET llvm-svn: 70216
-
Chris Lattner authored
and % abbreviated. For example: Record Histogram: Count # Bits % Abv Record Kind 25738 3424174 100.00 SM_SLOC_INSTANTIATION_ENTRY 814 562079 100.00 SM_SLOC_FILE_ENTRY 798 34110 SM_HEADER_FILE_INFO 3 91104 100.00 SM_SLOC_BUFFER_BLOB 3 498 100.00 SM_SLOC_BUFFER_ENTRY 1 465 SM_LINE_TABLE llvm-svn: 70215
-
Chris Lattner authored
instead of ostreams for formatting. llvm-svn: 70214
-