- Jan 28, 2009
-
-
Sebastian Redl authored
llvm-svn: 63150
-
- Jan 27, 2009
-
-
Fariborz Jahanian authored
llvm-svn: 63141
-
Steve Naroff authored
Also changed FunctionTypeProto to be allocated with 8-byte alignment (noticed by Doug). I couldn't think of any reason to allocate on 16-byte boundaries. If anyone remembers why we were doing this, let me know! llvm-svn: 63137
-
Steve Naroff authored
Remove many references to ASTContext::getAllocator(), replacing them with calls to the recently added placement new (which uses ASTContext's allocator for memory). Also added ASTContext::Deallocate(). This will simplify runtime replacement of ASTContext's allocator. Keeping the allocator private (and removing getAllocator() entirely) is also goodness. llvm-svn: 63135
-
Anders Carlsson authored
If an input constraint refers to an output constraint, it should have the same constraint info as the output constraint. Fixes PR3417 llvm-svn: 63127
-
Fariborz Jahanian authored
Still more work to do in this area. llvm-svn: 63126
-
Fariborz Jahanian authored
llvm-svn: 63116
-
Chris Lattner authored
.def file for each library. This means that adding a diagnostic to sema doesn't require all the other libraries to be rebuilt. Patch by Anders Johnsen! llvm-svn: 63111
-
Ted Kremenek authored
Fix bug in BasicStore::getLValueElement where if the base of an array subscript expression was an ElementRegion we stacked another ElementRegion on top of that. This fixes PR 3422. llvm-svn: 63110
-
Chris Lattner authored
of a type. The implementation is currently something of a hack, but is sufficient for now and allows clients to be built on it. llvm-svn: 63108
-
Eli Friedman authored
llvm-svn: 63101
-
Eli Friedman authored
__extension__. This sort of construct shows up in the gcc source code. llvm-svn: 63100
-
Chris Lattner authored
as reported to the user and as manipulated by #line. This is what __FILE__, __INCLUDE_LEVEL__, diagnostics and other things should follow (but not dependency generation!). This patch also includes several cleanups along the way: - SourceLocation now has a dump method, and several other places that did similar things now use it. - I cleaned up some code in AnalysisConsumer, but it should probably be simplified further now that NamedDecl is better. - TextDiagnosticPrinter is now simplified and cleaned up a bit. This patch is a prerequisite for #line, but does not actually provide any #line functionality. llvm-svn: 63098
-
Chris Lattner authored
llvm-svn: 63097
-
Chris Lattner authored
llvm-svn: 63094
-
Chris Lattner authored
address space we used up. Some interesting data: For c99-intconst-1.c: 6912762 SLocEntry's allocated, 25592386B of Sloc address space used. For cocoa.h: 26469 SLocEntry's allocated, 10278752B of Sloc address space used. For carbon.h: 27364 SLocEntry's allocated, 12398141B of Sloc address space used. Clearly 2G of sloc address space should be enough for anyone?! llvm-svn: 63093
-
Chris Lattner authored
llvm-svn: 63092
-
Daniel Dunbar authored
- gcc appears to be classifying <1 x double> as INTEGER which is odd. Will investigate later. llvm-svn: 63086
-
Chris Lattner authored
llvm-svn: 63085
-
Ted Kremenek authored
- Add the distinction between the 'bug type' and the 'bug description' HTMLDiagnostics: - Output the bug type field as HTML comments scan-build: - Use the bug type field instead of the bug description for the HTML table. - Radar filing now automatically picks up the bug description in the title (addresses <rdar://problem/6265970>) llvm-svn: 63084
-
Daniel Dunbar authored
- Code quality is poor, but simple. llvm-svn: 63083
-
Ted Kremenek authored
PTH: Use Token::setLiteralData() to directly store a pointer to cached spelling data in the PTH file. This removes a ton of code for looking up spellings using sourcelocations in the PTH file. This simplifies both PTH-generation and reading. Performance impact for -fsyntax-only on Cocoa.h (with Cocoa.h in the PTH file): - PTH generation time improves by 5% - PTH reading improves by 0.3%. llvm-svn: 63072
-
Fariborz Jahanian authored
llvm-svn: 63071
-
Daniel Dunbar authored
case correctly. llvm-svn: 63068
-
- Jan 26, 2009
-
-
Fariborz Jahanian authored
as well (for nonfragile-abi). llvm-svn: 63062
-
Douglas Gregor authored
- When it's safe, ActionResult uses the low bit of the pointer for the "invalid" flag rather than a separate "bool" value. This keeps GCC from generating some truly awful code, for a > 3x speedup in the result-passing microbenchmark. - When DISABLE_SMART_POINTERS is defined, store an ActionResult within ASTOwningResult rather than an ASTOwningPtr. Brings the performance benefits of the above to smart pointers with DISABLE_SMART_POINTERS defined. Sadly, these micro-benchmark performance improvements don't seem to make much of a difference on Cocoa.h right now. However, they're harmless and might help with future optimizations. llvm-svn: 63061
-
Chris Lattner authored
optimize it to use the LiteralData when possible. llvm-svn: 63060
-
Chris Lattner authored
to crash when given an instantiation location. Thanks to Fariborz for the testcase. llvm-svn: 63057
-
Sebastian Redl authored
llvm-svn: 63055
-
Ted Kremenek authored
llvm-svn: 63054
-
Ted Kremenek authored
llvm-svn: 63047
-
Ted Kremenek authored
Embed the offset of the PTH table inside the prologue of the PTH file. This will help improve gradual versioning of PTH files instead of relying that the PTH table is at a fixed offset. llvm-svn: 63045
-
Fariborz Jahanian authored
meta-data. llvm-svn: 63043
-
Daniel Dunbar authored
llvm-svn: 63039
-
Daniel Dunbar authored
a unified return). llvm-svn: 63038
-
Chris Lattner authored
instantiation history in an effort to speed up c99-intconst-1.c. Now that multiple nested instantiations are allowed, we just make them and don't pay the cost of lookups. With the other changes that went in before this, reverting this is actually a speedup for c99-intconst-1.c, speeding it up from 1.96s to 1.80s, and preserves much better loc info. llvm-svn: 63036
-
Chris Lattner authored
history llvm-svn: 63035
-
Chris Lattner authored
source locations, allow creation of them. We can now say that a token was instantiated here, then here, then here. llvm-svn: 63034
-
Chris Lattner authored
locations, and move the slow case out of line. No perf change on cocoa.h llvm-svn: 63033
-
Sebastian Redl authored
llvm-svn: 63032
-