aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/TestModuleFileExtension.cpp
diff options
context:
space:
mode:
authorMichael Kruse <llvm-project@meinersbur.de>2021-02-10 21:59:25 -0600
committerMichael Kruse <llvm-project@meinersbur.de>2021-02-10 22:11:52 -0600
commit23753c6088873f01fd32c6f3e3bd03ec7c2f8588 (patch)
tree61f683b3b2db6b03e5d9ecaea0102b11bfc2aae2 /clang/lib/Frontend/TestModuleFileExtension.cpp
parentc5e90a8857549e4032b9a972cf74452ae12c6b25 (diff)
downloadllvm-23753c6088873f01fd32c6f3e3bd03ec7c2f8588.zip
llvm-23753c6088873f01fd32c6f3e3bd03ec7c2f8588.tar.gz
llvm-23753c6088873f01fd32c6f3e3bd03ec7c2f8588.tar.bz2
[Polly] Hide Simplify implementation from header. NFC.
Move SimplifiyVisitor from Simplify.h to Simplify.cpp. It is not relevant for applying the pass in either the NewPM or the legacyPM. Rename it to SimplifyImpl to account for that. This is possible due its state not being necessary to be preserved between runs and thefore SimplifyImpl not needed to be held in the pass object. Instead, SimplifyImpl is only instatiated for the current Scop. In the NewPM as a function-local variable, and in the legacy PM inside a llvm::Optional object because the state must be preserved between the printScop (invoked by opt -analyze) and the most recent runOnScop calls.
Diffstat (limited to 'clang/lib/Frontend/TestModuleFileExtension.cpp')
0 files changed, 0 insertions, 0 deletions