[ScopBuilder/Simplify] Refactor isEscaping. NFC.
ScopBuilder and Simplify (through VirtualInstruction.cpp) previously used this functionality in their own implementation. Refactor them both into a common one into the Scop class. BlockGenerator also makes use of a similiar functionality, but also records outside users and takes place after region simplification. Merging it as well would be more complicated. llvm-svn: 309273
Showing
- polly/include/polly/ScopInfo.h 3 additions, 0 deletionspolly/include/polly/ScopInfo.h
- polly/lib/Analysis/ScopBuilder.cpp 2 additions, 21 deletionspolly/lib/Analysis/ScopBuilder.cpp
- polly/lib/Analysis/ScopInfo.cpp 19 additions, 0 deletionspolly/lib/Analysis/ScopInfo.cpp
- polly/lib/Support/VirtualInstruction.cpp 2 additions, 20 deletionspolly/lib/Support/VirtualInstruction.cpp
Loading
Please register or sign in to comment