llvm-project/clang/lib
Bruno Ricci d6bd5983ee [AST] Store the OwnedTagDecl as a trailing object in ElaboratedType.
The TagDecl *OwnedTagDecl in ElaboratedType is quite commonly
null (at least when parsing all of Boost, it is non-null for only about 600
of the 66k ElaboratedType). Therefore we can save a pointer in the
common case by storing it as a trailing object, and storing a bit in the
bit-fields of Type indicating when the pointer is null.

Reviewed By: rjmccall

Differential Revision: https://reviews.llvm.org/D50715

llvm-svn: 339862
2018-08-16 10:48:16 +00:00
..
ARCMigrate Add a newline to SourceLocation dump output 2018-08-15 20:32:06 +00:00
AST [AST] Store the OwnedTagDecl as a trailing object in ElaboratedType. 2018-08-16 10:48:16 +00:00
ASTMatchers [ASTMatchers] Add matchers unresolvedMemberExpr, cxxDependentScopeMemberExpr 2018-08-12 17:34:36 +00:00
Analysis Add a newline to SourceLocation dump output 2018-08-15 20:32:06 +00:00
Basic Add a newline to SourceLocation dump output 2018-08-15 20:32:06 +00:00
CodeGen [X86] Remove masking from the 512-bit paddus/psubus builtins. Use a select builtin instead. 2018-08-16 07:28:06 +00:00
CrossTU [CrossTU] Fix handling of Cross Translation Unit directory path 2017-10-27 12:53:37 +00:00
Driver [Driver] -print-target-triple and -print-effective-triple options 2018-08-16 00:22:03 +00:00
Edit Port getLocEnd -> getEndLoc 2018-08-09 21:09:38 +00:00
Format clang-format: Change Google style wrt. the formatting of empty messages. 2018-08-15 19:07:55 +00:00
Frontend Port getLocEnd -> getEndLoc 2018-08-09 21:09:38 +00:00
FrontendTool Remove trailing space 2018-07-30 19:24:48 +00:00
Headers [X86] Remove masking from the 512-bit paddus/psubus builtins. Use a select builtin instead. 2018-08-16 07:28:06 +00:00
Index Port getLocEnd -> getEndLoc 2018-08-09 21:09:38 +00:00
Lex Add a newline to SourceLocation dump output 2018-08-15 20:32:06 +00:00
Parse We have in place support for parsing #pragma FENV_ACCESS, but that 2018-08-14 17:06:56 +00:00
Rewrite Remove trailing space 2018-07-30 19:24:48 +00:00
Sema [OPENMP] Fix processing of declare target construct. 2018-08-14 18:31:20 +00:00
Serialization [OPENMP] FIx processing of declare target variables. 2018-08-15 19:45:12 +00:00
StaticAnalyzer [CStringSyntaxChecker] Reduces space around error message for strlcat. 2018-08-15 20:09:52 +00:00
Tooling Port getLocEnd -> getEndLoc 2018-08-09 21:09:38 +00:00
CMakeLists.txt Add Cross Translation Unit support library 2017-09-22 11:11:01 +00:00