llvm-project/polly/lib
Hongbin Zheng 8831eb7db4 [Refactor] Move isl_ctx into Scop.
After we moved isl_ctx into Scop, we need to free the isl_ctx after
  freeing all isl objects, which requires the ScopInfo pass to be freed
  at last. But this is not guaranteed by the PassManager, and we need
  extra code to free the isl_ctx at the right time.

  We introduced a shared pointer to manage the isl_ctx, and distribute
  it to all analyses that create isl objects. As such, whenever we free
  an analyses with the shared_ptr (and also free the isl objects which
  are created by the analyses), we decrease the (shared) reference
  counter of the shared_ptr by 1. Whenever the reference counter reach
  0 in the releaseMemory function of an analysis, that analysis will
  be the last one that hold any isl objects, and we can safely free the
  isl_ctx with that analysis.

Differential Revision: http://reviews.llvm.org/D17241

llvm-svn: 261100
2016-02-17 15:49:21 +00:00
..
Analysis [Refactor] Move isl_ctx into Scop. 2016-02-17 15:49:21 +00:00
CodeGen [Refactor] Move isl_ctx into Scop. 2016-02-17 15:49:21 +00:00
Exchange Do not check JSON alignment of scalar accesses 2016-01-15 16:49:33 +00:00
External Update to isl-0.16.1-20-gee54b48 2016-02-04 06:19:12 +00:00
JSON Added arcanist linters and cleaned errors and warnings 2014-08-18 00:40:13 +00:00
Support Separate more constant factors of parameters 2016-02-14 22:30:56 +00:00
Transform Adjust formatting to clang-format changes in 256149 2015-12-21 12:38:56 +00:00
CMakeLists.txt Properly build shared libraries if LLVM_LINK_LLVM_DYLIB is enabled. 2016-02-03 16:29:04 +00:00
Polly.cpp Move Pass registration into polly library 2014-03-19 17:54:23 +00:00