diff options
author | Andrew Ng <andrew.ng@sony.com> | 2020-09-07 13:22:12 +0100 |
---|---|---|
committer | Andrew Ng <andrew.ng@sony.com> | 2020-09-16 10:26:11 +0100 |
commit | 6040e2a6d97d9f9445715dfc468c3112f40e2588 (patch) | |
tree | 118b6968e94a47b5005274adee60c8a307110415 /llvm/lib/CodeGen/LiveDebugVariables.cpp | |
parent | 3a0a2a6347f5a79ebfba2cc2b763dd02001d9baa (diff) | |
download | llvm-6040e2a6d97d9f9445715dfc468c3112f40e2588.zip llvm-6040e2a6d97d9f9445715dfc468c3112f40e2588.tar.gz llvm-6040e2a6d97d9f9445715dfc468c3112f40e2588.tar.bz2 |
[Support] Add GlobPattern::isTrivialMatchAll()
GlobPattern::isTrivialMatchAll() returns true for the GlobPattern "*"
which will match all inputs.
This can be used to avoid performing expensive preparation of the input
for match() when the result of the match will always be true.
Differential Revision: https://reviews.llvm.org/D87468
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions