[DebugInfo] Add helper for finding entry value candidates [NFC]
authorDavid Stenberg <david.stenberg@ericsson.com>
Wed, 13 Nov 2019 09:36:13 +0000 (10:36 +0100)
committerDavid Stenberg <david.stenberg@ericsson.com>
Wed, 13 Nov 2019 10:10:47 +0000 (11:10 +0100)
commit4fec44cd61517cda16f94067a34982628bda34f7
treeb20933940f840a82ef7d46f8181b377a9673fc92
parent3367686b4d126e8e035c618829c78315f7751dfd
[DebugInfo] Add helper for finding entry value candidates [NFC]

Summary:
The conditions that are used to determine if entry values should be
emitted for a parameter are quite many, and will grow slightly
in a follow-up commit, so move those to a helper function, as was
suggested in the code review for D69889.

Reviewers: djtodoro, NikolaPrica

Reviewed By: djtodoro

Subscribers: probinson, hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D69955
llvm/lib/CodeGen/LiveDebugValues.cpp