File: clang_conformances.sil

package info (click to toggle)
swiftlang 6.1.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,791,532 kB
  • sloc: cpp: 9,901,743; ansic: 2,201,431; asm: 1,091,827; python: 308,252; objc: 82,166; f90: 80,126; lisp: 38,358; pascal: 25,559; sh: 20,429; ml: 5,058; perl: 4,745; makefile: 4,484; awk: 3,535; javascript: 3,018; xml: 918; fortran: 664; cs: 573; ruby: 396
file content (30 lines) | stat: -rw-r--r-- 1,511 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import Swift

@_silgen_name("inlineMe") public func inlineMe() -> Bool


sil public_external @_TFsoi2neUs9Equatable__FTQ_Q__Sb : $@convention(thin) <τ_0_0 where τ_0_0 : Equatable> (@in τ_0_0, @in τ_0_0) -> Bool

sil public [serialized] @inlineMe : $@convention(thin) () -> Bool {
bb0:
  // function_ref Swift.!= infix <A : Swift.Equatable>(A, A) -> Swift.Bool
  %0 = function_ref @_TFsoi2neUs9Equatable__FTQ_Q__Sb : $@convention(thin) <τ_0_0 where τ_0_0 : Equatable> (@in τ_0_0, @in τ_0_0) -> Bool // user: %7
  %1 = alloc_stack $ComparisonResult            // users: %3, %7, %9
  %2 = enum $ComparisonResult, #ComparisonResult.Same!enumelt // user: %3
  store %2 to %1 : $*ComparisonResult         // id: %3
  %4 = alloc_stack $ComparisonResult            // users: %6, %7, %8
  %5 = enum $ComparisonResult, #ComparisonResult.Same!enumelt // user: %6
  store %5 to %4 : $*ComparisonResult         // id: %6
  %7 = apply %0<ComparisonResult>(%1, %4) : $@convention(thin) <τ_0_0 where τ_0_0 : Equatable> (@in τ_0_0, @in τ_0_0) -> Bool // user: %10
  dealloc_stack %4 : $*ComparisonResult // id: %8
  dealloc_stack %1 : $*ComparisonResult // id: %9
  return %7 : $Bool                               // id: %10
}

sil @compare_eq : $@convention(witness_method: Equatable) (@in_guaranteed ComparisonResult, @in_guaranteed ComparisonResult, @thick ComparisonResult.Type) -> Bool

sil_witness_table shared [serialized] ComparisonResult: Equatable module __ObjC {
  method #Equatable."==": @compare_eq
}