libswift: add more instructions and other small utilities

* ApplySite.arguments
* BasicBlock != operator
* some Function argument related properties
* Operand.isTypeDependent
* Type.isTrivial
* bridging of raw_ostream::write
This commit is contained in:
Erik Eckstein
2021-09-24 09:43:47 +02:00
parent e1a9be5dac
commit fc772fff50
10 changed files with 198 additions and 58 deletions

View File

@@ -67,6 +67,7 @@ final public class BasicBlock : ListNode, CustomStringConvertible {
}
public func == (lhs: BasicBlock, rhs: BasicBlock) -> Bool { lhs === rhs }
public func != (lhs: BasicBlock, rhs: BasicBlock) -> Bool { lhs !== rhs }
public struct ArgumentArray : RandomAccessCollection {
fileprivate let block: BasicBlock