Introduce option to run isl AST generation, but no IR generation.
authorTobias Grosser <tobias@grosser.es>
Fri, 2 Sep 2016 23:05:42 +0000 (23:05 +0000)
committerTobias Grosser <tobias@grosser.es>
Fri, 2 Sep 2016 23:05:42 +0000 (23:05 +0000)
commitb1000c39a0cbeee76cae796e53a1eb16854e633d
treed967897571d0911f3daa04cc245c4e60477a1bd6
parent2099b54102e7d6f6037fcc01c5c8543104ab42ac
Introduce option to run isl AST generation, but no IR generation.

We replace the options

  -polly-code-generator=none
                       =isl

with the options

  -polly-code-generation=none
                        =ast
                        =full

This allows us to measure the overhead of Polly itself, versus the compile
time increases due to us generating more IR and consequently the LLVM backends
spending more time on this IR.

We also use this opportunity to rename the option. The original name was
introduced at a point where we still had two code generators. CLooG and the
isl AST generator. Since we only have one AST generator left, there is no need
to distinguish between 'isl' and something else. However, being able to disable
code generation all together has been shown useful for debugging. Hence, we
rename and extend this option to make it a good fit for its new use case.

llvm-svn: 280554
polly/lib/Support/RegisterPasses.cpp