Commit Graph

12 Commits

Author SHA1 Message Date
Xin Tong
e2c0990851 Rename hasNoUsesExceptDebug to onlyHaveDebugUses. The double negation logic is
harder to understand. NFC.
2016-02-10 14:46:09 -08:00
Erik Eckstein
5a53b31f57 SIL: remove use-iteration functions from SILValue.
They are not needed anymore. NFC.
2016-01-25 15:00:49 -08:00
Erik Eckstein
f2c0283437 Simplify DebugUtils
With the changes in SILValue there is no need for template functions in DebugUtils anymore.
2016-01-21 16:04:30 -08:00
Zach Panzarino
e3a4147ac9 Update copyright date 2015-12-31 23:28:40 +00:00
Arnold Schwaighofer
6287f13dd2 Fix getSingleNonDebugUser to really return a single non debug user. 2015-12-14 12:02:33 -08:00
Arnold Schwaighofer
dee05869ff DebugUtils: Add an api to get the single non debug user 2015-12-08 07:34:25 -08:00
Nadav Rotem
7192b28f49 Fix another iterator invalidation bug. 💥 2015-11-11 22:38:00 -08:00
Nadav Rotem
0a0136d6fb Move deleteAllDebugUses into DebugUtils.h
Swift SVN r32508
2015-10-08 01:13:54 +00:00
Mark Lacey
406fe20129 Add forward declarations for SILInstruction.
Remove the include of SILInstruction.h in a couple places since it is
not necessary and forces more recompilation than necessary when edits
are made to SILInstruction.h.

Swift SVN r32091
2015-09-19 02:48:06 +00:00
Dmitri Hrybenko
37a4335b88 Replace swift::Range with llvm::iterator_range
Due to inreased use of llvm::make_range in LLVM headers and ADL for
types defined in the swift namespace, some of the LLVM headers started
to trigger ambiguity errors between llvm::make_range and
swift::make_range.

Swift SVN r29700
2015-06-25 22:01:39 +00:00
Erik Eckstein
3092f3c15f Document the utility functions for handling debug_value instructions, introduced in r28872.
Swift SVN r29064
2015-05-27 10:49:55 +00:00
Erik Eckstein
c7a245ec53 SIL: Add utility functions to handle debug_value/debug_value_addr instructions.
Swift SVN r28871
2015-05-21 13:20:24 +00:00