[PATCH] D21261: [CFLAA] Code cleanup: group all graph-building codes into one class

Jia Chen via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 11 15:27:00 PDT 2016


grievejia created this revision.
grievejia added reviewers: george.burgess.iv, hfinkel.
grievejia added a subscriber: llvm-commits.

This patch introduce no functionality changes.

It added a new class CFLGraphBuilder which groups together all codes related to graph building. This change effectively reduce the number of arguments for functions like "buildGraphFrom()", "addInstructionToGraph()", etc. 

http://reviews.llvm.org/D21261

Files:
  lib/Analysis/CFLAliasAnalysis.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21261.60448.patch
Type: text/x-patch
Size: 15203 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160611/15a81fde/attachment.bin>


More information about the llvm-commits mailing list