Displaying 2 results from an estimated 2 matches for "iscapturedcache".
2019 Mar 05
2
RFC: Contained stateful AliasAnalysis
...e is info that is computed again and again.
One example is this patch: D57627 <https://reviews.llvm.org/D57627>. The
patch adds a cache for PointerMayBeCaptured, which is cleared after every
alias() call, in order to keep BasicAA stateless. In the example given in
the patch, not clearing the isCapturedCache reduces compile times by
another second. In some pathological cases I'm looking at, not-clearing
this cache halves compile times (from 8s to 4s).
There are a few other examples such as TBAA's getLeastCommonType and
BasicAA's DecomposeGEP.
Ideally we'd would have something along the...
2019 Mar 05
2
RFC: Contained stateful AliasAnalysis
...ed again and again.
>
> One example is this patch: D57627 <https://reviews.llvm.org/D57627>. The
> patch adds a cache for PointerMayBeCaptured, which is cleared after every
> alias() call, in order to keep BasicAA stateless. In the example given in
> the patch, not clearing the isCapturedCache reduces compile times by
> another second. In some pathological cases I'm looking at, not-clearing
> this cache halves compile times (from 8s to 4s).
> There are a few other examples such as TBAA's getLeastCommonType and
> BasicAA's DecomposeGEP.
>
> Ideally we'd w...