| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Write the identifier table into the PCH file as an on-disk hash table | Douglas Gregor | 2009-04-20 | 1 | -2/+3 | |
| | | | | | | | | | | | | that also includes the contents of the IdentifierInfo itself (the various fields and flags, along with the chain of identifiers visible at the top level that have that name). We don't make any use of the hash table yet, except that our identifier ID -> string mapping points into the hash table now. llvm-svn: 69625 | |||||
| * | Add pch reader/writer support for ObjCContainerDecl, ObjCInterfaceDecl, & ↵ | Steve Naroff | 2009-04-20 | 1 | -0/+43 | |
| | | | | | | | | | ObjCIvarDecl. Next step: Add selector support to PCHWriter::AddDeclarationName(). llvm-svn: 69619 | |||||
| * | the __gnuc_inline__ attribute is actually named __gnu_inline__, | Chris Lattner | 2009-04-20 | 1 | -1/+1 | |
| | | | | | | | PR4023 llvm-svn: 69618 | |||||
| * | Add pch reader/writer support for ObjCMethodDecl. | Steve Naroff | 2009-04-20 | 1 | -0/+31 | |
| | | | | | | | Test will be enabled with ObjCInterfaceDecl is added. llvm-svn: 69594 | |||||
| * | Add location info for indirect goto. | Chris Lattner | 2009-04-19 | 1 | -0/+1 | |
| | | | | | llvm-svn: 69497 | |||||
| * | Store the type ID for __builtin_va_list in the PCH file, so that the | Douglas Gregor | 2009-04-18 | 1 | -0/+8 | |
| | | | | | | | | | AST context's __builtin_va_list type will be set when the PCH file is loaded. This fixes the crash when CodeGen'ing a va_arg expression pulled in from a PCH file. llvm-svn: 69421 | |||||
| * | Lazy deserialization of function bodies for PCH files. For the Carbon | Douglas Gregor | 2009-04-18 | 1 | -1/+10 | |
| | | | | | | | | | | | "Hello, World!", this takes us from deserializing 6469 statements/expressions down to deserializing 1 statement/expression. It only translated into a 1% improvement on the Carbon-prefixed 403.gcc, but (a) it's the right thing to do, and (b) we expect this to matter more once we lazily deserialize identifiers. llvm-svn: 69407 | |||||
| * | Keep track of the number of statements/expressions written to and read | Douglas Gregor | 2009-04-17 | 1 | -1/+11 | |
| | | | | | | | | from a PCH file. It turns out that "Hello, World!" is bringing in 19% of all of the statements in Carbon.h, so we need to be lazy. llvm-svn: 69393 | |||||
| * | PCH support for inline assembly statements. | Douglas Gregor | 2009-04-17 | 1 | -0/+41 | |
| | | | | | | | | This completes support for all of C (+ extensions). We can (again) build a PCH file for Carbon.h. llvm-svn: 69385 | |||||
| * | PCH tests for va_arg expressions. Verified that the blocks test does create ↵ | Douglas Gregor | 2009-04-17 | 1 | -2/+0 | |
| | | | | | | | a BlockDeclRefExpr llvm-svn: 69376 | |||||
| * | PCH support for blocks | Douglas Gregor | 2009-04-17 | 1 | -0/+13 | |
| | | | | | llvm-svn: 69373 | |||||
| * | PCH support for GNU statement expressions | Douglas Gregor | 2009-04-17 | 1 | -0/+13 | |
| | | | | | llvm-svn: 69370 | |||||
| * | PCH support for indirect gotos and address-of-label expressions. | Douglas Gregor | 2009-04-17 | 1 | -0/+54 | |
| | | | | | llvm-svn: 69369 | |||||
| * | PCH support for labels and goto. | Douglas Gregor | 2009-04-17 | 1 | -1/+64 | |
| | | | | | llvm-svn: 69364 | |||||
| * | PCH support for declaration statements, and a test for PredefinedExpr | Douglas Gregor | 2009-04-17 | 1 | -1/+24 | |
| | | | | | llvm-svn: 69356 | |||||
| * | PCH support for return statements. | Douglas Gregor | 2009-04-17 | 1 | -0/+13 | |
| | | | | | | | | Optimize PCH encoding for switch-case statements slightly, by making the switch-case numbering local to a particular statement. llvm-svn: 69355 | |||||
| * | PCH support for do-while and for loops | Douglas Gregor | 2009-04-17 | 1 | -0/+28 | |
| | | | | | llvm-svn: 69334 | |||||
| * | PCH support for while and continue statements | Douglas Gregor | 2009-04-17 | 1 | -0/+24 | |
| | | | | | llvm-svn: 69332 | |||||
| * | PCH support for the first batch of statements, including null, | Douglas Gregor | 2009-04-17 | 1 | -2/+133 | |
| | | | | | | | compound, case, default, if, switch, and break statements. llvm-svn: 69329 | |||||
| * | Clean up the declaration-decoding step in the PCH reader, using the | Douglas Gregor | 2009-04-16 | 1 | -59/+26 | |
| | | | | | | | same ueber-easy visitor scheme used for expressions/statements. llvm-svn: 69320 | |||||
| * | Prepare PCH reader and writer for (de-)serialization of statements. No | Douglas Gregor | 2009-04-16 | 1 | -74/+79 | |
| | | | | | | | functionality change. llvm-svn: 69319 | |||||
| * | Eliminate pch::TYPE_ATTR, which is never used | Douglas Gregor | 2009-04-16 | 1 | -4/+0 | |
| | | | | | llvm-svn: 69256 | |||||
| * | PCH support for CompoundLiteralExpr. This is the last C expression | Douglas Gregor | 2009-04-16 | 1 | -0/+13 | |
| | | | | | | | | that does not require PCH support for statements. Only AddrLabelExpr, StmtExpr, and BlockExpr remain (for C). llvm-svn: 69255 | |||||
| * | PCH support for InitListExpr, DesignatedInitExpr, and ImplicitValueInitExpr. | Douglas Gregor | 2009-04-16 | 1 | -0/+102 | |
| | | | | | llvm-svn: 69251 | |||||
| * | PCH support for ShuffleVectorExpr and BlockDeclRefExpr | Douglas Gregor | 2009-04-16 | 1 | -0/+28 | |
| | | | | | llvm-svn: 69244 | |||||
| * | PCH support for TypesCompatibleExpr, ChooseExpr, and GNUNullExpr. | Douglas Gregor | 2009-04-15 | 1 | -0/+39 | |
| | | | | | llvm-svn: 69242 | |||||
| * | PCH support for ExtVectorElementExpr and VAArgExpr. | Douglas Gregor | 2009-04-15 | 1 | -0/+28 | |
| | | | | | llvm-svn: 69240 | |||||
| * | PCH support for CompoundAssignOperator and ConditionalOperator | Douglas Gregor | 2009-04-15 | 1 | -0/+25 | |
| | | | | | llvm-svn: 69237 | |||||
| * | PCH support for ImaginaryLiteral and ArraySubscriptExpr | Douglas Gregor | 2009-04-15 | 1 | -2/+25 | |
| | | | | | llvm-svn: 69233 | |||||
| * | PCH support for ExtQualType | Douglas Gregor | 2009-04-15 | 1 | -4/+14 | |
| | | | | | llvm-svn: 69230 | |||||
| * | PCH support for declaration attributes | Douglas Gregor | 2009-04-15 | 1 | -5/+152 | |
| | | | | | llvm-svn: 69225 | |||||
| * | PCH support for the string literal of a FileScopeAsmDecl. | Douglas Gregor | 2009-04-15 | 1 | -1/+4 | |
| | | | | | | | Some minor cleanup. llvm-svn: 69196 | |||||
| * | For source location entries that describe instantiations, encode the | Douglas Gregor | 2009-04-15 | 1 | -3/+1 | |
| | | | | | | | | token length in the PCH file rather than trying (and failing) to reconstruct it be getting the spelling token's length. llvm-svn: 69191 | |||||
| * | PCH support for MemberExpr and CallExpr. | Douglas Gregor | 2009-04-15 | 1 | -0/+29 | |
| | | | | | llvm-svn: 69186 | |||||
| * | PCH support for string literals | Douglas Gregor | 2009-04-15 | 1 | -0/+31 | |
| | | | | | llvm-svn: 69172 | |||||
| * | PCH support for UnaryOperator, SizeOfAlignOfExpr | Douglas Gregor | 2009-04-15 | 1 | -0/+32 | |
| | | | | | llvm-svn: 69169 | |||||
| * | Don't tip-to around BitstreamReader::JumpToBit jumping to the end of the ↵ | Douglas Gregor | 2009-04-15 | 1 | -5/+2 | |
| | | | | | | | stream. LLVM has been updated to allow this llvm-svn: 69146 | |||||
| * | PCH support for CStyleCastExpr and BinaryOperator expression kinds. | Douglas Gregor | 2009-04-15 | 1 | -0/+33 | |
| | | | | | llvm-svn: 69119 | |||||
| * | PCH support for ParenExpr | Douglas Gregor | 2009-04-14 | 1 | -0/+13 | |
| | | | | | llvm-svn: 69106 | |||||
| * | Add PCH support for ImplicitCastExprs. This is the first expression | Douglas Gregor | 2009-04-14 | 1 | -45/+125 | |
| | | | | | | | | | | | kind PCH handles that has an expression as an operand, so most of this work is in the infrastructure to rebuild expression trees from the serialized representation. We now store expressions in post-order (e.g., Reverse Polish Notation), so that we can easily rebuild the appropriate expression tree. llvm-svn: 69101 | |||||
| * | Change Lexer::MeasureTokenLength to take a LangOptions reference. | Chris Lattner | 2009-04-14 | 1 | -3/+4 | |
| | | | | | | | | | | | | | | | | | | | This allows it to accurately measure tokens, so that we get: t.cpp:8:13: error: unknown type name 'X' static foo::X P; ~~~~~^ instead of the woefully inferior: t.cpp:8:13: error: unknown type name 'X' static foo::X P; ~~~~ ^ Most of this is just plumbing to push the reference around. llvm-svn: 69099 | |||||
| * | Add PCH support for PredefinedExpr and FloatingLiteral expressions | Douglas Gregor | 2009-04-14 | 1 | -4/+30 | |
| | | | | | llvm-svn: 69084 | |||||
| * | PCH support for a few very, very simple kinds of expressions. Hook up | Douglas Gregor | 2009-04-14 | 1 | -8/+136 | |
| | | | | | | | | expression (de-)serialization for VLAs, variable initializers, enum constant initializers, and bitfield widths. llvm-svn: 69075 | |||||
| * | When writing a PCH file, keep track of all of the non-static, | Douglas Gregor | 2009-04-14 | 1 | -0/+21 | |
| | | | | | | | | | | non-inline external definitions (and tentative definitions) that are found at the top level. The corresponding declarations are stored in a record in the PCH file, so that they can be provided to the ASTConsumer (via HandleTopLevelDecl) when the PCH file is read. llvm-svn: 69005 | |||||
| * | Partial PCH support for FileScopeAsmDecl and BlockDecl. Both require | Douglas Gregor | 2009-04-13 | 1 | -1/+34 | |
| | | | | | | | expression or statement serialization before we can test them. llvm-svn: 69002 | |||||
| * | PCH support for functions and their parameters. | Douglas Gregor | 2009-04-13 | 1 | -0/+65 | |
| | | | | | llvm-svn: 68997 | |||||
| * | PCH support for record decls/types and their fields. Now that we can | Douglas Gregor | 2009-04-13 | 1 | -6/+35 | |
| | | | | | | | | handle the definition of __builtin_va_list on x86-64, eliminate the forced -triple in PCH tests to get better coverage. llvm-svn: 68988 | |||||
| * | Print the number (and percentage) of identifiers read from the PCH file as ↵ | Douglas Gregor | 2009-04-13 | 1 | -2/+11 | |
| | | | | | | | part of its statistics llvm-svn: 68985 | |||||
| * | Introduce PCH (de-)serialization for most compound types, excluding | Douglas Gregor | 2009-04-13 | 1 | -7/+120 | |
| | | | | | | | Objective-C types and record types for the moment. llvm-svn: 68984 | |||||
| * | Add PCH support for enumerations and enumerators. | Douglas Gregor | 2009-04-13 | 1 | -0/+60 | |
| | | | | | llvm-svn: 68974 | |||||

