| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
| |
llvm-svn: 59478
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This is because the PTHLexer will not support this method. Performance testing
on preprocessing Cocoa.h shows that this results in a negligible performance
difference (less than 1%).
I tried making Lexer::SetCommentRetentionState() an out-of-line function (a
precursor to making it a virtual function in PreprocessorLexer) and noticed a 1%
decrease in speed (it is called in a hot part of the Preprocessor).
llvm-svn: 59477
|
| |
|
|
|
|
| |
that are widely used.
llvm-svn: 59476
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
new CycleBound value. Instead, just update CycleBound on each call.
Also, make ReleasePred and ReleaseSucc methods more consistent accross
the various schedulers.
This also happens to make ScheduleDAGRRList's CycleBound computation
somewhat more interesting, though it still doesn't have any noticeable
effect, because no current targets that use the register-pressure
reduction scheduler provide pipeline models.
llvm-svn: 59475
|
| |
|
|
|
|
|
|
| |
alias for the current PreprocessorLexer. No functionality change. Performance
testing shows this results in no performance degradation when preprocessing
Cocoa.h.
llvm-svn: 59474
|
| |
|
|
|
|
|
|
|
| |
PreprocessorLexer, which will either be a 'Lexer' or 'PTHLexer'.
- Added stub field 'CurPTHLexer' to keep track of the current PTHLexer.
- Modified IncludeStackInfo to track both the current PTHLexer and
current PreprocessorLexer.
llvm-svn: 59472
|
| |
|
|
|
|
| |
increment value.
llvm-svn: 59471
|
| |
|
|
| |
llvm-svn: 59470
|
| |
|
|
|
|
|
|
|
| |
destructors, and conversion functions. The placeholders were used to
work around the fact that the parser and some of Sema really wanted
declarators to have simple identifiers; now, the code that deals with
declarators will use DeclarationNames.
llvm-svn: 59469
|
| |
|
|
|
|
|
|
| |
where the control reaches the end of a non-void function and also allows the
compiler to generate better code. When this assertion is false we can easily
add more else cases.
llvm-svn: 59468
|
| |
|
|
|
|
| |
Missing special lookup rule in Sema::ActOnInstanceMessage().
llvm-svn: 59467
|
| |
|
|
| |
llvm-svn: 59466
|
| |
|
|
|
|
| |
functions in these two schedulers.
llvm-svn: 59465
|
| |
|
|
|
|
|
| |
patch by Richard Osborne, tweaked and extended by your humble
servant.
llvm-svn: 59464
|
| |
|
|
| |
llvm-svn: 59463
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
C++ constructors, destructors, and conversion functions now have a
FETokenInfo field that IdentifierResolver can access, so that these
special names are handled just like ordinary identifiers. A few other
Sema routines now use DeclarationNames instead of IdentifierInfo*'s.
To validate this design, this code also implements parsing and
semantic analysis for id-expressions that name conversion functions,
e.g.,
return operator bool();
The new parser action ActOnConversionFunctionExpr takes the result of
parsing "operator type-id" and turning it into an expression, using
the IdentifierResolver with the DeclarationName of the conversion
function. ActOnDeclarator pushes those conversion function names into
scope so that the IdentifierResolver can find them, of course.
llvm-svn: 59462
|
| |
|
|
| |
llvm-svn: 59461
|
| |
|
|
|
|
|
| |
are trying to use the old GCC "casts as lvalue" extension. We don't and
will hopefully never support this.
llvm-svn: 59460
|
| |
|
|
|
|
| |
qualified id.
llvm-svn: 59459
|
| |
|
|
|
|
| |
a side-car datastructure
llvm-svn: 59458
|
| |
|
|
| |
llvm-svn: 59457
|
| |
|
|
|
|
| |
are not currently done (cf PowerPC/README.txt).
llvm-svn: 59456
|
| |
|
|
|
|
| |
optimizations) into this wishlist.
llvm-svn: 59455
|
| |
|
|
| |
llvm-svn: 59454
|
| |
|
|
| |
llvm-svn: 59451
|
| |
|
|
|
|
| |
for the target. This fixes PR3080.
llvm-svn: 59450
|
| |
|
|
| |
llvm-svn: 59449
|
| |
|
|
|
|
| |
compilation graph.
llvm-svn: 59448
|
| |
|
|
|
|
|
| |
Use strings instead of TableGen defs in the compilation graph
definition. Makes it easier for the plugins to modify an existing graph.
llvm-svn: 59447
|
| |
|
|
| |
llvm-svn: 59446
|
| |
|
|
| |
llvm-svn: 59445
|
| |
|
|
| |
llvm-svn: 59444
|
| |
|
|
| |
llvm-svn: 59443
|
| |
|
|
|
|
| |
operators
llvm-svn: 59442
|
| |
|
|
|
|
|
|
| |
representing the names of declarations in the C family of
languages. DeclarationName is used in NamedDecl to store the name of
the declaration (naturally), and ObjCMethodDecl is now a NamedDecl.
llvm-svn: 59441
|
| |
|
|
| |
llvm-svn: 59438
|
| |
|
|
| |
llvm-svn: 59437
|
| |
|
|
| |
llvm-svn: 59436
|
| |
|
|
|
|
| |
moment.
llvm-svn: 59435
|
| |
|
|
| |
llvm-svn: 59434
|
| |
|
|
| |
llvm-svn: 59433
|
| |
|
|
| |
llvm-svn: 59432
|
| |
|
|
|
|
| |
PR2898.
llvm-svn: 59431
|
| |
|
|
| |
llvm-svn: 59430
|
| |
|
|
|
|
| |
comment)
llvm-svn: 59429
|
| |
|
|
| |
llvm-svn: 59428
|
| |
|
|
|
|
|
| |
Unfortunately, we're not here yet, but eventually Expr::isConstantExpr
and friends should go away.
llvm-svn: 59427
|
| |
|
|
| |
llvm-svn: 59426
|
| |
|
|
| |
llvm-svn: 59425
|
| |
|
|
| |
llvm-svn: 59424
|