[PATCH] D13603: [Introduction] C++ Const object optimization.

Larisse Voufo via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 9 13:32:33 PDT 2015


lvoufo created this revision.
lvoufo added reviewers: chandlerc, majnemer, dberlin, nlewycky.
lvoufo added a subscriber: cfe-commits.

Based on the design doc at https://docs.google.com/a/google.com/document/d/1vtoMypqHjkUle8KldKWYYwJF750KkYnEKffQKoYs6jo/edit?usp=sharing, it handles non-member const objects.
Extensions are discussed in the design doc and will be submitted separately.


http://reviews.llvm.org/D13603

Files:
  include/clang/AST/DeclCXX.h
  include/clang/AST/Type.h
  lib/AST/DeclCXX.cpp
  lib/AST/Type.cpp
  lib/CodeGen/CGDecl.cpp
  lib/CodeGen/CGDeclCXX.cpp
  lib/CodeGen/CGExprAgg.cpp
  lib/CodeGen/CodeGenFunction.h
  lib/CodeGen/CodeGenModule.h
  test/CodeGenCXX/const-invariant.cpp
  test/CodeGenCXX/init-invariant.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13603.36985.patch
Type: text/x-patch
Size: 29220 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20151009/7e6a986b/attachment-0001.bin>


More information about the cfe-commits mailing list