- Jul 24, 2007
-
-
Chris Lattner authored
llvm-svn: 40462
-
Chris Lattner authored
This speeds up -E on xalancbmk by 2.4% llvm-svn: 40461
-
Chris Lattner authored
llvm-svn: 40460
-
Chris Lattner authored
bottleneck for -E computation, because every token that starts a line needs to determine *which* line it is on (so -E mode can insert the appropriate vertical whitespace). This optimization improves this common case where it is striding through the line # table. This speeds up -E on xalancbmk by 3.2% llvm-svn: 40459
-
Chris Lattner authored
by Neil Booth. This fixes Preprocessor/output_paste_avoid.c llvm-svn: 40454
-
Chris Lattner authored
Patch by Neil Booth! llvm-svn: 40452
-
Chris Lattner authored
llvm-svn: 40450
-
- Jul 23, 2007
-
-
Chris Lattner authored
this fixes test/Sema/switch.c. llvm-svn: 40438
-
Chris Lattner authored
llvm-svn: 40424
-
Chris Lattner authored
This speeds up -E on 447.dealII by 5.8% llvm-svn: 40423
-
Chris Lattner authored
trivial to handle and very very common. This speeds up -E on 447.dealII by 2.5% llvm-svn: 40422
-
Chris Lattner authored
and avoid computing the spelling of tokens when not needed. This speeds up -E on 447.dealII by 2.2% llvm-svn: 40421
-
Chris Lattner authored
without having to get the whole token. This speeds up -E on 447.dealII by 1.8% llvm-svn: 40420
-
Chris Lattner authored
llvm-svn: 40419
-
Chris Lattner authored
it did not handle <xyz> headers coming from macro expansions. This requires special treatment, as the include name is lexed as multiple tokens, which require reassembly before processing. llvm-svn: 40418
-
Chris Lattner authored
no functionality changes. llvm-svn: 40414
-
Chris Lattner authored
that required cleaning. If the token required cleaning, don't include the cleaned tokens in the returned length. llvm-svn: 40410
-
Chris Lattner authored
token was not -> and if the token before it was -, the - and > would avoid pasting. llvm-svn: 40409
-
Chris Lattner authored
C++ mode, even gnu C++ mode. llvm-svn: 40408
-
- Jul 22, 2007
-
-
Chris Lattner authored
a llvm::StringMap. This dramatically reduces the startup time of the preprocessor, speeding up -Eonly on xalankbmk by 2.2%. llvm-svn: 40396
-
Chris Lattner authored
memorybuffer instead of a pointer to the memorybuffer itself. This reduces coupling and eliminates a pointer dereference on a hot path. This speeds up -Eonly on 483.xalancbmk by 2.1% llvm-svn: 40394
-
Chris Lattner authored
compiler inline it. This speeds up -Eonly on 483.xalancbmk by about 1% llvm-svn: 40393
-
Chris Lattner authored
preprocessing 483.xalancbmk by about 10%, reducing the number of file lookup queries from 2139411 to 199466 (over 10x) llvm-svn: 40390
-
Anders Carlsson authored
llvm-svn: 40388
-
Chris Lattner authored
llvm-svn: 40386
-
Chris Lattner authored
llvm-svn: 40385
-
Chris Lattner authored
// foo // bar // baz we'd get two levels of call (bcpl & whitespace) for each line, leading to some seriously deep stacks in some cases. llvm-svn: 40384
-
Chris Lattner authored
fileid's and macroid's across files. Clearing between files keeps the tables smaller and slightly speeds up compilation. llvm-svn: 40383
-
Chris Lattner authored
llvm-svn: 40381
-
Chris Lattner authored
redefinition of a macro could cause invalid memory to be deleted. Found preprocessing 253.perlbmk. llvm-svn: 40380
-
Chris Lattner authored
int i = /*/ */ 1; Thanks to Neil for pointing this out. llvm-svn: 40379
-
- Jul 21, 2007
-
-
Steve Naroff authored
llvm-svn: 40375
-
Chris Lattner authored
keeps the MacroInfo table more compact. llvm-svn: 40281
-
Chris Lattner authored
llvm-svn: 40264
-
Chris Lattner authored
llvm-svn: 40189
-
Chris Lattner authored
llvm-svn: 40176
-
Chris Lattner authored
llvm-svn: 40173
-
Chris Lattner authored
llvm-svn: 40169
-
Chris Lattner authored
llvm-svn: 40163
-
Anders Carlsson authored
llvm-svn: 40162
-