We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a9aef9 commit ed53ab7Copy full SHA for ed53ab7
SwiftCompilerSources/Sources/SIL/Operand.swift
@@ -153,6 +153,10 @@ extension Sequence where Element == Operand {
153
public func getSingleUser<I: Instruction>(notOfType: I.Type) -> Instruction? {
154
ignoreUsers(ofType: I.self).singleUse?.instruction
155
}
156
+
157
+ public var lifetimeEndingUses: LazyFilterSequence<Self> {
158
+ return self.lazy.filter { $0.endsLifetime }
159
+ }
160
161
162
extension OptionalBridgedOperand {
0 commit comments