[ScopDetect] add `-polly-ignore-func` flag to ignore functions by name.
authorSiddharth Bhat <siddu.druid@gmail.com>
Fri, 28 Jul 2017 11:47:24 +0000 (11:47 +0000)
committerSiddharth Bhat <siddu.druid@gmail.com>
Fri, 28 Jul 2017 11:47:24 +0000 (11:47 +0000)
commit0a1177b58e50c937e00fcb0e38f2b84b98acfed3
treeea5f364419d7c8a69a7b6410a1ba0303aca632d6
parent7b30dd1c53ce9aa948630ca39451aae2b3637b1b
[ScopDetect] add `-polly-ignore-func` flag to ignore functions by name.

Ignore all functions whose name match a regex. Useful because creating a
regex that does *not* match a string is somewhat hard.

Example:
https://stackoverflow.com/questions/1240275/how-to-negate-specific-word-in-regex

llvm-svn: 309377
polly/lib/Analysis/ScopDetection.cpp
polly/test/ScopDetect/ignore_func_flag_regex.ll [new file with mode: 0644]