[PATCH] D19243: [CodeGen] Move some CodeGenPGO stuff out of CodeGenFunction.h

Vedant Kumar via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 18 15:30:59 PDT 2016


vsk created this revision.
vsk added a reviewer: bogner.
vsk added a subscriber: cfe-commits.

Cons: 1 extra malloc per CodeGenFunction instantiation.

Pros: This makes incremental builds noticeably faster, especially on my laptop. E.g with this patch there's no need to re-compile clang/lib/CodeGen/CGCUDARuntime.cpp InstrProfReader.h changes.

http://reviews.llvm.org/D19243

Files:
  lib/CodeGen/CGBlocks.cpp
  lib/CodeGen/CGCall.cpp
  lib/CodeGen/CGExpr.cpp
  lib/CodeGen/CGObjC.cpp
  lib/CodeGen/CGStmt.cpp
  lib/CodeGen/CGStmtOpenMP.cpp
  lib/CodeGen/CodeGenFunction.cpp
  lib/CodeGen/CodeGenFunction.h
  lib/CodeGen/CodeGenPGO.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19243.54126.patch
Type: text/x-patch
Size: 10168 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160418/90459bf3/attachment.bin>


More information about the cfe-commits mailing list