Advertisement
Guest User

Untitled

a guest
Apr 30th, 2017
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.46 MB | None | 0 0
  1. sil_stage raw
  2.  
  3. import Builtin
  4. import Swift
  5. import SwiftShims
  6.  
  7. sil_scope 1 { parent @_TIvC3gpa20AddClassesController14classNameFieldGSQCSo11UITextField_i : $@convention(thin) () -> @owned Optional<UITextField> }
  8.  
  9. // AddClassesController.(classNameField).(variable initialization expression)
  10. sil hidden [transparent] @_TIvC3gpa20AddClassesController14classNameFieldGSQCSo11UITextField_i : $@convention(thin) () -> @owned Optional<UITextField> {
  11. bb0:
  12. // function_ref ImplicitlyUnwrappedOptional.init(nilLiteral : ()) -> A!
  13. %0 = function_ref @_TFSQCfT10nilLiteralT__GSQx_ : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 1 // user: %3
  14. %1 = metatype $@thin ImplicitlyUnwrappedOptional<UITextField>.Type, scope 1 // user: %3
  15. %2 = alloc_stack $Optional<UITextField>, scope 1 // users: %5, %4, %3
  16. %3 = apply %0<UITextField>(%2, %1) : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 1
  17. %4 = load [take] %2 : $*Optional<UITextField>, scope 1 // user: %6
  18. dealloc_stack %2 : $*Optional<UITextField>, scope 1 // id: %5
  19. return %4 : $Optional<UITextField>, scope 1 // id: %6
  20. } // end sil function '_TIvC3gpa20AddClassesController14classNameFieldGSQCSo11UITextField_i'
  21.  
  22.  
  23. // ImplicitlyUnwrappedOptional.init(nilLiteral : ()) -> A!
  24. sil [transparent] [fragile] @_TFSQCfT10nilLiteralT__GSQx_ : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>
  25.  
  26. sil_scope 2 { parent @_TToFC3gpa20AddClassesControllerg14classNameFieldGSQCSo11UITextField_ : $@convention(objc_method) (AddClassesController) -> @autoreleased Optional<UITextField> }
  27.  
  28. // @objc AddClassesController.classNameField.getter
  29. sil hidden [thunk] @_TToFC3gpa20AddClassesControllerg14classNameFieldGSQCSo11UITextField_ : $@convention(objc_method) (AddClassesController) -> @autoreleased Optional<UITextField> {
  30. // %0 // user: %1
  31. bb0(%0 : $AddClassesController):
  32. %1 = copy_value %0 : $AddClassesController, scope 2 // users: %4, %3
  33. // function_ref AddClassesController.classNameField.getter
  34. %2 = function_ref @_TFC3gpa20AddClassesControllerg14classNameFieldGSQCSo11UITextField_ : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UITextField>, scope 2 // user: %3
  35. %3 = apply %2(%1) : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UITextField>, scope 2 // user: %5
  36. destroy_value %1 : $AddClassesController, scope 2 // id: %4
  37. return %3 : $Optional<UITextField>, scope 2 // id: %5
  38. } // end sil function '_TToFC3gpa20AddClassesControllerg14classNameFieldGSQCSo11UITextField_'
  39.  
  40. sil_scope 3 { loc "AddClassesController.swift":27:19 parent @_TFC3gpa20AddClassesControllerg14classNameFieldGSQCSo11UITextField_ : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UITextField> }
  41. sil_scope 4 { loc "AddClassesController.swift":27:19 parent 3 }
  42.  
  43. // AddClassesController.classNameField.getter
  44. sil hidden @_TFC3gpa20AddClassesControllerg14classNameFieldGSQCSo11UITextField_ : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UITextField> {
  45. // %0 // users: %2, %1
  46. bb0(%0 : $AddClassesController):
  47. debug_value %0 : $AddClassesController, let, name "self", argno 1, loc "AddClassesController.swift":27:19, scope 3 // id: %1
  48. %2 = ref_element_addr %0 : $AddClassesController, #AddClassesController.classNameField, scope 4 // user: %3
  49. %3 = load [copy] %2 : $*Optional<UITextField>, scope 4 // user: %4
  50. return %3 : $Optional<UITextField>, loc "AddClassesController.swift":27:19, scope 4 // id: %4
  51. } // end sil function '_TFC3gpa20AddClassesControllerg14classNameFieldGSQCSo11UITextField_'
  52.  
  53. sil_scope 5 { parent @_TToFC3gpa20AddClassesControllers14classNameFieldGSQCSo11UITextField_ : $@convention(objc_method) (Optional<UITextField>, AddClassesController) -> () }
  54.  
  55. // @objc AddClassesController.classNameField.setter
  56. sil hidden [thunk] @_TToFC3gpa20AddClassesControllers14classNameFieldGSQCSo11UITextField_ : $@convention(objc_method) (Optional<UITextField>, AddClassesController) -> () {
  57. // %0 // user: %2
  58. // %1 // user: %3
  59. bb0(%0 : $Optional<UITextField>, %1 : $AddClassesController):
  60. %2 = copy_value %0 : $Optional<UITextField>, scope 5 // user: %5
  61. %3 = copy_value %1 : $AddClassesController, scope 5 // users: %6, %5
  62. // function_ref AddClassesController.classNameField.setter
  63. %4 = function_ref @_TFC3gpa20AddClassesControllers14classNameFieldGSQCSo11UITextField_ : $@convention(method) (@owned Optional<UITextField>, @guaranteed AddClassesController) -> (), scope 5 // user: %5
  64. %5 = apply %4(%2, %3) : $@convention(method) (@owned Optional<UITextField>, @guaranteed AddClassesController) -> (), scope 5 // user: %7
  65. destroy_value %3 : $AddClassesController, scope 5 // id: %6
  66. return %5 : $(), scope 5 // id: %7
  67. } // end sil function '_TToFC3gpa20AddClassesControllers14classNameFieldGSQCSo11UITextField_'
  68.  
  69. sil_scope 6 { loc "AddClassesController.swift":27:19 parent @_TFC3gpa20AddClassesControllers14classNameFieldGSQCSo11UITextField_ : $@convention(method) (@owned Optional<UITextField>, @guaranteed AddClassesController) -> () }
  70. sil_scope 7 { loc "AddClassesController.swift":27:19 parent 6 }
  71.  
  72. // AddClassesController.classNameField.setter
  73. sil hidden @_TFC3gpa20AddClassesControllers14classNameFieldGSQCSo11UITextField_ : $@convention(method) (@owned Optional<UITextField>, @guaranteed AddClassesController) -> () {
  74. // %0 // users: %7, %4, %2
  75. // %1 // users: %5, %3
  76. bb0(%0 : $Optional<UITextField>, %1 : $AddClassesController):
  77. debug_value %0 : $Optional<UITextField>, let, name "value", argno 1, loc "AddClassesController.swift":27:19, scope 6 // id: %2
  78. debug_value %1 : $AddClassesController, let, name "self", argno 2, loc "AddClassesController.swift":27:19, scope 6 // id: %3
  79. %4 = copy_value %0 : $Optional<UITextField>, scope 7 // user: %6
  80. %5 = ref_element_addr %1 : $AddClassesController, #AddClassesController.classNameField, scope 7 // user: %6
  81. assign %4 to %5 : $*Optional<UITextField>, scope 7 // id: %6
  82. destroy_value %0 : $Optional<UITextField>, loc "AddClassesController.swift":27:19, scope 7 // id: %7
  83. %8 = tuple (), loc "AddClassesController.swift":27:19, scope 7 // user: %9
  84. return %8 : $(), loc "AddClassesController.swift":27:19, scope 7 // id: %9
  85. } // end sil function '_TFC3gpa20AddClassesControllers14classNameFieldGSQCSo11UITextField_'
  86.  
  87. sil_scope 8 { parent @_TIvC3gpa20AddClassesController15multiplierFieldGSQCSo11UITextField_i : $@convention(thin) () -> @owned Optional<UITextField> }
  88.  
  89. // AddClassesController.(multiplierField).(variable initialization expression)
  90. sil hidden [transparent] @_TIvC3gpa20AddClassesController15multiplierFieldGSQCSo11UITextField_i : $@convention(thin) () -> @owned Optional<UITextField> {
  91. bb0:
  92. // function_ref ImplicitlyUnwrappedOptional.init(nilLiteral : ()) -> A!
  93. %0 = function_ref @_TFSQCfT10nilLiteralT__GSQx_ : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 8 // user: %3
  94. %1 = metatype $@thin ImplicitlyUnwrappedOptional<UITextField>.Type, scope 8 // user: %3
  95. %2 = alloc_stack $Optional<UITextField>, scope 8 // users: %5, %4, %3
  96. %3 = apply %0<UITextField>(%2, %1) : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 8
  97. %4 = load [take] %2 : $*Optional<UITextField>, scope 8 // user: %6
  98. dealloc_stack %2 : $*Optional<UITextField>, scope 8 // id: %5
  99. return %4 : $Optional<UITextField>, scope 8 // id: %6
  100. } // end sil function '_TIvC3gpa20AddClassesController15multiplierFieldGSQCSo11UITextField_i'
  101.  
  102. sil_scope 9 { parent @_TToFC3gpa20AddClassesControllerg15multiplierFieldGSQCSo11UITextField_ : $@convention(objc_method) (AddClassesController) -> @autoreleased Optional<UITextField> }
  103.  
  104. // @objc AddClassesController.multiplierField.getter
  105. sil hidden [thunk] @_TToFC3gpa20AddClassesControllerg15multiplierFieldGSQCSo11UITextField_ : $@convention(objc_method) (AddClassesController) -> @autoreleased Optional<UITextField> {
  106. // %0 // user: %1
  107. bb0(%0 : $AddClassesController):
  108. %1 = copy_value %0 : $AddClassesController, scope 9 // users: %4, %3
  109. // function_ref AddClassesController.multiplierField.getter
  110. %2 = function_ref @_TFC3gpa20AddClassesControllerg15multiplierFieldGSQCSo11UITextField_ : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UITextField>, scope 9 // user: %3
  111. %3 = apply %2(%1) : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UITextField>, scope 9 // user: %5
  112. destroy_value %1 : $AddClassesController, scope 9 // id: %4
  113. return %3 : $Optional<UITextField>, scope 9 // id: %5
  114. } // end sil function '_TToFC3gpa20AddClassesControllerg15multiplierFieldGSQCSo11UITextField_'
  115.  
  116. sil_scope 10 { loc "AddClassesController.swift":28:19 parent @_TFC3gpa20AddClassesControllerg15multiplierFieldGSQCSo11UITextField_ : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UITextField> }
  117. sil_scope 11 { loc "AddClassesController.swift":28:19 parent 10 }
  118.  
  119. // AddClassesController.multiplierField.getter
  120. sil hidden @_TFC3gpa20AddClassesControllerg15multiplierFieldGSQCSo11UITextField_ : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UITextField> {
  121. // %0 // users: %2, %1
  122. bb0(%0 : $AddClassesController):
  123. debug_value %0 : $AddClassesController, let, name "self", argno 1, loc "AddClassesController.swift":28:19, scope 10 // id: %1
  124. %2 = ref_element_addr %0 : $AddClassesController, #AddClassesController.multiplierField, scope 11 // user: %3
  125. %3 = load [copy] %2 : $*Optional<UITextField>, scope 11 // user: %4
  126. return %3 : $Optional<UITextField>, loc "AddClassesController.swift":28:19, scope 11 // id: %4
  127. } // end sil function '_TFC3gpa20AddClassesControllerg15multiplierFieldGSQCSo11UITextField_'
  128.  
  129. sil_scope 12 { parent @_TToFC3gpa20AddClassesControllers15multiplierFieldGSQCSo11UITextField_ : $@convention(objc_method) (Optional<UITextField>, AddClassesController) -> () }
  130.  
  131. // @objc AddClassesController.multiplierField.setter
  132. sil hidden [thunk] @_TToFC3gpa20AddClassesControllers15multiplierFieldGSQCSo11UITextField_ : $@convention(objc_method) (Optional<UITextField>, AddClassesController) -> () {
  133. // %0 // user: %2
  134. // %1 // user: %3
  135. bb0(%0 : $Optional<UITextField>, %1 : $AddClassesController):
  136. %2 = copy_value %0 : $Optional<UITextField>, scope 12 // user: %5
  137. %3 = copy_value %1 : $AddClassesController, scope 12 // users: %6, %5
  138. // function_ref AddClassesController.multiplierField.setter
  139. %4 = function_ref @_TFC3gpa20AddClassesControllers15multiplierFieldGSQCSo11UITextField_ : $@convention(method) (@owned Optional<UITextField>, @guaranteed AddClassesController) -> (), scope 12 // user: %5
  140. %5 = apply %4(%2, %3) : $@convention(method) (@owned Optional<UITextField>, @guaranteed AddClassesController) -> (), scope 12 // user: %7
  141. destroy_value %3 : $AddClassesController, scope 12 // id: %6
  142. return %5 : $(), scope 12 // id: %7
  143. } // end sil function '_TToFC3gpa20AddClassesControllers15multiplierFieldGSQCSo11UITextField_'
  144.  
  145. sil_scope 13 { loc "AddClassesController.swift":28:19 parent @_TFC3gpa20AddClassesControllers15multiplierFieldGSQCSo11UITextField_ : $@convention(method) (@owned Optional<UITextField>, @guaranteed AddClassesController) -> () }
  146. sil_scope 14 { loc "AddClassesController.swift":28:19 parent 13 }
  147.  
  148. // AddClassesController.multiplierField.setter
  149. sil hidden @_TFC3gpa20AddClassesControllers15multiplierFieldGSQCSo11UITextField_ : $@convention(method) (@owned Optional<UITextField>, @guaranteed AddClassesController) -> () {
  150. // %0 // users: %7, %4, %2
  151. // %1 // users: %5, %3
  152. bb0(%0 : $Optional<UITextField>, %1 : $AddClassesController):
  153. debug_value %0 : $Optional<UITextField>, let, name "value", argno 1, loc "AddClassesController.swift":28:19, scope 13 // id: %2
  154. debug_value %1 : $AddClassesController, let, name "self", argno 2, loc "AddClassesController.swift":28:19, scope 13 // id: %3
  155. %4 = copy_value %0 : $Optional<UITextField>, scope 14 // user: %6
  156. %5 = ref_element_addr %1 : $AddClassesController, #AddClassesController.multiplierField, scope 14 // user: %6
  157. assign %4 to %5 : $*Optional<UITextField>, scope 14 // id: %6
  158. destroy_value %0 : $Optional<UITextField>, loc "AddClassesController.swift":28:19, scope 14 // id: %7
  159. %8 = tuple (), loc "AddClassesController.swift":28:19, scope 14 // user: %9
  160. return %8 : $(), loc "AddClassesController.swift":28:19, scope 14 // id: %9
  161. } // end sil function '_TFC3gpa20AddClassesControllers15multiplierFieldGSQCSo11UITextField_'
  162.  
  163. sil_scope 15 { parent @_TIvC3gpa20AddClassesController17currentGradeFieldGSQCSo11UITextField_i : $@convention(thin) () -> @owned Optional<UITextField> }
  164.  
  165. // AddClassesController.(currentGradeField).(variable initialization expression)
  166. sil hidden [transparent] @_TIvC3gpa20AddClassesController17currentGradeFieldGSQCSo11UITextField_i : $@convention(thin) () -> @owned Optional<UITextField> {
  167. bb0:
  168. // function_ref ImplicitlyUnwrappedOptional.init(nilLiteral : ()) -> A!
  169. %0 = function_ref @_TFSQCfT10nilLiteralT__GSQx_ : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 15 // user: %3
  170. %1 = metatype $@thin ImplicitlyUnwrappedOptional<UITextField>.Type, scope 15 // user: %3
  171. %2 = alloc_stack $Optional<UITextField>, scope 15 // users: %5, %4, %3
  172. %3 = apply %0<UITextField>(%2, %1) : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 15
  173. %4 = load [take] %2 : $*Optional<UITextField>, scope 15 // user: %6
  174. dealloc_stack %2 : $*Optional<UITextField>, scope 15 // id: %5
  175. return %4 : $Optional<UITextField>, scope 15 // id: %6
  176. } // end sil function '_TIvC3gpa20AddClassesController17currentGradeFieldGSQCSo11UITextField_i'
  177.  
  178. sil_scope 16 { parent @_TToFC3gpa20AddClassesControllerg17currentGradeFieldGSQCSo11UITextField_ : $@convention(objc_method) (AddClassesController) -> @autoreleased Optional<UITextField> }
  179.  
  180. // @objc AddClassesController.currentGradeField.getter
  181. sil hidden [thunk] @_TToFC3gpa20AddClassesControllerg17currentGradeFieldGSQCSo11UITextField_ : $@convention(objc_method) (AddClassesController) -> @autoreleased Optional<UITextField> {
  182. // %0 // user: %1
  183. bb0(%0 : $AddClassesController):
  184. %1 = copy_value %0 : $AddClassesController, scope 16 // users: %4, %3
  185. // function_ref AddClassesController.currentGradeField.getter
  186. %2 = function_ref @_TFC3gpa20AddClassesControllerg17currentGradeFieldGSQCSo11UITextField_ : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UITextField>, scope 16 // user: %3
  187. %3 = apply %2(%1) : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UITextField>, scope 16 // user: %5
  188. destroy_value %1 : $AddClassesController, scope 16 // id: %4
  189. return %3 : $Optional<UITextField>, scope 16 // id: %5
  190. } // end sil function '_TToFC3gpa20AddClassesControllerg17currentGradeFieldGSQCSo11UITextField_'
  191.  
  192. sil_scope 17 { loc "AddClassesController.swift":29:19 parent @_TFC3gpa20AddClassesControllerg17currentGradeFieldGSQCSo11UITextField_ : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UITextField> }
  193. sil_scope 18 { loc "AddClassesController.swift":29:19 parent 17 }
  194.  
  195. // AddClassesController.currentGradeField.getter
  196. sil hidden @_TFC3gpa20AddClassesControllerg17currentGradeFieldGSQCSo11UITextField_ : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UITextField> {
  197. // %0 // users: %2, %1
  198. bb0(%0 : $AddClassesController):
  199. debug_value %0 : $AddClassesController, let, name "self", argno 1, loc "AddClassesController.swift":29:19, scope 17 // id: %1
  200. %2 = ref_element_addr %0 : $AddClassesController, #AddClassesController.currentGradeField, scope 18 // user: %3
  201. %3 = load [copy] %2 : $*Optional<UITextField>, scope 18 // user: %4
  202. return %3 : $Optional<UITextField>, loc "AddClassesController.swift":29:19, scope 18 // id: %4
  203. } // end sil function '_TFC3gpa20AddClassesControllerg17currentGradeFieldGSQCSo11UITextField_'
  204.  
  205. sil_scope 19 { parent @_TToFC3gpa20AddClassesControllers17currentGradeFieldGSQCSo11UITextField_ : $@convention(objc_method) (Optional<UITextField>, AddClassesController) -> () }
  206.  
  207. // @objc AddClassesController.currentGradeField.setter
  208. sil hidden [thunk] @_TToFC3gpa20AddClassesControllers17currentGradeFieldGSQCSo11UITextField_ : $@convention(objc_method) (Optional<UITextField>, AddClassesController) -> () {
  209. // %0 // user: %2
  210. // %1 // user: %3
  211. bb0(%0 : $Optional<UITextField>, %1 : $AddClassesController):
  212. %2 = copy_value %0 : $Optional<UITextField>, scope 19 // user: %5
  213. %3 = copy_value %1 : $AddClassesController, scope 19 // users: %6, %5
  214. // function_ref AddClassesController.currentGradeField.setter
  215. %4 = function_ref @_TFC3gpa20AddClassesControllers17currentGradeFieldGSQCSo11UITextField_ : $@convention(method) (@owned Optional<UITextField>, @guaranteed AddClassesController) -> (), scope 19 // user: %5
  216. %5 = apply %4(%2, %3) : $@convention(method) (@owned Optional<UITextField>, @guaranteed AddClassesController) -> (), scope 19 // user: %7
  217. destroy_value %3 : $AddClassesController, scope 19 // id: %6
  218. return %5 : $(), scope 19 // id: %7
  219. } // end sil function '_TToFC3gpa20AddClassesControllers17currentGradeFieldGSQCSo11UITextField_'
  220.  
  221. sil_scope 20 { loc "AddClassesController.swift":29:19 parent @_TFC3gpa20AddClassesControllers17currentGradeFieldGSQCSo11UITextField_ : $@convention(method) (@owned Optional<UITextField>, @guaranteed AddClassesController) -> () }
  222. sil_scope 21 { loc "AddClassesController.swift":29:19 parent 20 }
  223.  
  224. // AddClassesController.currentGradeField.setter
  225. sil hidden @_TFC3gpa20AddClassesControllers17currentGradeFieldGSQCSo11UITextField_ : $@convention(method) (@owned Optional<UITextField>, @guaranteed AddClassesController) -> () {
  226. // %0 // users: %7, %4, %2
  227. // %1 // users: %5, %3
  228. bb0(%0 : $Optional<UITextField>, %1 : $AddClassesController):
  229. debug_value %0 : $Optional<UITextField>, let, name "value", argno 1, loc "AddClassesController.swift":29:19, scope 20 // id: %2
  230. debug_value %1 : $AddClassesController, let, name "self", argno 2, loc "AddClassesController.swift":29:19, scope 20 // id: %3
  231. %4 = copy_value %0 : $Optional<UITextField>, scope 21 // user: %6
  232. %5 = ref_element_addr %1 : $AddClassesController, #AddClassesController.currentGradeField, scope 21 // user: %6
  233. assign %4 to %5 : $*Optional<UITextField>, scope 21 // id: %6
  234. destroy_value %0 : $Optional<UITextField>, loc "AddClassesController.swift":29:19, scope 21 // id: %7
  235. %8 = tuple (), loc "AddClassesController.swift":29:19, scope 21 // user: %9
  236. return %8 : $(), loc "AddClassesController.swift":29:19, scope 21 // id: %9
  237. } // end sil function '_TFC3gpa20AddClassesControllers17currentGradeFieldGSQCSo11UITextField_'
  238.  
  239. sil_scope 22 { parent @_TIvC3gpa20AddClassesController12creditsFieldGSQCSo11UITextField_i : $@convention(thin) () -> @owned Optional<UITextField> }
  240.  
  241. // AddClassesController.(creditsField).(variable initialization expression)
  242. sil hidden [transparent] @_TIvC3gpa20AddClassesController12creditsFieldGSQCSo11UITextField_i : $@convention(thin) () -> @owned Optional<UITextField> {
  243. bb0:
  244. // function_ref ImplicitlyUnwrappedOptional.init(nilLiteral : ()) -> A!
  245. %0 = function_ref @_TFSQCfT10nilLiteralT__GSQx_ : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 22 // user: %3
  246. %1 = metatype $@thin ImplicitlyUnwrappedOptional<UITextField>.Type, scope 22 // user: %3
  247. %2 = alloc_stack $Optional<UITextField>, scope 22 // users: %5, %4, %3
  248. %3 = apply %0<UITextField>(%2, %1) : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 22
  249. %4 = load [take] %2 : $*Optional<UITextField>, scope 22 // user: %6
  250. dealloc_stack %2 : $*Optional<UITextField>, scope 22 // id: %5
  251. return %4 : $Optional<UITextField>, scope 22 // id: %6
  252. } // end sil function '_TIvC3gpa20AddClassesController12creditsFieldGSQCSo11UITextField_i'
  253.  
  254. sil_scope 23 { parent @_TToFC3gpa20AddClassesControllerg12creditsFieldGSQCSo11UITextField_ : $@convention(objc_method) (AddClassesController) -> @autoreleased Optional<UITextField> }
  255.  
  256. // @objc AddClassesController.creditsField.getter
  257. sil hidden [thunk] @_TToFC3gpa20AddClassesControllerg12creditsFieldGSQCSo11UITextField_ : $@convention(objc_method) (AddClassesController) -> @autoreleased Optional<UITextField> {
  258. // %0 // user: %1
  259. bb0(%0 : $AddClassesController):
  260. %1 = copy_value %0 : $AddClassesController, scope 23 // users: %4, %3
  261. // function_ref AddClassesController.creditsField.getter
  262. %2 = function_ref @_TFC3gpa20AddClassesControllerg12creditsFieldGSQCSo11UITextField_ : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UITextField>, scope 23 // user: %3
  263. %3 = apply %2(%1) : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UITextField>, scope 23 // user: %5
  264. destroy_value %1 : $AddClassesController, scope 23 // id: %4
  265. return %3 : $Optional<UITextField>, scope 23 // id: %5
  266. } // end sil function '_TToFC3gpa20AddClassesControllerg12creditsFieldGSQCSo11UITextField_'
  267.  
  268. sil_scope 24 { loc "AddClassesController.swift":30:19 parent @_TFC3gpa20AddClassesControllerg12creditsFieldGSQCSo11UITextField_ : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UITextField> }
  269. sil_scope 25 { loc "AddClassesController.swift":30:19 parent 24 }
  270.  
  271. // AddClassesController.creditsField.getter
  272. sil hidden @_TFC3gpa20AddClassesControllerg12creditsFieldGSQCSo11UITextField_ : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UITextField> {
  273. // %0 // users: %2, %1
  274. bb0(%0 : $AddClassesController):
  275. debug_value %0 : $AddClassesController, let, name "self", argno 1, loc "AddClassesController.swift":30:19, scope 24 // id: %1
  276. %2 = ref_element_addr %0 : $AddClassesController, #AddClassesController.creditsField, scope 25 // user: %3
  277. %3 = load [copy] %2 : $*Optional<UITextField>, scope 25 // user: %4
  278. return %3 : $Optional<UITextField>, loc "AddClassesController.swift":30:19, scope 25 // id: %4
  279. } // end sil function '_TFC3gpa20AddClassesControllerg12creditsFieldGSQCSo11UITextField_'
  280.  
  281. sil_scope 26 { parent @_TToFC3gpa20AddClassesControllers12creditsFieldGSQCSo11UITextField_ : $@convention(objc_method) (Optional<UITextField>, AddClassesController) -> () }
  282.  
  283. // @objc AddClassesController.creditsField.setter
  284. sil hidden [thunk] @_TToFC3gpa20AddClassesControllers12creditsFieldGSQCSo11UITextField_ : $@convention(objc_method) (Optional<UITextField>, AddClassesController) -> () {
  285. // %0 // user: %2
  286. // %1 // user: %3
  287. bb0(%0 : $Optional<UITextField>, %1 : $AddClassesController):
  288. %2 = copy_value %0 : $Optional<UITextField>, scope 26 // user: %5
  289. %3 = copy_value %1 : $AddClassesController, scope 26 // users: %6, %5
  290. // function_ref AddClassesController.creditsField.setter
  291. %4 = function_ref @_TFC3gpa20AddClassesControllers12creditsFieldGSQCSo11UITextField_ : $@convention(method) (@owned Optional<UITextField>, @guaranteed AddClassesController) -> (), scope 26 // user: %5
  292. %5 = apply %4(%2, %3) : $@convention(method) (@owned Optional<UITextField>, @guaranteed AddClassesController) -> (), scope 26 // user: %7
  293. destroy_value %3 : $AddClassesController, scope 26 // id: %6
  294. return %5 : $(), scope 26 // id: %7
  295. } // end sil function '_TToFC3gpa20AddClassesControllers12creditsFieldGSQCSo11UITextField_'
  296.  
  297. sil_scope 27 { loc "AddClassesController.swift":30:19 parent @_TFC3gpa20AddClassesControllers12creditsFieldGSQCSo11UITextField_ : $@convention(method) (@owned Optional<UITextField>, @guaranteed AddClassesController) -> () }
  298. sil_scope 28 { loc "AddClassesController.swift":30:19 parent 27 }
  299.  
  300. // AddClassesController.creditsField.setter
  301. sil hidden @_TFC3gpa20AddClassesControllers12creditsFieldGSQCSo11UITextField_ : $@convention(method) (@owned Optional<UITextField>, @guaranteed AddClassesController) -> () {
  302. // %0 // users: %7, %4, %2
  303. // %1 // users: %5, %3
  304. bb0(%0 : $Optional<UITextField>, %1 : $AddClassesController):
  305. debug_value %0 : $Optional<UITextField>, let, name "value", argno 1, loc "AddClassesController.swift":30:19, scope 27 // id: %2
  306. debug_value %1 : $AddClassesController, let, name "self", argno 2, loc "AddClassesController.swift":30:19, scope 27 // id: %3
  307. %4 = copy_value %0 : $Optional<UITextField>, scope 28 // user: %6
  308. %5 = ref_element_addr %1 : $AddClassesController, #AddClassesController.creditsField, scope 28 // user: %6
  309. assign %4 to %5 : $*Optional<UITextField>, scope 28 // id: %6
  310. destroy_value %0 : $Optional<UITextField>, loc "AddClassesController.swift":30:19, scope 28 // id: %7
  311. %8 = tuple (), loc "AddClassesController.swift":30:19, scope 28 // user: %9
  312. return %8 : $(), loc "AddClassesController.swift":30:19, scope 28 // id: %9
  313. } // end sil function '_TFC3gpa20AddClassesControllers12creditsFieldGSQCSo11UITextField_'
  314.  
  315. sil_scope 29 { parent @_TIvC3gpa20AddClassesController13multiplierBarGSQCSo18UISegmentedControl_i : $@convention(thin) () -> @owned Optional<UISegmentedControl> }
  316.  
  317. // AddClassesController.(multiplierBar).(variable initialization expression)
  318. sil hidden [transparent] @_TIvC3gpa20AddClassesController13multiplierBarGSQCSo18UISegmentedControl_i : $@convention(thin) () -> @owned Optional<UISegmentedControl> {
  319. bb0:
  320. // function_ref ImplicitlyUnwrappedOptional.init(nilLiteral : ()) -> A!
  321. %0 = function_ref @_TFSQCfT10nilLiteralT__GSQx_ : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 29 // user: %3
  322. %1 = metatype $@thin ImplicitlyUnwrappedOptional<UISegmentedControl>.Type, scope 29 // user: %3
  323. %2 = alloc_stack $Optional<UISegmentedControl>, scope 29 // users: %5, %4, %3
  324. %3 = apply %0<UISegmentedControl>(%2, %1) : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 29
  325. %4 = load [take] %2 : $*Optional<UISegmentedControl>, scope 29 // user: %6
  326. dealloc_stack %2 : $*Optional<UISegmentedControl>, scope 29 // id: %5
  327. return %4 : $Optional<UISegmentedControl>, scope 29 // id: %6
  328. } // end sil function '_TIvC3gpa20AddClassesController13multiplierBarGSQCSo18UISegmentedControl_i'
  329.  
  330. sil_scope 30 { parent @_TToFC3gpa20AddClassesControllerg13multiplierBarGSQCSo18UISegmentedControl_ : $@convention(objc_method) (AddClassesController) -> @autoreleased Optional<UISegmentedControl> }
  331.  
  332. // @objc AddClassesController.multiplierBar.getter
  333. sil hidden [thunk] @_TToFC3gpa20AddClassesControllerg13multiplierBarGSQCSo18UISegmentedControl_ : $@convention(objc_method) (AddClassesController) -> @autoreleased Optional<UISegmentedControl> {
  334. // %0 // user: %1
  335. bb0(%0 : $AddClassesController):
  336. %1 = copy_value %0 : $AddClassesController, scope 30 // users: %4, %3
  337. // function_ref AddClassesController.multiplierBar.getter
  338. %2 = function_ref @_TFC3gpa20AddClassesControllerg13multiplierBarGSQCSo18UISegmentedControl_ : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UISegmentedControl>, scope 30 // user: %3
  339. %3 = apply %2(%1) : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UISegmentedControl>, scope 30 // user: %5
  340. destroy_value %1 : $AddClassesController, scope 30 // id: %4
  341. return %3 : $Optional<UISegmentedControl>, scope 30 // id: %5
  342. } // end sil function '_TToFC3gpa20AddClassesControllerg13multiplierBarGSQCSo18UISegmentedControl_'
  343.  
  344. sil_scope 31 { loc "AddClassesController.swift":32:19 parent @_TFC3gpa20AddClassesControllerg13multiplierBarGSQCSo18UISegmentedControl_ : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UISegmentedControl> }
  345. sil_scope 32 { loc "AddClassesController.swift":32:19 parent 31 }
  346.  
  347. // AddClassesController.multiplierBar.getter
  348. sil hidden @_TFC3gpa20AddClassesControllerg13multiplierBarGSQCSo18UISegmentedControl_ : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UISegmentedControl> {
  349. // %0 // users: %2, %1
  350. bb0(%0 : $AddClassesController):
  351. debug_value %0 : $AddClassesController, let, name "self", argno 1, loc "AddClassesController.swift":32:19, scope 31 // id: %1
  352. %2 = ref_element_addr %0 : $AddClassesController, #AddClassesController.multiplierBar, scope 32 // user: %3
  353. %3 = load [copy] %2 : $*Optional<UISegmentedControl>, scope 32 // user: %4
  354. return %3 : $Optional<UISegmentedControl>, loc "AddClassesController.swift":32:19, scope 32 // id: %4
  355. } // end sil function '_TFC3gpa20AddClassesControllerg13multiplierBarGSQCSo18UISegmentedControl_'
  356.  
  357. sil_scope 33 { parent @_TToFC3gpa20AddClassesControllers13multiplierBarGSQCSo18UISegmentedControl_ : $@convention(objc_method) (Optional<UISegmentedControl>, AddClassesController) -> () }
  358.  
  359. // @objc AddClassesController.multiplierBar.setter
  360. sil hidden [thunk] @_TToFC3gpa20AddClassesControllers13multiplierBarGSQCSo18UISegmentedControl_ : $@convention(objc_method) (Optional<UISegmentedControl>, AddClassesController) -> () {
  361. // %0 // user: %2
  362. // %1 // user: %3
  363. bb0(%0 : $Optional<UISegmentedControl>, %1 : $AddClassesController):
  364. %2 = copy_value %0 : $Optional<UISegmentedControl>, scope 33 // user: %5
  365. %3 = copy_value %1 : $AddClassesController, scope 33 // users: %6, %5
  366. // function_ref AddClassesController.multiplierBar.setter
  367. %4 = function_ref @_TFC3gpa20AddClassesControllers13multiplierBarGSQCSo18UISegmentedControl_ : $@convention(method) (@owned Optional<UISegmentedControl>, @guaranteed AddClassesController) -> (), scope 33 // user: %5
  368. %5 = apply %4(%2, %3) : $@convention(method) (@owned Optional<UISegmentedControl>, @guaranteed AddClassesController) -> (), scope 33 // user: %7
  369. destroy_value %3 : $AddClassesController, scope 33 // id: %6
  370. return %5 : $(), scope 33 // id: %7
  371. } // end sil function '_TToFC3gpa20AddClassesControllers13multiplierBarGSQCSo18UISegmentedControl_'
  372.  
  373. sil_scope 34 { loc "AddClassesController.swift":32:19 parent @_TFC3gpa20AddClassesControllers13multiplierBarGSQCSo18UISegmentedControl_ : $@convention(method) (@owned Optional<UISegmentedControl>, @guaranteed AddClassesController) -> () }
  374. sil_scope 35 { loc "AddClassesController.swift":32:19 parent 34 }
  375.  
  376. // AddClassesController.multiplierBar.setter
  377. sil hidden @_TFC3gpa20AddClassesControllers13multiplierBarGSQCSo18UISegmentedControl_ : $@convention(method) (@owned Optional<UISegmentedControl>, @guaranteed AddClassesController) -> () {
  378. // %0 // users: %7, %4, %2
  379. // %1 // users: %5, %3
  380. bb0(%0 : $Optional<UISegmentedControl>, %1 : $AddClassesController):
  381. debug_value %0 : $Optional<UISegmentedControl>, let, name "value", argno 1, loc "AddClassesController.swift":32:19, scope 34 // id: %2
  382. debug_value %1 : $AddClassesController, let, name "self", argno 2, loc "AddClassesController.swift":32:19, scope 34 // id: %3
  383. %4 = copy_value %0 : $Optional<UISegmentedControl>, scope 35 // user: %6
  384. %5 = ref_element_addr %1 : $AddClassesController, #AddClassesController.multiplierBar, scope 35 // user: %6
  385. assign %4 to %5 : $*Optional<UISegmentedControl>, scope 35 // id: %6
  386. destroy_value %0 : $Optional<UISegmentedControl>, loc "AddClassesController.swift":32:19, scope 35 // id: %7
  387. %8 = tuple (), loc "AddClassesController.swift":32:19, scope 35 // user: %9
  388. return %8 : $(), loc "AddClassesController.swift":32:19, scope 35 // id: %9
  389. } // end sil function '_TFC3gpa20AddClassesControllers13multiplierBarGSQCSo18UISegmentedControl_'
  390.  
  391. sil_scope 36 { parent @_TIvC3gpa20AddClassesController10creditsBarGSQCSo18UISegmentedControl_i : $@convention(thin) () -> @owned Optional<UISegmentedControl> }
  392.  
  393. // AddClassesController.(creditsBar).(variable initialization expression)
  394. sil hidden [transparent] @_TIvC3gpa20AddClassesController10creditsBarGSQCSo18UISegmentedControl_i : $@convention(thin) () -> @owned Optional<UISegmentedControl> {
  395. bb0:
  396. // function_ref ImplicitlyUnwrappedOptional.init(nilLiteral : ()) -> A!
  397. %0 = function_ref @_TFSQCfT10nilLiteralT__GSQx_ : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 36 // user: %3
  398. %1 = metatype $@thin ImplicitlyUnwrappedOptional<UISegmentedControl>.Type, scope 36 // user: %3
  399. %2 = alloc_stack $Optional<UISegmentedControl>, scope 36 // users: %5, %4, %3
  400. %3 = apply %0<UISegmentedControl>(%2, %1) : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 36
  401. %4 = load [take] %2 : $*Optional<UISegmentedControl>, scope 36 // user: %6
  402. dealloc_stack %2 : $*Optional<UISegmentedControl>, scope 36 // id: %5
  403. return %4 : $Optional<UISegmentedControl>, scope 36 // id: %6
  404. } // end sil function '_TIvC3gpa20AddClassesController10creditsBarGSQCSo18UISegmentedControl_i'
  405.  
  406. sil_scope 37 { parent @_TToFC3gpa20AddClassesControllerg10creditsBarGSQCSo18UISegmentedControl_ : $@convention(objc_method) (AddClassesController) -> @autoreleased Optional<UISegmentedControl> }
  407.  
  408. // @objc AddClassesController.creditsBar.getter
  409. sil hidden [thunk] @_TToFC3gpa20AddClassesControllerg10creditsBarGSQCSo18UISegmentedControl_ : $@convention(objc_method) (AddClassesController) -> @autoreleased Optional<UISegmentedControl> {
  410. // %0 // user: %1
  411. bb0(%0 : $AddClassesController):
  412. %1 = copy_value %0 : $AddClassesController, scope 37 // users: %4, %3
  413. // function_ref AddClassesController.creditsBar.getter
  414. %2 = function_ref @_TFC3gpa20AddClassesControllerg10creditsBarGSQCSo18UISegmentedControl_ : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UISegmentedControl>, scope 37 // user: %3
  415. %3 = apply %2(%1) : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UISegmentedControl>, scope 37 // user: %5
  416. destroy_value %1 : $AddClassesController, scope 37 // id: %4
  417. return %3 : $Optional<UISegmentedControl>, scope 37 // id: %5
  418. } // end sil function '_TToFC3gpa20AddClassesControllerg10creditsBarGSQCSo18UISegmentedControl_'
  419.  
  420. sil_scope 38 { loc "AddClassesController.swift":33:19 parent @_TFC3gpa20AddClassesControllerg10creditsBarGSQCSo18UISegmentedControl_ : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UISegmentedControl> }
  421. sil_scope 39 { loc "AddClassesController.swift":33:19 parent 38 }
  422.  
  423. // AddClassesController.creditsBar.getter
  424. sil hidden @_TFC3gpa20AddClassesControllerg10creditsBarGSQCSo18UISegmentedControl_ : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UISegmentedControl> {
  425. // %0 // users: %2, %1
  426. bb0(%0 : $AddClassesController):
  427. debug_value %0 : $AddClassesController, let, name "self", argno 1, loc "AddClassesController.swift":33:19, scope 38 // id: %1
  428. %2 = ref_element_addr %0 : $AddClassesController, #AddClassesController.creditsBar, scope 39 // user: %3
  429. %3 = load [copy] %2 : $*Optional<UISegmentedControl>, scope 39 // user: %4
  430. return %3 : $Optional<UISegmentedControl>, loc "AddClassesController.swift":33:19, scope 39 // id: %4
  431. } // end sil function '_TFC3gpa20AddClassesControllerg10creditsBarGSQCSo18UISegmentedControl_'
  432.  
  433. sil_scope 40 { parent @_TToFC3gpa20AddClassesControllers10creditsBarGSQCSo18UISegmentedControl_ : $@convention(objc_method) (Optional<UISegmentedControl>, AddClassesController) -> () }
  434.  
  435. // @objc AddClassesController.creditsBar.setter
  436. sil hidden [thunk] @_TToFC3gpa20AddClassesControllers10creditsBarGSQCSo18UISegmentedControl_ : $@convention(objc_method) (Optional<UISegmentedControl>, AddClassesController) -> () {
  437. // %0 // user: %2
  438. // %1 // user: %3
  439. bb0(%0 : $Optional<UISegmentedControl>, %1 : $AddClassesController):
  440. %2 = copy_value %0 : $Optional<UISegmentedControl>, scope 40 // user: %5
  441. %3 = copy_value %1 : $AddClassesController, scope 40 // users: %6, %5
  442. // function_ref AddClassesController.creditsBar.setter
  443. %4 = function_ref @_TFC3gpa20AddClassesControllers10creditsBarGSQCSo18UISegmentedControl_ : $@convention(method) (@owned Optional<UISegmentedControl>, @guaranteed AddClassesController) -> (), scope 40 // user: %5
  444. %5 = apply %4(%2, %3) : $@convention(method) (@owned Optional<UISegmentedControl>, @guaranteed AddClassesController) -> (), scope 40 // user: %7
  445. destroy_value %3 : $AddClassesController, scope 40 // id: %6
  446. return %5 : $(), scope 40 // id: %7
  447. } // end sil function '_TToFC3gpa20AddClassesControllers10creditsBarGSQCSo18UISegmentedControl_'
  448.  
  449. sil_scope 41 { loc "AddClassesController.swift":33:19 parent @_TFC3gpa20AddClassesControllers10creditsBarGSQCSo18UISegmentedControl_ : $@convention(method) (@owned Optional<UISegmentedControl>, @guaranteed AddClassesController) -> () }
  450. sil_scope 42 { loc "AddClassesController.swift":33:19 parent 41 }
  451.  
  452. // AddClassesController.creditsBar.setter
  453. sil hidden @_TFC3gpa20AddClassesControllers10creditsBarGSQCSo18UISegmentedControl_ : $@convention(method) (@owned Optional<UISegmentedControl>, @guaranteed AddClassesController) -> () {
  454. // %0 // users: %7, %4, %2
  455. // %1 // users: %5, %3
  456. bb0(%0 : $Optional<UISegmentedControl>, %1 : $AddClassesController):
  457. debug_value %0 : $Optional<UISegmentedControl>, let, name "value", argno 1, loc "AddClassesController.swift":33:19, scope 41 // id: %2
  458. debug_value %1 : $AddClassesController, let, name "self", argno 2, loc "AddClassesController.swift":33:19, scope 41 // id: %3
  459. %4 = copy_value %0 : $Optional<UISegmentedControl>, scope 42 // user: %6
  460. %5 = ref_element_addr %1 : $AddClassesController, #AddClassesController.creditsBar, scope 42 // user: %6
  461. assign %4 to %5 : $*Optional<UISegmentedControl>, scope 42 // id: %6
  462. destroy_value %0 : $Optional<UISegmentedControl>, loc "AddClassesController.swift":33:19, scope 42 // id: %7
  463. %8 = tuple (), loc "AddClassesController.swift":33:19, scope 42 // user: %9
  464. return %8 : $(), loc "AddClassesController.swift":33:19, scope 42 // id: %9
  465. } // end sil function '_TFC3gpa20AddClassesControllers10creditsBarGSQCSo18UISegmentedControl_'
  466.  
  467. sil_scope 43 { parent @_TIvC3gpa20AddClassesController12warningLabelGSQCSo7UILabel_i : $@convention(thin) () -> @owned Optional<UILabel> }
  468.  
  469. // AddClassesController.(warningLabel).(variable initialization expression)
  470. sil hidden [transparent] @_TIvC3gpa20AddClassesController12warningLabelGSQCSo7UILabel_i : $@convention(thin) () -> @owned Optional<UILabel> {
  471. bb0:
  472. // function_ref ImplicitlyUnwrappedOptional.init(nilLiteral : ()) -> A!
  473. %0 = function_ref @_TFSQCfT10nilLiteralT__GSQx_ : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 43 // user: %3
  474. %1 = metatype $@thin ImplicitlyUnwrappedOptional<UILabel>.Type, scope 43 // user: %3
  475. %2 = alloc_stack $Optional<UILabel>, scope 43 // users: %5, %4, %3
  476. %3 = apply %0<UILabel>(%2, %1) : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 43
  477. %4 = load [take] %2 : $*Optional<UILabel>, scope 43 // user: %6
  478. dealloc_stack %2 : $*Optional<UILabel>, scope 43 // id: %5
  479. return %4 : $Optional<UILabel>, scope 43 // id: %6
  480. } // end sil function '_TIvC3gpa20AddClassesController12warningLabelGSQCSo7UILabel_i'
  481.  
  482. sil_scope 44 { parent @_TToFC3gpa20AddClassesControllerg12warningLabelGSQCSo7UILabel_ : $@convention(objc_method) (AddClassesController) -> @autoreleased Optional<UILabel> }
  483.  
  484. // @objc AddClassesController.warningLabel.getter
  485. sil hidden [thunk] @_TToFC3gpa20AddClassesControllerg12warningLabelGSQCSo7UILabel_ : $@convention(objc_method) (AddClassesController) -> @autoreleased Optional<UILabel> {
  486. // %0 // user: %1
  487. bb0(%0 : $AddClassesController):
  488. %1 = copy_value %0 : $AddClassesController, scope 44 // users: %4, %3
  489. // function_ref AddClassesController.warningLabel.getter
  490. %2 = function_ref @_TFC3gpa20AddClassesControllerg12warningLabelGSQCSo7UILabel_ : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UILabel>, scope 44 // user: %3
  491. %3 = apply %2(%1) : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UILabel>, scope 44 // user: %5
  492. destroy_value %1 : $AddClassesController, scope 44 // id: %4
  493. return %3 : $Optional<UILabel>, scope 44 // id: %5
  494. } // end sil function '_TToFC3gpa20AddClassesControllerg12warningLabelGSQCSo7UILabel_'
  495.  
  496. sil_scope 45 { loc "AddClassesController.swift":35:19 parent @_TFC3gpa20AddClassesControllerg12warningLabelGSQCSo7UILabel_ : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UILabel> }
  497. sil_scope 46 { loc "AddClassesController.swift":35:19 parent 45 }
  498.  
  499. // AddClassesController.warningLabel.getter
  500. sil hidden @_TFC3gpa20AddClassesControllerg12warningLabelGSQCSo7UILabel_ : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UILabel> {
  501. // %0 // users: %2, %1
  502. bb0(%0 : $AddClassesController):
  503. debug_value %0 : $AddClassesController, let, name "self", argno 1, loc "AddClassesController.swift":35:19, scope 45 // id: %1
  504. %2 = ref_element_addr %0 : $AddClassesController, #AddClassesController.warningLabel, scope 46 // user: %3
  505. %3 = load [copy] %2 : $*Optional<UILabel>, scope 46 // user: %4
  506. return %3 : $Optional<UILabel>, loc "AddClassesController.swift":35:19, scope 46 // id: %4
  507. } // end sil function '_TFC3gpa20AddClassesControllerg12warningLabelGSQCSo7UILabel_'
  508.  
  509. sil_scope 47 { parent @_TToFC3gpa20AddClassesControllers12warningLabelGSQCSo7UILabel_ : $@convention(objc_method) (Optional<UILabel>, AddClassesController) -> () }
  510.  
  511. // @objc AddClassesController.warningLabel.setter
  512. sil hidden [thunk] @_TToFC3gpa20AddClassesControllers12warningLabelGSQCSo7UILabel_ : $@convention(objc_method) (Optional<UILabel>, AddClassesController) -> () {
  513. // %0 // user: %2
  514. // %1 // user: %3
  515. bb0(%0 : $Optional<UILabel>, %1 : $AddClassesController):
  516. %2 = copy_value %0 : $Optional<UILabel>, scope 47 // user: %5
  517. %3 = copy_value %1 : $AddClassesController, scope 47 // users: %6, %5
  518. // function_ref AddClassesController.warningLabel.setter
  519. %4 = function_ref @_TFC3gpa20AddClassesControllers12warningLabelGSQCSo7UILabel_ : $@convention(method) (@owned Optional<UILabel>, @guaranteed AddClassesController) -> (), scope 47 // user: %5
  520. %5 = apply %4(%2, %3) : $@convention(method) (@owned Optional<UILabel>, @guaranteed AddClassesController) -> (), scope 47 // user: %7
  521. destroy_value %3 : $AddClassesController, scope 47 // id: %6
  522. return %5 : $(), scope 47 // id: %7
  523. } // end sil function '_TToFC3gpa20AddClassesControllers12warningLabelGSQCSo7UILabel_'
  524.  
  525. sil_scope 48 { loc "AddClassesController.swift":35:19 parent @_TFC3gpa20AddClassesControllers12warningLabelGSQCSo7UILabel_ : $@convention(method) (@owned Optional<UILabel>, @guaranteed AddClassesController) -> () }
  526. sil_scope 49 { loc "AddClassesController.swift":35:19 parent 48 }
  527.  
  528. // AddClassesController.warningLabel.setter
  529. sil hidden @_TFC3gpa20AddClassesControllers12warningLabelGSQCSo7UILabel_ : $@convention(method) (@owned Optional<UILabel>, @guaranteed AddClassesController) -> () {
  530. // %0 // users: %7, %4, %2
  531. // %1 // users: %5, %3
  532. bb0(%0 : $Optional<UILabel>, %1 : $AddClassesController):
  533. debug_value %0 : $Optional<UILabel>, let, name "value", argno 1, loc "AddClassesController.swift":35:19, scope 48 // id: %2
  534. debug_value %1 : $AddClassesController, let, name "self", argno 2, loc "AddClassesController.swift":35:19, scope 48 // id: %3
  535. %4 = copy_value %0 : $Optional<UILabel>, scope 49 // user: %6
  536. %5 = ref_element_addr %1 : $AddClassesController, #AddClassesController.warningLabel, scope 49 // user: %6
  537. assign %4 to %5 : $*Optional<UILabel>, scope 49 // id: %6
  538. destroy_value %0 : $Optional<UILabel>, loc "AddClassesController.swift":35:19, scope 49 // id: %7
  539. %8 = tuple (), loc "AddClassesController.swift":35:19, scope 49 // user: %9
  540. return %8 : $(), loc "AddClassesController.swift":35:19, scope 49 // id: %9
  541. } // end sil function '_TFC3gpa20AddClassesControllers12warningLabelGSQCSo7UILabel_'
  542.  
  543. sil_scope 50 { parent @_TIvC3gpa20AddClassesController14addClassButtonGSQCSo8UIButton_i : $@convention(thin) () -> @owned Optional<UIButton> }
  544.  
  545. // AddClassesController.(addClassButton).(variable initialization expression)
  546. sil hidden [transparent] @_TIvC3gpa20AddClassesController14addClassButtonGSQCSo8UIButton_i : $@convention(thin) () -> @owned Optional<UIButton> {
  547. bb0:
  548. // function_ref ImplicitlyUnwrappedOptional.init(nilLiteral : ()) -> A!
  549. %0 = function_ref @_TFSQCfT10nilLiteralT__GSQx_ : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 50 // user: %3
  550. %1 = metatype $@thin ImplicitlyUnwrappedOptional<UIButton>.Type, scope 50 // user: %3
  551. %2 = alloc_stack $Optional<UIButton>, scope 50 // users: %5, %4, %3
  552. %3 = apply %0<UIButton>(%2, %1) : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 50
  553. %4 = load [take] %2 : $*Optional<UIButton>, scope 50 // user: %6
  554. dealloc_stack %2 : $*Optional<UIButton>, scope 50 // id: %5
  555. return %4 : $Optional<UIButton>, scope 50 // id: %6
  556. } // end sil function '_TIvC3gpa20AddClassesController14addClassButtonGSQCSo8UIButton_i'
  557.  
  558. sil_scope 51 { parent @_TToFC3gpa20AddClassesControllerg14addClassButtonGSQCSo8UIButton_ : $@convention(objc_method) (AddClassesController) -> @autoreleased Optional<UIButton> }
  559.  
  560. // @objc AddClassesController.addClassButton.getter
  561. sil hidden [thunk] @_TToFC3gpa20AddClassesControllerg14addClassButtonGSQCSo8UIButton_ : $@convention(objc_method) (AddClassesController) -> @autoreleased Optional<UIButton> {
  562. // %0 // user: %1
  563. bb0(%0 : $AddClassesController):
  564. %1 = copy_value %0 : $AddClassesController, scope 51 // users: %4, %3
  565. // function_ref AddClassesController.addClassButton.getter
  566. %2 = function_ref @_TFC3gpa20AddClassesControllerg14addClassButtonGSQCSo8UIButton_ : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UIButton>, scope 51 // user: %3
  567. %3 = apply %2(%1) : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UIButton>, scope 51 // user: %5
  568. destroy_value %1 : $AddClassesController, scope 51 // id: %4
  569. return %3 : $Optional<UIButton>, scope 51 // id: %5
  570. } // end sil function '_TToFC3gpa20AddClassesControllerg14addClassButtonGSQCSo8UIButton_'
  571.  
  572. sil_scope 52 { loc "AddClassesController.swift":37:19 parent @_TFC3gpa20AddClassesControllerg14addClassButtonGSQCSo8UIButton_ : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UIButton> }
  573. sil_scope 53 { loc "AddClassesController.swift":37:19 parent 52 }
  574.  
  575. // AddClassesController.addClassButton.getter
  576. sil hidden @_TFC3gpa20AddClassesControllerg14addClassButtonGSQCSo8UIButton_ : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UIButton> {
  577. // %0 // users: %2, %1
  578. bb0(%0 : $AddClassesController):
  579. debug_value %0 : $AddClassesController, let, name "self", argno 1, loc "AddClassesController.swift":37:19, scope 52 // id: %1
  580. %2 = ref_element_addr %0 : $AddClassesController, #AddClassesController.addClassButton, scope 53 // user: %3
  581. %3 = load [copy] %2 : $*Optional<UIButton>, scope 53 // user: %4
  582. return %3 : $Optional<UIButton>, loc "AddClassesController.swift":37:19, scope 53 // id: %4
  583. } // end sil function '_TFC3gpa20AddClassesControllerg14addClassButtonGSQCSo8UIButton_'
  584.  
  585. sil_scope 54 { parent @_TToFC3gpa20AddClassesControllers14addClassButtonGSQCSo8UIButton_ : $@convention(objc_method) (Optional<UIButton>, AddClassesController) -> () }
  586.  
  587. // @objc AddClassesController.addClassButton.setter
  588. sil hidden [thunk] @_TToFC3gpa20AddClassesControllers14addClassButtonGSQCSo8UIButton_ : $@convention(objc_method) (Optional<UIButton>, AddClassesController) -> () {
  589. // %0 // user: %2
  590. // %1 // user: %3
  591. bb0(%0 : $Optional<UIButton>, %1 : $AddClassesController):
  592. %2 = copy_value %0 : $Optional<UIButton>, scope 54 // user: %5
  593. %3 = copy_value %1 : $AddClassesController, scope 54 // users: %6, %5
  594. // function_ref AddClassesController.addClassButton.setter
  595. %4 = function_ref @_TFC3gpa20AddClassesControllers14addClassButtonGSQCSo8UIButton_ : $@convention(method) (@owned Optional<UIButton>, @guaranteed AddClassesController) -> (), scope 54 // user: %5
  596. %5 = apply %4(%2, %3) : $@convention(method) (@owned Optional<UIButton>, @guaranteed AddClassesController) -> (), scope 54 // user: %7
  597. destroy_value %3 : $AddClassesController, scope 54 // id: %6
  598. return %5 : $(), scope 54 // id: %7
  599. } // end sil function '_TToFC3gpa20AddClassesControllers14addClassButtonGSQCSo8UIButton_'
  600.  
  601. sil_scope 55 { loc "AddClassesController.swift":37:19 parent @_TFC3gpa20AddClassesControllers14addClassButtonGSQCSo8UIButton_ : $@convention(method) (@owned Optional<UIButton>, @guaranteed AddClassesController) -> () }
  602. sil_scope 56 { loc "AddClassesController.swift":37:19 parent 55 }
  603.  
  604. // AddClassesController.addClassButton.setter
  605. sil hidden @_TFC3gpa20AddClassesControllers14addClassButtonGSQCSo8UIButton_ : $@convention(method) (@owned Optional<UIButton>, @guaranteed AddClassesController) -> () {
  606. // %0 // users: %7, %4, %2
  607. // %1 // users: %5, %3
  608. bb0(%0 : $Optional<UIButton>, %1 : $AddClassesController):
  609. debug_value %0 : $Optional<UIButton>, let, name "value", argno 1, loc "AddClassesController.swift":37:19, scope 55 // id: %2
  610. debug_value %1 : $AddClassesController, let, name "self", argno 2, loc "AddClassesController.swift":37:19, scope 55 // id: %3
  611. %4 = copy_value %0 : $Optional<UIButton>, scope 56 // user: %6
  612. %5 = ref_element_addr %1 : $AddClassesController, #AddClassesController.addClassButton, scope 56 // user: %6
  613. assign %4 to %5 : $*Optional<UIButton>, scope 56 // id: %6
  614. destroy_value %0 : $Optional<UIButton>, loc "AddClassesController.swift":37:19, scope 56 // id: %7
  615. %8 = tuple (), loc "AddClassesController.swift":37:19, scope 56 // user: %9
  616. return %8 : $(), loc "AddClassesController.swift":37:19, scope 56 // id: %9
  617. } // end sil function '_TFC3gpa20AddClassesControllers14addClassButtonGSQCSo8UIButton_'
  618.  
  619. sil_scope 57 { parent @_TIvC3gpa20AddClassesController12cancelButtonGSQCSo15UIBarButtonItem_i : $@convention(thin) () -> @owned Optional<UIBarButtonItem> }
  620.  
  621. // AddClassesController.(cancelButton).(variable initialization expression)
  622. sil hidden [transparent] @_TIvC3gpa20AddClassesController12cancelButtonGSQCSo15UIBarButtonItem_i : $@convention(thin) () -> @owned Optional<UIBarButtonItem> {
  623. bb0:
  624. // function_ref ImplicitlyUnwrappedOptional.init(nilLiteral : ()) -> A!
  625. %0 = function_ref @_TFSQCfT10nilLiteralT__GSQx_ : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 57 // user: %3
  626. %1 = metatype $@thin ImplicitlyUnwrappedOptional<UIBarButtonItem>.Type, scope 57 // user: %3
  627. %2 = alloc_stack $Optional<UIBarButtonItem>, scope 57 // users: %5, %4, %3
  628. %3 = apply %0<UIBarButtonItem>(%2, %1) : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 57
  629. %4 = load [take] %2 : $*Optional<UIBarButtonItem>, scope 57 // user: %6
  630. dealloc_stack %2 : $*Optional<UIBarButtonItem>, scope 57 // id: %5
  631. return %4 : $Optional<UIBarButtonItem>, scope 57 // id: %6
  632. } // end sil function '_TIvC3gpa20AddClassesController12cancelButtonGSQCSo15UIBarButtonItem_i'
  633.  
  634. sil_scope 58 { parent @_TToFC3gpa20AddClassesControllerg12cancelButtonGSQCSo15UIBarButtonItem_ : $@convention(objc_method) (AddClassesController) -> @autoreleased Optional<UIBarButtonItem> }
  635.  
  636. // @objc AddClassesController.cancelButton.getter
  637. sil hidden [thunk] @_TToFC3gpa20AddClassesControllerg12cancelButtonGSQCSo15UIBarButtonItem_ : $@convention(objc_method) (AddClassesController) -> @autoreleased Optional<UIBarButtonItem> {
  638. // %0 // user: %1
  639. bb0(%0 : $AddClassesController):
  640. %1 = copy_value %0 : $AddClassesController, scope 58 // users: %4, %3
  641. // function_ref AddClassesController.cancelButton.getter
  642. %2 = function_ref @_TFC3gpa20AddClassesControllerg12cancelButtonGSQCSo15UIBarButtonItem_ : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UIBarButtonItem>, scope 58 // user: %3
  643. %3 = apply %2(%1) : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UIBarButtonItem>, scope 58 // user: %5
  644. destroy_value %1 : $AddClassesController, scope 58 // id: %4
  645. return %3 : $Optional<UIBarButtonItem>, scope 58 // id: %5
  646. } // end sil function '_TToFC3gpa20AddClassesControllerg12cancelButtonGSQCSo15UIBarButtonItem_'
  647.  
  648. sil_scope 59 { loc "AddClassesController.swift":38:19 parent @_TFC3gpa20AddClassesControllerg12cancelButtonGSQCSo15UIBarButtonItem_ : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UIBarButtonItem> }
  649. sil_scope 60 { loc "AddClassesController.swift":38:19 parent 59 }
  650.  
  651. // AddClassesController.cancelButton.getter
  652. sil hidden @_TFC3gpa20AddClassesControllerg12cancelButtonGSQCSo15UIBarButtonItem_ : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UIBarButtonItem> {
  653. // %0 // users: %2, %1
  654. bb0(%0 : $AddClassesController):
  655. debug_value %0 : $AddClassesController, let, name "self", argno 1, loc "AddClassesController.swift":38:19, scope 59 // id: %1
  656. %2 = ref_element_addr %0 : $AddClassesController, #AddClassesController.cancelButton, scope 60 // user: %3
  657. %3 = load [copy] %2 : $*Optional<UIBarButtonItem>, scope 60 // user: %4
  658. return %3 : $Optional<UIBarButtonItem>, loc "AddClassesController.swift":38:19, scope 60 // id: %4
  659. } // end sil function '_TFC3gpa20AddClassesControllerg12cancelButtonGSQCSo15UIBarButtonItem_'
  660.  
  661. sil_scope 61 { parent @_TToFC3gpa20AddClassesControllers12cancelButtonGSQCSo15UIBarButtonItem_ : $@convention(objc_method) (Optional<UIBarButtonItem>, AddClassesController) -> () }
  662.  
  663. // @objc AddClassesController.cancelButton.setter
  664. sil hidden [thunk] @_TToFC3gpa20AddClassesControllers12cancelButtonGSQCSo15UIBarButtonItem_ : $@convention(objc_method) (Optional<UIBarButtonItem>, AddClassesController) -> () {
  665. // %0 // user: %2
  666. // %1 // user: %3
  667. bb0(%0 : $Optional<UIBarButtonItem>, %1 : $AddClassesController):
  668. %2 = copy_value %0 : $Optional<UIBarButtonItem>, scope 61 // user: %5
  669. %3 = copy_value %1 : $AddClassesController, scope 61 // users: %6, %5
  670. // function_ref AddClassesController.cancelButton.setter
  671. %4 = function_ref @_TFC3gpa20AddClassesControllers12cancelButtonGSQCSo15UIBarButtonItem_ : $@convention(method) (@owned Optional<UIBarButtonItem>, @guaranteed AddClassesController) -> (), scope 61 // user: %5
  672. %5 = apply %4(%2, %3) : $@convention(method) (@owned Optional<UIBarButtonItem>, @guaranteed AddClassesController) -> (), scope 61 // user: %7
  673. destroy_value %3 : $AddClassesController, scope 61 // id: %6
  674. return %5 : $(), scope 61 // id: %7
  675. } // end sil function '_TToFC3gpa20AddClassesControllers12cancelButtonGSQCSo15UIBarButtonItem_'
  676.  
  677. sil_scope 62 { loc "AddClassesController.swift":38:19 parent @_TFC3gpa20AddClassesControllers12cancelButtonGSQCSo15UIBarButtonItem_ : $@convention(method) (@owned Optional<UIBarButtonItem>, @guaranteed AddClassesController) -> () }
  678. sil_scope 63 { loc "AddClassesController.swift":38:19 parent 62 }
  679.  
  680. // AddClassesController.cancelButton.setter
  681. sil hidden @_TFC3gpa20AddClassesControllers12cancelButtonGSQCSo15UIBarButtonItem_ : $@convention(method) (@owned Optional<UIBarButtonItem>, @guaranteed AddClassesController) -> () {
  682. // %0 // users: %7, %4, %2
  683. // %1 // users: %5, %3
  684. bb0(%0 : $Optional<UIBarButtonItem>, %1 : $AddClassesController):
  685. debug_value %0 : $Optional<UIBarButtonItem>, let, name "value", argno 1, loc "AddClassesController.swift":38:19, scope 62 // id: %2
  686. debug_value %1 : $AddClassesController, let, name "self", argno 2, loc "AddClassesController.swift":38:19, scope 62 // id: %3
  687. %4 = copy_value %0 : $Optional<UIBarButtonItem>, scope 63 // user: %6
  688. %5 = ref_element_addr %1 : $AddClassesController, #AddClassesController.cancelButton, scope 63 // user: %6
  689. assign %4 to %5 : $*Optional<UIBarButtonItem>, scope 63 // id: %6
  690. destroy_value %0 : $Optional<UIBarButtonItem>, loc "AddClassesController.swift":38:19, scope 63 // id: %7
  691. %8 = tuple (), loc "AddClassesController.swift":38:19, scope 63 // user: %9
  692. return %8 : $(), loc "AddClassesController.swift":38:19, scope 63 // id: %9
  693. } // end sil function '_TFC3gpa20AddClassesControllers12cancelButtonGSQCSo15UIBarButtonItem_'
  694.  
  695. sil_scope 64 { loc "AddClassesController.swift":40:19 parent @_TFC3gpa20AddClassesController11viewDidLoadfT_T_ : $@convention(method) (@guaranteed AddClassesController) -> () }
  696. sil_scope 65 { loc "AddClassesController.swift":44:5 parent 64 }
  697.  
  698. // AddClassesController.viewDidLoad() -> ()
  699. sil hidden @_TFC3gpa20AddClassesController11viewDidLoadfT_T_ : $@convention(method) (@guaranteed AddClassesController) -> () {
  700. // %0 // users: %35, %34, %9, %8, %2, %1
  701. bb0(%0 : $AddClassesController):
  702. debug_value %0 : $AddClassesController, let, name "self", argno 1, loc "AddClassesController.swift":40:19, scope 64 // id: %1
  703. %2 = copy_value %0 : $AddClassesController, loc "AddClassesController.swift":41:9, scope 65 // users: %6, %4, %3
  704. %3 = upcast %2 : $AddClassesController to $UIViewController, loc "AddClassesController.swift":41:9, scope 65 // user: %5
  705. %4 = super_method [volatile] %2 : $AddClassesController, #UIViewController.viewDidLoad!1.foreign : (UIViewController) -> () -> () , $@convention(objc_method) (UIViewController) -> (), loc "AddClassesController.swift":41:15, scope 65 // user: %5
  706. %5 = apply %4(%3) : $@convention(objc_method) (UIViewController) -> (), loc "AddClassesController.swift":41:27, scope 65
  707. destroy_value %2 : $AddClassesController, loc "AddClassesController.swift":41:27, scope 65 // id: %6
  708. %7 = alloc_stack $Optional<UILabel>, loc "AddClassesController.swift":42:9, scope 65 // users: %32, %19, %11, %10
  709. %8 = class_method %0 : $AddClassesController, #AddClassesController.warningLabel!getter.1 : (AddClassesController) -> () -> UILabel! , $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UILabel>, loc "AddClassesController.swift":42:9, scope 65 // user: %9
  710. %9 = apply %8(%0) : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UILabel>, loc "AddClassesController.swift":42:9, scope 65 // user: %10
  711. store %9 to [init] %7 : $*Optional<UILabel>, loc "AddClassesController.swift":42:9, scope 65 // id: %10
  712. switch_enum_addr %7 : $*Optional<UILabel>, case #Optional.none!enumelt: bb1, default bb2, loc "AddClassesController.swift":42:9, scope 65 // id: %11
  713.  
  714. bb1: // Preds: bb0
  715. %12 = string_literal utf8 "AddClassesController.swift", loc "AddClassesController.swift":42:9, scope 65 // user: %17
  716. %13 = integer_literal $Builtin.Word, 26, loc "AddClassesController.swift":42:9, scope 65 // user: %17
  717. %14 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":42:9, scope 65 // user: %17
  718. %15 = integer_literal $Builtin.Word, 42, loc "AddClassesController.swift":42:9, scope 65 // user: %17
  719. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  720. %16 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":42:9, scope 65 // user: %17
  721. %17 = apply %16(%12, %13, %14, %15) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":42:9, scope 65
  722. unreachable , loc "AddClassesController.swift":42:9, scope 65 // id: %18
  723.  
  724. bb2: // Preds: bb0
  725. %19 = unchecked_take_enum_data_addr %7 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "AddClassesController.swift":42:9, scope 65 // users: %31, %20
  726. %20 = load [copy] %19 : $*UILabel, loc "AddClassesController.swift":42:9, scope 65 // users: %30, %21
  727. %21 = upcast %20 : $UILabel to $UIView, loc "AddClassesController.swift":42:9, scope 65 // users: %29, %26
  728. // function_ref Bool.init(_builtinBooleanLiteral : Builtin.Int1) -> Bool
  729. %22 = function_ref @_TFSbCfT22_builtinBooleanLiteralBi1__Sb : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":42:33, scope 65 // user: %25
  730. %23 = metatype $@thin Bool.Type, loc "AddClassesController.swift":42:33, scope 65 // user: %25
  731. %24 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":42:33, scope 65 // user: %25
  732. %25 = apply %22(%24, %23) : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":42:33, scope 65 // user: %28
  733. %26 = class_method [volatile] %21 : $UIView, #UIView.hidden!setter.1.foreign : (UIView) -> (Bool) -> () , $@convention(objc_method) (ObjCBool, UIView) -> (), loc "AddClassesController.swift":42:31, scope 65 // user: %29
  734. // function_ref _convertBoolToObjCBool(Bool) -> ObjCBool
  735. %27 = function_ref @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool, loc "AddClassesController.swift":42:31, scope 65 // user: %28
  736. %28 = apply %27(%25) : $@convention(thin) (Bool) -> ObjCBool, loc "AddClassesController.swift":42:31, scope 65 // user: %29
  737. %29 = apply %26(%28, %21) : $@convention(objc_method) (ObjCBool, UIView) -> (), loc "AddClassesController.swift":42:31, scope 65
  738. destroy_value %20 : $UILabel, loc "AddClassesController.swift":42:33, scope 65 // id: %30
  739. destroy_addr %19 : $*UILabel, loc "AddClassesController.swift":42:33, scope 65 // id: %31
  740. dealloc_stack %7 : $*Optional<UILabel>, loc "AddClassesController.swift":42:33, scope 65 // id: %32
  741. %33 = alloc_stack $Optional<UIBarButtonItem>, loc "AddClassesController.swift":43:9, scope 65 // users: %58, %45, %37, %36
  742. %34 = class_method %0 : $AddClassesController, #AddClassesController.cancelButton!getter.1 : (AddClassesController) -> () -> UIBarButtonItem! , $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UIBarButtonItem>, loc "AddClassesController.swift":43:9, scope 65 // user: %35
  743. %35 = apply %34(%0) : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UIBarButtonItem>, loc "AddClassesController.swift":43:9, scope 65 // user: %36
  744. store %35 to [init] %33 : $*Optional<UIBarButtonItem>, loc "AddClassesController.swift":43:9, scope 65 // id: %36
  745. switch_enum_addr %33 : $*Optional<UIBarButtonItem>, case #Optional.none!enumelt: bb3, default bb4, loc "AddClassesController.swift":43:9, scope 65 // id: %37
  746.  
  747. bb3: // Preds: bb2
  748. %38 = string_literal utf8 "AddClassesController.swift", loc "AddClassesController.swift":43:9, scope 65 // user: %43
  749. %39 = integer_literal $Builtin.Word, 26, loc "AddClassesController.swift":43:9, scope 65 // user: %43
  750. %40 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":43:9, scope 65 // user: %43
  751. %41 = integer_literal $Builtin.Word, 43, loc "AddClassesController.swift":43:9, scope 65 // user: %43
  752. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  753. %42 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":43:9, scope 65 // user: %43
  754. %43 = apply %42(%38, %39, %40, %41) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":43:9, scope 65
  755. unreachable , loc "AddClassesController.swift":43:9, scope 65 // id: %44
  756.  
  757. bb4: // Preds: bb2
  758. %45 = unchecked_take_enum_data_addr %33 : $*Optional<UIBarButtonItem>, #Optional.some!enumelt.1, loc "AddClassesController.swift":43:9, scope 65 // users: %57, %46
  759. %46 = load [copy] %45 : $*UIBarButtonItem, loc "AddClassesController.swift":43:9, scope 65 // users: %56, %47
  760. %47 = upcast %46 : $UIBarButtonItem to $UIBarItem, loc "AddClassesController.swift":43:9, scope 65 // users: %55, %52
  761. // function_ref Bool.init(_builtinBooleanLiteral : Builtin.Int1) -> Bool
  762. %48 = function_ref @_TFSbCfT22_builtinBooleanLiteralBi1__Sb : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":43:34, scope 65 // user: %51
  763. %49 = metatype $@thin Bool.Type, loc "AddClassesController.swift":43:34, scope 65 // user: %51
  764. %50 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":43:34, scope 65 // user: %51
  765. %51 = apply %48(%50, %49) : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":43:34, scope 65 // user: %54
  766. %52 = class_method [volatile] %47 : $UIBarItem, #UIBarItem.enabled!setter.1.foreign : (UIBarItem) -> (Bool) -> () , $@convention(objc_method) (ObjCBool, UIBarItem) -> (), loc "AddClassesController.swift":43:32, scope 65 // user: %55
  767. // function_ref _convertBoolToObjCBool(Bool) -> ObjCBool
  768. %53 = function_ref @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool, loc "AddClassesController.swift":43:32, scope 65 // user: %54
  769. %54 = apply %53(%51) : $@convention(thin) (Bool) -> ObjCBool, loc "AddClassesController.swift":43:32, scope 65 // user: %55
  770. %55 = apply %52(%54, %47) : $@convention(objc_method) (ObjCBool, UIBarItem) -> (), loc "AddClassesController.swift":43:32, scope 65
  771. destroy_value %46 : $UIBarButtonItem, loc "AddClassesController.swift":43:34, scope 65 // id: %56
  772. destroy_addr %45 : $*UIBarButtonItem, loc "AddClassesController.swift":43:34, scope 65 // id: %57
  773. dealloc_stack %33 : $*Optional<UIBarButtonItem>, loc "AddClassesController.swift":43:34, scope 65 // id: %58
  774. %59 = tuple (), loc "AddClassesController.swift":44:5, scope 65 // user: %60
  775. return %59 : $(), loc "AddClassesController.swift":44:5, scope 65 // id: %60
  776. } // end sil function '_TFC3gpa20AddClassesController11viewDidLoadfT_T_'
  777.  
  778.  
  779. // _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  780. sil [transparent] [fragile] @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> ()
  781.  
  782.  
  783. // Bool.init(_builtinBooleanLiteral : Builtin.Int1) -> Bool
  784. sil [transparent] [fragile] @_TFSbCfT22_builtinBooleanLiteralBi1__Sb : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool
  785.  
  786.  
  787. // _convertBoolToObjCBool(Bool) -> ObjCBool
  788. sil @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool
  789.  
  790. sil_scope 66 { loc "AddClassesController.swift":40:19 parent @_TToFC3gpa20AddClassesController11viewDidLoadfT_T_ : $@convention(objc_method) (AddClassesController) -> () }
  791.  
  792. // @objc AddClassesController.viewDidLoad() -> ()
  793. sil hidden [thunk] @_TToFC3gpa20AddClassesController11viewDidLoadfT_T_ : $@convention(objc_method) (AddClassesController) -> () {
  794. // %0 // user: %1
  795. bb0(%0 : $AddClassesController):
  796. %1 = copy_value %0 : $AddClassesController, scope 66 // users: %4, %3
  797. // function_ref AddClassesController.viewDidLoad() -> ()
  798. %2 = function_ref @_TFC3gpa20AddClassesController11viewDidLoadfT_T_ : $@convention(method) (@guaranteed AddClassesController) -> (), scope 66 // user: %3
  799. %3 = apply %2(%1) : $@convention(method) (@guaranteed AddClassesController) -> (), scope 66 // user: %5
  800. destroy_value %1 : $AddClassesController, scope 66 // id: %4
  801. return %3 : $(), scope 66 // id: %5
  802. } // end sil function '_TToFC3gpa20AddClassesController11viewDidLoadfT_T_'
  803.  
  804. sil_scope 67 { loc "AddClassesController.swift":46:19 parent @_TFC3gpa20AddClassesController23didReceiveMemoryWarningfT_T_ : $@convention(method) (@guaranteed AddClassesController) -> () }
  805. sil_scope 68 { loc "AddClassesController.swift":49:5 parent 67 }
  806.  
  807. // AddClassesController.didReceiveMemoryWarning() -> ()
  808. sil hidden @_TFC3gpa20AddClassesController23didReceiveMemoryWarningfT_T_ : $@convention(method) (@guaranteed AddClassesController) -> () {
  809. // %0 // users: %2, %1
  810. bb0(%0 : $AddClassesController):
  811. debug_value %0 : $AddClassesController, let, name "self", argno 1, loc "AddClassesController.swift":46:19, scope 67 // id: %1
  812. %2 = copy_value %0 : $AddClassesController, loc "AddClassesController.swift":47:9, scope 68 // users: %6, %4, %3
  813. %3 = upcast %2 : $AddClassesController to $UIViewController, loc "AddClassesController.swift":47:9, scope 68 // user: %5
  814. %4 = super_method [volatile] %2 : $AddClassesController, #UIViewController.didReceiveMemoryWarning!1.foreign : (UIViewController) -> () -> () , $@convention(objc_method) (UIViewController) -> (), loc "AddClassesController.swift":47:15, scope 68 // user: %5
  815. %5 = apply %4(%3) : $@convention(objc_method) (UIViewController) -> (), loc "AddClassesController.swift":47:39, scope 68
  816. destroy_value %2 : $AddClassesController, loc "AddClassesController.swift":47:39, scope 68 // id: %6
  817. %7 = tuple (), loc "AddClassesController.swift":49:5, scope 68 // user: %8
  818. return %7 : $(), loc "AddClassesController.swift":49:5, scope 68 // id: %8
  819. } // end sil function '_TFC3gpa20AddClassesController23didReceiveMemoryWarningfT_T_'
  820.  
  821. sil_scope 69 { loc "AddClassesController.swift":46:19 parent @_TToFC3gpa20AddClassesController23didReceiveMemoryWarningfT_T_ : $@convention(objc_method) (AddClassesController) -> () }
  822.  
  823. // @objc AddClassesController.didReceiveMemoryWarning() -> ()
  824. sil hidden [thunk] @_TToFC3gpa20AddClassesController23didReceiveMemoryWarningfT_T_ : $@convention(objc_method) (AddClassesController) -> () {
  825. // %0 // user: %1
  826. bb0(%0 : $AddClassesController):
  827. %1 = copy_value %0 : $AddClassesController, scope 69 // users: %4, %3
  828. // function_ref AddClassesController.didReceiveMemoryWarning() -> ()
  829. %2 = function_ref @_TFC3gpa20AddClassesController23didReceiveMemoryWarningfT_T_ : $@convention(method) (@guaranteed AddClassesController) -> (), scope 69 // user: %3
  830. %3 = apply %2(%1) : $@convention(method) (@guaranteed AddClassesController) -> (), scope 69 // user: %5
  831. destroy_value %1 : $AddClassesController, scope 69 // id: %4
  832. return %3 : $(), scope 69 // id: %5
  833. } // end sil function '_TToFC3gpa20AddClassesController23didReceiveMemoryWarningfT_T_'
  834.  
  835. sil_scope 70 { loc "AddClassesController.swift":51:20 parent @_TFC3gpa20AddClassesController11addNewClassfP_T_ : $@convention(method) (@in Any, @guaranteed AddClassesController) -> () }
  836. sil_scope 71 { loc "AddClassesController.swift":142:5 parent 70 }
  837. sil_scope 72 { loc "AddClassesController.swift":83:9 parent 71 }
  838. sil_scope 73 { loc "AddClassesController.swift":64:30 parent 71 }
  839. sil_scope 74 { loc "AddClassesController.swift":83:9 parent 71 }
  840. sil_scope 75 { loc "AddClassesController.swift":66:30 parent 71 }
  841. sil_scope 76 { loc "AddClassesController.swift":83:9 parent 71 }
  842. sil_scope 77 { loc "AddClassesController.swift":68:30 parent 71 }
  843. sil_scope 78 { loc "AddClassesController.swift":83:9 parent 71 }
  844. sil_scope 79 { loc "AddClassesController.swift":82:30 parent 71 }
  845. sil_scope 80 { loc "AddClassesController.swift":81:17 parent 79 }
  846. sil_scope 81 { loc "AddClassesController.swift":74:17 parent 79 }
  847. sil_scope 82 { loc "AddClassesController.swift":119:9 parent 71 }
  848. sil_scope 83 { loc "AddClassesController.swift":102:27 parent 71 }
  849. sil_scope 84 { loc "AddClassesController.swift":119:9 parent 71 }
  850. sil_scope 85 { loc "AddClassesController.swift":104:27 parent 71 }
  851. sil_scope 86 { loc "AddClassesController.swift":119:9 parent 71 }
  852. sil_scope 87 { loc "AddClassesController.swift":118:27 parent 71 }
  853. sil_scope 88 { loc "AddClassesController.swift":117:17 parent 87 }
  854. sil_scope 89 { loc "AddClassesController.swift":110:17 parent 87 }
  855. sil_scope 90 { loc "AddClassesController.swift":95:9 parent 71 }
  856. sil_scope 91 { loc "AddClassesController.swift":90:9 parent 71 }
  857. sil_scope 92 { loc "AddClassesController.swift":57:9 parent 71 }
  858.  
  859. // AddClassesController.addNewClass(Any) -> ()
  860. sil hidden @_TFC3gpa20AddClassesController11addNewClassfP_T_ : $@convention(method) (@in Any, @guaranteed AddClassesController) -> () {
  861. // %0 // users: %1114, %2
  862. // %1 // users: %945, %916, %915, %890, %889, %867, %866, %827, %826, %787, %786, %764, %763, %724, %723, %684, %683, %516, %515, %456, %455, %568, %567, %385, %384, %970, %969, %319, %318, %1020, %1019, %220, %219, %160, %159, %270, %269, %63, %62, %6, %5, %1069, %1068, %3
  863. bb0(%0 : $*Any, %1 : $AddClassesController):
  864. debug_value_addr %0 : $*Any, let, name "sender", argno 1, loc "AddClassesController.swift":51:34, scope 70 // id: %2
  865. debug_value %1 : $AddClassesController, let, name "self", argno 2, loc "AddClassesController.swift":51:20, scope 70 // id: %3
  866. %4 = alloc_stack $Optional<UITextField>, loc "AddClassesController.swift":53:31, scope 71 // users: %43, %37, %16, %8, %7
  867. %5 = class_method %1 : $AddClassesController, #AddClassesController.classNameField!getter.1 : (AddClassesController) -> () -> UITextField! , $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UITextField>, loc "AddClassesController.swift":53:31, scope 71 // user: %6
  868. %6 = apply %5(%1) : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UITextField>, loc "AddClassesController.swift":53:31, scope 71 // user: %7
  869. store %6 to [init] %4 : $*Optional<UITextField>, loc "AddClassesController.swift":53:31, scope 71 // id: %7
  870. switch_enum_addr %4 : $*Optional<UITextField>, case #Optional.none!enumelt: bb1, default bb2, loc "AddClassesController.swift":53:31, scope 71 // id: %8
  871.  
  872. bb1: // Preds: bb0
  873. %9 = string_literal utf8 "AddClassesController.swift", loc "AddClassesController.swift":53:31, scope 71 // user: %14
  874. %10 = integer_literal $Builtin.Word, 26, loc "AddClassesController.swift":53:31, scope 71 // user: %14
  875. %11 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":53:31, scope 71 // user: %14
  876. %12 = integer_literal $Builtin.Word, 53, loc "AddClassesController.swift":53:31, scope 71 // user: %14
  877. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  878. %13 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":53:31, scope 71 // user: %14
  879. %14 = apply %13(%9, %10, %11, %12) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":53:31, scope 71
  880. unreachable , loc "AddClassesController.swift":53:31, scope 71 // id: %15
  881.  
  882. bb2: // Preds: bb0
  883. %16 = unchecked_take_enum_data_addr %4 : $*Optional<UITextField>, #Optional.some!enumelt.1, loc "AddClassesController.swift":53:31, scope 71 // users: %42, %36, %17
  884. %17 = load [copy] %16 : $*UITextField, loc "AddClassesController.swift":53:31, scope 71 // users: %41, %35, %19, %18
  885. %18 = class_method [volatile] %17 : $UITextField, #UITextField.text!getter.1.foreign : (UITextField) -> () -> String? , $@convention(objc_method) (UITextField) -> @autoreleased Optional<NSString>, loc "AddClassesController.swift":53:46, scope 71 // user: %19
  886. %19 = apply %18(%17) : $@convention(objc_method) (UITextField) -> @autoreleased Optional<NSString>, loc "AddClassesController.swift":53:46, scope 71 // users: %24, %22
  887. %20 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":53:46, scope 71 // user: %22
  888. %21 = integer_literal $Builtin.Int1, 0, loc "AddClassesController.swift":53:46, scope 71 // user: %22
  889. %22 = select_enum %19 : $Optional<NSString>, case #Optional.some!enumelt.1: %20, default %21 : $Builtin.Int1, loc "AddClassesController.swift":53:46, scope 71 // user: %23
  890. cond_br %22, bb3, bb4, loc "AddClassesController.swift":53:46, scope 71 // id: %23
  891.  
  892. bb3: // Preds: bb2
  893. %24 = unchecked_enum_data %19 : $Optional<NSString>, #Optional.some!enumelt.1, loc "AddClassesController.swift":53:46, scope 71 // user: %26
  894. // function_ref static String._unconditionallyBridgeFromObjectiveC(NSString?) -> String
  895. %25 = function_ref @_TZFE10FoundationSS36_unconditionallyBridgeFromObjectiveCfGSqCSo8NSString_SS : $@convention(method) (@owned Optional<NSString>, @thin String.Type) -> @owned String, loc "AddClassesController.swift":53:46, scope 71 // user: %28
  896. %26 = enum $Optional<NSString>, #Optional.some!enumelt.1, %24 : $NSString, loc "AddClassesController.swift":53:46, scope 71 // user: %28
  897. %27 = metatype $@thin String.Type, loc "AddClassesController.swift":53:46, scope 71 // user: %28
  898. %28 = apply %25(%26, %27) : $@convention(method) (@owned Optional<NSString>, @thin String.Type) -> @owned String, loc "AddClassesController.swift":53:46, scope 71 // user: %29
  899. %29 = enum $Optional<String>, #Optional.some!enumelt.1, %28 : $String, loc "AddClassesController.swift":53:46, scope 71 // user: %30
  900. br bb5(%29 : $Optional<String>), loc "AddClassesController.swift":53:46, scope 71 // id: %30
  901.  
  902. bb4: // Preds: bb2
  903. %31 = enum $Optional<String>, #Optional.none!enumelt, loc "AddClassesController.swift":53:46, scope 71 // user: %32
  904. br bb5(%31 : $Optional<String>), loc "AddClassesController.swift":53:46, scope 71 // id: %32
  905.  
  906. // %33 // user: %34
  907. bb5(%33 : $Optional<String>): // Preds: bb4 bb3
  908. switch_enum %33 : $Optional<String>, case #Optional.some!enumelt.1: bb7, default bb6, loc "AddClassesController.swift":53:46, scope 71 // id: %34
  909.  
  910. bb6: // Preds: bb5
  911. destroy_value %17 : $UITextField, loc "AddClassesController.swift":57:9, scope 71 // id: %35
  912. destroy_addr %16 : $*UITextField, loc "AddClassesController.swift":57:9, scope 71 // id: %36
  913. dealloc_stack %4 : $*Optional<UITextField>, loc "AddClassesController.swift":57:9, scope 71 // id: %37
  914. br bb110, loc "AddClassesController.swift":53:46, scope 71 // id: %38
  915.  
  916. // %39 // users: %966, %624, %564, %615, %1016, %1065, %266, %315, %52, %48, %40
  917. bb7(%39 : $String): // Preds: bb5
  918. debug_value %39 : $String, let, name "className", loc "AddClassesController.swift":53:19, scope 71 // id: %40
  919. destroy_value %17 : $UITextField, loc "AddClassesController.swift":53:46, scope 71 // id: %41
  920. destroy_addr %16 : $*UITextField, loc "AddClassesController.swift":53:46, scope 71 // id: %42
  921. dealloc_stack %4 : $*Optional<UITextField>, loc "AddClassesController.swift":53:46, scope 71 // id: %43
  922. // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
  923. %44 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "AddClassesController.swift":53:52, scope 71 // user: %50
  924. // function_ref static Bool.! prefix(Bool) -> Bool
  925. %45 = function_ref @_TZFSbop1nfSbSb : $@convention(method) (Bool, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":53:52, scope 71 // user: %49
  926. %46 = metatype $@thin Bool.Type, loc "AddClassesController.swift":53:52, scope 71 // user: %49
  927. // function_ref String.isEmpty.getter
  928. %47 = function_ref @_TFSSg7isEmptySb : $@convention(method) (@guaranteed String) -> Bool, loc "AddClassesController.swift":53:63, scope 71 // user: %48
  929. %48 = apply %47(%39) : $@convention(method) (@guaranteed String) -> Bool, loc "AddClassesController.swift":53:63, scope 71 // user: %49
  930. %49 = apply %45(%48, %46) : $@convention(method) (Bool, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":53:52, scope 71 // user: %50
  931. %50 = apply %44(%49) : $@convention(method) (Bool) -> Builtin.Int1, loc "AddClassesController.swift":53:63, scope 71 // user: %51
  932. cond_br %50, bb9, bb8, loc "AddClassesController.swift":53:63, scope 71 // id: %51
  933.  
  934. bb8: // Preds: bb7
  935. destroy_value %39 : $String, loc "AddClassesController.swift":57:9, scope 71 // id: %52
  936. br bb110, loc "AddClassesController.swift":53:9, scope 71 // id: %53
  937.  
  938. bb9: // Preds: bb7
  939. %54 = alloc_box ${ var Double }, var, name "multiplier", loc "AddClassesController.swift":60:13, scope 71 // users: %965, %563, %614, %1015, %1064, %265, %314, %55
  940. %55 = project_box %54 : ${ var Double }, 0, loc "AddClassesController.swift":60:13, scope 71 // users: %625, %215, %152, %126, %100, %60
  941. // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
  942. %56 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "AddClassesController.swift":60:34, scope 71 // user: %59
  943. %57 = metatype $@thin Double.Type, loc "AddClassesController.swift":60:34, scope 71 // user: %59
  944. %58 = integer_literal $Builtin.Int2048, -1, loc "AddClassesController.swift":60:34, scope 71 // user: %59
  945. %59 = apply %56(%58, %57) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "AddClassesController.swift":60:35, scope 71 // user: %60
  946. store %59 to [trivial] %55 : $*Double, loc "AddClassesController.swift":60:35, scope 71 // id: %60
  947. %61 = alloc_stack $Optional<UISegmentedControl>, loc "AddClassesController.swift":62:16, scope 71 // users: %157, %147, %121, %95, %73, %65, %64
  948. %62 = class_method %1 : $AddClassesController, #AddClassesController.multiplierBar!getter.1 : (AddClassesController) -> () -> UISegmentedControl! , $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UISegmentedControl>, loc "AddClassesController.swift":62:16, scope 71 // user: %63
  949. %63 = apply %62(%1) : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UISegmentedControl>, loc "AddClassesController.swift":62:16, scope 71 // user: %64
  950. store %63 to [init] %61 : $*Optional<UISegmentedControl>, loc "AddClassesController.swift":62:16, scope 71 // id: %64
  951. switch_enum_addr %61 : $*Optional<UISegmentedControl>, case #Optional.none!enumelt: bb10, default bb11, loc "AddClassesController.swift":62:16, scope 71 // id: %65
  952.  
  953. bb10: // Preds: bb9
  954. %66 = string_literal utf8 "AddClassesController.swift", loc "AddClassesController.swift":62:16, scope 71 // user: %71
  955. %67 = integer_literal $Builtin.Word, 26, loc "AddClassesController.swift":62:16, scope 71 // user: %71
  956. %68 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":62:16, scope 71 // user: %71
  957. %69 = integer_literal $Builtin.Word, 62, loc "AddClassesController.swift":62:16, scope 71 // user: %71
  958. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  959. %70 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":62:16, scope 71 // user: %71
  960. %71 = apply %70(%66, %67, %68, %69) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":62:16, scope 71
  961. unreachable , loc "AddClassesController.swift":62:16, scope 71 // id: %72
  962.  
  963. bb11: // Preds: bb9
  964. %73 = unchecked_take_enum_data_addr %61 : $*Optional<UISegmentedControl>, #Optional.some!enumelt.1, loc "AddClassesController.swift":62:16, scope 71 // users: %156, %146, %120, %94, %74
  965. %74 = load [copy] %73 : $*UISegmentedControl, loc "AddClassesController.swift":62:16, scope 71 // users: %155, %145, %119, %93, %76, %75
  966. %75 = class_method [volatile] %74 : $UISegmentedControl, #UISegmentedControl.selectedSegmentIndex!getter.1.foreign : (UISegmentedControl) -> () -> Int , $@convention(objc_method) (UISegmentedControl) -> Int, loc "AddClassesController.swift":62:30, scope 71 // user: %76
  967. %76 = apply %75(%74) : $@convention(objc_method) (UISegmentedControl) -> Int, loc "AddClassesController.swift":62:30, scope 71 // users: %139, %129, %113, %103, %87, %77
  968. debug_value %76 : $Int, let, name "$match", loc "AddClassesController.swift":63:18, scope 72 // id: %77
  969. // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
  970. %78 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "AddClassesController.swift":63:18, scope 72 // user: %89
  971. // function_ref ~= infix<A where ...> (A, A) -> Bool
  972. %79 = function_ref @_TFsoi2teuRxs9EquatablerFTxx_Sb : $@convention(thin) <τ_0_0 where τ_0_0 : Equatable> (@in τ_0_0, @in τ_0_0) -> Bool, loc "AddClassesController.swift":63:18, scope 72 // user: %88
  973. // function_ref Int.init(_builtinIntegerLiteral : Builtin.Int2048) -> Int
  974. %80 = function_ref @_TFSiCfT22_builtinIntegerLiteralBi2048__Si : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "AddClassesController.swift":63:18, scope 72 // user: %83
  975. %81 = metatype $@thin Int.Type, loc "AddClassesController.swift":63:18, scope 72 // user: %83
  976. %82 = integer_literal $Builtin.Int2048, 0, loc "AddClassesController.swift":63:18, scope 72 // user: %83
  977. %83 = apply %80(%82, %81) : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "AddClassesController.swift":63:18, scope 72 // user: %85
  978. %84 = alloc_stack $Int, loc "AddClassesController.swift":63:18, scope 72 // users: %91, %88, %85
  979. store %83 to [trivial] %84 : $*Int, loc "AddClassesController.swift":63:18, scope 72 // id: %85
  980. %86 = alloc_stack $Int, loc "AddClassesController.swift":63:18, scope 72 // users: %90, %88, %87
  981. store %76 to [trivial] %86 : $*Int, loc "AddClassesController.swift":63:18, scope 72 // id: %87
  982. %88 = apply %79<Int>(%84, %86) : $@convention(thin) <τ_0_0 where τ_0_0 : Equatable> (@in τ_0_0, @in τ_0_0) -> Bool, loc "AddClassesController.swift":63:18, scope 72 // user: %89
  983. %89 = apply %78(%88) : $@convention(method) (Bool) -> Builtin.Int1, loc "AddClassesController.swift":63:18, scope 72 // user: %92
  984. dealloc_stack %86 : $*Int, loc "AddClassesController.swift":63:18, scope 72 // id: %90
  985. dealloc_stack %84 : $*Int, loc "AddClassesController.swift":63:18, scope 72 // id: %91
  986. cond_br %89, bb12, bb13, loc "AddClassesController.swift":63:18, scope 72 // id: %92
  987.  
  988. bb12: // Preds: bb11
  989. destroy_value %74 : $UISegmentedControl, loc "AddClassesController.swift":83:9, scope 72 // id: %93
  990. destroy_addr %73 : $*UISegmentedControl, loc "AddClassesController.swift":83:9, scope 72 // id: %94
  991. dealloc_stack %61 : $*Optional<UISegmentedControl>, loc "AddClassesController.swift":83:9, scope 72 // id: %95
  992. // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
  993. %96 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "AddClassesController.swift":64:30, scope 73 // user: %99
  994. %97 = metatype $@thin Double.Type, loc "AddClassesController.swift":64:30, scope 73 // user: %99
  995. %98 = integer_literal $Builtin.Int2048, 1, loc "AddClassesController.swift":64:30, scope 73 // user: %99
  996. %99 = apply %96(%98, %97) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "AddClassesController.swift":64:30, scope 73 // user: %100
  997. assign %99 to %55 : $*Double, loc "AddClassesController.swift":64:28, scope 73 // id: %100
  998. br bb37, loc "AddClassesController.swift":64:30, scope 71 // id: %101
  999.  
  1000. bb13: // Preds: bb11
  1001. br bb14, loc "AddClassesController.swift":63:18, scope 72 // id: %102
  1002.  
  1003. bb14: // Preds: bb13
  1004. debug_value %76 : $Int, let, name "$match", loc "AddClassesController.swift":65:18, scope 74 // id: %103
  1005. // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
  1006. %104 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "AddClassesController.swift":65:18, scope 74 // user: %115
  1007. // function_ref ~= infix<A where ...> (A, A) -> Bool
  1008. %105 = function_ref @_TFsoi2teuRxs9EquatablerFTxx_Sb : $@convention(thin) <τ_0_0 where τ_0_0 : Equatable> (@in τ_0_0, @in τ_0_0) -> Bool, loc "AddClassesController.swift":65:18, scope 74 // user: %114
  1009. // function_ref Int.init(_builtinIntegerLiteral : Builtin.Int2048) -> Int
  1010. %106 = function_ref @_TFSiCfT22_builtinIntegerLiteralBi2048__Si : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "AddClassesController.swift":65:18, scope 74 // user: %109
  1011. %107 = metatype $@thin Int.Type, loc "AddClassesController.swift":65:18, scope 74 // user: %109
  1012. %108 = integer_literal $Builtin.Int2048, 1, loc "AddClassesController.swift":65:18, scope 74 // user: %109
  1013. %109 = apply %106(%108, %107) : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "AddClassesController.swift":65:18, scope 74 // user: %111
  1014. %110 = alloc_stack $Int, loc "AddClassesController.swift":65:18, scope 74 // users: %117, %114, %111
  1015. store %109 to [trivial] %110 : $*Int, loc "AddClassesController.swift":65:18, scope 74 // id: %111
  1016. %112 = alloc_stack $Int, loc "AddClassesController.swift":65:18, scope 74 // users: %116, %114, %113
  1017. store %76 to [trivial] %112 : $*Int, loc "AddClassesController.swift":65:18, scope 74 // id: %113
  1018. %114 = apply %105<Int>(%110, %112) : $@convention(thin) <τ_0_0 where τ_0_0 : Equatable> (@in τ_0_0, @in τ_0_0) -> Bool, loc "AddClassesController.swift":65:18, scope 74 // user: %115
  1019. %115 = apply %104(%114) : $@convention(method) (Bool) -> Builtin.Int1, loc "AddClassesController.swift":65:18, scope 74 // user: %118
  1020. dealloc_stack %112 : $*Int, loc "AddClassesController.swift":65:18, scope 74 // id: %116
  1021. dealloc_stack %110 : $*Int, loc "AddClassesController.swift":65:18, scope 74 // id: %117
  1022. cond_br %115, bb15, bb16, loc "AddClassesController.swift":65:18, scope 74 // id: %118
  1023.  
  1024. bb15: // Preds: bb14
  1025. destroy_value %74 : $UISegmentedControl, loc "AddClassesController.swift":83:9, scope 74 // id: %119
  1026. destroy_addr %73 : $*UISegmentedControl, loc "AddClassesController.swift":83:9, scope 74 // id: %120
  1027. dealloc_stack %61 : $*Optional<UISegmentedControl>, loc "AddClassesController.swift":83:9, scope 74 // id: %121
  1028. // function_ref Double.init(_builtinFloatLiteral : Builtin.Float64) -> Double
  1029. %122 = function_ref @_TFSdCfT20_builtinFloatLiteralBf64__Sd : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "AddClassesController.swift":66:30, scope 75 // user: %125
  1030. %123 = metatype $@thin Double.Type, loc "AddClassesController.swift":66:30, scope 75 // user: %125
  1031. %124 = float_literal $Builtin.FPIEEE64, 0x3FF199999999999A // 1.1000000000000001, loc "AddClassesController.swift":66:30, scope 75 // user: %125
  1032. %125 = apply %122(%124, %123) : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "AddClassesController.swift":66:30, scope 75 // user: %126
  1033. assign %125 to %55 : $*Double, loc "AddClassesController.swift":66:28, scope 75 // id: %126
  1034. br bb37, loc "AddClassesController.swift":66:30, scope 71 // id: %127
  1035.  
  1036. bb16: // Preds: bb14
  1037. br bb17, loc "AddClassesController.swift":65:18, scope 74 // id: %128
  1038.  
  1039. bb17: // Preds: bb16
  1040. debug_value %76 : $Int, let, name "$match", loc "AddClassesController.swift":67:18, scope 76 // id: %129
  1041. // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
  1042. %130 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "AddClassesController.swift":67:18, scope 76 // user: %141
  1043. // function_ref ~= infix<A where ...> (A, A) -> Bool
  1044. %131 = function_ref @_TFsoi2teuRxs9EquatablerFTxx_Sb : $@convention(thin) <τ_0_0 where τ_0_0 : Equatable> (@in τ_0_0, @in τ_0_0) -> Bool, loc "AddClassesController.swift":67:18, scope 76 // user: %140
  1045. // function_ref Int.init(_builtinIntegerLiteral : Builtin.Int2048) -> Int
  1046. %132 = function_ref @_TFSiCfT22_builtinIntegerLiteralBi2048__Si : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "AddClassesController.swift":67:18, scope 76 // user: %135
  1047. %133 = metatype $@thin Int.Type, loc "AddClassesController.swift":67:18, scope 76 // user: %135
  1048. %134 = integer_literal $Builtin.Int2048, 2, loc "AddClassesController.swift":67:18, scope 76 // user: %135
  1049. %135 = apply %132(%134, %133) : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "AddClassesController.swift":67:18, scope 76 // user: %137
  1050. %136 = alloc_stack $Int, loc "AddClassesController.swift":67:18, scope 76 // users: %143, %140, %137
  1051. store %135 to [trivial] %136 : $*Int, loc "AddClassesController.swift":67:18, scope 76 // id: %137
  1052. %138 = alloc_stack $Int, loc "AddClassesController.swift":67:18, scope 76 // users: %142, %140, %139
  1053. store %76 to [trivial] %138 : $*Int, loc "AddClassesController.swift":67:18, scope 76 // id: %139
  1054. %140 = apply %131<Int>(%136, %138) : $@convention(thin) <τ_0_0 where τ_0_0 : Equatable> (@in τ_0_0, @in τ_0_0) -> Bool, loc "AddClassesController.swift":67:18, scope 76 // user: %141
  1055. %141 = apply %130(%140) : $@convention(method) (Bool) -> Builtin.Int1, loc "AddClassesController.swift":67:18, scope 76 // user: %144
  1056. dealloc_stack %138 : $*Int, loc "AddClassesController.swift":67:18, scope 76 // id: %142
  1057. dealloc_stack %136 : $*Int, loc "AddClassesController.swift":67:18, scope 76 // id: %143
  1058. cond_br %141, bb18, bb19, loc "AddClassesController.swift":67:18, scope 76 // id: %144
  1059.  
  1060. bb18: // Preds: bb17
  1061. destroy_value %74 : $UISegmentedControl, loc "AddClassesController.swift":83:9, scope 76 // id: %145
  1062. destroy_addr %73 : $*UISegmentedControl, loc "AddClassesController.swift":83:9, scope 76 // id: %146
  1063. dealloc_stack %61 : $*Optional<UISegmentedControl>, loc "AddClassesController.swift":83:9, scope 76 // id: %147
  1064. // function_ref Double.init(_builtinFloatLiteral : Builtin.Float64) -> Double
  1065. %148 = function_ref @_TFSdCfT20_builtinFloatLiteralBf64__Sd : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "AddClassesController.swift":68:30, scope 77 // user: %151
  1066. %149 = metatype $@thin Double.Type, loc "AddClassesController.swift":68:30, scope 77 // user: %151
  1067. %150 = float_literal $Builtin.FPIEEE64, 0x3FF3333333333333 // 1.2, loc "AddClassesController.swift":68:30, scope 77 // user: %151
  1068. %151 = apply %148(%150, %149) : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "AddClassesController.swift":68:30, scope 77 // user: %152
  1069. assign %151 to %55 : $*Double, loc "AddClassesController.swift":68:28, scope 77 // id: %152
  1070. br bb37, loc "AddClassesController.swift":68:30, scope 71 // id: %153
  1071.  
  1072. bb19: // Preds: bb17
  1073. br bb20, loc "AddClassesController.swift":67:18, scope 76 // id: %154
  1074.  
  1075. bb20: // Preds: bb19
  1076. destroy_value %74 : $UISegmentedControl, loc "AddClassesController.swift":83:9, scope 78 // id: %155
  1077. destroy_addr %73 : $*UISegmentedControl, loc "AddClassesController.swift":83:9, scope 78 // id: %156
  1078. dealloc_stack %61 : $*Optional<UISegmentedControl>, loc "AddClassesController.swift":83:9, scope 78 // id: %157
  1079. %158 = alloc_stack $Optional<UITextField>, loc "AddClassesController.swift":70:44, scope 79 // users: %197, %191, %170, %162, %161
  1080. %159 = class_method %1 : $AddClassesController, #AddClassesController.multiplierField!getter.1 : (AddClassesController) -> () -> UITextField! , $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UITextField>, loc "AddClassesController.swift":70:44, scope 79 // user: %160
  1081. %160 = apply %159(%1) : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UITextField>, loc "AddClassesController.swift":70:44, scope 79 // user: %161
  1082. store %160 to [init] %158 : $*Optional<UITextField>, loc "AddClassesController.swift":70:44, scope 79 // id: %161
  1083. switch_enum_addr %158 : $*Optional<UITextField>, case #Optional.none!enumelt: bb21, default bb22, loc "AddClassesController.swift":70:44, scope 79 // id: %162
  1084.  
  1085. bb21: // Preds: bb20
  1086. %163 = string_literal utf8 "AddClassesController.swift", loc "AddClassesController.swift":70:44, scope 79 // user: %168
  1087. %164 = integer_literal $Builtin.Word, 26, loc "AddClassesController.swift":70:44, scope 79 // user: %168
  1088. %165 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":70:44, scope 79 // user: %168
  1089. %166 = integer_literal $Builtin.Word, 70, loc "AddClassesController.swift":70:44, scope 79 // user: %168
  1090. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  1091. %167 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":70:44, scope 79 // user: %168
  1092. %168 = apply %167(%163, %164, %165, %166) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":70:44, scope 79
  1093. unreachable , loc "AddClassesController.swift":70:44, scope 79 // id: %169
  1094.  
  1095. bb22: // Preds: bb20
  1096. %170 = unchecked_take_enum_data_addr %158 : $*Optional<UITextField>, #Optional.some!enumelt.1, loc "AddClassesController.swift":70:44, scope 79 // users: %196, %190, %171
  1097. %171 = load [copy] %170 : $*UITextField, loc "AddClassesController.swift":70:44, scope 79 // users: %195, %189, %173, %172
  1098. %172 = class_method [volatile] %171 : $UITextField, #UITextField.text!getter.1.foreign : (UITextField) -> () -> String? , $@convention(objc_method) (UITextField) -> @autoreleased Optional<NSString>, loc "AddClassesController.swift":70:60, scope 79 // user: %173
  1099. %173 = apply %172(%171) : $@convention(objc_method) (UITextField) -> @autoreleased Optional<NSString>, loc "AddClassesController.swift":70:60, scope 79 // users: %178, %176
  1100. %174 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":70:60, scope 79 // user: %176
  1101. %175 = integer_literal $Builtin.Int1, 0, loc "AddClassesController.swift":70:60, scope 79 // user: %176
  1102. %176 = select_enum %173 : $Optional<NSString>, case #Optional.some!enumelt.1: %174, default %175 : $Builtin.Int1, loc "AddClassesController.swift":70:60, scope 79 // user: %177
  1103. cond_br %176, bb23, bb24, loc "AddClassesController.swift":70:60, scope 79 // id: %177
  1104.  
  1105. bb23: // Preds: bb22
  1106. %178 = unchecked_enum_data %173 : $Optional<NSString>, #Optional.some!enumelt.1, loc "AddClassesController.swift":70:60, scope 79 // user: %180
  1107. // function_ref static String._unconditionallyBridgeFromObjectiveC(NSString?) -> String
  1108. %179 = function_ref @_TZFE10FoundationSS36_unconditionallyBridgeFromObjectiveCfGSqCSo8NSString_SS : $@convention(method) (@owned Optional<NSString>, @thin String.Type) -> @owned String, loc "AddClassesController.swift":70:60, scope 79 // user: %182
  1109. %180 = enum $Optional<NSString>, #Optional.some!enumelt.1, %178 : $NSString, loc "AddClassesController.swift":70:60, scope 79 // user: %182
  1110. %181 = metatype $@thin String.Type, loc "AddClassesController.swift":70:60, scope 79 // user: %182
  1111. %182 = apply %179(%180, %181) : $@convention(method) (@owned Optional<NSString>, @thin String.Type) -> @owned String, loc "AddClassesController.swift":70:60, scope 79 // user: %183
  1112. %183 = enum $Optional<String>, #Optional.some!enumelt.1, %182 : $String, loc "AddClassesController.swift":70:60, scope 79 // user: %184
  1113. br bb25(%183 : $Optional<String>), loc "AddClassesController.swift":70:60, scope 79 // id: %184
  1114.  
  1115. bb24: // Preds: bb22
  1116. %185 = enum $Optional<String>, #Optional.none!enumelt, loc "AddClassesController.swift":70:60, scope 79 // user: %186
  1117. br bb25(%185 : $Optional<String>), loc "AddClassesController.swift":70:60, scope 79 // id: %186
  1118.  
  1119. // %187 // user: %188
  1120. bb25(%187 : $Optional<String>): // Preds: bb24 bb23
  1121. switch_enum %187 : $Optional<String>, case #Optional.some!enumelt.1: bb27, default bb26, loc "AddClassesController.swift":70:60, scope 79 // id: %188
  1122.  
  1123. bb26: // Preds: bb25
  1124. destroy_value %171 : $UITextField, loc "AddClassesController.swift":74:17, scope 79 // id: %189
  1125. destroy_addr %170 : $*UITextField, loc "AddClassesController.swift":74:17, scope 79 // id: %190
  1126. dealloc_stack %158 : $*Optional<UITextField>, loc "AddClassesController.swift":74:17, scope 79 // id: %191
  1127. br bb34, loc "AddClassesController.swift":70:60, scope 79 // id: %192
  1128.  
  1129. // %193 // users: %216, %210, %264, %206, %202, %194
  1130. bb27(%193 : $String): // Preds: bb25
  1131. debug_value %193 : $String, let, name "multiplierText", loc "AddClassesController.swift":70:27, scope 79 // id: %194
  1132. destroy_value %171 : $UITextField, loc "AddClassesController.swift":70:60, scope 79 // id: %195
  1133. destroy_addr %170 : $*UITextField, loc "AddClassesController.swift":70:60, scope 79 // id: %196
  1134. dealloc_stack %158 : $*Optional<UITextField>, loc "AddClassesController.swift":70:60, scope 79 // id: %197
  1135. // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
  1136. %198 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "AddClassesController.swift":70:66, scope 79 // user: %204
  1137. // function_ref static Bool.! prefix(Bool) -> Bool
  1138. %199 = function_ref @_TZFSbop1nfSbSb : $@convention(method) (Bool, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":70:66, scope 79 // user: %203
  1139. %200 = metatype $@thin Bool.Type, loc "AddClassesController.swift":70:66, scope 79 // user: %203
  1140. // function_ref String.isEmpty.getter
  1141. %201 = function_ref @_TFSSg7isEmptySb : $@convention(method) (@guaranteed String) -> Bool, loc "AddClassesController.swift":70:82, scope 79 // user: %202
  1142. %202 = apply %201(%193) : $@convention(method) (@guaranteed String) -> Bool, loc "AddClassesController.swift":70:82, scope 79 // user: %203
  1143. %203 = apply %199(%202, %200) : $@convention(method) (Bool, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":70:66, scope 79 // user: %204
  1144. %204 = apply %198(%203) : $@convention(method) (Bool) -> Builtin.Int1, loc "AddClassesController.swift":70:82, scope 79 // user: %205
  1145. cond_br %204, bb29, bb28, loc "AddClassesController.swift":70:82, scope 79 // id: %205
  1146.  
  1147. bb28: // Preds: bb27
  1148. destroy_value %193 : $String, loc "AddClassesController.swift":74:17, scope 79 // id: %206
  1149. br bb34, loc "AddClassesController.swift":70:17, scope 79 // id: %207
  1150.  
  1151. bb29: // Preds: bb27
  1152. // function_ref Double.init(String) -> Double?
  1153. %208 = function_ref @_TFSdCfSSGSqSd_ : $@convention(method) (@owned String, @thin Double.Type) -> Optional<Double>, loc "AddClassesController.swift":77:41, scope 79 // user: %211
  1154. %209 = metatype $@thin Double.Type, loc "AddClassesController.swift":77:41, scope 79 // user: %211
  1155. %210 = copy_value %193 : $String, loc "AddClassesController.swift":77:48, scope 79 // user: %211
  1156. %211 = apply %208(%210, %209) : $@convention(method) (@owned String, @thin Double.Type) -> Optional<Double>, loc "AddClassesController.swift":77:62, scope 79 // user: %212
  1157. switch_enum %211 : $Optional<Double>, case #Optional.some!enumelt.1: bb30, default bb31, loc "AddClassesController.swift":77:62, scope 79 // id: %212
  1158.  
  1159. // %213 // users: %215, %214
  1160. bb30(%213 : $Double): // Preds: bb29
  1161. debug_value %213 : $Double, let, name "_multiplier", loc "AddClassesController.swift":77:27, scope 79 // id: %214
  1162. assign %213 to %55 : $*Double, loc "AddClassesController.swift":82:28, scope 79 // id: %215
  1163. destroy_value %193 : $String, loc "AddClassesController.swift":82:30, scope 71 // id: %216
  1164. br bb37, loc "AddClassesController.swift":82:30, scope 71 // id: %217
  1165.  
  1166. bb31: // Preds: bb29
  1167. %218 = alloc_stack $Optional<UILabel>, loc "AddClassesController.swift":78:21, scope 80 // users: %243, %230, %222, %221
  1168. %219 = class_method %1 : $AddClassesController, #AddClassesController.warningLabel!getter.1 : (AddClassesController) -> () -> UILabel! , $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UILabel>, loc "AddClassesController.swift":78:21, scope 80 // user: %220
  1169. %220 = apply %219(%1) : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UILabel>, loc "AddClassesController.swift":78:21, scope 80 // user: %221
  1170. store %220 to [init] %218 : $*Optional<UILabel>, loc "AddClassesController.swift":78:21, scope 80 // id: %221
  1171. switch_enum_addr %218 : $*Optional<UILabel>, case #Optional.none!enumelt: bb32, default bb33, loc "AddClassesController.swift":78:21, scope 80 // id: %222
  1172.  
  1173. bb32: // Preds: bb31
  1174. %223 = string_literal utf8 "AddClassesController.swift", loc "AddClassesController.swift":78:21, scope 80 // user: %228
  1175. %224 = integer_literal $Builtin.Word, 26, loc "AddClassesController.swift":78:21, scope 80 // user: %228
  1176. %225 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":78:21, scope 80 // user: %228
  1177. %226 = integer_literal $Builtin.Word, 78, loc "AddClassesController.swift":78:21, scope 80 // user: %228
  1178. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  1179. %227 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":78:21, scope 80 // user: %228
  1180. %228 = apply %227(%223, %224, %225, %226) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":78:21, scope 80
  1181. unreachable , loc "AddClassesController.swift":78:21, scope 80 // id: %229
  1182.  
  1183. bb33: // Preds: bb31
  1184. %230 = unchecked_take_enum_data_addr %218 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "AddClassesController.swift":78:21, scope 80 // users: %242, %231
  1185. %231 = load [copy] %230 : $*UILabel, loc "AddClassesController.swift":78:21, scope 80 // users: %241, %232
  1186. %232 = upcast %231 : $UILabel to $UIView, loc "AddClassesController.swift":78:21, scope 80 // users: %240, %237
  1187. // function_ref Bool.init(_builtinBooleanLiteral : Builtin.Int1) -> Bool
  1188. %233 = function_ref @_TFSbCfT22_builtinBooleanLiteralBi1__Sb : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":78:45, scope 80 // user: %236
  1189. %234 = metatype $@thin Bool.Type, loc "AddClassesController.swift":78:45, scope 80 // user: %236
  1190. %235 = integer_literal $Builtin.Int1, 0, loc "AddClassesController.swift":78:45, scope 80 // user: %236
  1191. %236 = apply %233(%235, %234) : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":78:45, scope 80 // user: %239
  1192. %237 = class_method [volatile] %232 : $UIView, #UIView.hidden!setter.1.foreign : (UIView) -> (Bool) -> () , $@convention(objc_method) (ObjCBool, UIView) -> (), loc "AddClassesController.swift":78:43, scope 80 // user: %240
  1193. // function_ref _convertBoolToObjCBool(Bool) -> ObjCBool
  1194. %238 = function_ref @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool, loc "AddClassesController.swift":78:43, scope 80 // user: %239
  1195. %239 = apply %238(%236) : $@convention(thin) (Bool) -> ObjCBool, loc "AddClassesController.swift":78:43, scope 80 // user: %240
  1196. %240 = apply %237(%239, %232) : $@convention(objc_method) (ObjCBool, UIView) -> (), loc "AddClassesController.swift":78:43, scope 80
  1197. destroy_value %231 : $UILabel, loc "AddClassesController.swift":78:45, scope 80 // id: %241
  1198. destroy_addr %230 : $*UILabel, loc "AddClassesController.swift":78:45, scope 80 // id: %242
  1199. dealloc_stack %218 : $*Optional<UILabel>, loc "AddClassesController.swift":78:45, scope 80 // id: %243
  1200. // function_ref print([Any], separator : String, terminator : String) -> ()
  1201. %244 = function_ref @_TFs5printFTGSaP__9separatorSS10terminatorSS_T_ : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> (), loc "AddClassesController.swift":79:21, scope 80 // user: %263
  1202. %245 = integer_literal $Builtin.Word, 1, loc "AddClassesController.swift":79:27, scope 80 // user: %247
  1203. // function_ref _allocateUninitializedArray<A> (Builtin.Word) -> ([A], Builtin.RawPointer)
  1204. %246 = function_ref @_TFs27_allocateUninitializedArrayurFBwTGSax_Bp_ : $@convention(thin) <τ_0_0> (Builtin.Word) -> (@owned Array<τ_0_0>, Builtin.RawPointer), loc "AddClassesController.swift":79:27, scope 80 // user: %247
  1205. %247 = apply %246<Any>(%245) : $@convention(thin) <τ_0_0> (Builtin.Word) -> (@owned Array<τ_0_0>, Builtin.RawPointer), loc "AddClassesController.swift":79:27, scope 80 // users: %249, %248
  1206. %248 = tuple_extract %247 : $(Array<Any>, Builtin.RawPointer), 0, loc "AddClassesController.swift":79:27, scope 80 // user: %263
  1207. %249 = tuple_extract %247 : $(Array<Any>, Builtin.RawPointer), 1, loc "AddClassesController.swift":79:27, scope 80 // user: %250
  1208. %250 = pointer_to_address %249 : $Builtin.RawPointer to [strict] $*Any, loc "AddClassesController.swift":79:27, scope 80 // user: %251
  1209. %251 = init_existential_addr %250 : $*Any, $String, loc "AddClassesController.swift":79:27, scope 80 // user: %258
  1210. %252 = string_literal utf8 "Malformed multiplier.", loc "AddClassesController.swift":79:27, scope 80 // user: %257
  1211. %253 = integer_literal $Builtin.Word, 21, loc "AddClassesController.swift":79:27, scope 80 // user: %257
  1212. %254 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":79:27, scope 80 // user: %257
  1213. %255 = metatype $@thin String.Type, loc "AddClassesController.swift":79:27, scope 80 // user: %257
  1214. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  1215. %256 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "AddClassesController.swift":79:27, scope 80 // user: %257
  1216. %257 = apply %256(%252, %253, %254, %255) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "AddClassesController.swift":79:27, scope 80 // user: %258
  1217. store %257 to [init] %251 : $*String, loc "AddClassesController.swift":79:27, scope 80 // id: %258
  1218. // function_ref (print([Any], separator : String, terminator : String) -> ()).(default argument 1)
  1219. %259 = function_ref @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A0_ : $@convention(thin) () -> @owned String, loc "AddClassesController.swift":79:27, scope 80 // user: %260
  1220. %260 = apply %259() : $@convention(thin) () -> @owned String, loc "AddClassesController.swift":79:27, scope 80 // user: %263
  1221. // function_ref (print([Any], separator : String, terminator : String) -> ()).(default argument 2)
  1222. %261 = function_ref @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A1_ : $@convention(thin) () -> @owned String, loc "AddClassesController.swift":79:27, scope 80 // user: %262
  1223. %262 = apply %261() : $@convention(thin) () -> @owned String, loc "AddClassesController.swift":79:27, scope 80 // user: %263
  1224. %263 = apply %244(%248, %260, %262) : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> (), loc "AddClassesController.swift":79:50, scope 80
  1225. destroy_value %193 : $String, loc "AddClassesController.swift":142:5, scope 80 // id: %264
  1226. destroy_value %54 : ${ var Double }, loc "AddClassesController.swift":142:5, scope 80 // id: %265
  1227. destroy_value %39 : $String, loc "AddClassesController.swift":142:5, scope 80 // id: %266
  1228. br bb113, loc "AddClassesController.swift":80:21, scope 80 // id: %267
  1229.  
  1230. bb34: // Preds: bb28 bb26
  1231. %268 = alloc_stack $Optional<UILabel>, loc "AddClassesController.swift":71:21, scope 81 // users: %293, %280, %272, %271
  1232. %269 = class_method %1 : $AddClassesController, #AddClassesController.warningLabel!getter.1 : (AddClassesController) -> () -> UILabel! , $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UILabel>, loc "AddClassesController.swift":71:21, scope 81 // user: %270
  1233. %270 = apply %269(%1) : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UILabel>, loc "AddClassesController.swift":71:21, scope 81 // user: %271
  1234. store %270 to [init] %268 : $*Optional<UILabel>, loc "AddClassesController.swift":71:21, scope 81 // id: %271
  1235. switch_enum_addr %268 : $*Optional<UILabel>, case #Optional.none!enumelt: bb35, default bb36, loc "AddClassesController.swift":71:21, scope 81 // id: %272
  1236.  
  1237. bb35: // Preds: bb34
  1238. %273 = string_literal utf8 "AddClassesController.swift", loc "AddClassesController.swift":71:21, scope 81 // user: %278
  1239. %274 = integer_literal $Builtin.Word, 26, loc "AddClassesController.swift":71:21, scope 81 // user: %278
  1240. %275 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":71:21, scope 81 // user: %278
  1241. %276 = integer_literal $Builtin.Word, 71, loc "AddClassesController.swift":71:21, scope 81 // user: %278
  1242. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  1243. %277 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":71:21, scope 81 // user: %278
  1244. %278 = apply %277(%273, %274, %275, %276) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":71:21, scope 81
  1245. unreachable , loc "AddClassesController.swift":71:21, scope 81 // id: %279
  1246.  
  1247. bb36: // Preds: bb34
  1248. %280 = unchecked_take_enum_data_addr %268 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "AddClassesController.swift":71:21, scope 81 // users: %292, %281
  1249. %281 = load [copy] %280 : $*UILabel, loc "AddClassesController.swift":71:21, scope 81 // users: %291, %282
  1250. %282 = upcast %281 : $UILabel to $UIView, loc "AddClassesController.swift":71:21, scope 81 // users: %290, %287
  1251. // function_ref Bool.init(_builtinBooleanLiteral : Builtin.Int1) -> Bool
  1252. %283 = function_ref @_TFSbCfT22_builtinBooleanLiteralBi1__Sb : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":71:45, scope 81 // user: %286
  1253. %284 = metatype $@thin Bool.Type, loc "AddClassesController.swift":71:45, scope 81 // user: %286
  1254. %285 = integer_literal $Builtin.Int1, 0, loc "AddClassesController.swift":71:45, scope 81 // user: %286
  1255. %286 = apply %283(%285, %284) : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":71:45, scope 81 // user: %289
  1256. %287 = class_method [volatile] %282 : $UIView, #UIView.hidden!setter.1.foreign : (UIView) -> (Bool) -> () , $@convention(objc_method) (ObjCBool, UIView) -> (), loc "AddClassesController.swift":71:43, scope 81 // user: %290
  1257. // function_ref _convertBoolToObjCBool(Bool) -> ObjCBool
  1258. %288 = function_ref @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool, loc "AddClassesController.swift":71:43, scope 81 // user: %289
  1259. %289 = apply %288(%286) : $@convention(thin) (Bool) -> ObjCBool, loc "AddClassesController.swift":71:43, scope 81 // user: %290
  1260. %290 = apply %287(%289, %282) : $@convention(objc_method) (ObjCBool, UIView) -> (), loc "AddClassesController.swift":71:43, scope 81
  1261. destroy_value %281 : $UILabel, loc "AddClassesController.swift":71:45, scope 81 // id: %291
  1262. destroy_addr %280 : $*UILabel, loc "AddClassesController.swift":71:45, scope 81 // id: %292
  1263. dealloc_stack %268 : $*Optional<UILabel>, loc "AddClassesController.swift":71:45, scope 81 // id: %293
  1264. // function_ref print([Any], separator : String, terminator : String) -> ()
  1265. %294 = function_ref @_TFs5printFTGSaP__9separatorSS10terminatorSS_T_ : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> (), loc "AddClassesController.swift":72:21, scope 81 // user: %313
  1266. %295 = integer_literal $Builtin.Word, 1, loc "AddClassesController.swift":72:27, scope 81 // user: %297
  1267. // function_ref _allocateUninitializedArray<A> (Builtin.Word) -> ([A], Builtin.RawPointer)
  1268. %296 = function_ref @_TFs27_allocateUninitializedArrayurFBwTGSax_Bp_ : $@convention(thin) <τ_0_0> (Builtin.Word) -> (@owned Array<τ_0_0>, Builtin.RawPointer), loc "AddClassesController.swift":72:27, scope 81 // user: %297
  1269. %297 = apply %296<Any>(%295) : $@convention(thin) <τ_0_0> (Builtin.Word) -> (@owned Array<τ_0_0>, Builtin.RawPointer), loc "AddClassesController.swift":72:27, scope 81 // users: %299, %298
  1270. %298 = tuple_extract %297 : $(Array<Any>, Builtin.RawPointer), 0, loc "AddClassesController.swift":72:27, scope 81 // user: %313
  1271. %299 = tuple_extract %297 : $(Array<Any>, Builtin.RawPointer), 1, loc "AddClassesController.swift":72:27, scope 81 // user: %300
  1272. %300 = pointer_to_address %299 : $Builtin.RawPointer to [strict] $*Any, loc "AddClassesController.swift":72:27, scope 81 // user: %301
  1273. %301 = init_existential_addr %300 : $*Any, $String, loc "AddClassesController.swift":72:27, scope 81 // user: %308
  1274. %302 = string_literal utf8 "No multiplier specified.", loc "AddClassesController.swift":72:27, scope 81 // user: %307
  1275. %303 = integer_literal $Builtin.Word, 24, loc "AddClassesController.swift":72:27, scope 81 // user: %307
  1276. %304 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":72:27, scope 81 // user: %307
  1277. %305 = metatype $@thin String.Type, loc "AddClassesController.swift":72:27, scope 81 // user: %307
  1278. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  1279. %306 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "AddClassesController.swift":72:27, scope 81 // user: %307
  1280. %307 = apply %306(%302, %303, %304, %305) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "AddClassesController.swift":72:27, scope 81 // user: %308
  1281. store %307 to [init] %301 : $*String, loc "AddClassesController.swift":72:27, scope 81 // id: %308
  1282. // function_ref (print([Any], separator : String, terminator : String) -> ()).(default argument 1)
  1283. %309 = function_ref @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A0_ : $@convention(thin) () -> @owned String, loc "AddClassesController.swift":72:27, scope 81 // user: %310
  1284. %310 = apply %309() : $@convention(thin) () -> @owned String, loc "AddClassesController.swift":72:27, scope 81 // user: %313
  1285. // function_ref (print([Any], separator : String, terminator : String) -> ()).(default argument 2)
  1286. %311 = function_ref @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A1_ : $@convention(thin) () -> @owned String, loc "AddClassesController.swift":72:27, scope 81 // user: %312
  1287. %312 = apply %311() : $@convention(thin) () -> @owned String, loc "AddClassesController.swift":72:27, scope 81 // user: %313
  1288. %313 = apply %294(%298, %310, %312) : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> (), loc "AddClassesController.swift":72:53, scope 81
  1289. destroy_value %54 : ${ var Double }, loc "AddClassesController.swift":142:5, scope 81 // id: %314
  1290. destroy_value %39 : $String, loc "AddClassesController.swift":142:5, scope 81 // id: %315
  1291. br bb113, loc "AddClassesController.swift":73:21, scope 81 // id: %316
  1292.  
  1293. bb37: // Preds: bb30 bb18 bb15 bb12
  1294. %317 = alloc_stack $Optional<UITextField>, loc "AddClassesController.swift":86:38, scope 71 // users: %356, %350, %329, %321, %320
  1295. %318 = class_method %1 : $AddClassesController, #AddClassesController.currentGradeField!getter.1 : (AddClassesController) -> () -> UITextField! , $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UITextField>, loc "AddClassesController.swift":86:38, scope 71 // user: %319
  1296. %319 = apply %318(%1) : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UITextField>, loc "AddClassesController.swift":86:38, scope 71 // user: %320
  1297. store %319 to [init] %317 : $*Optional<UITextField>, loc "AddClassesController.swift":86:38, scope 71 // id: %320
  1298. switch_enum_addr %317 : $*Optional<UITextField>, case #Optional.none!enumelt: bb38, default bb39, loc "AddClassesController.swift":86:38, scope 71 // id: %321
  1299.  
  1300. bb38: // Preds: bb37
  1301. %322 = string_literal utf8 "AddClassesController.swift", loc "AddClassesController.swift":86:38, scope 71 // user: %327
  1302. %323 = integer_literal $Builtin.Word, 26, loc "AddClassesController.swift":86:38, scope 71 // user: %327
  1303. %324 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":86:38, scope 71 // user: %327
  1304. %325 = integer_literal $Builtin.Word, 86, loc "AddClassesController.swift":86:38, scope 71 // user: %327
  1305. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  1306. %326 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":86:38, scope 71 // user: %327
  1307. %327 = apply %326(%322, %323, %324, %325) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":86:38, scope 71
  1308. unreachable , loc "AddClassesController.swift":86:38, scope 71 // id: %328
  1309.  
  1310. bb39: // Preds: bb37
  1311. %329 = unchecked_take_enum_data_addr %317 : $*Optional<UITextField>, #Optional.some!enumelt.1, loc "AddClassesController.swift":86:38, scope 71 // users: %355, %349, %330
  1312. %330 = load [copy] %329 : $*UITextField, loc "AddClassesController.swift":86:38, scope 71 // users: %354, %348, %332, %331
  1313. %331 = class_method [volatile] %330 : $UITextField, #UITextField.text!getter.1.foreign : (UITextField) -> () -> String? , $@convention(objc_method) (UITextField) -> @autoreleased Optional<NSString>, loc "AddClassesController.swift":86:56, scope 71 // user: %332
  1314. %332 = apply %331(%330) : $@convention(objc_method) (UITextField) -> @autoreleased Optional<NSString>, loc "AddClassesController.swift":86:56, scope 71 // users: %337, %335
  1315. %333 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":86:56, scope 71 // user: %335
  1316. %334 = integer_literal $Builtin.Int1, 0, loc "AddClassesController.swift":86:56, scope 71 // user: %335
  1317. %335 = select_enum %332 : $Optional<NSString>, case #Optional.some!enumelt.1: %333, default %334 : $Builtin.Int1, loc "AddClassesController.swift":86:56, scope 71 // user: %336
  1318. cond_br %335, bb40, bb41, loc "AddClassesController.swift":86:56, scope 71 // id: %336
  1319.  
  1320. bb40: // Preds: bb39
  1321. %337 = unchecked_enum_data %332 : $Optional<NSString>, #Optional.some!enumelt.1, loc "AddClassesController.swift":86:56, scope 71 // user: %339
  1322. // function_ref static String._unconditionallyBridgeFromObjectiveC(NSString?) -> String
  1323. %338 = function_ref @_TZFE10FoundationSS36_unconditionallyBridgeFromObjectiveCfGSqCSo8NSString_SS : $@convention(method) (@owned Optional<NSString>, @thin String.Type) -> @owned String, loc "AddClassesController.swift":86:56, scope 71 // user: %341
  1324. %339 = enum $Optional<NSString>, #Optional.some!enumelt.1, %337 : $NSString, loc "AddClassesController.swift":86:56, scope 71 // user: %341
  1325. %340 = metatype $@thin String.Type, loc "AddClassesController.swift":86:56, scope 71 // user: %341
  1326. %341 = apply %338(%339, %340) : $@convention(method) (@owned Optional<NSString>, @thin String.Type) -> @owned String, loc "AddClassesController.swift":86:56, scope 71 // user: %342
  1327. %342 = enum $Optional<String>, #Optional.some!enumelt.1, %341 : $String, loc "AddClassesController.swift":86:56, scope 71 // user: %343
  1328. br bb42(%342 : $Optional<String>), loc "AddClassesController.swift":86:56, scope 71 // id: %343
  1329.  
  1330. bb41: // Preds: bb39
  1331. %344 = enum $Optional<String>, #Optional.none!enumelt, loc "AddClassesController.swift":86:56, scope 71 // user: %345
  1332. br bb42(%344 : $Optional<String>), loc "AddClassesController.swift":86:56, scope 71 // id: %345
  1333.  
  1334. // %346 // user: %347
  1335. bb42(%346 : $Optional<String>): // Preds: bb41 bb40
  1336. switch_enum %346 : $Optional<String>, case #Optional.some!enumelt.1: bb44, default bb43, loc "AddClassesController.swift":86:56, scope 71 // id: %347
  1337.  
  1338. bb43: // Preds: bb42
  1339. destroy_value %330 : $UITextField, loc "AddClassesController.swift":90:9, scope 71 // id: %348
  1340. destroy_addr %329 : $*UITextField, loc "AddClassesController.swift":90:9, scope 71 // id: %349
  1341. dealloc_stack %317 : $*Optional<UITextField>, loc "AddClassesController.swift":90:9, scope 71 // id: %350
  1342. br bb107, loc "AddClassesController.swift":86:56, scope 71 // id: %351
  1343.  
  1344. // %352 // users: %964, %562, %613, %369, %1014, %365, %361, %353
  1345. bb44(%352 : $String): // Preds: bb42
  1346. debug_value %352 : $String, let, name "currentGradeText", loc "AddClassesController.swift":86:19, scope 71 // id: %353
  1347. destroy_value %330 : $UITextField, loc "AddClassesController.swift":86:56, scope 71 // id: %354
  1348. destroy_addr %329 : $*UITextField, loc "AddClassesController.swift":86:56, scope 71 // id: %355
  1349. dealloc_stack %317 : $*Optional<UITextField>, loc "AddClassesController.swift":86:56, scope 71 // id: %356
  1350. // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
  1351. %357 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "AddClassesController.swift":86:62, scope 71 // user: %363
  1352. // function_ref static Bool.! prefix(Bool) -> Bool
  1353. %358 = function_ref @_TZFSbop1nfSbSb : $@convention(method) (Bool, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":86:62, scope 71 // user: %362
  1354. %359 = metatype $@thin Bool.Type, loc "AddClassesController.swift":86:62, scope 71 // user: %362
  1355. // function_ref String.isEmpty.getter
  1356. %360 = function_ref @_TFSSg7isEmptySb : $@convention(method) (@guaranteed String) -> Bool, loc "AddClassesController.swift":86:80, scope 71 // user: %361
  1357. %361 = apply %360(%352) : $@convention(method) (@guaranteed String) -> Bool, loc "AddClassesController.swift":86:80, scope 71 // user: %362
  1358. %362 = apply %358(%361, %359) : $@convention(method) (Bool, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":86:62, scope 71 // user: %363
  1359. %363 = apply %357(%362) : $@convention(method) (Bool) -> Builtin.Int1, loc "AddClassesController.swift":86:80, scope 71 // user: %364
  1360. cond_br %363, bb46, bb45, loc "AddClassesController.swift":86:80, scope 71 // id: %364
  1361.  
  1362. bb45: // Preds: bb44
  1363. destroy_value %352 : $String, loc "AddClassesController.swift":90:9, scope 71 // id: %365
  1364. br bb107, loc "AddClassesController.swift":86:9, scope 71 // id: %366
  1365.  
  1366. bb46: // Preds: bb44
  1367. // function_ref Int.init(String, radix : Int) -> Int?
  1368. %367 = function_ref @_TFSiCfTSS5radixSi_GSqSi_ : $@convention(method) (@owned String, Int, @thin Int.Type) -> Optional<Int>, loc "AddClassesController.swift":91:34, scope 71 // user: %372
  1369. %368 = metatype $@thin Int.Type, loc "AddClassesController.swift":91:34, scope 71 // user: %372
  1370. %369 = copy_value %352 : $String, loc "AddClassesController.swift":91:38, scope 71 // user: %372
  1371. // function_ref Int.(init(String, radix : Int) -> Int?).(default argument 1)
  1372. %370 = function_ref @_TIFSicFTSS5radixSi_GSqSi_A0_ : $@convention(thin) () -> Int, loc "AddClassesController.swift":91:38, scope 71 // user: %371
  1373. %371 = apply %370() : $@convention(thin) () -> Int, loc "AddClassesController.swift":91:38, scope 71 // user: %372
  1374. %372 = apply %367(%369, %371, %368) : $@convention(method) (@owned String, Int, @thin Int.Type) -> Optional<Int>, loc "AddClassesController.swift":91:54, scope 71 // user: %373
  1375. switch_enum %372 : $Optional<Int>, case #Optional.some!enumelt.1: bb47, default bb104, loc "AddClassesController.swift":91:54, scope 71 // id: %373
  1376.  
  1377. // %374 // users: %627, %375
  1378. bb47(%374 : $Int): // Preds: bb46
  1379. debug_value %374 : $Int, let, name "currentGrade", loc "AddClassesController.swift":91:19, scope 71 // id: %375
  1380. %376 = alloc_box ${ var Double }, var, name "credits", loc "AddClassesController.swift":98:13, scope 71 // users: %963, %561, %612, %377
  1381. %377 = project_box %376 : ${ var Double }, 0, loc "AddClassesController.swift":98:13, scope 71 // users: %626, %511, %448, %422, %382
  1382. // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
  1383. %378 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "AddClassesController.swift":98:31, scope 71 // user: %381
  1384. %379 = metatype $@thin Double.Type, loc "AddClassesController.swift":98:31, scope 71 // user: %381
  1385. %380 = integer_literal $Builtin.Int2048, -1, loc "AddClassesController.swift":98:31, scope 71 // user: %381
  1386. %381 = apply %378(%380, %379) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "AddClassesController.swift":98:32, scope 71 // user: %382
  1387. store %381 to [trivial] %377 : $*Double, loc "AddClassesController.swift":98:32, scope 71 // id: %382
  1388. %383 = alloc_stack $Optional<UISegmentedControl>, loc "AddClassesController.swift":100:16, scope 71 // users: %453, %443, %417, %395, %387, %386
  1389. %384 = class_method %1 : $AddClassesController, #AddClassesController.creditsBar!getter.1 : (AddClassesController) -> () -> UISegmentedControl! , $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UISegmentedControl>, loc "AddClassesController.swift":100:16, scope 71 // user: %385
  1390. %385 = apply %384(%1) : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UISegmentedControl>, loc "AddClassesController.swift":100:16, scope 71 // user: %386
  1391. store %385 to [init] %383 : $*Optional<UISegmentedControl>, loc "AddClassesController.swift":100:16, scope 71 // id: %386
  1392. switch_enum_addr %383 : $*Optional<UISegmentedControl>, case #Optional.none!enumelt: bb48, default bb49, loc "AddClassesController.swift":100:16, scope 71 // id: %387
  1393.  
  1394. bb48: // Preds: bb47
  1395. %388 = string_literal utf8 "AddClassesController.swift", loc "AddClassesController.swift":100:16, scope 71 // user: %393
  1396. %389 = integer_literal $Builtin.Word, 26, loc "AddClassesController.swift":100:16, scope 71 // user: %393
  1397. %390 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":100:16, scope 71 // user: %393
  1398. %391 = integer_literal $Builtin.Word, 100, loc "AddClassesController.swift":100:16, scope 71 // user: %393
  1399. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  1400. %392 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":100:16, scope 71 // user: %393
  1401. %393 = apply %392(%388, %389, %390, %391) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":100:16, scope 71
  1402. unreachable , loc "AddClassesController.swift":100:16, scope 71 // id: %394
  1403.  
  1404. bb49: // Preds: bb47
  1405. %395 = unchecked_take_enum_data_addr %383 : $*Optional<UISegmentedControl>, #Optional.some!enumelt.1, loc "AddClassesController.swift":100:16, scope 71 // users: %452, %442, %416, %396
  1406. %396 = load [copy] %395 : $*UISegmentedControl, loc "AddClassesController.swift":100:16, scope 71 // users: %451, %441, %415, %398, %397
  1407. %397 = class_method [volatile] %396 : $UISegmentedControl, #UISegmentedControl.selectedSegmentIndex!getter.1.foreign : (UISegmentedControl) -> () -> Int , $@convention(objc_method) (UISegmentedControl) -> Int, loc "AddClassesController.swift":100:27, scope 71 // user: %398
  1408. %398 = apply %397(%396) : $@convention(objc_method) (UISegmentedControl) -> Int, loc "AddClassesController.swift":100:27, scope 71 // users: %435, %425, %409, %399
  1409. debug_value %398 : $Int, let, name "$match", loc "AddClassesController.swift":101:18, scope 82 // id: %399
  1410. // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
  1411. %400 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "AddClassesController.swift":101:18, scope 82 // user: %411
  1412. // function_ref ~= infix<A where ...> (A, A) -> Bool
  1413. %401 = function_ref @_TFsoi2teuRxs9EquatablerFTxx_Sb : $@convention(thin) <τ_0_0 where τ_0_0 : Equatable> (@in τ_0_0, @in τ_0_0) -> Bool, loc "AddClassesController.swift":101:18, scope 82 // user: %410
  1414. // function_ref Int.init(_builtinIntegerLiteral : Builtin.Int2048) -> Int
  1415. %402 = function_ref @_TFSiCfT22_builtinIntegerLiteralBi2048__Si : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "AddClassesController.swift":101:18, scope 82 // user: %405
  1416. %403 = metatype $@thin Int.Type, loc "AddClassesController.swift":101:18, scope 82 // user: %405
  1417. %404 = integer_literal $Builtin.Int2048, 0, loc "AddClassesController.swift":101:18, scope 82 // user: %405
  1418. %405 = apply %402(%404, %403) : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "AddClassesController.swift":101:18, scope 82 // user: %407
  1419. %406 = alloc_stack $Int, loc "AddClassesController.swift":101:18, scope 82 // users: %413, %410, %407
  1420. store %405 to [trivial] %406 : $*Int, loc "AddClassesController.swift":101:18, scope 82 // id: %407
  1421. %408 = alloc_stack $Int, loc "AddClassesController.swift":101:18, scope 82 // users: %412, %410, %409
  1422. store %398 to [trivial] %408 : $*Int, loc "AddClassesController.swift":101:18, scope 82 // id: %409
  1423. %410 = apply %401<Int>(%406, %408) : $@convention(thin) <τ_0_0 where τ_0_0 : Equatable> (@in τ_0_0, @in τ_0_0) -> Bool, loc "AddClassesController.swift":101:18, scope 82 // user: %411
  1424. %411 = apply %400(%410) : $@convention(method) (Bool) -> Builtin.Int1, loc "AddClassesController.swift":101:18, scope 82 // user: %414
  1425. dealloc_stack %408 : $*Int, loc "AddClassesController.swift":101:18, scope 82 // id: %412
  1426. dealloc_stack %406 : $*Int, loc "AddClassesController.swift":101:18, scope 82 // id: %413
  1427. cond_br %411, bb50, bb51, loc "AddClassesController.swift":101:18, scope 82 // id: %414
  1428.  
  1429. bb50: // Preds: bb49
  1430. destroy_value %396 : $UISegmentedControl, loc "AddClassesController.swift":119:9, scope 82 // id: %415
  1431. destroy_addr %395 : $*UISegmentedControl, loc "AddClassesController.swift":119:9, scope 82 // id: %416
  1432. dealloc_stack %383 : $*Optional<UISegmentedControl>, loc "AddClassesController.swift":119:9, scope 82 // id: %417
  1433. // function_ref Double.init(_builtinFloatLiteral : Builtin.Float64) -> Double
  1434. %418 = function_ref @_TFSdCfT20_builtinFloatLiteralBf64__Sd : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "AddClassesController.swift":102:27, scope 83 // user: %421
  1435. %419 = metatype $@thin Double.Type, loc "AddClassesController.swift":102:27, scope 83 // user: %421
  1436. %420 = float_literal $Builtin.FPIEEE64, 0x3FE0000000000000 // 0.5, loc "AddClassesController.swift":102:27, scope 83 // user: %421
  1437. %421 = apply %418(%420, %419) : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "AddClassesController.swift":102:27, scope 83 // user: %422
  1438. assign %421 to %377 : $*Double, loc "AddClassesController.swift":102:25, scope 83 // id: %422
  1439. br bb72, loc "AddClassesController.swift":102:27, scope 71 // id: %423
  1440.  
  1441. bb51: // Preds: bb49
  1442. br bb52, loc "AddClassesController.swift":101:18, scope 82 // id: %424
  1443.  
  1444. bb52: // Preds: bb51
  1445. debug_value %398 : $Int, let, name "$match", loc "AddClassesController.swift":103:18, scope 84 // id: %425
  1446. // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
  1447. %426 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "AddClassesController.swift":103:18, scope 84 // user: %437
  1448. // function_ref ~= infix<A where ...> (A, A) -> Bool
  1449. %427 = function_ref @_TFsoi2teuRxs9EquatablerFTxx_Sb : $@convention(thin) <τ_0_0 where τ_0_0 : Equatable> (@in τ_0_0, @in τ_0_0) -> Bool, loc "AddClassesController.swift":103:18, scope 84 // user: %436
  1450. // function_ref Int.init(_builtinIntegerLiteral : Builtin.Int2048) -> Int
  1451. %428 = function_ref @_TFSiCfT22_builtinIntegerLiteralBi2048__Si : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "AddClassesController.swift":103:18, scope 84 // user: %431
  1452. %429 = metatype $@thin Int.Type, loc "AddClassesController.swift":103:18, scope 84 // user: %431
  1453. %430 = integer_literal $Builtin.Int2048, 1, loc "AddClassesController.swift":103:18, scope 84 // user: %431
  1454. %431 = apply %428(%430, %429) : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "AddClassesController.swift":103:18, scope 84 // user: %433
  1455. %432 = alloc_stack $Int, loc "AddClassesController.swift":103:18, scope 84 // users: %439, %436, %433
  1456. store %431 to [trivial] %432 : $*Int, loc "AddClassesController.swift":103:18, scope 84 // id: %433
  1457. %434 = alloc_stack $Int, loc "AddClassesController.swift":103:18, scope 84 // users: %438, %436, %435
  1458. store %398 to [trivial] %434 : $*Int, loc "AddClassesController.swift":103:18, scope 84 // id: %435
  1459. %436 = apply %427<Int>(%432, %434) : $@convention(thin) <τ_0_0 where τ_0_0 : Equatable> (@in τ_0_0, @in τ_0_0) -> Bool, loc "AddClassesController.swift":103:18, scope 84 // user: %437
  1460. %437 = apply %426(%436) : $@convention(method) (Bool) -> Builtin.Int1, loc "AddClassesController.swift":103:18, scope 84 // user: %440
  1461. dealloc_stack %434 : $*Int, loc "AddClassesController.swift":103:18, scope 84 // id: %438
  1462. dealloc_stack %432 : $*Int, loc "AddClassesController.swift":103:18, scope 84 // id: %439
  1463. cond_br %437, bb53, bb54, loc "AddClassesController.swift":103:18, scope 84 // id: %440
  1464.  
  1465. bb53: // Preds: bb52
  1466. destroy_value %396 : $UISegmentedControl, loc "AddClassesController.swift":119:9, scope 84 // id: %441
  1467. destroy_addr %395 : $*UISegmentedControl, loc "AddClassesController.swift":119:9, scope 84 // id: %442
  1468. dealloc_stack %383 : $*Optional<UISegmentedControl>, loc "AddClassesController.swift":119:9, scope 84 // id: %443
  1469. // function_ref Double.init(_builtinFloatLiteral : Builtin.Float64) -> Double
  1470. %444 = function_ref @_TFSdCfT20_builtinFloatLiteralBf64__Sd : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "AddClassesController.swift":104:27, scope 85 // user: %447
  1471. %445 = metatype $@thin Double.Type, loc "AddClassesController.swift":104:27, scope 85 // user: %447
  1472. %446 = float_literal $Builtin.FPIEEE64, 0x3FF0000000000000 // 1, loc "AddClassesController.swift":104:27, scope 85 // user: %447
  1473. %447 = apply %444(%446, %445) : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "AddClassesController.swift":104:27, scope 85 // user: %448
  1474. assign %447 to %377 : $*Double, loc "AddClassesController.swift":104:25, scope 85 // id: %448
  1475. br bb72, loc "AddClassesController.swift":104:27, scope 71 // id: %449
  1476.  
  1477. bb54: // Preds: bb52
  1478. br bb55, loc "AddClassesController.swift":103:18, scope 84 // id: %450
  1479.  
  1480. bb55: // Preds: bb54
  1481. destroy_value %396 : $UISegmentedControl, loc "AddClassesController.swift":119:9, scope 86 // id: %451
  1482. destroy_addr %395 : $*UISegmentedControl, loc "AddClassesController.swift":119:9, scope 86 // id: %452
  1483. dealloc_stack %383 : $*Optional<UISegmentedControl>, loc "AddClassesController.swift":119:9, scope 86 // id: %453
  1484. %454 = alloc_stack $Optional<UITextField>, loc "AddClassesController.swift":106:41, scope 87 // users: %493, %487, %466, %458, %457
  1485. %455 = class_method %1 : $AddClassesController, #AddClassesController.creditsField!getter.1 : (AddClassesController) -> () -> UITextField! , $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UITextField>, loc "AddClassesController.swift":106:41, scope 87 // user: %456
  1486. %456 = apply %455(%1) : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UITextField>, loc "AddClassesController.swift":106:41, scope 87 // user: %457
  1487. store %456 to [init] %454 : $*Optional<UITextField>, loc "AddClassesController.swift":106:41, scope 87 // id: %457
  1488. switch_enum_addr %454 : $*Optional<UITextField>, case #Optional.none!enumelt: bb56, default bb57, loc "AddClassesController.swift":106:41, scope 87 // id: %458
  1489.  
  1490. bb56: // Preds: bb55
  1491. %459 = string_literal utf8 "AddClassesController.swift", loc "AddClassesController.swift":106:41, scope 87 // user: %464
  1492. %460 = integer_literal $Builtin.Word, 26, loc "AddClassesController.swift":106:41, scope 87 // user: %464
  1493. %461 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":106:41, scope 87 // user: %464
  1494. %462 = integer_literal $Builtin.Word, 106, loc "AddClassesController.swift":106:41, scope 87 // user: %464
  1495. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  1496. %463 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":106:41, scope 87 // user: %464
  1497. %464 = apply %463(%459, %460, %461, %462) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":106:41, scope 87
  1498. unreachable , loc "AddClassesController.swift":106:41, scope 87 // id: %465
  1499.  
  1500. bb57: // Preds: bb55
  1501. %466 = unchecked_take_enum_data_addr %454 : $*Optional<UITextField>, #Optional.some!enumelt.1, loc "AddClassesController.swift":106:41, scope 87 // users: %492, %486, %467
  1502. %467 = load [copy] %466 : $*UITextField, loc "AddClassesController.swift":106:41, scope 87 // users: %491, %485, %469, %468
  1503. %468 = class_method [volatile] %467 : $UITextField, #UITextField.text!getter.1.foreign : (UITextField) -> () -> String? , $@convention(objc_method) (UITextField) -> @autoreleased Optional<NSString>, loc "AddClassesController.swift":106:54, scope 87 // user: %469
  1504. %469 = apply %468(%467) : $@convention(objc_method) (UITextField) -> @autoreleased Optional<NSString>, loc "AddClassesController.swift":106:54, scope 87 // users: %474, %472
  1505. %470 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":106:54, scope 87 // user: %472
  1506. %471 = integer_literal $Builtin.Int1, 0, loc "AddClassesController.swift":106:54, scope 87 // user: %472
  1507. %472 = select_enum %469 : $Optional<NSString>, case #Optional.some!enumelt.1: %470, default %471 : $Builtin.Int1, loc "AddClassesController.swift":106:54, scope 87 // user: %473
  1508. cond_br %472, bb58, bb59, loc "AddClassesController.swift":106:54, scope 87 // id: %473
  1509.  
  1510. bb58: // Preds: bb57
  1511. %474 = unchecked_enum_data %469 : $Optional<NSString>, #Optional.some!enumelt.1, loc "AddClassesController.swift":106:54, scope 87 // user: %476
  1512. // function_ref static String._unconditionallyBridgeFromObjectiveC(NSString?) -> String
  1513. %475 = function_ref @_TZFE10FoundationSS36_unconditionallyBridgeFromObjectiveCfGSqCSo8NSString_SS : $@convention(method) (@owned Optional<NSString>, @thin String.Type) -> @owned String, loc "AddClassesController.swift":106:54, scope 87 // user: %478
  1514. %476 = enum $Optional<NSString>, #Optional.some!enumelt.1, %474 : $NSString, loc "AddClassesController.swift":106:54, scope 87 // user: %478
  1515. %477 = metatype $@thin String.Type, loc "AddClassesController.swift":106:54, scope 87 // user: %478
  1516. %478 = apply %475(%476, %477) : $@convention(method) (@owned Optional<NSString>, @thin String.Type) -> @owned String, loc "AddClassesController.swift":106:54, scope 87 // user: %479
  1517. %479 = enum $Optional<String>, #Optional.some!enumelt.1, %478 : $String, loc "AddClassesController.swift":106:54, scope 87 // user: %480
  1518. br bb60(%479 : $Optional<String>), loc "AddClassesController.swift":106:54, scope 87 // id: %480
  1519.  
  1520. bb59: // Preds: bb57
  1521. %481 = enum $Optional<String>, #Optional.none!enumelt, loc "AddClassesController.swift":106:54, scope 87 // user: %482
  1522. br bb60(%481 : $Optional<String>), loc "AddClassesController.swift":106:54, scope 87 // id: %482
  1523.  
  1524. // %483 // user: %484
  1525. bb60(%483 : $Optional<String>): // Preds: bb59 bb58
  1526. switch_enum %483 : $Optional<String>, case #Optional.some!enumelt.1: bb62, default bb61, loc "AddClassesController.swift":106:54, scope 87 // id: %484
  1527.  
  1528. bb61: // Preds: bb60
  1529. destroy_value %467 : $UITextField, loc "AddClassesController.swift":110:17, scope 87 // id: %485
  1530. destroy_addr %466 : $*UITextField, loc "AddClassesController.swift":110:17, scope 87 // id: %486
  1531. dealloc_stack %454 : $*Optional<UITextField>, loc "AddClassesController.swift":110:17, scope 87 // id: %487
  1532. br bb69, loc "AddClassesController.swift":106:54, scope 87 // id: %488
  1533.  
  1534. // %489 // users: %512, %506, %560, %502, %498, %490
  1535. bb62(%489 : $String): // Preds: bb60
  1536. debug_value %489 : $String, let, name "creditsText", loc "AddClassesController.swift":106:27, scope 87 // id: %490
  1537. destroy_value %467 : $UITextField, loc "AddClassesController.swift":106:54, scope 87 // id: %491
  1538. destroy_addr %466 : $*UITextField, loc "AddClassesController.swift":106:54, scope 87 // id: %492
  1539. dealloc_stack %454 : $*Optional<UITextField>, loc "AddClassesController.swift":106:54, scope 87 // id: %493
  1540. // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
  1541. %494 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "AddClassesController.swift":106:60, scope 87 // user: %500
  1542. // function_ref static Bool.! prefix(Bool) -> Bool
  1543. %495 = function_ref @_TZFSbop1nfSbSb : $@convention(method) (Bool, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":106:60, scope 87 // user: %499
  1544. %496 = metatype $@thin Bool.Type, loc "AddClassesController.swift":106:60, scope 87 // user: %499
  1545. // function_ref String.isEmpty.getter
  1546. %497 = function_ref @_TFSSg7isEmptySb : $@convention(method) (@guaranteed String) -> Bool, loc "AddClassesController.swift":106:73, scope 87 // user: %498
  1547. %498 = apply %497(%489) : $@convention(method) (@guaranteed String) -> Bool, loc "AddClassesController.swift":106:73, scope 87 // user: %499
  1548. %499 = apply %495(%498, %496) : $@convention(method) (Bool, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":106:60, scope 87 // user: %500
  1549. %500 = apply %494(%499) : $@convention(method) (Bool) -> Builtin.Int1, loc "AddClassesController.swift":106:73, scope 87 // user: %501
  1550. cond_br %500, bb64, bb63, loc "AddClassesController.swift":106:73, scope 87 // id: %501
  1551.  
  1552. bb63: // Preds: bb62
  1553. destroy_value %489 : $String, loc "AddClassesController.swift":110:17, scope 87 // id: %502
  1554. br bb69, loc "AddClassesController.swift":106:17, scope 87 // id: %503
  1555.  
  1556. bb64: // Preds: bb62
  1557. // function_ref Double.init(String) -> Double?
  1558. %504 = function_ref @_TFSdCfSSGSqSd_ : $@convention(method) (@owned String, @thin Double.Type) -> Optional<Double>, loc "AddClassesController.swift":113:38, scope 87 // user: %507
  1559. %505 = metatype $@thin Double.Type, loc "AddClassesController.swift":113:38, scope 87 // user: %507
  1560. %506 = copy_value %489 : $String, loc "AddClassesController.swift":113:45, scope 87 // user: %507
  1561. %507 = apply %504(%506, %505) : $@convention(method) (@owned String, @thin Double.Type) -> Optional<Double>, loc "AddClassesController.swift":113:56, scope 87 // user: %508
  1562. switch_enum %507 : $Optional<Double>, case #Optional.some!enumelt.1: bb65, default bb66, loc "AddClassesController.swift":113:56, scope 87 // id: %508
  1563.  
  1564. // %509 // users: %511, %510
  1565. bb65(%509 : $Double): // Preds: bb64
  1566. debug_value %509 : $Double, let, name "_credits", loc "AddClassesController.swift":113:27, scope 87 // id: %510
  1567. assign %509 to %377 : $*Double, loc "AddClassesController.swift":118:25, scope 87 // id: %511
  1568. destroy_value %489 : $String, loc "AddClassesController.swift":118:27, scope 71 // id: %512
  1569. br bb72, loc "AddClassesController.swift":118:27, scope 71 // id: %513
  1570.  
  1571. bb66: // Preds: bb64
  1572. %514 = alloc_stack $Optional<UILabel>, loc "AddClassesController.swift":114:21, scope 88 // users: %539, %526, %518, %517
  1573. %515 = class_method %1 : $AddClassesController, #AddClassesController.warningLabel!getter.1 : (AddClassesController) -> () -> UILabel! , $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UILabel>, loc "AddClassesController.swift":114:21, scope 88 // user: %516
  1574. %516 = apply %515(%1) : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UILabel>, loc "AddClassesController.swift":114:21, scope 88 // user: %517
  1575. store %516 to [init] %514 : $*Optional<UILabel>, loc "AddClassesController.swift":114:21, scope 88 // id: %517
  1576. switch_enum_addr %514 : $*Optional<UILabel>, case #Optional.none!enumelt: bb67, default bb68, loc "AddClassesController.swift":114:21, scope 88 // id: %518
  1577.  
  1578. bb67: // Preds: bb66
  1579. %519 = string_literal utf8 "AddClassesController.swift", loc "AddClassesController.swift":114:21, scope 88 // user: %524
  1580. %520 = integer_literal $Builtin.Word, 26, loc "AddClassesController.swift":114:21, scope 88 // user: %524
  1581. %521 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":114:21, scope 88 // user: %524
  1582. %522 = integer_literal $Builtin.Word, 114, loc "AddClassesController.swift":114:21, scope 88 // user: %524
  1583. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  1584. %523 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":114:21, scope 88 // user: %524
  1585. %524 = apply %523(%519, %520, %521, %522) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":114:21, scope 88
  1586. unreachable , loc "AddClassesController.swift":114:21, scope 88 // id: %525
  1587.  
  1588. bb68: // Preds: bb66
  1589. %526 = unchecked_take_enum_data_addr %514 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "AddClassesController.swift":114:21, scope 88 // users: %538, %527
  1590. %527 = load [copy] %526 : $*UILabel, loc "AddClassesController.swift":114:21, scope 88 // users: %537, %528
  1591. %528 = upcast %527 : $UILabel to $UIView, loc "AddClassesController.swift":114:21, scope 88 // users: %536, %533
  1592. // function_ref Bool.init(_builtinBooleanLiteral : Builtin.Int1) -> Bool
  1593. %529 = function_ref @_TFSbCfT22_builtinBooleanLiteralBi1__Sb : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":114:45, scope 88 // user: %532
  1594. %530 = metatype $@thin Bool.Type, loc "AddClassesController.swift":114:45, scope 88 // user: %532
  1595. %531 = integer_literal $Builtin.Int1, 0, loc "AddClassesController.swift":114:45, scope 88 // user: %532
  1596. %532 = apply %529(%531, %530) : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":114:45, scope 88 // user: %535
  1597. %533 = class_method [volatile] %528 : $UIView, #UIView.hidden!setter.1.foreign : (UIView) -> (Bool) -> () , $@convention(objc_method) (ObjCBool, UIView) -> (), loc "AddClassesController.swift":114:43, scope 88 // user: %536
  1598. // function_ref _convertBoolToObjCBool(Bool) -> ObjCBool
  1599. %534 = function_ref @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool, loc "AddClassesController.swift":114:43, scope 88 // user: %535
  1600. %535 = apply %534(%532) : $@convention(thin) (Bool) -> ObjCBool, loc "AddClassesController.swift":114:43, scope 88 // user: %536
  1601. %536 = apply %533(%535, %528) : $@convention(objc_method) (ObjCBool, UIView) -> (), loc "AddClassesController.swift":114:43, scope 88
  1602. destroy_value %527 : $UILabel, loc "AddClassesController.swift":114:45, scope 88 // id: %537
  1603. destroy_addr %526 : $*UILabel, loc "AddClassesController.swift":114:45, scope 88 // id: %538
  1604. dealloc_stack %514 : $*Optional<UILabel>, loc "AddClassesController.swift":114:45, scope 88 // id: %539
  1605. // function_ref print([Any], separator : String, terminator : String) -> ()
  1606. %540 = function_ref @_TFs5printFTGSaP__9separatorSS10terminatorSS_T_ : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> (), loc "AddClassesController.swift":115:21, scope 88 // user: %559
  1607. %541 = integer_literal $Builtin.Word, 1, loc "AddClassesController.swift":115:27, scope 88 // user: %543
  1608. // function_ref _allocateUninitializedArray<A> (Builtin.Word) -> ([A], Builtin.RawPointer)
  1609. %542 = function_ref @_TFs27_allocateUninitializedArrayurFBwTGSax_Bp_ : $@convention(thin) <τ_0_0> (Builtin.Word) -> (@owned Array<τ_0_0>, Builtin.RawPointer), loc "AddClassesController.swift":115:27, scope 88 // user: %543
  1610. %543 = apply %542<Any>(%541) : $@convention(thin) <τ_0_0> (Builtin.Word) -> (@owned Array<τ_0_0>, Builtin.RawPointer), loc "AddClassesController.swift":115:27, scope 88 // users: %545, %544
  1611. %544 = tuple_extract %543 : $(Array<Any>, Builtin.RawPointer), 0, loc "AddClassesController.swift":115:27, scope 88 // user: %559
  1612. %545 = tuple_extract %543 : $(Array<Any>, Builtin.RawPointer), 1, loc "AddClassesController.swift":115:27, scope 88 // user: %546
  1613. %546 = pointer_to_address %545 : $Builtin.RawPointer to [strict] $*Any, loc "AddClassesController.swift":115:27, scope 88 // user: %547
  1614. %547 = init_existential_addr %546 : $*Any, $String, loc "AddClassesController.swift":115:27, scope 88 // user: %554
  1615. %548 = string_literal utf8 "Malformed credits.", loc "AddClassesController.swift":115:27, scope 88 // user: %553
  1616. %549 = integer_literal $Builtin.Word, 18, loc "AddClassesController.swift":115:27, scope 88 // user: %553
  1617. %550 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":115:27, scope 88 // user: %553
  1618. %551 = metatype $@thin String.Type, loc "AddClassesController.swift":115:27, scope 88 // user: %553
  1619. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  1620. %552 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "AddClassesController.swift":115:27, scope 88 // user: %553
  1621. %553 = apply %552(%548, %549, %550, %551) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "AddClassesController.swift":115:27, scope 88 // user: %554
  1622. store %553 to [init] %547 : $*String, loc "AddClassesController.swift":115:27, scope 88 // id: %554
  1623. // function_ref (print([Any], separator : String, terminator : String) -> ()).(default argument 1)
  1624. %555 = function_ref @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A0_ : $@convention(thin) () -> @owned String, loc "AddClassesController.swift":115:27, scope 88 // user: %556
  1625. %556 = apply %555() : $@convention(thin) () -> @owned String, loc "AddClassesController.swift":115:27, scope 88 // user: %559
  1626. // function_ref (print([Any], separator : String, terminator : String) -> ()).(default argument 2)
  1627. %557 = function_ref @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A1_ : $@convention(thin) () -> @owned String, loc "AddClassesController.swift":115:27, scope 88 // user: %558
  1628. %558 = apply %557() : $@convention(thin) () -> @owned String, loc "AddClassesController.swift":115:27, scope 88 // user: %559
  1629. %559 = apply %540(%544, %556, %558) : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> (), loc "AddClassesController.swift":115:47, scope 88
  1630. destroy_value %489 : $String, loc "AddClassesController.swift":142:5, scope 88 // id: %560
  1631. destroy_value %376 : ${ var Double }, loc "AddClassesController.swift":142:5, scope 88 // id: %561
  1632. destroy_value %352 : $String, loc "AddClassesController.swift":142:5, scope 88 // id: %562
  1633. destroy_value %54 : ${ var Double }, loc "AddClassesController.swift":142:5, scope 88 // id: %563
  1634. destroy_value %39 : $String, loc "AddClassesController.swift":142:5, scope 88 // id: %564
  1635. br bb113, loc "AddClassesController.swift":116:21, scope 88 // id: %565
  1636.  
  1637. bb69: // Preds: bb63 bb61
  1638. %566 = alloc_stack $Optional<UILabel>, loc "AddClassesController.swift":107:21, scope 89 // users: %591, %578, %570, %569
  1639. %567 = class_method %1 : $AddClassesController, #AddClassesController.warningLabel!getter.1 : (AddClassesController) -> () -> UILabel! , $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UILabel>, loc "AddClassesController.swift":107:21, scope 89 // user: %568
  1640. %568 = apply %567(%1) : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UILabel>, loc "AddClassesController.swift":107:21, scope 89 // user: %569
  1641. store %568 to [init] %566 : $*Optional<UILabel>, loc "AddClassesController.swift":107:21, scope 89 // id: %569
  1642. switch_enum_addr %566 : $*Optional<UILabel>, case #Optional.none!enumelt: bb70, default bb71, loc "AddClassesController.swift":107:21, scope 89 // id: %570
  1643.  
  1644. bb70: // Preds: bb69
  1645. %571 = string_literal utf8 "AddClassesController.swift", loc "AddClassesController.swift":107:21, scope 89 // user: %576
  1646. %572 = integer_literal $Builtin.Word, 26, loc "AddClassesController.swift":107:21, scope 89 // user: %576
  1647. %573 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":107:21, scope 89 // user: %576
  1648. %574 = integer_literal $Builtin.Word, 107, loc "AddClassesController.swift":107:21, scope 89 // user: %576
  1649. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  1650. %575 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":107:21, scope 89 // user: %576
  1651. %576 = apply %575(%571, %572, %573, %574) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":107:21, scope 89
  1652. unreachable , loc "AddClassesController.swift":107:21, scope 89 // id: %577
  1653.  
  1654. bb71: // Preds: bb69
  1655. %578 = unchecked_take_enum_data_addr %566 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "AddClassesController.swift":107:21, scope 89 // users: %590, %579
  1656. %579 = load [copy] %578 : $*UILabel, loc "AddClassesController.swift":107:21, scope 89 // users: %589, %580
  1657. %580 = upcast %579 : $UILabel to $UIView, loc "AddClassesController.swift":107:21, scope 89 // users: %588, %585
  1658. // function_ref Bool.init(_builtinBooleanLiteral : Builtin.Int1) -> Bool
  1659. %581 = function_ref @_TFSbCfT22_builtinBooleanLiteralBi1__Sb : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":107:45, scope 89 // user: %584
  1660. %582 = metatype $@thin Bool.Type, loc "AddClassesController.swift":107:45, scope 89 // user: %584
  1661. %583 = integer_literal $Builtin.Int1, 0, loc "AddClassesController.swift":107:45, scope 89 // user: %584
  1662. %584 = apply %581(%583, %582) : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":107:45, scope 89 // user: %587
  1663. %585 = class_method [volatile] %580 : $UIView, #UIView.hidden!setter.1.foreign : (UIView) -> (Bool) -> () , $@convention(objc_method) (ObjCBool, UIView) -> (), loc "AddClassesController.swift":107:43, scope 89 // user: %588
  1664. // function_ref _convertBoolToObjCBool(Bool) -> ObjCBool
  1665. %586 = function_ref @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool, loc "AddClassesController.swift":107:43, scope 89 // user: %587
  1666. %587 = apply %586(%584) : $@convention(thin) (Bool) -> ObjCBool, loc "AddClassesController.swift":107:43, scope 89 // user: %588
  1667. %588 = apply %585(%587, %580) : $@convention(objc_method) (ObjCBool, UIView) -> (), loc "AddClassesController.swift":107:43, scope 89
  1668. destroy_value %579 : $UILabel, loc "AddClassesController.swift":107:45, scope 89 // id: %589
  1669. destroy_addr %578 : $*UILabel, loc "AddClassesController.swift":107:45, scope 89 // id: %590
  1670. dealloc_stack %566 : $*Optional<UILabel>, loc "AddClassesController.swift":107:45, scope 89 // id: %591
  1671. // function_ref print([Any], separator : String, terminator : String) -> ()
  1672. %592 = function_ref @_TFs5printFTGSaP__9separatorSS10terminatorSS_T_ : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> (), loc "AddClassesController.swift":108:21, scope 89 // user: %611
  1673. %593 = integer_literal $Builtin.Word, 1, loc "AddClassesController.swift":108:27, scope 89 // user: %595
  1674. // function_ref _allocateUninitializedArray<A> (Builtin.Word) -> ([A], Builtin.RawPointer)
  1675. %594 = function_ref @_TFs27_allocateUninitializedArrayurFBwTGSax_Bp_ : $@convention(thin) <τ_0_0> (Builtin.Word) -> (@owned Array<τ_0_0>, Builtin.RawPointer), loc "AddClassesController.swift":108:27, scope 89 // user: %595
  1676. %595 = apply %594<Any>(%593) : $@convention(thin) <τ_0_0> (Builtin.Word) -> (@owned Array<τ_0_0>, Builtin.RawPointer), loc "AddClassesController.swift":108:27, scope 89 // users: %597, %596
  1677. %596 = tuple_extract %595 : $(Array<Any>, Builtin.RawPointer), 0, loc "AddClassesController.swift":108:27, scope 89 // user: %611
  1678. %597 = tuple_extract %595 : $(Array<Any>, Builtin.RawPointer), 1, loc "AddClassesController.swift":108:27, scope 89 // user: %598
  1679. %598 = pointer_to_address %597 : $Builtin.RawPointer to [strict] $*Any, loc "AddClassesController.swift":108:27, scope 89 // user: %599
  1680. %599 = init_existential_addr %598 : $*Any, $String, loc "AddClassesController.swift":108:27, scope 89 // user: %606
  1681. %600 = string_literal utf8 "No credits specified.", loc "AddClassesController.swift":108:27, scope 89 // user: %605
  1682. %601 = integer_literal $Builtin.Word, 21, loc "AddClassesController.swift":108:27, scope 89 // user: %605
  1683. %602 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":108:27, scope 89 // user: %605
  1684. %603 = metatype $@thin String.Type, loc "AddClassesController.swift":108:27, scope 89 // user: %605
  1685. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  1686. %604 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "AddClassesController.swift":108:27, scope 89 // user: %605
  1687. %605 = apply %604(%600, %601, %602, %603) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "AddClassesController.swift":108:27, scope 89 // user: %606
  1688. store %605 to [init] %599 : $*String, loc "AddClassesController.swift":108:27, scope 89 // id: %606
  1689. // function_ref (print([Any], separator : String, terminator : String) -> ()).(default argument 1)
  1690. %607 = function_ref @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A0_ : $@convention(thin) () -> @owned String, loc "AddClassesController.swift":108:27, scope 89 // user: %608
  1691. %608 = apply %607() : $@convention(thin) () -> @owned String, loc "AddClassesController.swift":108:27, scope 89 // user: %611
  1692. // function_ref (print([Any], separator : String, terminator : String) -> ()).(default argument 2)
  1693. %609 = function_ref @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A1_ : $@convention(thin) () -> @owned String, loc "AddClassesController.swift":108:27, scope 89 // user: %610
  1694. %610 = apply %609() : $@convention(thin) () -> @owned String, loc "AddClassesController.swift":108:27, scope 89 // user: %611
  1695. %611 = apply %592(%596, %608, %610) : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> (), loc "AddClassesController.swift":108:50, scope 89
  1696. destroy_value %376 : ${ var Double }, loc "AddClassesController.swift":142:5, scope 89 // id: %612
  1697. destroy_value %352 : $String, loc "AddClassesController.swift":142:5, scope 89 // id: %613
  1698. destroy_value %54 : ${ var Double }, loc "AddClassesController.swift":142:5, scope 89 // id: %614
  1699. destroy_value %39 : $String, loc "AddClassesController.swift":142:5, scope 89 // id: %615
  1700. br bb113, loc "AddClassesController.swift":109:21, scope 89 // id: %616
  1701.  
  1702. bb72: // Preds: bb65 bb53 bb50
  1703. // function_ref Array.append(A) -> ()
  1704. %617 = function_ref @_TFSa6appendfxT_ : $@convention(method) <τ_0_0> (@in τ_0_0, @inout Array<τ_0_0>) -> (), loc "AddClassesController.swift":122:38, scope 71 // user: %630
  1705. %618 = metatype $@thick Information.Type, loc "AddClassesController.swift":122:9, scope 71
  1706. // function_ref Information.classesAndGrades.unsafeMutableAddressor
  1707. %619 = function_ref @_TFC3gpa11Informationau16classesAndGradesGSaS0__ : $@convention(thin) () -> Builtin.RawPointer, loc "AddClassesController.swift":122:21, scope 71 // user: %620
  1708. %620 = apply %619() : $@convention(thin) () -> Builtin.RawPointer, loc "AddClassesController.swift":122:21, scope 71 // user: %621
  1709. %621 = pointer_to_address %620 : $Builtin.RawPointer to [strict] $*Array<Information>, loc "AddClassesController.swift":122:21, scope 71 // user: %630
  1710. // function_ref Information.__allocating_init(String, grade : Int, multiplier : Double, credits : Double) -> Information
  1711. %622 = function_ref @_TFC3gpa11InformationCfTSS5gradeSi10multiplierSd7creditsSd_S0_ : $@convention(method) (@owned String, Int, Double, Double, @thick Information.Type) -> @owned Information, loc "AddClassesController.swift":122:45, scope 71 // user: %627
  1712. %623 = metatype $@thick Information.Type, loc "AddClassesController.swift":122:45, scope 71 // user: %627
  1713. %624 = copy_value %39 : $String, loc "AddClassesController.swift":122:57, scope 71 // user: %627
  1714. %625 = load [trivial] %55 : $*Double, loc "AddClassesController.swift":122:101, scope 71 // user: %627
  1715. %626 = load [trivial] %377 : $*Double, loc "AddClassesController.swift":122:122, scope 71 // user: %627
  1716. %627 = apply %622(%624, %374, %625, %626, %623) : $@convention(method) (@owned String, Int, Double, Double, @thick Information.Type) -> @owned Information, loc "AddClassesController.swift":122:129, scope 71 // user: %629
  1717. %628 = alloc_stack $Information, loc "AddClassesController.swift":122:45, scope 71 // users: %631, %630, %629
  1718. store %627 to [init] %628 : $*Information, loc "AddClassesController.swift":122:45, scope 71 // id: %629
  1719. %630 = apply %617<Information>(%628, %621) : $@convention(method) <τ_0_0> (@in τ_0_0, @inout Array<τ_0_0>) -> (), loc "AddClassesController.swift":122:130, scope 71
  1720. dealloc_stack %628 : $*Information, loc "AddClassesController.swift":122:130, scope 71 // id: %631
  1721. %632 = metatype $@thick Information.Type, loc "AddClassesController.swift":123:9, scope 71
  1722. // function_ref Information.keyValueStore.unsafeMutableAddressor
  1723. %633 = function_ref @_TFC3gpa11Informationau13keyValueStoreCSo25NSUbiquitousKeyValueStore : $@convention(thin) () -> Builtin.RawPointer, loc "AddClassesController.swift":123:21, scope 71 // user: %634
  1724. %634 = apply %633() : $@convention(thin) () -> Builtin.RawPointer, loc "AddClassesController.swift":123:21, scope 71 // user: %635
  1725. %635 = pointer_to_address %634 : $Builtin.RawPointer to [strict] $*NSUbiquitousKeyValueStore, loc "AddClassesController.swift":123:21, scope 71 // user: %636
  1726. %636 = load [copy] %635 : $*NSUbiquitousKeyValueStore, loc "AddClassesController.swift":123:21, scope 71 // users: %681, %675, %637
  1727. %637 = class_method [volatile] %636 : $NSUbiquitousKeyValueStore, #NSUbiquitousKeyValueStore.set!1.foreign : (NSUbiquitousKeyValueStore) -> (Data?, String) -> () , $@convention(objc_method) (Optional<NSData>, NSString, NSUbiquitousKeyValueStore) -> (), loc "AddClassesController.swift":123:35, scope 71 // user: %675
  1728. %638 = metatype $@thick NSKeyedArchiver.Type, loc "AddClassesController.swift":123:39, scope 71 // users: %640, %639
  1729. %639 = class_method [volatile] %638 : $@thick NSKeyedArchiver.Type, #NSKeyedArchiver.archivedData!1.foreign : (NSKeyedArchiver.Type) -> (Any) -> Data , $@convention(objc_method) (AnyObject, @objc_metatype NSKeyedArchiver.Type) -> @autoreleased Optional<NSData>, loc "AddClassesController.swift":123:55, scope 71 // user: %649
  1730. %640 = thick_to_objc_metatype %638 : $@thick NSKeyedArchiver.Type to $@objc_metatype NSKeyedArchiver.Type, loc "AddClassesController.swift":123:39, scope 71 // user: %649
  1731. %641 = metatype $@thick Information.Type, loc "AddClassesController.swift":123:84, scope 71
  1732. // function_ref Information.classesAndGrades.unsafeMutableAddressor
  1733. %642 = function_ref @_TFC3gpa11Informationau16classesAndGradesGSaS0__ : $@convention(thin) () -> Builtin.RawPointer, loc "AddClassesController.swift":123:96, scope 71 // user: %643
  1734. %643 = apply %642() : $@convention(thin) () -> Builtin.RawPointer, loc "AddClassesController.swift":123:96, scope 71 // user: %644
  1735. %644 = pointer_to_address %643 : $Builtin.RawPointer to [strict] $*Array<Information>, loc "AddClassesController.swift":123:96, scope 71 // user: %645
  1736. %645 = load [copy] %644 : $*Array<Information>, loc "AddClassesController.swift":123:96, scope 71 // users: %680, %647
  1737. // function_ref Array._bridgeToObjectiveC() -> NSArray
  1738. %646 = function_ref @_TFE10FoundationSa19_bridgeToObjectiveCfT_CSo7NSArray : $@convention(method) <τ_0_0> (@guaranteed Array<τ_0_0>) -> @owned NSArray, loc "AddClassesController.swift":123:96, scope 71 // user: %647
  1739. %647 = apply %646<Information>(%645) : $@convention(method) <τ_0_0> (@guaranteed Array<τ_0_0>) -> @owned NSArray, loc "AddClassesController.swift":123:96, scope 71 // users: %679, %648
  1740. %648 = init_existential_ref %647 : $NSArray : $NSArray, $AnyObject, loc "AddClassesController.swift":123:96, scope 71 // user: %649
  1741. %649 = apply %639(%648, %640) : $@convention(objc_method) (AnyObject, @objc_metatype NSKeyedArchiver.Type) -> @autoreleased Optional<NSData>, loc "AddClassesController.swift":123:112, scope 71 // user: %652
  1742. // function_ref static Data._unconditionallyBridgeFromObjectiveC(NSData?) -> Data
  1743. %650 = function_ref @_TZFV10Foundation4Data36_unconditionallyBridgeFromObjectiveCfGSqCSo6NSData_S0_ : $@convention(method) (@owned Optional<NSData>, @thin Data.Type) -> @owned Data, loc "AddClassesController.swift":123:112, scope 71 // user: %652
  1744. %651 = metatype $@thin Data.Type, loc "AddClassesController.swift":123:112, scope 71 // user: %652
  1745. %652 = apply %650(%649, %651) : $@convention(method) (@owned Optional<NSData>, @thin Data.Type) -> @owned Data, loc "AddClassesController.swift":123:112, scope 71 // user: %653
  1746. %653 = enum $Optional<Data>, #Optional.some!enumelt.1, %652 : $Data, loc "AddClassesController.swift":123:55, scope 71 // users: %658, %656
  1747. %654 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":123:55, scope 71 // user: %656
  1748. %655 = integer_literal $Builtin.Int1, 0, loc "AddClassesController.swift":123:55, scope 71 // user: %656
  1749. %656 = select_enum %653 : $Optional<Data>, case #Optional.some!enumelt.1: %654, default %655 : $Builtin.Int1, loc "AddClassesController.swift":123:55, scope 71 // user: %657
  1750. cond_br %656, bb73, bb74, loc "AddClassesController.swift":123:55, scope 71 // id: %657
  1751.  
  1752. bb73: // Preds: bb72
  1753. %658 = unchecked_enum_data %653 : $Optional<Data>, #Optional.some!enumelt.1, loc "AddClassesController.swift":123:55, scope 71 // users: %662, %660
  1754. // function_ref Data._bridgeToObjectiveC() -> NSData
  1755. %659 = function_ref @_TFV10Foundation4Data19_bridgeToObjectiveCfT_CSo6NSData : $@convention(method) (@guaranteed Data) -> @owned NSData, loc "AddClassesController.swift":123:55, scope 71 // user: %660
  1756. %660 = apply %659(%658) : $@convention(method) (@guaranteed Data) -> @owned NSData, loc "AddClassesController.swift":123:55, scope 71 // user: %661
  1757. %661 = enum $Optional<NSData>, #Optional.some!enumelt.1, %660 : $NSData, loc "AddClassesController.swift":123:55, scope 71 // user: %663
  1758. destroy_value %658 : $Data, loc "AddClassesController.swift":123:112, scope 71 // id: %662
  1759. br bb75(%661 : $Optional<NSData>), loc "AddClassesController.swift":123:55, scope 71 // id: %663
  1760.  
  1761. bb74: // Preds: bb72
  1762. %664 = enum $Optional<NSData>, #Optional.none!enumelt, loc "AddClassesController.swift":123:55, scope 71 // user: %665
  1763. br bb75(%664 : $Optional<NSData>), loc "AddClassesController.swift":123:55, scope 71 // id: %665
  1764.  
  1765. // %666 // users: %678, %675
  1766. bb75(%666 : $Optional<NSData>): // Preds: bb74 bb73
  1767. %667 = string_literal utf8 "savedList", loc "AddClassesController.swift":123:123, scope 71 // user: %672
  1768. %668 = integer_literal $Builtin.Word, 9, loc "AddClassesController.swift":123:123, scope 71 // user: %672
  1769. %669 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":123:123, scope 71 // user: %672
  1770. %670 = metatype $@thin String.Type, loc "AddClassesController.swift":123:123, scope 71 // user: %672
  1771. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  1772. %671 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "AddClassesController.swift":123:123, scope 71 // user: %672
  1773. %672 = apply %671(%667, %668, %669, %670) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "AddClassesController.swift":123:123, scope 71 // users: %677, %674
  1774. // function_ref String._bridgeToObjectiveC() -> NSString
  1775. %673 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "AddClassesController.swift":123:123, scope 71 // user: %674
  1776. %674 = apply %673(%672) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "AddClassesController.swift":123:123, scope 71 // users: %676, %675
  1777. %675 = apply %637(%666, %674, %636) : $@convention(objc_method) (Optional<NSData>, NSString, NSUbiquitousKeyValueStore) -> (), loc "AddClassesController.swift":123:134, scope 71
  1778. destroy_value %674 : $NSString, loc "AddClassesController.swift":123:134, scope 71 // id: %676
  1779. destroy_value %672 : $String, loc "AddClassesController.swift":123:134, scope 71 // id: %677
  1780. destroy_value %666 : $Optional<NSData>, loc "AddClassesController.swift":123:134, scope 71 // id: %678
  1781. destroy_value %647 : $NSArray, loc "AddClassesController.swift":123:134, scope 71 // id: %679
  1782. destroy_value %645 : $Array<Information>, loc "AddClassesController.swift":123:134, scope 71 // id: %680
  1783. destroy_value %636 : $NSUbiquitousKeyValueStore, loc "AddClassesController.swift":123:134, scope 71 // id: %681
  1784. %682 = alloc_stack $Optional<UITextField>, loc "AddClassesController.swift":125:9, scope 71 // users: %721, %694, %686, %685
  1785. %683 = class_method %1 : $AddClassesController, #AddClassesController.classNameField!getter.1 : (AddClassesController) -> () -> UITextField! , $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UITextField>, loc "AddClassesController.swift":125:9, scope 71 // user: %684
  1786. %684 = apply %683(%1) : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UITextField>, loc "AddClassesController.swift":125:9, scope 71 // user: %685
  1787. store %684 to [init] %682 : $*Optional<UITextField>, loc "AddClassesController.swift":125:9, scope 71 // id: %685
  1788. switch_enum_addr %682 : $*Optional<UITextField>, case #Optional.none!enumelt: bb76, default bb77, loc "AddClassesController.swift":125:9, scope 71 // id: %686
  1789.  
  1790. bb76: // Preds: bb75
  1791. %687 = string_literal utf8 "AddClassesController.swift", loc "AddClassesController.swift":125:9, scope 71 // user: %692
  1792. %688 = integer_literal $Builtin.Word, 26, loc "AddClassesController.swift":125:9, scope 71 // user: %692
  1793. %689 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":125:9, scope 71 // user: %692
  1794. %690 = integer_literal $Builtin.Word, 125, loc "AddClassesController.swift":125:9, scope 71 // user: %692
  1795. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  1796. %691 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":125:9, scope 71 // user: %692
  1797. %692 = apply %691(%687, %688, %689, %690) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":125:9, scope 71
  1798. unreachable , loc "AddClassesController.swift":125:9, scope 71 // id: %693
  1799.  
  1800. bb77: // Preds: bb75
  1801. %694 = unchecked_take_enum_data_addr %682 : $*Optional<UITextField>, #Optional.some!enumelt.1, loc "AddClassesController.swift":125:9, scope 71 // users: %720, %695
  1802. %695 = load [copy] %694 : $*UITextField, loc "AddClassesController.swift":125:9, scope 71 // users: %719, %717, %703
  1803. %696 = string_literal utf8 "", loc "AddClassesController.swift":125:31, scope 71 // user: %701
  1804. %697 = integer_literal $Builtin.Word, 0, loc "AddClassesController.swift":125:31, scope 71 // user: %701
  1805. %698 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":125:31, scope 71 // user: %701
  1806. %699 = metatype $@thin String.Type, loc "AddClassesController.swift":125:31, scope 71 // user: %701
  1807. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  1808. %700 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "AddClassesController.swift":125:31, scope 71 // user: %701
  1809. %701 = apply %700(%696, %697, %698, %699) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "AddClassesController.swift":125:31, scope 71 // user: %702
  1810. %702 = enum $Optional<String>, #Optional.some!enumelt.1, %701 : $String, loc "AddClassesController.swift":125:31, scope 71 // users: %708, %706
  1811. %703 = class_method [volatile] %695 : $UITextField, #UITextField.text!setter.1.foreign : (UITextField) -> (String?) -> () , $@convention(objc_method) (Optional<NSString>, UITextField) -> (), loc "AddClassesController.swift":125:29, scope 71 // user: %717
  1812. %704 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":125:29, scope 71 // user: %706
  1813. %705 = integer_literal $Builtin.Int1, 0, loc "AddClassesController.swift":125:29, scope 71 // user: %706
  1814. %706 = select_enum %702 : $Optional<String>, case #Optional.some!enumelt.1: %704, default %705 : $Builtin.Int1, loc "AddClassesController.swift":125:29, scope 71 // user: %707
  1815. cond_br %706, bb78, bb79, loc "AddClassesController.swift":125:29, scope 71 // id: %707
  1816.  
  1817. bb78: // Preds: bb77
  1818. %708 = unchecked_enum_data %702 : $Optional<String>, #Optional.some!enumelt.1, loc "AddClassesController.swift":125:29, scope 71 // users: %712, %710
  1819. // function_ref String._bridgeToObjectiveC() -> NSString
  1820. %709 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "AddClassesController.swift":125:29, scope 71 // user: %710
  1821. %710 = apply %709(%708) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "AddClassesController.swift":125:29, scope 71 // user: %711
  1822. %711 = enum $Optional<NSString>, #Optional.some!enumelt.1, %710 : $NSString, loc "AddClassesController.swift":125:29, scope 71 // user: %713
  1823. destroy_value %708 : $String, loc "AddClassesController.swift":125:31, scope 71 // id: %712
  1824. br bb80(%711 : $Optional<NSString>), loc "AddClassesController.swift":125:29, scope 71 // id: %713
  1825.  
  1826. bb79: // Preds: bb77
  1827. %714 = enum $Optional<NSString>, #Optional.none!enumelt, loc "AddClassesController.swift":125:29, scope 71 // user: %715
  1828. br bb80(%714 : $Optional<NSString>), loc "AddClassesController.swift":125:29, scope 71 // id: %715
  1829.  
  1830. // %716 // users: %718, %717
  1831. bb80(%716 : $Optional<NSString>): // Preds: bb79 bb78
  1832. %717 = apply %703(%716, %695) : $@convention(objc_method) (Optional<NSString>, UITextField) -> (), loc "AddClassesController.swift":125:29, scope 71
  1833. destroy_value %716 : $Optional<NSString>, loc "AddClassesController.swift":125:31, scope 71 // id: %718
  1834. destroy_value %695 : $UITextField, loc "AddClassesController.swift":125:31, scope 71 // id: %719
  1835. destroy_addr %694 : $*UITextField, loc "AddClassesController.swift":125:31, scope 71 // id: %720
  1836. dealloc_stack %682 : $*Optional<UITextField>, loc "AddClassesController.swift":125:31, scope 71 // id: %721
  1837. %722 = alloc_stack $Optional<UITextField>, loc "AddClassesController.swift":126:9, scope 71 // users: %761, %734, %726, %725
  1838. %723 = class_method %1 : $AddClassesController, #AddClassesController.multiplierField!getter.1 : (AddClassesController) -> () -> UITextField! , $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UITextField>, loc "AddClassesController.swift":126:9, scope 71 // user: %724
  1839. %724 = apply %723(%1) : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UITextField>, loc "AddClassesController.swift":126:9, scope 71 // user: %725
  1840. store %724 to [init] %722 : $*Optional<UITextField>, loc "AddClassesController.swift":126:9, scope 71 // id: %725
  1841. switch_enum_addr %722 : $*Optional<UITextField>, case #Optional.none!enumelt: bb81, default bb82, loc "AddClassesController.swift":126:9, scope 71 // id: %726
  1842.  
  1843. bb81: // Preds: bb80
  1844. %727 = string_literal utf8 "AddClassesController.swift", loc "AddClassesController.swift":126:9, scope 71 // user: %732
  1845. %728 = integer_literal $Builtin.Word, 26, loc "AddClassesController.swift":126:9, scope 71 // user: %732
  1846. %729 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":126:9, scope 71 // user: %732
  1847. %730 = integer_literal $Builtin.Word, 126, loc "AddClassesController.swift":126:9, scope 71 // user: %732
  1848. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  1849. %731 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":126:9, scope 71 // user: %732
  1850. %732 = apply %731(%727, %728, %729, %730) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":126:9, scope 71
  1851. unreachable , loc "AddClassesController.swift":126:9, scope 71 // id: %733
  1852.  
  1853. bb82: // Preds: bb80
  1854. %734 = unchecked_take_enum_data_addr %722 : $*Optional<UITextField>, #Optional.some!enumelt.1, loc "AddClassesController.swift":126:9, scope 71 // users: %760, %735
  1855. %735 = load [copy] %734 : $*UITextField, loc "AddClassesController.swift":126:9, scope 71 // users: %759, %757, %743
  1856. %736 = string_literal utf8 "", loc "AddClassesController.swift":126:32, scope 71 // user: %741
  1857. %737 = integer_literal $Builtin.Word, 0, loc "AddClassesController.swift":126:32, scope 71 // user: %741
  1858. %738 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":126:32, scope 71 // user: %741
  1859. %739 = metatype $@thin String.Type, loc "AddClassesController.swift":126:32, scope 71 // user: %741
  1860. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  1861. %740 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "AddClassesController.swift":126:32, scope 71 // user: %741
  1862. %741 = apply %740(%736, %737, %738, %739) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "AddClassesController.swift":126:32, scope 71 // user: %742
  1863. %742 = enum $Optional<String>, #Optional.some!enumelt.1, %741 : $String, loc "AddClassesController.swift":126:32, scope 71 // users: %748, %746
  1864. %743 = class_method [volatile] %735 : $UITextField, #UITextField.text!setter.1.foreign : (UITextField) -> (String?) -> () , $@convention(objc_method) (Optional<NSString>, UITextField) -> (), loc "AddClassesController.swift":126:30, scope 71 // user: %757
  1865. %744 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":126:30, scope 71 // user: %746
  1866. %745 = integer_literal $Builtin.Int1, 0, loc "AddClassesController.swift":126:30, scope 71 // user: %746
  1867. %746 = select_enum %742 : $Optional<String>, case #Optional.some!enumelt.1: %744, default %745 : $Builtin.Int1, loc "AddClassesController.swift":126:30, scope 71 // user: %747
  1868. cond_br %746, bb83, bb84, loc "AddClassesController.swift":126:30, scope 71 // id: %747
  1869.  
  1870. bb83: // Preds: bb82
  1871. %748 = unchecked_enum_data %742 : $Optional<String>, #Optional.some!enumelt.1, loc "AddClassesController.swift":126:30, scope 71 // users: %752, %750
  1872. // function_ref String._bridgeToObjectiveC() -> NSString
  1873. %749 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "AddClassesController.swift":126:30, scope 71 // user: %750
  1874. %750 = apply %749(%748) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "AddClassesController.swift":126:30, scope 71 // user: %751
  1875. %751 = enum $Optional<NSString>, #Optional.some!enumelt.1, %750 : $NSString, loc "AddClassesController.swift":126:30, scope 71 // user: %753
  1876. destroy_value %748 : $String, loc "AddClassesController.swift":126:32, scope 71 // id: %752
  1877. br bb85(%751 : $Optional<NSString>), loc "AddClassesController.swift":126:30, scope 71 // id: %753
  1878.  
  1879. bb84: // Preds: bb82
  1880. %754 = enum $Optional<NSString>, #Optional.none!enumelt, loc "AddClassesController.swift":126:30, scope 71 // user: %755
  1881. br bb85(%754 : $Optional<NSString>), loc "AddClassesController.swift":126:30, scope 71 // id: %755
  1882.  
  1883. // %756 // users: %758, %757
  1884. bb85(%756 : $Optional<NSString>): // Preds: bb84 bb83
  1885. %757 = apply %743(%756, %735) : $@convention(objc_method) (Optional<NSString>, UITextField) -> (), loc "AddClassesController.swift":126:30, scope 71
  1886. destroy_value %756 : $Optional<NSString>, loc "AddClassesController.swift":126:32, scope 71 // id: %758
  1887. destroy_value %735 : $UITextField, loc "AddClassesController.swift":126:32, scope 71 // id: %759
  1888. destroy_addr %734 : $*UITextField, loc "AddClassesController.swift":126:32, scope 71 // id: %760
  1889. dealloc_stack %722 : $*Optional<UITextField>, loc "AddClassesController.swift":126:32, scope 71 // id: %761
  1890. %762 = alloc_stack $Optional<UISegmentedControl>, loc "AddClassesController.swift":127:9, scope 71 // users: %784, %774, %766, %765
  1891. %763 = class_method %1 : $AddClassesController, #AddClassesController.multiplierBar!getter.1 : (AddClassesController) -> () -> UISegmentedControl! , $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UISegmentedControl>, loc "AddClassesController.swift":127:9, scope 71 // user: %764
  1892. %764 = apply %763(%1) : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UISegmentedControl>, loc "AddClassesController.swift":127:9, scope 71 // user: %765
  1893. store %764 to [init] %762 : $*Optional<UISegmentedControl>, loc "AddClassesController.swift":127:9, scope 71 // id: %765
  1894. switch_enum_addr %762 : $*Optional<UISegmentedControl>, case #Optional.none!enumelt: bb86, default bb87, loc "AddClassesController.swift":127:9, scope 71 // id: %766
  1895.  
  1896. bb86: // Preds: bb85
  1897. %767 = string_literal utf8 "AddClassesController.swift", loc "AddClassesController.swift":127:9, scope 71 // user: %772
  1898. %768 = integer_literal $Builtin.Word, 26, loc "AddClassesController.swift":127:9, scope 71 // user: %772
  1899. %769 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":127:9, scope 71 // user: %772
  1900. %770 = integer_literal $Builtin.Word, 127, loc "AddClassesController.swift":127:9, scope 71 // user: %772
  1901. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  1902. %771 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":127:9, scope 71 // user: %772
  1903. %772 = apply %771(%767, %768, %769, %770) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":127:9, scope 71
  1904. unreachable , loc "AddClassesController.swift":127:9, scope 71 // id: %773
  1905.  
  1906. bb87: // Preds: bb85
  1907. %774 = unchecked_take_enum_data_addr %762 : $*Optional<UISegmentedControl>, #Optional.some!enumelt.1, loc "AddClassesController.swift":127:9, scope 71 // users: %783, %775
  1908. %775 = load [copy] %774 : $*UISegmentedControl, loc "AddClassesController.swift":127:9, scope 71 // users: %782, %781, %780
  1909. // function_ref Int.init(_builtinIntegerLiteral : Builtin.Int2048) -> Int
  1910. %776 = function_ref @_TFSiCfT22_builtinIntegerLiteralBi2048__Si : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "AddClassesController.swift":127:46, scope 71 // user: %779
  1911. %777 = metatype $@thin Int.Type, loc "AddClassesController.swift":127:46, scope 71 // user: %779
  1912. %778 = integer_literal $Builtin.Int2048, 0, loc "AddClassesController.swift":127:46, scope 71 // user: %779
  1913. %779 = apply %776(%778, %777) : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "AddClassesController.swift":127:46, scope 71 // user: %781
  1914. %780 = class_method [volatile] %775 : $UISegmentedControl, #UISegmentedControl.selectedSegmentIndex!setter.1.foreign : (UISegmentedControl) -> (Int) -> () , $@convention(objc_method) (Int, UISegmentedControl) -> (), loc "AddClassesController.swift":127:44, scope 71 // user: %781
  1915. %781 = apply %780(%779, %775) : $@convention(objc_method) (Int, UISegmentedControl) -> (), loc "AddClassesController.swift":127:44, scope 71
  1916. destroy_value %775 : $UISegmentedControl, loc "AddClassesController.swift":127:46, scope 71 // id: %782
  1917. destroy_addr %774 : $*UISegmentedControl, loc "AddClassesController.swift":127:46, scope 71 // id: %783
  1918. dealloc_stack %762 : $*Optional<UISegmentedControl>, loc "AddClassesController.swift":127:46, scope 71 // id: %784
  1919. %785 = alloc_stack $Optional<UITextField>, loc "AddClassesController.swift":128:9, scope 71 // users: %824, %797, %789, %788
  1920. %786 = class_method %1 : $AddClassesController, #AddClassesController.currentGradeField!getter.1 : (AddClassesController) -> () -> UITextField! , $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UITextField>, loc "AddClassesController.swift":128:9, scope 71 // user: %787
  1921. %787 = apply %786(%1) : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UITextField>, loc "AddClassesController.swift":128:9, scope 71 // user: %788
  1922. store %787 to [init] %785 : $*Optional<UITextField>, loc "AddClassesController.swift":128:9, scope 71 // id: %788
  1923. switch_enum_addr %785 : $*Optional<UITextField>, case #Optional.none!enumelt: bb88, default bb89, loc "AddClassesController.swift":128:9, scope 71 // id: %789
  1924.  
  1925. bb88: // Preds: bb87
  1926. %790 = string_literal utf8 "AddClassesController.swift", loc "AddClassesController.swift":128:9, scope 71 // user: %795
  1927. %791 = integer_literal $Builtin.Word, 26, loc "AddClassesController.swift":128:9, scope 71 // user: %795
  1928. %792 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":128:9, scope 71 // user: %795
  1929. %793 = integer_literal $Builtin.Word, 128, loc "AddClassesController.swift":128:9, scope 71 // user: %795
  1930. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  1931. %794 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":128:9, scope 71 // user: %795
  1932. %795 = apply %794(%790, %791, %792, %793) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":128:9, scope 71
  1933. unreachable , loc "AddClassesController.swift":128:9, scope 71 // id: %796
  1934.  
  1935. bb89: // Preds: bb87
  1936. %797 = unchecked_take_enum_data_addr %785 : $*Optional<UITextField>, #Optional.some!enumelt.1, loc "AddClassesController.swift":128:9, scope 71 // users: %823, %798
  1937. %798 = load [copy] %797 : $*UITextField, loc "AddClassesController.swift":128:9, scope 71 // users: %822, %820, %806
  1938. %799 = string_literal utf8 "", loc "AddClassesController.swift":128:34, scope 71 // user: %804
  1939. %800 = integer_literal $Builtin.Word, 0, loc "AddClassesController.swift":128:34, scope 71 // user: %804
  1940. %801 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":128:34, scope 71 // user: %804
  1941. %802 = metatype $@thin String.Type, loc "AddClassesController.swift":128:34, scope 71 // user: %804
  1942. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  1943. %803 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "AddClassesController.swift":128:34, scope 71 // user: %804
  1944. %804 = apply %803(%799, %800, %801, %802) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "AddClassesController.swift":128:34, scope 71 // user: %805
  1945. %805 = enum $Optional<String>, #Optional.some!enumelt.1, %804 : $String, loc "AddClassesController.swift":128:34, scope 71 // users: %811, %809
  1946. %806 = class_method [volatile] %798 : $UITextField, #UITextField.text!setter.1.foreign : (UITextField) -> (String?) -> () , $@convention(objc_method) (Optional<NSString>, UITextField) -> (), loc "AddClassesController.swift":128:32, scope 71 // user: %820
  1947. %807 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":128:32, scope 71 // user: %809
  1948. %808 = integer_literal $Builtin.Int1, 0, loc "AddClassesController.swift":128:32, scope 71 // user: %809
  1949. %809 = select_enum %805 : $Optional<String>, case #Optional.some!enumelt.1: %807, default %808 : $Builtin.Int1, loc "AddClassesController.swift":128:32, scope 71 // user: %810
  1950. cond_br %809, bb90, bb91, loc "AddClassesController.swift":128:32, scope 71 // id: %810
  1951.  
  1952. bb90: // Preds: bb89
  1953. %811 = unchecked_enum_data %805 : $Optional<String>, #Optional.some!enumelt.1, loc "AddClassesController.swift":128:32, scope 71 // users: %815, %813
  1954. // function_ref String._bridgeToObjectiveC() -> NSString
  1955. %812 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "AddClassesController.swift":128:32, scope 71 // user: %813
  1956. %813 = apply %812(%811) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "AddClassesController.swift":128:32, scope 71 // user: %814
  1957. %814 = enum $Optional<NSString>, #Optional.some!enumelt.1, %813 : $NSString, loc "AddClassesController.swift":128:32, scope 71 // user: %816
  1958. destroy_value %811 : $String, loc "AddClassesController.swift":128:34, scope 71 // id: %815
  1959. br bb92(%814 : $Optional<NSString>), loc "AddClassesController.swift":128:32, scope 71 // id: %816
  1960.  
  1961. bb91: // Preds: bb89
  1962. %817 = enum $Optional<NSString>, #Optional.none!enumelt, loc "AddClassesController.swift":128:32, scope 71 // user: %818
  1963. br bb92(%817 : $Optional<NSString>), loc "AddClassesController.swift":128:32, scope 71 // id: %818
  1964.  
  1965. // %819 // users: %821, %820
  1966. bb92(%819 : $Optional<NSString>): // Preds: bb91 bb90
  1967. %820 = apply %806(%819, %798) : $@convention(objc_method) (Optional<NSString>, UITextField) -> (), loc "AddClassesController.swift":128:32, scope 71
  1968. destroy_value %819 : $Optional<NSString>, loc "AddClassesController.swift":128:34, scope 71 // id: %821
  1969. destroy_value %798 : $UITextField, loc "AddClassesController.swift":128:34, scope 71 // id: %822
  1970. destroy_addr %797 : $*UITextField, loc "AddClassesController.swift":128:34, scope 71 // id: %823
  1971. dealloc_stack %785 : $*Optional<UITextField>, loc "AddClassesController.swift":128:34, scope 71 // id: %824
  1972. %825 = alloc_stack $Optional<UITextField>, loc "AddClassesController.swift":129:9, scope 71 // users: %864, %837, %829, %828
  1973. %826 = class_method %1 : $AddClassesController, #AddClassesController.creditsField!getter.1 : (AddClassesController) -> () -> UITextField! , $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UITextField>, loc "AddClassesController.swift":129:9, scope 71 // user: %827
  1974. %827 = apply %826(%1) : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UITextField>, loc "AddClassesController.swift":129:9, scope 71 // user: %828
  1975. store %827 to [init] %825 : $*Optional<UITextField>, loc "AddClassesController.swift":129:9, scope 71 // id: %828
  1976. switch_enum_addr %825 : $*Optional<UITextField>, case #Optional.none!enumelt: bb93, default bb94, loc "AddClassesController.swift":129:9, scope 71 // id: %829
  1977.  
  1978. bb93: // Preds: bb92
  1979. %830 = string_literal utf8 "AddClassesController.swift", loc "AddClassesController.swift":129:9, scope 71 // user: %835
  1980. %831 = integer_literal $Builtin.Word, 26, loc "AddClassesController.swift":129:9, scope 71 // user: %835
  1981. %832 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":129:9, scope 71 // user: %835
  1982. %833 = integer_literal $Builtin.Word, 129, loc "AddClassesController.swift":129:9, scope 71 // user: %835
  1983. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  1984. %834 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":129:9, scope 71 // user: %835
  1985. %835 = apply %834(%830, %831, %832, %833) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":129:9, scope 71
  1986. unreachable , loc "AddClassesController.swift":129:9, scope 71 // id: %836
  1987.  
  1988. bb94: // Preds: bb92
  1989. %837 = unchecked_take_enum_data_addr %825 : $*Optional<UITextField>, #Optional.some!enumelt.1, loc "AddClassesController.swift":129:9, scope 71 // users: %863, %838
  1990. %838 = load [copy] %837 : $*UITextField, loc "AddClassesController.swift":129:9, scope 71 // users: %862, %860, %846
  1991. %839 = string_literal utf8 "", loc "AddClassesController.swift":129:29, scope 71 // user: %844
  1992. %840 = integer_literal $Builtin.Word, 0, loc "AddClassesController.swift":129:29, scope 71 // user: %844
  1993. %841 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":129:29, scope 71 // user: %844
  1994. %842 = metatype $@thin String.Type, loc "AddClassesController.swift":129:29, scope 71 // user: %844
  1995. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  1996. %843 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "AddClassesController.swift":129:29, scope 71 // user: %844
  1997. %844 = apply %843(%839, %840, %841, %842) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "AddClassesController.swift":129:29, scope 71 // user: %845
  1998. %845 = enum $Optional<String>, #Optional.some!enumelt.1, %844 : $String, loc "AddClassesController.swift":129:29, scope 71 // users: %851, %849
  1999. %846 = class_method [volatile] %838 : $UITextField, #UITextField.text!setter.1.foreign : (UITextField) -> (String?) -> () , $@convention(objc_method) (Optional<NSString>, UITextField) -> (), loc "AddClassesController.swift":129:27, scope 71 // user: %860
  2000. %847 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":129:27, scope 71 // user: %849
  2001. %848 = integer_literal $Builtin.Int1, 0, loc "AddClassesController.swift":129:27, scope 71 // user: %849
  2002. %849 = select_enum %845 : $Optional<String>, case #Optional.some!enumelt.1: %847, default %848 : $Builtin.Int1, loc "AddClassesController.swift":129:27, scope 71 // user: %850
  2003. cond_br %849, bb95, bb96, loc "AddClassesController.swift":129:27, scope 71 // id: %850
  2004.  
  2005. bb95: // Preds: bb94
  2006. %851 = unchecked_enum_data %845 : $Optional<String>, #Optional.some!enumelt.1, loc "AddClassesController.swift":129:27, scope 71 // users: %855, %853
  2007. // function_ref String._bridgeToObjectiveC() -> NSString
  2008. %852 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "AddClassesController.swift":129:27, scope 71 // user: %853
  2009. %853 = apply %852(%851) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "AddClassesController.swift":129:27, scope 71 // user: %854
  2010. %854 = enum $Optional<NSString>, #Optional.some!enumelt.1, %853 : $NSString, loc "AddClassesController.swift":129:27, scope 71 // user: %856
  2011. destroy_value %851 : $String, loc "AddClassesController.swift":129:29, scope 71 // id: %855
  2012. br bb97(%854 : $Optional<NSString>), loc "AddClassesController.swift":129:27, scope 71 // id: %856
  2013.  
  2014. bb96: // Preds: bb94
  2015. %857 = enum $Optional<NSString>, #Optional.none!enumelt, loc "AddClassesController.swift":129:27, scope 71 // user: %858
  2016. br bb97(%857 : $Optional<NSString>), loc "AddClassesController.swift":129:27, scope 71 // id: %858
  2017.  
  2018. // %859 // users: %861, %860
  2019. bb97(%859 : $Optional<NSString>): // Preds: bb96 bb95
  2020. %860 = apply %846(%859, %838) : $@convention(objc_method) (Optional<NSString>, UITextField) -> (), loc "AddClassesController.swift":129:27, scope 71
  2021. destroy_value %859 : $Optional<NSString>, loc "AddClassesController.swift":129:29, scope 71 // id: %861
  2022. destroy_value %838 : $UITextField, loc "AddClassesController.swift":129:29, scope 71 // id: %862
  2023. destroy_addr %837 : $*UITextField, loc "AddClassesController.swift":129:29, scope 71 // id: %863
  2024. dealloc_stack %825 : $*Optional<UITextField>, loc "AddClassesController.swift":129:29, scope 71 // id: %864
  2025. %865 = alloc_stack $Optional<UISegmentedControl>, loc "AddClassesController.swift":130:9, scope 71 // users: %887, %877, %869, %868
  2026. %866 = class_method %1 : $AddClassesController, #AddClassesController.creditsBar!getter.1 : (AddClassesController) -> () -> UISegmentedControl! , $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UISegmentedControl>, loc "AddClassesController.swift":130:9, scope 71 // user: %867
  2027. %867 = apply %866(%1) : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UISegmentedControl>, loc "AddClassesController.swift":130:9, scope 71 // user: %868
  2028. store %867 to [init] %865 : $*Optional<UISegmentedControl>, loc "AddClassesController.swift":130:9, scope 71 // id: %868
  2029. switch_enum_addr %865 : $*Optional<UISegmentedControl>, case #Optional.none!enumelt: bb98, default bb99, loc "AddClassesController.swift":130:9, scope 71 // id: %869
  2030.  
  2031. bb98: // Preds: bb97
  2032. %870 = string_literal utf8 "AddClassesController.swift", loc "AddClassesController.swift":130:9, scope 71 // user: %875
  2033. %871 = integer_literal $Builtin.Word, 26, loc "AddClassesController.swift":130:9, scope 71 // user: %875
  2034. %872 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":130:9, scope 71 // user: %875
  2035. %873 = integer_literal $Builtin.Word, 130, loc "AddClassesController.swift":130:9, scope 71 // user: %875
  2036. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  2037. %874 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":130:9, scope 71 // user: %875
  2038. %875 = apply %874(%870, %871, %872, %873) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":130:9, scope 71
  2039. unreachable , loc "AddClassesController.swift":130:9, scope 71 // id: %876
  2040.  
  2041. bb99: // Preds: bb97
  2042. %877 = unchecked_take_enum_data_addr %865 : $*Optional<UISegmentedControl>, #Optional.some!enumelt.1, loc "AddClassesController.swift":130:9, scope 71 // users: %886, %878
  2043. %878 = load [copy] %877 : $*UISegmentedControl, loc "AddClassesController.swift":130:9, scope 71 // users: %885, %884, %883
  2044. // function_ref Int.init(_builtinIntegerLiteral : Builtin.Int2048) -> Int
  2045. %879 = function_ref @_TFSiCfT22_builtinIntegerLiteralBi2048__Si : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "AddClassesController.swift":130:43, scope 71 // user: %882
  2046. %880 = metatype $@thin Int.Type, loc "AddClassesController.swift":130:43, scope 71 // user: %882
  2047. %881 = integer_literal $Builtin.Int2048, 0, loc "AddClassesController.swift":130:43, scope 71 // user: %882
  2048. %882 = apply %879(%881, %880) : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "AddClassesController.swift":130:43, scope 71 // user: %884
  2049. %883 = class_method [volatile] %878 : $UISegmentedControl, #UISegmentedControl.selectedSegmentIndex!setter.1.foreign : (UISegmentedControl) -> (Int) -> () , $@convention(objc_method) (Int, UISegmentedControl) -> (), loc "AddClassesController.swift":130:41, scope 71 // user: %884
  2050. %884 = apply %883(%882, %878) : $@convention(objc_method) (Int, UISegmentedControl) -> (), loc "AddClassesController.swift":130:41, scope 71
  2051. destroy_value %878 : $UISegmentedControl, loc "AddClassesController.swift":130:43, scope 71 // id: %885
  2052. destroy_addr %877 : $*UISegmentedControl, loc "AddClassesController.swift":130:43, scope 71 // id: %886
  2053. dealloc_stack %865 : $*Optional<UISegmentedControl>, loc "AddClassesController.swift":130:43, scope 71 // id: %887
  2054. %888 = alloc_stack $Optional<UILabel>, loc "AddClassesController.swift":132:9, scope 71 // users: %913, %900, %892, %891
  2055. %889 = class_method %1 : $AddClassesController, #AddClassesController.warningLabel!getter.1 : (AddClassesController) -> () -> UILabel! , $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UILabel>, loc "AddClassesController.swift":132:9, scope 71 // user: %890
  2056. %890 = apply %889(%1) : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UILabel>, loc "AddClassesController.swift":132:9, scope 71 // user: %891
  2057. store %890 to [init] %888 : $*Optional<UILabel>, loc "AddClassesController.swift":132:9, scope 71 // id: %891
  2058. switch_enum_addr %888 : $*Optional<UILabel>, case #Optional.none!enumelt: bb100, default bb101, loc "AddClassesController.swift":132:9, scope 71 // id: %892
  2059.  
  2060. bb100: // Preds: bb99
  2061. %893 = string_literal utf8 "AddClassesController.swift", loc "AddClassesController.swift":132:9, scope 71 // user: %898
  2062. %894 = integer_literal $Builtin.Word, 26, loc "AddClassesController.swift":132:9, scope 71 // user: %898
  2063. %895 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":132:9, scope 71 // user: %898
  2064. %896 = integer_literal $Builtin.Word, 132, loc "AddClassesController.swift":132:9, scope 71 // user: %898
  2065. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  2066. %897 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":132:9, scope 71 // user: %898
  2067. %898 = apply %897(%893, %894, %895, %896) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":132:9, scope 71
  2068. unreachable , loc "AddClassesController.swift":132:9, scope 71 // id: %899
  2069.  
  2070. bb101: // Preds: bb99
  2071. %900 = unchecked_take_enum_data_addr %888 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "AddClassesController.swift":132:9, scope 71 // users: %912, %901
  2072. %901 = load [copy] %900 : $*UILabel, loc "AddClassesController.swift":132:9, scope 71 // users: %911, %902
  2073. %902 = upcast %901 : $UILabel to $UIView, loc "AddClassesController.swift":132:9, scope 71 // users: %910, %907
  2074. // function_ref Bool.init(_builtinBooleanLiteral : Builtin.Int1) -> Bool
  2075. %903 = function_ref @_TFSbCfT22_builtinBooleanLiteralBi1__Sb : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":132:33, scope 71 // user: %906
  2076. %904 = metatype $@thin Bool.Type, loc "AddClassesController.swift":132:33, scope 71 // user: %906
  2077. %905 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":132:33, scope 71 // user: %906
  2078. %906 = apply %903(%905, %904) : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":132:33, scope 71 // user: %909
  2079. %907 = class_method [volatile] %902 : $UIView, #UIView.hidden!setter.1.foreign : (UIView) -> (Bool) -> () , $@convention(objc_method) (ObjCBool, UIView) -> (), loc "AddClassesController.swift":132:31, scope 71 // user: %910
  2080. // function_ref _convertBoolToObjCBool(Bool) -> ObjCBool
  2081. %908 = function_ref @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool, loc "AddClassesController.swift":132:31, scope 71 // user: %909
  2082. %909 = apply %908(%906) : $@convention(thin) (Bool) -> ObjCBool, loc "AddClassesController.swift":132:31, scope 71 // user: %910
  2083. %910 = apply %907(%909, %902) : $@convention(objc_method) (ObjCBool, UIView) -> (), loc "AddClassesController.swift":132:31, scope 71
  2084. destroy_value %901 : $UILabel, loc "AddClassesController.swift":132:33, scope 71 // id: %911
  2085. destroy_addr %900 : $*UILabel, loc "AddClassesController.swift":132:33, scope 71 // id: %912
  2086. dealloc_stack %888 : $*Optional<UILabel>, loc "AddClassesController.swift":132:33, scope 71 // id: %913
  2087. %914 = alloc_stack $Optional<UIBarButtonItem>, loc "AddClassesController.swift":133:9, scope 71 // users: %939, %926, %918, %917
  2088. %915 = class_method %1 : $AddClassesController, #AddClassesController.cancelButton!getter.1 : (AddClassesController) -> () -> UIBarButtonItem! , $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UIBarButtonItem>, loc "AddClassesController.swift":133:9, scope 71 // user: %916
  2089. %916 = apply %915(%1) : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UIBarButtonItem>, loc "AddClassesController.swift":133:9, scope 71 // user: %917
  2090. store %916 to [init] %914 : $*Optional<UIBarButtonItem>, loc "AddClassesController.swift":133:9, scope 71 // id: %917
  2091. switch_enum_addr %914 : $*Optional<UIBarButtonItem>, case #Optional.none!enumelt: bb102, default bb103, loc "AddClassesController.swift":133:9, scope 71 // id: %918
  2092.  
  2093. bb102: // Preds: bb101
  2094. %919 = string_literal utf8 "AddClassesController.swift", loc "AddClassesController.swift":133:9, scope 71 // user: %924
  2095. %920 = integer_literal $Builtin.Word, 26, loc "AddClassesController.swift":133:9, scope 71 // user: %924
  2096. %921 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":133:9, scope 71 // user: %924
  2097. %922 = integer_literal $Builtin.Word, 133, loc "AddClassesController.swift":133:9, scope 71 // user: %924
  2098. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  2099. %923 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":133:9, scope 71 // user: %924
  2100. %924 = apply %923(%919, %920, %921, %922) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":133:9, scope 71
  2101. unreachable , loc "AddClassesController.swift":133:9, scope 71 // id: %925
  2102.  
  2103. bb103: // Preds: bb101
  2104. %926 = unchecked_take_enum_data_addr %914 : $*Optional<UIBarButtonItem>, #Optional.some!enumelt.1, loc "AddClassesController.swift":133:9, scope 71 // users: %938, %927
  2105. %927 = load [copy] %926 : $*UIBarButtonItem, loc "AddClassesController.swift":133:9, scope 71 // users: %937, %928
  2106. %928 = upcast %927 : $UIBarButtonItem to $UIBarItem, loc "AddClassesController.swift":133:9, scope 71 // users: %936, %933
  2107. // function_ref Bool.init(_builtinBooleanLiteral : Builtin.Int1) -> Bool
  2108. %929 = function_ref @_TFSbCfT22_builtinBooleanLiteralBi1__Sb : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":133:34, scope 71 // user: %932
  2109. %930 = metatype $@thin Bool.Type, loc "AddClassesController.swift":133:34, scope 71 // user: %932
  2110. %931 = integer_literal $Builtin.Int1, 0, loc "AddClassesController.swift":133:34, scope 71 // user: %932
  2111. %932 = apply %929(%931, %930) : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":133:34, scope 71 // user: %935
  2112. %933 = class_method [volatile] %928 : $UIBarItem, #UIBarItem.enabled!setter.1.foreign : (UIBarItem) -> (Bool) -> () , $@convention(objc_method) (ObjCBool, UIBarItem) -> (), loc "AddClassesController.swift":133:32, scope 71 // user: %936
  2113. // function_ref _convertBoolToObjCBool(Bool) -> ObjCBool
  2114. %934 = function_ref @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool, loc "AddClassesController.swift":133:32, scope 71 // user: %935
  2115. %935 = apply %934(%932) : $@convention(thin) (Bool) -> ObjCBool, loc "AddClassesController.swift":133:32, scope 71 // user: %936
  2116. %936 = apply %933(%935, %928) : $@convention(objc_method) (ObjCBool, UIBarItem) -> (), loc "AddClassesController.swift":133:32, scope 71
  2117. destroy_value %927 : $UIBarButtonItem, loc "AddClassesController.swift":133:34, scope 71 // id: %937
  2118. destroy_addr %926 : $*UIBarButtonItem, loc "AddClassesController.swift":133:34, scope 71 // id: %938
  2119. dealloc_stack %914 : $*Optional<UIBarButtonItem>, loc "AddClassesController.swift":133:34, scope 71 // id: %939
  2120. // function_ref DispatchQueue.async(group : DispatchGroup?, qos : DispatchQoS, flags : DispatchWorkItemFlags, execute : @convention(block) () -> ()) -> ()
  2121. %940 = function_ref @_TFE8DispatchCSo13DispatchQueue5asyncfT5groupGSqCSo13DispatchGroup_3qosVS_11DispatchQoS5flagsVS_21DispatchWorkItemFlags7executebT_T__T_ : $@convention(method) (@owned Optional<DispatchGroup>, DispatchQoS, DispatchWorkItemFlags, @owned @convention(block) () -> (), @guaranteed DispatchQueue) -> (), loc "AddClassesController.swift":136:28, scope 71 // user: %959
  2122. %941 = metatype $@thick DispatchQueue.Type, loc "AddClassesController.swift":136:9, scope 71 // user: %943
  2123. // function_ref static DispatchQueue.main.getter
  2124. %942 = function_ref @_TZFE8DispatchCSo13DispatchQueueg4mainS0_ : $@convention(method) (@thick DispatchQueue.Type) -> @owned DispatchQueue, loc "AddClassesController.swift":136:23, scope 71 // user: %943
  2125. %943 = apply %942(%941) : $@convention(method) (@thick DispatchQueue.Type) -> @owned DispatchQueue, loc "AddClassesController.swift":136:23, scope 71 // users: %960, %959
  2126. // function_ref AddClassesController.(addNewClass(Any) -> ()).(closure #1)
  2127. %944 = function_ref @_TFFC3gpa20AddClassesController11addNewClassFP_T_U_FT_T_ : $@convention(thin) (@owned AddClassesController) -> (), loc "AddClassesController.swift":136:34, scope 71 // user: %946
  2128. %945 = copy_value %1 : $AddClassesController, loc "AddClassesController.swift":136:34, scope 71 // user: %946
  2129. %946 = partial_apply %944(%945) : $@convention(thin) (@owned AddClassesController) -> (), loc "AddClassesController.swift":136:34, scope 71 // users: %962, %949
  2130. %947 = alloc_stack $@block_storage @callee_owned () -> (), loc "AddClassesController.swift":136:34, scope 71 // users: %961, %951, %948
  2131. %948 = project_block_storage %947 : $*@block_storage @callee_owned () -> (), loc "AddClassesController.swift":136:34, scope 71 // user: %949
  2132. store %946 to [init] %948 : $*@callee_owned () -> (), loc "AddClassesController.swift":136:34, scope 71 // id: %949
  2133. // function_ref thunk
  2134. %950 = function_ref @_TTRXFo___XFdCb___ : $@convention(c) (@inout_aliasable @block_storage @callee_owned () -> ()) -> (), loc "AddClassesController.swift":136:34, scope 71 // user: %951
  2135. %951 = init_block_storage_header %947 : $*@block_storage @callee_owned () -> (), invoke %950 : $@convention(c) (@inout_aliasable @block_storage @callee_owned () -> ()) -> (), type $@convention(block) () -> (), loc "AddClassesController.swift":136:34, scope 71 // user: %952
  2136. %952 = copy_block %951 : $@convention(block) () -> (), loc "AddClassesController.swift":136:34, scope 71 // user: %959
  2137. // function_ref DispatchQueue.(async(group : DispatchGroup?, qos : DispatchQoS, flags : DispatchWorkItemFlags, execute : @convention(block) () -> ()) -> ()).(default argument 0)
  2138. %953 = function_ref @_TIFE8DispatchCSo13DispatchQueue5asyncFT5groupGSqCSo13DispatchGroup_3qosVS_11DispatchQoS5flagsVS_21DispatchWorkItemFlags7executebT_T__T_A_ : $@convention(thin) () -> @owned Optional<DispatchGroup>, loc "AddClassesController.swift":136:34, scope 71 // user: %954
  2139. %954 = apply %953() : $@convention(thin) () -> @owned Optional<DispatchGroup>, loc "AddClassesController.swift":136:34, scope 71 // user: %959
  2140. // function_ref DispatchQueue.(async(group : DispatchGroup?, qos : DispatchQoS, flags : DispatchWorkItemFlags, execute : @convention(block) () -> ()) -> ()).(default argument 1)
  2141. %955 = function_ref @_TIFE8DispatchCSo13DispatchQueue5asyncFT5groupGSqCSo13DispatchGroup_3qosVS_11DispatchQoS5flagsVS_21DispatchWorkItemFlags7executebT_T__T_A0_ : $@convention(thin) () -> DispatchQoS, loc "AddClassesController.swift":136:34, scope 71 // user: %956
  2142. %956 = apply %955() : $@convention(thin) () -> DispatchQoS, loc "AddClassesController.swift":136:34, scope 71 // user: %959
  2143. // function_ref DispatchQueue.(async(group : DispatchGroup?, qos : DispatchQoS, flags : DispatchWorkItemFlags, execute : @convention(block) () -> ()) -> ()).(default argument 2)
  2144. %957 = function_ref @_TIFE8DispatchCSo13DispatchQueue5asyncFT5groupGSqCSo13DispatchGroup_3qosVS_11DispatchQoS5flagsVS_21DispatchWorkItemFlags7executebT_T__T_A1_ : $@convention(thin) () -> DispatchWorkItemFlags, loc "AddClassesController.swift":136:34, scope 71 // user: %958
  2145. %958 = apply %957() : $@convention(thin) () -> DispatchWorkItemFlags, loc "AddClassesController.swift":136:34, scope 71 // user: %959
  2146. %959 = apply %940(%954, %956, %958, %952, %943) : $@convention(method) (@owned Optional<DispatchGroup>, DispatchQoS, DispatchWorkItemFlags, @owned @convention(block) () -> (), @guaranteed DispatchQueue) -> (), loc "AddClassesController.swift":141:9, scope 71
  2147. destroy_value %943 : $DispatchQueue, loc "AddClassesController.swift":141:9, scope 71 // id: %960
  2148. dealloc_stack %947 : $*@block_storage @callee_owned () -> (), loc "AddClassesController.swift":141:9, scope 71 // id: %961
  2149. destroy_value %946 : $@callee_owned () -> (), loc "AddClassesController.swift":141:9, scope 71 // id: %962
  2150. destroy_value %376 : ${ var Double }, loc "AddClassesController.swift":142:5, scope 71 // id: %963
  2151. destroy_value %352 : $String, loc "AddClassesController.swift":142:5, scope 71 // id: %964
  2152. destroy_value %54 : ${ var Double }, loc "AddClassesController.swift":142:5, scope 71 // id: %965
  2153. destroy_value %39 : $String, loc "AddClassesController.swift":142:5, scope 71 // id: %966
  2154. br bb113, loc "AddClassesController.swift":142:5, scope 71 // id: %967
  2155.  
  2156. bb104: // Preds: bb46
  2157. %968 = alloc_stack $Optional<UILabel>, loc "AddClassesController.swift":92:13, scope 90 // users: %993, %980, %972, %971
  2158. %969 = class_method %1 : $AddClassesController, #AddClassesController.warningLabel!getter.1 : (AddClassesController) -> () -> UILabel! , $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UILabel>, loc "AddClassesController.swift":92:13, scope 90 // user: %970
  2159. %970 = apply %969(%1) : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UILabel>, loc "AddClassesController.swift":92:13, scope 90 // user: %971
  2160. store %970 to [init] %968 : $*Optional<UILabel>, loc "AddClassesController.swift":92:13, scope 90 // id: %971
  2161. switch_enum_addr %968 : $*Optional<UILabel>, case #Optional.none!enumelt: bb105, default bb106, loc "AddClassesController.swift":92:13, scope 90 // id: %972
  2162.  
  2163. bb105: // Preds: bb104
  2164. %973 = string_literal utf8 "AddClassesController.swift", loc "AddClassesController.swift":92:13, scope 90 // user: %978
  2165. %974 = integer_literal $Builtin.Word, 26, loc "AddClassesController.swift":92:13, scope 90 // user: %978
  2166. %975 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":92:13, scope 90 // user: %978
  2167. %976 = integer_literal $Builtin.Word, 92, loc "AddClassesController.swift":92:13, scope 90 // user: %978
  2168. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  2169. %977 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":92:13, scope 90 // user: %978
  2170. %978 = apply %977(%973, %974, %975, %976) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":92:13, scope 90
  2171. unreachable , loc "AddClassesController.swift":92:13, scope 90 // id: %979
  2172.  
  2173. bb106: // Preds: bb104
  2174. %980 = unchecked_take_enum_data_addr %968 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "AddClassesController.swift":92:13, scope 90 // users: %992, %981
  2175. %981 = load [copy] %980 : $*UILabel, loc "AddClassesController.swift":92:13, scope 90 // users: %991, %982
  2176. %982 = upcast %981 : $UILabel to $UIView, loc "AddClassesController.swift":92:13, scope 90 // users: %990, %987
  2177. // function_ref Bool.init(_builtinBooleanLiteral : Builtin.Int1) -> Bool
  2178. %983 = function_ref @_TFSbCfT22_builtinBooleanLiteralBi1__Sb : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":92:37, scope 90 // user: %986
  2179. %984 = metatype $@thin Bool.Type, loc "AddClassesController.swift":92:37, scope 90 // user: %986
  2180. %985 = integer_literal $Builtin.Int1, 0, loc "AddClassesController.swift":92:37, scope 90 // user: %986
  2181. %986 = apply %983(%985, %984) : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":92:37, scope 90 // user: %989
  2182. %987 = class_method [volatile] %982 : $UIView, #UIView.hidden!setter.1.foreign : (UIView) -> (Bool) -> () , $@convention(objc_method) (ObjCBool, UIView) -> (), loc "AddClassesController.swift":92:35, scope 90 // user: %990
  2183. // function_ref _convertBoolToObjCBool(Bool) -> ObjCBool
  2184. %988 = function_ref @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool, loc "AddClassesController.swift":92:35, scope 90 // user: %989
  2185. %989 = apply %988(%986) : $@convention(thin) (Bool) -> ObjCBool, loc "AddClassesController.swift":92:35, scope 90 // user: %990
  2186. %990 = apply %987(%989, %982) : $@convention(objc_method) (ObjCBool, UIView) -> (), loc "AddClassesController.swift":92:35, scope 90
  2187. destroy_value %981 : $UILabel, loc "AddClassesController.swift":92:37, scope 90 // id: %991
  2188. destroy_addr %980 : $*UILabel, loc "AddClassesController.swift":92:37, scope 90 // id: %992
  2189. dealloc_stack %968 : $*Optional<UILabel>, loc "AddClassesController.swift":92:37, scope 90 // id: %993
  2190. // function_ref print([Any], separator : String, terminator : String) -> ()
  2191. %994 = function_ref @_TFs5printFTGSaP__9separatorSS10terminatorSS_T_ : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> (), loc "AddClassesController.swift":93:13, scope 90 // user: %1013
  2192. %995 = integer_literal $Builtin.Word, 1, loc "AddClassesController.swift":93:19, scope 90 // user: %997
  2193. // function_ref _allocateUninitializedArray<A> (Builtin.Word) -> ([A], Builtin.RawPointer)
  2194. %996 = function_ref @_TFs27_allocateUninitializedArrayurFBwTGSax_Bp_ : $@convention(thin) <τ_0_0> (Builtin.Word) -> (@owned Array<τ_0_0>, Builtin.RawPointer), loc "AddClassesController.swift":93:19, scope 90 // user: %997
  2195. %997 = apply %996<Any>(%995) : $@convention(thin) <τ_0_0> (Builtin.Word) -> (@owned Array<τ_0_0>, Builtin.RawPointer), loc "AddClassesController.swift":93:19, scope 90 // users: %999, %998
  2196. %998 = tuple_extract %997 : $(Array<Any>, Builtin.RawPointer), 0, loc "AddClassesController.swift":93:19, scope 90 // user: %1013
  2197. %999 = tuple_extract %997 : $(Array<Any>, Builtin.RawPointer), 1, loc "AddClassesController.swift":93:19, scope 90 // user: %1000
  2198. %1000 = pointer_to_address %999 : $Builtin.RawPointer to [strict] $*Any, loc "AddClassesController.swift":93:19, scope 90 // user: %1001
  2199. %1001 = init_existential_addr %1000 : $*Any, $String, loc "AddClassesController.swift":93:19, scope 90 // user: %1008
  2200. %1002 = string_literal utf8 "Malformed current grade.", loc "AddClassesController.swift":93:19, scope 90 // user: %1007
  2201. %1003 = integer_literal $Builtin.Word, 24, loc "AddClassesController.swift":93:19, scope 90 // user: %1007
  2202. %1004 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":93:19, scope 90 // user: %1007
  2203. %1005 = metatype $@thin String.Type, loc "AddClassesController.swift":93:19, scope 90 // user: %1007
  2204. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  2205. %1006 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "AddClassesController.swift":93:19, scope 90 // user: %1007
  2206. %1007 = apply %1006(%1002, %1003, %1004, %1005) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "AddClassesController.swift":93:19, scope 90 // user: %1008
  2207. store %1007 to [init] %1001 : $*String, loc "AddClassesController.swift":93:19, scope 90 // id: %1008
  2208. // function_ref (print([Any], separator : String, terminator : String) -> ()).(default argument 1)
  2209. %1009 = function_ref @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A0_ : $@convention(thin) () -> @owned String, loc "AddClassesController.swift":93:19, scope 90 // user: %1010
  2210. %1010 = apply %1009() : $@convention(thin) () -> @owned String, loc "AddClassesController.swift":93:19, scope 90 // user: %1013
  2211. // function_ref (print([Any], separator : String, terminator : String) -> ()).(default argument 2)
  2212. %1011 = function_ref @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A1_ : $@convention(thin) () -> @owned String, loc "AddClassesController.swift":93:19, scope 90 // user: %1012
  2213. %1012 = apply %1011() : $@convention(thin) () -> @owned String, loc "AddClassesController.swift":93:19, scope 90 // user: %1013
  2214. %1013 = apply %994(%998, %1010, %1012) : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> (), loc "AddClassesController.swift":93:45, scope 90
  2215. destroy_value %352 : $String, loc "AddClassesController.swift":142:5, scope 90 // id: %1014
  2216. destroy_value %54 : ${ var Double }, loc "AddClassesController.swift":142:5, scope 90 // id: %1015
  2217. destroy_value %39 : $String, loc "AddClassesController.swift":142:5, scope 90 // id: %1016
  2218. br bb113, loc "AddClassesController.swift":94:13, scope 90 // id: %1017
  2219.  
  2220. bb107: // Preds: bb45 bb43
  2221. %1018 = alloc_stack $Optional<UILabel>, loc "AddClassesController.swift":87:13, scope 91 // users: %1043, %1030, %1022, %1021
  2222. %1019 = class_method %1 : $AddClassesController, #AddClassesController.warningLabel!getter.1 : (AddClassesController) -> () -> UILabel! , $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UILabel>, loc "AddClassesController.swift":87:13, scope 91 // user: %1020
  2223. %1020 = apply %1019(%1) : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UILabel>, loc "AddClassesController.swift":87:13, scope 91 // user: %1021
  2224. store %1020 to [init] %1018 : $*Optional<UILabel>, loc "AddClassesController.swift":87:13, scope 91 // id: %1021
  2225. switch_enum_addr %1018 : $*Optional<UILabel>, case #Optional.none!enumelt: bb108, default bb109, loc "AddClassesController.swift":87:13, scope 91 // id: %1022
  2226.  
  2227. bb108: // Preds: bb107
  2228. %1023 = string_literal utf8 "AddClassesController.swift", loc "AddClassesController.swift":87:13, scope 91 // user: %1028
  2229. %1024 = integer_literal $Builtin.Word, 26, loc "AddClassesController.swift":87:13, scope 91 // user: %1028
  2230. %1025 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":87:13, scope 91 // user: %1028
  2231. %1026 = integer_literal $Builtin.Word, 87, loc "AddClassesController.swift":87:13, scope 91 // user: %1028
  2232. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  2233. %1027 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":87:13, scope 91 // user: %1028
  2234. %1028 = apply %1027(%1023, %1024, %1025, %1026) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":87:13, scope 91
  2235. unreachable , loc "AddClassesController.swift":87:13, scope 91 // id: %1029
  2236.  
  2237. bb109: // Preds: bb107
  2238. %1030 = unchecked_take_enum_data_addr %1018 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "AddClassesController.swift":87:13, scope 91 // users: %1042, %1031
  2239. %1031 = load [copy] %1030 : $*UILabel, loc "AddClassesController.swift":87:13, scope 91 // users: %1041, %1032
  2240. %1032 = upcast %1031 : $UILabel to $UIView, loc "AddClassesController.swift":87:13, scope 91 // users: %1040, %1037
  2241. // function_ref Bool.init(_builtinBooleanLiteral : Builtin.Int1) -> Bool
  2242. %1033 = function_ref @_TFSbCfT22_builtinBooleanLiteralBi1__Sb : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":87:37, scope 91 // user: %1036
  2243. %1034 = metatype $@thin Bool.Type, loc "AddClassesController.swift":87:37, scope 91 // user: %1036
  2244. %1035 = integer_literal $Builtin.Int1, 0, loc "AddClassesController.swift":87:37, scope 91 // user: %1036
  2245. %1036 = apply %1033(%1035, %1034) : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":87:37, scope 91 // user: %1039
  2246. %1037 = class_method [volatile] %1032 : $UIView, #UIView.hidden!setter.1.foreign : (UIView) -> (Bool) -> () , $@convention(objc_method) (ObjCBool, UIView) -> (), loc "AddClassesController.swift":87:35, scope 91 // user: %1040
  2247. // function_ref _convertBoolToObjCBool(Bool) -> ObjCBool
  2248. %1038 = function_ref @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool, loc "AddClassesController.swift":87:35, scope 91 // user: %1039
  2249. %1039 = apply %1038(%1036) : $@convention(thin) (Bool) -> ObjCBool, loc "AddClassesController.swift":87:35, scope 91 // user: %1040
  2250. %1040 = apply %1037(%1039, %1032) : $@convention(objc_method) (ObjCBool, UIView) -> (), loc "AddClassesController.swift":87:35, scope 91
  2251. destroy_value %1031 : $UILabel, loc "AddClassesController.swift":87:37, scope 91 // id: %1041
  2252. destroy_addr %1030 : $*UILabel, loc "AddClassesController.swift":87:37, scope 91 // id: %1042
  2253. dealloc_stack %1018 : $*Optional<UILabel>, loc "AddClassesController.swift":87:37, scope 91 // id: %1043
  2254. // function_ref print([Any], separator : String, terminator : String) -> ()
  2255. %1044 = function_ref @_TFs5printFTGSaP__9separatorSS10terminatorSS_T_ : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> (), loc "AddClassesController.swift":88:13, scope 91 // user: %1063
  2256. %1045 = integer_literal $Builtin.Word, 1, loc "AddClassesController.swift":88:19, scope 91 // user: %1047
  2257. // function_ref _allocateUninitializedArray<A> (Builtin.Word) -> ([A], Builtin.RawPointer)
  2258. %1046 = function_ref @_TFs27_allocateUninitializedArrayurFBwTGSax_Bp_ : $@convention(thin) <τ_0_0> (Builtin.Word) -> (@owned Array<τ_0_0>, Builtin.RawPointer), loc "AddClassesController.swift":88:19, scope 91 // user: %1047
  2259. %1047 = apply %1046<Any>(%1045) : $@convention(thin) <τ_0_0> (Builtin.Word) -> (@owned Array<τ_0_0>, Builtin.RawPointer), loc "AddClassesController.swift":88:19, scope 91 // users: %1049, %1048
  2260. %1048 = tuple_extract %1047 : $(Array<Any>, Builtin.RawPointer), 0, loc "AddClassesController.swift":88:19, scope 91 // user: %1063
  2261. %1049 = tuple_extract %1047 : $(Array<Any>, Builtin.RawPointer), 1, loc "AddClassesController.swift":88:19, scope 91 // user: %1050
  2262. %1050 = pointer_to_address %1049 : $Builtin.RawPointer to [strict] $*Any, loc "AddClassesController.swift":88:19, scope 91 // user: %1051
  2263. %1051 = init_existential_addr %1050 : $*Any, $String, loc "AddClassesController.swift":88:19, scope 91 // user: %1058
  2264. %1052 = string_literal utf8 "No current grade specified.", loc "AddClassesController.swift":88:19, scope 91 // user: %1057
  2265. %1053 = integer_literal $Builtin.Word, 27, loc "AddClassesController.swift":88:19, scope 91 // user: %1057
  2266. %1054 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":88:19, scope 91 // user: %1057
  2267. %1055 = metatype $@thin String.Type, loc "AddClassesController.swift":88:19, scope 91 // user: %1057
  2268. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  2269. %1056 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "AddClassesController.swift":88:19, scope 91 // user: %1057
  2270. %1057 = apply %1056(%1052, %1053, %1054, %1055) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "AddClassesController.swift":88:19, scope 91 // user: %1058
  2271. store %1057 to [init] %1051 : $*String, loc "AddClassesController.swift":88:19, scope 91 // id: %1058
  2272. // function_ref (print([Any], separator : String, terminator : String) -> ()).(default argument 1)
  2273. %1059 = function_ref @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A0_ : $@convention(thin) () -> @owned String, loc "AddClassesController.swift":88:19, scope 91 // user: %1060
  2274. %1060 = apply %1059() : $@convention(thin) () -> @owned String, loc "AddClassesController.swift":88:19, scope 91 // user: %1063
  2275. // function_ref (print([Any], separator : String, terminator : String) -> ()).(default argument 2)
  2276. %1061 = function_ref @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A1_ : $@convention(thin) () -> @owned String, loc "AddClassesController.swift":88:19, scope 91 // user: %1062
  2277. %1062 = apply %1061() : $@convention(thin) () -> @owned String, loc "AddClassesController.swift":88:19, scope 91 // user: %1063
  2278. %1063 = apply %1044(%1048, %1060, %1062) : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> (), loc "AddClassesController.swift":88:48, scope 91
  2279. destroy_value %54 : ${ var Double }, loc "AddClassesController.swift":142:5, scope 91 // id: %1064
  2280. destroy_value %39 : $String, loc "AddClassesController.swift":142:5, scope 91 // id: %1065
  2281. br bb113, loc "AddClassesController.swift":89:13, scope 91 // id: %1066
  2282.  
  2283. bb110: // Preds: bb8 bb6
  2284. %1067 = alloc_stack $Optional<UILabel>, loc "AddClassesController.swift":54:13, scope 92 // users: %1092, %1079, %1071, %1070
  2285. %1068 = class_method %1 : $AddClassesController, #AddClassesController.warningLabel!getter.1 : (AddClassesController) -> () -> UILabel! , $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UILabel>, loc "AddClassesController.swift":54:13, scope 92 // user: %1069
  2286. %1069 = apply %1068(%1) : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UILabel>, loc "AddClassesController.swift":54:13, scope 92 // user: %1070
  2287. store %1069 to [init] %1067 : $*Optional<UILabel>, loc "AddClassesController.swift":54:13, scope 92 // id: %1070
  2288. switch_enum_addr %1067 : $*Optional<UILabel>, case #Optional.none!enumelt: bb111, default bb112, loc "AddClassesController.swift":54:13, scope 92 // id: %1071
  2289.  
  2290. bb111: // Preds: bb110
  2291. %1072 = string_literal utf8 "AddClassesController.swift", loc "AddClassesController.swift":54:13, scope 92 // user: %1077
  2292. %1073 = integer_literal $Builtin.Word, 26, loc "AddClassesController.swift":54:13, scope 92 // user: %1077
  2293. %1074 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":54:13, scope 92 // user: %1077
  2294. %1075 = integer_literal $Builtin.Word, 54, loc "AddClassesController.swift":54:13, scope 92 // user: %1077
  2295. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  2296. %1076 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":54:13, scope 92 // user: %1077
  2297. %1077 = apply %1076(%1072, %1073, %1074, %1075) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":54:13, scope 92
  2298. unreachable , loc "AddClassesController.swift":54:13, scope 92 // id: %1078
  2299.  
  2300. bb112: // Preds: bb110
  2301. %1079 = unchecked_take_enum_data_addr %1067 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "AddClassesController.swift":54:13, scope 92 // users: %1091, %1080
  2302. %1080 = load [copy] %1079 : $*UILabel, loc "AddClassesController.swift":54:13, scope 92 // users: %1090, %1081
  2303. %1081 = upcast %1080 : $UILabel to $UIView, loc "AddClassesController.swift":54:13, scope 92 // users: %1089, %1086
  2304. // function_ref Bool.init(_builtinBooleanLiteral : Builtin.Int1) -> Bool
  2305. %1082 = function_ref @_TFSbCfT22_builtinBooleanLiteralBi1__Sb : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":54:37, scope 92 // user: %1085
  2306. %1083 = metatype $@thin Bool.Type, loc "AddClassesController.swift":54:37, scope 92 // user: %1085
  2307. %1084 = integer_literal $Builtin.Int1, 0, loc "AddClassesController.swift":54:37, scope 92 // user: %1085
  2308. %1085 = apply %1082(%1084, %1083) : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":54:37, scope 92 // user: %1088
  2309. %1086 = class_method [volatile] %1081 : $UIView, #UIView.hidden!setter.1.foreign : (UIView) -> (Bool) -> () , $@convention(objc_method) (ObjCBool, UIView) -> (), loc "AddClassesController.swift":54:35, scope 92 // user: %1089
  2310. // function_ref _convertBoolToObjCBool(Bool) -> ObjCBool
  2311. %1087 = function_ref @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool, loc "AddClassesController.swift":54:35, scope 92 // user: %1088
  2312. %1088 = apply %1087(%1085) : $@convention(thin) (Bool) -> ObjCBool, loc "AddClassesController.swift":54:35, scope 92 // user: %1089
  2313. %1089 = apply %1086(%1088, %1081) : $@convention(objc_method) (ObjCBool, UIView) -> (), loc "AddClassesController.swift":54:35, scope 92
  2314. destroy_value %1080 : $UILabel, loc "AddClassesController.swift":54:37, scope 92 // id: %1090
  2315. destroy_addr %1079 : $*UILabel, loc "AddClassesController.swift":54:37, scope 92 // id: %1091
  2316. dealloc_stack %1067 : $*Optional<UILabel>, loc "AddClassesController.swift":54:37, scope 92 // id: %1092
  2317. // function_ref print([Any], separator : String, terminator : String) -> ()
  2318. %1093 = function_ref @_TFs5printFTGSaP__9separatorSS10terminatorSS_T_ : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> (), loc "AddClassesController.swift":55:13, scope 92 // user: %1112
  2319. %1094 = integer_literal $Builtin.Word, 1, loc "AddClassesController.swift":55:19, scope 92 // user: %1096
  2320. // function_ref _allocateUninitializedArray<A> (Builtin.Word) -> ([A], Builtin.RawPointer)
  2321. %1095 = function_ref @_TFs27_allocateUninitializedArrayurFBwTGSax_Bp_ : $@convention(thin) <τ_0_0> (Builtin.Word) -> (@owned Array<τ_0_0>, Builtin.RawPointer), loc "AddClassesController.swift":55:19, scope 92 // user: %1096
  2322. %1096 = apply %1095<Any>(%1094) : $@convention(thin) <τ_0_0> (Builtin.Word) -> (@owned Array<τ_0_0>, Builtin.RawPointer), loc "AddClassesController.swift":55:19, scope 92 // users: %1098, %1097
  2323. %1097 = tuple_extract %1096 : $(Array<Any>, Builtin.RawPointer), 0, loc "AddClassesController.swift":55:19, scope 92 // user: %1112
  2324. %1098 = tuple_extract %1096 : $(Array<Any>, Builtin.RawPointer), 1, loc "AddClassesController.swift":55:19, scope 92 // user: %1099
  2325. %1099 = pointer_to_address %1098 : $Builtin.RawPointer to [strict] $*Any, loc "AddClassesController.swift":55:19, scope 92 // user: %1100
  2326. %1100 = init_existential_addr %1099 : $*Any, $String, loc "AddClassesController.swift":55:19, scope 92 // user: %1107
  2327. %1101 = string_literal utf8 "No class name specified.", loc "AddClassesController.swift":55:19, scope 92 // user: %1106
  2328. %1102 = integer_literal $Builtin.Word, 24, loc "AddClassesController.swift":55:19, scope 92 // user: %1106
  2329. %1103 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":55:19, scope 92 // user: %1106
  2330. %1104 = metatype $@thin String.Type, loc "AddClassesController.swift":55:19, scope 92 // user: %1106
  2331. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  2332. %1105 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "AddClassesController.swift":55:19, scope 92 // user: %1106
  2333. %1106 = apply %1105(%1101, %1102, %1103, %1104) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "AddClassesController.swift":55:19, scope 92 // user: %1107
  2334. store %1106 to [init] %1100 : $*String, loc "AddClassesController.swift":55:19, scope 92 // id: %1107
  2335. // function_ref (print([Any], separator : String, terminator : String) -> ()).(default argument 1)
  2336. %1108 = function_ref @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A0_ : $@convention(thin) () -> @owned String, loc "AddClassesController.swift":55:19, scope 92 // user: %1109
  2337. %1109 = apply %1108() : $@convention(thin) () -> @owned String, loc "AddClassesController.swift":55:19, scope 92 // user: %1112
  2338. // function_ref (print([Any], separator : String, terminator : String) -> ()).(default argument 2)
  2339. %1110 = function_ref @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A1_ : $@convention(thin) () -> @owned String, loc "AddClassesController.swift":55:19, scope 92 // user: %1111
  2340. %1111 = apply %1110() : $@convention(thin) () -> @owned String, loc "AddClassesController.swift":55:19, scope 92 // user: %1112
  2341. %1112 = apply %1093(%1097, %1109, %1111) : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> (), loc "AddClassesController.swift":55:45, scope 92
  2342. br bb113, loc "AddClassesController.swift":56:13, scope 92 // id: %1113
  2343.  
  2344. bb113: // Preds: bb103 bb68 bb71 bb106 bb109 bb33 bb36 bb112
  2345. destroy_addr %0 : $*Any, loc "AddClassesController.swift":142:5, scope 71 // id: %1114
  2346. %1115 = tuple (), loc "AddClassesController.swift":142:5, scope 71 // user: %1116
  2347. return %1115 : $(), loc "AddClassesController.swift":142:5, scope 71 // id: %1116
  2348. } // end sil function '_TFC3gpa20AddClassesController11addNewClassfP_T_'
  2349.  
  2350.  
  2351. // print([Any], separator : String, terminator : String) -> ()
  2352. sil [noinline] [_semantics "stdlib_binary_only"] @_TFs5printFTGSaP__9separatorSS10terminatorSS_T_ : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> ()
  2353.  
  2354.  
  2355. // _allocateUninitializedArray<A> (Builtin.Word) -> ([A], Builtin.RawPointer)
  2356. sil [fragile] [always_inline] @_TFs27_allocateUninitializedArrayurFBwTGSax_Bp_ : $@convention(thin) <τ_0_0> (Builtin.Word) -> (@owned Array<τ_0_0>, Builtin.RawPointer)
  2357.  
  2358.  
  2359. // String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  2360. sil [readonly] [_semantics "string.makeUTF8"] @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String
  2361.  
  2362.  
  2363. // (print([Any], separator : String, terminator : String) -> ()).(default argument 1)
  2364. sil [noinline] [_semantics "stdlib_binary_only"] @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A0_ : $@convention(thin) () -> @owned String
  2365.  
  2366.  
  2367. // (print([Any], separator : String, terminator : String) -> ()).(default argument 2)
  2368. sil [noinline] [_semantics "stdlib_binary_only"] @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A1_ : $@convention(thin) () -> @owned String
  2369.  
  2370.  
  2371. // static String._unconditionallyBridgeFromObjectiveC(NSString?) -> String
  2372. sil @_TZFE10FoundationSS36_unconditionallyBridgeFromObjectiveCfGSqCSo8NSString_SS : $@convention(method) (@owned Optional<NSString>, @thin String.Type) -> @owned String
  2373.  
  2374.  
  2375. // Bool._getBuiltinLogicValue() -> Builtin.Int1
  2376. sil [transparent] [fragile] @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1
  2377.  
  2378.  
  2379. // static Bool.! prefix(Bool) -> Bool
  2380. sil [transparent] [fragile] @_TZFSbop1nfSbSb : $@convention(method) (Bool, @thin Bool.Type) -> Bool
  2381.  
  2382.  
  2383. // String.isEmpty.getter
  2384. sil @_TFSSg7isEmptySb : $@convention(method) (@guaranteed String) -> Bool
  2385.  
  2386.  
  2387. // Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
  2388. sil [transparent] [fragile] @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double
  2389.  
  2390.  
  2391. // ~= infix<A where ...> (A, A) -> Bool
  2392. sil [transparent] [fragile] @_TFsoi2teuRxs9EquatablerFTxx_Sb : $@convention(thin) <τ_0_0 where τ_0_0 : Equatable> (@in τ_0_0, @in τ_0_0) -> Bool
  2393.  
  2394.  
  2395. // Int.init(_builtinIntegerLiteral : Builtin.Int2048) -> Int
  2396. sil [transparent] [fragile] @_TFSiCfT22_builtinIntegerLiteralBi2048__Si : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int
  2397.  
  2398.  
  2399. // Double.init(_builtinFloatLiteral : Builtin.Float64) -> Double
  2400. sil [transparent] [fragile] @_TFSdCfT20_builtinFloatLiteralBf64__Sd : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double
  2401.  
  2402.  
  2403. // Double.init(String) -> Double?
  2404. sil @_TFSdCfSSGSqSd_ : $@convention(method) (@owned String, @thin Double.Type) -> Optional<Double>
  2405.  
  2406.  
  2407. // Int.init(String, radix : Int) -> Int?
  2408. sil @_TFSiCfTSS5radixSi_GSqSi_ : $@convention(method) (@owned String, Int, @thin Int.Type) -> Optional<Int>
  2409.  
  2410.  
  2411. // Int.(init(String, radix : Int) -> Int?).(default argument 1)
  2412. sil @_TIFSicFTSS5radixSi_GSqSi_A0_ : $@convention(thin) () -> Int
  2413.  
  2414.  
  2415. // Array.append(A) -> ()
  2416. sil @_TFSa6appendfxT_ : $@convention(method) <τ_0_0> (@in τ_0_0, @inout Array<τ_0_0>) -> ()
  2417.  
  2418.  
  2419. // Information.classesAndGrades.unsafeMutableAddressor
  2420. sil hidden_external [global_init] @_TFC3gpa11Informationau16classesAndGradesGSaS0__ : $@convention(thin) () -> Builtin.RawPointer
  2421.  
  2422.  
  2423. // Information.__allocating_init(String, grade : Int, multiplier : Double, credits : Double) -> Information
  2424. sil hidden_external @_TFC3gpa11InformationCfTSS5gradeSi10multiplierSd7creditsSd_S0_ : $@convention(method) (@owned String, Int, Double, Double, @thick Information.Type) -> @owned Information
  2425.  
  2426.  
  2427. // Information.keyValueStore.unsafeMutableAddressor
  2428. sil hidden_external [global_init] @_TFC3gpa11Informationau13keyValueStoreCSo25NSUbiquitousKeyValueStore : $@convention(thin) () -> Builtin.RawPointer
  2429.  
  2430.  
  2431. // Array._bridgeToObjectiveC() -> NSArray
  2432. sil [_semantics "convertToObjectiveC"] @_TFE10FoundationSa19_bridgeToObjectiveCfT_CSo7NSArray : $@convention(method) <τ_0_0> (@guaranteed Array<τ_0_0>) -> @owned NSArray
  2433.  
  2434.  
  2435. // static Data._unconditionallyBridgeFromObjectiveC(NSData?) -> Data
  2436. sil @_TZFV10Foundation4Data36_unconditionallyBridgeFromObjectiveCfGSqCSo6NSData_S0_ : $@convention(method) (@owned Optional<NSData>, @thin Data.Type) -> @owned Data
  2437.  
  2438.  
  2439. // Data._bridgeToObjectiveC() -> NSData
  2440. sil [_semantics "convertToObjectiveC"] @_TFV10Foundation4Data19_bridgeToObjectiveCfT_CSo6NSData : $@convention(method) (@guaranteed Data) -> @owned NSData
  2441.  
  2442.  
  2443. // String._bridgeToObjectiveC() -> NSString
  2444. sil [_semantics "convertToObjectiveC"] @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString
  2445.  
  2446.  
  2447. // DispatchQueue.async(group : DispatchGroup?, qos : DispatchQoS, flags : DispatchWorkItemFlags, execute : @convention(block) () -> ()) -> ()
  2448. sil @_TFE8DispatchCSo13DispatchQueue5asyncfT5groupGSqCSo13DispatchGroup_3qosVS_11DispatchQoS5flagsVS_21DispatchWorkItemFlags7executebT_T__T_ : $@convention(method) (@owned Optional<DispatchGroup>, DispatchQoS, DispatchWorkItemFlags, @owned @convention(block) () -> (), @guaranteed DispatchQueue) -> ()
  2449.  
  2450.  
  2451. // static DispatchQueue.main.getter
  2452. sil @_TZFE8DispatchCSo13DispatchQueueg4mainS0_ : $@convention(method) (@thick DispatchQueue.Type) -> @owned DispatchQueue
  2453.  
  2454. sil_scope 93 { loc "AddClassesController.swift":136:34 parent @_TFFC3gpa20AddClassesController11addNewClassFP_T_U_FT_T_ : $@convention(thin) (@owned AddClassesController) -> () }
  2455. sil_scope 94 { loc "AddClassesController.swift":141:9 parent 93 }
  2456.  
  2457. // AddClassesController.(addNewClass(Any) -> ()).(closure #1)
  2458. sil shared @_TFFC3gpa20AddClassesController11addNewClassFP_T_U_FT_T_ : $@convention(thin) (@owned AddClassesController) -> () {
  2459. // %0 // users: %57, %49, %38, %2, %1
  2460. bb0(%0 : $AddClassesController):
  2461. debug_value %0 : $AddClassesController, let, name "self", argno 1, loc "AddClassesController.swift":51:20, scope 93 // id: %1
  2462. %2 = copy_value %0 : $AddClassesController, loc "AddClassesController.swift":137:13, scope 94 // users: %31, %3
  2463. %3 = upcast %2 : $AddClassesController to $UIViewController, loc "AddClassesController.swift":137:13, scope 94 // users: %6, %5
  2464. %4 = alloc_stack $Optional<UIView>, loc "AddClassesController.swift":137:18, scope 94 // users: %30, %16, %8, %7
  2465. %5 = class_method [volatile] %3 : $UIViewController, #UIViewController.view!getter.1.foreign : (UIViewController) -> () -> UIView! , $@convention(objc_method) (UIViewController) -> @autoreleased Optional<UIView>, loc "AddClassesController.swift":137:18, scope 94 // user: %6
  2466. %6 = apply %5(%3) : $@convention(objc_method) (UIViewController) -> @autoreleased Optional<UIView>, loc "AddClassesController.swift":137:18, scope 94 // user: %7
  2467. store %6 to [init] %4 : $*Optional<UIView>, loc "AddClassesController.swift":137:18, scope 94 // id: %7
  2468. switch_enum_addr %4 : $*Optional<UIView>, case #Optional.none!enumelt: bb1, default bb2, loc "AddClassesController.swift":137:18, scope 94 // id: %8
  2469.  
  2470. bb1: // Preds: bb0
  2471. %9 = string_literal utf8 "AddClassesController.swift", loc "AddClassesController.swift":137:18, scope 94 // user: %14
  2472. %10 = integer_literal $Builtin.Word, 26, loc "AddClassesController.swift":137:18, scope 94 // user: %14
  2473. %11 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":137:18, scope 94 // user: %14
  2474. %12 = integer_literal $Builtin.Word, 137, loc "AddClassesController.swift":137:18, scope 94 // user: %14
  2475. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  2476. %13 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":137:18, scope 94 // user: %14
  2477. %14 = apply %13(%9, %10, %11, %12) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":137:18, scope 94
  2478. unreachable , loc "AddClassesController.swift":137:18, scope 94 // id: %15
  2479.  
  2480. bb2: // Preds: bb0
  2481. %16 = unchecked_take_enum_data_addr %4 : $*Optional<UIView>, #Optional.some!enumelt.1, loc "AddClassesController.swift":137:18, scope 94 // users: %29, %17
  2482. %17 = load [copy] %16 : $*UIView, loc "AddClassesController.swift":137:18, scope 94 // users: %28, %25, %18
  2483. %18 = class_method [volatile] %17 : $UIView, #UIView.endEditing!1.foreign : (UIView) -> (Bool) -> Bool , $@convention(objc_method) (ObjCBool, UIView) -> ObjCBool, loc "AddClassesController.swift":137:23, scope 94 // user: %25
  2484. // function_ref Bool.init(_builtinBooleanLiteral : Builtin.Int1) -> Bool
  2485. %19 = function_ref @_TFSbCfT22_builtinBooleanLiteralBi1__Sb : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":137:34, scope 94 // user: %22
  2486. %20 = metatype $@thin Bool.Type, loc "AddClassesController.swift":137:34, scope 94 // user: %22
  2487. %21 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":137:34, scope 94 // user: %22
  2488. %22 = apply %19(%21, %20) : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":137:34, scope 94 // user: %24
  2489. // function_ref _convertBoolToObjCBool(Bool) -> ObjCBool
  2490. %23 = function_ref @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool, loc "AddClassesController.swift":137:34, scope 94 // user: %24
  2491. %24 = apply %23(%22) : $@convention(thin) (Bool) -> ObjCBool, loc "AddClassesController.swift":137:34, scope 94 // user: %25
  2492. %25 = apply %18(%24, %17) : $@convention(objc_method) (ObjCBool, UIView) -> ObjCBool, loc "AddClassesController.swift":137:38, scope 94 // user: %27
  2493. // function_ref _convertObjCBoolToBool(ObjCBool) -> Bool
  2494. %26 = function_ref @_TF10ObjectiveC22_convertObjCBoolToBoolFVS_8ObjCBoolSb : $@convention(thin) (ObjCBool) -> Bool, loc "AddClassesController.swift":137:38, scope 94 // user: %27
  2495. %27 = apply %26(%25) : $@convention(thin) (ObjCBool) -> Bool, loc "AddClassesController.swift":137:38, scope 94
  2496. destroy_value %17 : $UIView, loc "AddClassesController.swift":137:38, scope 94 // id: %28
  2497. destroy_addr %16 : $*UIView, loc "AddClassesController.swift":137:38, scope 94 // id: %29
  2498. dealloc_stack %4 : $*Optional<UIView>, loc "AddClassesController.swift":137:38, scope 94 // id: %30
  2499. destroy_value %2 : $AddClassesController, loc "AddClassesController.swift":137:38, scope 94 // id: %31
  2500. // function_ref _usleep
  2501. %32 = function_ref @_usleep : $@convention(c) (UInt32) -> Int32, loc "AddClassesController.swift":139:13, scope 94 // user: %37
  2502. // function_ref UInt32.init(_builtinIntegerLiteral : Builtin.Int2048) -> UInt32
  2503. %33 = function_ref @_TFVs6UInt32CfT22_builtinIntegerLiteralBi2048__S_ : $@convention(method) (Builtin.Int2048, @thin UInt32.Type) -> UInt32, loc "AddClassesController.swift":139:20, scope 94 // user: %36
  2504. %34 = metatype $@thin UInt32.Type, loc "AddClassesController.swift":139:20, scope 94 // user: %36
  2505. %35 = integer_literal $Builtin.Int2048, 10000, loc "AddClassesController.swift":139:20, scope 94 // user: %36
  2506. %36 = apply %33(%35, %34) : $@convention(method) (Builtin.Int2048, @thin UInt32.Type) -> UInt32, loc "AddClassesController.swift":139:20, scope 94 // user: %37
  2507. %37 = apply %32(%36) : $@convention(c) (UInt32) -> Int32, loc "AddClassesController.swift":139:25, scope 94
  2508. %38 = copy_value %0 : $AddClassesController, loc "AddClassesController.swift":140:13, scope 94 // users: %56, %39
  2509. %39 = upcast %38 : $AddClassesController to $UIViewController, loc "AddClassesController.swift":140:13, scope 94 // users: %52, %40
  2510. %40 = class_method [volatile] %39 : $UIViewController, #UIViewController.performSegue!1.foreign : (UIViewController) -> (String, Any?) -> () , $@convention(objc_method) (NSString, Optional<AnyObject>, UIViewController) -> (), loc "AddClassesController.swift":140:18, scope 94 // user: %52
  2511. %41 = string_literal utf8 "ExitAddClassSegue", loc "AddClassesController.swift":140:47, scope 94 // user: %46
  2512. %42 = integer_literal $Builtin.Word, 17, loc "AddClassesController.swift":140:47, scope 94 // user: %46
  2513. %43 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":140:47, scope 94 // user: %46
  2514. %44 = metatype $@thin String.Type, loc "AddClassesController.swift":140:47, scope 94 // user: %46
  2515. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  2516. %45 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "AddClassesController.swift":140:47, scope 94 // user: %46
  2517. %46 = apply %45(%41, %42, %43, %44) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "AddClassesController.swift":140:47, scope 94 // users: %55, %48
  2518. // function_ref String._bridgeToObjectiveC() -> NSString
  2519. %47 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "AddClassesController.swift":140:47, scope 94 // user: %48
  2520. %48 = apply %47(%46) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "AddClassesController.swift":140:47, scope 94 // users: %54, %52
  2521. %49 = copy_value %0 : $AddClassesController, loc "AddClassesController.swift":140:76, scope 94 // users: %53, %50
  2522. %50 = init_existential_ref %49 : $AddClassesController : $AddClassesController, $AnyObject, loc "AddClassesController.swift":140:76, scope 94 // user: %51
  2523. %51 = enum $Optional<AnyObject>, #Optional.some!enumelt.1, %50 : $AnyObject, loc "AddClassesController.swift":140:76, scope 94 // user: %52
  2524. %52 = apply %40(%48, %51, %39) : $@convention(objc_method) (NSString, Optional<AnyObject>, UIViewController) -> (), loc "AddClassesController.swift":140:80, scope 94
  2525. destroy_value %49 : $AddClassesController, loc "AddClassesController.swift":140:80, scope 94 // id: %53
  2526. destroy_value %48 : $NSString, loc "AddClassesController.swift":140:80, scope 94 // id: %54
  2527. destroy_value %46 : $String, loc "AddClassesController.swift":140:80, scope 94 // id: %55
  2528. destroy_value %38 : $AddClassesController, loc "AddClassesController.swift":140:80, scope 94 // id: %56
  2529. destroy_value %0 : $AddClassesController, loc "AddClassesController.swift":141:9, scope 94 // id: %57
  2530. %58 = tuple (), loc "AddClassesController.swift":141:9, scope 94 // user: %59
  2531. return %58 : $(), loc "AddClassesController.swift":141:9, scope 94 // id: %59
  2532. } // end sil function '_TFFC3gpa20AddClassesController11addNewClassFP_T_U_FT_T_'
  2533.  
  2534.  
  2535. // _convertObjCBoolToBool(ObjCBool) -> Bool
  2536. sil @_TF10ObjectiveC22_convertObjCBoolToBoolFVS_8ObjCBoolSb : $@convention(thin) (ObjCBool) -> Bool
  2537.  
  2538.  
  2539. // _usleep
  2540. sil [clang usleep] @_usleep : $@convention(c) (UInt32) -> Int32
  2541.  
  2542.  
  2543. // UInt32.init(_builtinIntegerLiteral : Builtin.Int2048) -> UInt32
  2544. sil [transparent] [fragile] @_TFVs6UInt32CfT22_builtinIntegerLiteralBi2048__S_ : $@convention(method) (Builtin.Int2048, @thin UInt32.Type) -> UInt32
  2545.  
  2546. sil_scope 95 { parent @_TTRXFo___XFdCb___ : $@convention(c) (@inout_aliasable @block_storage @callee_owned () -> ()) -> () }
  2547.  
  2548. // thunk
  2549. sil shared [transparent] [reabstraction_thunk] @_TTRXFo___XFdCb___ : $@convention(c) (@inout_aliasable @block_storage @callee_owned () -> ()) -> () {
  2550. // %0 // user: %1
  2551. bb0(%0 : $*@block_storage @callee_owned () -> ()):
  2552. %1 = project_block_storage %0 : $*@block_storage @callee_owned () -> (), scope 95 // user: %2
  2553. %2 = load [copy] %1 : $*@callee_owned () -> (), scope 95 // user: %3
  2554. %3 = apply %2() : $@callee_owned () -> (), scope 95
  2555. %4 = tuple (), scope 95 // user: %5
  2556. return %4 : $(), scope 95 // id: %5
  2557. } // end sil function '_TTRXFo___XFdCb___'
  2558.  
  2559.  
  2560. // DispatchQueue.(async(group : DispatchGroup?, qos : DispatchQoS, flags : DispatchWorkItemFlags, execute : @convention(block) () -> ()) -> ()).(default argument 0)
  2561. sil @_TIFE8DispatchCSo13DispatchQueue5asyncFT5groupGSqCSo13DispatchGroup_3qosVS_11DispatchQoS5flagsVS_21DispatchWorkItemFlags7executebT_T__T_A_ : $@convention(thin) () -> @owned Optional<DispatchGroup>
  2562.  
  2563.  
  2564. // DispatchQueue.(async(group : DispatchGroup?, qos : DispatchQoS, flags : DispatchWorkItemFlags, execute : @convention(block) () -> ()) -> ()).(default argument 1)
  2565. sil @_TIFE8DispatchCSo13DispatchQueue5asyncFT5groupGSqCSo13DispatchGroup_3qosVS_11DispatchQoS5flagsVS_21DispatchWorkItemFlags7executebT_T__T_A0_ : $@convention(thin) () -> DispatchQoS
  2566.  
  2567.  
  2568. // DispatchQueue.(async(group : DispatchGroup?, qos : DispatchQoS, flags : DispatchWorkItemFlags, execute : @convention(block) () -> ()) -> ()).(default argument 2)
  2569. sil @_TIFE8DispatchCSo13DispatchQueue5asyncFT5groupGSqCSo13DispatchGroup_3qosVS_11DispatchQoS5flagsVS_21DispatchWorkItemFlags7executebT_T__T_A1_ : $@convention(thin) () -> DispatchWorkItemFlags
  2570.  
  2571. sil_scope 96 { loc "AddClassesController.swift":51:20 parent @_TToFC3gpa20AddClassesController11addNewClassfP_T_ : $@convention(objc_method) (AnyObject, AddClassesController) -> () }
  2572.  
  2573. // @objc AddClassesController.addNewClass(Any) -> ()
  2574. sil hidden [thunk] @_TToFC3gpa20AddClassesController11addNewClassfP_T_ : $@convention(objc_method) (AnyObject, AddClassesController) -> () {
  2575. // %0 // user: %2
  2576. // %1 // user: %3
  2577. bb0(%0 : $AnyObject, %1 : $AddClassesController):
  2578. %2 = copy_value %0 : $AnyObject, scope 96 // user: %4
  2579. %3 = copy_value %1 : $AddClassesController, scope 96 // users: %11, %9
  2580. %4 = unchecked_ref_cast %2 : $AnyObject to $Optional<AnyObject>, scope 96 // user: %7
  2581. // function_ref _bridgeAnyObjectToAny(AnyObject?) -> Any
  2582. %5 = function_ref @_TFs21_bridgeAnyObjectToAnyFGSqPs9AnyObject__P_ : $@convention(thin) (@owned Optional<AnyObject>) -> @out Any, scope 96 // user: %7
  2583. %6 = alloc_stack $Any, scope 96 // users: %10, %9, %7
  2584. %7 = apply %5(%6, %4) : $@convention(thin) (@owned Optional<AnyObject>) -> @out Any, scope 96
  2585. // function_ref AddClassesController.addNewClass(Any) -> ()
  2586. %8 = function_ref @_TFC3gpa20AddClassesController11addNewClassfP_T_ : $@convention(method) (@in Any, @guaranteed AddClassesController) -> (), scope 96 // user: %9
  2587. %9 = apply %8(%6, %3) : $@convention(method) (@in Any, @guaranteed AddClassesController) -> (), scope 96 // user: %12
  2588. dealloc_stack %6 : $*Any, scope 96 // id: %10
  2589. destroy_value %3 : $AddClassesController, scope 96 // id: %11
  2590. return %9 : $(), scope 96 // id: %12
  2591. } // end sil function '_TToFC3gpa20AddClassesController11addNewClassfP_T_'
  2592.  
  2593.  
  2594. // _bridgeAnyObjectToAny(AnyObject?) -> Any
  2595. sil @_TFs21_bridgeAnyObjectToAnyFGSqPs9AnyObject__P_ : $@convention(thin) (@owned Optional<AnyObject>) -> @out Any
  2596.  
  2597. sil_scope 97 { loc "AddClassesController.swift":144:19 parent @_TFC3gpa20AddClassesController12touchesBeganfTGVs3SetCSo7UITouch_4withGSqCSo7UIEvent__T_ : $@convention(method) (@owned Set<UITouch>, @owned Optional<UIEvent>, @guaranteed AddClassesController) -> () }
  2598. sil_scope 98 { loc "AddClassesController.swift":146:5 parent 97 }
  2599.  
  2600. // AddClassesController.touchesBegan(Set<UITouch>, with : UIEvent?) -> ()
  2601. sil hidden @_TFC3gpa20AddClassesController12touchesBeganfTGVs3SetCSo7UITouch_4withGSqCSo7UIEvent__T_ : $@convention(method) (@owned Set<UITouch>, @owned Optional<UIEvent>, @guaranteed AddClassesController) -> () {
  2602. // %0 // users: %37, %3
  2603. // %1 // users: %36, %4
  2604. // %2 // users: %6, %5
  2605. bb0(%0 : $Set<UITouch>, %1 : $Optional<UIEvent>, %2 : $AddClassesController):
  2606. debug_value %0 : $Set<UITouch>, let, name "touches", argno 1, loc "AddClassesController.swift":144:34, scope 97 // id: %3
  2607. debug_value %1 : $Optional<UIEvent>, let, name "event", argno 2, loc "AddClassesController.swift":144:62, scope 97 // id: %4
  2608. debug_value %2 : $AddClassesController, let, name "self", argno 3, loc "AddClassesController.swift":144:19, scope 97 // id: %5
  2609. %6 = copy_value %2 : $AddClassesController, loc "AddClassesController.swift":145:9, scope 98 // users: %35, %7
  2610. %7 = upcast %6 : $AddClassesController to $UIViewController, loc "AddClassesController.swift":145:9, scope 98 // users: %10, %9
  2611. %8 = alloc_stack $Optional<UIView>, loc "AddClassesController.swift":145:14, scope 98 // users: %34, %20, %12, %11
  2612. %9 = class_method [volatile] %7 : $UIViewController, #UIViewController.view!getter.1.foreign : (UIViewController) -> () -> UIView! , $@convention(objc_method) (UIViewController) -> @autoreleased Optional<UIView>, loc "AddClassesController.swift":145:14, scope 98 // user: %10
  2613. %10 = apply %9(%7) : $@convention(objc_method) (UIViewController) -> @autoreleased Optional<UIView>, loc "AddClassesController.swift":145:14, scope 98 // user: %11
  2614. store %10 to [init] %8 : $*Optional<UIView>, loc "AddClassesController.swift":145:14, scope 98 // id: %11
  2615. switch_enum_addr %8 : $*Optional<UIView>, case #Optional.none!enumelt: bb1, default bb2, loc "AddClassesController.swift":145:14, scope 98 // id: %12
  2616.  
  2617. bb1: // Preds: bb0
  2618. %13 = string_literal utf8 "AddClassesController.swift", loc "AddClassesController.swift":145:14, scope 98 // user: %18
  2619. %14 = integer_literal $Builtin.Word, 26, loc "AddClassesController.swift":145:14, scope 98 // user: %18
  2620. %15 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":145:14, scope 98 // user: %18
  2621. %16 = integer_literal $Builtin.Word, 145, loc "AddClassesController.swift":145:14, scope 98 // user: %18
  2622. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  2623. %17 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":145:14, scope 98 // user: %18
  2624. %18 = apply %17(%13, %14, %15, %16) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":145:14, scope 98
  2625. unreachable , loc "AddClassesController.swift":145:14, scope 98 // id: %19
  2626.  
  2627. bb2: // Preds: bb0
  2628. %20 = unchecked_take_enum_data_addr %8 : $*Optional<UIView>, #Optional.some!enumelt.1, loc "AddClassesController.swift":145:14, scope 98 // users: %33, %21
  2629. %21 = load [copy] %20 : $*UIView, loc "AddClassesController.swift":145:14, scope 98 // users: %32, %29, %22
  2630. %22 = class_method [volatile] %21 : $UIView, #UIView.endEditing!1.foreign : (UIView) -> (Bool) -> Bool , $@convention(objc_method) (ObjCBool, UIView) -> ObjCBool, loc "AddClassesController.swift":145:19, scope 98 // user: %29
  2631. // function_ref Bool.init(_builtinBooleanLiteral : Builtin.Int1) -> Bool
  2632. %23 = function_ref @_TFSbCfT22_builtinBooleanLiteralBi1__Sb : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":145:30, scope 98 // user: %26
  2633. %24 = metatype $@thin Bool.Type, loc "AddClassesController.swift":145:30, scope 98 // user: %26
  2634. %25 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":145:30, scope 98 // user: %26
  2635. %26 = apply %23(%25, %24) : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":145:30, scope 98 // user: %28
  2636. // function_ref _convertBoolToObjCBool(Bool) -> ObjCBool
  2637. %27 = function_ref @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool, loc "AddClassesController.swift":145:30, scope 98 // user: %28
  2638. %28 = apply %27(%26) : $@convention(thin) (Bool) -> ObjCBool, loc "AddClassesController.swift":145:30, scope 98 // user: %29
  2639. %29 = apply %22(%28, %21) : $@convention(objc_method) (ObjCBool, UIView) -> ObjCBool, loc "AddClassesController.swift":145:34, scope 98 // user: %31
  2640. // function_ref _convertObjCBoolToBool(ObjCBool) -> Bool
  2641. %30 = function_ref @_TF10ObjectiveC22_convertObjCBoolToBoolFVS_8ObjCBoolSb : $@convention(thin) (ObjCBool) -> Bool, loc "AddClassesController.swift":145:34, scope 98 // user: %31
  2642. %31 = apply %30(%29) : $@convention(thin) (ObjCBool) -> Bool, loc "AddClassesController.swift":145:34, scope 98
  2643. destroy_value %21 : $UIView, loc "AddClassesController.swift":145:34, scope 98 // id: %32
  2644. destroy_addr %20 : $*UIView, loc "AddClassesController.swift":145:34, scope 98 // id: %33
  2645. dealloc_stack %8 : $*Optional<UIView>, loc "AddClassesController.swift":145:34, scope 98 // id: %34
  2646. destroy_value %6 : $AddClassesController, loc "AddClassesController.swift":145:34, scope 98 // id: %35
  2647. destroy_value %1 : $Optional<UIEvent>, loc "AddClassesController.swift":146:5, scope 98 // id: %36
  2648. destroy_value %0 : $Set<UITouch>, loc "AddClassesController.swift":146:5, scope 98 // id: %37
  2649. %38 = tuple (), loc "AddClassesController.swift":146:5, scope 98 // user: %39
  2650. return %38 : $(), loc "AddClassesController.swift":146:5, scope 98 // id: %39
  2651. } // end sil function '_TFC3gpa20AddClassesController12touchesBeganfTGVs3SetCSo7UITouch_4withGSqCSo7UIEvent__T_'
  2652.  
  2653. sil_scope 99 { loc "AddClassesController.swift":144:19 parent @_TToFC3gpa20AddClassesController12touchesBeganfTGVs3SetCSo7UITouch_4withGSqCSo7UIEvent__T_ : $@convention(objc_method) (NSSet, Optional<UIEvent>, AddClassesController) -> () }
  2654.  
  2655. // @objc AddClassesController.touchesBegan(Set<UITouch>, with : UIEvent?) -> ()
  2656. sil hidden [thunk] @_TToFC3gpa20AddClassesController12touchesBeganfTGVs3SetCSo7UITouch_4withGSqCSo7UIEvent__T_ : $@convention(objc_method) (NSSet, Optional<UIEvent>, AddClassesController) -> () {
  2657. // %0 // user: %3
  2658. // %1 // user: %4
  2659. // %2 // user: %5
  2660. bb0(%0 : $NSSet, %1 : $Optional<UIEvent>, %2 : $AddClassesController):
  2661. %3 = copy_value %0 : $NSSet, scope 99 // user: %7
  2662. %4 = copy_value %1 : $Optional<UIEvent>, scope 99 // user: %11
  2663. %5 = copy_value %2 : $AddClassesController, scope 99 // users: %12, %11
  2664. // function_ref static Set._unconditionallyBridgeFromObjectiveC(NSSet?) -> Set<A>
  2665. %6 = function_ref @_TZFE10FoundationVs3Set36_unconditionallyBridgeFromObjectiveCfGSqCSo5NSSet_GS0_x_ : $@convention(method) <τ_0_0 where τ_0_0 : Hashable> (@owned Optional<NSSet>, @thin Set<τ_0_0>.Type) -> @owned Set<τ_0_0>, scope 99 // user: %9
  2666. %7 = enum $Optional<NSSet>, #Optional.some!enumelt.1, %3 : $NSSet, scope 99 // user: %9
  2667. %8 = metatype $@thin Set<UITouch>.Type, scope 99 // user: %9
  2668. %9 = apply %6<UITouch>(%7, %8) : $@convention(method) <τ_0_0 where τ_0_0 : Hashable> (@owned Optional<NSSet>, @thin Set<τ_0_0>.Type) -> @owned Set<τ_0_0>, scope 99 // user: %11
  2669. // function_ref AddClassesController.touchesBegan(Set<UITouch>, with : UIEvent?) -> ()
  2670. %10 = function_ref @_TFC3gpa20AddClassesController12touchesBeganfTGVs3SetCSo7UITouch_4withGSqCSo7UIEvent__T_ : $@convention(method) (@owned Set<UITouch>, @owned Optional<UIEvent>, @guaranteed AddClassesController) -> (), scope 99 // user: %11
  2671. %11 = apply %10(%9, %4, %5) : $@convention(method) (@owned Set<UITouch>, @owned Optional<UIEvent>, @guaranteed AddClassesController) -> (), scope 99 // user: %13
  2672. destroy_value %5 : $AddClassesController, scope 99 // id: %12
  2673. return %11 : $(), scope 99 // id: %13
  2674. } // end sil function '_TToFC3gpa20AddClassesController12touchesBeganfTGVs3SetCSo7UITouch_4withGSqCSo7UIEvent__T_'
  2675.  
  2676.  
  2677. // static Set._unconditionallyBridgeFromObjectiveC(NSSet?) -> Set<A>
  2678. sil @_TZFE10FoundationVs3Set36_unconditionallyBridgeFromObjectiveCfGSqCSo5NSSet_GS0_x_ : $@convention(method) <τ_0_0 where τ_0_0 : Hashable> (@owned Optional<NSSet>, @thin Set<τ_0_0>.Type) -> @owned Set<τ_0_0>
  2679.  
  2680. sil_scope 100 { loc "AddClassesController.swift":25:7 parent @_TFC3gpa20AddClassesControllerD : $@convention(method) (@owned AddClassesController) -> () }
  2681. sil_scope 101 { loc "AddClassesController.swift":25:7 parent 100 }
  2682.  
  2683. // AddClassesController.__deallocating_deinit
  2684. sil hidden @_TFC3gpa20AddClassesControllerD : $@convention(method) (@owned AddClassesController) -> () {
  2685. // %0 // users: %3, %2, %1
  2686. bb0(%0 : $AddClassesController):
  2687. debug_value %0 : $AddClassesController, let, name "self", argno 1, loc "AddClassesController.swift":25:7, scope 100 // id: %1
  2688. %2 = super_method %0 : $AddClassesController, #UIViewController.deinit!deallocator.foreign : (UIViewController) -> () -> () , $@convention(objc_method) (UIViewController) -> (), scope 101 // user: %4
  2689. %3 = upcast %0 : $AddClassesController to $UIViewController, scope 101 // user: %4
  2690. %4 = apply %2(%3) : $@convention(objc_method) (UIViewController) -> (), scope 101
  2691. %5 = tuple (), scope 101 // user: %6
  2692. return %5 : $(), scope 101 // id: %6
  2693. } // end sil function '_TFC3gpa20AddClassesControllerD'
  2694.  
  2695. sil_scope 102 { loc "AddClassesController.swift":25:7 parent @_TToFC3gpa20AddClassesControllerE : $@convention(objc_method) (AddClassesController) -> () }
  2696.  
  2697. // @objc AddClassesController.__ivar_destroyer
  2698. sil hidden @_TToFC3gpa20AddClassesControllerE : $@convention(objc_method) (AddClassesController) -> () {
  2699. // %0 // users: %18, %16, %14, %12, %10, %8, %6, %4, %2, %1
  2700. bb0(%0 : $AddClassesController):
  2701. debug_value %0 : $AddClassesController, let, name "self", argno 1, loc "AddClassesController.swift":25:7, scope 102 // id: %1
  2702. %2 = ref_element_addr %0 : $AddClassesController, #AddClassesController.classNameField, scope 102 // user: %3
  2703. destroy_addr %2 : $*Optional<UITextField>, scope 102 // id: %3
  2704. %4 = ref_element_addr %0 : $AddClassesController, #AddClassesController.multiplierField, scope 102 // user: %5
  2705. destroy_addr %4 : $*Optional<UITextField>, scope 102 // id: %5
  2706. %6 = ref_element_addr %0 : $AddClassesController, #AddClassesController.currentGradeField, scope 102 // user: %7
  2707. destroy_addr %6 : $*Optional<UITextField>, scope 102 // id: %7
  2708. %8 = ref_element_addr %0 : $AddClassesController, #AddClassesController.creditsField, scope 102 // user: %9
  2709. destroy_addr %8 : $*Optional<UITextField>, scope 102 // id: %9
  2710. %10 = ref_element_addr %0 : $AddClassesController, #AddClassesController.multiplierBar, scope 102 // user: %11
  2711. destroy_addr %10 : $*Optional<UISegmentedControl>, scope 102 // id: %11
  2712. %12 = ref_element_addr %0 : $AddClassesController, #AddClassesController.creditsBar, scope 102 // user: %13
  2713. destroy_addr %12 : $*Optional<UISegmentedControl>, scope 102 // id: %13
  2714. %14 = ref_element_addr %0 : $AddClassesController, #AddClassesController.warningLabel, scope 102 // user: %15
  2715. destroy_addr %14 : $*Optional<UILabel>, scope 102 // id: %15
  2716. %16 = ref_element_addr %0 : $AddClassesController, #AddClassesController.addClassButton, scope 102 // user: %17
  2717. destroy_addr %16 : $*Optional<UIButton>, scope 102 // id: %17
  2718. %18 = ref_element_addr %0 : $AddClassesController, #AddClassesController.cancelButton, scope 102 // user: %19
  2719. destroy_addr %18 : $*Optional<UIBarButtonItem>, scope 102 // id: %19
  2720. %20 = tuple (), scope 102 // user: %21
  2721. return %20 : $(), scope 102 // id: %21
  2722. } // end sil function '_TToFC3gpa20AddClassesControllerE'
  2723.  
  2724. sil_scope 103 { loc "AddClassesController.swift":27:19 parent @_TFC3gpa20AddClassesControllerm14classNameFieldGSQCSo11UITextField_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed AddClassesController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) }
  2725.  
  2726. // AddClassesController.classNameField.materializeForSet
  2727. sil hidden @_TFC3gpa20AddClassesControllerm14classNameFieldGSQCSo11UITextField_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed AddClassesController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) {
  2728. // %2 // user: %3
  2729. bb0(%0 : $Builtin.RawPointer, %1 : $*Builtin.UnsafeValueBuffer, %2 : $AddClassesController):
  2730. %3 = ref_element_addr %2 : $AddClassesController, #AddClassesController.classNameField, scope 103 // user: %4
  2731. %4 = address_to_pointer %3 : $*Optional<UITextField> to $Builtin.RawPointer, scope 103 // user: %6
  2732. %5 = enum $Optional<Builtin.RawPointer>, #Optional.none!enumelt, scope 103 // user: %6
  2733. %6 = tuple (%4 : $Builtin.RawPointer, %5 : $Optional<Builtin.RawPointer>), scope 103 // user: %7
  2734. return %6 : $(Builtin.RawPointer, Optional<Builtin.RawPointer>), scope 103 // id: %7
  2735. } // end sil function '_TFC3gpa20AddClassesControllerm14classNameFieldGSQCSo11UITextField_'
  2736.  
  2737. sil_scope 104 { loc "AddClassesController.swift":28:19 parent @_TFC3gpa20AddClassesControllerm15multiplierFieldGSQCSo11UITextField_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed AddClassesController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) }
  2738.  
  2739. // AddClassesController.multiplierField.materializeForSet
  2740. sil hidden @_TFC3gpa20AddClassesControllerm15multiplierFieldGSQCSo11UITextField_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed AddClassesController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) {
  2741. // %2 // user: %3
  2742. bb0(%0 : $Builtin.RawPointer, %1 : $*Builtin.UnsafeValueBuffer, %2 : $AddClassesController):
  2743. %3 = ref_element_addr %2 : $AddClassesController, #AddClassesController.multiplierField, scope 104 // user: %4
  2744. %4 = address_to_pointer %3 : $*Optional<UITextField> to $Builtin.RawPointer, scope 104 // user: %6
  2745. %5 = enum $Optional<Builtin.RawPointer>, #Optional.none!enumelt, scope 104 // user: %6
  2746. %6 = tuple (%4 : $Builtin.RawPointer, %5 : $Optional<Builtin.RawPointer>), scope 104 // user: %7
  2747. return %6 : $(Builtin.RawPointer, Optional<Builtin.RawPointer>), scope 104 // id: %7
  2748. } // end sil function '_TFC3gpa20AddClassesControllerm15multiplierFieldGSQCSo11UITextField_'
  2749.  
  2750. sil_scope 105 { loc "AddClassesController.swift":29:19 parent @_TFC3gpa20AddClassesControllerm17currentGradeFieldGSQCSo11UITextField_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed AddClassesController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) }
  2751.  
  2752. // AddClassesController.currentGradeField.materializeForSet
  2753. sil hidden @_TFC3gpa20AddClassesControllerm17currentGradeFieldGSQCSo11UITextField_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed AddClassesController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) {
  2754. // %2 // user: %3
  2755. bb0(%0 : $Builtin.RawPointer, %1 : $*Builtin.UnsafeValueBuffer, %2 : $AddClassesController):
  2756. %3 = ref_element_addr %2 : $AddClassesController, #AddClassesController.currentGradeField, scope 105 // user: %4
  2757. %4 = address_to_pointer %3 : $*Optional<UITextField> to $Builtin.RawPointer, scope 105 // user: %6
  2758. %5 = enum $Optional<Builtin.RawPointer>, #Optional.none!enumelt, scope 105 // user: %6
  2759. %6 = tuple (%4 : $Builtin.RawPointer, %5 : $Optional<Builtin.RawPointer>), scope 105 // user: %7
  2760. return %6 : $(Builtin.RawPointer, Optional<Builtin.RawPointer>), scope 105 // id: %7
  2761. } // end sil function '_TFC3gpa20AddClassesControllerm17currentGradeFieldGSQCSo11UITextField_'
  2762.  
  2763. sil_scope 106 { loc "AddClassesController.swift":30:19 parent @_TFC3gpa20AddClassesControllerm12creditsFieldGSQCSo11UITextField_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed AddClassesController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) }
  2764.  
  2765. // AddClassesController.creditsField.materializeForSet
  2766. sil hidden @_TFC3gpa20AddClassesControllerm12creditsFieldGSQCSo11UITextField_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed AddClassesController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) {
  2767. // %2 // user: %3
  2768. bb0(%0 : $Builtin.RawPointer, %1 : $*Builtin.UnsafeValueBuffer, %2 : $AddClassesController):
  2769. %3 = ref_element_addr %2 : $AddClassesController, #AddClassesController.creditsField, scope 106 // user: %4
  2770. %4 = address_to_pointer %3 : $*Optional<UITextField> to $Builtin.RawPointer, scope 106 // user: %6
  2771. %5 = enum $Optional<Builtin.RawPointer>, #Optional.none!enumelt, scope 106 // user: %6
  2772. %6 = tuple (%4 : $Builtin.RawPointer, %5 : $Optional<Builtin.RawPointer>), scope 106 // user: %7
  2773. return %6 : $(Builtin.RawPointer, Optional<Builtin.RawPointer>), scope 106 // id: %7
  2774. } // end sil function '_TFC3gpa20AddClassesControllerm12creditsFieldGSQCSo11UITextField_'
  2775.  
  2776. sil_scope 107 { loc "AddClassesController.swift":32:19 parent @_TFC3gpa20AddClassesControllerm13multiplierBarGSQCSo18UISegmentedControl_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed AddClassesController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) }
  2777.  
  2778. // AddClassesController.multiplierBar.materializeForSet
  2779. sil hidden @_TFC3gpa20AddClassesControllerm13multiplierBarGSQCSo18UISegmentedControl_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed AddClassesController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) {
  2780. // %2 // user: %3
  2781. bb0(%0 : $Builtin.RawPointer, %1 : $*Builtin.UnsafeValueBuffer, %2 : $AddClassesController):
  2782. %3 = ref_element_addr %2 : $AddClassesController, #AddClassesController.multiplierBar, scope 107 // user: %4
  2783. %4 = address_to_pointer %3 : $*Optional<UISegmentedControl> to $Builtin.RawPointer, scope 107 // user: %6
  2784. %5 = enum $Optional<Builtin.RawPointer>, #Optional.none!enumelt, scope 107 // user: %6
  2785. %6 = tuple (%4 : $Builtin.RawPointer, %5 : $Optional<Builtin.RawPointer>), scope 107 // user: %7
  2786. return %6 : $(Builtin.RawPointer, Optional<Builtin.RawPointer>), scope 107 // id: %7
  2787. } // end sil function '_TFC3gpa20AddClassesControllerm13multiplierBarGSQCSo18UISegmentedControl_'
  2788.  
  2789. sil_scope 108 { loc "AddClassesController.swift":33:19 parent @_TFC3gpa20AddClassesControllerm10creditsBarGSQCSo18UISegmentedControl_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed AddClassesController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) }
  2790.  
  2791. // AddClassesController.creditsBar.materializeForSet
  2792. sil hidden @_TFC3gpa20AddClassesControllerm10creditsBarGSQCSo18UISegmentedControl_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed AddClassesController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) {
  2793. // %2 // user: %3
  2794. bb0(%0 : $Builtin.RawPointer, %1 : $*Builtin.UnsafeValueBuffer, %2 : $AddClassesController):
  2795. %3 = ref_element_addr %2 : $AddClassesController, #AddClassesController.creditsBar, scope 108 // user: %4
  2796. %4 = address_to_pointer %3 : $*Optional<UISegmentedControl> to $Builtin.RawPointer, scope 108 // user: %6
  2797. %5 = enum $Optional<Builtin.RawPointer>, #Optional.none!enumelt, scope 108 // user: %6
  2798. %6 = tuple (%4 : $Builtin.RawPointer, %5 : $Optional<Builtin.RawPointer>), scope 108 // user: %7
  2799. return %6 : $(Builtin.RawPointer, Optional<Builtin.RawPointer>), scope 108 // id: %7
  2800. } // end sil function '_TFC3gpa20AddClassesControllerm10creditsBarGSQCSo18UISegmentedControl_'
  2801.  
  2802. sil_scope 109 { loc "AddClassesController.swift":35:19 parent @_TFC3gpa20AddClassesControllerm12warningLabelGSQCSo7UILabel_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed AddClassesController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) }
  2803.  
  2804. // AddClassesController.warningLabel.materializeForSet
  2805. sil hidden @_TFC3gpa20AddClassesControllerm12warningLabelGSQCSo7UILabel_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed AddClassesController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) {
  2806. // %2 // user: %3
  2807. bb0(%0 : $Builtin.RawPointer, %1 : $*Builtin.UnsafeValueBuffer, %2 : $AddClassesController):
  2808. %3 = ref_element_addr %2 : $AddClassesController, #AddClassesController.warningLabel, scope 109 // user: %4
  2809. %4 = address_to_pointer %3 : $*Optional<UILabel> to $Builtin.RawPointer, scope 109 // user: %6
  2810. %5 = enum $Optional<Builtin.RawPointer>, #Optional.none!enumelt, scope 109 // user: %6
  2811. %6 = tuple (%4 : $Builtin.RawPointer, %5 : $Optional<Builtin.RawPointer>), scope 109 // user: %7
  2812. return %6 : $(Builtin.RawPointer, Optional<Builtin.RawPointer>), scope 109 // id: %7
  2813. } // end sil function '_TFC3gpa20AddClassesControllerm12warningLabelGSQCSo7UILabel_'
  2814.  
  2815. sil_scope 110 { loc "AddClassesController.swift":37:19 parent @_TFC3gpa20AddClassesControllerm14addClassButtonGSQCSo8UIButton_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed AddClassesController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) }
  2816.  
  2817. // AddClassesController.addClassButton.materializeForSet
  2818. sil hidden @_TFC3gpa20AddClassesControllerm14addClassButtonGSQCSo8UIButton_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed AddClassesController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) {
  2819. // %2 // user: %3
  2820. bb0(%0 : $Builtin.RawPointer, %1 : $*Builtin.UnsafeValueBuffer, %2 : $AddClassesController):
  2821. %3 = ref_element_addr %2 : $AddClassesController, #AddClassesController.addClassButton, scope 110 // user: %4
  2822. %4 = address_to_pointer %3 : $*Optional<UIButton> to $Builtin.RawPointer, scope 110 // user: %6
  2823. %5 = enum $Optional<Builtin.RawPointer>, #Optional.none!enumelt, scope 110 // user: %6
  2824. %6 = tuple (%4 : $Builtin.RawPointer, %5 : $Optional<Builtin.RawPointer>), scope 110 // user: %7
  2825. return %6 : $(Builtin.RawPointer, Optional<Builtin.RawPointer>), scope 110 // id: %7
  2826. } // end sil function '_TFC3gpa20AddClassesControllerm14addClassButtonGSQCSo8UIButton_'
  2827.  
  2828. sil_scope 111 { loc "AddClassesController.swift":38:19 parent @_TFC3gpa20AddClassesControllerm12cancelButtonGSQCSo15UIBarButtonItem_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed AddClassesController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) }
  2829.  
  2830. // AddClassesController.cancelButton.materializeForSet
  2831. sil hidden @_TFC3gpa20AddClassesControllerm12cancelButtonGSQCSo15UIBarButtonItem_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed AddClassesController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) {
  2832. // %2 // user: %3
  2833. bb0(%0 : $Builtin.RawPointer, %1 : $*Builtin.UnsafeValueBuffer, %2 : $AddClassesController):
  2834. %3 = ref_element_addr %2 : $AddClassesController, #AddClassesController.cancelButton, scope 111 // user: %4
  2835. %4 = address_to_pointer %3 : $*Optional<UIBarButtonItem> to $Builtin.RawPointer, scope 111 // user: %6
  2836. %5 = enum $Optional<Builtin.RawPointer>, #Optional.none!enumelt, scope 111 // user: %6
  2837. %6 = tuple (%4 : $Builtin.RawPointer, %5 : $Optional<Builtin.RawPointer>), scope 111 // user: %7
  2838. return %6 : $(Builtin.RawPointer, Optional<Builtin.RawPointer>), scope 111 // id: %7
  2839. } // end sil function '_TFC3gpa20AddClassesControllerm12cancelButtonGSQCSo15UIBarButtonItem_'
  2840.  
  2841. sil_scope 112 { loc "AddClassesController.swift":25:46 parent @_TFC3gpa20AddClassesControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ : $@convention(method) (@owned Optional<String>, @owned Optional<Bundle>, @owned AddClassesController) -> @owned AddClassesController }
  2842. sil_scope 113 { parent 112 }
  2843.  
  2844. // AddClassesController.init(nibName : String?, bundle : Bundle?) -> AddClassesController
  2845. sil hidden @_TFC3gpa20AddClassesControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ : $@convention(method) (@owned Optional<String>, @owned Optional<Bundle>, @owned AddClassesController) -> @owned AddClassesController {
  2846. // %0 // users: %77, %57, %6
  2847. // %1 // users: %76, %71, %7
  2848. // %2 // user: %8
  2849. bb0(%0 : $Optional<String>, %1 : $Optional<Bundle>, %2 : $AddClassesController):
  2850. %3 = alloc_box ${ var AddClassesController }, let, name "self", scope 112 // users: %78, %4
  2851. %4 = project_box %3 : ${ var AddClassesController }, 0, scope 112 // user: %5
  2852. %5 = mark_uninitialized [derivedself] %4 : $*AddClassesController, scope 112 // users: %75, %73, %54, %51, %46, %41, %36, %31, %26, %21, %16, %11, %8
  2853. debug_value %0 : $Optional<String>, let, name "nibNameOrNil", argno 1, scope 112 // id: %6
  2854. debug_value %1 : $Optional<Bundle>, let, name "nibBundleOrNil", argno 2, scope 112 // id: %7
  2855. store %2 to [init] %5 : $*AddClassesController, loc "AddClassesController.swift":25:46, scope 112 // id: %8
  2856. // function_ref AddClassesController.(classNameField).(variable initialization expression)
  2857. %9 = function_ref @_TIvC3gpa20AddClassesController14classNameFieldGSQCSo11UITextField_i : $@convention(thin) () -> @owned Optional<UITextField>, scope 112 // user: %10
  2858. %10 = apply %9() : $@convention(thin) () -> @owned Optional<UITextField>, scope 112 // user: %13
  2859. %11 = load_borrow %5 : $*AddClassesController, loc "AddClassesController.swift":27:19, scope 112 // user: %12
  2860. %12 = ref_element_addr %11 : $AddClassesController, #AddClassesController.classNameField, loc "AddClassesController.swift":27:19, scope 112 // user: %13
  2861. assign %10 to %12 : $*Optional<UITextField>, loc "AddClassesController.swift":27:19, scope 112 // id: %13
  2862. // function_ref AddClassesController.(multiplierField).(variable initialization expression)
  2863. %14 = function_ref @_TIvC3gpa20AddClassesController15multiplierFieldGSQCSo11UITextField_i : $@convention(thin) () -> @owned Optional<UITextField>, scope 112 // user: %15
  2864. %15 = apply %14() : $@convention(thin) () -> @owned Optional<UITextField>, scope 112 // user: %18
  2865. %16 = load_borrow %5 : $*AddClassesController, loc "AddClassesController.swift":28:19, scope 112 // user: %17
  2866. %17 = ref_element_addr %16 : $AddClassesController, #AddClassesController.multiplierField, loc "AddClassesController.swift":28:19, scope 112 // user: %18
  2867. assign %15 to %17 : $*Optional<UITextField>, loc "AddClassesController.swift":28:19, scope 112 // id: %18
  2868. // function_ref AddClassesController.(currentGradeField).(variable initialization expression)
  2869. %19 = function_ref @_TIvC3gpa20AddClassesController17currentGradeFieldGSQCSo11UITextField_i : $@convention(thin) () -> @owned Optional<UITextField>, scope 112 // user: %20
  2870. %20 = apply %19() : $@convention(thin) () -> @owned Optional<UITextField>, scope 112 // user: %23
  2871. %21 = load_borrow %5 : $*AddClassesController, loc "AddClassesController.swift":29:19, scope 112 // user: %22
  2872. %22 = ref_element_addr %21 : $AddClassesController, #AddClassesController.currentGradeField, loc "AddClassesController.swift":29:19, scope 112 // user: %23
  2873. assign %20 to %22 : $*Optional<UITextField>, loc "AddClassesController.swift":29:19, scope 112 // id: %23
  2874. // function_ref AddClassesController.(creditsField).(variable initialization expression)
  2875. %24 = function_ref @_TIvC3gpa20AddClassesController12creditsFieldGSQCSo11UITextField_i : $@convention(thin) () -> @owned Optional<UITextField>, scope 112 // user: %25
  2876. %25 = apply %24() : $@convention(thin) () -> @owned Optional<UITextField>, scope 112 // user: %28
  2877. %26 = load_borrow %5 : $*AddClassesController, loc "AddClassesController.swift":30:19, scope 112 // user: %27
  2878. %27 = ref_element_addr %26 : $AddClassesController, #AddClassesController.creditsField, loc "AddClassesController.swift":30:19, scope 112 // user: %28
  2879. assign %25 to %27 : $*Optional<UITextField>, loc "AddClassesController.swift":30:19, scope 112 // id: %28
  2880. // function_ref AddClassesController.(multiplierBar).(variable initialization expression)
  2881. %29 = function_ref @_TIvC3gpa20AddClassesController13multiplierBarGSQCSo18UISegmentedControl_i : $@convention(thin) () -> @owned Optional<UISegmentedControl>, scope 112 // user: %30
  2882. %30 = apply %29() : $@convention(thin) () -> @owned Optional<UISegmentedControl>, scope 112 // user: %33
  2883. %31 = load_borrow %5 : $*AddClassesController, loc "AddClassesController.swift":32:19, scope 112 // user: %32
  2884. %32 = ref_element_addr %31 : $AddClassesController, #AddClassesController.multiplierBar, loc "AddClassesController.swift":32:19, scope 112 // user: %33
  2885. assign %30 to %32 : $*Optional<UISegmentedControl>, loc "AddClassesController.swift":32:19, scope 112 // id: %33
  2886. // function_ref AddClassesController.(creditsBar).(variable initialization expression)
  2887. %34 = function_ref @_TIvC3gpa20AddClassesController10creditsBarGSQCSo18UISegmentedControl_i : $@convention(thin) () -> @owned Optional<UISegmentedControl>, scope 112 // user: %35
  2888. %35 = apply %34() : $@convention(thin) () -> @owned Optional<UISegmentedControl>, scope 112 // user: %38
  2889. %36 = load_borrow %5 : $*AddClassesController, loc "AddClassesController.swift":33:19, scope 112 // user: %37
  2890. %37 = ref_element_addr %36 : $AddClassesController, #AddClassesController.creditsBar, loc "AddClassesController.swift":33:19, scope 112 // user: %38
  2891. assign %35 to %37 : $*Optional<UISegmentedControl>, loc "AddClassesController.swift":33:19, scope 112 // id: %38
  2892. // function_ref AddClassesController.(warningLabel).(variable initialization expression)
  2893. %39 = function_ref @_TIvC3gpa20AddClassesController12warningLabelGSQCSo7UILabel_i : $@convention(thin) () -> @owned Optional<UILabel>, scope 112 // user: %40
  2894. %40 = apply %39() : $@convention(thin) () -> @owned Optional<UILabel>, scope 112 // user: %43
  2895. %41 = load_borrow %5 : $*AddClassesController, loc "AddClassesController.swift":35:19, scope 112 // user: %42
  2896. %42 = ref_element_addr %41 : $AddClassesController, #AddClassesController.warningLabel, loc "AddClassesController.swift":35:19, scope 112 // user: %43
  2897. assign %40 to %42 : $*Optional<UILabel>, loc "AddClassesController.swift":35:19, scope 112 // id: %43
  2898. // function_ref AddClassesController.(addClassButton).(variable initialization expression)
  2899. %44 = function_ref @_TIvC3gpa20AddClassesController14addClassButtonGSQCSo8UIButton_i : $@convention(thin) () -> @owned Optional<UIButton>, scope 112 // user: %45
  2900. %45 = apply %44() : $@convention(thin) () -> @owned Optional<UIButton>, scope 112 // user: %48
  2901. %46 = load_borrow %5 : $*AddClassesController, loc "AddClassesController.swift":37:19, scope 112 // user: %47
  2902. %47 = ref_element_addr %46 : $AddClassesController, #AddClassesController.addClassButton, loc "AddClassesController.swift":37:19, scope 112 // user: %48
  2903. assign %45 to %47 : $*Optional<UIButton>, loc "AddClassesController.swift":37:19, scope 112 // id: %48
  2904. // function_ref AddClassesController.(cancelButton).(variable initialization expression)
  2905. %49 = function_ref @_TIvC3gpa20AddClassesController12cancelButtonGSQCSo15UIBarButtonItem_i : $@convention(thin) () -> @owned Optional<UIBarButtonItem>, scope 112 // user: %50
  2906. %50 = apply %49() : $@convention(thin) () -> @owned Optional<UIBarButtonItem>, scope 112 // user: %53
  2907. %51 = load_borrow %5 : $*AddClassesController, loc "AddClassesController.swift":38:19, scope 112 // user: %52
  2908. %52 = ref_element_addr %51 : $AddClassesController, #AddClassesController.cancelButton, loc "AddClassesController.swift":38:19, scope 112 // user: %53
  2909. assign %50 to %52 : $*Optional<UIBarButtonItem>, loc "AddClassesController.swift":38:19, scope 112 // id: %53
  2910. %54 = load_borrow %5 : $*AddClassesController, scope 113 // users: %56, %55
  2911. %55 = upcast %54 : $AddClassesController to $UIViewController, scope 113 // user: %71
  2912. %56 = super_method [volatile] %54 : $AddClassesController, #UIViewController.init!initializer.1.foreign : (UIViewController.Type) -> (String?, Bundle?) -> UIViewController , $@convention(objc_method) (Optional<NSString>, Optional<Bundle>, @owned UIViewController) -> @owned UIViewController, scope 113 // user: %71
  2913. %57 = copy_value %0 : $Optional<String>, scope 113 // users: %62, %60
  2914. %58 = integer_literal $Builtin.Int1, -1, scope 113 // user: %60
  2915. %59 = integer_literal $Builtin.Int1, 0, scope 113 // user: %60
  2916. %60 = select_enum %57 : $Optional<String>, case #Optional.some!enumelt.1: %58, default %59 : $Builtin.Int1, scope 113 // user: %61
  2917. cond_br %60, bb1, bb2, scope 113 // id: %61
  2918.  
  2919. bb1: // Preds: bb0
  2920. %62 = unchecked_enum_data %57 : $Optional<String>, #Optional.some!enumelt.1, scope 113 // users: %66, %64
  2921. // function_ref String._bridgeToObjectiveC() -> NSString
  2922. %63 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, scope 113 // user: %64
  2923. %64 = apply %63(%62) : $@convention(method) (@guaranteed String) -> @owned NSString, scope 113 // user: %65
  2924. %65 = enum $Optional<NSString>, #Optional.some!enumelt.1, %64 : $NSString, scope 113 // user: %67
  2925. destroy_value %62 : $String, scope 113 // id: %66
  2926. br bb3(%65 : $Optional<NSString>), scope 113 // id: %67
  2927.  
  2928. bb2: // Preds: bb0
  2929. %68 = enum $Optional<NSString>, #Optional.none!enumelt, scope 113 // user: %69
  2930. br bb3(%68 : $Optional<NSString>), scope 113 // id: %69
  2931.  
  2932. // %70 // users: %74, %71
  2933. bb3(%70 : $Optional<NSString>): // Preds: bb2 bb1
  2934. %71 = apply %56(%70, %1, %55) : $@convention(objc_method) (Optional<NSString>, Optional<Bundle>, @owned UIViewController) -> @owned UIViewController, scope 113 // user: %72
  2935. %72 = unchecked_ref_cast %71 : $UIViewController to $AddClassesController, scope 113 // user: %73
  2936. store %72 to [init] %5 : $*AddClassesController, scope 113 // id: %73
  2937. destroy_value %70 : $Optional<NSString>, scope 113 // id: %74
  2938. %75 = load [copy] %5 : $*AddClassesController, loc "AddClassesController.swift":25:46, scope 113 // user: %79
  2939. destroy_value %1 : $Optional<Bundle>, loc "AddClassesController.swift":25:46, scope 113 // id: %76
  2940. destroy_value %0 : $Optional<String>, loc "AddClassesController.swift":25:46, scope 113 // id: %77
  2941. destroy_value %3 : ${ var AddClassesController }, loc "AddClassesController.swift":25:46, scope 113 // id: %78
  2942. return %75 : $AddClassesController, loc "AddClassesController.swift":25:46, scope 113 // id: %79
  2943. } // end sil function '_TFC3gpa20AddClassesControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_'
  2944.  
  2945. sil_scope 114 { loc "AddClassesController.swift":25:46 parent @_TFC3gpa20AddClassesControllerCfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ : $@convention(method) (@owned Optional<String>, @owned Optional<Bundle>, @thick AddClassesController.Type) -> @owned AddClassesController }
  2946.  
  2947. // AddClassesController.__allocating_init(nibName : String?, bundle : Bundle?) -> AddClassesController
  2948. sil hidden @_TFC3gpa20AddClassesControllerCfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ : $@convention(method) (@owned Optional<String>, @owned Optional<Bundle>, @thick AddClassesController.Type) -> @owned AddClassesController {
  2949. // %0 // user: %5
  2950. // %1 // user: %5
  2951. bb0(%0 : $Optional<String>, %1 : $Optional<Bundle>, %2 : $@thick AddClassesController.Type):
  2952. %3 = alloc_ref [objc] $AddClassesController, scope 114 // user: %5
  2953. // function_ref AddClassesController.init(nibName : String?, bundle : Bundle?) -> AddClassesController
  2954. %4 = function_ref @_TFC3gpa20AddClassesControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ : $@convention(method) (@owned Optional<String>, @owned Optional<Bundle>, @owned AddClassesController) -> @owned AddClassesController, scope 114 // user: %5
  2955. %5 = apply %4(%0, %1, %3) : $@convention(method) (@owned Optional<String>, @owned Optional<Bundle>, @owned AddClassesController) -> @owned AddClassesController, scope 114 // user: %6
  2956. return %5 : $AddClassesController, scope 114 // id: %6
  2957. } // end sil function '_TFC3gpa20AddClassesControllerCfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_'
  2958.  
  2959. sil_scope 115 { loc "AddClassesController.swift":25:46 parent @_TToFC3gpa20AddClassesControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ : $@convention(objc_method) (Optional<NSString>, Optional<Bundle>, @owned AddClassesController) -> @owned AddClassesController }
  2960.  
  2961. // @objc AddClassesController.init(nibName : String?, bundle : Bundle?) -> AddClassesController
  2962. sil hidden [thunk] @_TToFC3gpa20AddClassesControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ : $@convention(objc_method) (Optional<NSString>, Optional<Bundle>, @owned AddClassesController) -> @owned AddClassesController {
  2963. // %0 // user: %3
  2964. // %1 // user: %4
  2965. // %2 // user: %20
  2966. bb0(%0 : $Optional<NSString>, %1 : $Optional<Bundle>, %2 : $AddClassesController):
  2967. %3 = copy_value %0 : $Optional<NSString>, scope 115 // users: %9, %7
  2968. %4 = copy_value %1 : $Optional<Bundle>, scope 115 // user: %20
  2969. %5 = integer_literal $Builtin.Int1, -1, scope 115 // user: %7
  2970. %6 = integer_literal $Builtin.Int1, 0, scope 115 // user: %7
  2971. %7 = select_enum %3 : $Optional<NSString>, case #Optional.some!enumelt.1: %5, default %6 : $Builtin.Int1, scope 115 // user: %8
  2972. cond_br %7, bb1, bb2, scope 115 // id: %8
  2973.  
  2974. bb1: // Preds: bb0
  2975. %9 = unchecked_enum_data %3 : $Optional<NSString>, #Optional.some!enumelt.1, scope 115 // user: %11
  2976. // function_ref static String._unconditionallyBridgeFromObjectiveC(NSString?) -> String
  2977. %10 = function_ref @_TZFE10FoundationSS36_unconditionallyBridgeFromObjectiveCfGSqCSo8NSString_SS : $@convention(method) (@owned Optional<NSString>, @thin String.Type) -> @owned String, scope 115 // user: %13
  2978. %11 = enum $Optional<NSString>, #Optional.some!enumelt.1, %9 : $NSString, scope 115 // user: %13
  2979. %12 = metatype $@thin String.Type, scope 115 // user: %13
  2980. %13 = apply %10(%11, %12) : $@convention(method) (@owned Optional<NSString>, @thin String.Type) -> @owned String, scope 115 // user: %14
  2981. %14 = enum $Optional<String>, #Optional.some!enumelt.1, %13 : $String, scope 115 // user: %15
  2982. br bb3(%14 : $Optional<String>), scope 115 // id: %15
  2983.  
  2984. bb2: // Preds: bb0
  2985. %16 = enum $Optional<String>, #Optional.none!enumelt, scope 115 // user: %17
  2986. br bb3(%16 : $Optional<String>), scope 115 // id: %17
  2987.  
  2988. // %18 // user: %20
  2989. bb3(%18 : $Optional<String>): // Preds: bb2 bb1
  2990. // function_ref AddClassesController.init(nibName : String?, bundle : Bundle?) -> AddClassesController
  2991. %19 = function_ref @_TFC3gpa20AddClassesControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ : $@convention(method) (@owned Optional<String>, @owned Optional<Bundle>, @owned AddClassesController) -> @owned AddClassesController, scope 115 // user: %20
  2992. %20 = apply %19(%18, %4, %2) : $@convention(method) (@owned Optional<String>, @owned Optional<Bundle>, @owned AddClassesController) -> @owned AddClassesController, scope 115 // user: %21
  2993. return %20 : $AddClassesController, scope 115 // id: %21
  2994. } // end sil function '_TToFC3gpa20AddClassesControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_'
  2995.  
  2996. sil_scope 116 { loc "AddClassesController.swift":25:46 parent @_TFC3gpa20AddClassesControllerCfT5coderCSo7NSCoder_GSqS0__ : $@convention(method) (@owned NSCoder, @thick AddClassesController.Type) -> @owned Optional<AddClassesController> }
  2997.  
  2998. // AddClassesController.__allocating_init(coder : NSCoder) -> AddClassesController?
  2999. sil hidden @_TFC3gpa20AddClassesControllerCfT5coderCSo7NSCoder_GSqS0__ : $@convention(method) (@owned NSCoder, @thick AddClassesController.Type) -> @owned Optional<AddClassesController> {
  3000. // %0 // user: %4
  3001. bb0(%0 : $NSCoder, %1 : $@thick AddClassesController.Type):
  3002. %2 = alloc_ref [objc] $AddClassesController, scope 116 // user: %4
  3003. // function_ref AddClassesController.init(coder : NSCoder) -> AddClassesController?
  3004. %3 = function_ref @_TFC3gpa20AddClassesControllercfT5coderCSo7NSCoder_GSqS0__ : $@convention(method) (@owned NSCoder, @owned AddClassesController) -> @owned Optional<AddClassesController>, scope 116 // user: %4
  3005. %4 = apply %3(%0, %2) : $@convention(method) (@owned NSCoder, @owned AddClassesController) -> @owned Optional<AddClassesController>, scope 116 // user: %5
  3006. return %4 : $Optional<AddClassesController>, scope 116 // id: %5
  3007. } // end sil function '_TFC3gpa20AddClassesControllerCfT5coderCSo7NSCoder_GSqS0__'
  3008.  
  3009. sil_scope 117 { loc "AddClassesController.swift":25:46 parent @_TFC3gpa20AddClassesControllercfT5coderCSo7NSCoder_GSqS0__ : $@convention(method) (@owned NSCoder, @owned AddClassesController) -> @owned Optional<AddClassesController> }
  3010. sil_scope 118 { parent 117 }
  3011.  
  3012. // AddClassesController.init(coder : NSCoder) -> AddClassesController?
  3013. sil hidden @_TFC3gpa20AddClassesControllercfT5coderCSo7NSCoder_GSqS0__ : $@convention(method) (@owned NSCoder, @owned AddClassesController) -> @owned Optional<AddClassesController> {
  3014. // %0 // users: %65, %55, %68, %5
  3015. // %1 // user: %6
  3016. bb0(%0 : $NSCoder, %1 : $AddClassesController):
  3017. %2 = alloc_box ${ var AddClassesController }, let, name "self", scope 117 // users: %66, %69, %3
  3018. %3 = project_box %2 : ${ var AddClassesController }, 0, scope 117 // user: %4
  3019. %4 = mark_uninitialized [derivedself] %3 : $*AddClassesController, scope 117 // users: %63, %62, %52, %49, %44, %39, %34, %29, %24, %19, %14, %9, %6
  3020. debug_value %0 : $NSCoder, let, name "aDecoder", argno 1, scope 117 // id: %5
  3021. store %1 to [init] %4 : $*AddClassesController, loc "AddClassesController.swift":25:46, scope 117 // id: %6
  3022. // function_ref AddClassesController.(classNameField).(variable initialization expression)
  3023. %7 = function_ref @_TIvC3gpa20AddClassesController14classNameFieldGSQCSo11UITextField_i : $@convention(thin) () -> @owned Optional<UITextField>, scope 117 // user: %8
  3024. %8 = apply %7() : $@convention(thin) () -> @owned Optional<UITextField>, scope 117 // user: %11
  3025. %9 = load_borrow %4 : $*AddClassesController, loc "AddClassesController.swift":27:19, scope 117 // user: %10
  3026. %10 = ref_element_addr %9 : $AddClassesController, #AddClassesController.classNameField, loc "AddClassesController.swift":27:19, scope 117 // user: %11
  3027. assign %8 to %10 : $*Optional<UITextField>, loc "AddClassesController.swift":27:19, scope 117 // id: %11
  3028. // function_ref AddClassesController.(multiplierField).(variable initialization expression)
  3029. %12 = function_ref @_TIvC3gpa20AddClassesController15multiplierFieldGSQCSo11UITextField_i : $@convention(thin) () -> @owned Optional<UITextField>, scope 117 // user: %13
  3030. %13 = apply %12() : $@convention(thin) () -> @owned Optional<UITextField>, scope 117 // user: %16
  3031. %14 = load_borrow %4 : $*AddClassesController, loc "AddClassesController.swift":28:19, scope 117 // user: %15
  3032. %15 = ref_element_addr %14 : $AddClassesController, #AddClassesController.multiplierField, loc "AddClassesController.swift":28:19, scope 117 // user: %16
  3033. assign %13 to %15 : $*Optional<UITextField>, loc "AddClassesController.swift":28:19, scope 117 // id: %16
  3034. // function_ref AddClassesController.(currentGradeField).(variable initialization expression)
  3035. %17 = function_ref @_TIvC3gpa20AddClassesController17currentGradeFieldGSQCSo11UITextField_i : $@convention(thin) () -> @owned Optional<UITextField>, scope 117 // user: %18
  3036. %18 = apply %17() : $@convention(thin) () -> @owned Optional<UITextField>, scope 117 // user: %21
  3037. %19 = load_borrow %4 : $*AddClassesController, loc "AddClassesController.swift":29:19, scope 117 // user: %20
  3038. %20 = ref_element_addr %19 : $AddClassesController, #AddClassesController.currentGradeField, loc "AddClassesController.swift":29:19, scope 117 // user: %21
  3039. assign %18 to %20 : $*Optional<UITextField>, loc "AddClassesController.swift":29:19, scope 117 // id: %21
  3040. // function_ref AddClassesController.(creditsField).(variable initialization expression)
  3041. %22 = function_ref @_TIvC3gpa20AddClassesController12creditsFieldGSQCSo11UITextField_i : $@convention(thin) () -> @owned Optional<UITextField>, scope 117 // user: %23
  3042. %23 = apply %22() : $@convention(thin) () -> @owned Optional<UITextField>, scope 117 // user: %26
  3043. %24 = load_borrow %4 : $*AddClassesController, loc "AddClassesController.swift":30:19, scope 117 // user: %25
  3044. %25 = ref_element_addr %24 : $AddClassesController, #AddClassesController.creditsField, loc "AddClassesController.swift":30:19, scope 117 // user: %26
  3045. assign %23 to %25 : $*Optional<UITextField>, loc "AddClassesController.swift":30:19, scope 117 // id: %26
  3046. // function_ref AddClassesController.(multiplierBar).(variable initialization expression)
  3047. %27 = function_ref @_TIvC3gpa20AddClassesController13multiplierBarGSQCSo18UISegmentedControl_i : $@convention(thin) () -> @owned Optional<UISegmentedControl>, scope 117 // user: %28
  3048. %28 = apply %27() : $@convention(thin) () -> @owned Optional<UISegmentedControl>, scope 117 // user: %31
  3049. %29 = load_borrow %4 : $*AddClassesController, loc "AddClassesController.swift":32:19, scope 117 // user: %30
  3050. %30 = ref_element_addr %29 : $AddClassesController, #AddClassesController.multiplierBar, loc "AddClassesController.swift":32:19, scope 117 // user: %31
  3051. assign %28 to %30 : $*Optional<UISegmentedControl>, loc "AddClassesController.swift":32:19, scope 117 // id: %31
  3052. // function_ref AddClassesController.(creditsBar).(variable initialization expression)
  3053. %32 = function_ref @_TIvC3gpa20AddClassesController10creditsBarGSQCSo18UISegmentedControl_i : $@convention(thin) () -> @owned Optional<UISegmentedControl>, scope 117 // user: %33
  3054. %33 = apply %32() : $@convention(thin) () -> @owned Optional<UISegmentedControl>, scope 117 // user: %36
  3055. %34 = load_borrow %4 : $*AddClassesController, loc "AddClassesController.swift":33:19, scope 117 // user: %35
  3056. %35 = ref_element_addr %34 : $AddClassesController, #AddClassesController.creditsBar, loc "AddClassesController.swift":33:19, scope 117 // user: %36
  3057. assign %33 to %35 : $*Optional<UISegmentedControl>, loc "AddClassesController.swift":33:19, scope 117 // id: %36
  3058. // function_ref AddClassesController.(warningLabel).(variable initialization expression)
  3059. %37 = function_ref @_TIvC3gpa20AddClassesController12warningLabelGSQCSo7UILabel_i : $@convention(thin) () -> @owned Optional<UILabel>, scope 117 // user: %38
  3060. %38 = apply %37() : $@convention(thin) () -> @owned Optional<UILabel>, scope 117 // user: %41
  3061. %39 = load_borrow %4 : $*AddClassesController, loc "AddClassesController.swift":35:19, scope 117 // user: %40
  3062. %40 = ref_element_addr %39 : $AddClassesController, #AddClassesController.warningLabel, loc "AddClassesController.swift":35:19, scope 117 // user: %41
  3063. assign %38 to %40 : $*Optional<UILabel>, loc "AddClassesController.swift":35:19, scope 117 // id: %41
  3064. // function_ref AddClassesController.(addClassButton).(variable initialization expression)
  3065. %42 = function_ref @_TIvC3gpa20AddClassesController14addClassButtonGSQCSo8UIButton_i : $@convention(thin) () -> @owned Optional<UIButton>, scope 117 // user: %43
  3066. %43 = apply %42() : $@convention(thin) () -> @owned Optional<UIButton>, scope 117 // user: %46
  3067. %44 = load_borrow %4 : $*AddClassesController, loc "AddClassesController.swift":37:19, scope 117 // user: %45
  3068. %45 = ref_element_addr %44 : $AddClassesController, #AddClassesController.addClassButton, loc "AddClassesController.swift":37:19, scope 117 // user: %46
  3069. assign %43 to %45 : $*Optional<UIButton>, loc "AddClassesController.swift":37:19, scope 117 // id: %46
  3070. // function_ref AddClassesController.(cancelButton).(variable initialization expression)
  3071. %47 = function_ref @_TIvC3gpa20AddClassesController12cancelButtonGSQCSo15UIBarButtonItem_i : $@convention(thin) () -> @owned Optional<UIBarButtonItem>, scope 117 // user: %48
  3072. %48 = apply %47() : $@convention(thin) () -> @owned Optional<UIBarButtonItem>, scope 117 // user: %51
  3073. %49 = load_borrow %4 : $*AddClassesController, loc "AddClassesController.swift":38:19, scope 117 // user: %50
  3074. %50 = ref_element_addr %49 : $AddClassesController, #AddClassesController.cancelButton, loc "AddClassesController.swift":38:19, scope 117 // user: %51
  3075. assign %48 to %50 : $*Optional<UIBarButtonItem>, loc "AddClassesController.swift":38:19, scope 117 // id: %51
  3076. %52 = load_borrow %4 : $*AddClassesController, scope 118 // users: %54, %53
  3077. %53 = upcast %52 : $AddClassesController to $UIViewController, scope 118 // user: %55
  3078. %54 = super_method [volatile] %52 : $AddClassesController, #UIViewController.init!initializer.1.foreign : (UIViewController.Type) -> (NSCoder) -> UIViewController? , $@convention(objc_method) (NSCoder, @owned UIViewController) -> @owned Optional<UIViewController>, scope 118 // user: %55
  3079. %55 = apply %54(%0, %53) : $@convention(objc_method) (NSCoder, @owned UIViewController) -> @owned Optional<UIViewController>, scope 118 // users: %60, %58
  3080. %56 = integer_literal $Builtin.Int1, -1, scope 118 // user: %58
  3081. %57 = integer_literal $Builtin.Int1, 0, scope 118 // user: %58
  3082. %58 = select_enum %55 : $Optional<UIViewController>, case #Optional.some!enumelt.1: %56, default %57 : $Builtin.Int1, scope 118 // user: %59
  3083. cond_br %58, bb1, bb2, scope 118 // id: %59
  3084.  
  3085. bb1: // Preds: bb0
  3086. %60 = unchecked_enum_data %55 : $Optional<UIViewController>, #Optional.some!enumelt.1, scope 118 // user: %61
  3087. %61 = unchecked_ref_cast %60 : $UIViewController to $AddClassesController, scope 118 // user: %62
  3088. store %61 to [init] %4 : $*AddClassesController, scope 118 // id: %62
  3089. %63 = load [copy] %4 : $*AddClassesController, loc "AddClassesController.swift":25:46, scope 118 // user: %64
  3090. %64 = enum $Optional<AddClassesController>, #Optional.some!enumelt.1, %63 : $AddClassesController, scope 118 // user: %67
  3091. destroy_value %0 : $NSCoder, loc "AddClassesController.swift":25:46, scope 118 // id: %65
  3092. destroy_value %2 : ${ var AddClassesController }, loc "AddClassesController.swift":25:46, scope 118 // id: %66
  3093. br bb3(%64 : $Optional<AddClassesController>), loc "AddClassesController.swift":25:46, scope 118 // id: %67
  3094.  
  3095. bb2: // Preds: bb0
  3096. destroy_value %0 : $NSCoder, loc "AddClassesController.swift":25:46, scope 117 // id: %68
  3097. destroy_value %2 : ${ var AddClassesController }, loc "AddClassesController.swift":25:46, scope 117 // id: %69
  3098. %70 = enum $Optional<AddClassesController>, #Optional.none!enumelt, scope 117 // user: %71
  3099. br bb3(%70 : $Optional<AddClassesController>), scope 117 // id: %71
  3100.  
  3101. // %72 // user: %73
  3102. bb3(%72 : $Optional<AddClassesController>): // Preds: bb1 bb2
  3103. return %72 : $Optional<AddClassesController>, scope 117 // id: %73
  3104. } // end sil function '_TFC3gpa20AddClassesControllercfT5coderCSo7NSCoder_GSqS0__'
  3105.  
  3106. sil_scope 119 { loc "AddClassesController.swift":25:46 parent @_TToFC3gpa20AddClassesControllercfT5coderCSo7NSCoder_GSqS0__ : $@convention(objc_method) (NSCoder, @owned AddClassesController) -> @owned Optional<AddClassesController> }
  3107.  
  3108. // @objc AddClassesController.init(coder : NSCoder) -> AddClassesController?
  3109. sil hidden [thunk] @_TToFC3gpa20AddClassesControllercfT5coderCSo7NSCoder_GSqS0__ : $@convention(objc_method) (NSCoder, @owned AddClassesController) -> @owned Optional<AddClassesController> {
  3110. // %0 // user: %2
  3111. // %1 // user: %4
  3112. bb0(%0 : $NSCoder, %1 : $AddClassesController):
  3113. %2 = copy_value %0 : $NSCoder, scope 119 // user: %4
  3114. // function_ref AddClassesController.init(coder : NSCoder) -> AddClassesController?
  3115. %3 = function_ref @_TFC3gpa20AddClassesControllercfT5coderCSo7NSCoder_GSqS0__ : $@convention(method) (@owned NSCoder, @owned AddClassesController) -> @owned Optional<AddClassesController>, scope 119 // user: %4
  3116. %4 = apply %3(%2, %1) : $@convention(method) (@owned NSCoder, @owned AddClassesController) -> @owned Optional<AddClassesController>, scope 119 // user: %5
  3117. return %4 : $Optional<AddClassesController>, scope 119 // id: %5
  3118. } // end sil function '_TToFC3gpa20AddClassesControllercfT5coderCSo7NSCoder_GSqS0__'
  3119.  
  3120. sil_vtable AddClassesController {
  3121. #AddClassesController.viewDidLoad!1: _TFC3gpa20AddClassesController11viewDidLoadfT_T_ // AddClassesController.viewDidLoad() -> ()
  3122. #AddClassesController.didReceiveMemoryWarning!1: _TFC3gpa20AddClassesController23didReceiveMemoryWarningfT_T_ // AddClassesController.didReceiveMemoryWarning() -> ()
  3123. #AddClassesController.addNewClass!1: _TFC3gpa20AddClassesController11addNewClassfP_T_ // AddClassesController.addNewClass(Any) -> ()
  3124. #AddClassesController.touchesBegan!1: _TFC3gpa20AddClassesController12touchesBeganfTGVs3SetCSo7UITouch_4withGSqCSo7UIEvent__T_ // AddClassesController.touchesBegan(Set<UITouch>, with : UIEvent?) -> ()
  3125. #AddClassesController.deinit!deallocator: _TFC3gpa20AddClassesControllerD // AddClassesController.__deallocating_deinit
  3126. #AddClassesController.classNameField!getter.1: _TFC3gpa20AddClassesControllerg14classNameFieldGSQCSo11UITextField_ // AddClassesController.classNameField.getter
  3127. #AddClassesController.classNameField!setter.1: _TFC3gpa20AddClassesControllers14classNameFieldGSQCSo11UITextField_ // AddClassesController.classNameField.setter
  3128. #AddClassesController.classNameField!materializeForSet.1: _TFC3gpa20AddClassesControllerm14classNameFieldGSQCSo11UITextField_ // AddClassesController.classNameField.materializeForSet
  3129. #AddClassesController.multiplierField!getter.1: _TFC3gpa20AddClassesControllerg15multiplierFieldGSQCSo11UITextField_ // AddClassesController.multiplierField.getter
  3130. #AddClassesController.multiplierField!setter.1: _TFC3gpa20AddClassesControllers15multiplierFieldGSQCSo11UITextField_ // AddClassesController.multiplierField.setter
  3131. #AddClassesController.multiplierField!materializeForSet.1: _TFC3gpa20AddClassesControllerm15multiplierFieldGSQCSo11UITextField_ // AddClassesController.multiplierField.materializeForSet
  3132. #AddClassesController.currentGradeField!getter.1: _TFC3gpa20AddClassesControllerg17currentGradeFieldGSQCSo11UITextField_ // AddClassesController.currentGradeField.getter
  3133. #AddClassesController.currentGradeField!setter.1: _TFC3gpa20AddClassesControllers17currentGradeFieldGSQCSo11UITextField_ // AddClassesController.currentGradeField.setter
  3134. #AddClassesController.currentGradeField!materializeForSet.1: _TFC3gpa20AddClassesControllerm17currentGradeFieldGSQCSo11UITextField_ // AddClassesController.currentGradeField.materializeForSet
  3135. #AddClassesController.creditsField!getter.1: _TFC3gpa20AddClassesControllerg12creditsFieldGSQCSo11UITextField_ // AddClassesController.creditsField.getter
  3136. #AddClassesController.creditsField!setter.1: _TFC3gpa20AddClassesControllers12creditsFieldGSQCSo11UITextField_ // AddClassesController.creditsField.setter
  3137. #AddClassesController.creditsField!materializeForSet.1: _TFC3gpa20AddClassesControllerm12creditsFieldGSQCSo11UITextField_ // AddClassesController.creditsField.materializeForSet
  3138. #AddClassesController.multiplierBar!getter.1: _TFC3gpa20AddClassesControllerg13multiplierBarGSQCSo18UISegmentedControl_ // AddClassesController.multiplierBar.getter
  3139. #AddClassesController.multiplierBar!setter.1: _TFC3gpa20AddClassesControllers13multiplierBarGSQCSo18UISegmentedControl_ // AddClassesController.multiplierBar.setter
  3140. #AddClassesController.multiplierBar!materializeForSet.1: _TFC3gpa20AddClassesControllerm13multiplierBarGSQCSo18UISegmentedControl_ // AddClassesController.multiplierBar.materializeForSet
  3141. #AddClassesController.creditsBar!getter.1: _TFC3gpa20AddClassesControllerg10creditsBarGSQCSo18UISegmentedControl_ // AddClassesController.creditsBar.getter
  3142. #AddClassesController.creditsBar!setter.1: _TFC3gpa20AddClassesControllers10creditsBarGSQCSo18UISegmentedControl_ // AddClassesController.creditsBar.setter
  3143. #AddClassesController.creditsBar!materializeForSet.1: _TFC3gpa20AddClassesControllerm10creditsBarGSQCSo18UISegmentedControl_ // AddClassesController.creditsBar.materializeForSet
  3144. #AddClassesController.warningLabel!getter.1: _TFC3gpa20AddClassesControllerg12warningLabelGSQCSo7UILabel_ // AddClassesController.warningLabel.getter
  3145. #AddClassesController.warningLabel!setter.1: _TFC3gpa20AddClassesControllers12warningLabelGSQCSo7UILabel_ // AddClassesController.warningLabel.setter
  3146. #AddClassesController.warningLabel!materializeForSet.1: _TFC3gpa20AddClassesControllerm12warningLabelGSQCSo7UILabel_ // AddClassesController.warningLabel.materializeForSet
  3147. #AddClassesController.addClassButton!getter.1: _TFC3gpa20AddClassesControllerg14addClassButtonGSQCSo8UIButton_ // AddClassesController.addClassButton.getter
  3148. #AddClassesController.addClassButton!setter.1: _TFC3gpa20AddClassesControllers14addClassButtonGSQCSo8UIButton_ // AddClassesController.addClassButton.setter
  3149. #AddClassesController.addClassButton!materializeForSet.1: _TFC3gpa20AddClassesControllerm14addClassButtonGSQCSo8UIButton_ // AddClassesController.addClassButton.materializeForSet
  3150. #AddClassesController.cancelButton!getter.1: _TFC3gpa20AddClassesControllerg12cancelButtonGSQCSo15UIBarButtonItem_ // AddClassesController.cancelButton.getter
  3151. #AddClassesController.cancelButton!setter.1: _TFC3gpa20AddClassesControllers12cancelButtonGSQCSo15UIBarButtonItem_ // AddClassesController.cancelButton.setter
  3152. #AddClassesController.cancelButton!materializeForSet.1: _TFC3gpa20AddClassesControllerm12cancelButtonGSQCSo15UIBarButtonItem_ // AddClassesController.cancelButton.materializeForSet
  3153. #AddClassesController.init!initializer.1: _TFC3gpa20AddClassesControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ // AddClassesController.init(nibName : String?, bundle : Bundle?) -> AddClassesController
  3154. #AddClassesController.init!allocator.1: _TFC3gpa20AddClassesControllerCfT5coderCSo7NSCoder_GSqS0__ // AddClassesController.__allocating_init(coder : NSCoder) -> AddClassesController?
  3155. #AddClassesController.init!initializer.1: _TFC3gpa20AddClassesControllercfT5coderCSo7NSCoder_GSqS0__ // AddClassesController.init(coder : NSCoder) -> AddClassesController?
  3156. }
  3157.  
  3158. sil_witness_table shared NSObject: AnyObject module ObjectiveC
  3159.  
  3160.  
  3161.  
  3162. sil_stage raw
  3163.  
  3164. import Builtin
  3165. import Swift
  3166. import SwiftShims
  3167.  
  3168. sil_scope 1 { parent @_TIvC3gpa11AppDelegate6windowGSqCSo8UIWindow_i : $@convention(thin) () -> @owned Optional<UIWindow> }
  3169.  
  3170. // AppDelegate.(window).(variable initialization expression)
  3171. sil hidden [transparent] @_TIvC3gpa11AppDelegate6windowGSqCSo8UIWindow_i : $@convention(thin) () -> @owned Optional<UIWindow> {
  3172. bb0:
  3173. // function_ref Optional.init(nilLiteral : ()) -> A?
  3174. %0 = function_ref @_TFSqCfT10nilLiteralT__GSqx_ : $@convention(method) <τ_0_0> (@thin Optional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 1 // user: %3
  3175. %1 = metatype $@thin Optional<UIWindow>.Type, scope 1 // user: %3
  3176. %2 = alloc_stack $Optional<UIWindow>, scope 1 // users: %5, %4, %3
  3177. %3 = apply %0<UIWindow>(%2, %1) : $@convention(method) <τ_0_0> (@thin Optional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 1
  3178. %4 = load [take] %2 : $*Optional<UIWindow>, scope 1 // user: %6
  3179. dealloc_stack %2 : $*Optional<UIWindow>, scope 1 // id: %5
  3180. return %4 : $Optional<UIWindow>, scope 1 // id: %6
  3181. } // end sil function '_TIvC3gpa11AppDelegate6windowGSqCSo8UIWindow_i'
  3182.  
  3183.  
  3184. // Optional.init(nilLiteral : ()) -> A?
  3185. sil [transparent] [fragile] @_TFSqCfT10nilLiteralT__GSqx_ : $@convention(method) <τ_0_0> (@thin Optional<τ_0_0>.Type) -> @out Optional<τ_0_0>
  3186.  
  3187. sil_scope 2 { parent @_TToFC3gpa11AppDelegateg6windowGSqCSo8UIWindow_ : $@convention(objc_method) (AppDelegate) -> @autoreleased Optional<UIWindow> }
  3188.  
  3189. // @objc AppDelegate.window.getter
  3190. sil hidden [thunk] @_TToFC3gpa11AppDelegateg6windowGSqCSo8UIWindow_ : $@convention(objc_method) (AppDelegate) -> @autoreleased Optional<UIWindow> {
  3191. // %0 // user: %1
  3192. bb0(%0 : $AppDelegate):
  3193. %1 = copy_value %0 : $AppDelegate, scope 2 // users: %4, %3
  3194. // function_ref AppDelegate.window.getter
  3195. %2 = function_ref @_TFC3gpa11AppDelegateg6windowGSqCSo8UIWindow_ : $@convention(method) (@guaranteed AppDelegate) -> @owned Optional<UIWindow>, scope 2 // user: %3
  3196. %3 = apply %2(%1) : $@convention(method) (@guaranteed AppDelegate) -> @owned Optional<UIWindow>, scope 2 // user: %5
  3197. destroy_value %1 : $AppDelegate, scope 2 // id: %4
  3198. return %3 : $Optional<UIWindow>, scope 2 // id: %5
  3199. } // end sil function '_TToFC3gpa11AppDelegateg6windowGSqCSo8UIWindow_'
  3200.  
  3201. sil_scope 3 { loc "AppDelegate.swift":28:9 parent @_TFC3gpa11AppDelegateg6windowGSqCSo8UIWindow_ : $@convention(method) (@guaranteed AppDelegate) -> @owned Optional<UIWindow> }
  3202. sil_scope 4 { loc "AppDelegate.swift":28:9 parent 3 }
  3203.  
  3204. // AppDelegate.window.getter
  3205. sil hidden @_TFC3gpa11AppDelegateg6windowGSqCSo8UIWindow_ : $@convention(method) (@guaranteed AppDelegate) -> @owned Optional<UIWindow> {
  3206. // %0 // users: %2, %1
  3207. bb0(%0 : $AppDelegate):
  3208. debug_value %0 : $AppDelegate, let, name "self", argno 1, loc "AppDelegate.swift":28:9, scope 3 // id: %1
  3209. %2 = ref_element_addr %0 : $AppDelegate, #AppDelegate.window, scope 4 // user: %3
  3210. %3 = load [copy] %2 : $*Optional<UIWindow>, scope 4 // user: %4
  3211. return %3 : $Optional<UIWindow>, loc "AppDelegate.swift":28:9, scope 4 // id: %4
  3212. } // end sil function '_TFC3gpa11AppDelegateg6windowGSqCSo8UIWindow_'
  3213.  
  3214. sil_scope 5 { parent @_TToFC3gpa11AppDelegates6windowGSqCSo8UIWindow_ : $@convention(objc_method) (Optional<UIWindow>, AppDelegate) -> () }
  3215.  
  3216. // @objc AppDelegate.window.setter
  3217. sil hidden [thunk] @_TToFC3gpa11AppDelegates6windowGSqCSo8UIWindow_ : $@convention(objc_method) (Optional<UIWindow>, AppDelegate) -> () {
  3218. // %0 // user: %2
  3219. // %1 // user: %3
  3220. bb0(%0 : $Optional<UIWindow>, %1 : $AppDelegate):
  3221. %2 = copy_value %0 : $Optional<UIWindow>, scope 5 // user: %5
  3222. %3 = copy_value %1 : $AppDelegate, scope 5 // users: %6, %5
  3223. // function_ref AppDelegate.window.setter
  3224. %4 = function_ref @_TFC3gpa11AppDelegates6windowGSqCSo8UIWindow_ : $@convention(method) (@owned Optional<UIWindow>, @guaranteed AppDelegate) -> (), scope 5 // user: %5
  3225. %5 = apply %4(%2, %3) : $@convention(method) (@owned Optional<UIWindow>, @guaranteed AppDelegate) -> (), scope 5 // user: %7
  3226. destroy_value %3 : $AppDelegate, scope 5 // id: %6
  3227. return %5 : $(), scope 5 // id: %7
  3228. } // end sil function '_TToFC3gpa11AppDelegates6windowGSqCSo8UIWindow_'
  3229.  
  3230. sil_scope 6 { loc "AppDelegate.swift":28:9 parent @_TFC3gpa11AppDelegates6windowGSqCSo8UIWindow_ : $@convention(method) (@owned Optional<UIWindow>, @guaranteed AppDelegate) -> () }
  3231. sil_scope 7 { loc "AppDelegate.swift":28:9 parent 6 }
  3232.  
  3233. // AppDelegate.window.setter
  3234. sil hidden @_TFC3gpa11AppDelegates6windowGSqCSo8UIWindow_ : $@convention(method) (@owned Optional<UIWindow>, @guaranteed AppDelegate) -> () {
  3235. // %0 // users: %7, %4, %2
  3236. // %1 // users: %5, %3
  3237. bb0(%0 : $Optional<UIWindow>, %1 : $AppDelegate):
  3238. debug_value %0 : $Optional<UIWindow>, let, name "value", argno 1, loc "AppDelegate.swift":28:9, scope 6 // id: %2
  3239. debug_value %1 : $AppDelegate, let, name "self", argno 2, loc "AppDelegate.swift":28:9, scope 6 // id: %3
  3240. %4 = copy_value %0 : $Optional<UIWindow>, scope 7 // user: %6
  3241. %5 = ref_element_addr %1 : $AppDelegate, #AppDelegate.window, scope 7 // user: %6
  3242. assign %4 to %5 : $*Optional<UIWindow>, scope 7 // id: %6
  3243. destroy_value %0 : $Optional<UIWindow>, loc "AppDelegate.swift":28:9, scope 7 // id: %7
  3244. %8 = tuple (), loc "AppDelegate.swift":28:9, scope 7 // user: %9
  3245. return %8 : $(), loc "AppDelegate.swift":28:9, scope 7 // id: %9
  3246. } // end sil function '_TFC3gpa11AppDelegates6windowGSqCSo8UIWindow_'
  3247.  
  3248. sil_scope 8 { loc "AppDelegate.swift":30:10 parent @_TFC3gpa11AppDelegate11applicationfTCSo13UIApplication29didFinishLaunchingWithOptionsGSqGVs10DictionaryVSC29UIApplicationLaunchOptionsKeyP____Sb : $@convention(method) (@owned UIApplication, @owned Optional<Dictionary<UIApplicationLaunchOptionsKey, Any>>, @guaranteed AppDelegate) -> Bool }
  3249. sil_scope 9 { loc "AppDelegate.swift":33:5 parent 8 }
  3250.  
  3251. // AppDelegate.application(UIApplication, didFinishLaunchingWithOptions : [UIApplicationLaunchOptionsKey : Any]?) -> Bool
  3252. sil hidden @_TFC3gpa11AppDelegate11applicationfTCSo13UIApplication29didFinishLaunchingWithOptionsGSqGVs10DictionaryVSC29UIApplicationLaunchOptionsKeyP____Sb : $@convention(method) (@owned UIApplication, @owned Optional<Dictionary<UIApplicationLaunchOptionsKey, Any>>, @guaranteed AppDelegate) -> Bool {
  3253. // %0 // users: %11, %3
  3254. // %1 // users: %10, %4
  3255. // %2 // user: %5
  3256. bb0(%0 : $UIApplication, %1 : $Optional<Dictionary<UIApplicationLaunchOptionsKey, Any>>, %2 : $AppDelegate):
  3257. debug_value %0 : $UIApplication, let, name "application", argno 1, loc "AppDelegate.swift":30:24, scope 8 // id: %3
  3258. debug_value %1 : $Optional<Dictionary<UIApplicationLaunchOptionsKey, Any>>, let, name "launchOptions", argno 2, loc "AppDelegate.swift":30:82, scope 8 // id: %4
  3259. debug_value %2 : $AppDelegate, let, name "self", argno 3, loc "AppDelegate.swift":30:10, scope 8 // id: %5
  3260. // function_ref Bool.init(_builtinBooleanLiteral : Builtin.Int1) -> Bool
  3261. %6 = function_ref @_TFSbCfT22_builtinBooleanLiteralBi1__Sb : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "AppDelegate.swift":32:16, scope 9 // user: %9
  3262. %7 = metatype $@thin Bool.Type, loc "AppDelegate.swift":32:16, scope 9 // user: %9
  3263. %8 = integer_literal $Builtin.Int1, -1, loc "AppDelegate.swift":32:16, scope 9 // user: %9
  3264. %9 = apply %6(%8, %7) : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "AppDelegate.swift":32:16, scope 9 // user: %12
  3265. destroy_value %1 : $Optional<Dictionary<UIApplicationLaunchOptionsKey, Any>>, loc "AppDelegate.swift":33:5, scope 9 // id: %10
  3266. destroy_value %0 : $UIApplication, loc "AppDelegate.swift":33:5, scope 9 // id: %11
  3267. return %9 : $Bool, loc "AppDelegate.swift":32:9, scope 9 // id: %12
  3268. } // end sil function '_TFC3gpa11AppDelegate11applicationfTCSo13UIApplication29didFinishLaunchingWithOptionsGSqGVs10DictionaryVSC29UIApplicationLaunchOptionsKeyP____Sb'
  3269.  
  3270.  
  3271. // Bool.init(_builtinBooleanLiteral : Builtin.Int1) -> Bool
  3272. sil [transparent] [fragile] @_TFSbCfT22_builtinBooleanLiteralBi1__Sb : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool
  3273.  
  3274. sil_scope 10 { loc "AppDelegate.swift":30:10 parent @_TToFC3gpa11AppDelegate11applicationfTCSo13UIApplication29didFinishLaunchingWithOptionsGSqGVs10DictionaryVSC29UIApplicationLaunchOptionsKeyP____Sb : $@convention(objc_method) (UIApplication, Optional<NSDictionary>, AppDelegate) -> ObjCBool }
  3275.  
  3276. // @objc AppDelegate.application(UIApplication, didFinishLaunchingWithOptions : [UIApplicationLaunchOptionsKey : Any]?) -> Bool
  3277. sil hidden [thunk] @_TToFC3gpa11AppDelegate11applicationfTCSo13UIApplication29didFinishLaunchingWithOptionsGSqGVs10DictionaryVSC29UIApplicationLaunchOptionsKeyP____Sb : $@convention(objc_method) (UIApplication, Optional<NSDictionary>, AppDelegate) -> ObjCBool {
  3278. // %0 // user: %3
  3279. // %1 // user: %4
  3280. // %2 // user: %5
  3281. bb0(%0 : $UIApplication, %1 : $Optional<NSDictionary>, %2 : $AppDelegate):
  3282. %3 = copy_value %0 : $UIApplication, scope 10 // user: %21
  3283. %4 = copy_value %1 : $Optional<NSDictionary>, scope 10 // users: %10, %8
  3284. %5 = copy_value %2 : $AppDelegate, scope 10 // users: %22, %21
  3285. %6 = integer_literal $Builtin.Int1, -1, scope 10 // user: %8
  3286. %7 = integer_literal $Builtin.Int1, 0, scope 10 // user: %8
  3287. %8 = select_enum %4 : $Optional<NSDictionary>, case #Optional.some!enumelt.1: %6, default %7 : $Builtin.Int1, scope 10 // user: %9
  3288. cond_br %8, bb1, bb2, scope 10 // id: %9
  3289.  
  3290. bb1: // Preds: bb0
  3291. %10 = unchecked_enum_data %4 : $Optional<NSDictionary>, #Optional.some!enumelt.1, scope 10 // user: %12
  3292. // function_ref static Dictionary._unconditionallyBridgeFromObjectiveC(NSDictionary?) -> [A : B]
  3293. %11 = function_ref @_TZFE10FoundationVs10Dictionary36_unconditionallyBridgeFromObjectiveCfGSqCSo12NSDictionary_GS0_xq__ : $@convention(method) <τ_0_0, τ_0_1 where τ_0_0 : Hashable> (@owned Optional<NSDictionary>, @thin Dictionary<τ_0_0, τ_0_1>.Type) -> @owned Dictionary<τ_0_0, τ_0_1>, scope 10 // user: %14
  3294. %12 = enum $Optional<NSDictionary>, #Optional.some!enumelt.1, %10 : $NSDictionary, scope 10 // user: %14
  3295. %13 = metatype $@thin Dictionary<UIApplicationLaunchOptionsKey, Any>.Type, scope 10 // user: %14
  3296. %14 = apply %11<UIApplicationLaunchOptionsKey, Any>(%12, %13) : $@convention(method) <τ_0_0, τ_0_1 where τ_0_0 : Hashable> (@owned Optional<NSDictionary>, @thin Dictionary<τ_0_0, τ_0_1>.Type) -> @owned Dictionary<τ_0_0, τ_0_1>, scope 10 // user: %15
  3297. %15 = enum $Optional<Dictionary<UIApplicationLaunchOptionsKey, Any>>, #Optional.some!enumelt.1, %14 : $Dictionary<UIApplicationLaunchOptionsKey, Any>, scope 10 // user: %16
  3298. br bb3(%15 : $Optional<Dictionary<UIApplicationLaunchOptionsKey, Any>>), scope 10 // id: %16
  3299.  
  3300. bb2: // Preds: bb0
  3301. %17 = enum $Optional<Dictionary<UIApplicationLaunchOptionsKey, Any>>, #Optional.none!enumelt, scope 10 // user: %18
  3302. br bb3(%17 : $Optional<Dictionary<UIApplicationLaunchOptionsKey, Any>>), scope 10 // id: %18
  3303.  
  3304. // %19 // user: %21
  3305. bb3(%19 : $Optional<Dictionary<UIApplicationLaunchOptionsKey, Any>>): // Preds: bb2 bb1
  3306. // function_ref AppDelegate.application(UIApplication, didFinishLaunchingWithOptions : [UIApplicationLaunchOptionsKey : Any]?) -> Bool
  3307. %20 = function_ref @_TFC3gpa11AppDelegate11applicationfTCSo13UIApplication29didFinishLaunchingWithOptionsGSqGVs10DictionaryVSC29UIApplicationLaunchOptionsKeyP____Sb : $@convention(method) (@owned UIApplication, @owned Optional<Dictionary<UIApplicationLaunchOptionsKey, Any>>, @guaranteed AppDelegate) -> Bool, scope 10 // user: %21
  3308. %21 = apply %20(%3, %19, %5) : $@convention(method) (@owned UIApplication, @owned Optional<Dictionary<UIApplicationLaunchOptionsKey, Any>>, @guaranteed AppDelegate) -> Bool, scope 10 // user: %24
  3309. destroy_value %5 : $AppDelegate, scope 10 // id: %22
  3310. // function_ref _convertBoolToObjCBool(Bool) -> ObjCBool
  3311. %23 = function_ref @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool, scope 10 // user: %24
  3312. %24 = apply %23(%21) : $@convention(thin) (Bool) -> ObjCBool, scope 10 // user: %25
  3313. return %24 : $ObjCBool, scope 10 // id: %25
  3314. } // end sil function '_TToFC3gpa11AppDelegate11applicationfTCSo13UIApplication29didFinishLaunchingWithOptionsGSqGVs10DictionaryVSC29UIApplicationLaunchOptionsKeyP____Sb'
  3315.  
  3316.  
  3317. // static Dictionary._unconditionallyBridgeFromObjectiveC(NSDictionary?) -> [A : B]
  3318. sil @_TZFE10FoundationVs10Dictionary36_unconditionallyBridgeFromObjectiveCfGSqCSo12NSDictionary_GS0_xq__ : $@convention(method) <τ_0_0, τ_0_1 where τ_0_0 : Hashable> (@owned Optional<NSDictionary>, @thin Dictionary<τ_0_0, τ_0_1>.Type) -> @owned Dictionary<τ_0_0, τ_0_1>
  3319.  
  3320.  
  3321. // _convertBoolToObjCBool(Bool) -> ObjCBool
  3322. sil @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool
  3323.  
  3324. sil_scope 11 { loc "AppDelegate.swift":35:10 parent @_TFC3gpa11AppDelegate27applicationWillResignActivefCSo13UIApplicationT_ : $@convention(method) (@owned UIApplication, @guaranteed AppDelegate) -> () }
  3325. sil_scope 12 { loc "AppDelegate.swift":38:5 parent 11 }
  3326.  
  3327. // AppDelegate.applicationWillResignActive(UIApplication) -> ()
  3328. sil hidden @_TFC3gpa11AppDelegate27applicationWillResignActivefCSo13UIApplicationT_ : $@convention(method) (@owned UIApplication, @guaranteed AppDelegate) -> () {
  3329. // %0 // users: %4, %2
  3330. // %1 // user: %3
  3331. bb0(%0 : $UIApplication, %1 : $AppDelegate):
  3332. debug_value %0 : $UIApplication, let, name "application", argno 1, loc "AppDelegate.swift":35:40, scope 11 // id: %2
  3333. debug_value %1 : $AppDelegate, let, name "self", argno 2, loc "AppDelegate.swift":35:10, scope 11 // id: %3
  3334. destroy_value %0 : $UIApplication, loc "AppDelegate.swift":38:5, scope 12 // id: %4
  3335. %5 = tuple (), loc "AppDelegate.swift":38:5, scope 12 // user: %6
  3336. return %5 : $(), loc "AppDelegate.swift":38:5, scope 12 // id: %6
  3337. } // end sil function '_TFC3gpa11AppDelegate27applicationWillResignActivefCSo13UIApplicationT_'
  3338.  
  3339. sil_scope 13 { loc "AppDelegate.swift":35:10 parent @_TToFC3gpa11AppDelegate27applicationWillResignActivefCSo13UIApplicationT_ : $@convention(objc_method) (UIApplication, AppDelegate) -> () }
  3340.  
  3341. // @objc AppDelegate.applicationWillResignActive(UIApplication) -> ()
  3342. sil hidden [thunk] @_TToFC3gpa11AppDelegate27applicationWillResignActivefCSo13UIApplicationT_ : $@convention(objc_method) (UIApplication, AppDelegate) -> () {
  3343. // %0 // user: %2
  3344. // %1 // user: %3
  3345. bb0(%0 : $UIApplication, %1 : $AppDelegate):
  3346. %2 = copy_value %0 : $UIApplication, scope 13 // user: %5
  3347. %3 = copy_value %1 : $AppDelegate, scope 13 // users: %6, %5
  3348. // function_ref AppDelegate.applicationWillResignActive(UIApplication) -> ()
  3349. %4 = function_ref @_TFC3gpa11AppDelegate27applicationWillResignActivefCSo13UIApplicationT_ : $@convention(method) (@owned UIApplication, @guaranteed AppDelegate) -> (), scope 13 // user: %5
  3350. %5 = apply %4(%2, %3) : $@convention(method) (@owned UIApplication, @guaranteed AppDelegate) -> (), scope 13 // user: %7
  3351. destroy_value %3 : $AppDelegate, scope 13 // id: %6
  3352. return %5 : $(), scope 13 // id: %7
  3353. } // end sil function '_TToFC3gpa11AppDelegate27applicationWillResignActivefCSo13UIApplicationT_'
  3354.  
  3355. sil_scope 14 { loc "AppDelegate.swift":40:10 parent @_TFC3gpa11AppDelegate29applicationDidEnterBackgroundfCSo13UIApplicationT_ : $@convention(method) (@owned UIApplication, @guaranteed AppDelegate) -> () }
  3356. sil_scope 15 { loc "AppDelegate.swift":43:5 parent 14 }
  3357.  
  3358. // AppDelegate.applicationDidEnterBackground(UIApplication) -> ()
  3359. sil hidden @_TFC3gpa11AppDelegate29applicationDidEnterBackgroundfCSo13UIApplicationT_ : $@convention(method) (@owned UIApplication, @guaranteed AppDelegate) -> () {
  3360. // %0 // users: %4, %2
  3361. // %1 // user: %3
  3362. bb0(%0 : $UIApplication, %1 : $AppDelegate):
  3363. debug_value %0 : $UIApplication, let, name "application", argno 1, loc "AppDelegate.swift":40:42, scope 14 // id: %2
  3364. debug_value %1 : $AppDelegate, let, name "self", argno 2, loc "AppDelegate.swift":40:10, scope 14 // id: %3
  3365. destroy_value %0 : $UIApplication, loc "AppDelegate.swift":43:5, scope 15 // id: %4
  3366. %5 = tuple (), loc "AppDelegate.swift":43:5, scope 15 // user: %6
  3367. return %5 : $(), loc "AppDelegate.swift":43:5, scope 15 // id: %6
  3368. } // end sil function '_TFC3gpa11AppDelegate29applicationDidEnterBackgroundfCSo13UIApplicationT_'
  3369.  
  3370. sil_scope 16 { loc "AppDelegate.swift":40:10 parent @_TToFC3gpa11AppDelegate29applicationDidEnterBackgroundfCSo13UIApplicationT_ : $@convention(objc_method) (UIApplication, AppDelegate) -> () }
  3371.  
  3372. // @objc AppDelegate.applicationDidEnterBackground(UIApplication) -> ()
  3373. sil hidden [thunk] @_TToFC3gpa11AppDelegate29applicationDidEnterBackgroundfCSo13UIApplicationT_ : $@convention(objc_method) (UIApplication, AppDelegate) -> () {
  3374. // %0 // user: %2
  3375. // %1 // user: %3
  3376. bb0(%0 : $UIApplication, %1 : $AppDelegate):
  3377. %2 = copy_value %0 : $UIApplication, scope 16 // user: %5
  3378. %3 = copy_value %1 : $AppDelegate, scope 16 // users: %6, %5
  3379. // function_ref AppDelegate.applicationDidEnterBackground(UIApplication) -> ()
  3380. %4 = function_ref @_TFC3gpa11AppDelegate29applicationDidEnterBackgroundfCSo13UIApplicationT_ : $@convention(method) (@owned UIApplication, @guaranteed AppDelegate) -> (), scope 16 // user: %5
  3381. %5 = apply %4(%2, %3) : $@convention(method) (@owned UIApplication, @guaranteed AppDelegate) -> (), scope 16 // user: %7
  3382. destroy_value %3 : $AppDelegate, scope 16 // id: %6
  3383. return %5 : $(), scope 16 // id: %7
  3384. } // end sil function '_TToFC3gpa11AppDelegate29applicationDidEnterBackgroundfCSo13UIApplicationT_'
  3385.  
  3386. sil_scope 17 { loc "AppDelegate.swift":45:10 parent @_TFC3gpa11AppDelegate30applicationWillEnterForegroundfCSo13UIApplicationT_ : $@convention(method) (@owned UIApplication, @guaranteed AppDelegate) -> () }
  3387. sil_scope 18 { loc "AppDelegate.swift":47:5 parent 17 }
  3388.  
  3389. // AppDelegate.applicationWillEnterForeground(UIApplication) -> ()
  3390. sil hidden @_TFC3gpa11AppDelegate30applicationWillEnterForegroundfCSo13UIApplicationT_ : $@convention(method) (@owned UIApplication, @guaranteed AppDelegate) -> () {
  3391. // %0 // users: %4, %2
  3392. // %1 // user: %3
  3393. bb0(%0 : $UIApplication, %1 : $AppDelegate):
  3394. debug_value %0 : $UIApplication, let, name "application", argno 1, loc "AppDelegate.swift":45:43, scope 17 // id: %2
  3395. debug_value %1 : $AppDelegate, let, name "self", argno 2, loc "AppDelegate.swift":45:10, scope 17 // id: %3
  3396. destroy_value %0 : $UIApplication, loc "AppDelegate.swift":47:5, scope 18 // id: %4
  3397. %5 = tuple (), loc "AppDelegate.swift":47:5, scope 18 // user: %6
  3398. return %5 : $(), loc "AppDelegate.swift":47:5, scope 18 // id: %6
  3399. } // end sil function '_TFC3gpa11AppDelegate30applicationWillEnterForegroundfCSo13UIApplicationT_'
  3400.  
  3401. sil_scope 19 { loc "AppDelegate.swift":45:10 parent @_TToFC3gpa11AppDelegate30applicationWillEnterForegroundfCSo13UIApplicationT_ : $@convention(objc_method) (UIApplication, AppDelegate) -> () }
  3402.  
  3403. // @objc AppDelegate.applicationWillEnterForeground(UIApplication) -> ()
  3404. sil hidden [thunk] @_TToFC3gpa11AppDelegate30applicationWillEnterForegroundfCSo13UIApplicationT_ : $@convention(objc_method) (UIApplication, AppDelegate) -> () {
  3405. // %0 // user: %2
  3406. // %1 // user: %3
  3407. bb0(%0 : $UIApplication, %1 : $AppDelegate):
  3408. %2 = copy_value %0 : $UIApplication, scope 19 // user: %5
  3409. %3 = copy_value %1 : $AppDelegate, scope 19 // users: %6, %5
  3410. // function_ref AppDelegate.applicationWillEnterForeground(UIApplication) -> ()
  3411. %4 = function_ref @_TFC3gpa11AppDelegate30applicationWillEnterForegroundfCSo13UIApplicationT_ : $@convention(method) (@owned UIApplication, @guaranteed AppDelegate) -> (), scope 19 // user: %5
  3412. %5 = apply %4(%2, %3) : $@convention(method) (@owned UIApplication, @guaranteed AppDelegate) -> (), scope 19 // user: %7
  3413. destroy_value %3 : $AppDelegate, scope 19 // id: %6
  3414. return %5 : $(), scope 19 // id: %7
  3415. } // end sil function '_TToFC3gpa11AppDelegate30applicationWillEnterForegroundfCSo13UIApplicationT_'
  3416.  
  3417. sil_scope 20 { loc "AppDelegate.swift":49:10 parent @_TFC3gpa11AppDelegate26applicationDidBecomeActivefCSo13UIApplicationT_ : $@convention(method) (@owned UIApplication, @guaranteed AppDelegate) -> () }
  3418. sil_scope 21 { loc "AppDelegate.swift":51:5 parent 20 }
  3419.  
  3420. // AppDelegate.applicationDidBecomeActive(UIApplication) -> ()
  3421. sil hidden @_TFC3gpa11AppDelegate26applicationDidBecomeActivefCSo13UIApplicationT_ : $@convention(method) (@owned UIApplication, @guaranteed AppDelegate) -> () {
  3422. // %0 // users: %4, %2
  3423. // %1 // user: %3
  3424. bb0(%0 : $UIApplication, %1 : $AppDelegate):
  3425. debug_value %0 : $UIApplication, let, name "application", argno 1, loc "AppDelegate.swift":49:39, scope 20 // id: %2
  3426. debug_value %1 : $AppDelegate, let, name "self", argno 2, loc "AppDelegate.swift":49:10, scope 20 // id: %3
  3427. destroy_value %0 : $UIApplication, loc "AppDelegate.swift":51:5, scope 21 // id: %4
  3428. %5 = tuple (), loc "AppDelegate.swift":51:5, scope 21 // user: %6
  3429. return %5 : $(), loc "AppDelegate.swift":51:5, scope 21 // id: %6
  3430. } // end sil function '_TFC3gpa11AppDelegate26applicationDidBecomeActivefCSo13UIApplicationT_'
  3431.  
  3432. sil_scope 22 { loc "AppDelegate.swift":49:10 parent @_TToFC3gpa11AppDelegate26applicationDidBecomeActivefCSo13UIApplicationT_ : $@convention(objc_method) (UIApplication, AppDelegate) -> () }
  3433.  
  3434. // @objc AppDelegate.applicationDidBecomeActive(UIApplication) -> ()
  3435. sil hidden [thunk] @_TToFC3gpa11AppDelegate26applicationDidBecomeActivefCSo13UIApplicationT_ : $@convention(objc_method) (UIApplication, AppDelegate) -> () {
  3436. // %0 // user: %2
  3437. // %1 // user: %3
  3438. bb0(%0 : $UIApplication, %1 : $AppDelegate):
  3439. %2 = copy_value %0 : $UIApplication, scope 22 // user: %5
  3440. %3 = copy_value %1 : $AppDelegate, scope 22 // users: %6, %5
  3441. // function_ref AppDelegate.applicationDidBecomeActive(UIApplication) -> ()
  3442. %4 = function_ref @_TFC3gpa11AppDelegate26applicationDidBecomeActivefCSo13UIApplicationT_ : $@convention(method) (@owned UIApplication, @guaranteed AppDelegate) -> (), scope 22 // user: %5
  3443. %5 = apply %4(%2, %3) : $@convention(method) (@owned UIApplication, @guaranteed AppDelegate) -> (), scope 22 // user: %7
  3444. destroy_value %3 : $AppDelegate, scope 22 // id: %6
  3445. return %5 : $(), scope 22 // id: %7
  3446. } // end sil function '_TToFC3gpa11AppDelegate26applicationDidBecomeActivefCSo13UIApplicationT_'
  3447.  
  3448. sil_scope 23 { loc "AppDelegate.swift":53:10 parent @_TFC3gpa11AppDelegate24applicationWillTerminatefCSo13UIApplicationT_ : $@convention(method) (@owned UIApplication, @guaranteed AppDelegate) -> () }
  3449. sil_scope 24 { loc "AppDelegate.swift":55:5 parent 23 }
  3450.  
  3451. // AppDelegate.applicationWillTerminate(UIApplication) -> ()
  3452. sil hidden @_TFC3gpa11AppDelegate24applicationWillTerminatefCSo13UIApplicationT_ : $@convention(method) (@owned UIApplication, @guaranteed AppDelegate) -> () {
  3453. // %0 // users: %4, %2
  3454. // %1 // user: %3
  3455. bb0(%0 : $UIApplication, %1 : $AppDelegate):
  3456. debug_value %0 : $UIApplication, let, name "application", argno 1, loc "AppDelegate.swift":53:37, scope 23 // id: %2
  3457. debug_value %1 : $AppDelegate, let, name "self", argno 2, loc "AppDelegate.swift":53:10, scope 23 // id: %3
  3458. destroy_value %0 : $UIApplication, loc "AppDelegate.swift":55:5, scope 24 // id: %4
  3459. %5 = tuple (), loc "AppDelegate.swift":55:5, scope 24 // user: %6
  3460. return %5 : $(), loc "AppDelegate.swift":55:5, scope 24 // id: %6
  3461. } // end sil function '_TFC3gpa11AppDelegate24applicationWillTerminatefCSo13UIApplicationT_'
  3462.  
  3463. sil_scope 25 { loc "AppDelegate.swift":53:10 parent @_TToFC3gpa11AppDelegate24applicationWillTerminatefCSo13UIApplicationT_ : $@convention(objc_method) (UIApplication, AppDelegate) -> () }
  3464.  
  3465. // @objc AppDelegate.applicationWillTerminate(UIApplication) -> ()
  3466. sil hidden [thunk] @_TToFC3gpa11AppDelegate24applicationWillTerminatefCSo13UIApplicationT_ : $@convention(objc_method) (UIApplication, AppDelegate) -> () {
  3467. // %0 // user: %2
  3468. // %1 // user: %3
  3469. bb0(%0 : $UIApplication, %1 : $AppDelegate):
  3470. %2 = copy_value %0 : $UIApplication, scope 25 // user: %5
  3471. %3 = copy_value %1 : $AppDelegate, scope 25 // users: %6, %5
  3472. // function_ref AppDelegate.applicationWillTerminate(UIApplication) -> ()
  3473. %4 = function_ref @_TFC3gpa11AppDelegate24applicationWillTerminatefCSo13UIApplicationT_ : $@convention(method) (@owned UIApplication, @guaranteed AppDelegate) -> (), scope 25 // user: %5
  3474. %5 = apply %4(%2, %3) : $@convention(method) (@owned UIApplication, @guaranteed AppDelegate) -> (), scope 25 // user: %7
  3475. destroy_value %3 : $AppDelegate, scope 25 // id: %6
  3476. return %5 : $(), scope 25 // id: %7
  3477. } // end sil function '_TToFC3gpa11AppDelegate24applicationWillTerminatefCSo13UIApplicationT_'
  3478.  
  3479. sil_scope 26 { loc "AppDelegate.swift":26:7 parent @_TFC3gpa11AppDelegateD : $@convention(method) (@owned AppDelegate) -> () }
  3480. sil_scope 27 { loc "AppDelegate.swift":26:7 parent 26 }
  3481.  
  3482. // AppDelegate.__deallocating_deinit
  3483. sil hidden @_TFC3gpa11AppDelegateD : $@convention(method) (@owned AppDelegate) -> () {
  3484. // %0 // users: %3, %2, %1
  3485. bb0(%0 : $AppDelegate):
  3486. debug_value %0 : $AppDelegate, let, name "self", argno 1, loc "AppDelegate.swift":26:7, scope 26 // id: %1
  3487. %2 = super_method %0 : $AppDelegate, #UIResponder.deinit!deallocator.foreign : (UIResponder) -> () -> () , $@convention(objc_method) (UIResponder) -> (), scope 27 // user: %4
  3488. %3 = upcast %0 : $AppDelegate to $UIResponder, scope 27 // user: %4
  3489. %4 = apply %2(%3) : $@convention(objc_method) (UIResponder) -> (), scope 27
  3490. %5 = tuple (), scope 27 // user: %6
  3491. return %5 : $(), scope 27 // id: %6
  3492. } // end sil function '_TFC3gpa11AppDelegateD'
  3493.  
  3494. sil_scope 28 { loc "AppDelegate.swift":26:7 parent @_TToFC3gpa11AppDelegateE : $@convention(objc_method) (AppDelegate) -> () }
  3495.  
  3496. // @objc AppDelegate.__ivar_destroyer
  3497. sil hidden @_TToFC3gpa11AppDelegateE : $@convention(objc_method) (AppDelegate) -> () {
  3498. // %0 // users: %2, %1
  3499. bb0(%0 : $AppDelegate):
  3500. debug_value %0 : $AppDelegate, let, name "self", argno 1, loc "AppDelegate.swift":26:7, scope 28 // id: %1
  3501. %2 = ref_element_addr %0 : $AppDelegate, #AppDelegate.window, scope 28 // user: %3
  3502. destroy_addr %2 : $*Optional<UIWindow>, scope 28 // id: %3
  3503. %4 = tuple (), scope 28 // user: %5
  3504. return %4 : $(), scope 28 // id: %5
  3505. } // end sil function '_TToFC3gpa11AppDelegateE'
  3506.  
  3507. sil_scope 29 { loc "AppDelegate.swift":28:9 parent @_TFC3gpa11AppDelegatem6windowGSqCSo8UIWindow_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed AppDelegate) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) }
  3508.  
  3509. // AppDelegate.window.materializeForSet
  3510. sil hidden @_TFC3gpa11AppDelegatem6windowGSqCSo8UIWindow_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed AppDelegate) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) {
  3511. // %2 // user: %3
  3512. bb0(%0 : $Builtin.RawPointer, %1 : $*Builtin.UnsafeValueBuffer, %2 : $AppDelegate):
  3513. %3 = ref_element_addr %2 : $AppDelegate, #AppDelegate.window, scope 29 // user: %4
  3514. %4 = address_to_pointer %3 : $*Optional<UIWindow> to $Builtin.RawPointer, scope 29 // user: %6
  3515. %5 = enum $Optional<Builtin.RawPointer>, #Optional.none!enumelt, scope 29 // user: %6
  3516. %6 = tuple (%4 : $Builtin.RawPointer, %5 : $Optional<Builtin.RawPointer>), scope 29 // user: %7
  3517. return %6 : $(Builtin.RawPointer, Optional<Builtin.RawPointer>), scope 29 // id: %7
  3518. } // end sil function '_TFC3gpa11AppDelegatem6windowGSqCSo8UIWindow_'
  3519.  
  3520. sil_scope 30 { loc "AppDelegate.swift":26:55 parent @_TFC3gpa11AppDelegatecfT_S0_ : $@convention(method) (@owned AppDelegate) -> @owned AppDelegate }
  3521. sil_scope 31 { parent 30 }
  3522.  
  3523. // AppDelegate.init() -> AppDelegate
  3524. sil hidden @_TFC3gpa11AppDelegatecfT_S0_ : $@convention(method) (@owned AppDelegate) -> @owned AppDelegate {
  3525. // %0 // user: %4
  3526. bb0(%0 : $AppDelegate):
  3527. %1 = alloc_box ${ var AppDelegate }, let, name "self", scope 30 // users: %17, %2
  3528. %2 = project_box %1 : ${ var AppDelegate }, 0, scope 30 // user: %3
  3529. %3 = mark_uninitialized [derivedself] %2 : $*AppDelegate, scope 30 // users: %16, %15, %10, %7, %4
  3530. store %0 to [init] %3 : $*AppDelegate, loc "AppDelegate.swift":26:55, scope 30 // id: %4
  3531. // function_ref AppDelegate.(window).(variable initialization expression)
  3532. %5 = function_ref @_TIvC3gpa11AppDelegate6windowGSqCSo8UIWindow_i : $@convention(thin) () -> @owned Optional<UIWindow>, scope 30 // user: %6
  3533. %6 = apply %5() : $@convention(thin) () -> @owned Optional<UIWindow>, scope 30 // user: %9
  3534. %7 = load_borrow %3 : $*AppDelegate, loc "AppDelegate.swift":28:9, scope 30 // user: %8
  3535. %8 = ref_element_addr %7 : $AppDelegate, #AppDelegate.window, loc "AppDelegate.swift":28:9, scope 30 // user: %9
  3536. assign %6 to %8 : $*Optional<UIWindow>, loc "AppDelegate.swift":28:9, scope 30 // id: %9
  3537. %10 = load_borrow %3 : $*AppDelegate, scope 31 // users: %12, %11
  3538. %11 = upcast %10 : $AppDelegate to $UIResponder, scope 31 // user: %13
  3539. %12 = super_method [volatile] %10 : $AppDelegate, #UIResponder.init!initializer.1.foreign : (UIResponder.Type) -> () -> UIResponder , $@convention(objc_method) (@owned UIResponder) -> @owned UIResponder, scope 31 // user: %13
  3540. %13 = apply %12(%11) : $@convention(objc_method) (@owned UIResponder) -> @owned UIResponder, scope 31 // user: %14
  3541. %14 = unchecked_ref_cast %13 : $UIResponder to $AppDelegate, scope 31 // user: %15
  3542. store %14 to [init] %3 : $*AppDelegate, scope 31 // id: %15
  3543. %16 = load [copy] %3 : $*AppDelegate, loc "AppDelegate.swift":26:55, scope 31 // user: %18
  3544. destroy_value %1 : ${ var AppDelegate }, loc "AppDelegate.swift":26:55, scope 31 // id: %17
  3545. return %16 : $AppDelegate, loc "AppDelegate.swift":26:55, scope 31 // id: %18
  3546. } // end sil function '_TFC3gpa11AppDelegatecfT_S0_'
  3547.  
  3548. sil_scope 32 { loc "AppDelegate.swift":26:55 parent @_TFC3gpa11AppDelegateCfT_S0_ : $@convention(method) (@thick AppDelegate.Type) -> @owned AppDelegate }
  3549.  
  3550. // AppDelegate.__allocating_init() -> AppDelegate
  3551. sil hidden @_TFC3gpa11AppDelegateCfT_S0_ : $@convention(method) (@thick AppDelegate.Type) -> @owned AppDelegate {
  3552. bb0(%0 : $@thick AppDelegate.Type):
  3553. %1 = alloc_ref [objc] $AppDelegate, scope 32 // user: %3
  3554. // function_ref AppDelegate.init() -> AppDelegate
  3555. %2 = function_ref @_TFC3gpa11AppDelegatecfT_S0_ : $@convention(method) (@owned AppDelegate) -> @owned AppDelegate, scope 32 // user: %3
  3556. %3 = apply %2(%1) : $@convention(method) (@owned AppDelegate) -> @owned AppDelegate, scope 32 // user: %4
  3557. return %3 : $AppDelegate, scope 32 // id: %4
  3558. } // end sil function '_TFC3gpa11AppDelegateCfT_S0_'
  3559.  
  3560. sil_scope 33 { loc "AppDelegate.swift":26:55 parent @_TToFC3gpa11AppDelegatecfT_S0_ : $@convention(objc_method) (@owned AppDelegate) -> @owned AppDelegate }
  3561.  
  3562. // @objc AppDelegate.init() -> AppDelegate
  3563. sil hidden [thunk] @_TToFC3gpa11AppDelegatecfT_S0_ : $@convention(objc_method) (@owned AppDelegate) -> @owned AppDelegate {
  3564. // %0 // user: %2
  3565. bb0(%0 : $AppDelegate):
  3566. // function_ref AppDelegate.init() -> AppDelegate
  3567. %1 = function_ref @_TFC3gpa11AppDelegatecfT_S0_ : $@convention(method) (@owned AppDelegate) -> @owned AppDelegate, scope 33 // user: %2
  3568. %2 = apply %1(%0) : $@convention(method) (@owned AppDelegate) -> @owned AppDelegate, scope 33 // user: %3
  3569. return %2 : $AppDelegate, scope 33 // id: %3
  3570. } // end sil function '_TToFC3gpa11AppDelegatecfT_S0_'
  3571.  
  3572. sil_scope 34 { parent @main : $@convention(c) (Int32, UnsafeMutablePointer<Optional<UnsafeMutablePointer<Int8>>>) -> Int32 }
  3573.  
  3574. // main
  3575. sil @main : $@convention(c) (Int32, UnsafeMutablePointer<Optional<UnsafeMutablePointer<Int8>>>) -> Int32 {
  3576. // %0 // user: %15
  3577. // %1 // user: %8
  3578. bb0(%0 : $Int32, %1 : $UnsafeMutablePointer<Optional<UnsafeMutablePointer<Int8>>>):
  3579. // function_ref NSStringFromClass
  3580. %2 = function_ref @NSStringFromClass : $@convention(c) (@objc_metatype AnyObject.Type) -> @autoreleased Optional<NSString>, loc "AppDelegate.swift":26:7, scope 34 // user: %5
  3581. %3 = metatype $@objc_metatype AppDelegate.Type, loc "AppDelegate.swift":26:7, scope 34 // user: %4
  3582. %4 = init_existential_metatype %3 : $@objc_metatype AppDelegate.Type, $@objc_metatype AnyObject.Type, loc "AppDelegate.swift":26:7, scope 34 // user: %5
  3583. %5 = apply %2(%4) : $@convention(c) (@objc_metatype AnyObject.Type) -> @autoreleased Optional<NSString>, loc "AppDelegate.swift":26:7, scope 34 // user: %15
  3584. %6 = enum $Optional<NSString>, #Optional.none!enumelt, loc "AppDelegate.swift":26:7, scope 34 // user: %15
  3585. %7 = alloc_stack $UnsafeMutablePointer<Optional<UnsafeMutablePointer<Int8>>>, loc "AppDelegate.swift":26:7, scope 34 // users: %19, %11, %8
  3586. store %1 to [trivial] %7 : $*UnsafeMutablePointer<Optional<UnsafeMutablePointer<Int8>>>, loc "AppDelegate.swift":26:7, scope 34 // id: %8
  3587. // function_ref _convertPointerToPointerArgument<A, B where ...> (A) -> B
  3588. %9 = function_ref @_TFs32_convertPointerToPointerArgumentu0_Rxs8_Pointer_S_rFxq_ : $@convention(thin) <τ_0_0, τ_0_1 where τ_0_0 : _Pointer, τ_0_1 : _Pointer> (@in τ_0_0) -> @out τ_0_1, loc "AppDelegate.swift":26:7, scope 34 // user: %11
  3589. %10 = alloc_stack $UnsafeMutablePointer<UnsafeMutablePointer<Int8>>, loc "AppDelegate.swift":26:7, scope 34 // users: %18, %12, %11
  3590. %11 = apply %9<UnsafeMutablePointer<Optional<UnsafeMutablePointer<Int8>>>, UnsafeMutablePointer<UnsafeMutablePointer<Int8>>>(%10, %7) : $@convention(thin) <τ_0_0, τ_0_1 where τ_0_0 : _Pointer, τ_0_1 : _Pointer> (@in τ_0_0) -> @out τ_0_1, loc "AppDelegate.swift":26:7, scope 34
  3591. %12 = load [trivial] %10 : $*UnsafeMutablePointer<UnsafeMutablePointer<Int8>>, loc "AppDelegate.swift":26:7, scope 34 // user: %13
  3592. %13 = enum $Optional<UnsafeMutablePointer<UnsafeMutablePointer<Int8>>>, #Optional.some!enumelt.1, %12 : $UnsafeMutablePointer<UnsafeMutablePointer<Int8>>, loc "AppDelegate.swift":26:7, scope 34 // user: %15
  3593. // function_ref UIApplicationMain
  3594. %14 = function_ref @UIApplicationMain : $@convention(c) (Int32, Optional<UnsafeMutablePointer<UnsafeMutablePointer<Int8>>>, Optional<NSString>, Optional<NSString>) -> Int32, loc "AppDelegate.swift":26:7, scope 34 // user: %15
  3595. %15 = apply %14(%0, %13, %6, %5) : $@convention(c) (Int32, Optional<UnsafeMutablePointer<UnsafeMutablePointer<Int8>>>, Optional<NSString>, Optional<NSString>) -> Int32, loc "AppDelegate.swift":26:7, scope 34
  3596. %16 = integer_literal $Builtin.Int32, 0, loc "AppDelegate.swift":26:7, scope 34 // user: %17
  3597. %17 = struct $Int32 (%16 : $Builtin.Int32), loc "AppDelegate.swift":26:7, scope 34 // user: %20
  3598. dealloc_stack %10 : $*UnsafeMutablePointer<UnsafeMutablePointer<Int8>>, loc "AppDelegate.swift":56:1, scope 34 // id: %18
  3599. dealloc_stack %7 : $*UnsafeMutablePointer<Optional<UnsafeMutablePointer<Int8>>>, loc "AppDelegate.swift":56:1, scope 34 // id: %19
  3600. return %17 : $Int32, loc "AppDelegate.swift":26:7, scope 34 // id: %20
  3601. } // end sil function 'main'
  3602.  
  3603.  
  3604. // UIApplicationMain
  3605. sil [clang UIApplicationMain] @UIApplicationMain : $@convention(c) (Int32, Optional<UnsafeMutablePointer<UnsafeMutablePointer<Int8>>>, Optional<NSString>, Optional<NSString>) -> Int32
  3606.  
  3607.  
  3608. // NSStringFromClass
  3609. sil [transparent] @NSStringFromClass : $@convention(c) (@objc_metatype AnyObject.Type) -> @autoreleased Optional<NSString>
  3610.  
  3611.  
  3612. // _convertPointerToPointerArgument<A, B where ...> (A) -> B
  3613. sil [transparent] [fragile] @_TFs32_convertPointerToPointerArgumentu0_Rxs8_Pointer_S_rFxq_ : $@convention(thin) <τ_0_0, τ_0_1 where τ_0_0 : _Pointer, τ_0_1 : _Pointer> (@in τ_0_0) -> @out τ_0_1
  3614.  
  3615. sil_scope 35 { parent @_TFVSC29UIApplicationLaunchOptionsKeyg8rawValueSS : $@convention(method) (@guaranteed UIApplicationLaunchOptionsKey) -> @owned String }
  3616. sil_scope 36 { parent 35 }
  3617.  
  3618. // UIApplicationLaunchOptionsKey.rawValue.getter
  3619. sil shared @_TFVSC29UIApplicationLaunchOptionsKeyg8rawValueSS : $@convention(method) (@guaranteed UIApplicationLaunchOptionsKey) -> @owned String {
  3620. // %0 // users: %3, %1
  3621. bb0(%0 : $UIApplicationLaunchOptionsKey):
  3622. debug_value %0 : $UIApplicationLaunchOptionsKey, let, name "self", argno 1, scope 35 // id: %1
  3623. // function_ref _forceBridgeFromObjectiveC_bridgeable
  3624. %2 = function_ref @_forceBridgeFromObjectiveC_bridgeable : $@convention(thin) <τ_0_0 where τ_0_0 : _ObjectiveCBridgeable> (@owned τ_0_0._ObjectiveCType, @thick τ_0_0.Type) -> @out τ_0_0, scope 36 // user: %8
  3625. %3 = struct_extract %0 : $UIApplicationLaunchOptionsKey, #UIApplicationLaunchOptionsKey._rawValue, scope 36 // user: %4
  3626. %4 = copy_value %3 : $NSString, scope 36 // user: %8
  3627. %5 = metatype $@thin String.Type, scope 36
  3628. %6 = metatype $@thick String.Type, scope 36 // user: %8
  3629. %7 = alloc_stack $String, scope 36 // users: %10, %9, %8
  3630. %8 = apply %2<String>(%7, %4, %6) : $@convention(thin) <τ_0_0 where τ_0_0 : _ObjectiveCBridgeable> (@owned τ_0_0._ObjectiveCType, @thick τ_0_0.Type) -> @out τ_0_0, scope 36
  3631. %9 = load [take] %7 : $*String, scope 36 // user: %11
  3632. dealloc_stack %7 : $*String, scope 36 // id: %10
  3633. return %9 : $String, scope 36 // id: %11
  3634. } // end sil function '_TFVSC29UIApplicationLaunchOptionsKeyg8rawValueSS'
  3635.  
  3636. sil_scope 37 { parent @_TTWVSC29UIApplicationLaunchOptionsKeys9_Hashable5UIKitFS0_14_toAnyHashablefT_Vs11AnyHashable : $@convention(witness_method) (@in_guaranteed UIApplicationLaunchOptionsKey) -> @out AnyHashable }
  3637.  
  3638. // protocol witness for _Hashable._toAnyHashable() -> AnyHashable in conformance UIApplicationLaunchOptionsKey
  3639. sil shared [transparent] [thunk] @_TTWVSC29UIApplicationLaunchOptionsKeys9_Hashable5UIKitFS0_14_toAnyHashablefT_Vs11AnyHashable : $@convention(witness_method) (@in_guaranteed UIApplicationLaunchOptionsKey) -> @out AnyHashable {
  3640. // %0 // user: %5
  3641. // %1 // user: %3
  3642. bb0(%0 : $*AnyHashable, %1 : $*UIApplicationLaunchOptionsKey):
  3643. %2 = alloc_stack $UIApplicationLaunchOptionsKey, scope 37 // users: %8, %7, %5, %3
  3644. copy_addr %1 to [initialization] %2 : $*UIApplicationLaunchOptionsKey, scope 37 // id: %3
  3645. // function_ref Hashable._toAnyHashable() -> AnyHashable
  3646. %4 = function_ref @_TFEsPs8Hashable14_toAnyHashablefT_Vs11AnyHashable : $@convention(method) <τ_0_0 where τ_0_0 : Hashable> (@in_guaranteed τ_0_0) -> @out AnyHashable, scope 37 // user: %5
  3647. %5 = apply %4<UIApplicationLaunchOptionsKey>(%0, %2) : $@convention(method) <τ_0_0 where τ_0_0 : Hashable> (@in_guaranteed τ_0_0) -> @out AnyHashable, scope 37
  3648. %6 = tuple (), scope 37 // user: %9
  3649. destroy_addr %2 : $*UIApplicationLaunchOptionsKey, scope 37 // id: %7
  3650. dealloc_stack %2 : $*UIApplicationLaunchOptionsKey, scope 37 // id: %8
  3651. return %6 : $(), scope 37 // id: %9
  3652. } // end sil function '_TTWVSC29UIApplicationLaunchOptionsKeys9_Hashable5UIKitFS0_14_toAnyHashablefT_Vs11AnyHashable'
  3653.  
  3654.  
  3655. // Hashable._toAnyHashable() -> AnyHashable
  3656. sil @_TFEsPs8Hashable14_toAnyHashablefT_Vs11AnyHashable : $@convention(method) <τ_0_0 where τ_0_0 : Hashable> (@in_guaranteed τ_0_0) -> @out AnyHashable
  3657.  
  3658. sil_scope 38 { parent @_TTWVSC29UIApplicationLaunchOptionsKeys9Equatable5UIKitZFS0_oi2eefTxx_Sb : $@convention(witness_method) (@in UIApplicationLaunchOptionsKey, @in UIApplicationLaunchOptionsKey, @thick UIApplicationLaunchOptionsKey.Type) -> Bool }
  3659.  
  3660. // protocol witness for static Equatable.== infix(A, A) -> Bool in conformance UIApplicationLaunchOptionsKey
  3661. sil shared [transparent] [thunk] @_TTWVSC29UIApplicationLaunchOptionsKeys9Equatable5UIKitZFS0_oi2eefTxx_Sb : $@convention(witness_method) (@in UIApplicationLaunchOptionsKey, @in UIApplicationLaunchOptionsKey, @thick UIApplicationLaunchOptionsKey.Type) -> Bool {
  3662. // %0 // user: %4
  3663. // %1 // user: %4
  3664. bb0(%0 : $*UIApplicationLaunchOptionsKey, %1 : $*UIApplicationLaunchOptionsKey, %2 : $@thick UIApplicationLaunchOptionsKey.Type):
  3665. // function_ref == infix<A where ...> (A, A) -> Bool
  3666. %3 = function_ref @_TFsoi2eeuRxs16RawRepresentablewx8RawValues9EquatablerFTxx_Sb : $@convention(thin) <τ_0_0 where τ_0_0 : RawRepresentable, τ_0_0.RawValue : Equatable> (@in τ_0_0, @in τ_0_0) -> Bool, scope 38 // user: %4
  3667. %4 = apply %3<UIApplicationLaunchOptionsKey, String>(%0, %1) : $@convention(thin) <τ_0_0 where τ_0_0 : RawRepresentable, τ_0_0.RawValue : Equatable> (@in τ_0_0, @in τ_0_0) -> Bool, scope 38 // user: %5
  3668. return %4 : $Bool, scope 38 // id: %5
  3669. } // end sil function '_TTWVSC29UIApplicationLaunchOptionsKeys9Equatable5UIKitZFS0_oi2eefTxx_Sb'
  3670.  
  3671.  
  3672. // == infix<A where ...> (A, A) -> Bool
  3673. sil @_TFsoi2eeuRxs16RawRepresentablewx8RawValues9EquatablerFTxx_Sb : $@convention(thin) <τ_0_0 where τ_0_0 : RawRepresentable, τ_0_0.RawValue : Equatable> (@in τ_0_0, @in τ_0_0) -> Bool
  3674.  
  3675. sil_scope 39 { parent @_TTWVSC29UIApplicationLaunchOptionsKeys8Hashable5UIKitFS0_g9hashValueSi : $@convention(witness_method) (@in_guaranteed UIApplicationLaunchOptionsKey) -> Int }
  3676.  
  3677. // protocol witness for Hashable.hashValue.getter in conformance UIApplicationLaunchOptionsKey
  3678. sil shared [transparent] [thunk] @_TTWVSC29UIApplicationLaunchOptionsKeys8Hashable5UIKitFS0_g9hashValueSi : $@convention(witness_method) (@in_guaranteed UIApplicationLaunchOptionsKey) -> Int {
  3679. // %0 // user: %2
  3680. bb0(%0 : $*UIApplicationLaunchOptionsKey):
  3681. %1 = alloc_stack $UIApplicationLaunchOptionsKey, scope 39 // users: %6, %5, %4, %2
  3682. copy_addr %0 to [initialization] %1 : $*UIApplicationLaunchOptionsKey, scope 39 // id: %2
  3683. // function_ref _SwiftNewtypeWrapper<A where ...>.hashValue.getter
  3684. %3 = function_ref @_TFesRxs20_SwiftNewtypeWrapperwx8RawValues8HashablerS_g9hashValueSi : $@convention(method) <τ_0_0 where τ_0_0 : _SwiftNewtypeWrapper, τ_0_0.RawValue : Hashable> (@in_guaranteed τ_0_0) -> Int, scope 39 // user: %4
  3685. %4 = apply %3<UIApplicationLaunchOptionsKey, String>(%1) : $@convention(method) <τ_0_0 where τ_0_0 : _SwiftNewtypeWrapper, τ_0_0.RawValue : Hashable> (@in_guaranteed τ_0_0) -> Int, scope 39 // user: %7
  3686. destroy_addr %1 : $*UIApplicationLaunchOptionsKey, scope 39 // id: %5
  3687. dealloc_stack %1 : $*UIApplicationLaunchOptionsKey, scope 39 // id: %6
  3688. return %4 : $Int, scope 39 // id: %7
  3689. } // end sil function '_TTWVSC29UIApplicationLaunchOptionsKeys8Hashable5UIKitFS0_g9hashValueSi'
  3690.  
  3691.  
  3692. // _SwiftNewtypeWrapper<A where ...>.hashValue.getter
  3693. sil @_TFesRxs20_SwiftNewtypeWrapperwx8RawValues8HashablerS_g9hashValueSi : $@convention(method) <τ_0_0 where τ_0_0 : _SwiftNewtypeWrapper, τ_0_0.RawValue : Hashable> (@in_guaranteed τ_0_0) -> Int
  3694.  
  3695. sil_scope 40 { parent @_TTWVSC29UIApplicationLaunchOptionsKeys16RawRepresentable5UIKitFS0_CfT8rawValuewx8RawValue_GSqx_ : $@convention(witness_method) (@in String, @thick UIApplicationLaunchOptionsKey.Type) -> @out Optional<UIApplicationLaunchOptionsKey> }
  3696.  
  3697. // protocol witness for RawRepresentable.init(rawValue : A.RawValue) -> A? in conformance UIApplicationLaunchOptionsKey
  3698. sil shared [transparent] [fragile] [thunk] @_TTWVSC29UIApplicationLaunchOptionsKeys16RawRepresentable5UIKitFS0_CfT8rawValuewx8RawValue_GSqx_ : $@convention(witness_method) (@in String, @thick UIApplicationLaunchOptionsKey.Type) -> @out Optional<UIApplicationLaunchOptionsKey> {
  3699. // %0 // user: %8
  3700. // %1 // user: %3
  3701. bb0(%0 : $*Optional<UIApplicationLaunchOptionsKey>, %1 : $*String, %2 : $@thick UIApplicationLaunchOptionsKey.Type):
  3702. %3 = load [take] %1 : $*String, scope 40 // user: %6
  3703. %4 = metatype $@thin UIApplicationLaunchOptionsKey.Type, scope 40 // user: %6
  3704. // function_ref UIApplicationLaunchOptionsKey.init(rawValue : String) -> UIApplicationLaunchOptionsKey
  3705. %5 = function_ref @_TFVSC29UIApplicationLaunchOptionsKeyCfT8rawValueSS_S_ : $@convention(method) (@owned String, @thin UIApplicationLaunchOptionsKey.Type) -> @owned UIApplicationLaunchOptionsKey, scope 40 // user: %6
  3706. %6 = apply %5(%3, %4) : $@convention(method) (@owned String, @thin UIApplicationLaunchOptionsKey.Type) -> @owned UIApplicationLaunchOptionsKey, scope 40 // user: %7
  3707. %7 = enum $Optional<UIApplicationLaunchOptionsKey>, #Optional.some!enumelt.1, %6 : $UIApplicationLaunchOptionsKey, scope 40 // user: %8
  3708. store %7 to [init] %0 : $*Optional<UIApplicationLaunchOptionsKey>, scope 40 // id: %8
  3709. %9 = tuple (), scope 40 // user: %10
  3710. return %9 : $(), scope 40 // id: %10
  3711. } // end sil function '_TTWVSC29UIApplicationLaunchOptionsKeys16RawRepresentable5UIKitFS0_CfT8rawValuewx8RawValue_GSqx_'
  3712.  
  3713. sil_scope 41 { parent @_TFVSC29UIApplicationLaunchOptionsKeyCfT8rawValueSS_S_ : $@convention(method) (@owned String, @thin UIApplicationLaunchOptionsKey.Type) -> @owned UIApplicationLaunchOptionsKey }
  3714. sil_scope 42 { parent 41 }
  3715.  
  3716. // UIApplicationLaunchOptionsKey.init(rawValue : String) -> UIApplicationLaunchOptionsKey
  3717. sil shared [transparent] [fragile] @_TFVSC29UIApplicationLaunchOptionsKeyCfT8rawValueSS_S_ : $@convention(method) (@owned String, @thin UIApplicationLaunchOptionsKey.Type) -> @owned UIApplicationLaunchOptionsKey {
  3718. // %0 // users: %11, %7, %5
  3719. bb0(%0 : $String, %1 : $@thin UIApplicationLaunchOptionsKey.Type):
  3720. %2 = alloc_box ${ var UIApplicationLaunchOptionsKey }, var, name "self", scope 41 // users: %12, %3
  3721. %3 = project_box %2 : ${ var UIApplicationLaunchOptionsKey }, 0, scope 41 // user: %4
  3722. %4 = mark_uninitialized [rootself] %3 : $*UIApplicationLaunchOptionsKey, scope 41 // users: %10, %8
  3723. debug_value %0 : $String, let, name "rawValue", argno 1, scope 41 // id: %5
  3724. // function_ref String._bridgeToObjectiveC() -> NSString
  3725. %6 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, scope 42 // user: %7
  3726. %7 = apply %6(%0) : $@convention(method) (@guaranteed String) -> @owned NSString, scope 42 // user: %9
  3727. %8 = struct_element_addr %4 : $*UIApplicationLaunchOptionsKey, #UIApplicationLaunchOptionsKey._rawValue, scope 42 // user: %9
  3728. assign %7 to %8 : $*NSString, scope 42 // id: %9
  3729. %10 = load [copy] %4 : $*UIApplicationLaunchOptionsKey, scope 42 // user: %13
  3730. destroy_value %0 : $String, scope 42 // id: %11
  3731. destroy_value %2 : ${ var UIApplicationLaunchOptionsKey }, scope 42 // id: %12
  3732. return %10 : $UIApplicationLaunchOptionsKey, scope 42 // id: %13
  3733. } // end sil function '_TFVSC29UIApplicationLaunchOptionsKeyCfT8rawValueSS_S_'
  3734.  
  3735. sil_scope 43 { parent @_TTWVSC29UIApplicationLaunchOptionsKeys16RawRepresentable5UIKitFS0_g8rawValuewx8RawValue : $@convention(witness_method) (@in_guaranteed UIApplicationLaunchOptionsKey) -> @out String }
  3736.  
  3737. // protocol witness for RawRepresentable.rawValue.getter in conformance UIApplicationLaunchOptionsKey
  3738. sil shared [transparent] [thunk] @_TTWVSC29UIApplicationLaunchOptionsKeys16RawRepresentable5UIKitFS0_g8rawValuewx8RawValue : $@convention(witness_method) (@in_guaranteed UIApplicationLaunchOptionsKey) -> @out String {
  3739. // %0 // user: %7
  3740. // %1 // user: %3
  3741. bb0(%0 : $*String, %1 : $*UIApplicationLaunchOptionsKey):
  3742. %2 = alloc_stack $UIApplicationLaunchOptionsKey, scope 43 // users: %10, %4, %3
  3743. copy_addr %1 to [initialization] %2 : $*UIApplicationLaunchOptionsKey, scope 43 // id: %3
  3744. %4 = load [take] %2 : $*UIApplicationLaunchOptionsKey, scope 43 // users: %9, %6
  3745. // function_ref UIApplicationLaunchOptionsKey.rawValue.getter
  3746. %5 = function_ref @_TFVSC29UIApplicationLaunchOptionsKeyg8rawValueSS : $@convention(method) (@guaranteed UIApplicationLaunchOptionsKey) -> @owned String, scope 43 // user: %6
  3747. %6 = apply %5(%4) : $@convention(method) (@guaranteed UIApplicationLaunchOptionsKey) -> @owned String, scope 43 // user: %7
  3748. store %6 to [init] %0 : $*String, scope 43 // id: %7
  3749. %8 = tuple (), scope 43 // user: %11
  3750. destroy_value %4 : $UIApplicationLaunchOptionsKey, scope 43 // id: %9
  3751. dealloc_stack %2 : $*UIApplicationLaunchOptionsKey, scope 43 // id: %10
  3752. return %8 : $(), scope 43 // id: %11
  3753. } // end sil function '_TTWVSC29UIApplicationLaunchOptionsKeys16RawRepresentable5UIKitFS0_g8rawValuewx8RawValue'
  3754.  
  3755. sil_scope 44 { parent @_TTWVSC29UIApplicationLaunchOptionsKeys21_ObjectiveCBridgeable5UIKitFS0_19_bridgeToObjectiveCfT_wx15_ObjectiveCType : $@convention(witness_method) (@in_guaranteed UIApplicationLaunchOptionsKey) -> @owned NSString }
  3756.  
  3757. // protocol witness for _ObjectiveCBridgeable._bridgeToObjectiveC() -> A._ObjectiveCType in conformance UIApplicationLaunchOptionsKey
  3758. sil shared [transparent] [thunk] @_TTWVSC29UIApplicationLaunchOptionsKeys21_ObjectiveCBridgeable5UIKitFS0_19_bridgeToObjectiveCfT_wx15_ObjectiveCType : $@convention(witness_method) (@in_guaranteed UIApplicationLaunchOptionsKey) -> @owned NSString {
  3759. // %0 // user: %2
  3760. bb0(%0 : $*UIApplicationLaunchOptionsKey):
  3761. %1 = alloc_stack $UIApplicationLaunchOptionsKey, scope 44 // users: %6, %5, %4, %2
  3762. copy_addr %0 to [initialization] %1 : $*UIApplicationLaunchOptionsKey, scope 44 // id: %2
  3763. // function_ref _SwiftNewtypeWrapper<A where ...>._bridgeToObjectiveC() -> A.RawValue._ObjectiveCType
  3764. %3 = function_ref @_TFesRxs20_SwiftNewtypeWrapperwx8RawValues21_ObjectiveCBridgeablerS_19_bridgeToObjectiveCfT_WxS0_15_ObjectiveCType_ : $@convention(method) <τ_0_0 where τ_0_0 : _SwiftNewtypeWrapper, τ_0_0.RawValue : _ObjectiveCBridgeable> (@in_guaranteed τ_0_0) -> @owned τ_0_0.RawValue._ObjectiveCType, scope 44 // user: %4
  3765. %4 = apply %3<UIApplicationLaunchOptionsKey, String>(%1) : $@convention(method) <τ_0_0 where τ_0_0 : _SwiftNewtypeWrapper, τ_0_0.RawValue : _ObjectiveCBridgeable> (@in_guaranteed τ_0_0) -> @owned τ_0_0.RawValue._ObjectiveCType, scope 44 // user: %7
  3766. destroy_addr %1 : $*UIApplicationLaunchOptionsKey, scope 44 // id: %5
  3767. dealloc_stack %1 : $*UIApplicationLaunchOptionsKey, scope 44 // id: %6
  3768. return %4 : $NSString, scope 44 // id: %7
  3769. } // end sil function '_TTWVSC29UIApplicationLaunchOptionsKeys21_ObjectiveCBridgeable5UIKitFS0_19_bridgeToObjectiveCfT_wx15_ObjectiveCType'
  3770.  
  3771.  
  3772. // _SwiftNewtypeWrapper<A where ...>._bridgeToObjectiveC() -> A.RawValue._ObjectiveCType
  3773. sil @_TFesRxs20_SwiftNewtypeWrapperwx8RawValues21_ObjectiveCBridgeablerS_19_bridgeToObjectiveCfT_WxS0_15_ObjectiveCType_ : $@convention(method) <τ_0_0 where τ_0_0 : _SwiftNewtypeWrapper, τ_0_0.RawValue : _ObjectiveCBridgeable> (@in_guaranteed τ_0_0) -> @owned τ_0_0.RawValue._ObjectiveCType
  3774.  
  3775. sil_scope 45 { parent @_TTWVSC29UIApplicationLaunchOptionsKeys21_ObjectiveCBridgeable5UIKitZFS0_26_forceBridgeFromObjectiveCfTwx15_ObjectiveCType6resultRGSqx__T_ : $@convention(witness_method) (@owned NSString, @inout Optional<UIApplicationLaunchOptionsKey>, @thick UIApplicationLaunchOptionsKey.Type) -> () }
  3776.  
  3777. // protocol witness for static _ObjectiveCBridgeable._forceBridgeFromObjectiveC(A._ObjectiveCType, result : inout A?) -> () in conformance UIApplicationLaunchOptionsKey
  3778. sil shared [transparent] [thunk] @_TTWVSC29UIApplicationLaunchOptionsKeys21_ObjectiveCBridgeable5UIKitZFS0_26_forceBridgeFromObjectiveCfTwx15_ObjectiveCType6resultRGSqx__T_ : $@convention(witness_method) (@owned NSString, @inout Optional<UIApplicationLaunchOptionsKey>, @thick UIApplicationLaunchOptionsKey.Type) -> () {
  3779. // %0 // user: %4
  3780. // %1 // user: %4
  3781. // %2 // user: %4
  3782. bb0(%0 : $NSString, %1 : $*Optional<UIApplicationLaunchOptionsKey>, %2 : $@thick UIApplicationLaunchOptionsKey.Type):
  3783. // function_ref static _SwiftNewtypeWrapper<A where ...>._forceBridgeFromObjectiveC(A.RawValue._ObjectiveCType, result : inout A?) -> ()
  3784. %3 = function_ref @_TZFesRxs20_SwiftNewtypeWrapperwx8RawValues21_ObjectiveCBridgeablerS_26_forceBridgeFromObjectiveCfTWxS0_15_ObjectiveCType_6resultRGSqx__T_ : $@convention(method) <τ_0_0 where τ_0_0 : _SwiftNewtypeWrapper, τ_0_0.RawValue : _ObjectiveCBridgeable> (@owned τ_0_0.RawValue._ObjectiveCType, @inout Optional<τ_0_0>, @thick τ_0_0.Type) -> (), scope 45 // user: %4
  3785. %4 = apply %3<UIApplicationLaunchOptionsKey, String>(%0, %1, %2) : $@convention(method) <τ_0_0 where τ_0_0 : _SwiftNewtypeWrapper, τ_0_0.RawValue : _ObjectiveCBridgeable> (@owned τ_0_0.RawValue._ObjectiveCType, @inout Optional<τ_0_0>, @thick τ_0_0.Type) -> (), scope 45
  3786. %5 = tuple (), scope 45 // user: %6
  3787. return %5 : $(), scope 45 // id: %6
  3788. } // end sil function '_TTWVSC29UIApplicationLaunchOptionsKeys21_ObjectiveCBridgeable5UIKitZFS0_26_forceBridgeFromObjectiveCfTwx15_ObjectiveCType6resultRGSqx__T_'
  3789.  
  3790.  
  3791. // static _SwiftNewtypeWrapper<A where ...>._forceBridgeFromObjectiveC(A.RawValue._ObjectiveCType, result : inout A?) -> ()
  3792. sil @_TZFesRxs20_SwiftNewtypeWrapperwx8RawValues21_ObjectiveCBridgeablerS_26_forceBridgeFromObjectiveCfTWxS0_15_ObjectiveCType_6resultRGSqx__T_ : $@convention(method) <τ_0_0 where τ_0_0 : _SwiftNewtypeWrapper, τ_0_0.RawValue : _ObjectiveCBridgeable> (@owned τ_0_0.RawValue._ObjectiveCType, @inout Optional<τ_0_0>, @thick τ_0_0.Type) -> ()
  3793.  
  3794. sil_scope 46 { parent @_TTWVSC29UIApplicationLaunchOptionsKeys21_ObjectiveCBridgeable5UIKitZFS0_34_conditionallyBridgeFromObjectiveCfTwx15_ObjectiveCType6resultRGSqx__Sb : $@convention(witness_method) (@owned NSString, @inout Optional<UIApplicationLaunchOptionsKey>, @thick UIApplicationLaunchOptionsKey.Type) -> Bool }
  3795.  
  3796. // protocol witness for static _ObjectiveCBridgeable._conditionallyBridgeFromObjectiveC(A._ObjectiveCType, result : inout A?) -> Bool in conformance UIApplicationLaunchOptionsKey
  3797. sil shared [transparent] [thunk] @_TTWVSC29UIApplicationLaunchOptionsKeys21_ObjectiveCBridgeable5UIKitZFS0_34_conditionallyBridgeFromObjectiveCfTwx15_ObjectiveCType6resultRGSqx__Sb : $@convention(witness_method) (@owned NSString, @inout Optional<UIApplicationLaunchOptionsKey>, @thick UIApplicationLaunchOptionsKey.Type) -> Bool {
  3798. // %0 // user: %4
  3799. // %1 // user: %4
  3800. // %2 // user: %4
  3801. bb0(%0 : $NSString, %1 : $*Optional<UIApplicationLaunchOptionsKey>, %2 : $@thick UIApplicationLaunchOptionsKey.Type):
  3802. // function_ref static _SwiftNewtypeWrapper<A where ...>._conditionallyBridgeFromObjectiveC(A.RawValue._ObjectiveCType, result : inout A?) -> Bool
  3803. %3 = function_ref @_TZFesRxs20_SwiftNewtypeWrapperwx8RawValues21_ObjectiveCBridgeablerS_34_conditionallyBridgeFromObjectiveCfTWxS0_15_ObjectiveCType_6resultRGSqx__Sb : $@convention(method) <τ_0_0 where τ_0_0 : _SwiftNewtypeWrapper, τ_0_0.RawValue : _ObjectiveCBridgeable> (@owned τ_0_0.RawValue._ObjectiveCType, @inout Optional<τ_0_0>, @thick τ_0_0.Type) -> Bool, scope 46 // user: %4
  3804. %4 = apply %3<UIApplicationLaunchOptionsKey, String>(%0, %1, %2) : $@convention(method) <τ_0_0 where τ_0_0 : _SwiftNewtypeWrapper, τ_0_0.RawValue : _ObjectiveCBridgeable> (@owned τ_0_0.RawValue._ObjectiveCType, @inout Optional<τ_0_0>, @thick τ_0_0.Type) -> Bool, scope 46 // user: %5
  3805. return %4 : $Bool, scope 46 // id: %5
  3806. } // end sil function '_TTWVSC29UIApplicationLaunchOptionsKeys21_ObjectiveCBridgeable5UIKitZFS0_34_conditionallyBridgeFromObjectiveCfTwx15_ObjectiveCType6resultRGSqx__Sb'
  3807.  
  3808.  
  3809. // static _SwiftNewtypeWrapper<A where ...>._conditionallyBridgeFromObjectiveC(A.RawValue._ObjectiveCType, result : inout A?) -> Bool
  3810. sil @_TZFesRxs20_SwiftNewtypeWrapperwx8RawValues21_ObjectiveCBridgeablerS_34_conditionallyBridgeFromObjectiveCfTWxS0_15_ObjectiveCType_6resultRGSqx__Sb : $@convention(method) <τ_0_0 where τ_0_0 : _SwiftNewtypeWrapper, τ_0_0.RawValue : _ObjectiveCBridgeable> (@owned τ_0_0.RawValue._ObjectiveCType, @inout Optional<τ_0_0>, @thick τ_0_0.Type) -> Bool
  3811.  
  3812. sil_scope 47 { parent @_TTWVSC29UIApplicationLaunchOptionsKeys21_ObjectiveCBridgeable5UIKitZFS0_36_unconditionallyBridgeFromObjectiveCfGSqwx15_ObjectiveCType_x : $@convention(witness_method) (@owned Optional<NSString>, @thick UIApplicationLaunchOptionsKey.Type) -> @out UIApplicationLaunchOptionsKey }
  3813.  
  3814. // protocol witness for static _ObjectiveCBridgeable._unconditionallyBridgeFromObjectiveC(A._ObjectiveCType?) -> A in conformance UIApplicationLaunchOptionsKey
  3815. sil shared [transparent] [thunk] @_TTWVSC29UIApplicationLaunchOptionsKeys21_ObjectiveCBridgeable5UIKitZFS0_36_unconditionallyBridgeFromObjectiveCfGSqwx15_ObjectiveCType_x : $@convention(witness_method) (@owned Optional<NSString>, @thick UIApplicationLaunchOptionsKey.Type) -> @out UIApplicationLaunchOptionsKey {
  3816. // %0 // user: %4
  3817. // %1 // user: %4
  3818. // %2 // user: %4
  3819. bb0(%0 : $*UIApplicationLaunchOptionsKey, %1 : $Optional<NSString>, %2 : $@thick UIApplicationLaunchOptionsKey.Type):
  3820. // function_ref static _SwiftNewtypeWrapper<A where ...>._unconditionallyBridgeFromObjectiveC(A.RawValue._ObjectiveCType?) -> A
  3821. %3 = function_ref @_TZFesRxs20_SwiftNewtypeWrapperwx8RawValues21_ObjectiveCBridgeablerS_36_unconditionallyBridgeFromObjectiveCfGSqWxS0_15_ObjectiveCType__x : $@convention(method) <τ_0_0 where τ_0_0 : _SwiftNewtypeWrapper, τ_0_0.RawValue : _ObjectiveCBridgeable> (@owned Optional<τ_0_0.RawValue._ObjectiveCType>, @thick τ_0_0.Type) -> @out τ_0_0, scope 47 // user: %4
  3822. %4 = apply %3<UIApplicationLaunchOptionsKey, String>(%0, %1, %2) : $@convention(method) <τ_0_0 where τ_0_0 : _SwiftNewtypeWrapper, τ_0_0.RawValue : _ObjectiveCBridgeable> (@owned Optional<τ_0_0.RawValue._ObjectiveCType>, @thick τ_0_0.Type) -> @out τ_0_0, scope 47
  3823. %5 = tuple (), scope 47 // user: %6
  3824. return %5 : $(), scope 47 // id: %6
  3825. } // end sil function '_TTWVSC29UIApplicationLaunchOptionsKeys21_ObjectiveCBridgeable5UIKitZFS0_36_unconditionallyBridgeFromObjectiveCfGSqwx15_ObjectiveCType_x'
  3826.  
  3827.  
  3828. // static _SwiftNewtypeWrapper<A where ...>._unconditionallyBridgeFromObjectiveC(A.RawValue._ObjectiveCType?) -> A
  3829. sil @_TZFesRxs20_SwiftNewtypeWrapperwx8RawValues21_ObjectiveCBridgeablerS_36_unconditionallyBridgeFromObjectiveCfGSqWxS0_15_ObjectiveCType__x : $@convention(method) <τ_0_0 where τ_0_0 : _SwiftNewtypeWrapper, τ_0_0.RawValue : _ObjectiveCBridgeable> (@owned Optional<τ_0_0.RawValue._ObjectiveCType>, @thick τ_0_0.Type) -> @out τ_0_0
  3830.  
  3831.  
  3832. // String._bridgeToObjectiveC() -> NSString
  3833. sil [_semantics "convertToObjectiveC"] @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString
  3834.  
  3835.  
  3836. // _forceBridgeFromObjectiveC_bridgeable
  3837. sil @_forceBridgeFromObjectiveC_bridgeable : $@convention(thin) <τ_0_0 where τ_0_0 : _ObjectiveCBridgeable> (@owned τ_0_0._ObjectiveCType, @thick τ_0_0.Type) -> @out τ_0_0
  3838.  
  3839. sil_vtable AppDelegate {
  3840. #AppDelegate.application!1: _TFC3gpa11AppDelegate11applicationfTCSo13UIApplication29didFinishLaunchingWithOptionsGSqGVs10DictionaryVSC29UIApplicationLaunchOptionsKeyP____Sb // AppDelegate.application(UIApplication, didFinishLaunchingWithOptions : [UIApplicationLaunchOptionsKey : Any]?) -> Bool
  3841. #AppDelegate.applicationWillResignActive!1: _TFC3gpa11AppDelegate27applicationWillResignActivefCSo13UIApplicationT_ // AppDelegate.applicationWillResignActive(UIApplication) -> ()
  3842. #AppDelegate.applicationDidEnterBackground!1: _TFC3gpa11AppDelegate29applicationDidEnterBackgroundfCSo13UIApplicationT_ // AppDelegate.applicationDidEnterBackground(UIApplication) -> ()
  3843. #AppDelegate.applicationWillEnterForeground!1: _TFC3gpa11AppDelegate30applicationWillEnterForegroundfCSo13UIApplicationT_ // AppDelegate.applicationWillEnterForeground(UIApplication) -> ()
  3844. #AppDelegate.applicationDidBecomeActive!1: _TFC3gpa11AppDelegate26applicationDidBecomeActivefCSo13UIApplicationT_ // AppDelegate.applicationDidBecomeActive(UIApplication) -> ()
  3845. #AppDelegate.applicationWillTerminate!1: _TFC3gpa11AppDelegate24applicationWillTerminatefCSo13UIApplicationT_ // AppDelegate.applicationWillTerminate(UIApplication) -> ()
  3846. #AppDelegate.deinit!deallocator: _TFC3gpa11AppDelegateD // AppDelegate.__deallocating_deinit
  3847. #AppDelegate.window!getter.1: _TFC3gpa11AppDelegateg6windowGSqCSo8UIWindow_ // AppDelegate.window.getter
  3848. #AppDelegate.window!setter.1: _TFC3gpa11AppDelegates6windowGSqCSo8UIWindow_ // AppDelegate.window.setter
  3849. #AppDelegate.window!materializeForSet.1: _TFC3gpa11AppDelegatem6windowGSqCSo8UIWindow_ // AppDelegate.window.materializeForSet
  3850. #AppDelegate.init!initializer.1: _TFC3gpa11AppDelegatecfT_S0_ // AppDelegate.init() -> AppDelegate
  3851. }
  3852.  
  3853. sil_witness_table shared [fragile] UIApplicationLaunchOptionsKey: Equatable module UIKit {
  3854. method #Equatable."=="!1: @_TTWVSC29UIApplicationLaunchOptionsKeys9Equatable5UIKitZFS0_oi2eefTxx_Sb // protocol witness for static Equatable.== infix(A, A) -> Bool in conformance UIApplicationLaunchOptionsKey
  3855. }
  3856.  
  3857. sil_witness_table shared NSObject: AnyObject module ObjectiveC
  3858.  
  3859. sil_witness_table shared [fragile] UIApplicationLaunchOptionsKey: _Hashable module UIKit {
  3860. method #_Hashable._toAnyHashable!1: @_TTWVSC29UIApplicationLaunchOptionsKeys9_Hashable5UIKitFS0_14_toAnyHashablefT_Vs11AnyHashable // protocol witness for _Hashable._toAnyHashable() -> AnyHashable in conformance UIApplicationLaunchOptionsKey
  3861. }
  3862.  
  3863. sil_witness_table shared [fragile] UIApplicationLaunchOptionsKey: Hashable module UIKit {
  3864. base_protocol _Hashable: UIApplicationLaunchOptionsKey: _Hashable module UIKit
  3865. base_protocol Equatable: UIApplicationLaunchOptionsKey: Equatable module UIKit
  3866. method #Hashable.hashValue!getter.1: @_TTWVSC29UIApplicationLaunchOptionsKeys8Hashable5UIKitFS0_g9hashValueSi // protocol witness for Hashable.hashValue.getter in conformance UIApplicationLaunchOptionsKey
  3867. }
  3868.  
  3869. sil_witness_table shared [fragile] UIApplicationLaunchOptionsKey: RawRepresentable module UIKit {
  3870. associated_type RawValue: String
  3871. method #RawRepresentable.init!allocator.1: @_TTWVSC29UIApplicationLaunchOptionsKeys16RawRepresentable5UIKitFS0_CfT8rawValuewx8RawValue_GSqx_ // protocol witness for RawRepresentable.init(rawValue : A.RawValue) -> A? in conformance UIApplicationLaunchOptionsKey
  3872. method #RawRepresentable.rawValue!getter.1: @_TTWVSC29UIApplicationLaunchOptionsKeys16RawRepresentable5UIKitFS0_g8rawValuewx8RawValue // protocol witness for RawRepresentable.rawValue.getter in conformance UIApplicationLaunchOptionsKey
  3873. }
  3874.  
  3875. sil_witness_table shared [fragile] UIApplicationLaunchOptionsKey: _ObjectiveCBridgeable module UIKit {
  3876. associated_type _ObjectiveCType: NSString
  3877. method #_ObjectiveCBridgeable._bridgeToObjectiveC!1: @_TTWVSC29UIApplicationLaunchOptionsKeys21_ObjectiveCBridgeable5UIKitFS0_19_bridgeToObjectiveCfT_wx15_ObjectiveCType // protocol witness for _ObjectiveCBridgeable._bridgeToObjectiveC() -> A._ObjectiveCType in conformance UIApplicationLaunchOptionsKey
  3878. method #_ObjectiveCBridgeable._forceBridgeFromObjectiveC!1: @_TTWVSC29UIApplicationLaunchOptionsKeys21_ObjectiveCBridgeable5UIKitZFS0_26_forceBridgeFromObjectiveCfTwx15_ObjectiveCType6resultRGSqx__T_ // protocol witness for static _ObjectiveCBridgeable._forceBridgeFromObjectiveC(A._ObjectiveCType, result : inout A?) -> () in conformance UIApplicationLaunchOptionsKey
  3879. method #_ObjectiveCBridgeable._conditionallyBridgeFromObjectiveC!1: @_TTWVSC29UIApplicationLaunchOptionsKeys21_ObjectiveCBridgeable5UIKitZFS0_34_conditionallyBridgeFromObjectiveCfTwx15_ObjectiveCType6resultRGSqx__Sb // protocol witness for static _ObjectiveCBridgeable._conditionallyBridgeFromObjectiveC(A._ObjectiveCType, result : inout A?) -> Bool in conformance UIApplicationLaunchOptionsKey
  3880. method #_ObjectiveCBridgeable._unconditionallyBridgeFromObjectiveC!1: @_TTWVSC29UIApplicationLaunchOptionsKeys21_ObjectiveCBridgeable5UIKitZFS0_36_unconditionallyBridgeFromObjectiveCfGSqwx15_ObjectiveCType_x // protocol witness for static _ObjectiveCBridgeable._unconditionallyBridgeFromObjectiveC(A._ObjectiveCType?) -> A in conformance UIApplicationLaunchOptionsKey
  3881. }
  3882.  
  3883. sil_witness_table shared [fragile] UIApplicationLaunchOptionsKey: _SwiftNewtypeWrapper module UIKit {
  3884. base_protocol RawRepresentable: UIApplicationLaunchOptionsKey: RawRepresentable module UIKit
  3885. }
  3886.  
  3887.  
  3888.  
  3889. sil_stage raw
  3890.  
  3891. import Builtin
  3892. import Swift
  3893. import SwiftShims
  3894.  
  3895. sil_scope 1 { parent @_TIvC3gpa19ClassListController10classTableGSQCSo11UITableView_i : $@convention(thin) () -> @owned Optional<UITableView> }
  3896.  
  3897. // ClassListController.(classTable).(variable initialization expression)
  3898. sil hidden [transparent] @_TIvC3gpa19ClassListController10classTableGSQCSo11UITableView_i : $@convention(thin) () -> @owned Optional<UITableView> {
  3899. bb0:
  3900. // function_ref ImplicitlyUnwrappedOptional.init(nilLiteral : ()) -> A!
  3901. %0 = function_ref @_TFSQCfT10nilLiteralT__GSQx_ : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 1 // user: %3
  3902. %1 = metatype $@thin ImplicitlyUnwrappedOptional<UITableView>.Type, scope 1 // user: %3
  3903. %2 = alloc_stack $Optional<UITableView>, scope 1 // users: %5, %4, %3
  3904. %3 = apply %0<UITableView>(%2, %1) : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 1
  3905. %4 = load [take] %2 : $*Optional<UITableView>, scope 1 // user: %6
  3906. dealloc_stack %2 : $*Optional<UITableView>, scope 1 // id: %5
  3907. return %4 : $Optional<UITableView>, scope 1 // id: %6
  3908. } // end sil function '_TIvC3gpa19ClassListController10classTableGSQCSo11UITableView_i'
  3909.  
  3910.  
  3911. // ImplicitlyUnwrappedOptional.init(nilLiteral : ()) -> A!
  3912. sil [transparent] [fragile] @_TFSQCfT10nilLiteralT__GSQx_ : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>
  3913.  
  3914. sil_scope 2 { parent @_TToFC3gpa19ClassListControllerg10classTableGSQCSo11UITableView_ : $@convention(objc_method) (ClassListController) -> @autoreleased Optional<UITableView> }
  3915.  
  3916. // @objc ClassListController.classTable.getter
  3917. sil hidden [thunk] @_TToFC3gpa19ClassListControllerg10classTableGSQCSo11UITableView_ : $@convention(objc_method) (ClassListController) -> @autoreleased Optional<UITableView> {
  3918. // %0 // user: %1
  3919. bb0(%0 : $ClassListController):
  3920. %1 = copy_value %0 : $ClassListController, scope 2 // users: %4, %3
  3921. // function_ref ClassListController.classTable.getter
  3922. %2 = function_ref @_TFC3gpa19ClassListControllerg10classTableGSQCSo11UITableView_ : $@convention(method) (@guaranteed ClassListController) -> @owned Optional<UITableView>, scope 2 // user: %3
  3923. %3 = apply %2(%1) : $@convention(method) (@guaranteed ClassListController) -> @owned Optional<UITableView>, scope 2 // user: %5
  3924. destroy_value %1 : $ClassListController, scope 2 // id: %4
  3925. return %3 : $Optional<UITableView>, scope 2 // id: %5
  3926. } // end sil function '_TToFC3gpa19ClassListControllerg10classTableGSQCSo11UITableView_'
  3927.  
  3928. sil_scope 3 { loc "ClassListController.swift":28:19 parent @_TFC3gpa19ClassListControllerg10classTableGSQCSo11UITableView_ : $@convention(method) (@guaranteed ClassListController) -> @owned Optional<UITableView> }
  3929. sil_scope 4 { loc "ClassListController.swift":28:19 parent 3 }
  3930.  
  3931. // ClassListController.classTable.getter
  3932. sil hidden @_TFC3gpa19ClassListControllerg10classTableGSQCSo11UITableView_ : $@convention(method) (@guaranteed ClassListController) -> @owned Optional<UITableView> {
  3933. // %0 // users: %2, %1
  3934. bb0(%0 : $ClassListController):
  3935. debug_value %0 : $ClassListController, let, name "self", argno 1, loc "ClassListController.swift":28:19, scope 3 // id: %1
  3936. %2 = ref_element_addr %0 : $ClassListController, #ClassListController.classTable, scope 4 // user: %3
  3937. %3 = load [copy] %2 : $*Optional<UITableView>, scope 4 // user: %4
  3938. return %3 : $Optional<UITableView>, loc "ClassListController.swift":28:19, scope 4 // id: %4
  3939. } // end sil function '_TFC3gpa19ClassListControllerg10classTableGSQCSo11UITableView_'
  3940.  
  3941. sil_scope 5 { parent @_TToFC3gpa19ClassListControllers10classTableGSQCSo11UITableView_ : $@convention(objc_method) (Optional<UITableView>, ClassListController) -> () }
  3942.  
  3943. // @objc ClassListController.classTable.setter
  3944. sil hidden [thunk] @_TToFC3gpa19ClassListControllers10classTableGSQCSo11UITableView_ : $@convention(objc_method) (Optional<UITableView>, ClassListController) -> () {
  3945. // %0 // user: %2
  3946. // %1 // user: %3
  3947. bb0(%0 : $Optional<UITableView>, %1 : $ClassListController):
  3948. %2 = copy_value %0 : $Optional<UITableView>, scope 5 // user: %5
  3949. %3 = copy_value %1 : $ClassListController, scope 5 // users: %6, %5
  3950. // function_ref ClassListController.classTable.setter
  3951. %4 = function_ref @_TFC3gpa19ClassListControllers10classTableGSQCSo11UITableView_ : $@convention(method) (@owned Optional<UITableView>, @guaranteed ClassListController) -> (), scope 5 // user: %5
  3952. %5 = apply %4(%2, %3) : $@convention(method) (@owned Optional<UITableView>, @guaranteed ClassListController) -> (), scope 5 // user: %7
  3953. destroy_value %3 : $ClassListController, scope 5 // id: %6
  3954. return %5 : $(), scope 5 // id: %7
  3955. } // end sil function '_TToFC3gpa19ClassListControllers10classTableGSQCSo11UITableView_'
  3956.  
  3957. sil_scope 6 { loc "ClassListController.swift":28:19 parent @_TFC3gpa19ClassListControllers10classTableGSQCSo11UITableView_ : $@convention(method) (@owned Optional<UITableView>, @guaranteed ClassListController) -> () }
  3958. sil_scope 7 { loc "ClassListController.swift":28:19 parent 6 }
  3959.  
  3960. // ClassListController.classTable.setter
  3961. sil hidden @_TFC3gpa19ClassListControllers10classTableGSQCSo11UITableView_ : $@convention(method) (@owned Optional<UITableView>, @guaranteed ClassListController) -> () {
  3962. // %0 // users: %7, %4, %2
  3963. // %1 // users: %5, %3
  3964. bb0(%0 : $Optional<UITableView>, %1 : $ClassListController):
  3965. debug_value %0 : $Optional<UITableView>, let, name "value", argno 1, loc "ClassListController.swift":28:19, scope 6 // id: %2
  3966. debug_value %1 : $ClassListController, let, name "self", argno 2, loc "ClassListController.swift":28:19, scope 6 // id: %3
  3967. %4 = copy_value %0 : $Optional<UITableView>, scope 7 // user: %6
  3968. %5 = ref_element_addr %1 : $ClassListController, #ClassListController.classTable, scope 7 // user: %6
  3969. assign %4 to %5 : $*Optional<UITableView>, scope 7 // id: %6
  3970. destroy_value %0 : $Optional<UITableView>, loc "ClassListController.swift":28:19, scope 7 // id: %7
  3971. %8 = tuple (), loc "ClassListController.swift":28:19, scope 7 // user: %9
  3972. return %8 : $(), loc "ClassListController.swift":28:19, scope 7 // id: %9
  3973. } // end sil function '_TFC3gpa19ClassListControllers10classTableGSQCSo11UITableView_'
  3974.  
  3975. sil_scope 8 { parent @_TIvC3gpa19ClassListController10editOptionGSQCSo15UIBarButtonItem_i : $@convention(thin) () -> @owned Optional<UIBarButtonItem> }
  3976.  
  3977. // ClassListController.(editOption).(variable initialization expression)
  3978. sil hidden [transparent] @_TIvC3gpa19ClassListController10editOptionGSQCSo15UIBarButtonItem_i : $@convention(thin) () -> @owned Optional<UIBarButtonItem> {
  3979. bb0:
  3980. // function_ref ImplicitlyUnwrappedOptional.init(nilLiteral : ()) -> A!
  3981. %0 = function_ref @_TFSQCfT10nilLiteralT__GSQx_ : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 8 // user: %3
  3982. %1 = metatype $@thin ImplicitlyUnwrappedOptional<UIBarButtonItem>.Type, scope 8 // user: %3
  3983. %2 = alloc_stack $Optional<UIBarButtonItem>, scope 8 // users: %5, %4, %3
  3984. %3 = apply %0<UIBarButtonItem>(%2, %1) : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 8
  3985. %4 = load [take] %2 : $*Optional<UIBarButtonItem>, scope 8 // user: %6
  3986. dealloc_stack %2 : $*Optional<UIBarButtonItem>, scope 8 // id: %5
  3987. return %4 : $Optional<UIBarButtonItem>, scope 8 // id: %6
  3988. } // end sil function '_TIvC3gpa19ClassListController10editOptionGSQCSo15UIBarButtonItem_i'
  3989.  
  3990. sil_scope 9 { parent @_TToFC3gpa19ClassListControllerg10editOptionGSQCSo15UIBarButtonItem_ : $@convention(objc_method) (ClassListController) -> @autoreleased Optional<UIBarButtonItem> }
  3991.  
  3992. // @objc ClassListController.editOption.getter
  3993. sil hidden [thunk] @_TToFC3gpa19ClassListControllerg10editOptionGSQCSo15UIBarButtonItem_ : $@convention(objc_method) (ClassListController) -> @autoreleased Optional<UIBarButtonItem> {
  3994. // %0 // user: %1
  3995. bb0(%0 : $ClassListController):
  3996. %1 = copy_value %0 : $ClassListController, scope 9 // users: %4, %3
  3997. // function_ref ClassListController.editOption.getter
  3998. %2 = function_ref @_TFC3gpa19ClassListControllerg10editOptionGSQCSo15UIBarButtonItem_ : $@convention(method) (@guaranteed ClassListController) -> @owned Optional<UIBarButtonItem>, scope 9 // user: %3
  3999. %3 = apply %2(%1) : $@convention(method) (@guaranteed ClassListController) -> @owned Optional<UIBarButtonItem>, scope 9 // user: %5
  4000. destroy_value %1 : $ClassListController, scope 9 // id: %4
  4001. return %3 : $Optional<UIBarButtonItem>, scope 9 // id: %5
  4002. } // end sil function '_TToFC3gpa19ClassListControllerg10editOptionGSQCSo15UIBarButtonItem_'
  4003.  
  4004. sil_scope 10 { loc "ClassListController.swift":29:19 parent @_TFC3gpa19ClassListControllerg10editOptionGSQCSo15UIBarButtonItem_ : $@convention(method) (@guaranteed ClassListController) -> @owned Optional<UIBarButtonItem> }
  4005. sil_scope 11 { loc "ClassListController.swift":29:19 parent 10 }
  4006.  
  4007. // ClassListController.editOption.getter
  4008. sil hidden @_TFC3gpa19ClassListControllerg10editOptionGSQCSo15UIBarButtonItem_ : $@convention(method) (@guaranteed ClassListController) -> @owned Optional<UIBarButtonItem> {
  4009. // %0 // users: %2, %1
  4010. bb0(%0 : $ClassListController):
  4011. debug_value %0 : $ClassListController, let, name "self", argno 1, loc "ClassListController.swift":29:19, scope 10 // id: %1
  4012. %2 = ref_element_addr %0 : $ClassListController, #ClassListController.editOption, scope 11 // user: %3
  4013. %3 = load [copy] %2 : $*Optional<UIBarButtonItem>, scope 11 // user: %4
  4014. return %3 : $Optional<UIBarButtonItem>, loc "ClassListController.swift":29:19, scope 11 // id: %4
  4015. } // end sil function '_TFC3gpa19ClassListControllerg10editOptionGSQCSo15UIBarButtonItem_'
  4016.  
  4017. sil_scope 12 { parent @_TToFC3gpa19ClassListControllers10editOptionGSQCSo15UIBarButtonItem_ : $@convention(objc_method) (Optional<UIBarButtonItem>, ClassListController) -> () }
  4018.  
  4019. // @objc ClassListController.editOption.setter
  4020. sil hidden [thunk] @_TToFC3gpa19ClassListControllers10editOptionGSQCSo15UIBarButtonItem_ : $@convention(objc_method) (Optional<UIBarButtonItem>, ClassListController) -> () {
  4021. // %0 // user: %2
  4022. // %1 // user: %3
  4023. bb0(%0 : $Optional<UIBarButtonItem>, %1 : $ClassListController):
  4024. %2 = copy_value %0 : $Optional<UIBarButtonItem>, scope 12 // user: %5
  4025. %3 = copy_value %1 : $ClassListController, scope 12 // users: %6, %5
  4026. // function_ref ClassListController.editOption.setter
  4027. %4 = function_ref @_TFC3gpa19ClassListControllers10editOptionGSQCSo15UIBarButtonItem_ : $@convention(method) (@owned Optional<UIBarButtonItem>, @guaranteed ClassListController) -> (), scope 12 // user: %5
  4028. %5 = apply %4(%2, %3) : $@convention(method) (@owned Optional<UIBarButtonItem>, @guaranteed ClassListController) -> (), scope 12 // user: %7
  4029. destroy_value %3 : $ClassListController, scope 12 // id: %6
  4030. return %5 : $(), scope 12 // id: %7
  4031. } // end sil function '_TToFC3gpa19ClassListControllers10editOptionGSQCSo15UIBarButtonItem_'
  4032.  
  4033. sil_scope 13 { loc "ClassListController.swift":29:19 parent @_TFC3gpa19ClassListControllers10editOptionGSQCSo15UIBarButtonItem_ : $@convention(method) (@owned Optional<UIBarButtonItem>, @guaranteed ClassListController) -> () }
  4034. sil_scope 14 { loc "ClassListController.swift":29:19 parent 13 }
  4035.  
  4036. // ClassListController.editOption.setter
  4037. sil hidden @_TFC3gpa19ClassListControllers10editOptionGSQCSo15UIBarButtonItem_ : $@convention(method) (@owned Optional<UIBarButtonItem>, @guaranteed ClassListController) -> () {
  4038. // %0 // users: %7, %4, %2
  4039. // %1 // users: %5, %3
  4040. bb0(%0 : $Optional<UIBarButtonItem>, %1 : $ClassListController):
  4041. debug_value %0 : $Optional<UIBarButtonItem>, let, name "value", argno 1, loc "ClassListController.swift":29:19, scope 13 // id: %2
  4042. debug_value %1 : $ClassListController, let, name "self", argno 2, loc "ClassListController.swift":29:19, scope 13 // id: %3
  4043. %4 = copy_value %0 : $Optional<UIBarButtonItem>, scope 14 // user: %6
  4044. %5 = ref_element_addr %1 : $ClassListController, #ClassListController.editOption, scope 14 // user: %6
  4045. assign %4 to %5 : $*Optional<UIBarButtonItem>, scope 14 // id: %6
  4046. destroy_value %0 : $Optional<UIBarButtonItem>, loc "ClassListController.swift":29:19, scope 14 // id: %7
  4047. %8 = tuple (), loc "ClassListController.swift":29:19, scope 14 // user: %9
  4048. return %8 : $(), loc "ClassListController.swift":29:19, scope 14 // id: %9
  4049. } // end sil function '_TFC3gpa19ClassListControllers10editOptionGSQCSo15UIBarButtonItem_'
  4050.  
  4051. sil_scope 15 { loc "ClassListController.swift":31:19 parent @_TFC3gpa19ClassListController11viewDidLoadfT_T_ : $@convention(method) (@guaranteed ClassListController) -> () }
  4052. sil_scope 16 { loc "ClassListController.swift":34:5 parent 15 }
  4053.  
  4054. // ClassListController.viewDidLoad() -> ()
  4055. sil hidden @_TFC3gpa19ClassListController11viewDidLoadfT_T_ : $@convention(method) (@guaranteed ClassListController) -> () {
  4056. // %0 // users: %2, %1
  4057. bb0(%0 : $ClassListController):
  4058. debug_value %0 : $ClassListController, let, name "self", argno 1, loc "ClassListController.swift":31:19, scope 15 // id: %1
  4059. %2 = copy_value %0 : $ClassListController, loc "ClassListController.swift":32:9, scope 16 // users: %6, %4, %3
  4060. %3 = upcast %2 : $ClassListController to $UIViewController, loc "ClassListController.swift":32:9, scope 16 // user: %5
  4061. %4 = super_method [volatile] %2 : $ClassListController, #UIViewController.viewDidLoad!1.foreign : (UIViewController) -> () -> () , $@convention(objc_method) (UIViewController) -> (), loc "ClassListController.swift":32:15, scope 16 // user: %5
  4062. %5 = apply %4(%3) : $@convention(objc_method) (UIViewController) -> (), loc "ClassListController.swift":32:27, scope 16
  4063. destroy_value %2 : $ClassListController, loc "ClassListController.swift":32:27, scope 16 // id: %6
  4064. // function_ref static Information.initializeArray() -> ()
  4065. %7 = function_ref @_TZFC3gpa11Information15initializeArrayfT_T_ : $@convention(method) (@thick Information.Type) -> (), loc "ClassListController.swift":33:21, scope 16 // user: %9
  4066. %8 = metatype $@thick Information.Type, loc "ClassListController.swift":33:9, scope 16 // user: %9
  4067. %9 = apply %7(%8) : $@convention(method) (@thick Information.Type) -> (), loc "ClassListController.swift":33:37, scope 16
  4068. %10 = tuple (), loc "ClassListController.swift":34:5, scope 16 // user: %11
  4069. return %10 : $(), loc "ClassListController.swift":34:5, scope 16 // id: %11
  4070. } // end sil function '_TFC3gpa19ClassListController11viewDidLoadfT_T_'
  4071.  
  4072.  
  4073. // static Information.initializeArray() -> ()
  4074. sil hidden_external @_TZFC3gpa11Information15initializeArrayfT_T_ : $@convention(method) (@thick Information.Type) -> ()
  4075.  
  4076. sil_scope 17 { loc "ClassListController.swift":31:19 parent @_TToFC3gpa19ClassListController11viewDidLoadfT_T_ : $@convention(objc_method) (ClassListController) -> () }
  4077.  
  4078. // @objc ClassListController.viewDidLoad() -> ()
  4079. sil hidden [thunk] @_TToFC3gpa19ClassListController11viewDidLoadfT_T_ : $@convention(objc_method) (ClassListController) -> () {
  4080. // %0 // user: %1
  4081. bb0(%0 : $ClassListController):
  4082. %1 = copy_value %0 : $ClassListController, scope 17 // users: %4, %3
  4083. // function_ref ClassListController.viewDidLoad() -> ()
  4084. %2 = function_ref @_TFC3gpa19ClassListController11viewDidLoadfT_T_ : $@convention(method) (@guaranteed ClassListController) -> (), scope 17 // user: %3
  4085. %3 = apply %2(%1) : $@convention(method) (@guaranteed ClassListController) -> (), scope 17 // user: %5
  4086. destroy_value %1 : $ClassListController, scope 17 // id: %4
  4087. return %3 : $(), scope 17 // id: %5
  4088. } // end sil function '_TToFC3gpa19ClassListController11viewDidLoadfT_T_'
  4089.  
  4090. sil_scope 18 { loc "ClassListController.swift":36:19 parent @_TFC3gpa19ClassListController14viewWillAppearfSbT_ : $@convention(method) (Bool, @guaranteed ClassListController) -> () }
  4091. sil_scope 19 { loc "ClassListController.swift":42:5 parent 18 }
  4092.  
  4093. // ClassListController.viewWillAppear(Bool) -> ()
  4094. sil hidden @_TFC3gpa19ClassListController14viewWillAppearfSbT_ : $@convention(method) (Bool, @guaranteed ClassListController) -> () {
  4095. // %0 // users: %8, %2
  4096. // %1 // users: %31, %30, %13, %12, %4, %3
  4097. bb0(%0 : $Bool, %1 : $ClassListController):
  4098. debug_value %0 : $Bool, let, name "animated", argno 1, loc "ClassListController.swift":36:36, scope 18 // id: %2
  4099. debug_value %1 : $ClassListController, let, name "self", argno 2, loc "ClassListController.swift":36:19, scope 18 // id: %3
  4100. %4 = copy_value %1 : $ClassListController, loc "ClassListController.swift":37:9, scope 19 // users: %10, %6, %5
  4101. %5 = upcast %4 : $ClassListController to $UIViewController, loc "ClassListController.swift":37:9, scope 19 // user: %9
  4102. %6 = super_method [volatile] %4 : $ClassListController, #UIViewController.viewWillAppear!1.foreign : (UIViewController) -> (Bool) -> () , $@convention(objc_method) (ObjCBool, UIViewController) -> (), loc "ClassListController.swift":37:15, scope 19 // user: %9
  4103. // function_ref _convertBoolToObjCBool(Bool) -> ObjCBool
  4104. %7 = function_ref @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool, loc "ClassListController.swift":37:30, scope 19 // user: %8
  4105. %8 = apply %7(%0) : $@convention(thin) (Bool) -> ObjCBool, loc "ClassListController.swift":37:30, scope 19 // user: %9
  4106. %9 = apply %6(%8, %5) : $@convention(objc_method) (ObjCBool, UIViewController) -> (), loc "ClassListController.swift":37:38, scope 19
  4107. destroy_value %4 : $ClassListController, loc "ClassListController.swift":37:38, scope 19 // id: %10
  4108. %11 = alloc_stack $Optional<UITableView>, loc "ClassListController.swift":40:9, scope 19 // users: %29, %23, %15, %14
  4109. %12 = class_method %1 : $ClassListController, #ClassListController.classTable!getter.1 : (ClassListController) -> () -> UITableView! , $@convention(method) (@guaranteed ClassListController) -> @owned Optional<UITableView>, loc "ClassListController.swift":40:9, scope 19 // user: %13
  4110. %13 = apply %12(%1) : $@convention(method) (@guaranteed ClassListController) -> @owned Optional<UITableView>, loc "ClassListController.swift":40:9, scope 19 // user: %14
  4111. store %13 to [init] %11 : $*Optional<UITableView>, loc "ClassListController.swift":40:9, scope 19 // id: %14
  4112. switch_enum_addr %11 : $*Optional<UITableView>, case #Optional.none!enumelt: bb1, default bb2, loc "ClassListController.swift":40:9, scope 19 // id: %15
  4113.  
  4114. bb1: // Preds: bb0
  4115. %16 = string_literal utf8 "ClassListController.swift", loc "ClassListController.swift":40:9, scope 19 // user: %21
  4116. %17 = integer_literal $Builtin.Word, 25, loc "ClassListController.swift":40:9, scope 19 // user: %21
  4117. %18 = integer_literal $Builtin.Int1, -1, loc "ClassListController.swift":40:9, scope 19 // user: %21
  4118. %19 = integer_literal $Builtin.Word, 40, loc "ClassListController.swift":40:9, scope 19 // user: %21
  4119. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  4120. %20 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassListController.swift":40:9, scope 19 // user: %21
  4121. %21 = apply %20(%16, %17, %18, %19) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassListController.swift":40:9, scope 19
  4122. unreachable , loc "ClassListController.swift":40:9, scope 19 // id: %22
  4123.  
  4124. bb2: // Preds: bb0
  4125. %23 = unchecked_take_enum_data_addr %11 : $*Optional<UITableView>, #Optional.some!enumelt.1, loc "ClassListController.swift":40:9, scope 19 // users: %28, %24
  4126. %24 = load [copy] %23 : $*UITableView, loc "ClassListController.swift":40:9, scope 19 // users: %27, %26, %25
  4127. %25 = class_method [volatile] %24 : $UITableView, #UITableView.reloadData!1.foreign : (UITableView) -> () -> () , $@convention(objc_method) (UITableView) -> (), loc "ClassListController.swift":40:20, scope 19 // user: %26
  4128. %26 = apply %25(%24) : $@convention(objc_method) (UITableView) -> (), loc "ClassListController.swift":40:31, scope 19
  4129. destroy_value %24 : $UITableView, loc "ClassListController.swift":40:31, scope 19 // id: %27
  4130. destroy_addr %23 : $*UITableView, loc "ClassListController.swift":40:31, scope 19 // id: %28
  4131. dealloc_stack %11 : $*Optional<UITableView>, loc "ClassListController.swift":40:31, scope 19 // id: %29
  4132. %30 = class_method %1 : $ClassListController, #ClassListController.setEditOptionEnabled!1 : (ClassListController) -> () -> () , $@convention(method) (@guaranteed ClassListController) -> (), loc "ClassListController.swift":41:9, scope 19 // user: %31
  4133. %31 = apply %30(%1) : $@convention(method) (@guaranteed ClassListController) -> (), loc "ClassListController.swift":41:30, scope 19
  4134. %32 = tuple (), loc "ClassListController.swift":42:5, scope 19 // user: %33
  4135. return %32 : $(), loc "ClassListController.swift":42:5, scope 19 // id: %33
  4136. } // end sil function '_TFC3gpa19ClassListController14viewWillAppearfSbT_'
  4137.  
  4138.  
  4139. // _convertBoolToObjCBool(Bool) -> ObjCBool
  4140. sil @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool
  4141.  
  4142.  
  4143. // _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  4144. sil [transparent] [fragile] @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> ()
  4145.  
  4146. sil_scope 20 { loc "ClassListController.swift":36:19 parent @_TToFC3gpa19ClassListController14viewWillAppearfSbT_ : $@convention(objc_method) (ObjCBool, ClassListController) -> () }
  4147.  
  4148. // @objc ClassListController.viewWillAppear(Bool) -> ()
  4149. sil hidden [thunk] @_TToFC3gpa19ClassListController14viewWillAppearfSbT_ : $@convention(objc_method) (ObjCBool, ClassListController) -> () {
  4150. // %0 // user: %4
  4151. // %1 // user: %2
  4152. bb0(%0 : $ObjCBool, %1 : $ClassListController):
  4153. %2 = copy_value %1 : $ClassListController, scope 20 // users: %7, %6
  4154. // function_ref _convertObjCBoolToBool(ObjCBool) -> Bool
  4155. %3 = function_ref @_TF10ObjectiveC22_convertObjCBoolToBoolFVS_8ObjCBoolSb : $@convention(thin) (ObjCBool) -> Bool, scope 20 // user: %4
  4156. %4 = apply %3(%0) : $@convention(thin) (ObjCBool) -> Bool, scope 20 // user: %6
  4157. // function_ref ClassListController.viewWillAppear(Bool) -> ()
  4158. %5 = function_ref @_TFC3gpa19ClassListController14viewWillAppearfSbT_ : $@convention(method) (Bool, @guaranteed ClassListController) -> (), scope 20 // user: %6
  4159. %6 = apply %5(%4, %2) : $@convention(method) (Bool, @guaranteed ClassListController) -> (), scope 20 // user: %8
  4160. destroy_value %2 : $ClassListController, scope 20 // id: %7
  4161. return %6 : $(), scope 20 // id: %8
  4162. } // end sil function '_TToFC3gpa19ClassListController14viewWillAppearfSbT_'
  4163.  
  4164.  
  4165. // _convertObjCBoolToBool(ObjCBool) -> Bool
  4166. sil @_TF10ObjectiveC22_convertObjCBoolToBoolFVS_8ObjCBoolSb : $@convention(thin) (ObjCBool) -> Bool
  4167.  
  4168. sil_scope 21 { loc "ClassListController.swift":44:10 parent @_TFC3gpa19ClassListController9tableViewfTCSo11UITableView21numberOfRowsInSectionSi_Si : $@convention(method) (@owned UITableView, Int, @guaranteed ClassListController) -> Int }
  4169. sil_scope 22 { loc "ClassListController.swift":46:5 parent 21 }
  4170.  
  4171. // ClassListController.tableView(UITableView, numberOfRowsInSection : Int) -> Int
  4172. sil hidden @_TFC3gpa19ClassListController9tableViewfTCSo11UITableView21numberOfRowsInSectionSi_Si : $@convention(method) (@owned UITableView, Int, @guaranteed ClassListController) -> Int {
  4173. // %0 // users: %14, %3
  4174. // %1 // user: %4
  4175. // %2 // user: %5
  4176. bb0(%0 : $UITableView, %1 : $Int, %2 : $ClassListController):
  4177. debug_value %0 : $UITableView, let, name "tableView", argno 1, loc "ClassListController.swift":44:22, scope 21 // id: %3
  4178. debug_value %1 : $Int, let, name "section", argno 2, loc "ClassListController.swift":44:68, scope 21 // id: %4
  4179. debug_value %2 : $ClassListController, let, name "self", argno 3, loc "ClassListController.swift":44:10, scope 21 // id: %5
  4180. %6 = metatype $@thick Information.Type, loc "ClassListController.swift":45:16, scope 22
  4181. // function_ref Information.classesAndGrades.unsafeMutableAddressor
  4182. %7 = function_ref @_TFC3gpa11Informationau16classesAndGradesGSaS0__ : $@convention(thin) () -> Builtin.RawPointer, loc "ClassListController.swift":45:28, scope 22 // user: %8
  4183. %8 = apply %7() : $@convention(thin) () -> Builtin.RawPointer, loc "ClassListController.swift":45:28, scope 22 // user: %9
  4184. %9 = pointer_to_address %8 : $Builtin.RawPointer to [strict] $*Array<Information>, loc "ClassListController.swift":45:28, scope 22 // user: %10
  4185. %10 = load [copy] %9 : $*Array<Information>, loc "ClassListController.swift":45:28, scope 22 // users: %13, %12
  4186. // function_ref Array.count.getter
  4187. %11 = function_ref @_TFSag5countSi : $@convention(method) <τ_0_0> (@guaranteed Array<τ_0_0>) -> Int, loc "ClassListController.swift":45:45, scope 22 // user: %12
  4188. %12 = apply %11<Information>(%10) : $@convention(method) <τ_0_0> (@guaranteed Array<τ_0_0>) -> Int, loc "ClassListController.swift":45:45, scope 22 // user: %15
  4189. destroy_value %10 : $Array<Information>, loc "ClassListController.swift":45:45, scope 22 // id: %13
  4190. destroy_value %0 : $UITableView, loc "ClassListController.swift":46:5, scope 22 // id: %14
  4191. return %12 : $Int, loc "ClassListController.swift":45:9, scope 22 // id: %15
  4192. } // end sil function '_TFC3gpa19ClassListController9tableViewfTCSo11UITableView21numberOfRowsInSectionSi_Si'
  4193.  
  4194.  
  4195. // Information.classesAndGrades.unsafeMutableAddressor
  4196. sil hidden_external [global_init] @_TFC3gpa11Informationau16classesAndGradesGSaS0__ : $@convention(thin) () -> Builtin.RawPointer
  4197.  
  4198.  
  4199. // Array.count.getter
  4200. sil @_TFSag5countSi : $@convention(method) <τ_0_0> (@guaranteed Array<τ_0_0>) -> Int
  4201.  
  4202. sil_scope 23 { loc "ClassListController.swift":44:10 parent @_TToFC3gpa19ClassListController9tableViewfTCSo11UITableView21numberOfRowsInSectionSi_Si : $@convention(objc_method) (UITableView, Int, ClassListController) -> Int }
  4203.  
  4204. // @objc ClassListController.tableView(UITableView, numberOfRowsInSection : Int) -> Int
  4205. sil hidden [thunk] @_TToFC3gpa19ClassListController9tableViewfTCSo11UITableView21numberOfRowsInSectionSi_Si : $@convention(objc_method) (UITableView, Int, ClassListController) -> Int {
  4206. // %0 // user: %3
  4207. // %1 // user: %6
  4208. // %2 // user: %4
  4209. bb0(%0 : $UITableView, %1 : $Int, %2 : $ClassListController):
  4210. %3 = copy_value %0 : $UITableView, scope 23 // user: %6
  4211. %4 = copy_value %2 : $ClassListController, scope 23 // users: %7, %6
  4212. // function_ref ClassListController.tableView(UITableView, numberOfRowsInSection : Int) -> Int
  4213. %5 = function_ref @_TFC3gpa19ClassListController9tableViewfTCSo11UITableView21numberOfRowsInSectionSi_Si : $@convention(method) (@owned UITableView, Int, @guaranteed ClassListController) -> Int, scope 23 // user: %6
  4214. %6 = apply %5(%3, %1, %4) : $@convention(method) (@owned UITableView, Int, @guaranteed ClassListController) -> Int, scope 23 // user: %8
  4215. destroy_value %4 : $ClassListController, scope 23 // id: %7
  4216. return %6 : $Int, scope 23 // id: %8
  4217. } // end sil function '_TToFC3gpa19ClassListController9tableViewfTCSo11UITableView21numberOfRowsInSectionSi_Si'
  4218.  
  4219. sil_scope 24 { loc "ClassListController.swift":48:10 parent @_TFC3gpa19ClassListController20setEditOptionEnabledfT_T_ : $@convention(method) (@guaranteed ClassListController) -> () }
  4220. sil_scope 25 { loc "ClassListController.swift":54:5 parent 24 }
  4221. sil_scope 26 { loc "ClassListController.swift":53:9 parent 25 }
  4222. sil_scope 27 { loc "ClassListController.swift":51:9 parent 26 }
  4223. sil_scope 28 { loc "ClassListController.swift":53:9 parent 25 }
  4224.  
  4225. // ClassListController.setEditOptionEnabled() -> ()
  4226. sil hidden @_TFC3gpa19ClassListController20setEditOptionEnabledfT_T_ : $@convention(method) (@guaranteed ClassListController) -> () {
  4227. // %0 // users: %48, %47, %21, %20, %1
  4228. bb0(%0 : $ClassListController):
  4229. debug_value %0 : $ClassListController, let, name "self", argno 1, loc "ClassListController.swift":48:10, scope 24 // id: %1
  4230. // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
  4231. %2 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "ClassListController.swift":49:47, scope 26 // user: %17
  4232. // function_ref == infix(Int, Int) -> Bool
  4233. %3 = function_ref @_TFsoi2eeFTSiSi_Sb : $@convention(thin) (Int, Int) -> Bool, loc "ClassListController.swift":49:47, scope 26 // user: %16
  4234. %4 = metatype $@thick Information.Type, loc "ClassListController.swift":49:12, scope 26
  4235. // function_ref Information.classesAndGrades.unsafeMutableAddressor
  4236. %5 = function_ref @_TFC3gpa11Informationau16classesAndGradesGSaS0__ : $@convention(thin) () -> Builtin.RawPointer, loc "ClassListController.swift":49:24, scope 26 // user: %6
  4237. %6 = apply %5() : $@convention(thin) () -> Builtin.RawPointer, loc "ClassListController.swift":49:24, scope 26 // user: %7
  4238. %7 = pointer_to_address %6 : $Builtin.RawPointer to [strict] $*Array<Information>, loc "ClassListController.swift":49:24, scope 26 // user: %8
  4239. %8 = load [copy] %7 : $*Array<Information>, loc "ClassListController.swift":49:24, scope 26 // users: %11, %10
  4240. // function_ref Array.count.getter
  4241. %9 = function_ref @_TFSag5countSi : $@convention(method) <τ_0_0> (@guaranteed Array<τ_0_0>) -> Int, loc "ClassListController.swift":49:41, scope 26 // user: %10
  4242. %10 = apply %9<Information>(%8) : $@convention(method) <τ_0_0> (@guaranteed Array<τ_0_0>) -> Int, loc "ClassListController.swift":49:41, scope 26 // user: %16
  4243. destroy_value %8 : $Array<Information>, loc "ClassListController.swift":49:41, scope 26 // id: %11
  4244. // function_ref Int.init(_builtinIntegerLiteral : Builtin.Int2048) -> Int
  4245. %12 = function_ref @_TFSiCfT22_builtinIntegerLiteralBi2048__Si : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassListController.swift":49:50, scope 26 // user: %15
  4246. %13 = metatype $@thin Int.Type, loc "ClassListController.swift":49:50, scope 26 // user: %15
  4247. %14 = integer_literal $Builtin.Int2048, 0, loc "ClassListController.swift":49:50, scope 26 // user: %15
  4248. %15 = apply %12(%14, %13) : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassListController.swift":49:50, scope 26 // user: %16
  4249. %16 = apply %3(%10, %15) : $@convention(thin) (Int, Int) -> Bool, loc "ClassListController.swift":49:47, scope 26 // user: %17
  4250. %17 = apply %2(%16) : $@convention(method) (Bool) -> Builtin.Int1, loc "ClassListController.swift":49:50, scope 26 // user: %18
  4251. cond_br %17, bb1, bb4, loc "ClassListController.swift":49:50, scope 26 // id: %18
  4252.  
  4253. bb1: // Preds: bb0
  4254. %19 = alloc_stack $Optional<UIBarButtonItem>, loc "ClassListController.swift":50:13, scope 27 // users: %44, %31, %23, %22
  4255. %20 = class_method %0 : $ClassListController, #ClassListController.editOption!getter.1 : (ClassListController) -> () -> UIBarButtonItem! , $@convention(method) (@guaranteed ClassListController) -> @owned Optional<UIBarButtonItem>, loc "ClassListController.swift":50:13, scope 27 // user: %21
  4256. %21 = apply %20(%0) : $@convention(method) (@guaranteed ClassListController) -> @owned Optional<UIBarButtonItem>, loc "ClassListController.swift":50:13, scope 27 // user: %22
  4257. store %21 to [init] %19 : $*Optional<UIBarButtonItem>, loc "ClassListController.swift":50:13, scope 27 // id: %22
  4258. switch_enum_addr %19 : $*Optional<UIBarButtonItem>, case #Optional.none!enumelt: bb2, default bb3, loc "ClassListController.swift":50:13, scope 27 // id: %23
  4259.  
  4260. bb2: // Preds: bb1
  4261. %24 = string_literal utf8 "ClassListController.swift", loc "ClassListController.swift":50:13, scope 27 // user: %29
  4262. %25 = integer_literal $Builtin.Word, 25, loc "ClassListController.swift":50:13, scope 27 // user: %29
  4263. %26 = integer_literal $Builtin.Int1, -1, loc "ClassListController.swift":50:13, scope 27 // user: %29
  4264. %27 = integer_literal $Builtin.Word, 50, loc "ClassListController.swift":50:13, scope 27 // user: %29
  4265. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  4266. %28 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassListController.swift":50:13, scope 27 // user: %29
  4267. %29 = apply %28(%24, %25, %26, %27) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassListController.swift":50:13, scope 27
  4268. unreachable , loc "ClassListController.swift":50:13, scope 27 // id: %30
  4269.  
  4270. bb3: // Preds: bb1
  4271. %31 = unchecked_take_enum_data_addr %19 : $*Optional<UIBarButtonItem>, #Optional.some!enumelt.1, loc "ClassListController.swift":50:13, scope 27 // users: %43, %32
  4272. %32 = load [copy] %31 : $*UIBarButtonItem, loc "ClassListController.swift":50:13, scope 27 // users: %42, %33
  4273. %33 = upcast %32 : $UIBarButtonItem to $UIBarItem, loc "ClassListController.swift":50:13, scope 27 // users: %41, %38
  4274. // function_ref Bool.init(_builtinBooleanLiteral : Builtin.Int1) -> Bool
  4275. %34 = function_ref @_TFSbCfT22_builtinBooleanLiteralBi1__Sb : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "ClassListController.swift":50:36, scope 27 // user: %37
  4276. %35 = metatype $@thin Bool.Type, loc "ClassListController.swift":50:36, scope 27 // user: %37
  4277. %36 = integer_literal $Builtin.Int1, 0, loc "ClassListController.swift":50:36, scope 27 // user: %37
  4278. %37 = apply %34(%36, %35) : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "ClassListController.swift":50:36, scope 27 // user: %40
  4279. %38 = class_method [volatile] %33 : $UIBarItem, #UIBarItem.enabled!setter.1.foreign : (UIBarItem) -> (Bool) -> () , $@convention(objc_method) (ObjCBool, UIBarItem) -> (), loc "ClassListController.swift":50:34, scope 27 // user: %41
  4280. // function_ref _convertBoolToObjCBool(Bool) -> ObjCBool
  4281. %39 = function_ref @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool, loc "ClassListController.swift":50:34, scope 27 // user: %40
  4282. %40 = apply %39(%37) : $@convention(thin) (Bool) -> ObjCBool, loc "ClassListController.swift":50:34, scope 27 // user: %41
  4283. %41 = apply %38(%40, %33) : $@convention(objc_method) (ObjCBool, UIBarItem) -> (), loc "ClassListController.swift":50:34, scope 27
  4284. destroy_value %32 : $UIBarButtonItem, loc "ClassListController.swift":50:36, scope 27 // id: %42
  4285. destroy_addr %31 : $*UIBarButtonItem, loc "ClassListController.swift":50:36, scope 27 // id: %43
  4286. dealloc_stack %19 : $*Optional<UIBarButtonItem>, loc "ClassListController.swift":50:36, scope 27 // id: %44
  4287. br bb7, loc "ClassListController.swift":51:9, scope 26 // id: %45
  4288.  
  4289. bb4: // Preds: bb0
  4290. %46 = alloc_stack $Optional<UIBarButtonItem>, loc "ClassListController.swift":52:13, scope 28 // users: %71, %58, %50, %49
  4291. %47 = class_method %0 : $ClassListController, #ClassListController.editOption!getter.1 : (ClassListController) -> () -> UIBarButtonItem! , $@convention(method) (@guaranteed ClassListController) -> @owned Optional<UIBarButtonItem>, loc "ClassListController.swift":52:13, scope 28 // user: %48
  4292. %48 = apply %47(%0) : $@convention(method) (@guaranteed ClassListController) -> @owned Optional<UIBarButtonItem>, loc "ClassListController.swift":52:13, scope 28 // user: %49
  4293. store %48 to [init] %46 : $*Optional<UIBarButtonItem>, loc "ClassListController.swift":52:13, scope 28 // id: %49
  4294. switch_enum_addr %46 : $*Optional<UIBarButtonItem>, case #Optional.none!enumelt: bb5, default bb6, loc "ClassListController.swift":52:13, scope 28 // id: %50
  4295.  
  4296. bb5: // Preds: bb4
  4297. %51 = string_literal utf8 "ClassListController.swift", loc "ClassListController.swift":52:13, scope 28 // user: %56
  4298. %52 = integer_literal $Builtin.Word, 25, loc "ClassListController.swift":52:13, scope 28 // user: %56
  4299. %53 = integer_literal $Builtin.Int1, -1, loc "ClassListController.swift":52:13, scope 28 // user: %56
  4300. %54 = integer_literal $Builtin.Word, 52, loc "ClassListController.swift":52:13, scope 28 // user: %56
  4301. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  4302. %55 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassListController.swift":52:13, scope 28 // user: %56
  4303. %56 = apply %55(%51, %52, %53, %54) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassListController.swift":52:13, scope 28
  4304. unreachable , loc "ClassListController.swift":52:13, scope 28 // id: %57
  4305.  
  4306. bb6: // Preds: bb4
  4307. %58 = unchecked_take_enum_data_addr %46 : $*Optional<UIBarButtonItem>, #Optional.some!enumelt.1, loc "ClassListController.swift":52:13, scope 28 // users: %70, %59
  4308. %59 = load [copy] %58 : $*UIBarButtonItem, loc "ClassListController.swift":52:13, scope 28 // users: %69, %60
  4309. %60 = upcast %59 : $UIBarButtonItem to $UIBarItem, loc "ClassListController.swift":52:13, scope 28 // users: %68, %65
  4310. // function_ref Bool.init(_builtinBooleanLiteral : Builtin.Int1) -> Bool
  4311. %61 = function_ref @_TFSbCfT22_builtinBooleanLiteralBi1__Sb : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "ClassListController.swift":52:36, scope 28 // user: %64
  4312. %62 = metatype $@thin Bool.Type, loc "ClassListController.swift":52:36, scope 28 // user: %64
  4313. %63 = integer_literal $Builtin.Int1, -1, loc "ClassListController.swift":52:36, scope 28 // user: %64
  4314. %64 = apply %61(%63, %62) : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "ClassListController.swift":52:36, scope 28 // user: %67
  4315. %65 = class_method [volatile] %60 : $UIBarItem, #UIBarItem.enabled!setter.1.foreign : (UIBarItem) -> (Bool) -> () , $@convention(objc_method) (ObjCBool, UIBarItem) -> (), loc "ClassListController.swift":52:34, scope 28 // user: %68
  4316. // function_ref _convertBoolToObjCBool(Bool) -> ObjCBool
  4317. %66 = function_ref @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool, loc "ClassListController.swift":52:34, scope 28 // user: %67
  4318. %67 = apply %66(%64) : $@convention(thin) (Bool) -> ObjCBool, loc "ClassListController.swift":52:34, scope 28 // user: %68
  4319. %68 = apply %65(%67, %60) : $@convention(objc_method) (ObjCBool, UIBarItem) -> (), loc "ClassListController.swift":52:34, scope 28
  4320. destroy_value %59 : $UIBarButtonItem, loc "ClassListController.swift":52:36, scope 28 // id: %69
  4321. destroy_addr %58 : $*UIBarButtonItem, loc "ClassListController.swift":52:36, scope 28 // id: %70
  4322. dealloc_stack %46 : $*Optional<UIBarButtonItem>, loc "ClassListController.swift":52:36, scope 28 // id: %71
  4323. br bb7, loc "ClassListController.swift":53:9, scope 25 // id: %72
  4324.  
  4325. bb7: // Preds: bb6 bb3
  4326. %73 = tuple (), loc "ClassListController.swift":54:5, scope 25 // user: %74
  4327. return %73 : $(), loc "ClassListController.swift":54:5, scope 25 // id: %74
  4328. } // end sil function '_TFC3gpa19ClassListController20setEditOptionEnabledfT_T_'
  4329.  
  4330.  
  4331. // Bool._getBuiltinLogicValue() -> Builtin.Int1
  4332. sil [transparent] [fragile] @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1
  4333.  
  4334.  
  4335. // == infix(Int, Int) -> Bool
  4336. sil [transparent] [fragile] @_TFsoi2eeFTSiSi_Sb : $@convention(thin) (Int, Int) -> Bool
  4337.  
  4338.  
  4339. // Int.init(_builtinIntegerLiteral : Builtin.Int2048) -> Int
  4340. sil [transparent] [fragile] @_TFSiCfT22_builtinIntegerLiteralBi2048__Si : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int
  4341.  
  4342.  
  4343. // Bool.init(_builtinBooleanLiteral : Builtin.Int1) -> Bool
  4344. sil [transparent] [fragile] @_TFSbCfT22_builtinBooleanLiteralBi1__Sb : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool
  4345.  
  4346. sil_scope 29 { loc "ClassListController.swift":48:10 parent @_TToFC3gpa19ClassListController20setEditOptionEnabledfT_T_ : $@convention(objc_method) (ClassListController) -> () }
  4347.  
  4348. // @objc ClassListController.setEditOptionEnabled() -> ()
  4349. sil hidden [thunk] @_TToFC3gpa19ClassListController20setEditOptionEnabledfT_T_ : $@convention(objc_method) (ClassListController) -> () {
  4350. // %0 // user: %1
  4351. bb0(%0 : $ClassListController):
  4352. %1 = copy_value %0 : $ClassListController, scope 29 // users: %4, %3
  4353. // function_ref ClassListController.setEditOptionEnabled() -> ()
  4354. %2 = function_ref @_TFC3gpa19ClassListController20setEditOptionEnabledfT_T_ : $@convention(method) (@guaranteed ClassListController) -> (), scope 29 // user: %3
  4355. %3 = apply %2(%1) : $@convention(method) (@guaranteed ClassListController) -> (), scope 29 // user: %5
  4356. destroy_value %1 : $ClassListController, scope 29 // id: %4
  4357. return %3 : $(), scope 29 // id: %5
  4358. } // end sil function '_TToFC3gpa19ClassListController20setEditOptionEnabledfT_T_'
  4359.  
  4360. sil_scope 30 { loc "ClassListController.swift":56:19 parent @_TFC3gpa19ClassListController23didReceiveMemoryWarningfT_T_ : $@convention(method) (@guaranteed ClassListController) -> () }
  4361. sil_scope 31 { loc "ClassListController.swift":59:5 parent 30 }
  4362.  
  4363. // ClassListController.didReceiveMemoryWarning() -> ()
  4364. sil hidden @_TFC3gpa19ClassListController23didReceiveMemoryWarningfT_T_ : $@convention(method) (@guaranteed ClassListController) -> () {
  4365. // %0 // users: %2, %1
  4366. bb0(%0 : $ClassListController):
  4367. debug_value %0 : $ClassListController, let, name "self", argno 1, loc "ClassListController.swift":56:19, scope 30 // id: %1
  4368. %2 = copy_value %0 : $ClassListController, loc "ClassListController.swift":57:9, scope 31 // users: %6, %4, %3
  4369. %3 = upcast %2 : $ClassListController to $UIViewController, loc "ClassListController.swift":57:9, scope 31 // user: %5
  4370. %4 = super_method [volatile] %2 : $ClassListController, #UIViewController.didReceiveMemoryWarning!1.foreign : (UIViewController) -> () -> () , $@convention(objc_method) (UIViewController) -> (), loc "ClassListController.swift":57:15, scope 31 // user: %5
  4371. %5 = apply %4(%3) : $@convention(objc_method) (UIViewController) -> (), loc "ClassListController.swift":57:39, scope 31
  4372. destroy_value %2 : $ClassListController, loc "ClassListController.swift":57:39, scope 31 // id: %6
  4373. %7 = tuple (), loc "ClassListController.swift":59:5, scope 31 // user: %8
  4374. return %7 : $(), loc "ClassListController.swift":59:5, scope 31 // id: %8
  4375. } // end sil function '_TFC3gpa19ClassListController23didReceiveMemoryWarningfT_T_'
  4376.  
  4377. sil_scope 32 { loc "ClassListController.swift":56:19 parent @_TToFC3gpa19ClassListController23didReceiveMemoryWarningfT_T_ : $@convention(objc_method) (ClassListController) -> () }
  4378.  
  4379. // @objc ClassListController.didReceiveMemoryWarning() -> ()
  4380. sil hidden [thunk] @_TToFC3gpa19ClassListController23didReceiveMemoryWarningfT_T_ : $@convention(objc_method) (ClassListController) -> () {
  4381. // %0 // user: %1
  4382. bb0(%0 : $ClassListController):
  4383. %1 = copy_value %0 : $ClassListController, scope 32 // users: %4, %3
  4384. // function_ref ClassListController.didReceiveMemoryWarning() -> ()
  4385. %2 = function_ref @_TFC3gpa19ClassListController23didReceiveMemoryWarningfT_T_ : $@convention(method) (@guaranteed ClassListController) -> (), scope 32 // user: %3
  4386. %3 = apply %2(%1) : $@convention(method) (@guaranteed ClassListController) -> (), scope 32 // user: %5
  4387. destroy_value %1 : $ClassListController, scope 32 // id: %4
  4388. return %3 : $(), scope 32 // id: %5
  4389. } // end sil function '_TToFC3gpa19ClassListController23didReceiveMemoryWarningfT_T_'
  4390.  
  4391. sil_scope 33 { loc "ClassListController.swift":26:7 parent @_TFC3gpa19ClassListControllerD : $@convention(method) (@owned ClassListController) -> () }
  4392. sil_scope 34 { loc "ClassListController.swift":26:7 parent 33 }
  4393.  
  4394. // ClassListController.__deallocating_deinit
  4395. sil hidden @_TFC3gpa19ClassListControllerD : $@convention(method) (@owned ClassListController) -> () {
  4396. // %0 // users: %3, %2, %1
  4397. bb0(%0 : $ClassListController):
  4398. debug_value %0 : $ClassListController, let, name "self", argno 1, loc "ClassListController.swift":26:7, scope 33 // id: %1
  4399. %2 = super_method %0 : $ClassListController, #UIViewController.deinit!deallocator.foreign : (UIViewController) -> () -> () , $@convention(objc_method) (UIViewController) -> (), scope 34 // user: %4
  4400. %3 = upcast %0 : $ClassListController to $UIViewController, scope 34 // user: %4
  4401. %4 = apply %2(%3) : $@convention(objc_method) (UIViewController) -> (), scope 34
  4402. %5 = tuple (), scope 34 // user: %6
  4403. return %5 : $(), scope 34 // id: %6
  4404. } // end sil function '_TFC3gpa19ClassListControllerD'
  4405.  
  4406. sil_scope 35 { loc "ClassListController.swift":26:7 parent @_TToFC3gpa19ClassListControllerE : $@convention(objc_method) (ClassListController) -> () }
  4407.  
  4408. // @objc ClassListController.__ivar_destroyer
  4409. sil hidden @_TToFC3gpa19ClassListControllerE : $@convention(objc_method) (ClassListController) -> () {
  4410. // %0 // users: %4, %2, %1
  4411. bb0(%0 : $ClassListController):
  4412. debug_value %0 : $ClassListController, let, name "self", argno 1, loc "ClassListController.swift":26:7, scope 35 // id: %1
  4413. %2 = ref_element_addr %0 : $ClassListController, #ClassListController.classTable, scope 35 // user: %3
  4414. destroy_addr %2 : $*Optional<UITableView>, scope 35 // id: %3
  4415. %4 = ref_element_addr %0 : $ClassListController, #ClassListController.editOption, scope 35 // user: %5
  4416. destroy_addr %4 : $*Optional<UIBarButtonItem>, scope 35 // id: %5
  4417. %6 = tuple (), scope 35 // user: %7
  4418. return %6 : $(), scope 35 // id: %7
  4419. } // end sil function '_TToFC3gpa19ClassListControllerE'
  4420.  
  4421. sil_scope 36 { loc "ClassListController.swift":28:19 parent @_TFC3gpa19ClassListControllerm10classTableGSQCSo11UITableView_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed ClassListController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) }
  4422.  
  4423. // ClassListController.classTable.materializeForSet
  4424. sil hidden @_TFC3gpa19ClassListControllerm10classTableGSQCSo11UITableView_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed ClassListController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) {
  4425. // %2 // user: %3
  4426. bb0(%0 : $Builtin.RawPointer, %1 : $*Builtin.UnsafeValueBuffer, %2 : $ClassListController):
  4427. %3 = ref_element_addr %2 : $ClassListController, #ClassListController.classTable, scope 36 // user: %4
  4428. %4 = address_to_pointer %3 : $*Optional<UITableView> to $Builtin.RawPointer, scope 36 // user: %6
  4429. %5 = enum $Optional<Builtin.RawPointer>, #Optional.none!enumelt, scope 36 // user: %6
  4430. %6 = tuple (%4 : $Builtin.RawPointer, %5 : $Optional<Builtin.RawPointer>), scope 36 // user: %7
  4431. return %6 : $(Builtin.RawPointer, Optional<Builtin.RawPointer>), scope 36 // id: %7
  4432. } // end sil function '_TFC3gpa19ClassListControllerm10classTableGSQCSo11UITableView_'
  4433.  
  4434. sil_scope 37 { loc "ClassListController.swift":29:19 parent @_TFC3gpa19ClassListControllerm10editOptionGSQCSo15UIBarButtonItem_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed ClassListController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) }
  4435.  
  4436. // ClassListController.editOption.materializeForSet
  4437. sil hidden @_TFC3gpa19ClassListControllerm10editOptionGSQCSo15UIBarButtonItem_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed ClassListController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) {
  4438. // %2 // user: %3
  4439. bb0(%0 : $Builtin.RawPointer, %1 : $*Builtin.UnsafeValueBuffer, %2 : $ClassListController):
  4440. %3 = ref_element_addr %2 : $ClassListController, #ClassListController.editOption, scope 37 // user: %4
  4441. %4 = address_to_pointer %3 : $*Optional<UIBarButtonItem> to $Builtin.RawPointer, scope 37 // user: %6
  4442. %5 = enum $Optional<Builtin.RawPointer>, #Optional.none!enumelt, scope 37 // user: %6
  4443. %6 = tuple (%4 : $Builtin.RawPointer, %5 : $Optional<Builtin.RawPointer>), scope 37 // user: %7
  4444. return %6 : $(Builtin.RawPointer, Optional<Builtin.RawPointer>), scope 37 // id: %7
  4445. } // end sil function '_TFC3gpa19ClassListControllerm10editOptionGSQCSo15UIBarButtonItem_'
  4446.  
  4447. sil_scope 38 { loc "ClassListController.swift":26:66 parent @_TFC3gpa19ClassListControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ : $@convention(method) (@owned Optional<String>, @owned Optional<Bundle>, @owned ClassListController) -> @owned ClassListController }
  4448. sil_scope 39 { parent 38 }
  4449.  
  4450. // ClassListController.init(nibName : String?, bundle : Bundle?) -> ClassListController
  4451. sil hidden @_TFC3gpa19ClassListControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ : $@convention(method) (@owned Optional<String>, @owned Optional<Bundle>, @owned ClassListController) -> @owned ClassListController {
  4452. // %0 // users: %42, %22, %6
  4453. // %1 // users: %41, %36, %7
  4454. // %2 // user: %8
  4455. bb0(%0 : $Optional<String>, %1 : $Optional<Bundle>, %2 : $ClassListController):
  4456. %3 = alloc_box ${ var ClassListController }, let, name "self", scope 38 // users: %43, %4
  4457. %4 = project_box %3 : ${ var ClassListController }, 0, scope 38 // user: %5
  4458. %5 = mark_uninitialized [derivedself] %4 : $*ClassListController, scope 38 // users: %40, %38, %19, %16, %11, %8
  4459. debug_value %0 : $Optional<String>, let, name "nibNameOrNil", argno 1, scope 38 // id: %6
  4460. debug_value %1 : $Optional<Bundle>, let, name "nibBundleOrNil", argno 2, scope 38 // id: %7
  4461. store %2 to [init] %5 : $*ClassListController, loc "ClassListController.swift":26:66, scope 38 // id: %8
  4462. // function_ref ClassListController.(classTable).(variable initialization expression)
  4463. %9 = function_ref @_TIvC3gpa19ClassListController10classTableGSQCSo11UITableView_i : $@convention(thin) () -> @owned Optional<UITableView>, scope 38 // user: %10
  4464. %10 = apply %9() : $@convention(thin) () -> @owned Optional<UITableView>, scope 38 // user: %13
  4465. %11 = load_borrow %5 : $*ClassListController, loc "ClassListController.swift":28:19, scope 38 // user: %12
  4466. %12 = ref_element_addr %11 : $ClassListController, #ClassListController.classTable, loc "ClassListController.swift":28:19, scope 38 // user: %13
  4467. assign %10 to %12 : $*Optional<UITableView>, loc "ClassListController.swift":28:19, scope 38 // id: %13
  4468. // function_ref ClassListController.(editOption).(variable initialization expression)
  4469. %14 = function_ref @_TIvC3gpa19ClassListController10editOptionGSQCSo15UIBarButtonItem_i : $@convention(thin) () -> @owned Optional<UIBarButtonItem>, scope 38 // user: %15
  4470. %15 = apply %14() : $@convention(thin) () -> @owned Optional<UIBarButtonItem>, scope 38 // user: %18
  4471. %16 = load_borrow %5 : $*ClassListController, loc "ClassListController.swift":29:19, scope 38 // user: %17
  4472. %17 = ref_element_addr %16 : $ClassListController, #ClassListController.editOption, loc "ClassListController.swift":29:19, scope 38 // user: %18
  4473. assign %15 to %17 : $*Optional<UIBarButtonItem>, loc "ClassListController.swift":29:19, scope 38 // id: %18
  4474. %19 = load_borrow %5 : $*ClassListController, scope 39 // users: %21, %20
  4475. %20 = upcast %19 : $ClassListController to $UIViewController, scope 39 // user: %36
  4476. %21 = super_method [volatile] %19 : $ClassListController, #UIViewController.init!initializer.1.foreign : (UIViewController.Type) -> (String?, Bundle?) -> UIViewController , $@convention(objc_method) (Optional<NSString>, Optional<Bundle>, @owned UIViewController) -> @owned UIViewController, scope 39 // user: %36
  4477. %22 = copy_value %0 : $Optional<String>, scope 39 // users: %27, %25
  4478. %23 = integer_literal $Builtin.Int1, -1, scope 39 // user: %25
  4479. %24 = integer_literal $Builtin.Int1, 0, scope 39 // user: %25
  4480. %25 = select_enum %22 : $Optional<String>, case #Optional.some!enumelt.1: %23, default %24 : $Builtin.Int1, scope 39 // user: %26
  4481. cond_br %25, bb1, bb2, scope 39 // id: %26
  4482.  
  4483. bb1: // Preds: bb0
  4484. %27 = unchecked_enum_data %22 : $Optional<String>, #Optional.some!enumelt.1, scope 39 // users: %31, %29
  4485. // function_ref String._bridgeToObjectiveC() -> NSString
  4486. %28 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, scope 39 // user: %29
  4487. %29 = apply %28(%27) : $@convention(method) (@guaranteed String) -> @owned NSString, scope 39 // user: %30
  4488. %30 = enum $Optional<NSString>, #Optional.some!enumelt.1, %29 : $NSString, scope 39 // user: %32
  4489. destroy_value %27 : $String, scope 39 // id: %31
  4490. br bb3(%30 : $Optional<NSString>), scope 39 // id: %32
  4491.  
  4492. bb2: // Preds: bb0
  4493. %33 = enum $Optional<NSString>, #Optional.none!enumelt, scope 39 // user: %34
  4494. br bb3(%33 : $Optional<NSString>), scope 39 // id: %34
  4495.  
  4496. // %35 // users: %39, %36
  4497. bb3(%35 : $Optional<NSString>): // Preds: bb2 bb1
  4498. %36 = apply %21(%35, %1, %20) : $@convention(objc_method) (Optional<NSString>, Optional<Bundle>, @owned UIViewController) -> @owned UIViewController, scope 39 // user: %37
  4499. %37 = unchecked_ref_cast %36 : $UIViewController to $ClassListController, scope 39 // user: %38
  4500. store %37 to [init] %5 : $*ClassListController, scope 39 // id: %38
  4501. destroy_value %35 : $Optional<NSString>, scope 39 // id: %39
  4502. %40 = load [copy] %5 : $*ClassListController, loc "ClassListController.swift":26:66, scope 39 // user: %44
  4503. destroy_value %1 : $Optional<Bundle>, loc "ClassListController.swift":26:66, scope 39 // id: %41
  4504. destroy_value %0 : $Optional<String>, loc "ClassListController.swift":26:66, scope 39 // id: %42
  4505. destroy_value %3 : ${ var ClassListController }, loc "ClassListController.swift":26:66, scope 39 // id: %43
  4506. return %40 : $ClassListController, loc "ClassListController.swift":26:66, scope 39 // id: %44
  4507. } // end sil function '_TFC3gpa19ClassListControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_'
  4508.  
  4509. sil_scope 40 { loc "ClassListController.swift":26:66 parent @_TFC3gpa19ClassListControllerCfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ : $@convention(method) (@owned Optional<String>, @owned Optional<Bundle>, @thick ClassListController.Type) -> @owned ClassListController }
  4510.  
  4511. // ClassListController.__allocating_init(nibName : String?, bundle : Bundle?) -> ClassListController
  4512. sil hidden @_TFC3gpa19ClassListControllerCfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ : $@convention(method) (@owned Optional<String>, @owned Optional<Bundle>, @thick ClassListController.Type) -> @owned ClassListController {
  4513. // %0 // user: %5
  4514. // %1 // user: %5
  4515. bb0(%0 : $Optional<String>, %1 : $Optional<Bundle>, %2 : $@thick ClassListController.Type):
  4516. %3 = alloc_ref [objc] $ClassListController, scope 40 // user: %5
  4517. // function_ref ClassListController.init(nibName : String?, bundle : Bundle?) -> ClassListController
  4518. %4 = function_ref @_TFC3gpa19ClassListControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ : $@convention(method) (@owned Optional<String>, @owned Optional<Bundle>, @owned ClassListController) -> @owned ClassListController, scope 40 // user: %5
  4519. %5 = apply %4(%0, %1, %3) : $@convention(method) (@owned Optional<String>, @owned Optional<Bundle>, @owned ClassListController) -> @owned ClassListController, scope 40 // user: %6
  4520. return %5 : $ClassListController, scope 40 // id: %6
  4521. } // end sil function '_TFC3gpa19ClassListControllerCfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_'
  4522.  
  4523.  
  4524. // String._bridgeToObjectiveC() -> NSString
  4525. sil [_semantics "convertToObjectiveC"] @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString
  4526.  
  4527. sil_scope 41 { loc "ClassListController.swift":26:66 parent @_TToFC3gpa19ClassListControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ : $@convention(objc_method) (Optional<NSString>, Optional<Bundle>, @owned ClassListController) -> @owned ClassListController }
  4528.  
  4529. // @objc ClassListController.init(nibName : String?, bundle : Bundle?) -> ClassListController
  4530. sil hidden [thunk] @_TToFC3gpa19ClassListControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ : $@convention(objc_method) (Optional<NSString>, Optional<Bundle>, @owned ClassListController) -> @owned ClassListController {
  4531. // %0 // user: %3
  4532. // %1 // user: %4
  4533. // %2 // user: %20
  4534. bb0(%0 : $Optional<NSString>, %1 : $Optional<Bundle>, %2 : $ClassListController):
  4535. %3 = copy_value %0 : $Optional<NSString>, scope 41 // users: %9, %7
  4536. %4 = copy_value %1 : $Optional<Bundle>, scope 41 // user: %20
  4537. %5 = integer_literal $Builtin.Int1, -1, scope 41 // user: %7
  4538. %6 = integer_literal $Builtin.Int1, 0, scope 41 // user: %7
  4539. %7 = select_enum %3 : $Optional<NSString>, case #Optional.some!enumelt.1: %5, default %6 : $Builtin.Int1, scope 41 // user: %8
  4540. cond_br %7, bb1, bb2, scope 41 // id: %8
  4541.  
  4542. bb1: // Preds: bb0
  4543. %9 = unchecked_enum_data %3 : $Optional<NSString>, #Optional.some!enumelt.1, scope 41 // user: %11
  4544. // function_ref static String._unconditionallyBridgeFromObjectiveC(NSString?) -> String
  4545. %10 = function_ref @_TZFE10FoundationSS36_unconditionallyBridgeFromObjectiveCfGSqCSo8NSString_SS : $@convention(method) (@owned Optional<NSString>, @thin String.Type) -> @owned String, scope 41 // user: %13
  4546. %11 = enum $Optional<NSString>, #Optional.some!enumelt.1, %9 : $NSString, scope 41 // user: %13
  4547. %12 = metatype $@thin String.Type, scope 41 // user: %13
  4548. %13 = apply %10(%11, %12) : $@convention(method) (@owned Optional<NSString>, @thin String.Type) -> @owned String, scope 41 // user: %14
  4549. %14 = enum $Optional<String>, #Optional.some!enumelt.1, %13 : $String, scope 41 // user: %15
  4550. br bb3(%14 : $Optional<String>), scope 41 // id: %15
  4551.  
  4552. bb2: // Preds: bb0
  4553. %16 = enum $Optional<String>, #Optional.none!enumelt, scope 41 // user: %17
  4554. br bb3(%16 : $Optional<String>), scope 41 // id: %17
  4555.  
  4556. // %18 // user: %20
  4557. bb3(%18 : $Optional<String>): // Preds: bb2 bb1
  4558. // function_ref ClassListController.init(nibName : String?, bundle : Bundle?) -> ClassListController
  4559. %19 = function_ref @_TFC3gpa19ClassListControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ : $@convention(method) (@owned Optional<String>, @owned Optional<Bundle>, @owned ClassListController) -> @owned ClassListController, scope 41 // user: %20
  4560. %20 = apply %19(%18, %4, %2) : $@convention(method) (@owned Optional<String>, @owned Optional<Bundle>, @owned ClassListController) -> @owned ClassListController, scope 41 // user: %21
  4561. return %20 : $ClassListController, scope 41 // id: %21
  4562. } // end sil function '_TToFC3gpa19ClassListControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_'
  4563.  
  4564.  
  4565. // static String._unconditionallyBridgeFromObjectiveC(NSString?) -> String
  4566. sil @_TZFE10FoundationSS36_unconditionallyBridgeFromObjectiveCfGSqCSo8NSString_SS : $@convention(method) (@owned Optional<NSString>, @thin String.Type) -> @owned String
  4567.  
  4568. sil_scope 42 { loc "ClassListController.swift":26:66 parent @_TFC3gpa19ClassListControllerCfT5coderCSo7NSCoder_GSqS0__ : $@convention(method) (@owned NSCoder, @thick ClassListController.Type) -> @owned Optional<ClassListController> }
  4569.  
  4570. // ClassListController.__allocating_init(coder : NSCoder) -> ClassListController?
  4571. sil hidden @_TFC3gpa19ClassListControllerCfT5coderCSo7NSCoder_GSqS0__ : $@convention(method) (@owned NSCoder, @thick ClassListController.Type) -> @owned Optional<ClassListController> {
  4572. // %0 // user: %4
  4573. bb0(%0 : $NSCoder, %1 : $@thick ClassListController.Type):
  4574. %2 = alloc_ref [objc] $ClassListController, scope 42 // user: %4
  4575. // function_ref ClassListController.init(coder : NSCoder) -> ClassListController?
  4576. %3 = function_ref @_TFC3gpa19ClassListControllercfT5coderCSo7NSCoder_GSqS0__ : $@convention(method) (@owned NSCoder, @owned ClassListController) -> @owned Optional<ClassListController>, scope 42 // user: %4
  4577. %4 = apply %3(%0, %2) : $@convention(method) (@owned NSCoder, @owned ClassListController) -> @owned Optional<ClassListController>, scope 42 // user: %5
  4578. return %4 : $Optional<ClassListController>, scope 42 // id: %5
  4579. } // end sil function '_TFC3gpa19ClassListControllerCfT5coderCSo7NSCoder_GSqS0__'
  4580.  
  4581. sil_scope 43 { loc "ClassListController.swift":26:66 parent @_TFC3gpa19ClassListControllercfT5coderCSo7NSCoder_GSqS0__ : $@convention(method) (@owned NSCoder, @owned ClassListController) -> @owned Optional<ClassListController> }
  4582. sil_scope 44 { parent 43 }
  4583.  
  4584. // ClassListController.init(coder : NSCoder) -> ClassListController?
  4585. sil hidden @_TFC3gpa19ClassListControllercfT5coderCSo7NSCoder_GSqS0__ : $@convention(method) (@owned NSCoder, @owned ClassListController) -> @owned Optional<ClassListController> {
  4586. // %0 // users: %30, %20, %33, %5
  4587. // %1 // user: %6
  4588. bb0(%0 : $NSCoder, %1 : $ClassListController):
  4589. %2 = alloc_box ${ var ClassListController }, let, name "self", scope 43 // users: %31, %34, %3
  4590. %3 = project_box %2 : ${ var ClassListController }, 0, scope 43 // user: %4
  4591. %4 = mark_uninitialized [derivedself] %3 : $*ClassListController, scope 43 // users: %28, %27, %17, %14, %9, %6
  4592. debug_value %0 : $NSCoder, let, name "aDecoder", argno 1, scope 43 // id: %5
  4593. store %1 to [init] %4 : $*ClassListController, loc "ClassListController.swift":26:66, scope 43 // id: %6
  4594. // function_ref ClassListController.(classTable).(variable initialization expression)
  4595. %7 = function_ref @_TIvC3gpa19ClassListController10classTableGSQCSo11UITableView_i : $@convention(thin) () -> @owned Optional<UITableView>, scope 43 // user: %8
  4596. %8 = apply %7() : $@convention(thin) () -> @owned Optional<UITableView>, scope 43 // user: %11
  4597. %9 = load_borrow %4 : $*ClassListController, loc "ClassListController.swift":28:19, scope 43 // user: %10
  4598. %10 = ref_element_addr %9 : $ClassListController, #ClassListController.classTable, loc "ClassListController.swift":28:19, scope 43 // user: %11
  4599. assign %8 to %10 : $*Optional<UITableView>, loc "ClassListController.swift":28:19, scope 43 // id: %11
  4600. // function_ref ClassListController.(editOption).(variable initialization expression)
  4601. %12 = function_ref @_TIvC3gpa19ClassListController10editOptionGSQCSo15UIBarButtonItem_i : $@convention(thin) () -> @owned Optional<UIBarButtonItem>, scope 43 // user: %13
  4602. %13 = apply %12() : $@convention(thin) () -> @owned Optional<UIBarButtonItem>, scope 43 // user: %16
  4603. %14 = load_borrow %4 : $*ClassListController, loc "ClassListController.swift":29:19, scope 43 // user: %15
  4604. %15 = ref_element_addr %14 : $ClassListController, #ClassListController.editOption, loc "ClassListController.swift":29:19, scope 43 // user: %16
  4605. assign %13 to %15 : $*Optional<UIBarButtonItem>, loc "ClassListController.swift":29:19, scope 43 // id: %16
  4606. %17 = load_borrow %4 : $*ClassListController, scope 44 // users: %19, %18
  4607. %18 = upcast %17 : $ClassListController to $UIViewController, scope 44 // user: %20
  4608. %19 = super_method [volatile] %17 : $ClassListController, #UIViewController.init!initializer.1.foreign : (UIViewController.Type) -> (NSCoder) -> UIViewController? , $@convention(objc_method) (NSCoder, @owned UIViewController) -> @owned Optional<UIViewController>, scope 44 // user: %20
  4609. %20 = apply %19(%0, %18) : $@convention(objc_method) (NSCoder, @owned UIViewController) -> @owned Optional<UIViewController>, scope 44 // users: %25, %23
  4610. %21 = integer_literal $Builtin.Int1, -1, scope 44 // user: %23
  4611. %22 = integer_literal $Builtin.Int1, 0, scope 44 // user: %23
  4612. %23 = select_enum %20 : $Optional<UIViewController>, case #Optional.some!enumelt.1: %21, default %22 : $Builtin.Int1, scope 44 // user: %24
  4613. cond_br %23, bb1, bb2, scope 44 // id: %24
  4614.  
  4615. bb1: // Preds: bb0
  4616. %25 = unchecked_enum_data %20 : $Optional<UIViewController>, #Optional.some!enumelt.1, scope 44 // user: %26
  4617. %26 = unchecked_ref_cast %25 : $UIViewController to $ClassListController, scope 44 // user: %27
  4618. store %26 to [init] %4 : $*ClassListController, scope 44 // id: %27
  4619. %28 = load [copy] %4 : $*ClassListController, loc "ClassListController.swift":26:66, scope 44 // user: %29
  4620. %29 = enum $Optional<ClassListController>, #Optional.some!enumelt.1, %28 : $ClassListController, scope 44 // user: %32
  4621. destroy_value %0 : $NSCoder, loc "ClassListController.swift":26:66, scope 44 // id: %30
  4622. destroy_value %2 : ${ var ClassListController }, loc "ClassListController.swift":26:66, scope 44 // id: %31
  4623. br bb3(%29 : $Optional<ClassListController>), loc "ClassListController.swift":26:66, scope 44 // id: %32
  4624.  
  4625. bb2: // Preds: bb0
  4626. destroy_value %0 : $NSCoder, loc "ClassListController.swift":26:66, scope 43 // id: %33
  4627. destroy_value %2 : ${ var ClassListController }, loc "ClassListController.swift":26:66, scope 43 // id: %34
  4628. %35 = enum $Optional<ClassListController>, #Optional.none!enumelt, scope 43 // user: %36
  4629. br bb3(%35 : $Optional<ClassListController>), scope 43 // id: %36
  4630.  
  4631. // %37 // user: %38
  4632. bb3(%37 : $Optional<ClassListController>): // Preds: bb1 bb2
  4633. return %37 : $Optional<ClassListController>, scope 43 // id: %38
  4634. } // end sil function '_TFC3gpa19ClassListControllercfT5coderCSo7NSCoder_GSqS0__'
  4635.  
  4636. sil_scope 45 { loc "ClassListController.swift":26:66 parent @_TToFC3gpa19ClassListControllercfT5coderCSo7NSCoder_GSqS0__ : $@convention(objc_method) (NSCoder, @owned ClassListController) -> @owned Optional<ClassListController> }
  4637.  
  4638. // @objc ClassListController.init(coder : NSCoder) -> ClassListController?
  4639. sil hidden [thunk] @_TToFC3gpa19ClassListControllercfT5coderCSo7NSCoder_GSqS0__ : $@convention(objc_method) (NSCoder, @owned ClassListController) -> @owned Optional<ClassListController> {
  4640. // %0 // user: %2
  4641. // %1 // user: %4
  4642. bb0(%0 : $NSCoder, %1 : $ClassListController):
  4643. %2 = copy_value %0 : $NSCoder, scope 45 // user: %4
  4644. // function_ref ClassListController.init(coder : NSCoder) -> ClassListController?
  4645. %3 = function_ref @_TFC3gpa19ClassListControllercfT5coderCSo7NSCoder_GSqS0__ : $@convention(method) (@owned NSCoder, @owned ClassListController) -> @owned Optional<ClassListController>, scope 45 // user: %4
  4646. %4 = apply %3(%2, %1) : $@convention(method) (@owned NSCoder, @owned ClassListController) -> @owned Optional<ClassListController>, scope 45 // user: %5
  4647. return %4 : $Optional<ClassListController>, scope 45 // id: %5
  4648. } // end sil function '_TToFC3gpa19ClassListControllercfT5coderCSo7NSCoder_GSqS0__'
  4649.  
  4650. sil_scope 46 { loc "ClassListController.swift":64:10 parent @_TFC3gpa19ClassListController9tableViewfTCSo11UITableView18commitEditingStyleOSC27UITableViewCellEditingStyle17forRowAtIndexPathV10Foundation9IndexPath_T_ : $@convention(method) (@owned UITableView, UITableViewCellEditingStyle, @owned IndexPath, @guaranteed ClassListController) -> () }
  4651. sil_scope 47 { loc "ClassListController.swift":72:5 parent 46 }
  4652. sil_scope 48 { loc "ClassListController.swift":71:9 parent 47 }
  4653. sil_scope 49 { loc "ClassListController.swift":71:9 parent 48 }
  4654.  
  4655. // ClassListController.tableView(UITableView, commitEditingStyle : UITableViewCellEditingStyle, forRowAtIndexPath : IndexPath) -> ()
  4656. sil hidden @_TFC3gpa19ClassListController9tableViewfTCSo11UITableView18commitEditingStyleOSC27UITableViewCellEditingStyle17forRowAtIndexPathV10Foundation9IndexPath_T_ : $@convention(method) (@owned UITableView, UITableViewCellEditingStyle, @owned IndexPath, @guaranteed ClassListController) -> () {
  4657. // %0 // users: %106, %4
  4658. // %1 // users: %11, %5
  4659. // %2 // users: %105, %27, %6
  4660. // %3 // users: %103, %102, %85, %84, %7
  4661. bb0(%0 : $UITableView, %1 : $UITableViewCellEditingStyle, %2 : $IndexPath, %3 : $ClassListController):
  4662. debug_value %0 : $UITableView, let, name "tableView", argno 1, loc "ClassListController.swift":64:22, scope 46 // id: %4
  4663. debug_value %1 : $UITableViewCellEditingStyle, let, name "editingStyle", argno 2, loc "ClassListController.swift":64:65, scope 46 // id: %5
  4664. debug_value %2 : $IndexPath, let, name "indexPath", argno 3, loc "ClassListController.swift":64:126, scope 46 // id: %6
  4665. debug_value %3 : $ClassListController, let, name "self", argno 4, loc "ClassListController.swift":64:10, scope 46 // id: %7
  4666. // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
  4667. %8 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "ClassListController.swift":65:25, scope 48 // user: %17
  4668. // function_ref == infix<A where ...> (A, A) -> Bool
  4669. %9 = function_ref @_TFsoi2eeuRxs16RawRepresentablewx8RawValues9EquatablerFTxx_Sb : $@convention(thin) <τ_0_0 where τ_0_0 : RawRepresentable, τ_0_0.RawValue : Equatable> (@in τ_0_0, @in τ_0_0) -> Bool, loc "ClassListController.swift":65:25, scope 48 // user: %16
  4670. %10 = alloc_stack $UITableViewCellEditingStyle, loc "ClassListController.swift":65:12, scope 48 // users: %19, %16, %11
  4671. store %1 to [trivial] %10 : $*UITableViewCellEditingStyle, loc "ClassListController.swift":65:12, scope 48 // id: %11
  4672. %12 = metatype $@thin UITableViewCellEditingStyle.Type, loc "ClassListController.swift":65:28, scope 48
  4673. %13 = enum $UITableViewCellEditingStyle, #UITableViewCellEditingStyle.delete!enumelt, loc "ClassListController.swift":65:29, scope 48 // user: %15
  4674. %14 = alloc_stack $UITableViewCellEditingStyle, loc "ClassListController.swift":65:29, scope 48 // users: %18, %16, %15
  4675. store %13 to [trivial] %14 : $*UITableViewCellEditingStyle, loc "ClassListController.swift":65:29, scope 48 // id: %15
  4676. %16 = apply %9<UITableViewCellEditingStyle, Int>(%10, %14) : $@convention(thin) <τ_0_0 where τ_0_0 : RawRepresentable, τ_0_0.RawValue : Equatable> (@in τ_0_0, @in τ_0_0) -> Bool, loc "ClassListController.swift":65:25, scope 48 // user: %17
  4677. %17 = apply %8(%16) : $@convention(method) (Bool) -> Builtin.Int1, loc "ClassListController.swift":65:29, scope 48 // user: %20
  4678. dealloc_stack %14 : $*UITableViewCellEditingStyle, loc "ClassListController.swift":65:29, scope 48 // id: %18
  4679. dealloc_stack %10 : $*UITableViewCellEditingStyle, loc "ClassListController.swift":65:29, scope 48 // id: %19
  4680. cond_br %17, bb1, bb7, loc "ClassListController.swift":65:29, scope 48 // id: %20
  4681.  
  4682. bb1: // Preds: bb0
  4683. // function_ref Array.remove(at : Int) -> A
  4684. %21 = function_ref @_TFSa6removefT2atSi_x : $@convention(method) <τ_0_0> (Int, @inout Array<τ_0_0>) -> @out τ_0_0, loc "ClassListController.swift":66:42, scope 49 // user: %29
  4685. %22 = metatype $@thick Information.Type, loc "ClassListController.swift":66:13, scope 49
  4686. // function_ref Information.classesAndGrades.unsafeMutableAddressor
  4687. %23 = function_ref @_TFC3gpa11Informationau16classesAndGradesGSaS0__ : $@convention(thin) () -> Builtin.RawPointer, loc "ClassListController.swift":66:25, scope 49 // user: %24
  4688. %24 = apply %23() : $@convention(thin) () -> Builtin.RawPointer, loc "ClassListController.swift":66:25, scope 49 // user: %25
  4689. %25 = pointer_to_address %24 : $Builtin.RawPointer to [strict] $*Array<Information>, loc "ClassListController.swift":66:25, scope 49 // user: %29
  4690. // function_ref IndexPath.row.getter
  4691. %26 = function_ref @_TFE5UIKitV10Foundation9IndexPathg3rowSi : $@convention(method) (@guaranteed IndexPath) -> Int, loc "ClassListController.swift":66:63, scope 49 // user: %27
  4692. %27 = apply %26(%2) : $@convention(method) (@guaranteed IndexPath) -> Int, loc "ClassListController.swift":66:63, scope 49 // user: %29
  4693. %28 = alloc_stack $Information, loc "ClassListController.swift":66:66, scope 49 // users: %32, %30, %29
  4694. %29 = apply %21<Information>(%28, %27, %25) : $@convention(method) <τ_0_0> (Int, @inout Array<τ_0_0>) -> @out τ_0_0, loc "ClassListController.swift":66:66, scope 49
  4695. %30 = load [take] %28 : $*Information, loc "ClassListController.swift":66:66, scope 49 // user: %31
  4696. destroy_value %30 : $Information, loc "ClassListController.swift":66:66, scope 49 // id: %31
  4697. dealloc_stack %28 : $*Information, loc "ClassListController.swift":66:66, scope 49 // id: %32
  4698. %33 = metatype $@thick Information.Type, loc "ClassListController.swift":67:13, scope 49
  4699. // function_ref Information.keyValueStore.unsafeMutableAddressor
  4700. %34 = function_ref @_TFC3gpa11Informationau13keyValueStoreCSo25NSUbiquitousKeyValueStore : $@convention(thin) () -> Builtin.RawPointer, loc "ClassListController.swift":67:25, scope 49 // user: %35
  4701. %35 = apply %34() : $@convention(thin) () -> Builtin.RawPointer, loc "ClassListController.swift":67:25, scope 49 // user: %36
  4702. %36 = pointer_to_address %35 : $Builtin.RawPointer to [strict] $*NSUbiquitousKeyValueStore, loc "ClassListController.swift":67:25, scope 49 // user: %37
  4703. %37 = load [copy] %36 : $*NSUbiquitousKeyValueStore, loc "ClassListController.swift":67:25, scope 49 // users: %82, %76, %38
  4704. %38 = class_method [volatile] %37 : $NSUbiquitousKeyValueStore, #NSUbiquitousKeyValueStore.set!1.foreign : (NSUbiquitousKeyValueStore) -> (Data?, String) -> () , $@convention(objc_method) (Optional<NSData>, NSString, NSUbiquitousKeyValueStore) -> (), loc "ClassListController.swift":67:39, scope 49 // user: %76
  4705. %39 = metatype $@thick NSKeyedArchiver.Type, loc "ClassListController.swift":67:43, scope 49 // users: %41, %40
  4706. %40 = class_method [volatile] %39 : $@thick NSKeyedArchiver.Type, #NSKeyedArchiver.archivedData!1.foreign : (NSKeyedArchiver.Type) -> (Any) -> Data , $@convention(objc_method) (AnyObject, @objc_metatype NSKeyedArchiver.Type) -> @autoreleased Optional<NSData>, loc "ClassListController.swift":67:59, scope 49 // user: %50
  4707. %41 = thick_to_objc_metatype %39 : $@thick NSKeyedArchiver.Type to $@objc_metatype NSKeyedArchiver.Type, loc "ClassListController.swift":67:43, scope 49 // user: %50
  4708. %42 = metatype $@thick Information.Type, loc "ClassListController.swift":67:88, scope 49
  4709. // function_ref Information.classesAndGrades.unsafeMutableAddressor
  4710. %43 = function_ref @_TFC3gpa11Informationau16classesAndGradesGSaS0__ : $@convention(thin) () -> Builtin.RawPointer, loc "ClassListController.swift":67:100, scope 49 // user: %44
  4711. %44 = apply %43() : $@convention(thin) () -> Builtin.RawPointer, loc "ClassListController.swift":67:100, scope 49 // user: %45
  4712. %45 = pointer_to_address %44 : $Builtin.RawPointer to [strict] $*Array<Information>, loc "ClassListController.swift":67:100, scope 49 // user: %46
  4713. %46 = load [copy] %45 : $*Array<Information>, loc "ClassListController.swift":67:100, scope 49 // users: %81, %48
  4714. // function_ref Array._bridgeToObjectiveC() -> NSArray
  4715. %47 = function_ref @_TFE10FoundationSa19_bridgeToObjectiveCfT_CSo7NSArray : $@convention(method) <τ_0_0> (@guaranteed Array<τ_0_0>) -> @owned NSArray, loc "ClassListController.swift":67:100, scope 49 // user: %48
  4716. %48 = apply %47<Information>(%46) : $@convention(method) <τ_0_0> (@guaranteed Array<τ_0_0>) -> @owned NSArray, loc "ClassListController.swift":67:100, scope 49 // users: %80, %49
  4717. %49 = init_existential_ref %48 : $NSArray : $NSArray, $AnyObject, loc "ClassListController.swift":67:100, scope 49 // user: %50
  4718. %50 = apply %40(%49, %41) : $@convention(objc_method) (AnyObject, @objc_metatype NSKeyedArchiver.Type) -> @autoreleased Optional<NSData>, loc "ClassListController.swift":67:116, scope 49 // user: %53
  4719. // function_ref static Data._unconditionallyBridgeFromObjectiveC(NSData?) -> Data
  4720. %51 = function_ref @_TZFV10Foundation4Data36_unconditionallyBridgeFromObjectiveCfGSqCSo6NSData_S0_ : $@convention(method) (@owned Optional<NSData>, @thin Data.Type) -> @owned Data, loc "ClassListController.swift":67:116, scope 49 // user: %53
  4721. %52 = metatype $@thin Data.Type, loc "ClassListController.swift":67:116, scope 49 // user: %53
  4722. %53 = apply %51(%50, %52) : $@convention(method) (@owned Optional<NSData>, @thin Data.Type) -> @owned Data, loc "ClassListController.swift":67:116, scope 49 // user: %54
  4723. %54 = enum $Optional<Data>, #Optional.some!enumelt.1, %53 : $Data, loc "ClassListController.swift":67:59, scope 49 // users: %59, %57
  4724. %55 = integer_literal $Builtin.Int1, -1, loc "ClassListController.swift":67:59, scope 49 // user: %57
  4725. %56 = integer_literal $Builtin.Int1, 0, loc "ClassListController.swift":67:59, scope 49 // user: %57
  4726. %57 = select_enum %54 : $Optional<Data>, case #Optional.some!enumelt.1: %55, default %56 : $Builtin.Int1, loc "ClassListController.swift":67:59, scope 49 // user: %58
  4727. cond_br %57, bb2, bb3, loc "ClassListController.swift":67:59, scope 49 // id: %58
  4728.  
  4729. bb2: // Preds: bb1
  4730. %59 = unchecked_enum_data %54 : $Optional<Data>, #Optional.some!enumelt.1, loc "ClassListController.swift":67:59, scope 49 // users: %63, %61
  4731. // function_ref Data._bridgeToObjectiveC() -> NSData
  4732. %60 = function_ref @_TFV10Foundation4Data19_bridgeToObjectiveCfT_CSo6NSData : $@convention(method) (@guaranteed Data) -> @owned NSData, loc "ClassListController.swift":67:59, scope 49 // user: %61
  4733. %61 = apply %60(%59) : $@convention(method) (@guaranteed Data) -> @owned NSData, loc "ClassListController.swift":67:59, scope 49 // user: %62
  4734. %62 = enum $Optional<NSData>, #Optional.some!enumelt.1, %61 : $NSData, loc "ClassListController.swift":67:59, scope 49 // user: %64
  4735. destroy_value %59 : $Data, loc "ClassListController.swift":67:116, scope 49 // id: %63
  4736. br bb4(%62 : $Optional<NSData>), loc "ClassListController.swift":67:59, scope 49 // id: %64
  4737.  
  4738. bb3: // Preds: bb1
  4739. %65 = enum $Optional<NSData>, #Optional.none!enumelt, loc "ClassListController.swift":67:59, scope 49 // user: %66
  4740. br bb4(%65 : $Optional<NSData>), loc "ClassListController.swift":67:59, scope 49 // id: %66
  4741.  
  4742. // %67 // users: %79, %76
  4743. bb4(%67 : $Optional<NSData>): // Preds: bb3 bb2
  4744. %68 = string_literal utf8 "savedList", loc "ClassListController.swift":67:127, scope 49 // user: %73
  4745. %69 = integer_literal $Builtin.Word, 9, loc "ClassListController.swift":67:127, scope 49 // user: %73
  4746. %70 = integer_literal $Builtin.Int1, -1, loc "ClassListController.swift":67:127, scope 49 // user: %73
  4747. %71 = metatype $@thin String.Type, loc "ClassListController.swift":67:127, scope 49 // user: %73
  4748. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  4749. %72 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "ClassListController.swift":67:127, scope 49 // user: %73
  4750. %73 = apply %72(%68, %69, %70, %71) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "ClassListController.swift":67:127, scope 49 // users: %78, %75
  4751. // function_ref String._bridgeToObjectiveC() -> NSString
  4752. %74 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassListController.swift":67:127, scope 49 // user: %75
  4753. %75 = apply %74(%73) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassListController.swift":67:127, scope 49 // users: %77, %76
  4754. %76 = apply %38(%67, %75, %37) : $@convention(objc_method) (Optional<NSData>, NSString, NSUbiquitousKeyValueStore) -> (), loc "ClassListController.swift":67:138, scope 49
  4755. destroy_value %75 : $NSString, loc "ClassListController.swift":67:138, scope 49 // id: %77
  4756. destroy_value %73 : $String, loc "ClassListController.swift":67:138, scope 49 // id: %78
  4757. destroy_value %67 : $Optional<NSData>, loc "ClassListController.swift":67:138, scope 49 // id: %79
  4758. destroy_value %48 : $NSArray, loc "ClassListController.swift":67:138, scope 49 // id: %80
  4759. destroy_value %46 : $Array<Information>, loc "ClassListController.swift":67:138, scope 49 // id: %81
  4760. destroy_value %37 : $NSUbiquitousKeyValueStore, loc "ClassListController.swift":67:138, scope 49 // id: %82
  4761. %83 = alloc_stack $Optional<UITableView>, loc "ClassListController.swift":69:13, scope 49 // users: %101, %95, %87, %86
  4762. %84 = class_method %3 : $ClassListController, #ClassListController.classTable!getter.1 : (ClassListController) -> () -> UITableView! , $@convention(method) (@guaranteed ClassListController) -> @owned Optional<UITableView>, loc "ClassListController.swift":69:13, scope 49 // user: %85
  4763. %85 = apply %84(%3) : $@convention(method) (@guaranteed ClassListController) -> @owned Optional<UITableView>, loc "ClassListController.swift":69:13, scope 49 // user: %86
  4764. store %85 to [init] %83 : $*Optional<UITableView>, loc "ClassListController.swift":69:13, scope 49 // id: %86
  4765. switch_enum_addr %83 : $*Optional<UITableView>, case #Optional.none!enumelt: bb5, default bb6, loc "ClassListController.swift":69:13, scope 49 // id: %87
  4766.  
  4767. bb5: // Preds: bb4
  4768. %88 = string_literal utf8 "ClassListController.swift", loc "ClassListController.swift":69:13, scope 49 // user: %93
  4769. %89 = integer_literal $Builtin.Word, 25, loc "ClassListController.swift":69:13, scope 49 // user: %93
  4770. %90 = integer_literal $Builtin.Int1, -1, loc "ClassListController.swift":69:13, scope 49 // user: %93
  4771. %91 = integer_literal $Builtin.Word, 69, loc "ClassListController.swift":69:13, scope 49 // user: %93
  4772. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  4773. %92 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassListController.swift":69:13, scope 49 // user: %93
  4774. %93 = apply %92(%88, %89, %90, %91) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassListController.swift":69:13, scope 49
  4775. unreachable , loc "ClassListController.swift":69:13, scope 49 // id: %94
  4776.  
  4777. bb6: // Preds: bb4
  4778. %95 = unchecked_take_enum_data_addr %83 : $*Optional<UITableView>, #Optional.some!enumelt.1, loc "ClassListController.swift":69:13, scope 49 // users: %100, %96
  4779. %96 = load [copy] %95 : $*UITableView, loc "ClassListController.swift":69:13, scope 49 // users: %99, %98, %97
  4780. %97 = class_method [volatile] %96 : $UITableView, #UITableView.reloadData!1.foreign : (UITableView) -> () -> () , $@convention(objc_method) (UITableView) -> (), loc "ClassListController.swift":69:24, scope 49 // user: %98
  4781. %98 = apply %97(%96) : $@convention(objc_method) (UITableView) -> (), loc "ClassListController.swift":69:35, scope 49
  4782. destroy_value %96 : $UITableView, loc "ClassListController.swift":69:35, scope 49 // id: %99
  4783. destroy_addr %95 : $*UITableView, loc "ClassListController.swift":69:35, scope 49 // id: %100
  4784. dealloc_stack %83 : $*Optional<UITableView>, loc "ClassListController.swift":69:35, scope 49 // id: %101
  4785. %102 = class_method %3 : $ClassListController, #ClassListController.setEditOptionEnabled!1 : (ClassListController) -> () -> () , $@convention(method) (@guaranteed ClassListController) -> (), loc "ClassListController.swift":70:13, scope 49 // user: %103
  4786. %103 = apply %102(%3) : $@convention(method) (@guaranteed ClassListController) -> (), loc "ClassListController.swift":70:34, scope 49
  4787. br bb7, loc "ClassListController.swift":71:9, scope 48 // id: %104
  4788.  
  4789. bb7: // Preds: bb6 bb0
  4790. destroy_value %2 : $IndexPath, loc "ClassListController.swift":72:5, scope 47 // id: %105
  4791. destroy_value %0 : $UITableView, loc "ClassListController.swift":72:5, scope 47 // id: %106
  4792. %107 = tuple (), loc "ClassListController.swift":72:5, scope 47 // user: %108
  4793. return %107 : $(), loc "ClassListController.swift":72:5, scope 47 // id: %108
  4794. } // end sil function '_TFC3gpa19ClassListController9tableViewfTCSo11UITableView18commitEditingStyleOSC27UITableViewCellEditingStyle17forRowAtIndexPathV10Foundation9IndexPath_T_'
  4795.  
  4796.  
  4797. // == infix<A where ...> (A, A) -> Bool
  4798. sil @_TFsoi2eeuRxs16RawRepresentablewx8RawValues9EquatablerFTxx_Sb : $@convention(thin) <τ_0_0 where τ_0_0 : RawRepresentable, τ_0_0.RawValue : Equatable> (@in τ_0_0, @in τ_0_0) -> Bool
  4799.  
  4800.  
  4801. // Array.remove(at : Int) -> A
  4802. sil @_TFSa6removefT2atSi_x : $@convention(method) <τ_0_0> (Int, @inout Array<τ_0_0>) -> @out τ_0_0
  4803.  
  4804.  
  4805. // IndexPath.row.getter
  4806. sil @_TFE5UIKitV10Foundation9IndexPathg3rowSi : $@convention(method) (@guaranteed IndexPath) -> Int
  4807.  
  4808.  
  4809. // Information.keyValueStore.unsafeMutableAddressor
  4810. sil hidden_external [global_init] @_TFC3gpa11Informationau13keyValueStoreCSo25NSUbiquitousKeyValueStore : $@convention(thin) () -> Builtin.RawPointer
  4811.  
  4812.  
  4813. // Array._bridgeToObjectiveC() -> NSArray
  4814. sil [_semantics "convertToObjectiveC"] @_TFE10FoundationSa19_bridgeToObjectiveCfT_CSo7NSArray : $@convention(method) <τ_0_0> (@guaranteed Array<τ_0_0>) -> @owned NSArray
  4815.  
  4816.  
  4817. // static Data._unconditionallyBridgeFromObjectiveC(NSData?) -> Data
  4818. sil @_TZFV10Foundation4Data36_unconditionallyBridgeFromObjectiveCfGSqCSo6NSData_S0_ : $@convention(method) (@owned Optional<NSData>, @thin Data.Type) -> @owned Data
  4819.  
  4820.  
  4821. // Data._bridgeToObjectiveC() -> NSData
  4822. sil [_semantics "convertToObjectiveC"] @_TFV10Foundation4Data19_bridgeToObjectiveCfT_CSo6NSData : $@convention(method) (@guaranteed Data) -> @owned NSData
  4823.  
  4824.  
  4825. // String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  4826. sil [readonly] [_semantics "string.makeUTF8"] @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String
  4827.  
  4828. sil_scope 50 { loc "ClassListController.swift":64:10 parent @_TToFC3gpa19ClassListController9tableViewfTCSo11UITableView18commitEditingStyleOSC27UITableViewCellEditingStyle17forRowAtIndexPathV10Foundation9IndexPath_T_ : $@convention(objc_method) (UITableView, UITableViewCellEditingStyle, NSIndexPath, ClassListController) -> () }
  4829.  
  4830. // @objc ClassListController.tableView(UITableView, commitEditingStyle : UITableViewCellEditingStyle, forRowAtIndexPath : IndexPath) -> ()
  4831. sil hidden [thunk] @_TToFC3gpa19ClassListController9tableViewfTCSo11UITableView18commitEditingStyleOSC27UITableViewCellEditingStyle17forRowAtIndexPathV10Foundation9IndexPath_T_ : $@convention(objc_method) (UITableView, UITableViewCellEditingStyle, NSIndexPath, ClassListController) -> () {
  4832. // %0 // user: %4
  4833. // %1 // user: %12
  4834. // %2 // user: %5
  4835. // %3 // user: %6
  4836. bb0(%0 : $UITableView, %1 : $UITableViewCellEditingStyle, %2 : $NSIndexPath, %3 : $ClassListController):
  4837. %4 = copy_value %0 : $UITableView, scope 50 // user: %12
  4838. %5 = copy_value %2 : $NSIndexPath, scope 50 // user: %8
  4839. %6 = copy_value %3 : $ClassListController, scope 50 // users: %13, %12
  4840. // function_ref static IndexPath._unconditionallyBridgeFromObjectiveC(NSIndexPath?) -> IndexPath
  4841. %7 = function_ref @_TZFV10Foundation9IndexPath36_unconditionallyBridgeFromObjectiveCfGSqCSo11NSIndexPath_S0_ : $@convention(method) (@owned Optional<NSIndexPath>, @thin IndexPath.Type) -> @owned IndexPath, scope 50 // user: %10
  4842. %8 = enum $Optional<NSIndexPath>, #Optional.some!enumelt.1, %5 : $NSIndexPath, scope 50 // user: %10
  4843. %9 = metatype $@thin IndexPath.Type, scope 50 // user: %10
  4844. %10 = apply %7(%8, %9) : $@convention(method) (@owned Optional<NSIndexPath>, @thin IndexPath.Type) -> @owned IndexPath, scope 50 // user: %12
  4845. // function_ref ClassListController.tableView(UITableView, commitEditingStyle : UITableViewCellEditingStyle, forRowAtIndexPath : IndexPath) -> ()
  4846. %11 = function_ref @_TFC3gpa19ClassListController9tableViewfTCSo11UITableView18commitEditingStyleOSC27UITableViewCellEditingStyle17forRowAtIndexPathV10Foundation9IndexPath_T_ : $@convention(method) (@owned UITableView, UITableViewCellEditingStyle, @owned IndexPath, @guaranteed ClassListController) -> (), scope 50 // user: %12
  4847. %12 = apply %11(%4, %1, %10, %6) : $@convention(method) (@owned UITableView, UITableViewCellEditingStyle, @owned IndexPath, @guaranteed ClassListController) -> (), scope 50 // user: %14
  4848. destroy_value %6 : $ClassListController, scope 50 // id: %13
  4849. return %12 : $(), scope 50 // id: %14
  4850. } // end sil function '_TToFC3gpa19ClassListController9tableViewfTCSo11UITableView18commitEditingStyleOSC27UITableViewCellEditingStyle17forRowAtIndexPathV10Foundation9IndexPath_T_'
  4851.  
  4852.  
  4853. // static IndexPath._unconditionallyBridgeFromObjectiveC(NSIndexPath?) -> IndexPath
  4854. sil @_TZFV10Foundation9IndexPath36_unconditionallyBridgeFromObjectiveCfGSqCSo11NSIndexPath_S0_ : $@convention(method) (@owned Optional<NSIndexPath>, @thin IndexPath.Type) -> @owned IndexPath
  4855.  
  4856. sil_scope 51 { loc "ClassListController.swift":74:10 parent @_TFC3gpa19ClassListController9tableViewfTCSo11UITableView21cellForRowAtIndexPathV10Foundation9IndexPath_CSo15UITableViewCell : $@convention(method) (@owned UITableView, @owned IndexPath, @guaranteed ClassListController) -> @owned UITableViewCell }
  4857. sil_scope 52 { loc "ClassListController.swift":80:5 parent 51 }
  4858.  
  4859. // ClassListController.tableView(UITableView, cellForRowAtIndexPath : IndexPath) -> UITableViewCell
  4860. sil hidden @_TFC3gpa19ClassListController9tableViewfTCSo11UITableView21cellForRowAtIndexPathV10Foundation9IndexPath_CSo15UITableViewCell : $@convention(method) (@owned UITableView, @owned IndexPath, @guaranteed ClassListController) -> @owned UITableViewCell {
  4861. // %0 // users: %138, %3
  4862. // %1 // users: %137, %86, %53, %4
  4863. // %2 // user: %5
  4864. bb0(%0 : $UITableView, %1 : $IndexPath, %2 : $ClassListController):
  4865. debug_value %0 : $UITableView, let, name "tableView", argno 1, loc "ClassListController.swift":74:22, scope 51 // id: %3
  4866. debug_value %1 : $IndexPath, let, name "indexPath", argno 2, loc "ClassListController.swift":74:68, scope 51 // id: %4
  4867. debug_value %2 : $ClassListController, let, name "self", argno 3, loc "ClassListController.swift":74:10, scope 51 // id: %5
  4868. // function_ref UITableViewCell.__allocating_init(style : UITableViewCellStyle, reuseIdentifier : String?) -> UITableViewCell
  4869. %6 = function_ref @_TFCSo15UITableViewCellCfT5styleOSC20UITableViewCellStyle15reuseIdentifierGSqSS__S_ : $@convention(method) (UITableViewCellStyle, @owned Optional<String>, @thick UITableViewCell.Type) -> @owned UITableViewCell, loc "ClassListController.swift":75:20, scope 52 // user: %17
  4870. %7 = metatype $@thick UITableViewCell.Type, loc "ClassListController.swift":75:20, scope 52 // user: %17
  4871. %8 = metatype $@thin UITableViewCellStyle.Type, loc "ClassListController.swift":75:43, scope 52
  4872. %9 = enum $UITableViewCellStyle, #UITableViewCellStyle.default!enumelt, loc "ClassListController.swift":75:64, scope 52 // user: %17
  4873. %10 = string_literal utf8 "Cell", loc "ClassListController.swift":75:90, scope 52 // user: %15
  4874. %11 = integer_literal $Builtin.Word, 4, loc "ClassListController.swift":75:90, scope 52 // user: %15
  4875. %12 = integer_literal $Builtin.Int1, -1, loc "ClassListController.swift":75:90, scope 52 // user: %15
  4876. %13 = metatype $@thin String.Type, loc "ClassListController.swift":75:90, scope 52 // user: %15
  4877. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  4878. %14 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "ClassListController.swift":75:90, scope 52 // user: %15
  4879. %15 = apply %14(%10, %11, %12, %13) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "ClassListController.swift":75:90, scope 52 // user: %16
  4880. %16 = enum $Optional<String>, #Optional.some!enumelt.1, %15 : $String, loc "ClassListController.swift":75:90, scope 52 // user: %17
  4881. %17 = apply %6(%9, %16, %7) : $@convention(method) (UITableViewCellStyle, @owned Optional<String>, @thick UITableViewCell.Type) -> @owned UITableViewCell, loc "ClassListController.swift":75:96, scope 52 // users: %136, %135, %20, %19, %18
  4882. debug_value %17 : $UITableViewCell, let, name "cell", loc "ClassListController.swift":75:13, scope 52 // id: %18
  4883. %19 = class_method [volatile] %17 : $UITableViewCell, #UITableViewCell.textLabel!getter.1.foreign : (UITableViewCell) -> () -> UILabel? , $@convention(objc_method) (UITableViewCell) -> @autoreleased Optional<UILabel>, loc "ClassListController.swift":77:14, scope 52 // user: %20
  4884. %20 = apply %19(%17) : $@convention(objc_method) (UITableViewCell) -> @autoreleased Optional<UILabel>, loc "ClassListController.swift":77:14, scope 52 // users: %25, %23
  4885. %21 = integer_literal $Builtin.Int1, -1, loc "ClassListController.swift":77:23, scope 52 // user: %23
  4886. %22 = integer_literal $Builtin.Int1, 0, loc "ClassListController.swift":77:23, scope 52 // user: %23
  4887. %23 = select_enum %20 : $Optional<UILabel>, case #Optional.some!enumelt.1: %21, default %22 : $Builtin.Int1, loc "ClassListController.swift":77:23, scope 52 // user: %24
  4888. cond_br %23, bb1, bb6, loc "ClassListController.swift":77:23, scope 52 // id: %24
  4889.  
  4890. bb1: // Preds: bb0
  4891. %25 = unchecked_enum_data %20 : $Optional<UILabel>, #Optional.some!enumelt.1, loc "ClassListController.swift":77:23, scope 52 // users: %130, %126, %112
  4892. // function_ref String.init(stringInterpolation : [String]...) -> String
  4893. %26 = function_ref @_TFSSCft19stringInterpolationGSaSS__SS : $@convention(method) (@owned Array<String>, @thin String.Type) -> @owned String, loc "ClassListController.swift":77:32, scope 52 // user: %110
  4894. %27 = metatype $@thin String.Type, loc "ClassListController.swift":77:32, scope 52 // user: %110
  4895. %28 = integer_literal $Builtin.Word, 5, loc "ClassListController.swift":77:32, scope 52 // user: %30
  4896. // function_ref _allocateUninitializedArray<A> (Builtin.Word) -> ([A], Builtin.RawPointer)
  4897. %29 = function_ref @_TFs27_allocateUninitializedArrayurFBwTGSax_Bp_ : $@convention(thin) <τ_0_0> (Builtin.Word) -> (@owned Array<τ_0_0>, Builtin.RawPointer), loc "ClassListController.swift":77:32, scope 52 // user: %30
  4898. %30 = apply %29<String>(%28) : $@convention(thin) <τ_0_0> (Builtin.Word) -> (@owned Array<τ_0_0>, Builtin.RawPointer), loc "ClassListController.swift":77:32, scope 52 // users: %32, %31
  4899. %31 = tuple_extract %30 : $(Array<String>, Builtin.RawPointer), 0, loc "ClassListController.swift":77:32, scope 52 // user: %110
  4900. %32 = tuple_extract %30 : $(Array<String>, Builtin.RawPointer), 1, loc "ClassListController.swift":77:32, scope 52 // user: %33
  4901. %33 = pointer_to_address %32 : $Builtin.RawPointer to [strict] $*String, loc "ClassListController.swift":77:32, scope 52 // users: %99, %78, %66, %45, %43
  4902. // function_ref String.init(stringInterpolationSegment : String) -> String
  4903. %34 = function_ref @_TFSSCfT26stringInterpolationSegmentSS_SS : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "ClassListController.swift":77:32, scope 52 // user: %42
  4904. %35 = metatype $@thin String.Type, loc "ClassListController.swift":77:32, scope 52 // user: %42
  4905. %36 = string_literal utf8 "", loc "ClassListController.swift":77:32, scope 52 // user: %41
  4906. %37 = integer_literal $Builtin.Word, 0, loc "ClassListController.swift":77:32, scope 52 // user: %41
  4907. %38 = integer_literal $Builtin.Int1, -1, loc "ClassListController.swift":77:32, scope 52 // user: %41
  4908. %39 = metatype $@thin String.Type, loc "ClassListController.swift":77:32, scope 52 // user: %41
  4909. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  4910. %40 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "ClassListController.swift":77:32, scope 52 // user: %41
  4911. %41 = apply %40(%36, %37, %38, %39) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "ClassListController.swift":77:32, scope 52 // user: %42
  4912. %42 = apply %34(%41, %35) : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "ClassListController.swift":77:32, scope 52 // user: %43
  4913. store %42 to [init] %33 : $*String, loc "ClassListController.swift":77:32, scope 52 // id: %43
  4914. %44 = integer_literal $Builtin.Word, 1, loc "ClassListController.swift":77:83, scope 52 // user: %45
  4915. %45 = index_addr %33 : $*String, %44 : $Builtin.Word, loc "ClassListController.swift":77:83, scope 52 // user: %64
  4916. // function_ref String.init(stringInterpolationSegment : String) -> String
  4917. %46 = function_ref @_TFSSCfT26stringInterpolationSegmentSS_SS : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "ClassListController.swift":77:32, scope 52 // user: %63
  4918. %47 = metatype $@thin String.Type, loc "ClassListController.swift":77:32, scope 52 // user: %63
  4919. %48 = metatype $@thick Information.Type, loc "ClassListController.swift":77:35, scope 52
  4920. // function_ref Information.classesAndGrades.unsafeMutableAddressor
  4921. %49 = function_ref @_TFC3gpa11Informationau16classesAndGradesGSaS0__ : $@convention(thin) () -> Builtin.RawPointer, loc "ClassListController.swift":77:47, scope 52 // user: %50
  4922. %50 = apply %49() : $@convention(thin) () -> Builtin.RawPointer, loc "ClassListController.swift":77:47, scope 52 // user: %51
  4923. %51 = pointer_to_address %50 : $Builtin.RawPointer to [strict] $*Array<Information>, loc "ClassListController.swift":77:47, scope 52 // user: %54
  4924. // function_ref IndexPath.row.getter
  4925. %52 = function_ref @_TFE5UIKitV10Foundation9IndexPathg3rowSi : $@convention(method) (@guaranteed IndexPath) -> Int, loc "ClassListController.swift":77:74, scope 52 // user: %53
  4926. %53 = apply %52(%1) : $@convention(method) (@guaranteed IndexPath) -> Int, loc "ClassListController.swift":77:74, scope 52 // user: %57
  4927. %54 = load [copy] %51 : $*Array<Information>, loc "ClassListController.swift":77:63, scope 52 // users: %58, %57
  4928. // function_ref Array.subscript.getter
  4929. %55 = function_ref @_TFSag9subscriptFSix : $@convention(method) <τ_0_0> (Int, @guaranteed Array<τ_0_0>) -> @out τ_0_0, loc "ClassListController.swift":77:63, scope 52 // user: %57
  4930. %56 = alloc_stack $Information, loc "ClassListController.swift":77:63, scope 52 // users: %129, %59, %57
  4931. %57 = apply %55<Information>(%56, %53, %54) : $@convention(method) <τ_0_0> (Int, @guaranteed Array<τ_0_0>) -> @out τ_0_0, loc "ClassListController.swift":77:63, scope 52
  4932. destroy_value %54 : $Array<Information>, loc "ClassListController.swift":77:77, scope 52 // id: %58
  4933. %59 = load [take] %56 : $*Information, loc "ClassListController.swift":77:63, scope 52 // users: %62, %61, %60
  4934. %60 = class_method %59 : $Information, #Information.name!getter.1 : (Information) -> () -> String , $@convention(method) (@guaranteed Information) -> @owned String, loc "ClassListController.swift":77:79, scope 52 // user: %61
  4935. %61 = apply %60(%59) : $@convention(method) (@guaranteed Information) -> @owned String, loc "ClassListController.swift":77:79, scope 52 // user: %63
  4936. destroy_value %59 : $Information, loc "ClassListController.swift":77:83, scope 52 // id: %62
  4937. %63 = apply %46(%61, %47) : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "ClassListController.swift":77:83, scope 52 // user: %64
  4938. store %63 to [init] %45 : $*String, loc "ClassListController.swift":77:83, scope 52 // id: %64
  4939. %65 = integer_literal $Builtin.Word, 2, loc "ClassListController.swift":77:84, scope 52 // user: %66
  4940. %66 = index_addr %33 : $*String, %65 : $Builtin.Word, loc "ClassListController.swift":77:84, scope 52 // user: %76
  4941. // function_ref String.init(stringInterpolationSegment : String) -> String
  4942. %67 = function_ref @_TFSSCfT26stringInterpolationSegmentSS_SS : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "ClassListController.swift":77:32, scope 52 // user: %75
  4943. %68 = metatype $@thin String.Type, loc "ClassListController.swift":77:32, scope 52 // user: %75
  4944. %69 = string_literal utf8 ": ", loc "ClassListController.swift":77:84, scope 52 // user: %74
  4945. %70 = integer_literal $Builtin.Word, 2, loc "ClassListController.swift":77:84, scope 52 // user: %74
  4946. %71 = integer_literal $Builtin.Int1, -1, loc "ClassListController.swift":77:84, scope 52 // user: %74
  4947. %72 = metatype $@thin String.Type, loc "ClassListController.swift":77:84, scope 52 // user: %74
  4948. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  4949. %73 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "ClassListController.swift":77:84, scope 52 // user: %74
  4950. %74 = apply %73(%69, %70, %71, %72) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "ClassListController.swift":77:84, scope 52 // user: %75
  4951. %75 = apply %67(%74, %68) : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "ClassListController.swift":77:84, scope 52 // user: %76
  4952. store %75 to [init] %66 : $*String, loc "ClassListController.swift":77:84, scope 52 // id: %76
  4953. %77 = integer_literal $Builtin.Word, 3, loc "ClassListController.swift":77:137, scope 52 // user: %78
  4954. %78 = index_addr %33 : $*String, %77 : $Builtin.Word, loc "ClassListController.swift":77:137, scope 52 // user: %97
  4955. // function_ref String.init(stringInterpolationSegment : Int) -> String
  4956. %79 = function_ref @_TFSSCfT26stringInterpolationSegmentSi_SS : $@convention(method) (Int, @thin String.Type) -> @owned String, loc "ClassListController.swift":77:32, scope 52 // user: %96
  4957. %80 = metatype $@thin String.Type, loc "ClassListController.swift":77:32, scope 52 // user: %96
  4958. %81 = metatype $@thick Information.Type, loc "ClassListController.swift":77:88, scope 52
  4959. // function_ref Information.classesAndGrades.unsafeMutableAddressor
  4960. %82 = function_ref @_TFC3gpa11Informationau16classesAndGradesGSaS0__ : $@convention(thin) () -> Builtin.RawPointer, loc "ClassListController.swift":77:100, scope 52 // user: %83
  4961. %83 = apply %82() : $@convention(thin) () -> Builtin.RawPointer, loc "ClassListController.swift":77:100, scope 52 // user: %84
  4962. %84 = pointer_to_address %83 : $Builtin.RawPointer to [strict] $*Array<Information>, loc "ClassListController.swift":77:100, scope 52 // user: %87
  4963. // function_ref IndexPath.row.getter
  4964. %85 = function_ref @_TFE5UIKitV10Foundation9IndexPathg3rowSi : $@convention(method) (@guaranteed IndexPath) -> Int, loc "ClassListController.swift":77:127, scope 52 // user: %86
  4965. %86 = apply %85(%1) : $@convention(method) (@guaranteed IndexPath) -> Int, loc "ClassListController.swift":77:127, scope 52 // user: %90
  4966. %87 = load [copy] %84 : $*Array<Information>, loc "ClassListController.swift":77:116, scope 52 // users: %91, %90
  4967. // function_ref Array.subscript.getter
  4968. %88 = function_ref @_TFSag9subscriptFSix : $@convention(method) <τ_0_0> (Int, @guaranteed Array<τ_0_0>) -> @out τ_0_0, loc "ClassListController.swift":77:116, scope 52 // user: %90
  4969. %89 = alloc_stack $Information, loc "ClassListController.swift":77:116, scope 52 // users: %128, %92, %90
  4970. %90 = apply %88<Information>(%89, %86, %87) : $@convention(method) <τ_0_0> (Int, @guaranteed Array<τ_0_0>) -> @out τ_0_0, loc "ClassListController.swift":77:116, scope 52
  4971. destroy_value %87 : $Array<Information>, loc "ClassListController.swift":77:130, scope 52 // id: %91
  4972. %92 = load [take] %89 : $*Information, loc "ClassListController.swift":77:116, scope 52 // users: %95, %94, %93
  4973. %93 = class_method %92 : $Information, #Information.grade!getter.1 : (Information) -> () -> Int , $@convention(method) (@guaranteed Information) -> Int, loc "ClassListController.swift":77:132, scope 52 // user: %94
  4974. %94 = apply %93(%92) : $@convention(method) (@guaranteed Information) -> Int, loc "ClassListController.swift":77:132, scope 52 // user: %96
  4975. destroy_value %92 : $Information, loc "ClassListController.swift":77:137, scope 52 // id: %95
  4976. %96 = apply %79(%94, %80) : $@convention(method) (Int, @thin String.Type) -> @owned String, loc "ClassListController.swift":77:137, scope 52 // user: %97
  4977. store %96 to [init] %78 : $*String, loc "ClassListController.swift":77:137, scope 52 // id: %97
  4978. %98 = integer_literal $Builtin.Word, 4, loc "ClassListController.swift":77:138, scope 52 // user: %99
  4979. %99 = index_addr %33 : $*String, %98 : $Builtin.Word, loc "ClassListController.swift":77:138, scope 52 // user: %109
  4980. // function_ref String.init(stringInterpolationSegment : String) -> String
  4981. %100 = function_ref @_TFSSCfT26stringInterpolationSegmentSS_SS : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "ClassListController.swift":77:32, scope 52 // user: %108
  4982. %101 = metatype $@thin String.Type, loc "ClassListController.swift":77:32, scope 52 // user: %108
  4983. %102 = string_literal utf8 "", loc "ClassListController.swift":77:138, scope 52 // user: %107
  4984. %103 = integer_literal $Builtin.Word, 0, loc "ClassListController.swift":77:138, scope 52 // user: %107
  4985. %104 = integer_literal $Builtin.Int1, -1, loc "ClassListController.swift":77:138, scope 52 // user: %107
  4986. %105 = metatype $@thin String.Type, loc "ClassListController.swift":77:138, scope 52 // user: %107
  4987. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  4988. %106 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "ClassListController.swift":77:138, scope 52 // user: %107
  4989. %107 = apply %106(%102, %103, %104, %105) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "ClassListController.swift":77:138, scope 52 // user: %108
  4990. %108 = apply %100(%107, %101) : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "ClassListController.swift":77:138, scope 52 // user: %109
  4991. store %108 to [init] %99 : $*String, loc "ClassListController.swift":77:138, scope 52 // id: %109
  4992. %110 = apply %26(%31, %27) : $@convention(method) (@owned Array<String>, @thin String.Type) -> @owned String, loc "ClassListController.swift":77:138, scope 52 // user: %111
  4993. %111 = enum $Optional<String>, #Optional.some!enumelt.1, %110 : $String, loc "ClassListController.swift":77:32, scope 52 // users: %117, %115
  4994. %112 = class_method [volatile] %25 : $UILabel, #UILabel.text!setter.1.foreign : (UILabel) -> (String?) -> () , $@convention(objc_method) (Optional<NSString>, UILabel) -> (), loc "ClassListController.swift":77:30, scope 52 // user: %126
  4995. %113 = integer_literal $Builtin.Int1, -1, loc "ClassListController.swift":77:30, scope 52 // user: %115
  4996. %114 = integer_literal $Builtin.Int1, 0, loc "ClassListController.swift":77:30, scope 52 // user: %115
  4997. %115 = select_enum %111 : $Optional<String>, case #Optional.some!enumelt.1: %113, default %114 : $Builtin.Int1, loc "ClassListController.swift":77:30, scope 52 // user: %116
  4998. cond_br %115, bb2, bb3, loc "ClassListController.swift":77:30, scope 52 // id: %116
  4999.  
  5000. bb2: // Preds: bb1
  5001. %117 = unchecked_enum_data %111 : $Optional<String>, #Optional.some!enumelt.1, loc "ClassListController.swift":77:30, scope 52 // users: %121, %119
  5002. // function_ref String._bridgeToObjectiveC() -> NSString
  5003. %118 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassListController.swift":77:30, scope 52 // user: %119
  5004. %119 = apply %118(%117) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassListController.swift":77:30, scope 52 // user: %120
  5005. %120 = enum $Optional<NSString>, #Optional.some!enumelt.1, %119 : $NSString, loc "ClassListController.swift":77:30, scope 52 // user: %122
  5006. destroy_value %117 : $String, loc "ClassListController.swift":77:32, scope 52 // id: %121
  5007. br bb4(%120 : $Optional<NSString>), loc "ClassListController.swift":77:30, scope 52 // id: %122
  5008.  
  5009. bb3: // Preds: bb1
  5010. %123 = enum $Optional<NSString>, #Optional.none!enumelt, loc "ClassListController.swift":77:30, scope 52 // user: %124
  5011. br bb4(%123 : $Optional<NSString>), loc "ClassListController.swift":77:30, scope 52 // id: %124
  5012.  
  5013. // %125 // users: %127, %126
  5014. bb4(%125 : $Optional<NSString>): // Preds: bb3 bb2
  5015. %126 = apply %112(%125, %25) : $@convention(objc_method) (Optional<NSString>, UILabel) -> (), loc "ClassListController.swift":77:30, scope 52
  5016. destroy_value %125 : $Optional<NSString>, loc "ClassListController.swift":77:32, scope 52 // id: %127
  5017. dealloc_stack %89 : $*Information, loc "ClassListController.swift":77:32, scope 52 // id: %128
  5018. dealloc_stack %56 : $*Information, loc "ClassListController.swift":77:32, scope 52 // id: %129
  5019. destroy_value %25 : $UILabel, loc "ClassListController.swift":77:32, scope 52 // id: %130
  5020. %131 = tuple (), loc "ClassListController.swift":77:30, scope 52 // user: %132
  5021. %132 = enum $Optional<()>, #Optional.some!enumelt.1, %131 : $(), loc "ClassListController.swift":77:30, scope 52 // user: %133
  5022. br bb5(%132 : $Optional<()>), loc "ClassListController.swift":77:30, scope 52 // id: %133
  5023.  
  5024. bb5(%134 : $Optional<()>): // Preds: bb6 bb4
  5025. %135 = copy_value %17 : $UITableViewCell, loc "ClassListController.swift":79:16, scope 52 // user: %139
  5026. destroy_value %17 : $UITableViewCell, loc "ClassListController.swift":80:5, scope 52 // id: %136
  5027. destroy_value %1 : $IndexPath, loc "ClassListController.swift":80:5, scope 52 // id: %137
  5028. destroy_value %0 : $UITableView, loc "ClassListController.swift":80:5, scope 52 // id: %138
  5029. return %135 : $UITableViewCell, loc "ClassListController.swift":79:9, scope 52 // id: %139
  5030.  
  5031. bb6: // Preds: bb0
  5032. %140 = enum $Optional<()>, #Optional.none!enumelt, loc "ClassListController.swift":77:30, scope 52 // user: %141
  5033. br bb5(%140 : $Optional<()>), loc "ClassListController.swift":77:30, scope 52 // id: %141
  5034. } // end sil function '_TFC3gpa19ClassListController9tableViewfTCSo11UITableView21cellForRowAtIndexPathV10Foundation9IndexPath_CSo15UITableViewCell'
  5035.  
  5036. sil_scope 53 { parent @_TFCSo15UITableViewCellCfT5styleOSC20UITableViewCellStyle15reuseIdentifierGSqSS__S_ : $@convention(method) (UITableViewCellStyle, @owned Optional<String>, @thick UITableViewCell.Type) -> @owned UITableViewCell }
  5037.  
  5038. // UITableViewCell.__allocating_init(style : UITableViewCellStyle, reuseIdentifier : String?) -> UITableViewCell
  5039. sil shared @_TFCSo15UITableViewCellCfT5styleOSC20UITableViewCellStyle15reuseIdentifierGSqSS__S_ : $@convention(method) (UITableViewCellStyle, @owned Optional<String>, @thick UITableViewCell.Type) -> @owned UITableViewCell {
  5040. // %0 // user: %6
  5041. // %1 // user: %6
  5042. // %2 // user: %3
  5043. bb0(%0 : $UITableViewCellStyle, %1 : $Optional<String>, %2 : $@thick UITableViewCell.Type):
  5044. %3 = thick_to_objc_metatype %2 : $@thick UITableViewCell.Type to $@objc_metatype UITableViewCell.Type, scope 53 // user: %4
  5045. %4 = alloc_ref_dynamic [objc] %3 : $@objc_metatype UITableViewCell.Type, $UITableViewCell, scope 53 // user: %6
  5046. // function_ref @nonobjc UITableViewCell.init(style : UITableViewCellStyle, reuseIdentifier : String?) -> UITableViewCell
  5047. %5 = function_ref @_TTOFCSo15UITableViewCellcfT5styleOSC20UITableViewCellStyle15reuseIdentifierGSqSS__S_ : $@convention(method) (UITableViewCellStyle, @owned Optional<String>, @owned UITableViewCell) -> @owned UITableViewCell, scope 53 // user: %6
  5048. %6 = apply %5(%0, %1, %4) : $@convention(method) (UITableViewCellStyle, @owned Optional<String>, @owned UITableViewCell) -> @owned UITableViewCell, scope 53 // user: %7
  5049. return %6 : $UITableViewCell, scope 53 // id: %7
  5050. } // end sil function '_TFCSo15UITableViewCellCfT5styleOSC20UITableViewCellStyle15reuseIdentifierGSqSS__S_'
  5051.  
  5052.  
  5053. // String.init(stringInterpolation : [String]...) -> String
  5054. sil [readonly] @_TFSSCft19stringInterpolationGSaSS__SS : $@convention(method) (@owned Array<String>, @thin String.Type) -> @owned String
  5055.  
  5056.  
  5057. // _allocateUninitializedArray<A> (Builtin.Word) -> ([A], Builtin.RawPointer)
  5058. sil [fragile] [always_inline] @_TFs27_allocateUninitializedArrayurFBwTGSax_Bp_ : $@convention(thin) <τ_0_0> (Builtin.Word) -> (@owned Array<τ_0_0>, Builtin.RawPointer)
  5059.  
  5060.  
  5061. // String.init(stringInterpolationSegment : String) -> String
  5062. sil @_TFSSCfT26stringInterpolationSegmentSS_SS : $@convention(method) (@owned String, @thin String.Type) -> @owned String
  5063.  
  5064.  
  5065. // Array.subscript.getter
  5066. sil @_TFSag9subscriptFSix : $@convention(method) <τ_0_0> (Int, @guaranteed Array<τ_0_0>) -> @out τ_0_0
  5067.  
  5068.  
  5069. // String.init(stringInterpolationSegment : Int) -> String
  5070. sil @_TFSSCfT26stringInterpolationSegmentSi_SS : $@convention(method) (Int, @thin String.Type) -> @owned String
  5071.  
  5072. sil_scope 54 { loc "ClassListController.swift":74:10 parent @_TToFC3gpa19ClassListController9tableViewfTCSo11UITableView21cellForRowAtIndexPathV10Foundation9IndexPath_CSo15UITableViewCell : $@convention(objc_method) (UITableView, NSIndexPath, ClassListController) -> @autoreleased UITableViewCell }
  5073.  
  5074. // @objc ClassListController.tableView(UITableView, cellForRowAtIndexPath : IndexPath) -> UITableViewCell
  5075. sil hidden [thunk] @_TToFC3gpa19ClassListController9tableViewfTCSo11UITableView21cellForRowAtIndexPathV10Foundation9IndexPath_CSo15UITableViewCell : $@convention(objc_method) (UITableView, NSIndexPath, ClassListController) -> @autoreleased UITableViewCell {
  5076. // %0 // user: %3
  5077. // %1 // user: %4
  5078. // %2 // user: %5
  5079. bb0(%0 : $UITableView, %1 : $NSIndexPath, %2 : $ClassListController):
  5080. %3 = copy_value %0 : $UITableView, scope 54 // user: %11
  5081. %4 = copy_value %1 : $NSIndexPath, scope 54 // user: %7
  5082. %5 = copy_value %2 : $ClassListController, scope 54 // users: %12, %11
  5083. // function_ref static IndexPath._unconditionallyBridgeFromObjectiveC(NSIndexPath?) -> IndexPath
  5084. %6 = function_ref @_TZFV10Foundation9IndexPath36_unconditionallyBridgeFromObjectiveCfGSqCSo11NSIndexPath_S0_ : $@convention(method) (@owned Optional<NSIndexPath>, @thin IndexPath.Type) -> @owned IndexPath, scope 54 // user: %9
  5085. %7 = enum $Optional<NSIndexPath>, #Optional.some!enumelt.1, %4 : $NSIndexPath, scope 54 // user: %9
  5086. %8 = metatype $@thin IndexPath.Type, scope 54 // user: %9
  5087. %9 = apply %6(%7, %8) : $@convention(method) (@owned Optional<NSIndexPath>, @thin IndexPath.Type) -> @owned IndexPath, scope 54 // user: %11
  5088. // function_ref ClassListController.tableView(UITableView, cellForRowAtIndexPath : IndexPath) -> UITableViewCell
  5089. %10 = function_ref @_TFC3gpa19ClassListController9tableViewfTCSo11UITableView21cellForRowAtIndexPathV10Foundation9IndexPath_CSo15UITableViewCell : $@convention(method) (@owned UITableView, @owned IndexPath, @guaranteed ClassListController) -> @owned UITableViewCell, scope 54 // user: %11
  5090. %11 = apply %10(%3, %9, %5) : $@convention(method) (@owned UITableView, @owned IndexPath, @guaranteed ClassListController) -> @owned UITableViewCell, scope 54 // user: %13
  5091. destroy_value %5 : $ClassListController, scope 54 // id: %12
  5092. return %11 : $UITableViewCell, scope 54 // id: %13
  5093. } // end sil function '_TToFC3gpa19ClassListController9tableViewfTCSo11UITableView21cellForRowAtIndexPathV10Foundation9IndexPath_CSo15UITableViewCell'
  5094.  
  5095. sil_scope 55 { parent @_TFOSC27UITableViewCellEditingStyleCfT8rawValueSi_GSqS__ : $@convention(method) (Int, @thin UITableViewCellEditingStyle.Type) -> Optional<UITableViewCellEditingStyle> }
  5096. sil_scope 56 { parent 55 }
  5097.  
  5098. // UITableViewCellEditingStyle.init(rawValue : Int) -> UITableViewCellEditingStyle?
  5099. sil shared @_TFOSC27UITableViewCellEditingStyleCfT8rawValueSi_GSqS__ : $@convention(method) (Int, @thin UITableViewCellEditingStyle.Type) -> Optional<UITableViewCellEditingStyle> {
  5100. // %0 // users: %6, %5
  5101. bb0(%0 : $Int, %1 : $@thin UITableViewCellEditingStyle.Type):
  5102. %2 = alloc_box ${ var UITableViewCellEditingStyle }, var, name "self", scope 55 // users: %10, %12, %3
  5103. %3 = project_box %2 : ${ var UITableViewCellEditingStyle }, 0, scope 55 // user: %4
  5104. %4 = mark_uninitialized [rootself] %3 : $*UITableViewCellEditingStyle, scope 55 // users: %8, %7
  5105. debug_value %0 : $Int, let, name "rawValue", argno 1, scope 55 // id: %5
  5106. %6 = unchecked_trivial_bit_cast %0 : $Int to $UITableViewCellEditingStyle, scope 56 // user: %7
  5107. assign %6 to %4 : $*UITableViewCellEditingStyle, scope 56 // id: %7
  5108. %8 = load [trivial] %4 : $*UITableViewCellEditingStyle, scope 56 // user: %9
  5109. %9 = enum $Optional<UITableViewCellEditingStyle>, #Optional.some!enumelt.1, %8 : $UITableViewCellEditingStyle, scope 56 // user: %11
  5110. destroy_value %2 : ${ var UITableViewCellEditingStyle }, scope 56 // id: %10
  5111. br bb2(%9 : $Optional<UITableViewCellEditingStyle>), scope 56 // id: %11
  5112.  
  5113. bb1:
  5114. destroy_value %2 : ${ var UITableViewCellEditingStyle }, scope 55 // id: %12
  5115. %13 = enum $Optional<UITableViewCellEditingStyle>, #Optional.none!enumelt, scope 55 // user: %14
  5116. br bb2(%13 : $Optional<UITableViewCellEditingStyle>), scope 55 // id: %14
  5117.  
  5118. // %15 // user: %16
  5119. bb2(%15 : $Optional<UITableViewCellEditingStyle>): // Preds: bb0 bb1
  5120. return %15 : $Optional<UITableViewCellEditingStyle>, scope 55 // id: %16
  5121. } // end sil function '_TFOSC27UITableViewCellEditingStyleCfT8rawValueSi_GSqS__'
  5122.  
  5123. sil_scope 57 { parent @_TFOSC27UITableViewCellEditingStyleg8rawValueSi : $@convention(method) (UITableViewCellEditingStyle) -> Int }
  5124. sil_scope 58 { parent 57 }
  5125.  
  5126. // UITableViewCellEditingStyle.rawValue.getter
  5127. sil shared @_TFOSC27UITableViewCellEditingStyleg8rawValueSi : $@convention(method) (UITableViewCellEditingStyle) -> Int {
  5128. // %0 // users: %2, %1
  5129. bb0(%0 : $UITableViewCellEditingStyle):
  5130. debug_value %0 : $UITableViewCellEditingStyle, let, name "self", argno 1, scope 57 // id: %1
  5131. %2 = unchecked_trivial_bit_cast %0 : $UITableViewCellEditingStyle to $Int, scope 58 // user: %3
  5132. return %2 : $Int, scope 58 // id: %3
  5133. } // end sil function '_TFOSC27UITableViewCellEditingStyleg8rawValueSi'
  5134.  
  5135. sil_scope 59 { parent @_TTWOSC27UITableViewCellEditingStyles9Equatable5UIKitZFS0_oi2eefTxx_Sb : $@convention(witness_method) (@in UITableViewCellEditingStyle, @in UITableViewCellEditingStyle, @thick UITableViewCellEditingStyle.Type) -> Bool }
  5136.  
  5137. // protocol witness for static Equatable.== infix(A, A) -> Bool in conformance UITableViewCellEditingStyle
  5138. sil shared [transparent] [thunk] @_TTWOSC27UITableViewCellEditingStyles9Equatable5UIKitZFS0_oi2eefTxx_Sb : $@convention(witness_method) (@in UITableViewCellEditingStyle, @in UITableViewCellEditingStyle, @thick UITableViewCellEditingStyle.Type) -> Bool {
  5139. // %0 // user: %4
  5140. // %1 // user: %4
  5141. bb0(%0 : $*UITableViewCellEditingStyle, %1 : $*UITableViewCellEditingStyle, %2 : $@thick UITableViewCellEditingStyle.Type):
  5142. // function_ref == infix<A where ...> (A, A) -> Bool
  5143. %3 = function_ref @_TFsoi2eeuRxs16RawRepresentablewx8RawValues9EquatablerFTxx_Sb : $@convention(thin) <τ_0_0 where τ_0_0 : RawRepresentable, τ_0_0.RawValue : Equatable> (@in τ_0_0, @in τ_0_0) -> Bool, scope 59 // user: %4
  5144. %4 = apply %3<UITableViewCellEditingStyle, Int>(%0, %1) : $@convention(thin) <τ_0_0 where τ_0_0 : RawRepresentable, τ_0_0.RawValue : Equatable> (@in τ_0_0, @in τ_0_0) -> Bool, scope 59 // user: %5
  5145. return %4 : $Bool, scope 59 // id: %5
  5146. } // end sil function '_TTWOSC27UITableViewCellEditingStyles9Equatable5UIKitZFS0_oi2eefTxx_Sb'
  5147.  
  5148. sil_scope 60 { parent @_TTWOSC27UITableViewCellEditingStyles16RawRepresentable5UIKitFS0_CfT8rawValuewx8RawValue_GSqx_ : $@convention(witness_method) (@in Int, @thick UITableViewCellEditingStyle.Type) -> @out Optional<UITableViewCellEditingStyle> }
  5149.  
  5150. // protocol witness for RawRepresentable.init(rawValue : A.RawValue) -> A? in conformance UITableViewCellEditingStyle
  5151. sil shared [transparent] [thunk] @_TTWOSC27UITableViewCellEditingStyles16RawRepresentable5UIKitFS0_CfT8rawValuewx8RawValue_GSqx_ : $@convention(witness_method) (@in Int, @thick UITableViewCellEditingStyle.Type) -> @out Optional<UITableViewCellEditingStyle> {
  5152. // %0 // user: %7
  5153. // %1 // user: %3
  5154. bb0(%0 : $*Optional<UITableViewCellEditingStyle>, %1 : $*Int, %2 : $@thick UITableViewCellEditingStyle.Type):
  5155. %3 = load [trivial] %1 : $*Int, scope 60 // user: %6
  5156. %4 = metatype $@thin UITableViewCellEditingStyle.Type, scope 60 // user: %6
  5157. // function_ref UITableViewCellEditingStyle.init(rawValue : Int) -> UITableViewCellEditingStyle?
  5158. %5 = function_ref @_TFOSC27UITableViewCellEditingStyleCfT8rawValueSi_GSqS__ : $@convention(method) (Int, @thin UITableViewCellEditingStyle.Type) -> Optional<UITableViewCellEditingStyle>, scope 60 // user: %6
  5159. %6 = apply %5(%3, %4) : $@convention(method) (Int, @thin UITableViewCellEditingStyle.Type) -> Optional<UITableViewCellEditingStyle>, scope 60 // user: %7
  5160. store %6 to [trivial] %0 : $*Optional<UITableViewCellEditingStyle>, scope 60 // id: %7
  5161. %8 = tuple (), scope 60 // user: %9
  5162. return %8 : $(), scope 60 // id: %9
  5163. } // end sil function '_TTWOSC27UITableViewCellEditingStyles16RawRepresentable5UIKitFS0_CfT8rawValuewx8RawValue_GSqx_'
  5164.  
  5165. sil_scope 61 { parent @_TTWOSC27UITableViewCellEditingStyles16RawRepresentable5UIKitFS0_g8rawValuewx8RawValue : $@convention(witness_method) (@in_guaranteed UITableViewCellEditingStyle) -> @out Int }
  5166.  
  5167. // protocol witness for RawRepresentable.rawValue.getter in conformance UITableViewCellEditingStyle
  5168. sil shared [transparent] [thunk] @_TTWOSC27UITableViewCellEditingStyles16RawRepresentable5UIKitFS0_g8rawValuewx8RawValue : $@convention(witness_method) (@in_guaranteed UITableViewCellEditingStyle) -> @out Int {
  5169. // %0 // user: %7
  5170. // %1 // user: %3
  5171. bb0(%0 : $*Int, %1 : $*UITableViewCellEditingStyle):
  5172. %2 = alloc_stack $UITableViewCellEditingStyle, scope 61 // users: %9, %4, %3
  5173. copy_addr %1 to [initialization] %2 : $*UITableViewCellEditingStyle, scope 61 // id: %3
  5174. %4 = load [trivial] %2 : $*UITableViewCellEditingStyle, scope 61 // user: %6
  5175. // function_ref UITableViewCellEditingStyle.rawValue.getter
  5176. %5 = function_ref @_TFOSC27UITableViewCellEditingStyleg8rawValueSi : $@convention(method) (UITableViewCellEditingStyle) -> Int, scope 61 // user: %6
  5177. %6 = apply %5(%4) : $@convention(method) (UITableViewCellEditingStyle) -> Int, scope 61 // user: %7
  5178. store %6 to [trivial] %0 : $*Int, scope 61 // id: %7
  5179. %8 = tuple (), scope 61 // user: %10
  5180. dealloc_stack %2 : $*UITableViewCellEditingStyle, scope 61 // id: %9
  5181. return %8 : $(), scope 61 // id: %10
  5182. } // end sil function '_TTWOSC27UITableViewCellEditingStyles16RawRepresentable5UIKitFS0_g8rawValuewx8RawValue'
  5183.  
  5184. sil_scope 62 { parent @_TTOFCSo15UITableViewCellcfT5styleOSC20UITableViewCellStyle15reuseIdentifierGSqSS__S_ : $@convention(method) (UITableViewCellStyle, @owned Optional<String>, @owned UITableViewCell) -> @owned UITableViewCell }
  5185.  
  5186. // @nonobjc UITableViewCell.init(style : UITableViewCellStyle, reuseIdentifier : String?) -> UITableViewCell
  5187. sil shared [thunk] @_TTOFCSo15UITableViewCellcfT5styleOSC20UITableViewCellStyle15reuseIdentifierGSqSS__S_ : $@convention(method) (UITableViewCellStyle, @owned Optional<String>, @owned UITableViewCell) -> @owned UITableViewCell {
  5188. // %0 // user: %17
  5189. // %1 // users: %7, %5
  5190. // %2 // users: %17, %16
  5191. bb0(%0 : $UITableViewCellStyle, %1 : $Optional<String>, %2 : $UITableViewCell):
  5192. %3 = integer_literal $Builtin.Int1, -1, scope 62 // user: %5
  5193. %4 = integer_literal $Builtin.Int1, 0, scope 62 // user: %5
  5194. %5 = select_enum %1 : $Optional<String>, case #Optional.some!enumelt.1: %3, default %4 : $Builtin.Int1, scope 62 // user: %6
  5195. cond_br %5, bb1, bb2, scope 62 // id: %6
  5196.  
  5197. bb1: // Preds: bb0
  5198. %7 = unchecked_enum_data %1 : $Optional<String>, #Optional.some!enumelt.1, scope 62 // users: %11, %9
  5199. // function_ref String._bridgeToObjectiveC() -> NSString
  5200. %8 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, scope 62 // user: %9
  5201. %9 = apply %8(%7) : $@convention(method) (@guaranteed String) -> @owned NSString, scope 62 // user: %10
  5202. %10 = enum $Optional<NSString>, #Optional.some!enumelt.1, %9 : $NSString, scope 62 // user: %12
  5203. destroy_value %7 : $String, scope 62 // id: %11
  5204. br bb3(%10 : $Optional<NSString>), scope 62 // id: %12
  5205.  
  5206. bb2: // Preds: bb0
  5207. %13 = enum $Optional<NSString>, #Optional.none!enumelt, scope 62 // user: %14
  5208. br bb3(%13 : $Optional<NSString>), scope 62 // id: %14
  5209.  
  5210. // %15 // users: %18, %17
  5211. bb3(%15 : $Optional<NSString>): // Preds: bb2 bb1
  5212. %16 = class_method [volatile] %2 : $UITableViewCell, #UITableViewCell.init!initializer.1.foreign : (UITableViewCell.Type) -> (UITableViewCellStyle, String?) -> UITableViewCell , $@convention(objc_method) (UITableViewCellStyle, Optional<NSString>, @owned UITableViewCell) -> @owned UITableViewCell, scope 62 // user: %17
  5213. %17 = apply %16(%0, %15, %2) : $@convention(objc_method) (UITableViewCellStyle, Optional<NSString>, @owned UITableViewCell) -> @owned UITableViewCell, scope 62 // user: %19
  5214. destroy_value %15 : $Optional<NSString>, scope 62 // id: %18
  5215. return %17 : $UITableViewCell, scope 62 // id: %19
  5216. } // end sil function '_TTOFCSo15UITableViewCellcfT5styleOSC20UITableViewCellStyle15reuseIdentifierGSqSS__S_'
  5217.  
  5218. sil_vtable ClassListController {
  5219. #ClassListController.viewDidLoad!1: _TFC3gpa19ClassListController11viewDidLoadfT_T_ // ClassListController.viewDidLoad() -> ()
  5220. #ClassListController.viewWillAppear!1: _TFC3gpa19ClassListController14viewWillAppearfSbT_ // ClassListController.viewWillAppear(Bool) -> ()
  5221. #ClassListController.tableView!1: _TFC3gpa19ClassListController9tableViewfTCSo11UITableView21numberOfRowsInSectionSi_Si // ClassListController.tableView(UITableView, numberOfRowsInSection : Int) -> Int
  5222. #ClassListController.setEditOptionEnabled!1: _TFC3gpa19ClassListController20setEditOptionEnabledfT_T_ // ClassListController.setEditOptionEnabled() -> ()
  5223. #ClassListController.didReceiveMemoryWarning!1: _TFC3gpa19ClassListController23didReceiveMemoryWarningfT_T_ // ClassListController.didReceiveMemoryWarning() -> ()
  5224. #ClassListController.deinit!deallocator: _TFC3gpa19ClassListControllerD // ClassListController.__deallocating_deinit
  5225. #ClassListController.classTable!getter.1: _TFC3gpa19ClassListControllerg10classTableGSQCSo11UITableView_ // ClassListController.classTable.getter
  5226. #ClassListController.classTable!setter.1: _TFC3gpa19ClassListControllers10classTableGSQCSo11UITableView_ // ClassListController.classTable.setter
  5227. #ClassListController.classTable!materializeForSet.1: _TFC3gpa19ClassListControllerm10classTableGSQCSo11UITableView_ // ClassListController.classTable.materializeForSet
  5228. #ClassListController.editOption!getter.1: _TFC3gpa19ClassListControllerg10editOptionGSQCSo15UIBarButtonItem_ // ClassListController.editOption.getter
  5229. #ClassListController.editOption!setter.1: _TFC3gpa19ClassListControllers10editOptionGSQCSo15UIBarButtonItem_ // ClassListController.editOption.setter
  5230. #ClassListController.editOption!materializeForSet.1: _TFC3gpa19ClassListControllerm10editOptionGSQCSo15UIBarButtonItem_ // ClassListController.editOption.materializeForSet
  5231. #ClassListController.init!initializer.1: _TFC3gpa19ClassListControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ // ClassListController.init(nibName : String?, bundle : Bundle?) -> ClassListController
  5232. #ClassListController.init!allocator.1: _TFC3gpa19ClassListControllerCfT5coderCSo7NSCoder_GSqS0__ // ClassListController.__allocating_init(coder : NSCoder) -> ClassListController?
  5233. #ClassListController.init!initializer.1: _TFC3gpa19ClassListControllercfT5coderCSo7NSCoder_GSqS0__ // ClassListController.init(coder : NSCoder) -> ClassListController?
  5234. }
  5235.  
  5236. sil_witness_table shared NSObject: AnyObject module ObjectiveC
  5237.  
  5238. sil_witness_table shared [fragile] UITableViewCellEditingStyle: Equatable module UIKit {
  5239. method #Equatable."=="!1: @_TTWOSC27UITableViewCellEditingStyles9Equatable5UIKitZFS0_oi2eefTxx_Sb // protocol witness for static Equatable.== infix(A, A) -> Bool in conformance UITableViewCellEditingStyle
  5240. }
  5241.  
  5242. sil_witness_table shared [fragile] UITableViewCellEditingStyle: RawRepresentable module UIKit {
  5243. associated_type RawValue: Int
  5244. method #RawRepresentable.init!allocator.1: @_TTWOSC27UITableViewCellEditingStyles16RawRepresentable5UIKitFS0_CfT8rawValuewx8RawValue_GSqx_ // protocol witness for RawRepresentable.init(rawValue : A.RawValue) -> A? in conformance UITableViewCellEditingStyle
  5245. method #RawRepresentable.rawValue!getter.1: @_TTWOSC27UITableViewCellEditingStyles16RawRepresentable5UIKitFS0_g8rawValuewx8RawValue // protocol witness for RawRepresentable.rawValue.getter in conformance UITableViewCellEditingStyle
  5246. }
  5247.  
  5248.  
  5249.  
  5250. sil_stage raw
  5251.  
  5252. import Builtin
  5253. import Swift
  5254. import SwiftShims
  5255.  
  5256. sil_scope 1 { loc "ClassSelectorController.swift":27:20 parent @_TIvC3gpa23ClassSelectorController8selectedSii : $@convention(thin) () -> Int }
  5257.  
  5258. // ClassSelectorController.(selected).(variable initialization expression)
  5259. sil hidden [transparent] @_TIvC3gpa23ClassSelectorController8selectedSii : $@convention(thin) () -> Int {
  5260. bb0:
  5261. // function_ref Int.init(_builtinIntegerLiteral : Builtin.Int2048) -> Int
  5262. %0 = function_ref @_TFSiCfT22_builtinIntegerLiteralBi2048__Si : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":27:20, scope 1 // user: %3
  5263. %1 = metatype $@thin Int.Type, loc "ClassSelectorController.swift":27:20, scope 1 // user: %3
  5264. %2 = integer_literal $Builtin.Int2048, 0, loc "ClassSelectorController.swift":27:20, scope 1 // user: %3
  5265. %3 = apply %0(%2, %1) : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":27:20, scope 1 // user: %4
  5266. return %3 : $Int, scope 1 // id: %4
  5267. } // end sil function '_TIvC3gpa23ClassSelectorController8selectedSii'
  5268.  
  5269.  
  5270. // Int.init(_builtinIntegerLiteral : Builtin.Int2048) -> Int
  5271. sil [transparent] [fragile] @_TFSiCfT22_builtinIntegerLiteralBi2048__Si : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int
  5272.  
  5273. sil_scope 2 { parent @_TToFC3gpa23ClassSelectorControllerg8selectedSi : $@convention(objc_method) (ClassSelectorController) -> Int }
  5274.  
  5275. // @objc ClassSelectorController.selected.getter
  5276. sil hidden [thunk] @_TToFC3gpa23ClassSelectorControllerg8selectedSi : $@convention(objc_method) (ClassSelectorController) -> Int {
  5277. // %0 // user: %1
  5278. bb0(%0 : $ClassSelectorController):
  5279. %1 = copy_value %0 : $ClassSelectorController, scope 2 // users: %4, %3
  5280. // function_ref ClassSelectorController.selected.getter
  5281. %2 = function_ref @_TFC3gpa23ClassSelectorControllerg8selectedSi : $@convention(method) (@guaranteed ClassSelectorController) -> Int, scope 2 // user: %3
  5282. %3 = apply %2(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> Int, scope 2 // user: %5
  5283. destroy_value %1 : $ClassSelectorController, scope 2 // id: %4
  5284. return %3 : $Int, scope 2 // id: %5
  5285. } // end sil function '_TToFC3gpa23ClassSelectorControllerg8selectedSi'
  5286.  
  5287. sil_scope 3 { loc "ClassSelectorController.swift":27:9 parent @_TFC3gpa23ClassSelectorControllerg8selectedSi : $@convention(method) (@guaranteed ClassSelectorController) -> Int }
  5288. sil_scope 4 { loc "ClassSelectorController.swift":27:9 parent 3 }
  5289.  
  5290. // ClassSelectorController.selected.getter
  5291. sil hidden @_TFC3gpa23ClassSelectorControllerg8selectedSi : $@convention(method) (@guaranteed ClassSelectorController) -> Int {
  5292. // %0 // users: %2, %1
  5293. bb0(%0 : $ClassSelectorController):
  5294. debug_value %0 : $ClassSelectorController, let, name "self", argno 1, loc "ClassSelectorController.swift":27:9, scope 3 // id: %1
  5295. %2 = ref_element_addr %0 : $ClassSelectorController, #ClassSelectorController.selected, scope 4 // user: %3
  5296. %3 = load [trivial] %2 : $*Int, scope 4 // user: %4
  5297. return %3 : $Int, loc "ClassSelectorController.swift":27:9, scope 4 // id: %4
  5298. } // end sil function '_TFC3gpa23ClassSelectorControllerg8selectedSi'
  5299.  
  5300. sil_scope 5 { parent @_TToFC3gpa23ClassSelectorControllers8selectedSi : $@convention(objc_method) (Int, ClassSelectorController) -> () }
  5301.  
  5302. // @objc ClassSelectorController.selected.setter
  5303. sil hidden [thunk] @_TToFC3gpa23ClassSelectorControllers8selectedSi : $@convention(objc_method) (Int, ClassSelectorController) -> () {
  5304. // %0 // user: %4
  5305. // %1 // user: %2
  5306. bb0(%0 : $Int, %1 : $ClassSelectorController):
  5307. %2 = copy_value %1 : $ClassSelectorController, scope 5 // users: %5, %4
  5308. // function_ref ClassSelectorController.selected.setter
  5309. %3 = function_ref @_TFC3gpa23ClassSelectorControllers8selectedSi : $@convention(method) (Int, @guaranteed ClassSelectorController) -> (), scope 5 // user: %4
  5310. %4 = apply %3(%0, %2) : $@convention(method) (Int, @guaranteed ClassSelectorController) -> (), scope 5 // user: %6
  5311. destroy_value %2 : $ClassSelectorController, scope 5 // id: %5
  5312. return %4 : $(), scope 5 // id: %6
  5313. } // end sil function '_TToFC3gpa23ClassSelectorControllers8selectedSi'
  5314.  
  5315. sil_scope 6 { loc "ClassSelectorController.swift":27:9 parent @_TFC3gpa23ClassSelectorControllers8selectedSi : $@convention(method) (Int, @guaranteed ClassSelectorController) -> () }
  5316. sil_scope 7 { loc "ClassSelectorController.swift":27:9 parent 6 }
  5317.  
  5318. // ClassSelectorController.selected.setter
  5319. sil hidden @_TFC3gpa23ClassSelectorControllers8selectedSi : $@convention(method) (Int, @guaranteed ClassSelectorController) -> () {
  5320. // %0 // users: %5, %2
  5321. // %1 // users: %4, %3
  5322. bb0(%0 : $Int, %1 : $ClassSelectorController):
  5323. debug_value %0 : $Int, let, name "value", argno 1, loc "ClassSelectorController.swift":27:9, scope 6 // id: %2
  5324. debug_value %1 : $ClassSelectorController, let, name "self", argno 2, loc "ClassSelectorController.swift":27:9, scope 6 // id: %3
  5325. %4 = ref_element_addr %1 : $ClassSelectorController, #ClassSelectorController.selected, scope 7 // user: %5
  5326. assign %0 to %4 : $*Int, scope 7 // id: %5
  5327. %6 = tuple (), loc "ClassSelectorController.swift":27:9, scope 7 // user: %7
  5328. return %6 : $(), loc "ClassSelectorController.swift":27:9, scope 7 // id: %7
  5329. } // end sil function '_TFC3gpa23ClassSelectorControllers8selectedSi'
  5330.  
  5331. sil_scope 8 { parent @_TIvC3gpa23ClassSelectorController14classNameFieldGSQCSo11UITextField_i : $@convention(thin) () -> @owned Optional<UITextField> }
  5332.  
  5333. // ClassSelectorController.(classNameField).(variable initialization expression)
  5334. sil hidden [transparent] @_TIvC3gpa23ClassSelectorController14classNameFieldGSQCSo11UITextField_i : $@convention(thin) () -> @owned Optional<UITextField> {
  5335. bb0:
  5336. // function_ref ImplicitlyUnwrappedOptional.init(nilLiteral : ()) -> A!
  5337. %0 = function_ref @_TFSQCfT10nilLiteralT__GSQx_ : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 8 // user: %3
  5338. %1 = metatype $@thin ImplicitlyUnwrappedOptional<UITextField>.Type, scope 8 // user: %3
  5339. %2 = alloc_stack $Optional<UITextField>, scope 8 // users: %5, %4, %3
  5340. %3 = apply %0<UITextField>(%2, %1) : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 8
  5341. %4 = load [take] %2 : $*Optional<UITextField>, scope 8 // user: %6
  5342. dealloc_stack %2 : $*Optional<UITextField>, scope 8 // id: %5
  5343. return %4 : $Optional<UITextField>, scope 8 // id: %6
  5344. } // end sil function '_TIvC3gpa23ClassSelectorController14classNameFieldGSQCSo11UITextField_i'
  5345.  
  5346.  
  5347. // ImplicitlyUnwrappedOptional.init(nilLiteral : ()) -> A!
  5348. sil [transparent] [fragile] @_TFSQCfT10nilLiteralT__GSQx_ : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>
  5349.  
  5350. sil_scope 9 { parent @_TToFC3gpa23ClassSelectorControllerg14classNameFieldGSQCSo11UITextField_ : $@convention(objc_method) (ClassSelectorController) -> @autoreleased Optional<UITextField> }
  5351.  
  5352. // @objc ClassSelectorController.classNameField.getter
  5353. sil hidden [thunk] @_TToFC3gpa23ClassSelectorControllerg14classNameFieldGSQCSo11UITextField_ : $@convention(objc_method) (ClassSelectorController) -> @autoreleased Optional<UITextField> {
  5354. // %0 // user: %1
  5355. bb0(%0 : $ClassSelectorController):
  5356. %1 = copy_value %0 : $ClassSelectorController, scope 9 // users: %4, %3
  5357. // function_ref ClassSelectorController.classNameField.getter
  5358. %2 = function_ref @_TFC3gpa23ClassSelectorControllerg14classNameFieldGSQCSo11UITextField_ : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, scope 9 // user: %3
  5359. %3 = apply %2(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, scope 9 // user: %5
  5360. destroy_value %1 : $ClassSelectorController, scope 9 // id: %4
  5361. return %3 : $Optional<UITextField>, scope 9 // id: %5
  5362. } // end sil function '_TToFC3gpa23ClassSelectorControllerg14classNameFieldGSQCSo11UITextField_'
  5363.  
  5364. sil_scope 10 { loc "ClassSelectorController.swift":29:19 parent @_TFC3gpa23ClassSelectorControllerg14classNameFieldGSQCSo11UITextField_ : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField> }
  5365. sil_scope 11 { loc "ClassSelectorController.swift":29:19 parent 10 }
  5366.  
  5367. // ClassSelectorController.classNameField.getter
  5368. sil hidden @_TFC3gpa23ClassSelectorControllerg14classNameFieldGSQCSo11UITextField_ : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField> {
  5369. // %0 // users: %2, %1
  5370. bb0(%0 : $ClassSelectorController):
  5371. debug_value %0 : $ClassSelectorController, let, name "self", argno 1, loc "ClassSelectorController.swift":29:19, scope 10 // id: %1
  5372. %2 = ref_element_addr %0 : $ClassSelectorController, #ClassSelectorController.classNameField, scope 11 // user: %3
  5373. %3 = load [copy] %2 : $*Optional<UITextField>, scope 11 // user: %4
  5374. return %3 : $Optional<UITextField>, loc "ClassSelectorController.swift":29:19, scope 11 // id: %4
  5375. } // end sil function '_TFC3gpa23ClassSelectorControllerg14classNameFieldGSQCSo11UITextField_'
  5376.  
  5377. sil_scope 12 { parent @_TToFC3gpa23ClassSelectorControllers14classNameFieldGSQCSo11UITextField_ : $@convention(objc_method) (Optional<UITextField>, ClassSelectorController) -> () }
  5378.  
  5379. // @objc ClassSelectorController.classNameField.setter
  5380. sil hidden [thunk] @_TToFC3gpa23ClassSelectorControllers14classNameFieldGSQCSo11UITextField_ : $@convention(objc_method) (Optional<UITextField>, ClassSelectorController) -> () {
  5381. // %0 // user: %2
  5382. // %1 // user: %3
  5383. bb0(%0 : $Optional<UITextField>, %1 : $ClassSelectorController):
  5384. %2 = copy_value %0 : $Optional<UITextField>, scope 12 // user: %5
  5385. %3 = copy_value %1 : $ClassSelectorController, scope 12 // users: %6, %5
  5386. // function_ref ClassSelectorController.classNameField.setter
  5387. %4 = function_ref @_TFC3gpa23ClassSelectorControllers14classNameFieldGSQCSo11UITextField_ : $@convention(method) (@owned Optional<UITextField>, @guaranteed ClassSelectorController) -> (), scope 12 // user: %5
  5388. %5 = apply %4(%2, %3) : $@convention(method) (@owned Optional<UITextField>, @guaranteed ClassSelectorController) -> (), scope 12 // user: %7
  5389. destroy_value %3 : $ClassSelectorController, scope 12 // id: %6
  5390. return %5 : $(), scope 12 // id: %7
  5391. } // end sil function '_TToFC3gpa23ClassSelectorControllers14classNameFieldGSQCSo11UITextField_'
  5392.  
  5393. sil_scope 13 { loc "ClassSelectorController.swift":29:19 parent @_TFC3gpa23ClassSelectorControllers14classNameFieldGSQCSo11UITextField_ : $@convention(method) (@owned Optional<UITextField>, @guaranteed ClassSelectorController) -> () }
  5394. sil_scope 14 { loc "ClassSelectorController.swift":29:19 parent 13 }
  5395.  
  5396. // ClassSelectorController.classNameField.setter
  5397. sil hidden @_TFC3gpa23ClassSelectorControllers14classNameFieldGSQCSo11UITextField_ : $@convention(method) (@owned Optional<UITextField>, @guaranteed ClassSelectorController) -> () {
  5398. // %0 // users: %7, %4, %2
  5399. // %1 // users: %5, %3
  5400. bb0(%0 : $Optional<UITextField>, %1 : $ClassSelectorController):
  5401. debug_value %0 : $Optional<UITextField>, let, name "value", argno 1, loc "ClassSelectorController.swift":29:19, scope 13 // id: %2
  5402. debug_value %1 : $ClassSelectorController, let, name "self", argno 2, loc "ClassSelectorController.swift":29:19, scope 13 // id: %3
  5403. %4 = copy_value %0 : $Optional<UITextField>, scope 14 // user: %6
  5404. %5 = ref_element_addr %1 : $ClassSelectorController, #ClassSelectorController.classNameField, scope 14 // user: %6
  5405. assign %4 to %5 : $*Optional<UITextField>, scope 14 // id: %6
  5406. destroy_value %0 : $Optional<UITextField>, loc "ClassSelectorController.swift":29:19, scope 14 // id: %7
  5407. %8 = tuple (), loc "ClassSelectorController.swift":29:19, scope 14 // user: %9
  5408. return %8 : $(), loc "ClassSelectorController.swift":29:19, scope 14 // id: %9
  5409. } // end sil function '_TFC3gpa23ClassSelectorControllers14classNameFieldGSQCSo11UITextField_'
  5410.  
  5411. sil_scope 15 { parent @_TIvC3gpa23ClassSelectorController15multiplierFieldGSQCSo11UITextField_i : $@convention(thin) () -> @owned Optional<UITextField> }
  5412.  
  5413. // ClassSelectorController.(multiplierField).(variable initialization expression)
  5414. sil hidden [transparent] @_TIvC3gpa23ClassSelectorController15multiplierFieldGSQCSo11UITextField_i : $@convention(thin) () -> @owned Optional<UITextField> {
  5415. bb0:
  5416. // function_ref ImplicitlyUnwrappedOptional.init(nilLiteral : ()) -> A!
  5417. %0 = function_ref @_TFSQCfT10nilLiteralT__GSQx_ : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 15 // user: %3
  5418. %1 = metatype $@thin ImplicitlyUnwrappedOptional<UITextField>.Type, scope 15 // user: %3
  5419. %2 = alloc_stack $Optional<UITextField>, scope 15 // users: %5, %4, %3
  5420. %3 = apply %0<UITextField>(%2, %1) : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 15
  5421. %4 = load [take] %2 : $*Optional<UITextField>, scope 15 // user: %6
  5422. dealloc_stack %2 : $*Optional<UITextField>, scope 15 // id: %5
  5423. return %4 : $Optional<UITextField>, scope 15 // id: %6
  5424. } // end sil function '_TIvC3gpa23ClassSelectorController15multiplierFieldGSQCSo11UITextField_i'
  5425.  
  5426. sil_scope 16 { parent @_TToFC3gpa23ClassSelectorControllerg15multiplierFieldGSQCSo11UITextField_ : $@convention(objc_method) (ClassSelectorController) -> @autoreleased Optional<UITextField> }
  5427.  
  5428. // @objc ClassSelectorController.multiplierField.getter
  5429. sil hidden [thunk] @_TToFC3gpa23ClassSelectorControllerg15multiplierFieldGSQCSo11UITextField_ : $@convention(objc_method) (ClassSelectorController) -> @autoreleased Optional<UITextField> {
  5430. // %0 // user: %1
  5431. bb0(%0 : $ClassSelectorController):
  5432. %1 = copy_value %0 : $ClassSelectorController, scope 16 // users: %4, %3
  5433. // function_ref ClassSelectorController.multiplierField.getter
  5434. %2 = function_ref @_TFC3gpa23ClassSelectorControllerg15multiplierFieldGSQCSo11UITextField_ : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, scope 16 // user: %3
  5435. %3 = apply %2(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, scope 16 // user: %5
  5436. destroy_value %1 : $ClassSelectorController, scope 16 // id: %4
  5437. return %3 : $Optional<UITextField>, scope 16 // id: %5
  5438. } // end sil function '_TToFC3gpa23ClassSelectorControllerg15multiplierFieldGSQCSo11UITextField_'
  5439.  
  5440. sil_scope 17 { loc "ClassSelectorController.swift":30:19 parent @_TFC3gpa23ClassSelectorControllerg15multiplierFieldGSQCSo11UITextField_ : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField> }
  5441. sil_scope 18 { loc "ClassSelectorController.swift":30:19 parent 17 }
  5442.  
  5443. // ClassSelectorController.multiplierField.getter
  5444. sil hidden @_TFC3gpa23ClassSelectorControllerg15multiplierFieldGSQCSo11UITextField_ : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField> {
  5445. // %0 // users: %2, %1
  5446. bb0(%0 : $ClassSelectorController):
  5447. debug_value %0 : $ClassSelectorController, let, name "self", argno 1, loc "ClassSelectorController.swift":30:19, scope 17 // id: %1
  5448. %2 = ref_element_addr %0 : $ClassSelectorController, #ClassSelectorController.multiplierField, scope 18 // user: %3
  5449. %3 = load [copy] %2 : $*Optional<UITextField>, scope 18 // user: %4
  5450. return %3 : $Optional<UITextField>, loc "ClassSelectorController.swift":30:19, scope 18 // id: %4
  5451. } // end sil function '_TFC3gpa23ClassSelectorControllerg15multiplierFieldGSQCSo11UITextField_'
  5452.  
  5453. sil_scope 19 { parent @_TToFC3gpa23ClassSelectorControllers15multiplierFieldGSQCSo11UITextField_ : $@convention(objc_method) (Optional<UITextField>, ClassSelectorController) -> () }
  5454.  
  5455. // @objc ClassSelectorController.multiplierField.setter
  5456. sil hidden [thunk] @_TToFC3gpa23ClassSelectorControllers15multiplierFieldGSQCSo11UITextField_ : $@convention(objc_method) (Optional<UITextField>, ClassSelectorController) -> () {
  5457. // %0 // user: %2
  5458. // %1 // user: %3
  5459. bb0(%0 : $Optional<UITextField>, %1 : $ClassSelectorController):
  5460. %2 = copy_value %0 : $Optional<UITextField>, scope 19 // user: %5
  5461. %3 = copy_value %1 : $ClassSelectorController, scope 19 // users: %6, %5
  5462. // function_ref ClassSelectorController.multiplierField.setter
  5463. %4 = function_ref @_TFC3gpa23ClassSelectorControllers15multiplierFieldGSQCSo11UITextField_ : $@convention(method) (@owned Optional<UITextField>, @guaranteed ClassSelectorController) -> (), scope 19 // user: %5
  5464. %5 = apply %4(%2, %3) : $@convention(method) (@owned Optional<UITextField>, @guaranteed ClassSelectorController) -> (), scope 19 // user: %7
  5465. destroy_value %3 : $ClassSelectorController, scope 19 // id: %6
  5466. return %5 : $(), scope 19 // id: %7
  5467. } // end sil function '_TToFC3gpa23ClassSelectorControllers15multiplierFieldGSQCSo11UITextField_'
  5468.  
  5469. sil_scope 20 { loc "ClassSelectorController.swift":30:19 parent @_TFC3gpa23ClassSelectorControllers15multiplierFieldGSQCSo11UITextField_ : $@convention(method) (@owned Optional<UITextField>, @guaranteed ClassSelectorController) -> () }
  5470. sil_scope 21 { loc "ClassSelectorController.swift":30:19 parent 20 }
  5471.  
  5472. // ClassSelectorController.multiplierField.setter
  5473. sil hidden @_TFC3gpa23ClassSelectorControllers15multiplierFieldGSQCSo11UITextField_ : $@convention(method) (@owned Optional<UITextField>, @guaranteed ClassSelectorController) -> () {
  5474. // %0 // users: %7, %4, %2
  5475. // %1 // users: %5, %3
  5476. bb0(%0 : $Optional<UITextField>, %1 : $ClassSelectorController):
  5477. debug_value %0 : $Optional<UITextField>, let, name "value", argno 1, loc "ClassSelectorController.swift":30:19, scope 20 // id: %2
  5478. debug_value %1 : $ClassSelectorController, let, name "self", argno 2, loc "ClassSelectorController.swift":30:19, scope 20 // id: %3
  5479. %4 = copy_value %0 : $Optional<UITextField>, scope 21 // user: %6
  5480. %5 = ref_element_addr %1 : $ClassSelectorController, #ClassSelectorController.multiplierField, scope 21 // user: %6
  5481. assign %4 to %5 : $*Optional<UITextField>, scope 21 // id: %6
  5482. destroy_value %0 : $Optional<UITextField>, loc "ClassSelectorController.swift":30:19, scope 21 // id: %7
  5483. %8 = tuple (), loc "ClassSelectorController.swift":30:19, scope 21 // user: %9
  5484. return %8 : $(), loc "ClassSelectorController.swift":30:19, scope 21 // id: %9
  5485. } // end sil function '_TFC3gpa23ClassSelectorControllers15multiplierFieldGSQCSo11UITextField_'
  5486.  
  5487. sil_scope 22 { parent @_TIvC3gpa23ClassSelectorController17currentGradeFieldGSQCSo11UITextField_i : $@convention(thin) () -> @owned Optional<UITextField> }
  5488.  
  5489. // ClassSelectorController.(currentGradeField).(variable initialization expression)
  5490. sil hidden [transparent] @_TIvC3gpa23ClassSelectorController17currentGradeFieldGSQCSo11UITextField_i : $@convention(thin) () -> @owned Optional<UITextField> {
  5491. bb0:
  5492. // function_ref ImplicitlyUnwrappedOptional.init(nilLiteral : ()) -> A!
  5493. %0 = function_ref @_TFSQCfT10nilLiteralT__GSQx_ : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 22 // user: %3
  5494. %1 = metatype $@thin ImplicitlyUnwrappedOptional<UITextField>.Type, scope 22 // user: %3
  5495. %2 = alloc_stack $Optional<UITextField>, scope 22 // users: %5, %4, %3
  5496. %3 = apply %0<UITextField>(%2, %1) : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 22
  5497. %4 = load [take] %2 : $*Optional<UITextField>, scope 22 // user: %6
  5498. dealloc_stack %2 : $*Optional<UITextField>, scope 22 // id: %5
  5499. return %4 : $Optional<UITextField>, scope 22 // id: %6
  5500. } // end sil function '_TIvC3gpa23ClassSelectorController17currentGradeFieldGSQCSo11UITextField_i'
  5501.  
  5502. sil_scope 23 { parent @_TToFC3gpa23ClassSelectorControllerg17currentGradeFieldGSQCSo11UITextField_ : $@convention(objc_method) (ClassSelectorController) -> @autoreleased Optional<UITextField> }
  5503.  
  5504. // @objc ClassSelectorController.currentGradeField.getter
  5505. sil hidden [thunk] @_TToFC3gpa23ClassSelectorControllerg17currentGradeFieldGSQCSo11UITextField_ : $@convention(objc_method) (ClassSelectorController) -> @autoreleased Optional<UITextField> {
  5506. // %0 // user: %1
  5507. bb0(%0 : $ClassSelectorController):
  5508. %1 = copy_value %0 : $ClassSelectorController, scope 23 // users: %4, %3
  5509. // function_ref ClassSelectorController.currentGradeField.getter
  5510. %2 = function_ref @_TFC3gpa23ClassSelectorControllerg17currentGradeFieldGSQCSo11UITextField_ : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, scope 23 // user: %3
  5511. %3 = apply %2(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, scope 23 // user: %5
  5512. destroy_value %1 : $ClassSelectorController, scope 23 // id: %4
  5513. return %3 : $Optional<UITextField>, scope 23 // id: %5
  5514. } // end sil function '_TToFC3gpa23ClassSelectorControllerg17currentGradeFieldGSQCSo11UITextField_'
  5515.  
  5516. sil_scope 24 { loc "ClassSelectorController.swift":31:19 parent @_TFC3gpa23ClassSelectorControllerg17currentGradeFieldGSQCSo11UITextField_ : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField> }
  5517. sil_scope 25 { loc "ClassSelectorController.swift":31:19 parent 24 }
  5518.  
  5519. // ClassSelectorController.currentGradeField.getter
  5520. sil hidden @_TFC3gpa23ClassSelectorControllerg17currentGradeFieldGSQCSo11UITextField_ : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField> {
  5521. // %0 // users: %2, %1
  5522. bb0(%0 : $ClassSelectorController):
  5523. debug_value %0 : $ClassSelectorController, let, name "self", argno 1, loc "ClassSelectorController.swift":31:19, scope 24 // id: %1
  5524. %2 = ref_element_addr %0 : $ClassSelectorController, #ClassSelectorController.currentGradeField, scope 25 // user: %3
  5525. %3 = load [copy] %2 : $*Optional<UITextField>, scope 25 // user: %4
  5526. return %3 : $Optional<UITextField>, loc "ClassSelectorController.swift":31:19, scope 25 // id: %4
  5527. } // end sil function '_TFC3gpa23ClassSelectorControllerg17currentGradeFieldGSQCSo11UITextField_'
  5528.  
  5529. sil_scope 26 { parent @_TToFC3gpa23ClassSelectorControllers17currentGradeFieldGSQCSo11UITextField_ : $@convention(objc_method) (Optional<UITextField>, ClassSelectorController) -> () }
  5530.  
  5531. // @objc ClassSelectorController.currentGradeField.setter
  5532. sil hidden [thunk] @_TToFC3gpa23ClassSelectorControllers17currentGradeFieldGSQCSo11UITextField_ : $@convention(objc_method) (Optional<UITextField>, ClassSelectorController) -> () {
  5533. // %0 // user: %2
  5534. // %1 // user: %3
  5535. bb0(%0 : $Optional<UITextField>, %1 : $ClassSelectorController):
  5536. %2 = copy_value %0 : $Optional<UITextField>, scope 26 // user: %5
  5537. %3 = copy_value %1 : $ClassSelectorController, scope 26 // users: %6, %5
  5538. // function_ref ClassSelectorController.currentGradeField.setter
  5539. %4 = function_ref @_TFC3gpa23ClassSelectorControllers17currentGradeFieldGSQCSo11UITextField_ : $@convention(method) (@owned Optional<UITextField>, @guaranteed ClassSelectorController) -> (), scope 26 // user: %5
  5540. %5 = apply %4(%2, %3) : $@convention(method) (@owned Optional<UITextField>, @guaranteed ClassSelectorController) -> (), scope 26 // user: %7
  5541. destroy_value %3 : $ClassSelectorController, scope 26 // id: %6
  5542. return %5 : $(), scope 26 // id: %7
  5543. } // end sil function '_TToFC3gpa23ClassSelectorControllers17currentGradeFieldGSQCSo11UITextField_'
  5544.  
  5545. sil_scope 27 { loc "ClassSelectorController.swift":31:19 parent @_TFC3gpa23ClassSelectorControllers17currentGradeFieldGSQCSo11UITextField_ : $@convention(method) (@owned Optional<UITextField>, @guaranteed ClassSelectorController) -> () }
  5546. sil_scope 28 { loc "ClassSelectorController.swift":31:19 parent 27 }
  5547.  
  5548. // ClassSelectorController.currentGradeField.setter
  5549. sil hidden @_TFC3gpa23ClassSelectorControllers17currentGradeFieldGSQCSo11UITextField_ : $@convention(method) (@owned Optional<UITextField>, @guaranteed ClassSelectorController) -> () {
  5550. // %0 // users: %7, %4, %2
  5551. // %1 // users: %5, %3
  5552. bb0(%0 : $Optional<UITextField>, %1 : $ClassSelectorController):
  5553. debug_value %0 : $Optional<UITextField>, let, name "value", argno 1, loc "ClassSelectorController.swift":31:19, scope 27 // id: %2
  5554. debug_value %1 : $ClassSelectorController, let, name "self", argno 2, loc "ClassSelectorController.swift":31:19, scope 27 // id: %3
  5555. %4 = copy_value %0 : $Optional<UITextField>, scope 28 // user: %6
  5556. %5 = ref_element_addr %1 : $ClassSelectorController, #ClassSelectorController.currentGradeField, scope 28 // user: %6
  5557. assign %4 to %5 : $*Optional<UITextField>, scope 28 // id: %6
  5558. destroy_value %0 : $Optional<UITextField>, loc "ClassSelectorController.swift":31:19, scope 28 // id: %7
  5559. %8 = tuple (), loc "ClassSelectorController.swift":31:19, scope 28 // user: %9
  5560. return %8 : $(), loc "ClassSelectorController.swift":31:19, scope 28 // id: %9
  5561. } // end sil function '_TFC3gpa23ClassSelectorControllers17currentGradeFieldGSQCSo11UITextField_'
  5562.  
  5563. sil_scope 29 { parent @_TIvC3gpa23ClassSelectorController12creditsFieldGSQCSo11UITextField_i : $@convention(thin) () -> @owned Optional<UITextField> }
  5564.  
  5565. // ClassSelectorController.(creditsField).(variable initialization expression)
  5566. sil hidden [transparent] @_TIvC3gpa23ClassSelectorController12creditsFieldGSQCSo11UITextField_i : $@convention(thin) () -> @owned Optional<UITextField> {
  5567. bb0:
  5568. // function_ref ImplicitlyUnwrappedOptional.init(nilLiteral : ()) -> A!
  5569. %0 = function_ref @_TFSQCfT10nilLiteralT__GSQx_ : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 29 // user: %3
  5570. %1 = metatype $@thin ImplicitlyUnwrappedOptional<UITextField>.Type, scope 29 // user: %3
  5571. %2 = alloc_stack $Optional<UITextField>, scope 29 // users: %5, %4, %3
  5572. %3 = apply %0<UITextField>(%2, %1) : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 29
  5573. %4 = load [take] %2 : $*Optional<UITextField>, scope 29 // user: %6
  5574. dealloc_stack %2 : $*Optional<UITextField>, scope 29 // id: %5
  5575. return %4 : $Optional<UITextField>, scope 29 // id: %6
  5576. } // end sil function '_TIvC3gpa23ClassSelectorController12creditsFieldGSQCSo11UITextField_i'
  5577.  
  5578. sil_scope 30 { parent @_TToFC3gpa23ClassSelectorControllerg12creditsFieldGSQCSo11UITextField_ : $@convention(objc_method) (ClassSelectorController) -> @autoreleased Optional<UITextField> }
  5579.  
  5580. // @objc ClassSelectorController.creditsField.getter
  5581. sil hidden [thunk] @_TToFC3gpa23ClassSelectorControllerg12creditsFieldGSQCSo11UITextField_ : $@convention(objc_method) (ClassSelectorController) -> @autoreleased Optional<UITextField> {
  5582. // %0 // user: %1
  5583. bb0(%0 : $ClassSelectorController):
  5584. %1 = copy_value %0 : $ClassSelectorController, scope 30 // users: %4, %3
  5585. // function_ref ClassSelectorController.creditsField.getter
  5586. %2 = function_ref @_TFC3gpa23ClassSelectorControllerg12creditsFieldGSQCSo11UITextField_ : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, scope 30 // user: %3
  5587. %3 = apply %2(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, scope 30 // user: %5
  5588. destroy_value %1 : $ClassSelectorController, scope 30 // id: %4
  5589. return %3 : $Optional<UITextField>, scope 30 // id: %5
  5590. } // end sil function '_TToFC3gpa23ClassSelectorControllerg12creditsFieldGSQCSo11UITextField_'
  5591.  
  5592. sil_scope 31 { loc "ClassSelectorController.swift":32:19 parent @_TFC3gpa23ClassSelectorControllerg12creditsFieldGSQCSo11UITextField_ : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField> }
  5593. sil_scope 32 { loc "ClassSelectorController.swift":32:19 parent 31 }
  5594.  
  5595. // ClassSelectorController.creditsField.getter
  5596. sil hidden @_TFC3gpa23ClassSelectorControllerg12creditsFieldGSQCSo11UITextField_ : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField> {
  5597. // %0 // users: %2, %1
  5598. bb0(%0 : $ClassSelectorController):
  5599. debug_value %0 : $ClassSelectorController, let, name "self", argno 1, loc "ClassSelectorController.swift":32:19, scope 31 // id: %1
  5600. %2 = ref_element_addr %0 : $ClassSelectorController, #ClassSelectorController.creditsField, scope 32 // user: %3
  5601. %3 = load [copy] %2 : $*Optional<UITextField>, scope 32 // user: %4
  5602. return %3 : $Optional<UITextField>, loc "ClassSelectorController.swift":32:19, scope 32 // id: %4
  5603. } // end sil function '_TFC3gpa23ClassSelectorControllerg12creditsFieldGSQCSo11UITextField_'
  5604.  
  5605. sil_scope 33 { parent @_TToFC3gpa23ClassSelectorControllers12creditsFieldGSQCSo11UITextField_ : $@convention(objc_method) (Optional<UITextField>, ClassSelectorController) -> () }
  5606.  
  5607. // @objc ClassSelectorController.creditsField.setter
  5608. sil hidden [thunk] @_TToFC3gpa23ClassSelectorControllers12creditsFieldGSQCSo11UITextField_ : $@convention(objc_method) (Optional<UITextField>, ClassSelectorController) -> () {
  5609. // %0 // user: %2
  5610. // %1 // user: %3
  5611. bb0(%0 : $Optional<UITextField>, %1 : $ClassSelectorController):
  5612. %2 = copy_value %0 : $Optional<UITextField>, scope 33 // user: %5
  5613. %3 = copy_value %1 : $ClassSelectorController, scope 33 // users: %6, %5
  5614. // function_ref ClassSelectorController.creditsField.setter
  5615. %4 = function_ref @_TFC3gpa23ClassSelectorControllers12creditsFieldGSQCSo11UITextField_ : $@convention(method) (@owned Optional<UITextField>, @guaranteed ClassSelectorController) -> (), scope 33 // user: %5
  5616. %5 = apply %4(%2, %3) : $@convention(method) (@owned Optional<UITextField>, @guaranteed ClassSelectorController) -> (), scope 33 // user: %7
  5617. destroy_value %3 : $ClassSelectorController, scope 33 // id: %6
  5618. return %5 : $(), scope 33 // id: %7
  5619. } // end sil function '_TToFC3gpa23ClassSelectorControllers12creditsFieldGSQCSo11UITextField_'
  5620.  
  5621. sil_scope 34 { loc "ClassSelectorController.swift":32:19 parent @_TFC3gpa23ClassSelectorControllers12creditsFieldGSQCSo11UITextField_ : $@convention(method) (@owned Optional<UITextField>, @guaranteed ClassSelectorController) -> () }
  5622. sil_scope 35 { loc "ClassSelectorController.swift":32:19 parent 34 }
  5623.  
  5624. // ClassSelectorController.creditsField.setter
  5625. sil hidden @_TFC3gpa23ClassSelectorControllers12creditsFieldGSQCSo11UITextField_ : $@convention(method) (@owned Optional<UITextField>, @guaranteed ClassSelectorController) -> () {
  5626. // %0 // users: %7, %4, %2
  5627. // %1 // users: %5, %3
  5628. bb0(%0 : $Optional<UITextField>, %1 : $ClassSelectorController):
  5629. debug_value %0 : $Optional<UITextField>, let, name "value", argno 1, loc "ClassSelectorController.swift":32:19, scope 34 // id: %2
  5630. debug_value %1 : $ClassSelectorController, let, name "self", argno 2, loc "ClassSelectorController.swift":32:19, scope 34 // id: %3
  5631. %4 = copy_value %0 : $Optional<UITextField>, scope 35 // user: %6
  5632. %5 = ref_element_addr %1 : $ClassSelectorController, #ClassSelectorController.creditsField, scope 35 // user: %6
  5633. assign %4 to %5 : $*Optional<UITextField>, scope 35 // id: %6
  5634. destroy_value %0 : $Optional<UITextField>, loc "ClassSelectorController.swift":32:19, scope 35 // id: %7
  5635. %8 = tuple (), loc "ClassSelectorController.swift":32:19, scope 35 // user: %9
  5636. return %8 : $(), loc "ClassSelectorController.swift":32:19, scope 35 // id: %9
  5637. } // end sil function '_TFC3gpa23ClassSelectorControllers12creditsFieldGSQCSo11UITextField_'
  5638.  
  5639. sil_scope 36 { parent @_TIvC3gpa23ClassSelectorController13multiplierBarGSQCSo18UISegmentedControl_i : $@convention(thin) () -> @owned Optional<UISegmentedControl> }
  5640.  
  5641. // ClassSelectorController.(multiplierBar).(variable initialization expression)
  5642. sil hidden [transparent] @_TIvC3gpa23ClassSelectorController13multiplierBarGSQCSo18UISegmentedControl_i : $@convention(thin) () -> @owned Optional<UISegmentedControl> {
  5643. bb0:
  5644. // function_ref ImplicitlyUnwrappedOptional.init(nilLiteral : ()) -> A!
  5645. %0 = function_ref @_TFSQCfT10nilLiteralT__GSQx_ : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 36 // user: %3
  5646. %1 = metatype $@thin ImplicitlyUnwrappedOptional<UISegmentedControl>.Type, scope 36 // user: %3
  5647. %2 = alloc_stack $Optional<UISegmentedControl>, scope 36 // users: %5, %4, %3
  5648. %3 = apply %0<UISegmentedControl>(%2, %1) : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 36
  5649. %4 = load [take] %2 : $*Optional<UISegmentedControl>, scope 36 // user: %6
  5650. dealloc_stack %2 : $*Optional<UISegmentedControl>, scope 36 // id: %5
  5651. return %4 : $Optional<UISegmentedControl>, scope 36 // id: %6
  5652. } // end sil function '_TIvC3gpa23ClassSelectorController13multiplierBarGSQCSo18UISegmentedControl_i'
  5653.  
  5654. sil_scope 37 { parent @_TToFC3gpa23ClassSelectorControllerg13multiplierBarGSQCSo18UISegmentedControl_ : $@convention(objc_method) (ClassSelectorController) -> @autoreleased Optional<UISegmentedControl> }
  5655.  
  5656. // @objc ClassSelectorController.multiplierBar.getter
  5657. sil hidden [thunk] @_TToFC3gpa23ClassSelectorControllerg13multiplierBarGSQCSo18UISegmentedControl_ : $@convention(objc_method) (ClassSelectorController) -> @autoreleased Optional<UISegmentedControl> {
  5658. // %0 // user: %1
  5659. bb0(%0 : $ClassSelectorController):
  5660. %1 = copy_value %0 : $ClassSelectorController, scope 37 // users: %4, %3
  5661. // function_ref ClassSelectorController.multiplierBar.getter
  5662. %2 = function_ref @_TFC3gpa23ClassSelectorControllerg13multiplierBarGSQCSo18UISegmentedControl_ : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UISegmentedControl>, scope 37 // user: %3
  5663. %3 = apply %2(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UISegmentedControl>, scope 37 // user: %5
  5664. destroy_value %1 : $ClassSelectorController, scope 37 // id: %4
  5665. return %3 : $Optional<UISegmentedControl>, scope 37 // id: %5
  5666. } // end sil function '_TToFC3gpa23ClassSelectorControllerg13multiplierBarGSQCSo18UISegmentedControl_'
  5667.  
  5668. sil_scope 38 { loc "ClassSelectorController.swift":34:19 parent @_TFC3gpa23ClassSelectorControllerg13multiplierBarGSQCSo18UISegmentedControl_ : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UISegmentedControl> }
  5669. sil_scope 39 { loc "ClassSelectorController.swift":34:19 parent 38 }
  5670.  
  5671. // ClassSelectorController.multiplierBar.getter
  5672. sil hidden @_TFC3gpa23ClassSelectorControllerg13multiplierBarGSQCSo18UISegmentedControl_ : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UISegmentedControl> {
  5673. // %0 // users: %2, %1
  5674. bb0(%0 : $ClassSelectorController):
  5675. debug_value %0 : $ClassSelectorController, let, name "self", argno 1, loc "ClassSelectorController.swift":34:19, scope 38 // id: %1
  5676. %2 = ref_element_addr %0 : $ClassSelectorController, #ClassSelectorController.multiplierBar, scope 39 // user: %3
  5677. %3 = load [copy] %2 : $*Optional<UISegmentedControl>, scope 39 // user: %4
  5678. return %3 : $Optional<UISegmentedControl>, loc "ClassSelectorController.swift":34:19, scope 39 // id: %4
  5679. } // end sil function '_TFC3gpa23ClassSelectorControllerg13multiplierBarGSQCSo18UISegmentedControl_'
  5680.  
  5681. sil_scope 40 { parent @_TToFC3gpa23ClassSelectorControllers13multiplierBarGSQCSo18UISegmentedControl_ : $@convention(objc_method) (Optional<UISegmentedControl>, ClassSelectorController) -> () }
  5682.  
  5683. // @objc ClassSelectorController.multiplierBar.setter
  5684. sil hidden [thunk] @_TToFC3gpa23ClassSelectorControllers13multiplierBarGSQCSo18UISegmentedControl_ : $@convention(objc_method) (Optional<UISegmentedControl>, ClassSelectorController) -> () {
  5685. // %0 // user: %2
  5686. // %1 // user: %3
  5687. bb0(%0 : $Optional<UISegmentedControl>, %1 : $ClassSelectorController):
  5688. %2 = copy_value %0 : $Optional<UISegmentedControl>, scope 40 // user: %5
  5689. %3 = copy_value %1 : $ClassSelectorController, scope 40 // users: %6, %5
  5690. // function_ref ClassSelectorController.multiplierBar.setter
  5691. %4 = function_ref @_TFC3gpa23ClassSelectorControllers13multiplierBarGSQCSo18UISegmentedControl_ : $@convention(method) (@owned Optional<UISegmentedControl>, @guaranteed ClassSelectorController) -> (), scope 40 // user: %5
  5692. %5 = apply %4(%2, %3) : $@convention(method) (@owned Optional<UISegmentedControl>, @guaranteed ClassSelectorController) -> (), scope 40 // user: %7
  5693. destroy_value %3 : $ClassSelectorController, scope 40 // id: %6
  5694. return %5 : $(), scope 40 // id: %7
  5695. } // end sil function '_TToFC3gpa23ClassSelectorControllers13multiplierBarGSQCSo18UISegmentedControl_'
  5696.  
  5697. sil_scope 41 { loc "ClassSelectorController.swift":34:19 parent @_TFC3gpa23ClassSelectorControllers13multiplierBarGSQCSo18UISegmentedControl_ : $@convention(method) (@owned Optional<UISegmentedControl>, @guaranteed ClassSelectorController) -> () }
  5698. sil_scope 42 { loc "ClassSelectorController.swift":34:19 parent 41 }
  5699.  
  5700. // ClassSelectorController.multiplierBar.setter
  5701. sil hidden @_TFC3gpa23ClassSelectorControllers13multiplierBarGSQCSo18UISegmentedControl_ : $@convention(method) (@owned Optional<UISegmentedControl>, @guaranteed ClassSelectorController) -> () {
  5702. // %0 // users: %7, %4, %2
  5703. // %1 // users: %5, %3
  5704. bb0(%0 : $Optional<UISegmentedControl>, %1 : $ClassSelectorController):
  5705. debug_value %0 : $Optional<UISegmentedControl>, let, name "value", argno 1, loc "ClassSelectorController.swift":34:19, scope 41 // id: %2
  5706. debug_value %1 : $ClassSelectorController, let, name "self", argno 2, loc "ClassSelectorController.swift":34:19, scope 41 // id: %3
  5707. %4 = copy_value %0 : $Optional<UISegmentedControl>, scope 42 // user: %6
  5708. %5 = ref_element_addr %1 : $ClassSelectorController, #ClassSelectorController.multiplierBar, scope 42 // user: %6
  5709. assign %4 to %5 : $*Optional<UISegmentedControl>, scope 42 // id: %6
  5710. destroy_value %0 : $Optional<UISegmentedControl>, loc "ClassSelectorController.swift":34:19, scope 42 // id: %7
  5711. %8 = tuple (), loc "ClassSelectorController.swift":34:19, scope 42 // user: %9
  5712. return %8 : $(), loc "ClassSelectorController.swift":34:19, scope 42 // id: %9
  5713. } // end sil function '_TFC3gpa23ClassSelectorControllers13multiplierBarGSQCSo18UISegmentedControl_'
  5714.  
  5715. sil_scope 43 { parent @_TIvC3gpa23ClassSelectorController10creditsBarGSQCSo18UISegmentedControl_i : $@convention(thin) () -> @owned Optional<UISegmentedControl> }
  5716.  
  5717. // ClassSelectorController.(creditsBar).(variable initialization expression)
  5718. sil hidden [transparent] @_TIvC3gpa23ClassSelectorController10creditsBarGSQCSo18UISegmentedControl_i : $@convention(thin) () -> @owned Optional<UISegmentedControl> {
  5719. bb0:
  5720. // function_ref ImplicitlyUnwrappedOptional.init(nilLiteral : ()) -> A!
  5721. %0 = function_ref @_TFSQCfT10nilLiteralT__GSQx_ : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 43 // user: %3
  5722. %1 = metatype $@thin ImplicitlyUnwrappedOptional<UISegmentedControl>.Type, scope 43 // user: %3
  5723. %2 = alloc_stack $Optional<UISegmentedControl>, scope 43 // users: %5, %4, %3
  5724. %3 = apply %0<UISegmentedControl>(%2, %1) : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 43
  5725. %4 = load [take] %2 : $*Optional<UISegmentedControl>, scope 43 // user: %6
  5726. dealloc_stack %2 : $*Optional<UISegmentedControl>, scope 43 // id: %5
  5727. return %4 : $Optional<UISegmentedControl>, scope 43 // id: %6
  5728. } // end sil function '_TIvC3gpa23ClassSelectorController10creditsBarGSQCSo18UISegmentedControl_i'
  5729.  
  5730. sil_scope 44 { parent @_TToFC3gpa23ClassSelectorControllerg10creditsBarGSQCSo18UISegmentedControl_ : $@convention(objc_method) (ClassSelectorController) -> @autoreleased Optional<UISegmentedControl> }
  5731.  
  5732. // @objc ClassSelectorController.creditsBar.getter
  5733. sil hidden [thunk] @_TToFC3gpa23ClassSelectorControllerg10creditsBarGSQCSo18UISegmentedControl_ : $@convention(objc_method) (ClassSelectorController) -> @autoreleased Optional<UISegmentedControl> {
  5734. // %0 // user: %1
  5735. bb0(%0 : $ClassSelectorController):
  5736. %1 = copy_value %0 : $ClassSelectorController, scope 44 // users: %4, %3
  5737. // function_ref ClassSelectorController.creditsBar.getter
  5738. %2 = function_ref @_TFC3gpa23ClassSelectorControllerg10creditsBarGSQCSo18UISegmentedControl_ : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UISegmentedControl>, scope 44 // user: %3
  5739. %3 = apply %2(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UISegmentedControl>, scope 44 // user: %5
  5740. destroy_value %1 : $ClassSelectorController, scope 44 // id: %4
  5741. return %3 : $Optional<UISegmentedControl>, scope 44 // id: %5
  5742. } // end sil function '_TToFC3gpa23ClassSelectorControllerg10creditsBarGSQCSo18UISegmentedControl_'
  5743.  
  5744. sil_scope 45 { loc "ClassSelectorController.swift":35:19 parent @_TFC3gpa23ClassSelectorControllerg10creditsBarGSQCSo18UISegmentedControl_ : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UISegmentedControl> }
  5745. sil_scope 46 { loc "ClassSelectorController.swift":35:19 parent 45 }
  5746.  
  5747. // ClassSelectorController.creditsBar.getter
  5748. sil hidden @_TFC3gpa23ClassSelectorControllerg10creditsBarGSQCSo18UISegmentedControl_ : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UISegmentedControl> {
  5749. // %0 // users: %2, %1
  5750. bb0(%0 : $ClassSelectorController):
  5751. debug_value %0 : $ClassSelectorController, let, name "self", argno 1, loc "ClassSelectorController.swift":35:19, scope 45 // id: %1
  5752. %2 = ref_element_addr %0 : $ClassSelectorController, #ClassSelectorController.creditsBar, scope 46 // user: %3
  5753. %3 = load [copy] %2 : $*Optional<UISegmentedControl>, scope 46 // user: %4
  5754. return %3 : $Optional<UISegmentedControl>, loc "ClassSelectorController.swift":35:19, scope 46 // id: %4
  5755. } // end sil function '_TFC3gpa23ClassSelectorControllerg10creditsBarGSQCSo18UISegmentedControl_'
  5756.  
  5757. sil_scope 47 { parent @_TToFC3gpa23ClassSelectorControllers10creditsBarGSQCSo18UISegmentedControl_ : $@convention(objc_method) (Optional<UISegmentedControl>, ClassSelectorController) -> () }
  5758.  
  5759. // @objc ClassSelectorController.creditsBar.setter
  5760. sil hidden [thunk] @_TToFC3gpa23ClassSelectorControllers10creditsBarGSQCSo18UISegmentedControl_ : $@convention(objc_method) (Optional<UISegmentedControl>, ClassSelectorController) -> () {
  5761. // %0 // user: %2
  5762. // %1 // user: %3
  5763. bb0(%0 : $Optional<UISegmentedControl>, %1 : $ClassSelectorController):
  5764. %2 = copy_value %0 : $Optional<UISegmentedControl>, scope 47 // user: %5
  5765. %3 = copy_value %1 : $ClassSelectorController, scope 47 // users: %6, %5
  5766. // function_ref ClassSelectorController.creditsBar.setter
  5767. %4 = function_ref @_TFC3gpa23ClassSelectorControllers10creditsBarGSQCSo18UISegmentedControl_ : $@convention(method) (@owned Optional<UISegmentedControl>, @guaranteed ClassSelectorController) -> (), scope 47 // user: %5
  5768. %5 = apply %4(%2, %3) : $@convention(method) (@owned Optional<UISegmentedControl>, @guaranteed ClassSelectorController) -> (), scope 47 // user: %7
  5769. destroy_value %3 : $ClassSelectorController, scope 47 // id: %6
  5770. return %5 : $(), scope 47 // id: %7
  5771. } // end sil function '_TToFC3gpa23ClassSelectorControllers10creditsBarGSQCSo18UISegmentedControl_'
  5772.  
  5773. sil_scope 48 { loc "ClassSelectorController.swift":35:19 parent @_TFC3gpa23ClassSelectorControllers10creditsBarGSQCSo18UISegmentedControl_ : $@convention(method) (@owned Optional<UISegmentedControl>, @guaranteed ClassSelectorController) -> () }
  5774. sil_scope 49 { loc "ClassSelectorController.swift":35:19 parent 48 }
  5775.  
  5776. // ClassSelectorController.creditsBar.setter
  5777. sil hidden @_TFC3gpa23ClassSelectorControllers10creditsBarGSQCSo18UISegmentedControl_ : $@convention(method) (@owned Optional<UISegmentedControl>, @guaranteed ClassSelectorController) -> () {
  5778. // %0 // users: %7, %4, %2
  5779. // %1 // users: %5, %3
  5780. bb0(%0 : $Optional<UISegmentedControl>, %1 : $ClassSelectorController):
  5781. debug_value %0 : $Optional<UISegmentedControl>, let, name "value", argno 1, loc "ClassSelectorController.swift":35:19, scope 48 // id: %2
  5782. debug_value %1 : $ClassSelectorController, let, name "self", argno 2, loc "ClassSelectorController.swift":35:19, scope 48 // id: %3
  5783. %4 = copy_value %0 : $Optional<UISegmentedControl>, scope 49 // user: %6
  5784. %5 = ref_element_addr %1 : $ClassSelectorController, #ClassSelectorController.creditsBar, scope 49 // user: %6
  5785. assign %4 to %5 : $*Optional<UISegmentedControl>, scope 49 // id: %6
  5786. destroy_value %0 : $Optional<UISegmentedControl>, loc "ClassSelectorController.swift":35:19, scope 49 // id: %7
  5787. %8 = tuple (), loc "ClassSelectorController.swift":35:19, scope 49 // user: %9
  5788. return %8 : $(), loc "ClassSelectorController.swift":35:19, scope 49 // id: %9
  5789. } // end sil function '_TFC3gpa23ClassSelectorControllers10creditsBarGSQCSo18UISegmentedControl_'
  5790.  
  5791. sil_scope 50 { parent @_TIvC3gpa23ClassSelectorController12warningLabelGSQCSo7UILabel_i : $@convention(thin) () -> @owned Optional<UILabel> }
  5792.  
  5793. // ClassSelectorController.(warningLabel).(variable initialization expression)
  5794. sil hidden [transparent] @_TIvC3gpa23ClassSelectorController12warningLabelGSQCSo7UILabel_i : $@convention(thin) () -> @owned Optional<UILabel> {
  5795. bb0:
  5796. // function_ref ImplicitlyUnwrappedOptional.init(nilLiteral : ()) -> A!
  5797. %0 = function_ref @_TFSQCfT10nilLiteralT__GSQx_ : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 50 // user: %3
  5798. %1 = metatype $@thin ImplicitlyUnwrappedOptional<UILabel>.Type, scope 50 // user: %3
  5799. %2 = alloc_stack $Optional<UILabel>, scope 50 // users: %5, %4, %3
  5800. %3 = apply %0<UILabel>(%2, %1) : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 50
  5801. %4 = load [take] %2 : $*Optional<UILabel>, scope 50 // user: %6
  5802. dealloc_stack %2 : $*Optional<UILabel>, scope 50 // id: %5
  5803. return %4 : $Optional<UILabel>, scope 50 // id: %6
  5804. } // end sil function '_TIvC3gpa23ClassSelectorController12warningLabelGSQCSo7UILabel_i'
  5805.  
  5806. sil_scope 51 { parent @_TToFC3gpa23ClassSelectorControllerg12warningLabelGSQCSo7UILabel_ : $@convention(objc_method) (ClassSelectorController) -> @autoreleased Optional<UILabel> }
  5807.  
  5808. // @objc ClassSelectorController.warningLabel.getter
  5809. sil hidden [thunk] @_TToFC3gpa23ClassSelectorControllerg12warningLabelGSQCSo7UILabel_ : $@convention(objc_method) (ClassSelectorController) -> @autoreleased Optional<UILabel> {
  5810. // %0 // user: %1
  5811. bb0(%0 : $ClassSelectorController):
  5812. %1 = copy_value %0 : $ClassSelectorController, scope 51 // users: %4, %3
  5813. // function_ref ClassSelectorController.warningLabel.getter
  5814. %2 = function_ref @_TFC3gpa23ClassSelectorControllerg12warningLabelGSQCSo7UILabel_ : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UILabel>, scope 51 // user: %3
  5815. %3 = apply %2(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UILabel>, scope 51 // user: %5
  5816. destroy_value %1 : $ClassSelectorController, scope 51 // id: %4
  5817. return %3 : $Optional<UILabel>, scope 51 // id: %5
  5818. } // end sil function '_TToFC3gpa23ClassSelectorControllerg12warningLabelGSQCSo7UILabel_'
  5819.  
  5820. sil_scope 52 { loc "ClassSelectorController.swift":37:19 parent @_TFC3gpa23ClassSelectorControllerg12warningLabelGSQCSo7UILabel_ : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UILabel> }
  5821. sil_scope 53 { loc "ClassSelectorController.swift":37:19 parent 52 }
  5822.  
  5823. // ClassSelectorController.warningLabel.getter
  5824. sil hidden @_TFC3gpa23ClassSelectorControllerg12warningLabelGSQCSo7UILabel_ : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UILabel> {
  5825. // %0 // users: %2, %1
  5826. bb0(%0 : $ClassSelectorController):
  5827. debug_value %0 : $ClassSelectorController, let, name "self", argno 1, loc "ClassSelectorController.swift":37:19, scope 52 // id: %1
  5828. %2 = ref_element_addr %0 : $ClassSelectorController, #ClassSelectorController.warningLabel, scope 53 // user: %3
  5829. %3 = load [copy] %2 : $*Optional<UILabel>, scope 53 // user: %4
  5830. return %3 : $Optional<UILabel>, loc "ClassSelectorController.swift":37:19, scope 53 // id: %4
  5831. } // end sil function '_TFC3gpa23ClassSelectorControllerg12warningLabelGSQCSo7UILabel_'
  5832.  
  5833. sil_scope 54 { parent @_TToFC3gpa23ClassSelectorControllers12warningLabelGSQCSo7UILabel_ : $@convention(objc_method) (Optional<UILabel>, ClassSelectorController) -> () }
  5834.  
  5835. // @objc ClassSelectorController.warningLabel.setter
  5836. sil hidden [thunk] @_TToFC3gpa23ClassSelectorControllers12warningLabelGSQCSo7UILabel_ : $@convention(objc_method) (Optional<UILabel>, ClassSelectorController) -> () {
  5837. // %0 // user: %2
  5838. // %1 // user: %3
  5839. bb0(%0 : $Optional<UILabel>, %1 : $ClassSelectorController):
  5840. %2 = copy_value %0 : $Optional<UILabel>, scope 54 // user: %5
  5841. %3 = copy_value %1 : $ClassSelectorController, scope 54 // users: %6, %5
  5842. // function_ref ClassSelectorController.warningLabel.setter
  5843. %4 = function_ref @_TFC3gpa23ClassSelectorControllers12warningLabelGSQCSo7UILabel_ : $@convention(method) (@owned Optional<UILabel>, @guaranteed ClassSelectorController) -> (), scope 54 // user: %5
  5844. %5 = apply %4(%2, %3) : $@convention(method) (@owned Optional<UILabel>, @guaranteed ClassSelectorController) -> (), scope 54 // user: %7
  5845. destroy_value %3 : $ClassSelectorController, scope 54 // id: %6
  5846. return %5 : $(), scope 54 // id: %7
  5847. } // end sil function '_TToFC3gpa23ClassSelectorControllers12warningLabelGSQCSo7UILabel_'
  5848.  
  5849. sil_scope 55 { loc "ClassSelectorController.swift":37:19 parent @_TFC3gpa23ClassSelectorControllers12warningLabelGSQCSo7UILabel_ : $@convention(method) (@owned Optional<UILabel>, @guaranteed ClassSelectorController) -> () }
  5850. sil_scope 56 { loc "ClassSelectorController.swift":37:19 parent 55 }
  5851.  
  5852. // ClassSelectorController.warningLabel.setter
  5853. sil hidden @_TFC3gpa23ClassSelectorControllers12warningLabelGSQCSo7UILabel_ : $@convention(method) (@owned Optional<UILabel>, @guaranteed ClassSelectorController) -> () {
  5854. // %0 // users: %7, %4, %2
  5855. // %1 // users: %5, %3
  5856. bb0(%0 : $Optional<UILabel>, %1 : $ClassSelectorController):
  5857. debug_value %0 : $Optional<UILabel>, let, name "value", argno 1, loc "ClassSelectorController.swift":37:19, scope 55 // id: %2
  5858. debug_value %1 : $ClassSelectorController, let, name "self", argno 2, loc "ClassSelectorController.swift":37:19, scope 55 // id: %3
  5859. %4 = copy_value %0 : $Optional<UILabel>, scope 56 // user: %6
  5860. %5 = ref_element_addr %1 : $ClassSelectorController, #ClassSelectorController.warningLabel, scope 56 // user: %6
  5861. assign %4 to %5 : $*Optional<UILabel>, scope 56 // id: %6
  5862. destroy_value %0 : $Optional<UILabel>, loc "ClassSelectorController.swift":37:19, scope 56 // id: %7
  5863. %8 = tuple (), loc "ClassSelectorController.swift":37:19, scope 56 // user: %9
  5864. return %8 : $(), loc "ClassSelectorController.swift":37:19, scope 56 // id: %9
  5865. } // end sil function '_TFC3gpa23ClassSelectorControllers12warningLabelGSQCSo7UILabel_'
  5866.  
  5867. sil_scope 57 { parent @_TIvC3gpa23ClassSelectorController14addClassButtonGSQCSo8UIButton_i : $@convention(thin) () -> @owned Optional<UIButton> }
  5868.  
  5869. // ClassSelectorController.(addClassButton).(variable initialization expression)
  5870. sil hidden [transparent] @_TIvC3gpa23ClassSelectorController14addClassButtonGSQCSo8UIButton_i : $@convention(thin) () -> @owned Optional<UIButton> {
  5871. bb0:
  5872. // function_ref ImplicitlyUnwrappedOptional.init(nilLiteral : ()) -> A!
  5873. %0 = function_ref @_TFSQCfT10nilLiteralT__GSQx_ : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 57 // user: %3
  5874. %1 = metatype $@thin ImplicitlyUnwrappedOptional<UIButton>.Type, scope 57 // user: %3
  5875. %2 = alloc_stack $Optional<UIButton>, scope 57 // users: %5, %4, %3
  5876. %3 = apply %0<UIButton>(%2, %1) : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 57
  5877. %4 = load [take] %2 : $*Optional<UIButton>, scope 57 // user: %6
  5878. dealloc_stack %2 : $*Optional<UIButton>, scope 57 // id: %5
  5879. return %4 : $Optional<UIButton>, scope 57 // id: %6
  5880. } // end sil function '_TIvC3gpa23ClassSelectorController14addClassButtonGSQCSo8UIButton_i'
  5881.  
  5882. sil_scope 58 { parent @_TToFC3gpa23ClassSelectorControllerg14addClassButtonGSQCSo8UIButton_ : $@convention(objc_method) (ClassSelectorController) -> @autoreleased Optional<UIButton> }
  5883.  
  5884. // @objc ClassSelectorController.addClassButton.getter
  5885. sil hidden [thunk] @_TToFC3gpa23ClassSelectorControllerg14addClassButtonGSQCSo8UIButton_ : $@convention(objc_method) (ClassSelectorController) -> @autoreleased Optional<UIButton> {
  5886. // %0 // user: %1
  5887. bb0(%0 : $ClassSelectorController):
  5888. %1 = copy_value %0 : $ClassSelectorController, scope 58 // users: %4, %3
  5889. // function_ref ClassSelectorController.addClassButton.getter
  5890. %2 = function_ref @_TFC3gpa23ClassSelectorControllerg14addClassButtonGSQCSo8UIButton_ : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UIButton>, scope 58 // user: %3
  5891. %3 = apply %2(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UIButton>, scope 58 // user: %5
  5892. destroy_value %1 : $ClassSelectorController, scope 58 // id: %4
  5893. return %3 : $Optional<UIButton>, scope 58 // id: %5
  5894. } // end sil function '_TToFC3gpa23ClassSelectorControllerg14addClassButtonGSQCSo8UIButton_'
  5895.  
  5896. sil_scope 59 { loc "ClassSelectorController.swift":39:19 parent @_TFC3gpa23ClassSelectorControllerg14addClassButtonGSQCSo8UIButton_ : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UIButton> }
  5897. sil_scope 60 { loc "ClassSelectorController.swift":39:19 parent 59 }
  5898.  
  5899. // ClassSelectorController.addClassButton.getter
  5900. sil hidden @_TFC3gpa23ClassSelectorControllerg14addClassButtonGSQCSo8UIButton_ : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UIButton> {
  5901. // %0 // users: %2, %1
  5902. bb0(%0 : $ClassSelectorController):
  5903. debug_value %0 : $ClassSelectorController, let, name "self", argno 1, loc "ClassSelectorController.swift":39:19, scope 59 // id: %1
  5904. %2 = ref_element_addr %0 : $ClassSelectorController, #ClassSelectorController.addClassButton, scope 60 // user: %3
  5905. %3 = load [copy] %2 : $*Optional<UIButton>, scope 60 // user: %4
  5906. return %3 : $Optional<UIButton>, loc "ClassSelectorController.swift":39:19, scope 60 // id: %4
  5907. } // end sil function '_TFC3gpa23ClassSelectorControllerg14addClassButtonGSQCSo8UIButton_'
  5908.  
  5909. sil_scope 61 { parent @_TToFC3gpa23ClassSelectorControllers14addClassButtonGSQCSo8UIButton_ : $@convention(objc_method) (Optional<UIButton>, ClassSelectorController) -> () }
  5910.  
  5911. // @objc ClassSelectorController.addClassButton.setter
  5912. sil hidden [thunk] @_TToFC3gpa23ClassSelectorControllers14addClassButtonGSQCSo8UIButton_ : $@convention(objc_method) (Optional<UIButton>, ClassSelectorController) -> () {
  5913. // %0 // user: %2
  5914. // %1 // user: %3
  5915. bb0(%0 : $Optional<UIButton>, %1 : $ClassSelectorController):
  5916. %2 = copy_value %0 : $Optional<UIButton>, scope 61 // user: %5
  5917. %3 = copy_value %1 : $ClassSelectorController, scope 61 // users: %6, %5
  5918. // function_ref ClassSelectorController.addClassButton.setter
  5919. %4 = function_ref @_TFC3gpa23ClassSelectorControllers14addClassButtonGSQCSo8UIButton_ : $@convention(method) (@owned Optional<UIButton>, @guaranteed ClassSelectorController) -> (), scope 61 // user: %5
  5920. %5 = apply %4(%2, %3) : $@convention(method) (@owned Optional<UIButton>, @guaranteed ClassSelectorController) -> (), scope 61 // user: %7
  5921. destroy_value %3 : $ClassSelectorController, scope 61 // id: %6
  5922. return %5 : $(), scope 61 // id: %7
  5923. } // end sil function '_TToFC3gpa23ClassSelectorControllers14addClassButtonGSQCSo8UIButton_'
  5924.  
  5925. sil_scope 62 { loc "ClassSelectorController.swift":39:19 parent @_TFC3gpa23ClassSelectorControllers14addClassButtonGSQCSo8UIButton_ : $@convention(method) (@owned Optional<UIButton>, @guaranteed ClassSelectorController) -> () }
  5926. sil_scope 63 { loc "ClassSelectorController.swift":39:19 parent 62 }
  5927.  
  5928. // ClassSelectorController.addClassButton.setter
  5929. sil hidden @_TFC3gpa23ClassSelectorControllers14addClassButtonGSQCSo8UIButton_ : $@convention(method) (@owned Optional<UIButton>, @guaranteed ClassSelectorController) -> () {
  5930. // %0 // users: %7, %4, %2
  5931. // %1 // users: %5, %3
  5932. bb0(%0 : $Optional<UIButton>, %1 : $ClassSelectorController):
  5933. debug_value %0 : $Optional<UIButton>, let, name "value", argno 1, loc "ClassSelectorController.swift":39:19, scope 62 // id: %2
  5934. debug_value %1 : $ClassSelectorController, let, name "self", argno 2, loc "ClassSelectorController.swift":39:19, scope 62 // id: %3
  5935. %4 = copy_value %0 : $Optional<UIButton>, scope 63 // user: %6
  5936. %5 = ref_element_addr %1 : $ClassSelectorController, #ClassSelectorController.addClassButton, scope 63 // user: %6
  5937. assign %4 to %5 : $*Optional<UIButton>, scope 63 // id: %6
  5938. destroy_value %0 : $Optional<UIButton>, loc "ClassSelectorController.swift":39:19, scope 63 // id: %7
  5939. %8 = tuple (), loc "ClassSelectorController.swift":39:19, scope 63 // user: %9
  5940. return %8 : $(), loc "ClassSelectorController.swift":39:19, scope 63 // id: %9
  5941. } // end sil function '_TFC3gpa23ClassSelectorControllers14addClassButtonGSQCSo8UIButton_'
  5942.  
  5943. sil_scope 64 { parent @_TIvC3gpa23ClassSelectorController12cancelButtonGSQCSo15UIBarButtonItem_i : $@convention(thin) () -> @owned Optional<UIBarButtonItem> }
  5944.  
  5945. // ClassSelectorController.(cancelButton).(variable initialization expression)
  5946. sil hidden [transparent] @_TIvC3gpa23ClassSelectorController12cancelButtonGSQCSo15UIBarButtonItem_i : $@convention(thin) () -> @owned Optional<UIBarButtonItem> {
  5947. bb0:
  5948. // function_ref ImplicitlyUnwrappedOptional.init(nilLiteral : ()) -> A!
  5949. %0 = function_ref @_TFSQCfT10nilLiteralT__GSQx_ : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 64 // user: %3
  5950. %1 = metatype $@thin ImplicitlyUnwrappedOptional<UIBarButtonItem>.Type, scope 64 // user: %3
  5951. %2 = alloc_stack $Optional<UIBarButtonItem>, scope 64 // users: %5, %4, %3
  5952. %3 = apply %0<UIBarButtonItem>(%2, %1) : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 64
  5953. %4 = load [take] %2 : $*Optional<UIBarButtonItem>, scope 64 // user: %6
  5954. dealloc_stack %2 : $*Optional<UIBarButtonItem>, scope 64 // id: %5
  5955. return %4 : $Optional<UIBarButtonItem>, scope 64 // id: %6
  5956. } // end sil function '_TIvC3gpa23ClassSelectorController12cancelButtonGSQCSo15UIBarButtonItem_i'
  5957.  
  5958. sil_scope 65 { parent @_TToFC3gpa23ClassSelectorControllerg12cancelButtonGSQCSo15UIBarButtonItem_ : $@convention(objc_method) (ClassSelectorController) -> @autoreleased Optional<UIBarButtonItem> }
  5959.  
  5960. // @objc ClassSelectorController.cancelButton.getter
  5961. sil hidden [thunk] @_TToFC3gpa23ClassSelectorControllerg12cancelButtonGSQCSo15UIBarButtonItem_ : $@convention(objc_method) (ClassSelectorController) -> @autoreleased Optional<UIBarButtonItem> {
  5962. // %0 // user: %1
  5963. bb0(%0 : $ClassSelectorController):
  5964. %1 = copy_value %0 : $ClassSelectorController, scope 65 // users: %4, %3
  5965. // function_ref ClassSelectorController.cancelButton.getter
  5966. %2 = function_ref @_TFC3gpa23ClassSelectorControllerg12cancelButtonGSQCSo15UIBarButtonItem_ : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UIBarButtonItem>, scope 65 // user: %3
  5967. %3 = apply %2(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UIBarButtonItem>, scope 65 // user: %5
  5968. destroy_value %1 : $ClassSelectorController, scope 65 // id: %4
  5969. return %3 : $Optional<UIBarButtonItem>, scope 65 // id: %5
  5970. } // end sil function '_TToFC3gpa23ClassSelectorControllerg12cancelButtonGSQCSo15UIBarButtonItem_'
  5971.  
  5972. sil_scope 66 { loc "ClassSelectorController.swift":40:19 parent @_TFC3gpa23ClassSelectorControllerg12cancelButtonGSQCSo15UIBarButtonItem_ : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UIBarButtonItem> }
  5973. sil_scope 67 { loc "ClassSelectorController.swift":40:19 parent 66 }
  5974.  
  5975. // ClassSelectorController.cancelButton.getter
  5976. sil hidden @_TFC3gpa23ClassSelectorControllerg12cancelButtonGSQCSo15UIBarButtonItem_ : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UIBarButtonItem> {
  5977. // %0 // users: %2, %1
  5978. bb0(%0 : $ClassSelectorController):
  5979. debug_value %0 : $ClassSelectorController, let, name "self", argno 1, loc "ClassSelectorController.swift":40:19, scope 66 // id: %1
  5980. %2 = ref_element_addr %0 : $ClassSelectorController, #ClassSelectorController.cancelButton, scope 67 // user: %3
  5981. %3 = load [copy] %2 : $*Optional<UIBarButtonItem>, scope 67 // user: %4
  5982. return %3 : $Optional<UIBarButtonItem>, loc "ClassSelectorController.swift":40:19, scope 67 // id: %4
  5983. } // end sil function '_TFC3gpa23ClassSelectorControllerg12cancelButtonGSQCSo15UIBarButtonItem_'
  5984.  
  5985. sil_scope 68 { parent @_TToFC3gpa23ClassSelectorControllers12cancelButtonGSQCSo15UIBarButtonItem_ : $@convention(objc_method) (Optional<UIBarButtonItem>, ClassSelectorController) -> () }
  5986.  
  5987. // @objc ClassSelectorController.cancelButton.setter
  5988. sil hidden [thunk] @_TToFC3gpa23ClassSelectorControllers12cancelButtonGSQCSo15UIBarButtonItem_ : $@convention(objc_method) (Optional<UIBarButtonItem>, ClassSelectorController) -> () {
  5989. // %0 // user: %2
  5990. // %1 // user: %3
  5991. bb0(%0 : $Optional<UIBarButtonItem>, %1 : $ClassSelectorController):
  5992. %2 = copy_value %0 : $Optional<UIBarButtonItem>, scope 68 // user: %5
  5993. %3 = copy_value %1 : $ClassSelectorController, scope 68 // users: %6, %5
  5994. // function_ref ClassSelectorController.cancelButton.setter
  5995. %4 = function_ref @_TFC3gpa23ClassSelectorControllers12cancelButtonGSQCSo15UIBarButtonItem_ : $@convention(method) (@owned Optional<UIBarButtonItem>, @guaranteed ClassSelectorController) -> (), scope 68 // user: %5
  5996. %5 = apply %4(%2, %3) : $@convention(method) (@owned Optional<UIBarButtonItem>, @guaranteed ClassSelectorController) -> (), scope 68 // user: %7
  5997. destroy_value %3 : $ClassSelectorController, scope 68 // id: %6
  5998. return %5 : $(), scope 68 // id: %7
  5999. } // end sil function '_TToFC3gpa23ClassSelectorControllers12cancelButtonGSQCSo15UIBarButtonItem_'
  6000.  
  6001. sil_scope 69 { loc "ClassSelectorController.swift":40:19 parent @_TFC3gpa23ClassSelectorControllers12cancelButtonGSQCSo15UIBarButtonItem_ : $@convention(method) (@owned Optional<UIBarButtonItem>, @guaranteed ClassSelectorController) -> () }
  6002. sil_scope 70 { loc "ClassSelectorController.swift":40:19 parent 69 }
  6003.  
  6004. // ClassSelectorController.cancelButton.setter
  6005. sil hidden @_TFC3gpa23ClassSelectorControllers12cancelButtonGSQCSo15UIBarButtonItem_ : $@convention(method) (@owned Optional<UIBarButtonItem>, @guaranteed ClassSelectorController) -> () {
  6006. // %0 // users: %7, %4, %2
  6007. // %1 // users: %5, %3
  6008. bb0(%0 : $Optional<UIBarButtonItem>, %1 : $ClassSelectorController):
  6009. debug_value %0 : $Optional<UIBarButtonItem>, let, name "value", argno 1, loc "ClassSelectorController.swift":40:19, scope 69 // id: %2
  6010. debug_value %1 : $ClassSelectorController, let, name "self", argno 2, loc "ClassSelectorController.swift":40:19, scope 69 // id: %3
  6011. %4 = copy_value %0 : $Optional<UIBarButtonItem>, scope 70 // user: %6
  6012. %5 = ref_element_addr %1 : $ClassSelectorController, #ClassSelectorController.cancelButton, scope 70 // user: %6
  6013. assign %4 to %5 : $*Optional<UIBarButtonItem>, scope 70 // id: %6
  6014. destroy_value %0 : $Optional<UIBarButtonItem>, loc "ClassSelectorController.swift":40:19, scope 70 // id: %7
  6015. %8 = tuple (), loc "ClassSelectorController.swift":40:19, scope 70 // user: %9
  6016. return %8 : $(), loc "ClassSelectorController.swift":40:19, scope 70 // id: %9
  6017. } // end sil function '_TFC3gpa23ClassSelectorControllers12cancelButtonGSQCSo15UIBarButtonItem_'
  6018.  
  6019. sil_scope 71 { parent @_TIvC3gpa23ClassSelectorController6pickerGSQCSo12UIPickerView_i : $@convention(thin) () -> @owned Optional<UIPickerView> }
  6020.  
  6021. // ClassSelectorController.(picker).(variable initialization expression)
  6022. sil hidden [transparent] @_TIvC3gpa23ClassSelectorController6pickerGSQCSo12UIPickerView_i : $@convention(thin) () -> @owned Optional<UIPickerView> {
  6023. bb0:
  6024. // function_ref ImplicitlyUnwrappedOptional.init(nilLiteral : ()) -> A!
  6025. %0 = function_ref @_TFSQCfT10nilLiteralT__GSQx_ : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 71 // user: %3
  6026. %1 = metatype $@thin ImplicitlyUnwrappedOptional<UIPickerView>.Type, scope 71 // user: %3
  6027. %2 = alloc_stack $Optional<UIPickerView>, scope 71 // users: %5, %4, %3
  6028. %3 = apply %0<UIPickerView>(%2, %1) : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 71
  6029. %4 = load [take] %2 : $*Optional<UIPickerView>, scope 71 // user: %6
  6030. dealloc_stack %2 : $*Optional<UIPickerView>, scope 71 // id: %5
  6031. return %4 : $Optional<UIPickerView>, scope 71 // id: %6
  6032. } // end sil function '_TIvC3gpa23ClassSelectorController6pickerGSQCSo12UIPickerView_i'
  6033.  
  6034. sil_scope 72 { parent @_TToFC3gpa23ClassSelectorControllerg6pickerGSQCSo12UIPickerView_ : $@convention(objc_method) (ClassSelectorController) -> @autoreleased Optional<UIPickerView> }
  6035.  
  6036. // @objc ClassSelectorController.picker.getter
  6037. sil hidden [thunk] @_TToFC3gpa23ClassSelectorControllerg6pickerGSQCSo12UIPickerView_ : $@convention(objc_method) (ClassSelectorController) -> @autoreleased Optional<UIPickerView> {
  6038. // %0 // user: %1
  6039. bb0(%0 : $ClassSelectorController):
  6040. %1 = copy_value %0 : $ClassSelectorController, scope 72 // users: %4, %3
  6041. // function_ref ClassSelectorController.picker.getter
  6042. %2 = function_ref @_TFC3gpa23ClassSelectorControllerg6pickerGSQCSo12UIPickerView_ : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UIPickerView>, scope 72 // user: %3
  6043. %3 = apply %2(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UIPickerView>, scope 72 // user: %5
  6044. destroy_value %1 : $ClassSelectorController, scope 72 // id: %4
  6045. return %3 : $Optional<UIPickerView>, scope 72 // id: %5
  6046. } // end sil function '_TToFC3gpa23ClassSelectorControllerg6pickerGSQCSo12UIPickerView_'
  6047.  
  6048. sil_scope 73 { loc "ClassSelectorController.swift":42:19 parent @_TFC3gpa23ClassSelectorControllerg6pickerGSQCSo12UIPickerView_ : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UIPickerView> }
  6049. sil_scope 74 { loc "ClassSelectorController.swift":42:19 parent 73 }
  6050.  
  6051. // ClassSelectorController.picker.getter
  6052. sil hidden @_TFC3gpa23ClassSelectorControllerg6pickerGSQCSo12UIPickerView_ : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UIPickerView> {
  6053. // %0 // users: %2, %1
  6054. bb0(%0 : $ClassSelectorController):
  6055. debug_value %0 : $ClassSelectorController, let, name "self", argno 1, loc "ClassSelectorController.swift":42:19, scope 73 // id: %1
  6056. %2 = ref_element_addr %0 : $ClassSelectorController, #ClassSelectorController.picker, scope 74 // user: %3
  6057. %3 = load [copy] %2 : $*Optional<UIPickerView>, scope 74 // user: %4
  6058. return %3 : $Optional<UIPickerView>, loc "ClassSelectorController.swift":42:19, scope 74 // id: %4
  6059. } // end sil function '_TFC3gpa23ClassSelectorControllerg6pickerGSQCSo12UIPickerView_'
  6060.  
  6061. sil_scope 75 { parent @_TToFC3gpa23ClassSelectorControllers6pickerGSQCSo12UIPickerView_ : $@convention(objc_method) (Optional<UIPickerView>, ClassSelectorController) -> () }
  6062.  
  6063. // @objc ClassSelectorController.picker.setter
  6064. sil hidden [thunk] @_TToFC3gpa23ClassSelectorControllers6pickerGSQCSo12UIPickerView_ : $@convention(objc_method) (Optional<UIPickerView>, ClassSelectorController) -> () {
  6065. // %0 // user: %2
  6066. // %1 // user: %3
  6067. bb0(%0 : $Optional<UIPickerView>, %1 : $ClassSelectorController):
  6068. %2 = copy_value %0 : $Optional<UIPickerView>, scope 75 // user: %5
  6069. %3 = copy_value %1 : $ClassSelectorController, scope 75 // users: %6, %5
  6070. // function_ref ClassSelectorController.picker.setter
  6071. %4 = function_ref @_TFC3gpa23ClassSelectorControllers6pickerGSQCSo12UIPickerView_ : $@convention(method) (@owned Optional<UIPickerView>, @guaranteed ClassSelectorController) -> (), scope 75 // user: %5
  6072. %5 = apply %4(%2, %3) : $@convention(method) (@owned Optional<UIPickerView>, @guaranteed ClassSelectorController) -> (), scope 75 // user: %7
  6073. destroy_value %3 : $ClassSelectorController, scope 75 // id: %6
  6074. return %5 : $(), scope 75 // id: %7
  6075. } // end sil function '_TToFC3gpa23ClassSelectorControllers6pickerGSQCSo12UIPickerView_'
  6076.  
  6077. sil_scope 76 { loc "ClassSelectorController.swift":42:19 parent @_TFC3gpa23ClassSelectorControllers6pickerGSQCSo12UIPickerView_ : $@convention(method) (@owned Optional<UIPickerView>, @guaranteed ClassSelectorController) -> () }
  6078. sil_scope 77 { loc "ClassSelectorController.swift":42:19 parent 76 }
  6079.  
  6080. // ClassSelectorController.picker.setter
  6081. sil hidden @_TFC3gpa23ClassSelectorControllers6pickerGSQCSo12UIPickerView_ : $@convention(method) (@owned Optional<UIPickerView>, @guaranteed ClassSelectorController) -> () {
  6082. // %0 // users: %7, %4, %2
  6083. // %1 // users: %5, %3
  6084. bb0(%0 : $Optional<UIPickerView>, %1 : $ClassSelectorController):
  6085. debug_value %0 : $Optional<UIPickerView>, let, name "value", argno 1, loc "ClassSelectorController.swift":42:19, scope 76 // id: %2
  6086. debug_value %1 : $ClassSelectorController, let, name "self", argno 2, loc "ClassSelectorController.swift":42:19, scope 76 // id: %3
  6087. %4 = copy_value %0 : $Optional<UIPickerView>, scope 77 // user: %6
  6088. %5 = ref_element_addr %1 : $ClassSelectorController, #ClassSelectorController.picker, scope 77 // user: %6
  6089. assign %4 to %5 : $*Optional<UIPickerView>, scope 77 // id: %6
  6090. destroy_value %0 : $Optional<UIPickerView>, loc "ClassSelectorController.swift":42:19, scope 77 // id: %7
  6091. %8 = tuple (), loc "ClassSelectorController.swift":42:19, scope 77 // user: %9
  6092. return %8 : $(), loc "ClassSelectorController.swift":42:19, scope 77 // id: %9
  6093. } // end sil function '_TFC3gpa23ClassSelectorControllers6pickerGSQCSo12UIPickerView_'
  6094.  
  6095. sil_scope 78 { loc "ClassSelectorController.swift":44:19 parent @_TFC3gpa23ClassSelectorController11viewDidLoadfT_T_ : $@convention(method) (@guaranteed ClassSelectorController) -> () }
  6096. sil_scope 79 { loc "ClassSelectorController.swift":55:5 parent 78 }
  6097.  
  6098. // ClassSelectorController.viewDidLoad() -> ()
  6099. sil hidden @_TFC3gpa23ClassSelectorController11viewDidLoadfT_T_ : $@convention(method) (@guaranteed ClassSelectorController) -> () {
  6100. // %0 // users: %128, %110, %109, %108, %84, %83, %58, %57, %47, %35, %34, %24, %12, %11, %2, %1
  6101. bb0(%0 : $ClassSelectorController):
  6102. debug_value %0 : $ClassSelectorController, let, name "self", argno 1, loc "ClassSelectorController.swift":44:19, scope 78 // id: %1
  6103. %2 = copy_value %0 : $ClassSelectorController, loc "ClassSelectorController.swift":45:9, scope 79 // users: %6, %4, %3
  6104. %3 = upcast %2 : $ClassSelectorController to $UIViewController, loc "ClassSelectorController.swift":45:9, scope 79 // user: %5
  6105. %4 = super_method [volatile] %2 : $ClassSelectorController, #UIViewController.viewDidLoad!1.foreign : (UIViewController) -> () -> () , $@convention(objc_method) (UIViewController) -> (), loc "ClassSelectorController.swift":45:15, scope 79 // user: %5
  6106. %5 = apply %4(%3) : $@convention(objc_method) (UIViewController) -> (), loc "ClassSelectorController.swift":45:27, scope 79
  6107. destroy_value %2 : $ClassSelectorController, loc "ClassSelectorController.swift":45:27, scope 79 // id: %6
  6108. // function_ref static Information.initializeArray() -> ()
  6109. %7 = function_ref @_TZFC3gpa11Information15initializeArrayfT_T_ : $@convention(method) (@thick Information.Type) -> (), loc "ClassSelectorController.swift":46:21, scope 79 // user: %9
  6110. %8 = metatype $@thick Information.Type, loc "ClassSelectorController.swift":46:9, scope 79 // user: %9
  6111. %9 = apply %7(%8) : $@convention(method) (@thick Information.Type) -> (), loc "ClassSelectorController.swift":46:37, scope 79
  6112. %10 = alloc_stack $Optional<UIPickerView>, loc "ClassSelectorController.swift":48:9, scope 79 // users: %32, %22, %14, %13
  6113. %11 = class_method %0 : $ClassSelectorController, #ClassSelectorController.picker!getter.1 : (ClassSelectorController) -> () -> UIPickerView! , $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UIPickerView>, loc "ClassSelectorController.swift":48:9, scope 79 // user: %12
  6114. %12 = apply %11(%0) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UIPickerView>, loc "ClassSelectorController.swift":48:9, scope 79 // user: %13
  6115. store %12 to [init] %10 : $*Optional<UIPickerView>, loc "ClassSelectorController.swift":48:9, scope 79 // id: %13
  6116. switch_enum_addr %10 : $*Optional<UIPickerView>, case #Optional.none!enumelt: bb1, default bb2, loc "ClassSelectorController.swift":48:9, scope 79 // id: %14
  6117.  
  6118. bb1: // Preds: bb0
  6119. %15 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":48:9, scope 79 // user: %20
  6120. %16 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":48:9, scope 79 // user: %20
  6121. %17 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":48:9, scope 79 // user: %20
  6122. %18 = integer_literal $Builtin.Word, 48, loc "ClassSelectorController.swift":48:9, scope 79 // user: %20
  6123. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  6124. %19 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":48:9, scope 79 // user: %20
  6125. %20 = apply %19(%15, %16, %17, %18) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":48:9, scope 79
  6126. unreachable , loc "ClassSelectorController.swift":48:9, scope 79 // id: %21
  6127.  
  6128. bb2: // Preds: bb0
  6129. %22 = unchecked_take_enum_data_addr %10 : $*Optional<UIPickerView>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":48:9, scope 79 // users: %31, %23
  6130. %23 = load [copy] %22 : $*UIPickerView, loc "ClassSelectorController.swift":48:9, scope 79 // users: %30, %28, %27
  6131. %24 = copy_value %0 : $ClassSelectorController, loc "ClassSelectorController.swift":48:27, scope 79 // user: %25
  6132. %25 = init_existential_ref %24 : $ClassSelectorController : $ClassSelectorController, $UIPickerViewDelegate, loc "ClassSelectorController.swift":48:27, scope 79 // user: %26
  6133. %26 = enum $Optional<UIPickerViewDelegate>, #Optional.some!enumelt.1, %25 : $UIPickerViewDelegate, loc "ClassSelectorController.swift":48:27, scope 79 // users: %29, %28
  6134. %27 = class_method [volatile] %23 : $UIPickerView, #UIPickerView.delegate!setter.1.foreign : (UIPickerView) -> (UIPickerViewDelegate?) -> () , $@convention(objc_method) (Optional<UIPickerViewDelegate>, UIPickerView) -> (), loc "ClassSelectorController.swift":48:25, scope 79 // user: %28
  6135. %28 = apply %27(%26, %23) : $@convention(objc_method) (Optional<UIPickerViewDelegate>, UIPickerView) -> (), loc "ClassSelectorController.swift":48:25, scope 79
  6136. destroy_value %26 : $Optional<UIPickerViewDelegate>, loc "ClassSelectorController.swift":48:27, scope 79 // id: %29
  6137. destroy_value %23 : $UIPickerView, loc "ClassSelectorController.swift":48:27, scope 79 // id: %30
  6138. destroy_addr %22 : $*UIPickerView, loc "ClassSelectorController.swift":48:27, scope 79 // id: %31
  6139. dealloc_stack %10 : $*Optional<UIPickerView>, loc "ClassSelectorController.swift":48:27, scope 79 // id: %32
  6140. %33 = alloc_stack $Optional<UIPickerView>, loc "ClassSelectorController.swift":49:9, scope 79 // users: %55, %45, %37, %36
  6141. %34 = class_method %0 : $ClassSelectorController, #ClassSelectorController.picker!getter.1 : (ClassSelectorController) -> () -> UIPickerView! , $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UIPickerView>, loc "ClassSelectorController.swift":49:9, scope 79 // user: %35
  6142. %35 = apply %34(%0) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UIPickerView>, loc "ClassSelectorController.swift":49:9, scope 79 // user: %36
  6143. store %35 to [init] %33 : $*Optional<UIPickerView>, loc "ClassSelectorController.swift":49:9, scope 79 // id: %36
  6144. switch_enum_addr %33 : $*Optional<UIPickerView>, case #Optional.none!enumelt: bb3, default bb4, loc "ClassSelectorController.swift":49:9, scope 79 // id: %37
  6145.  
  6146. bb3: // Preds: bb2
  6147. %38 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":49:9, scope 79 // user: %43
  6148. %39 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":49:9, scope 79 // user: %43
  6149. %40 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":49:9, scope 79 // user: %43
  6150. %41 = integer_literal $Builtin.Word, 49, loc "ClassSelectorController.swift":49:9, scope 79 // user: %43
  6151. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  6152. %42 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":49:9, scope 79 // user: %43
  6153. %43 = apply %42(%38, %39, %40, %41) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":49:9, scope 79
  6154. unreachable , loc "ClassSelectorController.swift":49:9, scope 79 // id: %44
  6155.  
  6156. bb4: // Preds: bb2
  6157. %45 = unchecked_take_enum_data_addr %33 : $*Optional<UIPickerView>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":49:9, scope 79 // users: %54, %46
  6158. %46 = load [copy] %45 : $*UIPickerView, loc "ClassSelectorController.swift":49:9, scope 79 // users: %53, %51, %50
  6159. %47 = copy_value %0 : $ClassSelectorController, loc "ClassSelectorController.swift":49:29, scope 79 // user: %48
  6160. %48 = init_existential_ref %47 : $ClassSelectorController : $ClassSelectorController, $UIPickerViewDataSource, loc "ClassSelectorController.swift":49:29, scope 79 // user: %49
  6161. %49 = enum $Optional<UIPickerViewDataSource>, #Optional.some!enumelt.1, %48 : $UIPickerViewDataSource, loc "ClassSelectorController.swift":49:29, scope 79 // users: %52, %51
  6162. %50 = class_method [volatile] %46 : $UIPickerView, #UIPickerView.dataSource!setter.1.foreign : (UIPickerView) -> (UIPickerViewDataSource?) -> () , $@convention(objc_method) (Optional<UIPickerViewDataSource>, UIPickerView) -> (), loc "ClassSelectorController.swift":49:27, scope 79 // user: %51
  6163. %51 = apply %50(%49, %46) : $@convention(objc_method) (Optional<UIPickerViewDataSource>, UIPickerView) -> (), loc "ClassSelectorController.swift":49:27, scope 79
  6164. destroy_value %49 : $Optional<UIPickerViewDataSource>, loc "ClassSelectorController.swift":49:29, scope 79 // id: %52
  6165. destroy_value %46 : $UIPickerView, loc "ClassSelectorController.swift":49:29, scope 79 // id: %53
  6166. destroy_addr %45 : $*UIPickerView, loc "ClassSelectorController.swift":49:29, scope 79 // id: %54
  6167. dealloc_stack %33 : $*Optional<UIPickerView>, loc "ClassSelectorController.swift":49:29, scope 79 // id: %55
  6168. %56 = alloc_stack $Optional<UILabel>, loc "ClassSelectorController.swift":51:9, scope 79 // users: %81, %68, %60, %59
  6169. %57 = class_method %0 : $ClassSelectorController, #ClassSelectorController.warningLabel!getter.1 : (ClassSelectorController) -> () -> UILabel! , $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UILabel>, loc "ClassSelectorController.swift":51:9, scope 79 // user: %58
  6170. %58 = apply %57(%0) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UILabel>, loc "ClassSelectorController.swift":51:9, scope 79 // user: %59
  6171. store %58 to [init] %56 : $*Optional<UILabel>, loc "ClassSelectorController.swift":51:9, scope 79 // id: %59
  6172. switch_enum_addr %56 : $*Optional<UILabel>, case #Optional.none!enumelt: bb5, default bb6, loc "ClassSelectorController.swift":51:9, scope 79 // id: %60
  6173.  
  6174. bb5: // Preds: bb4
  6175. %61 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":51:9, scope 79 // user: %66
  6176. %62 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":51:9, scope 79 // user: %66
  6177. %63 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":51:9, scope 79 // user: %66
  6178. %64 = integer_literal $Builtin.Word, 51, loc "ClassSelectorController.swift":51:9, scope 79 // user: %66
  6179. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  6180. %65 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":51:9, scope 79 // user: %66
  6181. %66 = apply %65(%61, %62, %63, %64) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":51:9, scope 79
  6182. unreachable , loc "ClassSelectorController.swift":51:9, scope 79 // id: %67
  6183.  
  6184. bb6: // Preds: bb4
  6185. %68 = unchecked_take_enum_data_addr %56 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":51:9, scope 79 // users: %80, %69
  6186. %69 = load [copy] %68 : $*UILabel, loc "ClassSelectorController.swift":51:9, scope 79 // users: %79, %70
  6187. %70 = upcast %69 : $UILabel to $UIView, loc "ClassSelectorController.swift":51:9, scope 79 // users: %78, %75
  6188. // function_ref Bool.init(_builtinBooleanLiteral : Builtin.Int1) -> Bool
  6189. %71 = function_ref @_TFSbCfT22_builtinBooleanLiteralBi1__Sb : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":51:33, scope 79 // user: %74
  6190. %72 = metatype $@thin Bool.Type, loc "ClassSelectorController.swift":51:33, scope 79 // user: %74
  6191. %73 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":51:33, scope 79 // user: %74
  6192. %74 = apply %71(%73, %72) : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":51:33, scope 79 // user: %77
  6193. %75 = class_method [volatile] %70 : $UIView, #UIView.hidden!setter.1.foreign : (UIView) -> (Bool) -> () , $@convention(objc_method) (ObjCBool, UIView) -> (), loc "ClassSelectorController.swift":51:31, scope 79 // user: %78
  6194. // function_ref _convertBoolToObjCBool(Bool) -> ObjCBool
  6195. %76 = function_ref @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool, loc "ClassSelectorController.swift":51:31, scope 79 // user: %77
  6196. %77 = apply %76(%74) : $@convention(thin) (Bool) -> ObjCBool, loc "ClassSelectorController.swift":51:31, scope 79 // user: %78
  6197. %78 = apply %75(%77, %70) : $@convention(objc_method) (ObjCBool, UIView) -> (), loc "ClassSelectorController.swift":51:31, scope 79
  6198. destroy_value %69 : $UILabel, loc "ClassSelectorController.swift":51:33, scope 79 // id: %79
  6199. destroy_addr %68 : $*UILabel, loc "ClassSelectorController.swift":51:33, scope 79 // id: %80
  6200. dealloc_stack %56 : $*Optional<UILabel>, loc "ClassSelectorController.swift":51:33, scope 79 // id: %81
  6201. %82 = alloc_stack $Optional<UIBarButtonItem>, loc "ClassSelectorController.swift":52:9, scope 79 // users: %107, %94, %86, %85
  6202. %83 = class_method %0 : $ClassSelectorController, #ClassSelectorController.cancelButton!getter.1 : (ClassSelectorController) -> () -> UIBarButtonItem! , $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UIBarButtonItem>, loc "ClassSelectorController.swift":52:9, scope 79 // user: %84
  6203. %84 = apply %83(%0) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UIBarButtonItem>, loc "ClassSelectorController.swift":52:9, scope 79 // user: %85
  6204. store %84 to [init] %82 : $*Optional<UIBarButtonItem>, loc "ClassSelectorController.swift":52:9, scope 79 // id: %85
  6205. switch_enum_addr %82 : $*Optional<UIBarButtonItem>, case #Optional.none!enumelt: bb7, default bb8, loc "ClassSelectorController.swift":52:9, scope 79 // id: %86
  6206.  
  6207. bb7: // Preds: bb6
  6208. %87 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":52:9, scope 79 // user: %92
  6209. %88 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":52:9, scope 79 // user: %92
  6210. %89 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":52:9, scope 79 // user: %92
  6211. %90 = integer_literal $Builtin.Word, 52, loc "ClassSelectorController.swift":52:9, scope 79 // user: %92
  6212. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  6213. %91 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":52:9, scope 79 // user: %92
  6214. %92 = apply %91(%87, %88, %89, %90) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":52:9, scope 79
  6215. unreachable , loc "ClassSelectorController.swift":52:9, scope 79 // id: %93
  6216.  
  6217. bb8: // Preds: bb6
  6218. %94 = unchecked_take_enum_data_addr %82 : $*Optional<UIBarButtonItem>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":52:9, scope 79 // users: %106, %95
  6219. %95 = load [copy] %94 : $*UIBarButtonItem, loc "ClassSelectorController.swift":52:9, scope 79 // users: %105, %96
  6220. %96 = upcast %95 : $UIBarButtonItem to $UIBarItem, loc "ClassSelectorController.swift":52:9, scope 79 // users: %104, %101
  6221. // function_ref Bool.init(_builtinBooleanLiteral : Builtin.Int1) -> Bool
  6222. %97 = function_ref @_TFSbCfT22_builtinBooleanLiteralBi1__Sb : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":52:34, scope 79 // user: %100
  6223. %98 = metatype $@thin Bool.Type, loc "ClassSelectorController.swift":52:34, scope 79 // user: %100
  6224. %99 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":52:34, scope 79 // user: %100
  6225. %100 = apply %97(%99, %98) : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":52:34, scope 79 // user: %103
  6226. %101 = class_method [volatile] %96 : $UIBarItem, #UIBarItem.enabled!setter.1.foreign : (UIBarItem) -> (Bool) -> () , $@convention(objc_method) (ObjCBool, UIBarItem) -> (), loc "ClassSelectorController.swift":52:32, scope 79 // user: %104
  6227. // function_ref _convertBoolToObjCBool(Bool) -> ObjCBool
  6228. %102 = function_ref @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool, loc "ClassSelectorController.swift":52:32, scope 79 // user: %103
  6229. %103 = apply %102(%100) : $@convention(thin) (Bool) -> ObjCBool, loc "ClassSelectorController.swift":52:32, scope 79 // user: %104
  6230. %104 = apply %101(%103, %96) : $@convention(objc_method) (ObjCBool, UIBarItem) -> (), loc "ClassSelectorController.swift":52:32, scope 79
  6231. destroy_value %95 : $UIBarButtonItem, loc "ClassSelectorController.swift":52:34, scope 79 // id: %105
  6232. destroy_addr %94 : $*UIBarButtonItem, loc "ClassSelectorController.swift":52:34, scope 79 // id: %106
  6233. dealloc_stack %82 : $*Optional<UIBarButtonItem>, loc "ClassSelectorController.swift":52:34, scope 79 // id: %107
  6234. %108 = class_method %0 : $ClassSelectorController, #ClassSelectorController.pickerView!1 : (ClassSelectorController) -> (UIPickerView, Int, Int) -> () , $@convention(method) (@owned UIPickerView, Int, Int, @guaranteed ClassSelectorController) -> (), loc "ClassSelectorController.swift":54:9, scope 79 // user: %128
  6235. %109 = class_method %0 : $ClassSelectorController, #ClassSelectorController.picker!getter.1 : (ClassSelectorController) -> () -> UIPickerView! , $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UIPickerView>, loc "ClassSelectorController.swift":54:20, scope 79 // user: %110
  6236. %110 = apply %109(%0) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UIPickerView>, loc "ClassSelectorController.swift":54:20, scope 79 // users: %119, %111
  6237. switch_enum %110 : $Optional<UIPickerView>, case #Optional.none!enumelt: bb9, default bb10, loc "ClassSelectorController.swift":54:20, scope 79 // id: %111
  6238.  
  6239. bb9: // Preds: bb8
  6240. %112 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":54:20, scope 79 // user: %117
  6241. %113 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":54:20, scope 79 // user: %117
  6242. %114 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":54:20, scope 79 // user: %117
  6243. %115 = integer_literal $Builtin.Word, 54, loc "ClassSelectorController.swift":54:20, scope 79 // user: %117
  6244. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  6245. %116 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":54:20, scope 79 // user: %117
  6246. %117 = apply %116(%112, %113, %114, %115) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":54:20, scope 79
  6247. unreachable , loc "ClassSelectorController.swift":54:20, scope 79 // id: %118
  6248.  
  6249. bb10: // Preds: bb8
  6250. %119 = unchecked_enum_data %110 : $Optional<UIPickerView>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":54:20, scope 79 // user: %128
  6251. // function_ref Int.init(_builtinIntegerLiteral : Builtin.Int2048) -> Int
  6252. %120 = function_ref @_TFSiCfT22_builtinIntegerLiteralBi2048__Si : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":54:42, scope 79 // user: %123
  6253. %121 = metatype $@thin Int.Type, loc "ClassSelectorController.swift":54:42, scope 79 // user: %123
  6254. %122 = integer_literal $Builtin.Int2048, 0, loc "ClassSelectorController.swift":54:42, scope 79 // user: %123
  6255. %123 = apply %120(%122, %121) : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":54:42, scope 79 // user: %128
  6256. // function_ref Int.init(_builtinIntegerLiteral : Builtin.Int2048) -> Int
  6257. %124 = function_ref @_TFSiCfT22_builtinIntegerLiteralBi2048__Si : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":54:58, scope 79 // user: %127
  6258. %125 = metatype $@thin Int.Type, loc "ClassSelectorController.swift":54:58, scope 79 // user: %127
  6259. %126 = integer_literal $Builtin.Int2048, 0, loc "ClassSelectorController.swift":54:58, scope 79 // user: %127
  6260. %127 = apply %124(%126, %125) : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":54:58, scope 79 // user: %128
  6261. %128 = apply %108(%119, %123, %127, %0) : $@convention(method) (@owned UIPickerView, Int, Int, @guaranteed ClassSelectorController) -> (), loc "ClassSelectorController.swift":54:59, scope 79
  6262. %129 = tuple (), loc "ClassSelectorController.swift":55:5, scope 79 // user: %130
  6263. return %129 : $(), loc "ClassSelectorController.swift":55:5, scope 79 // id: %130
  6264. } // end sil function '_TFC3gpa23ClassSelectorController11viewDidLoadfT_T_'
  6265.  
  6266.  
  6267. // static Information.initializeArray() -> ()
  6268. sil hidden_external @_TZFC3gpa11Information15initializeArrayfT_T_ : $@convention(method) (@thick Information.Type) -> ()
  6269.  
  6270.  
  6271. // _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  6272. sil [transparent] [fragile] @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> ()
  6273.  
  6274.  
  6275. // Bool.init(_builtinBooleanLiteral : Builtin.Int1) -> Bool
  6276. sil [transparent] [fragile] @_TFSbCfT22_builtinBooleanLiteralBi1__Sb : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool
  6277.  
  6278.  
  6279. // _convertBoolToObjCBool(Bool) -> ObjCBool
  6280. sil @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool
  6281.  
  6282. sil_scope 80 { loc "ClassSelectorController.swift":44:19 parent @_TToFC3gpa23ClassSelectorController11viewDidLoadfT_T_ : $@convention(objc_method) (ClassSelectorController) -> () }
  6283.  
  6284. // @objc ClassSelectorController.viewDidLoad() -> ()
  6285. sil hidden [thunk] @_TToFC3gpa23ClassSelectorController11viewDidLoadfT_T_ : $@convention(objc_method) (ClassSelectorController) -> () {
  6286. // %0 // user: %1
  6287. bb0(%0 : $ClassSelectorController):
  6288. %1 = copy_value %0 : $ClassSelectorController, scope 80 // users: %4, %3
  6289. // function_ref ClassSelectorController.viewDidLoad() -> ()
  6290. %2 = function_ref @_TFC3gpa23ClassSelectorController11viewDidLoadfT_T_ : $@convention(method) (@guaranteed ClassSelectorController) -> (), scope 80 // user: %3
  6291. %3 = apply %2(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> (), scope 80 // user: %5
  6292. destroy_value %1 : $ClassSelectorController, scope 80 // id: %4
  6293. return %3 : $(), scope 80 // id: %5
  6294. } // end sil function '_TToFC3gpa23ClassSelectorController11viewDidLoadfT_T_'
  6295.  
  6296. sil_scope 81 { loc "ClassSelectorController.swift":57:19 parent @_TFC3gpa23ClassSelectorController23didReceiveMemoryWarningfT_T_ : $@convention(method) (@guaranteed ClassSelectorController) -> () }
  6297. sil_scope 82 { loc "ClassSelectorController.swift":60:5 parent 81 }
  6298.  
  6299. // ClassSelectorController.didReceiveMemoryWarning() -> ()
  6300. sil hidden @_TFC3gpa23ClassSelectorController23didReceiveMemoryWarningfT_T_ : $@convention(method) (@guaranteed ClassSelectorController) -> () {
  6301. // %0 // users: %2, %1
  6302. bb0(%0 : $ClassSelectorController):
  6303. debug_value %0 : $ClassSelectorController, let, name "self", argno 1, loc "ClassSelectorController.swift":57:19, scope 81 // id: %1
  6304. %2 = copy_value %0 : $ClassSelectorController, loc "ClassSelectorController.swift":58:9, scope 82 // users: %6, %4, %3
  6305. %3 = upcast %2 : $ClassSelectorController to $UIViewController, loc "ClassSelectorController.swift":58:9, scope 82 // user: %5
  6306. %4 = super_method [volatile] %2 : $ClassSelectorController, #UIViewController.didReceiveMemoryWarning!1.foreign : (UIViewController) -> () -> () , $@convention(objc_method) (UIViewController) -> (), loc "ClassSelectorController.swift":58:15, scope 82 // user: %5
  6307. %5 = apply %4(%3) : $@convention(objc_method) (UIViewController) -> (), loc "ClassSelectorController.swift":58:39, scope 82
  6308. destroy_value %2 : $ClassSelectorController, loc "ClassSelectorController.swift":58:39, scope 82 // id: %6
  6309. %7 = tuple (), loc "ClassSelectorController.swift":60:5, scope 82 // user: %8
  6310. return %7 : $(), loc "ClassSelectorController.swift":60:5, scope 82 // id: %8
  6311. } // end sil function '_TFC3gpa23ClassSelectorController23didReceiveMemoryWarningfT_T_'
  6312.  
  6313. sil_scope 83 { loc "ClassSelectorController.swift":57:19 parent @_TToFC3gpa23ClassSelectorController23didReceiveMemoryWarningfT_T_ : $@convention(objc_method) (ClassSelectorController) -> () }
  6314.  
  6315. // @objc ClassSelectorController.didReceiveMemoryWarning() -> ()
  6316. sil hidden [thunk] @_TToFC3gpa23ClassSelectorController23didReceiveMemoryWarningfT_T_ : $@convention(objc_method) (ClassSelectorController) -> () {
  6317. // %0 // user: %1
  6318. bb0(%0 : $ClassSelectorController):
  6319. %1 = copy_value %0 : $ClassSelectorController, scope 83 // users: %4, %3
  6320. // function_ref ClassSelectorController.didReceiveMemoryWarning() -> ()
  6321. %2 = function_ref @_TFC3gpa23ClassSelectorController23didReceiveMemoryWarningfT_T_ : $@convention(method) (@guaranteed ClassSelectorController) -> (), scope 83 // user: %3
  6322. %3 = apply %2(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> (), scope 83 // user: %5
  6323. destroy_value %1 : $ClassSelectorController, scope 83 // id: %4
  6324. return %3 : $(), scope 83 // id: %5
  6325. } // end sil function '_TToFC3gpa23ClassSelectorController23didReceiveMemoryWarningfT_T_'
  6326.  
  6327. sil_scope 84 { loc "ClassSelectorController.swift":62:10 parent @_TFC3gpa23ClassSelectorController10pickerViewfTCSo12UIPickerView11titleForRowSi12forComponentSi_GSqSS_ : $@convention(method) (@owned UIPickerView, Int, Int, @guaranteed ClassSelectorController) -> @owned Optional<String> }
  6328. sil_scope 85 { loc "ClassSelectorController.swift":64:5 parent 84 }
  6329.  
  6330. // ClassSelectorController.pickerView(UIPickerView, titleForRow : Int, forComponent : Int) -> String?
  6331. sil hidden @_TFC3gpa23ClassSelectorController10pickerViewfTCSo12UIPickerView11titleForRowSi12forComponentSi_GSqSS_ : $@convention(method) (@owned UIPickerView, Int, Int, @guaranteed ClassSelectorController) -> @owned Optional<String> {
  6332. // %0 // users: %23, %4
  6333. // %1 // users: %15, %5
  6334. // %2 // user: %6
  6335. // %3 // user: %7
  6336. bb0(%0 : $UIPickerView, %1 : $Int, %2 : $Int, %3 : $ClassSelectorController):
  6337. debug_value %0 : $UIPickerView, let, name "pickerView", argno 1, loc "ClassSelectorController.swift":62:23, scope 84 // id: %4
  6338. debug_value %1 : $Int, let, name "row", argno 2, loc "ClassSelectorController.swift":62:61, scope 84 // id: %5
  6339. debug_value %2 : $Int, let, name "component", argno 3, loc "ClassSelectorController.swift":62:84, scope 84 // id: %6
  6340. debug_value %3 : $ClassSelectorController, let, name "self", argno 4, loc "ClassSelectorController.swift":62:10, scope 84 // id: %7
  6341. %8 = metatype $@thick Information.Type, loc "ClassSelectorController.swift":63:16, scope 85
  6342. // function_ref Information.classesAndGrades.unsafeMutableAddressor
  6343. %9 = function_ref @_TFC3gpa11Informationau16classesAndGradesGSaS0__ : $@convention(thin) () -> Builtin.RawPointer, loc "ClassSelectorController.swift":63:28, scope 85 // user: %10
  6344. %10 = apply %9() : $@convention(thin) () -> Builtin.RawPointer, loc "ClassSelectorController.swift":63:28, scope 85 // user: %11
  6345. %11 = pointer_to_address %10 : $Builtin.RawPointer to [strict] $*Array<Information>, loc "ClassSelectorController.swift":63:28, scope 85 // user: %12
  6346. %12 = load [copy] %11 : $*Array<Information>, loc "ClassSelectorController.swift":63:44, scope 85 // users: %16, %15
  6347. // function_ref Array.subscript.getter
  6348. %13 = function_ref @_TFSag9subscriptFSix : $@convention(method) <τ_0_0> (Int, @guaranteed Array<τ_0_0>) -> @out τ_0_0, loc "ClassSelectorController.swift":63:44, scope 85 // user: %15
  6349. %14 = alloc_stack $Information, loc "ClassSelectorController.swift":63:44, scope 85 // users: %22, %17, %15
  6350. %15 = apply %13<Information>(%14, %1, %12) : $@convention(method) <τ_0_0> (Int, @guaranteed Array<τ_0_0>) -> @out τ_0_0, loc "ClassSelectorController.swift":63:44, scope 85
  6351. destroy_value %12 : $Array<Information>, loc "ClassSelectorController.swift":63:48, scope 85 // id: %16
  6352. %17 = load [take] %14 : $*Information, loc "ClassSelectorController.swift":63:44, scope 85 // users: %20, %19, %18
  6353. %18 = class_method %17 : $Information, #Information.name!getter.1 : (Information) -> () -> String , $@convention(method) (@guaranteed Information) -> @owned String, loc "ClassSelectorController.swift":63:50, scope 85 // user: %19
  6354. %19 = apply %18(%17) : $@convention(method) (@guaranteed Information) -> @owned String, loc "ClassSelectorController.swift":63:50, scope 85 // user: %21
  6355. destroy_value %17 : $Information, loc "ClassSelectorController.swift":63:50, scope 85 // id: %20
  6356. %21 = enum $Optional<String>, #Optional.some!enumelt.1, %19 : $String, loc "ClassSelectorController.swift":63:50, scope 85 // user: %24
  6357. dealloc_stack %14 : $*Information, loc "ClassSelectorController.swift":63:50, scope 85 // id: %22
  6358. destroy_value %0 : $UIPickerView, loc "ClassSelectorController.swift":64:5, scope 85 // id: %23
  6359. return %21 : $Optional<String>, loc "ClassSelectorController.swift":63:9, scope 85 // id: %24
  6360. } // end sil function '_TFC3gpa23ClassSelectorController10pickerViewfTCSo12UIPickerView11titleForRowSi12forComponentSi_GSqSS_'
  6361.  
  6362.  
  6363. // Information.classesAndGrades.unsafeMutableAddressor
  6364. sil hidden_external [global_init] @_TFC3gpa11Informationau16classesAndGradesGSaS0__ : $@convention(thin) () -> Builtin.RawPointer
  6365.  
  6366.  
  6367. // Array.subscript.getter
  6368. sil @_TFSag9subscriptFSix : $@convention(method) <τ_0_0> (Int, @guaranteed Array<τ_0_0>) -> @out τ_0_0
  6369.  
  6370. sil_scope 86 { loc "ClassSelectorController.swift":62:10 parent @_TToFC3gpa23ClassSelectorController10pickerViewfTCSo12UIPickerView11titleForRowSi12forComponentSi_GSqSS_ : $@convention(objc_method) (UIPickerView, Int, Int, ClassSelectorController) -> @autoreleased Optional<NSString> }
  6371.  
  6372. // @objc ClassSelectorController.pickerView(UIPickerView, titleForRow : Int, forComponent : Int) -> String?
  6373. sil hidden [thunk] @_TToFC3gpa23ClassSelectorController10pickerViewfTCSo12UIPickerView11titleForRowSi12forComponentSi_GSqSS_ : $@convention(objc_method) (UIPickerView, Int, Int, ClassSelectorController) -> @autoreleased Optional<NSString> {
  6374. // %0 // user: %4
  6375. // %1 // user: %7
  6376. // %2 // user: %7
  6377. // %3 // user: %5
  6378. bb0(%0 : $UIPickerView, %1 : $Int, %2 : $Int, %3 : $ClassSelectorController):
  6379. %4 = copy_value %0 : $UIPickerView, scope 86 // user: %7
  6380. %5 = copy_value %3 : $ClassSelectorController, scope 86 // users: %8, %7
  6381. // function_ref ClassSelectorController.pickerView(UIPickerView, titleForRow : Int, forComponent : Int) -> String?
  6382. %6 = function_ref @_TFC3gpa23ClassSelectorController10pickerViewfTCSo12UIPickerView11titleForRowSi12forComponentSi_GSqSS_ : $@convention(method) (@owned UIPickerView, Int, Int, @guaranteed ClassSelectorController) -> @owned Optional<String>, scope 86 // user: %7
  6383. %7 = apply %6(%4, %1, %2, %5) : $@convention(method) (@owned UIPickerView, Int, Int, @guaranteed ClassSelectorController) -> @owned Optional<String>, scope 86 // users: %13, %11
  6384. destroy_value %5 : $ClassSelectorController, scope 86 // id: %8
  6385. %9 = integer_literal $Builtin.Int1, -1, scope 86 // user: %11
  6386. %10 = integer_literal $Builtin.Int1, 0, scope 86 // user: %11
  6387. %11 = select_enum %7 : $Optional<String>, case #Optional.some!enumelt.1: %9, default %10 : $Builtin.Int1, scope 86 // user: %12
  6388. cond_br %11, bb1, bb2, scope 86 // id: %12
  6389.  
  6390. bb1: // Preds: bb0
  6391. %13 = unchecked_enum_data %7 : $Optional<String>, #Optional.some!enumelt.1, scope 86 // users: %17, %15
  6392. // function_ref String._bridgeToObjectiveC() -> NSString
  6393. %14 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, scope 86 // user: %15
  6394. %15 = apply %14(%13) : $@convention(method) (@guaranteed String) -> @owned NSString, scope 86 // user: %16
  6395. %16 = enum $Optional<NSString>, #Optional.some!enumelt.1, %15 : $NSString, scope 86 // user: %18
  6396. destroy_value %13 : $String, scope 86 // id: %17
  6397. br bb3(%16 : $Optional<NSString>), scope 86 // id: %18
  6398.  
  6399. bb2: // Preds: bb0
  6400. %19 = enum $Optional<NSString>, #Optional.none!enumelt, scope 86 // user: %20
  6401. br bb3(%19 : $Optional<NSString>), scope 86 // id: %20
  6402.  
  6403. // %21 // user: %22
  6404. bb3(%21 : $Optional<NSString>): // Preds: bb2 bb1
  6405. return %21 : $Optional<NSString>, scope 86 // id: %22
  6406. } // end sil function '_TToFC3gpa23ClassSelectorController10pickerViewfTCSo12UIPickerView11titleForRowSi12forComponentSi_GSqSS_'
  6407.  
  6408.  
  6409. // String._bridgeToObjectiveC() -> NSString
  6410. sil [_semantics "convertToObjectiveC"] @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString
  6411.  
  6412. sil_scope 87 { loc "ClassSelectorController.swift":66:10 parent @_TFC3gpa23ClassSelectorController18numberOfComponentsfT2inCSo12UIPickerView_Si : $@convention(method) (@owned UIPickerView, @guaranteed ClassSelectorController) -> Int }
  6413. sil_scope 88 { loc "ClassSelectorController.swift":68:5 parent 87 }
  6414.  
  6415. // ClassSelectorController.numberOfComponents(in : UIPickerView) -> Int
  6416. sil hidden @_TFC3gpa23ClassSelectorController18numberOfComponentsfT2inCSo12UIPickerView_Si : $@convention(method) (@owned UIPickerView, @guaranteed ClassSelectorController) -> Int {
  6417. // %0 // users: %8, %2
  6418. // %1 // user: %3
  6419. bb0(%0 : $UIPickerView, %1 : $ClassSelectorController):
  6420. debug_value %0 : $UIPickerView, let, name "pickerView", argno 1, loc "ClassSelectorController.swift":66:32, scope 87 // id: %2
  6421. debug_value %1 : $ClassSelectorController, let, name "self", argno 2, loc "ClassSelectorController.swift":66:10, scope 87 // id: %3
  6422. // function_ref Int.init(_builtinIntegerLiteral : Builtin.Int2048) -> Int
  6423. %4 = function_ref @_TFSiCfT22_builtinIntegerLiteralBi2048__Si : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":67:16, scope 88 // user: %7
  6424. %5 = metatype $@thin Int.Type, loc "ClassSelectorController.swift":67:16, scope 88 // user: %7
  6425. %6 = integer_literal $Builtin.Int2048, 1, loc "ClassSelectorController.swift":67:16, scope 88 // user: %7
  6426. %7 = apply %4(%6, %5) : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":67:16, scope 88 // user: %9
  6427. destroy_value %0 : $UIPickerView, loc "ClassSelectorController.swift":68:5, scope 88 // id: %8
  6428. return %7 : $Int, loc "ClassSelectorController.swift":67:9, scope 88 // id: %9
  6429. } // end sil function '_TFC3gpa23ClassSelectorController18numberOfComponentsfT2inCSo12UIPickerView_Si'
  6430.  
  6431. sil_scope 89 { loc "ClassSelectorController.swift":66:10 parent @_TToFC3gpa23ClassSelectorController18numberOfComponentsfT2inCSo12UIPickerView_Si : $@convention(objc_method) (UIPickerView, ClassSelectorController) -> Int }
  6432.  
  6433. // @objc ClassSelectorController.numberOfComponents(in : UIPickerView) -> Int
  6434. sil hidden [thunk] @_TToFC3gpa23ClassSelectorController18numberOfComponentsfT2inCSo12UIPickerView_Si : $@convention(objc_method) (UIPickerView, ClassSelectorController) -> Int {
  6435. // %0 // user: %2
  6436. // %1 // user: %3
  6437. bb0(%0 : $UIPickerView, %1 : $ClassSelectorController):
  6438. %2 = copy_value %0 : $UIPickerView, scope 89 // user: %5
  6439. %3 = copy_value %1 : $ClassSelectorController, scope 89 // users: %6, %5
  6440. // function_ref ClassSelectorController.numberOfComponents(in : UIPickerView) -> Int
  6441. %4 = function_ref @_TFC3gpa23ClassSelectorController18numberOfComponentsfT2inCSo12UIPickerView_Si : $@convention(method) (@owned UIPickerView, @guaranteed ClassSelectorController) -> Int, scope 89 // user: %5
  6442. %5 = apply %4(%2, %3) : $@convention(method) (@owned UIPickerView, @guaranteed ClassSelectorController) -> Int, scope 89 // user: %7
  6443. destroy_value %3 : $ClassSelectorController, scope 89 // id: %6
  6444. return %5 : $Int, scope 89 // id: %7
  6445. } // end sil function '_TToFC3gpa23ClassSelectorController18numberOfComponentsfT2inCSo12UIPickerView_Si'
  6446.  
  6447. sil_scope 90 { loc "ClassSelectorController.swift":70:10 parent @_TFC3gpa23ClassSelectorController10pickerViewfTCSo12UIPickerView23numberOfRowsInComponentSi_Si : $@convention(method) (@owned UIPickerView, Int, @guaranteed ClassSelectorController) -> Int }
  6448. sil_scope 91 { loc "ClassSelectorController.swift":72:5 parent 90 }
  6449.  
  6450. // ClassSelectorController.pickerView(UIPickerView, numberOfRowsInComponent : Int) -> Int
  6451. sil hidden @_TFC3gpa23ClassSelectorController10pickerViewfTCSo12UIPickerView23numberOfRowsInComponentSi_Si : $@convention(method) (@owned UIPickerView, Int, @guaranteed ClassSelectorController) -> Int {
  6452. // %0 // users: %14, %3
  6453. // %1 // user: %4
  6454. // %2 // user: %5
  6455. bb0(%0 : $UIPickerView, %1 : $Int, %2 : $ClassSelectorController):
  6456. debug_value %0 : $UIPickerView, let, name "pickerView", argno 1, loc "ClassSelectorController.swift":70:23, scope 90 // id: %3
  6457. debug_value %1 : $Int, let, name "component", argno 2, loc "ClassSelectorController.swift":70:73, scope 90 // id: %4
  6458. debug_value %2 : $ClassSelectorController, let, name "self", argno 3, loc "ClassSelectorController.swift":70:10, scope 90 // id: %5
  6459. %6 = metatype $@thick Information.Type, loc "ClassSelectorController.swift":71:16, scope 91
  6460. // function_ref Information.classesAndGrades.unsafeMutableAddressor
  6461. %7 = function_ref @_TFC3gpa11Informationau16classesAndGradesGSaS0__ : $@convention(thin) () -> Builtin.RawPointer, loc "ClassSelectorController.swift":71:28, scope 91 // user: %8
  6462. %8 = apply %7() : $@convention(thin) () -> Builtin.RawPointer, loc "ClassSelectorController.swift":71:28, scope 91 // user: %9
  6463. %9 = pointer_to_address %8 : $Builtin.RawPointer to [strict] $*Array<Information>, loc "ClassSelectorController.swift":71:28, scope 91 // user: %10
  6464. %10 = load [copy] %9 : $*Array<Information>, loc "ClassSelectorController.swift":71:28, scope 91 // users: %13, %12
  6465. // function_ref Array.count.getter
  6466. %11 = function_ref @_TFSag5countSi : $@convention(method) <τ_0_0> (@guaranteed Array<τ_0_0>) -> Int, loc "ClassSelectorController.swift":71:45, scope 91 // user: %12
  6467. %12 = apply %11<Information>(%10) : $@convention(method) <τ_0_0> (@guaranteed Array<τ_0_0>) -> Int, loc "ClassSelectorController.swift":71:45, scope 91 // user: %15
  6468. destroy_value %10 : $Array<Information>, loc "ClassSelectorController.swift":71:45, scope 91 // id: %13
  6469. destroy_value %0 : $UIPickerView, loc "ClassSelectorController.swift":72:5, scope 91 // id: %14
  6470. return %12 : $Int, loc "ClassSelectorController.swift":71:9, scope 91 // id: %15
  6471. } // end sil function '_TFC3gpa23ClassSelectorController10pickerViewfTCSo12UIPickerView23numberOfRowsInComponentSi_Si'
  6472.  
  6473.  
  6474. // Array.count.getter
  6475. sil @_TFSag5countSi : $@convention(method) <τ_0_0> (@guaranteed Array<τ_0_0>) -> Int
  6476.  
  6477. sil_scope 92 { loc "ClassSelectorController.swift":70:10 parent @_TToFC3gpa23ClassSelectorController10pickerViewfTCSo12UIPickerView23numberOfRowsInComponentSi_Si : $@convention(objc_method) (UIPickerView, Int, ClassSelectorController) -> Int }
  6478.  
  6479. // @objc ClassSelectorController.pickerView(UIPickerView, numberOfRowsInComponent : Int) -> Int
  6480. sil hidden [thunk] @_TToFC3gpa23ClassSelectorController10pickerViewfTCSo12UIPickerView23numberOfRowsInComponentSi_Si : $@convention(objc_method) (UIPickerView, Int, ClassSelectorController) -> Int {
  6481. // %0 // user: %3
  6482. // %1 // user: %6
  6483. // %2 // user: %4
  6484. bb0(%0 : $UIPickerView, %1 : $Int, %2 : $ClassSelectorController):
  6485. %3 = copy_value %0 : $UIPickerView, scope 92 // user: %6
  6486. %4 = copy_value %2 : $ClassSelectorController, scope 92 // users: %7, %6
  6487. // function_ref ClassSelectorController.pickerView(UIPickerView, numberOfRowsInComponent : Int) -> Int
  6488. %5 = function_ref @_TFC3gpa23ClassSelectorController10pickerViewfTCSo12UIPickerView23numberOfRowsInComponentSi_Si : $@convention(method) (@owned UIPickerView, Int, @guaranteed ClassSelectorController) -> Int, scope 92 // user: %6
  6489. %6 = apply %5(%3, %1, %4) : $@convention(method) (@owned UIPickerView, Int, @guaranteed ClassSelectorController) -> Int, scope 92 // user: %8
  6490. destroy_value %4 : $ClassSelectorController, scope 92 // id: %7
  6491. return %6 : $Int, scope 92 // id: %8
  6492. } // end sil function '_TToFC3gpa23ClassSelectorController10pickerViewfTCSo12UIPickerView23numberOfRowsInComponentSi_Si'
  6493.  
  6494. sil_scope 93 { loc "ClassSelectorController.swift":74:10 parent @_TFC3gpa23ClassSelectorController10pickerViewfTCSo12UIPickerView12didSelectRowSi11inComponentSi_T_ : $@convention(method) (@owned UIPickerView, Int, Int, @guaranteed ClassSelectorController) -> () }
  6495. sil_scope 94 { loc "ClassSelectorController.swift":106:5 parent 93 }
  6496. sil_scope 95 { loc "ClassSelectorController.swift":93:9 parent 94 }
  6497. sil_scope 96 { loc "ClassSelectorController.swift":83:40 parent 94 }
  6498. sil_scope 97 { loc "ClassSelectorController.swift":93:9 parent 94 }
  6499. sil_scope 98 { loc "ClassSelectorController.swift":86:40 parent 94 }
  6500. sil_scope 99 { loc "ClassSelectorController.swift":93:9 parent 94 }
  6501. sil_scope 100 { loc "ClassSelectorController.swift":89:40 parent 94 }
  6502. sil_scope 101 { loc "ClassSelectorController.swift":93:9 parent 94 }
  6503. sil_scope 102 { loc "ClassSelectorController.swift":92:93 parent 94 }
  6504. sil_scope 103 { loc "ClassSelectorController.swift":105:9 parent 94 }
  6505. sil_scope 104 { loc "ClassSelectorController.swift":98:37 parent 94 }
  6506. sil_scope 105 { loc "ClassSelectorController.swift":105:9 parent 94 }
  6507. sil_scope 106 { loc "ClassSelectorController.swift":101:37 parent 94 }
  6508. sil_scope 107 { loc "ClassSelectorController.swift":105:9 parent 94 }
  6509. sil_scope 108 { loc "ClassSelectorController.swift":104:87 parent 94 }
  6510.  
  6511. // ClassSelectorController.pickerView(UIPickerView, didSelectRow : Int, inComponent : Int) -> ()
  6512. sil hidden @_TFC3gpa23ClassSelectorController10pickerViewfTCSo12UIPickerView12didSelectRowSi11inComponentSi_T_ : $@convention(method) (@owned UIPickerView, Int, Int, @guaranteed ClassSelectorController) -> () {
  6513. // %0 // users: %811, %4
  6514. // %1 // users: %9, %5
  6515. // %2 // user: %6
  6516. // %3 // users: %764, %763, %725, %724, %702, %701, %659, %658, %636, %635, %577, %576, %554, %553, %525, %524, %473, %472, %434, %433, %411, %410, %368, %367, %345, %344, %286, %285, %263, %262, %204, %203, %181, %180, %152, %151, %101, %100, %62, %61, %29, %28, %12, %11, %9, %8, %7
  6517. bb0(%0 : $UIPickerView, %1 : $Int, %2 : $Int, %3 : $ClassSelectorController):
  6518. debug_value %0 : $UIPickerView, let, name "pickerView", argno 1, loc "ClassSelectorController.swift":74:23, scope 93 // id: %4
  6519. debug_value %1 : $Int, let, name "row", argno 2, loc "ClassSelectorController.swift":74:62, scope 93 // id: %5
  6520. debug_value %2 : $Int, let, name "component", argno 3, loc "ClassSelectorController.swift":74:84, scope 93 // id: %6
  6521. debug_value %3 : $ClassSelectorController, let, name "self", argno 4, loc "ClassSelectorController.swift":74:10, scope 93 // id: %7
  6522. %8 = class_method %3 : $ClassSelectorController, #ClassSelectorController.selected!setter.1 : (ClassSelectorController) -> (Int) -> () , $@convention(method) (Int, @guaranteed ClassSelectorController) -> (), loc "ClassSelectorController.swift":75:18, scope 94 // user: %9
  6523. %9 = apply %8(%1, %3) : $@convention(method) (Int, @guaranteed ClassSelectorController) -> (), loc "ClassSelectorController.swift":75:18, scope 94
  6524. %10 = alloc_stack $Optional<UITextField>, loc "ClassSelectorController.swift":77:9, scope 94 // users: %59, %22, %14, %13
  6525. %11 = class_method %3 : $ClassSelectorController, #ClassSelectorController.classNameField!getter.1 : (ClassSelectorController) -> () -> UITextField! , $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, loc "ClassSelectorController.swift":77:9, scope 94 // user: %12
  6526. %12 = apply %11(%3) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, loc "ClassSelectorController.swift":77:9, scope 94 // user: %13
  6527. store %12 to [init] %10 : $*Optional<UITextField>, loc "ClassSelectorController.swift":77:9, scope 94 // id: %13
  6528. switch_enum_addr %10 : $*Optional<UITextField>, case #Optional.none!enumelt: bb1, default bb2, loc "ClassSelectorController.swift":77:9, scope 94 // id: %14
  6529.  
  6530. bb1: // Preds: bb0
  6531. %15 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":77:9, scope 94 // user: %20
  6532. %16 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":77:9, scope 94 // user: %20
  6533. %17 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":77:9, scope 94 // user: %20
  6534. %18 = integer_literal $Builtin.Word, 77, loc "ClassSelectorController.swift":77:9, scope 94 // user: %20
  6535. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  6536. %19 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":77:9, scope 94 // user: %20
  6537. %20 = apply %19(%15, %16, %17, %18) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":77:9, scope 94
  6538. unreachable , loc "ClassSelectorController.swift":77:9, scope 94 // id: %21
  6539.  
  6540. bb2: // Preds: bb0
  6541. %22 = unchecked_take_enum_data_addr %10 : $*Optional<UITextField>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":77:9, scope 94 // users: %58, %23
  6542. %23 = load [copy] %22 : $*UITextField, loc "ClassSelectorController.swift":77:9, scope 94 // users: %57, %54, %40
  6543. %24 = metatype $@thick Information.Type, loc "ClassSelectorController.swift":77:31, scope 94
  6544. // function_ref Information.classesAndGrades.unsafeMutableAddressor
  6545. %25 = function_ref @_TFC3gpa11Informationau16classesAndGradesGSaS0__ : $@convention(thin) () -> Builtin.RawPointer, loc "ClassSelectorController.swift":77:43, scope 94 // user: %26
  6546. %26 = apply %25() : $@convention(thin) () -> Builtin.RawPointer, loc "ClassSelectorController.swift":77:43, scope 94 // user: %27
  6547. %27 = pointer_to_address %26 : $Builtin.RawPointer to [strict] $*Array<Information>, loc "ClassSelectorController.swift":77:43, scope 94 // user: %30
  6548. %28 = class_method %3 : $ClassSelectorController, #ClassSelectorController.selected!getter.1 : (ClassSelectorController) -> () -> Int , $@convention(method) (@guaranteed ClassSelectorController) -> Int, loc "ClassSelectorController.swift":77:60, scope 94 // user: %29
  6549. %29 = apply %28(%3) : $@convention(method) (@guaranteed ClassSelectorController) -> Int, loc "ClassSelectorController.swift":77:60, scope 94 // user: %33
  6550. %30 = load [copy] %27 : $*Array<Information>, loc "ClassSelectorController.swift":77:59, scope 94 // users: %34, %33
  6551. // function_ref Array.subscript.getter
  6552. %31 = function_ref @_TFSag9subscriptFSix : $@convention(method) <τ_0_0> (Int, @guaranteed Array<τ_0_0>) -> @out τ_0_0, loc "ClassSelectorController.swift":77:59, scope 94 // user: %33
  6553. %32 = alloc_stack $Information, loc "ClassSelectorController.swift":77:59, scope 94 // users: %56, %35, %33
  6554. %33 = apply %31<Information>(%32, %29, %30) : $@convention(method) <τ_0_0> (Int, @guaranteed Array<τ_0_0>) -> @out τ_0_0, loc "ClassSelectorController.swift":77:59, scope 94
  6555. destroy_value %30 : $Array<Information>, loc "ClassSelectorController.swift":77:68, scope 94 // id: %34
  6556. %35 = load [take] %32 : $*Information, loc "ClassSelectorController.swift":77:59, scope 94 // users: %38, %37, %36
  6557. %36 = class_method %35 : $Information, #Information.name!getter.1 : (Information) -> () -> String , $@convention(method) (@guaranteed Information) -> @owned String, loc "ClassSelectorController.swift":77:70, scope 94 // user: %37
  6558. %37 = apply %36(%35) : $@convention(method) (@guaranteed Information) -> @owned String, loc "ClassSelectorController.swift":77:70, scope 94 // user: %39
  6559. destroy_value %35 : $Information, loc "ClassSelectorController.swift":77:70, scope 94 // id: %38
  6560. %39 = enum $Optional<String>, #Optional.some!enumelt.1, %37 : $String, loc "ClassSelectorController.swift":77:70, scope 94 // users: %45, %43
  6561. %40 = class_method [volatile] %23 : $UITextField, #UITextField.text!setter.1.foreign : (UITextField) -> (String?) -> () , $@convention(objc_method) (Optional<NSString>, UITextField) -> (), loc "ClassSelectorController.swift":77:29, scope 94 // user: %54
  6562. %41 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":77:29, scope 94 // user: %43
  6563. %42 = integer_literal $Builtin.Int1, 0, loc "ClassSelectorController.swift":77:29, scope 94 // user: %43
  6564. %43 = select_enum %39 : $Optional<String>, case #Optional.some!enumelt.1: %41, default %42 : $Builtin.Int1, loc "ClassSelectorController.swift":77:29, scope 94 // user: %44
  6565. cond_br %43, bb3, bb4, loc "ClassSelectorController.swift":77:29, scope 94 // id: %44
  6566.  
  6567. bb3: // Preds: bb2
  6568. %45 = unchecked_enum_data %39 : $Optional<String>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":77:29, scope 94 // users: %49, %47
  6569. // function_ref String._bridgeToObjectiveC() -> NSString
  6570. %46 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassSelectorController.swift":77:29, scope 94 // user: %47
  6571. %47 = apply %46(%45) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassSelectorController.swift":77:29, scope 94 // user: %48
  6572. %48 = enum $Optional<NSString>, #Optional.some!enumelt.1, %47 : $NSString, loc "ClassSelectorController.swift":77:29, scope 94 // user: %50
  6573. destroy_value %45 : $String, loc "ClassSelectorController.swift":77:70, scope 94 // id: %49
  6574. br bb5(%48 : $Optional<NSString>), loc "ClassSelectorController.swift":77:29, scope 94 // id: %50
  6575.  
  6576. bb4: // Preds: bb2
  6577. %51 = enum $Optional<NSString>, #Optional.none!enumelt, loc "ClassSelectorController.swift":77:29, scope 94 // user: %52
  6578. br bb5(%51 : $Optional<NSString>), loc "ClassSelectorController.swift":77:29, scope 94 // id: %52
  6579.  
  6580. // %53 // users: %55, %54
  6581. bb5(%53 : $Optional<NSString>): // Preds: bb4 bb3
  6582. %54 = apply %40(%53, %23) : $@convention(objc_method) (Optional<NSString>, UITextField) -> (), loc "ClassSelectorController.swift":77:29, scope 94
  6583. destroy_value %53 : $Optional<NSString>, loc "ClassSelectorController.swift":77:70, scope 94 // id: %55
  6584. dealloc_stack %32 : $*Information, loc "ClassSelectorController.swift":77:70, scope 94 // id: %56
  6585. destroy_value %23 : $UITextField, loc "ClassSelectorController.swift":77:70, scope 94 // id: %57
  6586. destroy_addr %22 : $*UITextField, loc "ClassSelectorController.swift":77:70, scope 94 // id: %58
  6587. dealloc_stack %10 : $*Optional<UITextField>, loc "ClassSelectorController.swift":77:70, scope 94 // id: %59
  6588. %60 = alloc_stack $Optional<UITextField>, loc "ClassSelectorController.swift":78:9, scope 94 // users: %146, %72, %64, %63
  6589. %61 = class_method %3 : $ClassSelectorController, #ClassSelectorController.currentGradeField!getter.1 : (ClassSelectorController) -> () -> UITextField! , $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, loc "ClassSelectorController.swift":78:9, scope 94 // user: %62
  6590. %62 = apply %61(%3) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, loc "ClassSelectorController.swift":78:9, scope 94 // user: %63
  6591. store %62 to [init] %60 : $*Optional<UITextField>, loc "ClassSelectorController.swift":78:9, scope 94 // id: %63
  6592. switch_enum_addr %60 : $*Optional<UITextField>, case #Optional.none!enumelt: bb6, default bb7, loc "ClassSelectorController.swift":78:9, scope 94 // id: %64
  6593.  
  6594. bb6: // Preds: bb5
  6595. %65 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":78:9, scope 94 // user: %70
  6596. %66 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":78:9, scope 94 // user: %70
  6597. %67 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":78:9, scope 94 // user: %70
  6598. %68 = integer_literal $Builtin.Word, 78, loc "ClassSelectorController.swift":78:9, scope 94 // user: %70
  6599. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  6600. %69 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":78:9, scope 94 // user: %70
  6601. %70 = apply %69(%65, %66, %67, %68) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":78:9, scope 94
  6602. unreachable , loc "ClassSelectorController.swift":78:9, scope 94 // id: %71
  6603.  
  6604. bb7: // Preds: bb5
  6605. %72 = unchecked_take_enum_data_addr %60 : $*Optional<UITextField>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":78:9, scope 94 // users: %145, %73
  6606. %73 = load [copy] %72 : $*UITextField, loc "ClassSelectorController.swift":78:9, scope 94 // users: %144, %141, %127
  6607. // function_ref String.init(stringInterpolation : [String]...) -> String
  6608. %74 = function_ref @_TFSSCft19stringInterpolationGSaSS__SS : $@convention(method) (@owned Array<String>, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":78:34, scope 94 // user: %125
  6609. %75 = metatype $@thin String.Type, loc "ClassSelectorController.swift":78:34, scope 94 // user: %125
  6610. %76 = integer_literal $Builtin.Word, 3, loc "ClassSelectorController.swift":78:34, scope 94 // user: %78
  6611. // function_ref _allocateUninitializedArray<A> (Builtin.Word) -> ([A], Builtin.RawPointer)
  6612. %77 = function_ref @_TFs27_allocateUninitializedArrayurFBwTGSax_Bp_ : $@convention(thin) <τ_0_0> (Builtin.Word) -> (@owned Array<τ_0_0>, Builtin.RawPointer), loc "ClassSelectorController.swift":78:34, scope 94 // user: %78
  6613. %78 = apply %77<String>(%76) : $@convention(thin) <τ_0_0> (Builtin.Word) -> (@owned Array<τ_0_0>, Builtin.RawPointer), loc "ClassSelectorController.swift":78:34, scope 94 // users: %80, %79
  6614. %79 = tuple_extract %78 : $(Array<String>, Builtin.RawPointer), 0, loc "ClassSelectorController.swift":78:34, scope 94 // user: %125
  6615. %80 = tuple_extract %78 : $(Array<String>, Builtin.RawPointer), 1, loc "ClassSelectorController.swift":78:34, scope 94 // user: %81
  6616. %81 = pointer_to_address %80 : $Builtin.RawPointer to [strict] $*String, loc "ClassSelectorController.swift":78:34, scope 94 // users: %114, %93, %91
  6617. // function_ref String.init(stringInterpolationSegment : String) -> String
  6618. %82 = function_ref @_TFSSCfT26stringInterpolationSegmentSS_SS : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":78:34, scope 94 // user: %90
  6619. %83 = metatype $@thin String.Type, loc "ClassSelectorController.swift":78:34, scope 94 // user: %90
  6620. %84 = string_literal utf8 "", loc "ClassSelectorController.swift":78:34, scope 94 // user: %89
  6621. %85 = integer_literal $Builtin.Word, 0, loc "ClassSelectorController.swift":78:34, scope 94 // user: %89
  6622. %86 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":78:34, scope 94 // user: %89
  6623. %87 = metatype $@thin String.Type, loc "ClassSelectorController.swift":78:34, scope 94 // user: %89
  6624. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  6625. %88 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":78:34, scope 94 // user: %89
  6626. %89 = apply %88(%84, %85, %86, %87) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":78:34, scope 94 // user: %90
  6627. %90 = apply %82(%89, %83) : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":78:34, scope 94 // user: %91
  6628. store %90 to [init] %81 : $*String, loc "ClassSelectorController.swift":78:34, scope 94 // id: %91
  6629. %92 = integer_literal $Builtin.Word, 1, loc "ClassSelectorController.swift":78:81, scope 94 // user: %93
  6630. %93 = index_addr %81 : $*String, %92 : $Builtin.Word, loc "ClassSelectorController.swift":78:81, scope 94 // user: %112
  6631. // function_ref String.init(stringInterpolationSegment : Int) -> String
  6632. %94 = function_ref @_TFSSCfT26stringInterpolationSegmentSi_SS : $@convention(method) (Int, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":78:34, scope 94 // user: %111
  6633. %95 = metatype $@thin String.Type, loc "ClassSelectorController.swift":78:34, scope 94 // user: %111
  6634. %96 = metatype $@thick Information.Type, loc "ClassSelectorController.swift":78:37, scope 94
  6635. // function_ref Information.classesAndGrades.unsafeMutableAddressor
  6636. %97 = function_ref @_TFC3gpa11Informationau16classesAndGradesGSaS0__ : $@convention(thin) () -> Builtin.RawPointer, loc "ClassSelectorController.swift":78:49, scope 94 // user: %98
  6637. %98 = apply %97() : $@convention(thin) () -> Builtin.RawPointer, loc "ClassSelectorController.swift":78:49, scope 94 // user: %99
  6638. %99 = pointer_to_address %98 : $Builtin.RawPointer to [strict] $*Array<Information>, loc "ClassSelectorController.swift":78:49, scope 94 // user: %102
  6639. %100 = class_method %3 : $ClassSelectorController, #ClassSelectorController.selected!getter.1 : (ClassSelectorController) -> () -> Int , $@convention(method) (@guaranteed ClassSelectorController) -> Int, loc "ClassSelectorController.swift":78:66, scope 94 // user: %101
  6640. %101 = apply %100(%3) : $@convention(method) (@guaranteed ClassSelectorController) -> Int, loc "ClassSelectorController.swift":78:66, scope 94 // user: %105
  6641. %102 = load [copy] %99 : $*Array<Information>, loc "ClassSelectorController.swift":78:65, scope 94 // users: %106, %105
  6642. // function_ref Array.subscript.getter
  6643. %103 = function_ref @_TFSag9subscriptFSix : $@convention(method) <τ_0_0> (Int, @guaranteed Array<τ_0_0>) -> @out τ_0_0, loc "ClassSelectorController.swift":78:65, scope 94 // user: %105
  6644. %104 = alloc_stack $Information, loc "ClassSelectorController.swift":78:65, scope 94 // users: %143, %107, %105
  6645. %105 = apply %103<Information>(%104, %101, %102) : $@convention(method) <τ_0_0> (Int, @guaranteed Array<τ_0_0>) -> @out τ_0_0, loc "ClassSelectorController.swift":78:65, scope 94
  6646. destroy_value %102 : $Array<Information>, loc "ClassSelectorController.swift":78:74, scope 94 // id: %106
  6647. %107 = load [take] %104 : $*Information, loc "ClassSelectorController.swift":78:65, scope 94 // users: %110, %109, %108
  6648. %108 = class_method %107 : $Information, #Information.grade!getter.1 : (Information) -> () -> Int , $@convention(method) (@guaranteed Information) -> Int, loc "ClassSelectorController.swift":78:76, scope 94 // user: %109
  6649. %109 = apply %108(%107) : $@convention(method) (@guaranteed Information) -> Int, loc "ClassSelectorController.swift":78:76, scope 94 // user: %111
  6650. destroy_value %107 : $Information, loc "ClassSelectorController.swift":78:81, scope 94 // id: %110
  6651. %111 = apply %94(%109, %95) : $@convention(method) (Int, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":78:81, scope 94 // user: %112
  6652. store %111 to [init] %93 : $*String, loc "ClassSelectorController.swift":78:81, scope 94 // id: %112
  6653. %113 = integer_literal $Builtin.Word, 2, loc "ClassSelectorController.swift":78:82, scope 94 // user: %114
  6654. %114 = index_addr %81 : $*String, %113 : $Builtin.Word, loc "ClassSelectorController.swift":78:82, scope 94 // user: %124
  6655. // function_ref String.init(stringInterpolationSegment : String) -> String
  6656. %115 = function_ref @_TFSSCfT26stringInterpolationSegmentSS_SS : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":78:34, scope 94 // user: %123
  6657. %116 = metatype $@thin String.Type, loc "ClassSelectorController.swift":78:34, scope 94 // user: %123
  6658. %117 = string_literal utf8 "", loc "ClassSelectorController.swift":78:82, scope 94 // user: %122
  6659. %118 = integer_literal $Builtin.Word, 0, loc "ClassSelectorController.swift":78:82, scope 94 // user: %122
  6660. %119 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":78:82, scope 94 // user: %122
  6661. %120 = metatype $@thin String.Type, loc "ClassSelectorController.swift":78:82, scope 94 // user: %122
  6662. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  6663. %121 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":78:82, scope 94 // user: %122
  6664. %122 = apply %121(%117, %118, %119, %120) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":78:82, scope 94 // user: %123
  6665. %123 = apply %115(%122, %116) : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":78:82, scope 94 // user: %124
  6666. store %123 to [init] %114 : $*String, loc "ClassSelectorController.swift":78:82, scope 94 // id: %124
  6667. %125 = apply %74(%79, %75) : $@convention(method) (@owned Array<String>, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":78:82, scope 94 // user: %126
  6668. %126 = enum $Optional<String>, #Optional.some!enumelt.1, %125 : $String, loc "ClassSelectorController.swift":78:34, scope 94 // users: %132, %130
  6669. %127 = class_method [volatile] %73 : $UITextField, #UITextField.text!setter.1.foreign : (UITextField) -> (String?) -> () , $@convention(objc_method) (Optional<NSString>, UITextField) -> (), loc "ClassSelectorController.swift":78:32, scope 94 // user: %141
  6670. %128 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":78:32, scope 94 // user: %130
  6671. %129 = integer_literal $Builtin.Int1, 0, loc "ClassSelectorController.swift":78:32, scope 94 // user: %130
  6672. %130 = select_enum %126 : $Optional<String>, case #Optional.some!enumelt.1: %128, default %129 : $Builtin.Int1, loc "ClassSelectorController.swift":78:32, scope 94 // user: %131
  6673. cond_br %130, bb8, bb9, loc "ClassSelectorController.swift":78:32, scope 94 // id: %131
  6674.  
  6675. bb8: // Preds: bb7
  6676. %132 = unchecked_enum_data %126 : $Optional<String>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":78:32, scope 94 // users: %136, %134
  6677. // function_ref String._bridgeToObjectiveC() -> NSString
  6678. %133 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassSelectorController.swift":78:32, scope 94 // user: %134
  6679. %134 = apply %133(%132) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassSelectorController.swift":78:32, scope 94 // user: %135
  6680. %135 = enum $Optional<NSString>, #Optional.some!enumelt.1, %134 : $NSString, loc "ClassSelectorController.swift":78:32, scope 94 // user: %137
  6681. destroy_value %132 : $String, loc "ClassSelectorController.swift":78:34, scope 94 // id: %136
  6682. br bb10(%135 : $Optional<NSString>), loc "ClassSelectorController.swift":78:32, scope 94 // id: %137
  6683.  
  6684. bb9: // Preds: bb7
  6685. %138 = enum $Optional<NSString>, #Optional.none!enumelt, loc "ClassSelectorController.swift":78:32, scope 94 // user: %139
  6686. br bb10(%138 : $Optional<NSString>), loc "ClassSelectorController.swift":78:32, scope 94 // id: %139
  6687.  
  6688. // %140 // users: %142, %141
  6689. bb10(%140 : $Optional<NSString>): // Preds: bb9 bb8
  6690. %141 = apply %127(%140, %73) : $@convention(objc_method) (Optional<NSString>, UITextField) -> (), loc "ClassSelectorController.swift":78:32, scope 94
  6691. destroy_value %140 : $Optional<NSString>, loc "ClassSelectorController.swift":78:34, scope 94 // id: %142
  6692. dealloc_stack %104 : $*Information, loc "ClassSelectorController.swift":78:34, scope 94 // id: %143
  6693. destroy_value %73 : $UITextField, loc "ClassSelectorController.swift":78:34, scope 94 // id: %144
  6694. destroy_addr %72 : $*UITextField, loc "ClassSelectorController.swift":78:34, scope 94 // id: %145
  6695. dealloc_stack %60 : $*Optional<UITextField>, loc "ClassSelectorController.swift":78:34, scope 94 // id: %146
  6696. %147 = metatype $@thick Information.Type, loc "ClassSelectorController.swift":80:16, scope 94
  6697. // function_ref Information.classesAndGrades.unsafeMutableAddressor
  6698. %148 = function_ref @_TFC3gpa11Informationau16classesAndGradesGSaS0__ : $@convention(thin) () -> Builtin.RawPointer, loc "ClassSelectorController.swift":80:28, scope 94 // user: %149
  6699. %149 = apply %148() : $@convention(thin) () -> Builtin.RawPointer, loc "ClassSelectorController.swift":80:28, scope 94 // user: %150
  6700. %150 = pointer_to_address %149 : $Builtin.RawPointer to [strict] $*Array<Information>, loc "ClassSelectorController.swift":80:28, scope 94 // user: %153
  6701. %151 = class_method %3 : $ClassSelectorController, #ClassSelectorController.selected!getter.1 : (ClassSelectorController) -> () -> Int , $@convention(method) (@guaranteed ClassSelectorController) -> Int, loc "ClassSelectorController.swift":80:45, scope 94 // user: %152
  6702. %152 = apply %151(%3) : $@convention(method) (@guaranteed ClassSelectorController) -> Int, loc "ClassSelectorController.swift":80:45, scope 94 // user: %156
  6703. %153 = load [copy] %150 : $*Array<Information>, loc "ClassSelectorController.swift":80:44, scope 94 // users: %157, %156
  6704. // function_ref Array.subscript.getter
  6705. %154 = function_ref @_TFSag9subscriptFSix : $@convention(method) <τ_0_0> (Int, @guaranteed Array<τ_0_0>) -> @out τ_0_0, loc "ClassSelectorController.swift":80:44, scope 94 // user: %156
  6706. %155 = alloc_stack $Information, loc "ClassSelectorController.swift":80:44, scope 94 // users: %408, %342, %260, %178, %158, %156
  6707. %156 = apply %154<Information>(%155, %152, %153) : $@convention(method) <τ_0_0> (Int, @guaranteed Array<τ_0_0>) -> @out τ_0_0, loc "ClassSelectorController.swift":80:44, scope 94
  6708. destroy_value %153 : $Array<Information>, loc "ClassSelectorController.swift":80:53, scope 94 // id: %157
  6709. %158 = load [take] %155 : $*Information, loc "ClassSelectorController.swift":80:44, scope 94 // users: %161, %160, %159
  6710. %159 = class_method %158 : $Information, #Information.multiplier!getter.1 : (Information) -> () -> Double , $@convention(method) (@guaranteed Information) -> Double, loc "ClassSelectorController.swift":80:55, scope 94 // user: %160
  6711. %160 = apply %159(%158) : $@convention(method) (@guaranteed Information) -> Double, loc "ClassSelectorController.swift":80:55, scope 94 // users: %336, %326, %254, %244, %172, %162
  6712. destroy_value %158 : $Information, loc "ClassSelectorController.swift":80:55, scope 94 // id: %161
  6713. debug_value %160 : $Double, let, name "$match", loc "ClassSelectorController.swift":81:18, scope 95 // id: %162
  6714. // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
  6715. %163 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "ClassSelectorController.swift":81:18, scope 95 // user: %174
  6716. // function_ref ~= infix<A where ...> (A, A) -> Bool
  6717. %164 = function_ref @_TFsoi2teuRxs9EquatablerFTxx_Sb : $@convention(thin) <τ_0_0 where τ_0_0 : Equatable> (@in τ_0_0, @in τ_0_0) -> Bool, loc "ClassSelectorController.swift":81:18, scope 95 // user: %173
  6718. // function_ref Double.init(_builtinFloatLiteral : Builtin.Float64) -> Double
  6719. %165 = function_ref @_TFSdCfT20_builtinFloatLiteralBf64__Sd : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "ClassSelectorController.swift":81:18, scope 95 // user: %168
  6720. %166 = metatype $@thin Double.Type, loc "ClassSelectorController.swift":81:18, scope 95 // user: %168
  6721. %167 = float_literal $Builtin.FPIEEE64, 0x3FF0000000000000 // 1, loc "ClassSelectorController.swift":81:18, scope 95 // user: %168
  6722. %168 = apply %165(%167, %166) : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "ClassSelectorController.swift":81:18, scope 95 // user: %170
  6723. %169 = alloc_stack $Double, loc "ClassSelectorController.swift":81:18, scope 95 // users: %176, %173, %170
  6724. store %168 to [trivial] %169 : $*Double, loc "ClassSelectorController.swift":81:18, scope 95 // id: %170
  6725. %171 = alloc_stack $Double, loc "ClassSelectorController.swift":81:18, scope 95 // users: %175, %173, %172
  6726. store %160 to [trivial] %171 : $*Double, loc "ClassSelectorController.swift":81:18, scope 95 // id: %172
  6727. %173 = apply %164<Double>(%169, %171) : $@convention(thin) <τ_0_0 where τ_0_0 : Equatable> (@in τ_0_0, @in τ_0_0) -> Bool, loc "ClassSelectorController.swift":81:18, scope 95 // user: %174
  6728. %174 = apply %163(%173) : $@convention(method) (Bool) -> Builtin.Int1, loc "ClassSelectorController.swift":81:18, scope 95 // user: %177
  6729. dealloc_stack %171 : $*Double, loc "ClassSelectorController.swift":81:18, scope 95 // id: %175
  6730. dealloc_stack %169 : $*Double, loc "ClassSelectorController.swift":81:18, scope 95 // id: %176
  6731. cond_br %174, bb11, bb19, loc "ClassSelectorController.swift":81:18, scope 95 // id: %177
  6732.  
  6733. bb11: // Preds: bb10
  6734. dealloc_stack %155 : $*Information, loc "ClassSelectorController.swift":93:9, scope 95 // id: %178
  6735. %179 = alloc_stack $Optional<UISegmentedControl>, loc "ClassSelectorController.swift":82:17, scope 96 // users: %201, %191, %183, %182
  6736. %180 = class_method %3 : $ClassSelectorController, #ClassSelectorController.multiplierBar!getter.1 : (ClassSelectorController) -> () -> UISegmentedControl! , $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UISegmentedControl>, loc "ClassSelectorController.swift":82:17, scope 96 // user: %181
  6737. %181 = apply %180(%3) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UISegmentedControl>, loc "ClassSelectorController.swift":82:17, scope 96 // user: %182
  6738. store %181 to [init] %179 : $*Optional<UISegmentedControl>, loc "ClassSelectorController.swift":82:17, scope 96 // id: %182
  6739. switch_enum_addr %179 : $*Optional<UISegmentedControl>, case #Optional.none!enumelt: bb12, default bb13, loc "ClassSelectorController.swift":82:17, scope 96 // id: %183
  6740.  
  6741. bb12: // Preds: bb11
  6742. %184 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":82:17, scope 96 // user: %189
  6743. %185 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":82:17, scope 96 // user: %189
  6744. %186 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":82:17, scope 96 // user: %189
  6745. %187 = integer_literal $Builtin.Word, 82, loc "ClassSelectorController.swift":82:17, scope 96 // user: %189
  6746. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  6747. %188 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":82:17, scope 96 // user: %189
  6748. %189 = apply %188(%184, %185, %186, %187) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":82:17, scope 96
  6749. unreachable , loc "ClassSelectorController.swift":82:17, scope 96 // id: %190
  6750.  
  6751. bb13: // Preds: bb11
  6752. %191 = unchecked_take_enum_data_addr %179 : $*Optional<UISegmentedControl>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":82:17, scope 96 // users: %200, %192
  6753. %192 = load [copy] %191 : $*UISegmentedControl, loc "ClassSelectorController.swift":82:17, scope 96 // users: %199, %198, %197
  6754. // function_ref Int.init(_builtinIntegerLiteral : Builtin.Int2048) -> Int
  6755. %193 = function_ref @_TFSiCfT22_builtinIntegerLiteralBi2048__Si : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":82:54, scope 96 // user: %196
  6756. %194 = metatype $@thin Int.Type, loc "ClassSelectorController.swift":82:54, scope 96 // user: %196
  6757. %195 = integer_literal $Builtin.Int2048, 0, loc "ClassSelectorController.swift":82:54, scope 96 // user: %196
  6758. %196 = apply %193(%195, %194) : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":82:54, scope 96 // user: %198
  6759. %197 = class_method [volatile] %192 : $UISegmentedControl, #UISegmentedControl.selectedSegmentIndex!setter.1.foreign : (UISegmentedControl) -> (Int) -> () , $@convention(objc_method) (Int, UISegmentedControl) -> (), loc "ClassSelectorController.swift":82:52, scope 96 // user: %198
  6760. %198 = apply %197(%196, %192) : $@convention(objc_method) (Int, UISegmentedControl) -> (), loc "ClassSelectorController.swift":82:52, scope 96
  6761. destroy_value %192 : $UISegmentedControl, loc "ClassSelectorController.swift":82:54, scope 96 // id: %199
  6762. destroy_addr %191 : $*UISegmentedControl, loc "ClassSelectorController.swift":82:54, scope 96 // id: %200
  6763. dealloc_stack %179 : $*Optional<UISegmentedControl>, loc "ClassSelectorController.swift":82:54, scope 96 // id: %201
  6764. %202 = alloc_stack $Optional<UITextField>, loc "ClassSelectorController.swift":83:17, scope 96 // users: %241, %214, %206, %205
  6765. %203 = class_method %3 : $ClassSelectorController, #ClassSelectorController.multiplierField!getter.1 : (ClassSelectorController) -> () -> UITextField! , $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, loc "ClassSelectorController.swift":83:17, scope 96 // user: %204
  6766. %204 = apply %203(%3) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, loc "ClassSelectorController.swift":83:17, scope 96 // user: %205
  6767. store %204 to [init] %202 : $*Optional<UITextField>, loc "ClassSelectorController.swift":83:17, scope 96 // id: %205
  6768. switch_enum_addr %202 : $*Optional<UITextField>, case #Optional.none!enumelt: bb14, default bb15, loc "ClassSelectorController.swift":83:17, scope 96 // id: %206
  6769.  
  6770. bb14: // Preds: bb13
  6771. %207 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":83:17, scope 96 // user: %212
  6772. %208 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":83:17, scope 96 // user: %212
  6773. %209 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":83:17, scope 96 // user: %212
  6774. %210 = integer_literal $Builtin.Word, 83, loc "ClassSelectorController.swift":83:17, scope 96 // user: %212
  6775. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  6776. %211 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":83:17, scope 96 // user: %212
  6777. %212 = apply %211(%207, %208, %209, %210) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":83:17, scope 96
  6778. unreachable , loc "ClassSelectorController.swift":83:17, scope 96 // id: %213
  6779.  
  6780. bb15: // Preds: bb13
  6781. %214 = unchecked_take_enum_data_addr %202 : $*Optional<UITextField>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":83:17, scope 96 // users: %240, %215
  6782. %215 = load [copy] %214 : $*UITextField, loc "ClassSelectorController.swift":83:17, scope 96 // users: %239, %237, %223
  6783. %216 = string_literal utf8 "", loc "ClassSelectorController.swift":83:40, scope 96 // user: %221
  6784. %217 = integer_literal $Builtin.Word, 0, loc "ClassSelectorController.swift":83:40, scope 96 // user: %221
  6785. %218 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":83:40, scope 96 // user: %221
  6786. %219 = metatype $@thin String.Type, loc "ClassSelectorController.swift":83:40, scope 96 // user: %221
  6787. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  6788. %220 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":83:40, scope 96 // user: %221
  6789. %221 = apply %220(%216, %217, %218, %219) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":83:40, scope 96 // user: %222
  6790. %222 = enum $Optional<String>, #Optional.some!enumelt.1, %221 : $String, loc "ClassSelectorController.swift":83:40, scope 96 // users: %228, %226
  6791. %223 = class_method [volatile] %215 : $UITextField, #UITextField.text!setter.1.foreign : (UITextField) -> (String?) -> () , $@convention(objc_method) (Optional<NSString>, UITextField) -> (), loc "ClassSelectorController.swift":83:38, scope 96 // user: %237
  6792. %224 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":83:38, scope 96 // user: %226
  6793. %225 = integer_literal $Builtin.Int1, 0, loc "ClassSelectorController.swift":83:38, scope 96 // user: %226
  6794. %226 = select_enum %222 : $Optional<String>, case #Optional.some!enumelt.1: %224, default %225 : $Builtin.Int1, loc "ClassSelectorController.swift":83:38, scope 96 // user: %227
  6795. cond_br %226, bb16, bb17, loc "ClassSelectorController.swift":83:38, scope 96 // id: %227
  6796.  
  6797. bb16: // Preds: bb15
  6798. %228 = unchecked_enum_data %222 : $Optional<String>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":83:38, scope 96 // users: %232, %230
  6799. // function_ref String._bridgeToObjectiveC() -> NSString
  6800. %229 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassSelectorController.swift":83:38, scope 96 // user: %230
  6801. %230 = apply %229(%228) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassSelectorController.swift":83:38, scope 96 // user: %231
  6802. %231 = enum $Optional<NSString>, #Optional.some!enumelt.1, %230 : $NSString, loc "ClassSelectorController.swift":83:38, scope 96 // user: %233
  6803. destroy_value %228 : $String, loc "ClassSelectorController.swift":83:40, scope 96 // id: %232
  6804. br bb18(%231 : $Optional<NSString>), loc "ClassSelectorController.swift":83:38, scope 96 // id: %233
  6805.  
  6806. bb17: // Preds: bb15
  6807. %234 = enum $Optional<NSString>, #Optional.none!enumelt, loc "ClassSelectorController.swift":83:38, scope 96 // user: %235
  6808. br bb18(%234 : $Optional<NSString>), loc "ClassSelectorController.swift":83:38, scope 96 // id: %235
  6809.  
  6810. // %236 // users: %238, %237
  6811. bb18(%236 : $Optional<NSString>): // Preds: bb17 bb16
  6812. %237 = apply %223(%236, %215) : $@convention(objc_method) (Optional<NSString>, UITextField) -> (), loc "ClassSelectorController.swift":83:38, scope 96
  6813. destroy_value %236 : $Optional<NSString>, loc "ClassSelectorController.swift":83:40, scope 96 // id: %238
  6814. destroy_value %215 : $UITextField, loc "ClassSelectorController.swift":83:40, scope 96 // id: %239
  6815. destroy_addr %214 : $*UITextField, loc "ClassSelectorController.swift":83:40, scope 96 // id: %240
  6816. dealloc_stack %202 : $*Optional<UITextField>, loc "ClassSelectorController.swift":83:40, scope 96 // id: %241
  6817. br bb48, loc "ClassSelectorController.swift":83:40, scope 94 // id: %242
  6818.  
  6819. bb19: // Preds: bb10
  6820. br bb20, loc "ClassSelectorController.swift":81:18, scope 95 // id: %243
  6821.  
  6822. bb20: // Preds: bb19
  6823. debug_value %160 : $Double, let, name "$match", loc "ClassSelectorController.swift":84:18, scope 97 // id: %244
  6824. // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
  6825. %245 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "ClassSelectorController.swift":84:18, scope 97 // user: %256
  6826. // function_ref ~= infix<A where ...> (A, A) -> Bool
  6827. %246 = function_ref @_TFsoi2teuRxs9EquatablerFTxx_Sb : $@convention(thin) <τ_0_0 where τ_0_0 : Equatable> (@in τ_0_0, @in τ_0_0) -> Bool, loc "ClassSelectorController.swift":84:18, scope 97 // user: %255
  6828. // function_ref Double.init(_builtinFloatLiteral : Builtin.Float64) -> Double
  6829. %247 = function_ref @_TFSdCfT20_builtinFloatLiteralBf64__Sd : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "ClassSelectorController.swift":84:18, scope 97 // user: %250
  6830. %248 = metatype $@thin Double.Type, loc "ClassSelectorController.swift":84:18, scope 97 // user: %250
  6831. %249 = float_literal $Builtin.FPIEEE64, 0x3FF199999999999A // 1.1000000000000001, loc "ClassSelectorController.swift":84:18, scope 97 // user: %250
  6832. %250 = apply %247(%249, %248) : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "ClassSelectorController.swift":84:18, scope 97 // user: %252
  6833. %251 = alloc_stack $Double, loc "ClassSelectorController.swift":84:18, scope 97 // users: %258, %255, %252
  6834. store %250 to [trivial] %251 : $*Double, loc "ClassSelectorController.swift":84:18, scope 97 // id: %252
  6835. %253 = alloc_stack $Double, loc "ClassSelectorController.swift":84:18, scope 97 // users: %257, %255, %254
  6836. store %160 to [trivial] %253 : $*Double, loc "ClassSelectorController.swift":84:18, scope 97 // id: %254
  6837. %255 = apply %246<Double>(%251, %253) : $@convention(thin) <τ_0_0 where τ_0_0 : Equatable> (@in τ_0_0, @in τ_0_0) -> Bool, loc "ClassSelectorController.swift":84:18, scope 97 // user: %256
  6838. %256 = apply %245(%255) : $@convention(method) (Bool) -> Builtin.Int1, loc "ClassSelectorController.swift":84:18, scope 97 // user: %259
  6839. dealloc_stack %253 : $*Double, loc "ClassSelectorController.swift":84:18, scope 97 // id: %257
  6840. dealloc_stack %251 : $*Double, loc "ClassSelectorController.swift":84:18, scope 97 // id: %258
  6841. cond_br %256, bb21, bb29, loc "ClassSelectorController.swift":84:18, scope 97 // id: %259
  6842.  
  6843. bb21: // Preds: bb20
  6844. dealloc_stack %155 : $*Information, loc "ClassSelectorController.swift":93:9, scope 97 // id: %260
  6845. %261 = alloc_stack $Optional<UISegmentedControl>, loc "ClassSelectorController.swift":85:17, scope 98 // users: %283, %273, %265, %264
  6846. %262 = class_method %3 : $ClassSelectorController, #ClassSelectorController.multiplierBar!getter.1 : (ClassSelectorController) -> () -> UISegmentedControl! , $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UISegmentedControl>, loc "ClassSelectorController.swift":85:17, scope 98 // user: %263
  6847. %263 = apply %262(%3) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UISegmentedControl>, loc "ClassSelectorController.swift":85:17, scope 98 // user: %264
  6848. store %263 to [init] %261 : $*Optional<UISegmentedControl>, loc "ClassSelectorController.swift":85:17, scope 98 // id: %264
  6849. switch_enum_addr %261 : $*Optional<UISegmentedControl>, case #Optional.none!enumelt: bb22, default bb23, loc "ClassSelectorController.swift":85:17, scope 98 // id: %265
  6850.  
  6851. bb22: // Preds: bb21
  6852. %266 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":85:17, scope 98 // user: %271
  6853. %267 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":85:17, scope 98 // user: %271
  6854. %268 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":85:17, scope 98 // user: %271
  6855. %269 = integer_literal $Builtin.Word, 85, loc "ClassSelectorController.swift":85:17, scope 98 // user: %271
  6856. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  6857. %270 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":85:17, scope 98 // user: %271
  6858. %271 = apply %270(%266, %267, %268, %269) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":85:17, scope 98
  6859. unreachable , loc "ClassSelectorController.swift":85:17, scope 98 // id: %272
  6860.  
  6861. bb23: // Preds: bb21
  6862. %273 = unchecked_take_enum_data_addr %261 : $*Optional<UISegmentedControl>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":85:17, scope 98 // users: %282, %274
  6863. %274 = load [copy] %273 : $*UISegmentedControl, loc "ClassSelectorController.swift":85:17, scope 98 // users: %281, %280, %279
  6864. // function_ref Int.init(_builtinIntegerLiteral : Builtin.Int2048) -> Int
  6865. %275 = function_ref @_TFSiCfT22_builtinIntegerLiteralBi2048__Si : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":85:54, scope 98 // user: %278
  6866. %276 = metatype $@thin Int.Type, loc "ClassSelectorController.swift":85:54, scope 98 // user: %278
  6867. %277 = integer_literal $Builtin.Int2048, 1, loc "ClassSelectorController.swift":85:54, scope 98 // user: %278
  6868. %278 = apply %275(%277, %276) : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":85:54, scope 98 // user: %280
  6869. %279 = class_method [volatile] %274 : $UISegmentedControl, #UISegmentedControl.selectedSegmentIndex!setter.1.foreign : (UISegmentedControl) -> (Int) -> () , $@convention(objc_method) (Int, UISegmentedControl) -> (), loc "ClassSelectorController.swift":85:52, scope 98 // user: %280
  6870. %280 = apply %279(%278, %274) : $@convention(objc_method) (Int, UISegmentedControl) -> (), loc "ClassSelectorController.swift":85:52, scope 98
  6871. destroy_value %274 : $UISegmentedControl, loc "ClassSelectorController.swift":85:54, scope 98 // id: %281
  6872. destroy_addr %273 : $*UISegmentedControl, loc "ClassSelectorController.swift":85:54, scope 98 // id: %282
  6873. dealloc_stack %261 : $*Optional<UISegmentedControl>, loc "ClassSelectorController.swift":85:54, scope 98 // id: %283
  6874. %284 = alloc_stack $Optional<UITextField>, loc "ClassSelectorController.swift":86:17, scope 98 // users: %323, %296, %288, %287
  6875. %285 = class_method %3 : $ClassSelectorController, #ClassSelectorController.multiplierField!getter.1 : (ClassSelectorController) -> () -> UITextField! , $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, loc "ClassSelectorController.swift":86:17, scope 98 // user: %286
  6876. %286 = apply %285(%3) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, loc "ClassSelectorController.swift":86:17, scope 98 // user: %287
  6877. store %286 to [init] %284 : $*Optional<UITextField>, loc "ClassSelectorController.swift":86:17, scope 98 // id: %287
  6878. switch_enum_addr %284 : $*Optional<UITextField>, case #Optional.none!enumelt: bb24, default bb25, loc "ClassSelectorController.swift":86:17, scope 98 // id: %288
  6879.  
  6880. bb24: // Preds: bb23
  6881. %289 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":86:17, scope 98 // user: %294
  6882. %290 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":86:17, scope 98 // user: %294
  6883. %291 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":86:17, scope 98 // user: %294
  6884. %292 = integer_literal $Builtin.Word, 86, loc "ClassSelectorController.swift":86:17, scope 98 // user: %294
  6885. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  6886. %293 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":86:17, scope 98 // user: %294
  6887. %294 = apply %293(%289, %290, %291, %292) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":86:17, scope 98
  6888. unreachable , loc "ClassSelectorController.swift":86:17, scope 98 // id: %295
  6889.  
  6890. bb25: // Preds: bb23
  6891. %296 = unchecked_take_enum_data_addr %284 : $*Optional<UITextField>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":86:17, scope 98 // users: %322, %297
  6892. %297 = load [copy] %296 : $*UITextField, loc "ClassSelectorController.swift":86:17, scope 98 // users: %321, %319, %305
  6893. %298 = string_literal utf8 "", loc "ClassSelectorController.swift":86:40, scope 98 // user: %303
  6894. %299 = integer_literal $Builtin.Word, 0, loc "ClassSelectorController.swift":86:40, scope 98 // user: %303
  6895. %300 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":86:40, scope 98 // user: %303
  6896. %301 = metatype $@thin String.Type, loc "ClassSelectorController.swift":86:40, scope 98 // user: %303
  6897. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  6898. %302 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":86:40, scope 98 // user: %303
  6899. %303 = apply %302(%298, %299, %300, %301) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":86:40, scope 98 // user: %304
  6900. %304 = enum $Optional<String>, #Optional.some!enumelt.1, %303 : $String, loc "ClassSelectorController.swift":86:40, scope 98 // users: %310, %308
  6901. %305 = class_method [volatile] %297 : $UITextField, #UITextField.text!setter.1.foreign : (UITextField) -> (String?) -> () , $@convention(objc_method) (Optional<NSString>, UITextField) -> (), loc "ClassSelectorController.swift":86:38, scope 98 // user: %319
  6902. %306 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":86:38, scope 98 // user: %308
  6903. %307 = integer_literal $Builtin.Int1, 0, loc "ClassSelectorController.swift":86:38, scope 98 // user: %308
  6904. %308 = select_enum %304 : $Optional<String>, case #Optional.some!enumelt.1: %306, default %307 : $Builtin.Int1, loc "ClassSelectorController.swift":86:38, scope 98 // user: %309
  6905. cond_br %308, bb26, bb27, loc "ClassSelectorController.swift":86:38, scope 98 // id: %309
  6906.  
  6907. bb26: // Preds: bb25
  6908. %310 = unchecked_enum_data %304 : $Optional<String>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":86:38, scope 98 // users: %314, %312
  6909. // function_ref String._bridgeToObjectiveC() -> NSString
  6910. %311 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassSelectorController.swift":86:38, scope 98 // user: %312
  6911. %312 = apply %311(%310) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassSelectorController.swift":86:38, scope 98 // user: %313
  6912. %313 = enum $Optional<NSString>, #Optional.some!enumelt.1, %312 : $NSString, loc "ClassSelectorController.swift":86:38, scope 98 // user: %315
  6913. destroy_value %310 : $String, loc "ClassSelectorController.swift":86:40, scope 98 // id: %314
  6914. br bb28(%313 : $Optional<NSString>), loc "ClassSelectorController.swift":86:38, scope 98 // id: %315
  6915.  
  6916. bb27: // Preds: bb25
  6917. %316 = enum $Optional<NSString>, #Optional.none!enumelt, loc "ClassSelectorController.swift":86:38, scope 98 // user: %317
  6918. br bb28(%316 : $Optional<NSString>), loc "ClassSelectorController.swift":86:38, scope 98 // id: %317
  6919.  
  6920. // %318 // users: %320, %319
  6921. bb28(%318 : $Optional<NSString>): // Preds: bb27 bb26
  6922. %319 = apply %305(%318, %297) : $@convention(objc_method) (Optional<NSString>, UITextField) -> (), loc "ClassSelectorController.swift":86:38, scope 98
  6923. destroy_value %318 : $Optional<NSString>, loc "ClassSelectorController.swift":86:40, scope 98 // id: %320
  6924. destroy_value %297 : $UITextField, loc "ClassSelectorController.swift":86:40, scope 98 // id: %321
  6925. destroy_addr %296 : $*UITextField, loc "ClassSelectorController.swift":86:40, scope 98 // id: %322
  6926. dealloc_stack %284 : $*Optional<UITextField>, loc "ClassSelectorController.swift":86:40, scope 98 // id: %323
  6927. br bb48, loc "ClassSelectorController.swift":86:40, scope 94 // id: %324
  6928.  
  6929. bb29: // Preds: bb20
  6930. br bb30, loc "ClassSelectorController.swift":84:18, scope 97 // id: %325
  6931.  
  6932. bb30: // Preds: bb29
  6933. debug_value %160 : $Double, let, name "$match", loc "ClassSelectorController.swift":87:18, scope 99 // id: %326
  6934. // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
  6935. %327 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "ClassSelectorController.swift":87:18, scope 99 // user: %338
  6936. // function_ref ~= infix<A where ...> (A, A) -> Bool
  6937. %328 = function_ref @_TFsoi2teuRxs9EquatablerFTxx_Sb : $@convention(thin) <τ_0_0 where τ_0_0 : Equatable> (@in τ_0_0, @in τ_0_0) -> Bool, loc "ClassSelectorController.swift":87:18, scope 99 // user: %337
  6938. // function_ref Double.init(_builtinFloatLiteral : Builtin.Float64) -> Double
  6939. %329 = function_ref @_TFSdCfT20_builtinFloatLiteralBf64__Sd : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "ClassSelectorController.swift":87:18, scope 99 // user: %332
  6940. %330 = metatype $@thin Double.Type, loc "ClassSelectorController.swift":87:18, scope 99 // user: %332
  6941. %331 = float_literal $Builtin.FPIEEE64, 0x3FF3333333333333 // 1.2, loc "ClassSelectorController.swift":87:18, scope 99 // user: %332
  6942. %332 = apply %329(%331, %330) : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "ClassSelectorController.swift":87:18, scope 99 // user: %334
  6943. %333 = alloc_stack $Double, loc "ClassSelectorController.swift":87:18, scope 99 // users: %340, %337, %334
  6944. store %332 to [trivial] %333 : $*Double, loc "ClassSelectorController.swift":87:18, scope 99 // id: %334
  6945. %335 = alloc_stack $Double, loc "ClassSelectorController.swift":87:18, scope 99 // users: %339, %337, %336
  6946. store %160 to [trivial] %335 : $*Double, loc "ClassSelectorController.swift":87:18, scope 99 // id: %336
  6947. %337 = apply %328<Double>(%333, %335) : $@convention(thin) <τ_0_0 where τ_0_0 : Equatable> (@in τ_0_0, @in τ_0_0) -> Bool, loc "ClassSelectorController.swift":87:18, scope 99 // user: %338
  6948. %338 = apply %327(%337) : $@convention(method) (Bool) -> Builtin.Int1, loc "ClassSelectorController.swift":87:18, scope 99 // user: %341
  6949. dealloc_stack %335 : $*Double, loc "ClassSelectorController.swift":87:18, scope 99 // id: %339
  6950. dealloc_stack %333 : $*Double, loc "ClassSelectorController.swift":87:18, scope 99 // id: %340
  6951. cond_br %338, bb31, bb39, loc "ClassSelectorController.swift":87:18, scope 99 // id: %341
  6952.  
  6953. bb31: // Preds: bb30
  6954. dealloc_stack %155 : $*Information, loc "ClassSelectorController.swift":93:9, scope 99 // id: %342
  6955. %343 = alloc_stack $Optional<UISegmentedControl>, loc "ClassSelectorController.swift":88:17, scope 100 // users: %365, %355, %347, %346
  6956. %344 = class_method %3 : $ClassSelectorController, #ClassSelectorController.multiplierBar!getter.1 : (ClassSelectorController) -> () -> UISegmentedControl! , $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UISegmentedControl>, loc "ClassSelectorController.swift":88:17, scope 100 // user: %345
  6957. %345 = apply %344(%3) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UISegmentedControl>, loc "ClassSelectorController.swift":88:17, scope 100 // user: %346
  6958. store %345 to [init] %343 : $*Optional<UISegmentedControl>, loc "ClassSelectorController.swift":88:17, scope 100 // id: %346
  6959. switch_enum_addr %343 : $*Optional<UISegmentedControl>, case #Optional.none!enumelt: bb32, default bb33, loc "ClassSelectorController.swift":88:17, scope 100 // id: %347
  6960.  
  6961. bb32: // Preds: bb31
  6962. %348 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":88:17, scope 100 // user: %353
  6963. %349 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":88:17, scope 100 // user: %353
  6964. %350 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":88:17, scope 100 // user: %353
  6965. %351 = integer_literal $Builtin.Word, 88, loc "ClassSelectorController.swift":88:17, scope 100 // user: %353
  6966. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  6967. %352 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":88:17, scope 100 // user: %353
  6968. %353 = apply %352(%348, %349, %350, %351) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":88:17, scope 100
  6969. unreachable , loc "ClassSelectorController.swift":88:17, scope 100 // id: %354
  6970.  
  6971. bb33: // Preds: bb31
  6972. %355 = unchecked_take_enum_data_addr %343 : $*Optional<UISegmentedControl>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":88:17, scope 100 // users: %364, %356
  6973. %356 = load [copy] %355 : $*UISegmentedControl, loc "ClassSelectorController.swift":88:17, scope 100 // users: %363, %362, %361
  6974. // function_ref Int.init(_builtinIntegerLiteral : Builtin.Int2048) -> Int
  6975. %357 = function_ref @_TFSiCfT22_builtinIntegerLiteralBi2048__Si : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":88:54, scope 100 // user: %360
  6976. %358 = metatype $@thin Int.Type, loc "ClassSelectorController.swift":88:54, scope 100 // user: %360
  6977. %359 = integer_literal $Builtin.Int2048, 2, loc "ClassSelectorController.swift":88:54, scope 100 // user: %360
  6978. %360 = apply %357(%359, %358) : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":88:54, scope 100 // user: %362
  6979. %361 = class_method [volatile] %356 : $UISegmentedControl, #UISegmentedControl.selectedSegmentIndex!setter.1.foreign : (UISegmentedControl) -> (Int) -> () , $@convention(objc_method) (Int, UISegmentedControl) -> (), loc "ClassSelectorController.swift":88:52, scope 100 // user: %362
  6980. %362 = apply %361(%360, %356) : $@convention(objc_method) (Int, UISegmentedControl) -> (), loc "ClassSelectorController.swift":88:52, scope 100
  6981. destroy_value %356 : $UISegmentedControl, loc "ClassSelectorController.swift":88:54, scope 100 // id: %363
  6982. destroy_addr %355 : $*UISegmentedControl, loc "ClassSelectorController.swift":88:54, scope 100 // id: %364
  6983. dealloc_stack %343 : $*Optional<UISegmentedControl>, loc "ClassSelectorController.swift":88:54, scope 100 // id: %365
  6984. %366 = alloc_stack $Optional<UITextField>, loc "ClassSelectorController.swift":89:17, scope 100 // users: %405, %378, %370, %369
  6985. %367 = class_method %3 : $ClassSelectorController, #ClassSelectorController.multiplierField!getter.1 : (ClassSelectorController) -> () -> UITextField! , $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, loc "ClassSelectorController.swift":89:17, scope 100 // user: %368
  6986. %368 = apply %367(%3) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, loc "ClassSelectorController.swift":89:17, scope 100 // user: %369
  6987. store %368 to [init] %366 : $*Optional<UITextField>, loc "ClassSelectorController.swift":89:17, scope 100 // id: %369
  6988. switch_enum_addr %366 : $*Optional<UITextField>, case #Optional.none!enumelt: bb34, default bb35, loc "ClassSelectorController.swift":89:17, scope 100 // id: %370
  6989.  
  6990. bb34: // Preds: bb33
  6991. %371 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":89:17, scope 100 // user: %376
  6992. %372 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":89:17, scope 100 // user: %376
  6993. %373 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":89:17, scope 100 // user: %376
  6994. %374 = integer_literal $Builtin.Word, 89, loc "ClassSelectorController.swift":89:17, scope 100 // user: %376
  6995. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  6996. %375 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":89:17, scope 100 // user: %376
  6997. %376 = apply %375(%371, %372, %373, %374) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":89:17, scope 100
  6998. unreachable , loc "ClassSelectorController.swift":89:17, scope 100 // id: %377
  6999.  
  7000. bb35: // Preds: bb33
  7001. %378 = unchecked_take_enum_data_addr %366 : $*Optional<UITextField>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":89:17, scope 100 // users: %404, %379
  7002. %379 = load [copy] %378 : $*UITextField, loc "ClassSelectorController.swift":89:17, scope 100 // users: %403, %401, %387
  7003. %380 = string_literal utf8 "", loc "ClassSelectorController.swift":89:40, scope 100 // user: %385
  7004. %381 = integer_literal $Builtin.Word, 0, loc "ClassSelectorController.swift":89:40, scope 100 // user: %385
  7005. %382 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":89:40, scope 100 // user: %385
  7006. %383 = metatype $@thin String.Type, loc "ClassSelectorController.swift":89:40, scope 100 // user: %385
  7007. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  7008. %384 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":89:40, scope 100 // user: %385
  7009. %385 = apply %384(%380, %381, %382, %383) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":89:40, scope 100 // user: %386
  7010. %386 = enum $Optional<String>, #Optional.some!enumelt.1, %385 : $String, loc "ClassSelectorController.swift":89:40, scope 100 // users: %392, %390
  7011. %387 = class_method [volatile] %379 : $UITextField, #UITextField.text!setter.1.foreign : (UITextField) -> (String?) -> () , $@convention(objc_method) (Optional<NSString>, UITextField) -> (), loc "ClassSelectorController.swift":89:38, scope 100 // user: %401
  7012. %388 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":89:38, scope 100 // user: %390
  7013. %389 = integer_literal $Builtin.Int1, 0, loc "ClassSelectorController.swift":89:38, scope 100 // user: %390
  7014. %390 = select_enum %386 : $Optional<String>, case #Optional.some!enumelt.1: %388, default %389 : $Builtin.Int1, loc "ClassSelectorController.swift":89:38, scope 100 // user: %391
  7015. cond_br %390, bb36, bb37, loc "ClassSelectorController.swift":89:38, scope 100 // id: %391
  7016.  
  7017. bb36: // Preds: bb35
  7018. %392 = unchecked_enum_data %386 : $Optional<String>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":89:38, scope 100 // users: %396, %394
  7019. // function_ref String._bridgeToObjectiveC() -> NSString
  7020. %393 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassSelectorController.swift":89:38, scope 100 // user: %394
  7021. %394 = apply %393(%392) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassSelectorController.swift":89:38, scope 100 // user: %395
  7022. %395 = enum $Optional<NSString>, #Optional.some!enumelt.1, %394 : $NSString, loc "ClassSelectorController.swift":89:38, scope 100 // user: %397
  7023. destroy_value %392 : $String, loc "ClassSelectorController.swift":89:40, scope 100 // id: %396
  7024. br bb38(%395 : $Optional<NSString>), loc "ClassSelectorController.swift":89:38, scope 100 // id: %397
  7025.  
  7026. bb37: // Preds: bb35
  7027. %398 = enum $Optional<NSString>, #Optional.none!enumelt, loc "ClassSelectorController.swift":89:38, scope 100 // user: %399
  7028. br bb38(%398 : $Optional<NSString>), loc "ClassSelectorController.swift":89:38, scope 100 // id: %399
  7029.  
  7030. // %400 // users: %402, %401
  7031. bb38(%400 : $Optional<NSString>): // Preds: bb37 bb36
  7032. %401 = apply %387(%400, %379) : $@convention(objc_method) (Optional<NSString>, UITextField) -> (), loc "ClassSelectorController.swift":89:38, scope 100
  7033. destroy_value %400 : $Optional<NSString>, loc "ClassSelectorController.swift":89:40, scope 100 // id: %402
  7034. destroy_value %379 : $UITextField, loc "ClassSelectorController.swift":89:40, scope 100 // id: %403
  7035. destroy_addr %378 : $*UITextField, loc "ClassSelectorController.swift":89:40, scope 100 // id: %404
  7036. dealloc_stack %366 : $*Optional<UITextField>, loc "ClassSelectorController.swift":89:40, scope 100 // id: %405
  7037. br bb48, loc "ClassSelectorController.swift":89:40, scope 94 // id: %406
  7038.  
  7039. bb39: // Preds: bb30
  7040. br bb40, loc "ClassSelectorController.swift":87:18, scope 99 // id: %407
  7041.  
  7042. bb40: // Preds: bb39
  7043. dealloc_stack %155 : $*Information, loc "ClassSelectorController.swift":93:9, scope 101 // id: %408
  7044. %409 = alloc_stack $Optional<UISegmentedControl>, loc "ClassSelectorController.swift":91:17, scope 102 // users: %431, %421, %413, %412
  7045. %410 = class_method %3 : $ClassSelectorController, #ClassSelectorController.multiplierBar!getter.1 : (ClassSelectorController) -> () -> UISegmentedControl! , $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UISegmentedControl>, loc "ClassSelectorController.swift":91:17, scope 102 // user: %411
  7046. %411 = apply %410(%3) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UISegmentedControl>, loc "ClassSelectorController.swift":91:17, scope 102 // user: %412
  7047. store %411 to [init] %409 : $*Optional<UISegmentedControl>, loc "ClassSelectorController.swift":91:17, scope 102 // id: %412
  7048. switch_enum_addr %409 : $*Optional<UISegmentedControl>, case #Optional.none!enumelt: bb41, default bb42, loc "ClassSelectorController.swift":91:17, scope 102 // id: %413
  7049.  
  7050. bb41: // Preds: bb40
  7051. %414 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":91:17, scope 102 // user: %419
  7052. %415 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":91:17, scope 102 // user: %419
  7053. %416 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":91:17, scope 102 // user: %419
  7054. %417 = integer_literal $Builtin.Word, 91, loc "ClassSelectorController.swift":91:17, scope 102 // user: %419
  7055. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  7056. %418 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":91:17, scope 102 // user: %419
  7057. %419 = apply %418(%414, %415, %416, %417) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":91:17, scope 102
  7058. unreachable , loc "ClassSelectorController.swift":91:17, scope 102 // id: %420
  7059.  
  7060. bb42: // Preds: bb40
  7061. %421 = unchecked_take_enum_data_addr %409 : $*Optional<UISegmentedControl>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":91:17, scope 102 // users: %430, %422
  7062. %422 = load [copy] %421 : $*UISegmentedControl, loc "ClassSelectorController.swift":91:17, scope 102 // users: %429, %428, %427
  7063. // function_ref Int.init(_builtinIntegerLiteral : Builtin.Int2048) -> Int
  7064. %423 = function_ref @_TFSiCfT22_builtinIntegerLiteralBi2048__Si : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":91:54, scope 102 // user: %426
  7065. %424 = metatype $@thin Int.Type, loc "ClassSelectorController.swift":91:54, scope 102 // user: %426
  7066. %425 = integer_literal $Builtin.Int2048, 3, loc "ClassSelectorController.swift":91:54, scope 102 // user: %426
  7067. %426 = apply %423(%425, %424) : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":91:54, scope 102 // user: %428
  7068. %427 = class_method [volatile] %422 : $UISegmentedControl, #UISegmentedControl.selectedSegmentIndex!setter.1.foreign : (UISegmentedControl) -> (Int) -> () , $@convention(objc_method) (Int, UISegmentedControl) -> (), loc "ClassSelectorController.swift":91:52, scope 102 // user: %428
  7069. %428 = apply %427(%426, %422) : $@convention(objc_method) (Int, UISegmentedControl) -> (), loc "ClassSelectorController.swift":91:52, scope 102
  7070. destroy_value %422 : $UISegmentedControl, loc "ClassSelectorController.swift":91:54, scope 102 // id: %429
  7071. destroy_addr %421 : $*UISegmentedControl, loc "ClassSelectorController.swift":91:54, scope 102 // id: %430
  7072. dealloc_stack %409 : $*Optional<UISegmentedControl>, loc "ClassSelectorController.swift":91:54, scope 102 // id: %431
  7073. %432 = alloc_stack $Optional<UITextField>, loc "ClassSelectorController.swift":92:17, scope 102 // users: %518, %444, %436, %435
  7074. %433 = class_method %3 : $ClassSelectorController, #ClassSelectorController.multiplierField!getter.1 : (ClassSelectorController) -> () -> UITextField! , $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, loc "ClassSelectorController.swift":92:17, scope 102 // user: %434
  7075. %434 = apply %433(%3) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, loc "ClassSelectorController.swift":92:17, scope 102 // user: %435
  7076. store %434 to [init] %432 : $*Optional<UITextField>, loc "ClassSelectorController.swift":92:17, scope 102 // id: %435
  7077. switch_enum_addr %432 : $*Optional<UITextField>, case #Optional.none!enumelt: bb43, default bb44, loc "ClassSelectorController.swift":92:17, scope 102 // id: %436
  7078.  
  7079. bb43: // Preds: bb42
  7080. %437 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":92:17, scope 102 // user: %442
  7081. %438 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":92:17, scope 102 // user: %442
  7082. %439 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":92:17, scope 102 // user: %442
  7083. %440 = integer_literal $Builtin.Word, 92, loc "ClassSelectorController.swift":92:17, scope 102 // user: %442
  7084. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  7085. %441 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":92:17, scope 102 // user: %442
  7086. %442 = apply %441(%437, %438, %439, %440) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":92:17, scope 102
  7087. unreachable , loc "ClassSelectorController.swift":92:17, scope 102 // id: %443
  7088.  
  7089. bb44: // Preds: bb42
  7090. %444 = unchecked_take_enum_data_addr %432 : $*Optional<UITextField>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":92:17, scope 102 // users: %517, %445
  7091. %445 = load [copy] %444 : $*UITextField, loc "ClassSelectorController.swift":92:17, scope 102 // users: %516, %513, %499
  7092. // function_ref String.init(stringInterpolation : [String]...) -> String
  7093. %446 = function_ref @_TFSSCft19stringInterpolationGSaSS__SS : $@convention(method) (@owned Array<String>, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":92:40, scope 102 // user: %497
  7094. %447 = metatype $@thin String.Type, loc "ClassSelectorController.swift":92:40, scope 102 // user: %497
  7095. %448 = integer_literal $Builtin.Word, 3, loc "ClassSelectorController.swift":92:40, scope 102 // user: %450
  7096. // function_ref _allocateUninitializedArray<A> (Builtin.Word) -> ([A], Builtin.RawPointer)
  7097. %449 = function_ref @_TFs27_allocateUninitializedArrayurFBwTGSax_Bp_ : $@convention(thin) <τ_0_0> (Builtin.Word) -> (@owned Array<τ_0_0>, Builtin.RawPointer), loc "ClassSelectorController.swift":92:40, scope 102 // user: %450
  7098. %450 = apply %449<String>(%448) : $@convention(thin) <τ_0_0> (Builtin.Word) -> (@owned Array<τ_0_0>, Builtin.RawPointer), loc "ClassSelectorController.swift":92:40, scope 102 // users: %452, %451
  7099. %451 = tuple_extract %450 : $(Array<String>, Builtin.RawPointer), 0, loc "ClassSelectorController.swift":92:40, scope 102 // user: %497
  7100. %452 = tuple_extract %450 : $(Array<String>, Builtin.RawPointer), 1, loc "ClassSelectorController.swift":92:40, scope 102 // user: %453
  7101. %453 = pointer_to_address %452 : $Builtin.RawPointer to [strict] $*String, loc "ClassSelectorController.swift":92:40, scope 102 // users: %486, %465, %463
  7102. // function_ref String.init(stringInterpolationSegment : String) -> String
  7103. %454 = function_ref @_TFSSCfT26stringInterpolationSegmentSS_SS : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":92:40, scope 102 // user: %462
  7104. %455 = metatype $@thin String.Type, loc "ClassSelectorController.swift":92:40, scope 102 // user: %462
  7105. %456 = string_literal utf8 "", loc "ClassSelectorController.swift":92:40, scope 102 // user: %461
  7106. %457 = integer_literal $Builtin.Word, 0, loc "ClassSelectorController.swift":92:40, scope 102 // user: %461
  7107. %458 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":92:40, scope 102 // user: %461
  7108. %459 = metatype $@thin String.Type, loc "ClassSelectorController.swift":92:40, scope 102 // user: %461
  7109. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  7110. %460 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":92:40, scope 102 // user: %461
  7111. %461 = apply %460(%456, %457, %458, %459) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":92:40, scope 102 // user: %462
  7112. %462 = apply %454(%461, %455) : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":92:40, scope 102 // user: %463
  7113. store %462 to [init] %453 : $*String, loc "ClassSelectorController.swift":92:40, scope 102 // id: %463
  7114. %464 = integer_literal $Builtin.Word, 1, loc "ClassSelectorController.swift":92:92, scope 102 // user: %465
  7115. %465 = index_addr %453 : $*String, %464 : $Builtin.Word, loc "ClassSelectorController.swift":92:92, scope 102 // user: %484
  7116. // function_ref String.init(stringInterpolationSegment : Double) -> String
  7117. %466 = function_ref @_TFSSCfT26stringInterpolationSegmentSd_SS : $@convention(method) (Double, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":92:40, scope 102 // user: %483
  7118. %467 = metatype $@thin String.Type, loc "ClassSelectorController.swift":92:40, scope 102 // user: %483
  7119. %468 = metatype $@thick Information.Type, loc "ClassSelectorController.swift":92:43, scope 102
  7120. // function_ref Information.classesAndGrades.unsafeMutableAddressor
  7121. %469 = function_ref @_TFC3gpa11Informationau16classesAndGradesGSaS0__ : $@convention(thin) () -> Builtin.RawPointer, loc "ClassSelectorController.swift":92:55, scope 102 // user: %470
  7122. %470 = apply %469() : $@convention(thin) () -> Builtin.RawPointer, loc "ClassSelectorController.swift":92:55, scope 102 // user: %471
  7123. %471 = pointer_to_address %470 : $Builtin.RawPointer to [strict] $*Array<Information>, loc "ClassSelectorController.swift":92:55, scope 102 // user: %474
  7124. %472 = class_method %3 : $ClassSelectorController, #ClassSelectorController.selected!getter.1 : (ClassSelectorController) -> () -> Int , $@convention(method) (@guaranteed ClassSelectorController) -> Int, loc "ClassSelectorController.swift":92:72, scope 102 // user: %473
  7125. %473 = apply %472(%3) : $@convention(method) (@guaranteed ClassSelectorController) -> Int, loc "ClassSelectorController.swift":92:72, scope 102 // user: %477
  7126. %474 = load [copy] %471 : $*Array<Information>, loc "ClassSelectorController.swift":92:71, scope 102 // users: %478, %477
  7127. // function_ref Array.subscript.getter
  7128. %475 = function_ref @_TFSag9subscriptFSix : $@convention(method) <τ_0_0> (Int, @guaranteed Array<τ_0_0>) -> @out τ_0_0, loc "ClassSelectorController.swift":92:71, scope 102 // user: %477
  7129. %476 = alloc_stack $Information, loc "ClassSelectorController.swift":92:71, scope 102 // users: %515, %479, %477
  7130. %477 = apply %475<Information>(%476, %473, %474) : $@convention(method) <τ_0_0> (Int, @guaranteed Array<τ_0_0>) -> @out τ_0_0, loc "ClassSelectorController.swift":92:71, scope 102
  7131. destroy_value %474 : $Array<Information>, loc "ClassSelectorController.swift":92:80, scope 102 // id: %478
  7132. %479 = load [take] %476 : $*Information, loc "ClassSelectorController.swift":92:71, scope 102 // users: %482, %481, %480
  7133. %480 = class_method %479 : $Information, #Information.multiplier!getter.1 : (Information) -> () -> Double , $@convention(method) (@guaranteed Information) -> Double, loc "ClassSelectorController.swift":92:82, scope 102 // user: %481
  7134. %481 = apply %480(%479) : $@convention(method) (@guaranteed Information) -> Double, loc "ClassSelectorController.swift":92:82, scope 102 // user: %483
  7135. destroy_value %479 : $Information, loc "ClassSelectorController.swift":92:92, scope 102 // id: %482
  7136. %483 = apply %466(%481, %467) : $@convention(method) (Double, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":92:92, scope 102 // user: %484
  7137. store %483 to [init] %465 : $*String, loc "ClassSelectorController.swift":92:92, scope 102 // id: %484
  7138. %485 = integer_literal $Builtin.Word, 2, loc "ClassSelectorController.swift":92:93, scope 102 // user: %486
  7139. %486 = index_addr %453 : $*String, %485 : $Builtin.Word, loc "ClassSelectorController.swift":92:93, scope 102 // user: %496
  7140. // function_ref String.init(stringInterpolationSegment : String) -> String
  7141. %487 = function_ref @_TFSSCfT26stringInterpolationSegmentSS_SS : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":92:40, scope 102 // user: %495
  7142. %488 = metatype $@thin String.Type, loc "ClassSelectorController.swift":92:40, scope 102 // user: %495
  7143. %489 = string_literal utf8 "", loc "ClassSelectorController.swift":92:93, scope 102 // user: %494
  7144. %490 = integer_literal $Builtin.Word, 0, loc "ClassSelectorController.swift":92:93, scope 102 // user: %494
  7145. %491 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":92:93, scope 102 // user: %494
  7146. %492 = metatype $@thin String.Type, loc "ClassSelectorController.swift":92:93, scope 102 // user: %494
  7147. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  7148. %493 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":92:93, scope 102 // user: %494
  7149. %494 = apply %493(%489, %490, %491, %492) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":92:93, scope 102 // user: %495
  7150. %495 = apply %487(%494, %488) : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":92:93, scope 102 // user: %496
  7151. store %495 to [init] %486 : $*String, loc "ClassSelectorController.swift":92:93, scope 102 // id: %496
  7152. %497 = apply %446(%451, %447) : $@convention(method) (@owned Array<String>, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":92:93, scope 102 // user: %498
  7153. %498 = enum $Optional<String>, #Optional.some!enumelt.1, %497 : $String, loc "ClassSelectorController.swift":92:40, scope 102 // users: %504, %502
  7154. %499 = class_method [volatile] %445 : $UITextField, #UITextField.text!setter.1.foreign : (UITextField) -> (String?) -> () , $@convention(objc_method) (Optional<NSString>, UITextField) -> (), loc "ClassSelectorController.swift":92:38, scope 102 // user: %513
  7155. %500 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":92:38, scope 102 // user: %502
  7156. %501 = integer_literal $Builtin.Int1, 0, loc "ClassSelectorController.swift":92:38, scope 102 // user: %502
  7157. %502 = select_enum %498 : $Optional<String>, case #Optional.some!enumelt.1: %500, default %501 : $Builtin.Int1, loc "ClassSelectorController.swift":92:38, scope 102 // user: %503
  7158. cond_br %502, bb45, bb46, loc "ClassSelectorController.swift":92:38, scope 102 // id: %503
  7159.  
  7160. bb45: // Preds: bb44
  7161. %504 = unchecked_enum_data %498 : $Optional<String>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":92:38, scope 102 // users: %508, %506
  7162. // function_ref String._bridgeToObjectiveC() -> NSString
  7163. %505 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassSelectorController.swift":92:38, scope 102 // user: %506
  7164. %506 = apply %505(%504) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassSelectorController.swift":92:38, scope 102 // user: %507
  7165. %507 = enum $Optional<NSString>, #Optional.some!enumelt.1, %506 : $NSString, loc "ClassSelectorController.swift":92:38, scope 102 // user: %509
  7166. destroy_value %504 : $String, loc "ClassSelectorController.swift":92:40, scope 102 // id: %508
  7167. br bb47(%507 : $Optional<NSString>), loc "ClassSelectorController.swift":92:38, scope 102 // id: %509
  7168.  
  7169. bb46: // Preds: bb44
  7170. %510 = enum $Optional<NSString>, #Optional.none!enumelt, loc "ClassSelectorController.swift":92:38, scope 102 // user: %511
  7171. br bb47(%510 : $Optional<NSString>), loc "ClassSelectorController.swift":92:38, scope 102 // id: %511
  7172.  
  7173. // %512 // users: %514, %513
  7174. bb47(%512 : $Optional<NSString>): // Preds: bb46 bb45
  7175. %513 = apply %499(%512, %445) : $@convention(objc_method) (Optional<NSString>, UITextField) -> (), loc "ClassSelectorController.swift":92:38, scope 102
  7176. destroy_value %512 : $Optional<NSString>, loc "ClassSelectorController.swift":92:40, scope 102 // id: %514
  7177. dealloc_stack %476 : $*Information, loc "ClassSelectorController.swift":92:40, scope 102 // id: %515
  7178. destroy_value %445 : $UITextField, loc "ClassSelectorController.swift":92:40, scope 102 // id: %516
  7179. destroy_addr %444 : $*UITextField, loc "ClassSelectorController.swift":92:40, scope 102 // id: %517
  7180. dealloc_stack %432 : $*Optional<UITextField>, loc "ClassSelectorController.swift":92:40, scope 102 // id: %518
  7181. br bb48, loc "ClassSelectorController.swift":92:93, scope 94 // id: %519
  7182.  
  7183. bb48: // Preds: bb47 bb38 bb28 bb18
  7184. %520 = metatype $@thick Information.Type, loc "ClassSelectorController.swift":95:16, scope 94
  7185. // function_ref Information.classesAndGrades.unsafeMutableAddressor
  7186. %521 = function_ref @_TFC3gpa11Informationau16classesAndGradesGSaS0__ : $@convention(thin) () -> Builtin.RawPointer, loc "ClassSelectorController.swift":95:28, scope 94 // user: %522
  7187. %522 = apply %521() : $@convention(thin) () -> Builtin.RawPointer, loc "ClassSelectorController.swift":95:28, scope 94 // user: %523
  7188. %523 = pointer_to_address %522 : $Builtin.RawPointer to [strict] $*Array<Information>, loc "ClassSelectorController.swift":95:28, scope 94 // user: %526
  7189. %524 = class_method %3 : $ClassSelectorController, #ClassSelectorController.selected!getter.1 : (ClassSelectorController) -> () -> Int , $@convention(method) (@guaranteed ClassSelectorController) -> Int, loc "ClassSelectorController.swift":95:45, scope 94 // user: %525
  7190. %525 = apply %524(%3) : $@convention(method) (@guaranteed ClassSelectorController) -> Int, loc "ClassSelectorController.swift":95:45, scope 94 // user: %529
  7191. %526 = load [copy] %523 : $*Array<Information>, loc "ClassSelectorController.swift":95:44, scope 94 // users: %530, %529
  7192. // function_ref Array.subscript.getter
  7193. %527 = function_ref @_TFSag9subscriptFSix : $@convention(method) <τ_0_0> (Int, @guaranteed Array<τ_0_0>) -> @out τ_0_0, loc "ClassSelectorController.swift":95:44, scope 94 // user: %529
  7194. %528 = alloc_stack $Information, loc "ClassSelectorController.swift":95:44, scope 94 // users: %699, %633, %551, %531, %529
  7195. %529 = apply %527<Information>(%528, %525, %526) : $@convention(method) <τ_0_0> (Int, @guaranteed Array<τ_0_0>) -> @out τ_0_0, loc "ClassSelectorController.swift":95:44, scope 94
  7196. destroy_value %526 : $Array<Information>, loc "ClassSelectorController.swift":95:53, scope 94 // id: %530
  7197. %531 = load [take] %528 : $*Information, loc "ClassSelectorController.swift":95:44, scope 94 // users: %534, %533, %532
  7198. %532 = class_method %531 : $Information, #Information.credits!getter.1 : (Information) -> () -> Double , $@convention(method) (@guaranteed Information) -> Double, loc "ClassSelectorController.swift":95:55, scope 94 // user: %533
  7199. %533 = apply %532(%531) : $@convention(method) (@guaranteed Information) -> Double, loc "ClassSelectorController.swift":95:55, scope 94 // users: %627, %617, %545, %535
  7200. destroy_value %531 : $Information, loc "ClassSelectorController.swift":95:55, scope 94 // id: %534
  7201. debug_value %533 : $Double, let, name "$match", loc "ClassSelectorController.swift":96:18, scope 103 // id: %535
  7202. // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
  7203. %536 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "ClassSelectorController.swift":96:18, scope 103 // user: %547
  7204. // function_ref ~= infix<A where ...> (A, A) -> Bool
  7205. %537 = function_ref @_TFsoi2teuRxs9EquatablerFTxx_Sb : $@convention(thin) <τ_0_0 where τ_0_0 : Equatable> (@in τ_0_0, @in τ_0_0) -> Bool, loc "ClassSelectorController.swift":96:18, scope 103 // user: %546
  7206. // function_ref Double.init(_builtinFloatLiteral : Builtin.Float64) -> Double
  7207. %538 = function_ref @_TFSdCfT20_builtinFloatLiteralBf64__Sd : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "ClassSelectorController.swift":96:18, scope 103 // user: %541
  7208. %539 = metatype $@thin Double.Type, loc "ClassSelectorController.swift":96:18, scope 103 // user: %541
  7209. %540 = float_literal $Builtin.FPIEEE64, 0x3FE0000000000000 // 0.5, loc "ClassSelectorController.swift":96:18, scope 103 // user: %541
  7210. %541 = apply %538(%540, %539) : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "ClassSelectorController.swift":96:18, scope 103 // user: %543
  7211. %542 = alloc_stack $Double, loc "ClassSelectorController.swift":96:18, scope 103 // users: %549, %546, %543
  7212. store %541 to [trivial] %542 : $*Double, loc "ClassSelectorController.swift":96:18, scope 103 // id: %543
  7213. %544 = alloc_stack $Double, loc "ClassSelectorController.swift":96:18, scope 103 // users: %548, %546, %545
  7214. store %533 to [trivial] %544 : $*Double, loc "ClassSelectorController.swift":96:18, scope 103 // id: %545
  7215. %546 = apply %537<Double>(%542, %544) : $@convention(thin) <τ_0_0 where τ_0_0 : Equatable> (@in τ_0_0, @in τ_0_0) -> Bool, loc "ClassSelectorController.swift":96:18, scope 103 // user: %547
  7216. %547 = apply %536(%546) : $@convention(method) (Bool) -> Builtin.Int1, loc "ClassSelectorController.swift":96:18, scope 103 // user: %550
  7217. dealloc_stack %544 : $*Double, loc "ClassSelectorController.swift":96:18, scope 103 // id: %548
  7218. dealloc_stack %542 : $*Double, loc "ClassSelectorController.swift":96:18, scope 103 // id: %549
  7219. cond_br %547, bb49, bb57, loc "ClassSelectorController.swift":96:18, scope 103 // id: %550
  7220.  
  7221. bb49: // Preds: bb48
  7222. dealloc_stack %528 : $*Information, loc "ClassSelectorController.swift":105:9, scope 103 // id: %551
  7223. %552 = alloc_stack $Optional<UISegmentedControl>, loc "ClassSelectorController.swift":97:17, scope 104 // users: %574, %564, %556, %555
  7224. %553 = class_method %3 : $ClassSelectorController, #ClassSelectorController.creditsBar!getter.1 : (ClassSelectorController) -> () -> UISegmentedControl! , $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UISegmentedControl>, loc "ClassSelectorController.swift":97:17, scope 104 // user: %554
  7225. %554 = apply %553(%3) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UISegmentedControl>, loc "ClassSelectorController.swift":97:17, scope 104 // user: %555
  7226. store %554 to [init] %552 : $*Optional<UISegmentedControl>, loc "ClassSelectorController.swift":97:17, scope 104 // id: %555
  7227. switch_enum_addr %552 : $*Optional<UISegmentedControl>, case #Optional.none!enumelt: bb50, default bb51, loc "ClassSelectorController.swift":97:17, scope 104 // id: %556
  7228.  
  7229. bb50: // Preds: bb49
  7230. %557 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":97:17, scope 104 // user: %562
  7231. %558 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":97:17, scope 104 // user: %562
  7232. %559 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":97:17, scope 104 // user: %562
  7233. %560 = integer_literal $Builtin.Word, 97, loc "ClassSelectorController.swift":97:17, scope 104 // user: %562
  7234. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  7235. %561 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":97:17, scope 104 // user: %562
  7236. %562 = apply %561(%557, %558, %559, %560) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":97:17, scope 104
  7237. unreachable , loc "ClassSelectorController.swift":97:17, scope 104 // id: %563
  7238.  
  7239. bb51: // Preds: bb49
  7240. %564 = unchecked_take_enum_data_addr %552 : $*Optional<UISegmentedControl>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":97:17, scope 104 // users: %573, %565
  7241. %565 = load [copy] %564 : $*UISegmentedControl, loc "ClassSelectorController.swift":97:17, scope 104 // users: %572, %571, %570
  7242. // function_ref Int.init(_builtinIntegerLiteral : Builtin.Int2048) -> Int
  7243. %566 = function_ref @_TFSiCfT22_builtinIntegerLiteralBi2048__Si : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":97:51, scope 104 // user: %569
  7244. %567 = metatype $@thin Int.Type, loc "ClassSelectorController.swift":97:51, scope 104 // user: %569
  7245. %568 = integer_literal $Builtin.Int2048, 0, loc "ClassSelectorController.swift":97:51, scope 104 // user: %569
  7246. %569 = apply %566(%568, %567) : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":97:51, scope 104 // user: %571
  7247. %570 = class_method [volatile] %565 : $UISegmentedControl, #UISegmentedControl.selectedSegmentIndex!setter.1.foreign : (UISegmentedControl) -> (Int) -> () , $@convention(objc_method) (Int, UISegmentedControl) -> (), loc "ClassSelectorController.swift":97:49, scope 104 // user: %571
  7248. %571 = apply %570(%569, %565) : $@convention(objc_method) (Int, UISegmentedControl) -> (), loc "ClassSelectorController.swift":97:49, scope 104
  7249. destroy_value %565 : $UISegmentedControl, loc "ClassSelectorController.swift":97:51, scope 104 // id: %572
  7250. destroy_addr %564 : $*UISegmentedControl, loc "ClassSelectorController.swift":97:51, scope 104 // id: %573
  7251. dealloc_stack %552 : $*Optional<UISegmentedControl>, loc "ClassSelectorController.swift":97:51, scope 104 // id: %574
  7252. %575 = alloc_stack $Optional<UITextField>, loc "ClassSelectorController.swift":98:17, scope 104 // users: %614, %587, %579, %578
  7253. %576 = class_method %3 : $ClassSelectorController, #ClassSelectorController.creditsField!getter.1 : (ClassSelectorController) -> () -> UITextField! , $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, loc "ClassSelectorController.swift":98:17, scope 104 // user: %577
  7254. %577 = apply %576(%3) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, loc "ClassSelectorController.swift":98:17, scope 104 // user: %578
  7255. store %577 to [init] %575 : $*Optional<UITextField>, loc "ClassSelectorController.swift":98:17, scope 104 // id: %578
  7256. switch_enum_addr %575 : $*Optional<UITextField>, case #Optional.none!enumelt: bb52, default bb53, loc "ClassSelectorController.swift":98:17, scope 104 // id: %579
  7257.  
  7258. bb52: // Preds: bb51
  7259. %580 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":98:17, scope 104 // user: %585
  7260. %581 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":98:17, scope 104 // user: %585
  7261. %582 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":98:17, scope 104 // user: %585
  7262. %583 = integer_literal $Builtin.Word, 98, loc "ClassSelectorController.swift":98:17, scope 104 // user: %585
  7263. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  7264. %584 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":98:17, scope 104 // user: %585
  7265. %585 = apply %584(%580, %581, %582, %583) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":98:17, scope 104
  7266. unreachable , loc "ClassSelectorController.swift":98:17, scope 104 // id: %586
  7267.  
  7268. bb53: // Preds: bb51
  7269. %587 = unchecked_take_enum_data_addr %575 : $*Optional<UITextField>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":98:17, scope 104 // users: %613, %588
  7270. %588 = load [copy] %587 : $*UITextField, loc "ClassSelectorController.swift":98:17, scope 104 // users: %612, %610, %596
  7271. %589 = string_literal utf8 "", loc "ClassSelectorController.swift":98:37, scope 104 // user: %594
  7272. %590 = integer_literal $Builtin.Word, 0, loc "ClassSelectorController.swift":98:37, scope 104 // user: %594
  7273. %591 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":98:37, scope 104 // user: %594
  7274. %592 = metatype $@thin String.Type, loc "ClassSelectorController.swift":98:37, scope 104 // user: %594
  7275. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  7276. %593 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":98:37, scope 104 // user: %594
  7277. %594 = apply %593(%589, %590, %591, %592) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":98:37, scope 104 // user: %595
  7278. %595 = enum $Optional<String>, #Optional.some!enumelt.1, %594 : $String, loc "ClassSelectorController.swift":98:37, scope 104 // users: %601, %599
  7279. %596 = class_method [volatile] %588 : $UITextField, #UITextField.text!setter.1.foreign : (UITextField) -> (String?) -> () , $@convention(objc_method) (Optional<NSString>, UITextField) -> (), loc "ClassSelectorController.swift":98:35, scope 104 // user: %610
  7280. %597 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":98:35, scope 104 // user: %599
  7281. %598 = integer_literal $Builtin.Int1, 0, loc "ClassSelectorController.swift":98:35, scope 104 // user: %599
  7282. %599 = select_enum %595 : $Optional<String>, case #Optional.some!enumelt.1: %597, default %598 : $Builtin.Int1, loc "ClassSelectorController.swift":98:35, scope 104 // user: %600
  7283. cond_br %599, bb54, bb55, loc "ClassSelectorController.swift":98:35, scope 104 // id: %600
  7284.  
  7285. bb54: // Preds: bb53
  7286. %601 = unchecked_enum_data %595 : $Optional<String>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":98:35, scope 104 // users: %605, %603
  7287. // function_ref String._bridgeToObjectiveC() -> NSString
  7288. %602 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassSelectorController.swift":98:35, scope 104 // user: %603
  7289. %603 = apply %602(%601) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassSelectorController.swift":98:35, scope 104 // user: %604
  7290. %604 = enum $Optional<NSString>, #Optional.some!enumelt.1, %603 : $NSString, loc "ClassSelectorController.swift":98:35, scope 104 // user: %606
  7291. destroy_value %601 : $String, loc "ClassSelectorController.swift":98:37, scope 104 // id: %605
  7292. br bb56(%604 : $Optional<NSString>), loc "ClassSelectorController.swift":98:35, scope 104 // id: %606
  7293.  
  7294. bb55: // Preds: bb53
  7295. %607 = enum $Optional<NSString>, #Optional.none!enumelt, loc "ClassSelectorController.swift":98:35, scope 104 // user: %608
  7296. br bb56(%607 : $Optional<NSString>), loc "ClassSelectorController.swift":98:35, scope 104 // id: %608
  7297.  
  7298. // %609 // users: %611, %610
  7299. bb56(%609 : $Optional<NSString>): // Preds: bb55 bb54
  7300. %610 = apply %596(%609, %588) : $@convention(objc_method) (Optional<NSString>, UITextField) -> (), loc "ClassSelectorController.swift":98:35, scope 104
  7301. destroy_value %609 : $Optional<NSString>, loc "ClassSelectorController.swift":98:37, scope 104 // id: %611
  7302. destroy_value %588 : $UITextField, loc "ClassSelectorController.swift":98:37, scope 104 // id: %612
  7303. destroy_addr %587 : $*UITextField, loc "ClassSelectorController.swift":98:37, scope 104 // id: %613
  7304. dealloc_stack %575 : $*Optional<UITextField>, loc "ClassSelectorController.swift":98:37, scope 104 // id: %614
  7305. br bb76, loc "ClassSelectorController.swift":98:37, scope 94 // id: %615
  7306.  
  7307. bb57: // Preds: bb48
  7308. br bb58, loc "ClassSelectorController.swift":96:18, scope 103 // id: %616
  7309.  
  7310. bb58: // Preds: bb57
  7311. debug_value %533 : $Double, let, name "$match", loc "ClassSelectorController.swift":99:18, scope 105 // id: %617
  7312. // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
  7313. %618 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "ClassSelectorController.swift":99:18, scope 105 // user: %629
  7314. // function_ref ~= infix<A where ...> (A, A) -> Bool
  7315. %619 = function_ref @_TFsoi2teuRxs9EquatablerFTxx_Sb : $@convention(thin) <τ_0_0 where τ_0_0 : Equatable> (@in τ_0_0, @in τ_0_0) -> Bool, loc "ClassSelectorController.swift":99:18, scope 105 // user: %628
  7316. // function_ref Double.init(_builtinFloatLiteral : Builtin.Float64) -> Double
  7317. %620 = function_ref @_TFSdCfT20_builtinFloatLiteralBf64__Sd : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "ClassSelectorController.swift":99:18, scope 105 // user: %623
  7318. %621 = metatype $@thin Double.Type, loc "ClassSelectorController.swift":99:18, scope 105 // user: %623
  7319. %622 = float_literal $Builtin.FPIEEE64, 0x3FF0000000000000 // 1, loc "ClassSelectorController.swift":99:18, scope 105 // user: %623
  7320. %623 = apply %620(%622, %621) : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "ClassSelectorController.swift":99:18, scope 105 // user: %625
  7321. %624 = alloc_stack $Double, loc "ClassSelectorController.swift":99:18, scope 105 // users: %631, %628, %625
  7322. store %623 to [trivial] %624 : $*Double, loc "ClassSelectorController.swift":99:18, scope 105 // id: %625
  7323. %626 = alloc_stack $Double, loc "ClassSelectorController.swift":99:18, scope 105 // users: %630, %628, %627
  7324. store %533 to [trivial] %626 : $*Double, loc "ClassSelectorController.swift":99:18, scope 105 // id: %627
  7325. %628 = apply %619<Double>(%624, %626) : $@convention(thin) <τ_0_0 where τ_0_0 : Equatable> (@in τ_0_0, @in τ_0_0) -> Bool, loc "ClassSelectorController.swift":99:18, scope 105 // user: %629
  7326. %629 = apply %618(%628) : $@convention(method) (Bool) -> Builtin.Int1, loc "ClassSelectorController.swift":99:18, scope 105 // user: %632
  7327. dealloc_stack %626 : $*Double, loc "ClassSelectorController.swift":99:18, scope 105 // id: %630
  7328. dealloc_stack %624 : $*Double, loc "ClassSelectorController.swift":99:18, scope 105 // id: %631
  7329. cond_br %629, bb59, bb67, loc "ClassSelectorController.swift":99:18, scope 105 // id: %632
  7330.  
  7331. bb59: // Preds: bb58
  7332. dealloc_stack %528 : $*Information, loc "ClassSelectorController.swift":105:9, scope 105 // id: %633
  7333. %634 = alloc_stack $Optional<UISegmentedControl>, loc "ClassSelectorController.swift":100:17, scope 106 // users: %656, %646, %638, %637
  7334. %635 = class_method %3 : $ClassSelectorController, #ClassSelectorController.creditsBar!getter.1 : (ClassSelectorController) -> () -> UISegmentedControl! , $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UISegmentedControl>, loc "ClassSelectorController.swift":100:17, scope 106 // user: %636
  7335. %636 = apply %635(%3) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UISegmentedControl>, loc "ClassSelectorController.swift":100:17, scope 106 // user: %637
  7336. store %636 to [init] %634 : $*Optional<UISegmentedControl>, loc "ClassSelectorController.swift":100:17, scope 106 // id: %637
  7337. switch_enum_addr %634 : $*Optional<UISegmentedControl>, case #Optional.none!enumelt: bb60, default bb61, loc "ClassSelectorController.swift":100:17, scope 106 // id: %638
  7338.  
  7339. bb60: // Preds: bb59
  7340. %639 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":100:17, scope 106 // user: %644
  7341. %640 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":100:17, scope 106 // user: %644
  7342. %641 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":100:17, scope 106 // user: %644
  7343. %642 = integer_literal $Builtin.Word, 100, loc "ClassSelectorController.swift":100:17, scope 106 // user: %644
  7344. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  7345. %643 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":100:17, scope 106 // user: %644
  7346. %644 = apply %643(%639, %640, %641, %642) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":100:17, scope 106
  7347. unreachable , loc "ClassSelectorController.swift":100:17, scope 106 // id: %645
  7348.  
  7349. bb61: // Preds: bb59
  7350. %646 = unchecked_take_enum_data_addr %634 : $*Optional<UISegmentedControl>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":100:17, scope 106 // users: %655, %647
  7351. %647 = load [copy] %646 : $*UISegmentedControl, loc "ClassSelectorController.swift":100:17, scope 106 // users: %654, %653, %652
  7352. // function_ref Int.init(_builtinIntegerLiteral : Builtin.Int2048) -> Int
  7353. %648 = function_ref @_TFSiCfT22_builtinIntegerLiteralBi2048__Si : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":100:51, scope 106 // user: %651
  7354. %649 = metatype $@thin Int.Type, loc "ClassSelectorController.swift":100:51, scope 106 // user: %651
  7355. %650 = integer_literal $Builtin.Int2048, 1, loc "ClassSelectorController.swift":100:51, scope 106 // user: %651
  7356. %651 = apply %648(%650, %649) : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":100:51, scope 106 // user: %653
  7357. %652 = class_method [volatile] %647 : $UISegmentedControl, #UISegmentedControl.selectedSegmentIndex!setter.1.foreign : (UISegmentedControl) -> (Int) -> () , $@convention(objc_method) (Int, UISegmentedControl) -> (), loc "ClassSelectorController.swift":100:49, scope 106 // user: %653
  7358. %653 = apply %652(%651, %647) : $@convention(objc_method) (Int, UISegmentedControl) -> (), loc "ClassSelectorController.swift":100:49, scope 106
  7359. destroy_value %647 : $UISegmentedControl, loc "ClassSelectorController.swift":100:51, scope 106 // id: %654
  7360. destroy_addr %646 : $*UISegmentedControl, loc "ClassSelectorController.swift":100:51, scope 106 // id: %655
  7361. dealloc_stack %634 : $*Optional<UISegmentedControl>, loc "ClassSelectorController.swift":100:51, scope 106 // id: %656
  7362. %657 = alloc_stack $Optional<UITextField>, loc "ClassSelectorController.swift":101:17, scope 106 // users: %696, %669, %661, %660
  7363. %658 = class_method %3 : $ClassSelectorController, #ClassSelectorController.creditsField!getter.1 : (ClassSelectorController) -> () -> UITextField! , $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, loc "ClassSelectorController.swift":101:17, scope 106 // user: %659
  7364. %659 = apply %658(%3) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, loc "ClassSelectorController.swift":101:17, scope 106 // user: %660
  7365. store %659 to [init] %657 : $*Optional<UITextField>, loc "ClassSelectorController.swift":101:17, scope 106 // id: %660
  7366. switch_enum_addr %657 : $*Optional<UITextField>, case #Optional.none!enumelt: bb62, default bb63, loc "ClassSelectorController.swift":101:17, scope 106 // id: %661
  7367.  
  7368. bb62: // Preds: bb61
  7369. %662 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":101:17, scope 106 // user: %667
  7370. %663 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":101:17, scope 106 // user: %667
  7371. %664 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":101:17, scope 106 // user: %667
  7372. %665 = integer_literal $Builtin.Word, 101, loc "ClassSelectorController.swift":101:17, scope 106 // user: %667
  7373. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  7374. %666 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":101:17, scope 106 // user: %667
  7375. %667 = apply %666(%662, %663, %664, %665) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":101:17, scope 106
  7376. unreachable , loc "ClassSelectorController.swift":101:17, scope 106 // id: %668
  7377.  
  7378. bb63: // Preds: bb61
  7379. %669 = unchecked_take_enum_data_addr %657 : $*Optional<UITextField>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":101:17, scope 106 // users: %695, %670
  7380. %670 = load [copy] %669 : $*UITextField, loc "ClassSelectorController.swift":101:17, scope 106 // users: %694, %692, %678
  7381. %671 = string_literal utf8 "", loc "ClassSelectorController.swift":101:37, scope 106 // user: %676
  7382. %672 = integer_literal $Builtin.Word, 0, loc "ClassSelectorController.swift":101:37, scope 106 // user: %676
  7383. %673 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":101:37, scope 106 // user: %676
  7384. %674 = metatype $@thin String.Type, loc "ClassSelectorController.swift":101:37, scope 106 // user: %676
  7385. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  7386. %675 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":101:37, scope 106 // user: %676
  7387. %676 = apply %675(%671, %672, %673, %674) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":101:37, scope 106 // user: %677
  7388. %677 = enum $Optional<String>, #Optional.some!enumelt.1, %676 : $String, loc "ClassSelectorController.swift":101:37, scope 106 // users: %683, %681
  7389. %678 = class_method [volatile] %670 : $UITextField, #UITextField.text!setter.1.foreign : (UITextField) -> (String?) -> () , $@convention(objc_method) (Optional<NSString>, UITextField) -> (), loc "ClassSelectorController.swift":101:35, scope 106 // user: %692
  7390. %679 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":101:35, scope 106 // user: %681
  7391. %680 = integer_literal $Builtin.Int1, 0, loc "ClassSelectorController.swift":101:35, scope 106 // user: %681
  7392. %681 = select_enum %677 : $Optional<String>, case #Optional.some!enumelt.1: %679, default %680 : $Builtin.Int1, loc "ClassSelectorController.swift":101:35, scope 106 // user: %682
  7393. cond_br %681, bb64, bb65, loc "ClassSelectorController.swift":101:35, scope 106 // id: %682
  7394.  
  7395. bb64: // Preds: bb63
  7396. %683 = unchecked_enum_data %677 : $Optional<String>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":101:35, scope 106 // users: %687, %685
  7397. // function_ref String._bridgeToObjectiveC() -> NSString
  7398. %684 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassSelectorController.swift":101:35, scope 106 // user: %685
  7399. %685 = apply %684(%683) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassSelectorController.swift":101:35, scope 106 // user: %686
  7400. %686 = enum $Optional<NSString>, #Optional.some!enumelt.1, %685 : $NSString, loc "ClassSelectorController.swift":101:35, scope 106 // user: %688
  7401. destroy_value %683 : $String, loc "ClassSelectorController.swift":101:37, scope 106 // id: %687
  7402. br bb66(%686 : $Optional<NSString>), loc "ClassSelectorController.swift":101:35, scope 106 // id: %688
  7403.  
  7404. bb65: // Preds: bb63
  7405. %689 = enum $Optional<NSString>, #Optional.none!enumelt, loc "ClassSelectorController.swift":101:35, scope 106 // user: %690
  7406. br bb66(%689 : $Optional<NSString>), loc "ClassSelectorController.swift":101:35, scope 106 // id: %690
  7407.  
  7408. // %691 // users: %693, %692
  7409. bb66(%691 : $Optional<NSString>): // Preds: bb65 bb64
  7410. %692 = apply %678(%691, %670) : $@convention(objc_method) (Optional<NSString>, UITextField) -> (), loc "ClassSelectorController.swift":101:35, scope 106
  7411. destroy_value %691 : $Optional<NSString>, loc "ClassSelectorController.swift":101:37, scope 106 // id: %693
  7412. destroy_value %670 : $UITextField, loc "ClassSelectorController.swift":101:37, scope 106 // id: %694
  7413. destroy_addr %669 : $*UITextField, loc "ClassSelectorController.swift":101:37, scope 106 // id: %695
  7414. dealloc_stack %657 : $*Optional<UITextField>, loc "ClassSelectorController.swift":101:37, scope 106 // id: %696
  7415. br bb76, loc "ClassSelectorController.swift":101:37, scope 94 // id: %697
  7416.  
  7417. bb67: // Preds: bb58
  7418. br bb68, loc "ClassSelectorController.swift":99:18, scope 105 // id: %698
  7419.  
  7420. bb68: // Preds: bb67
  7421. dealloc_stack %528 : $*Information, loc "ClassSelectorController.swift":105:9, scope 107 // id: %699
  7422. %700 = alloc_stack $Optional<UISegmentedControl>, loc "ClassSelectorController.swift":103:17, scope 108 // users: %722, %712, %704, %703
  7423. %701 = class_method %3 : $ClassSelectorController, #ClassSelectorController.creditsBar!getter.1 : (ClassSelectorController) -> () -> UISegmentedControl! , $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UISegmentedControl>, loc "ClassSelectorController.swift":103:17, scope 108 // user: %702
  7424. %702 = apply %701(%3) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UISegmentedControl>, loc "ClassSelectorController.swift":103:17, scope 108 // user: %703
  7425. store %702 to [init] %700 : $*Optional<UISegmentedControl>, loc "ClassSelectorController.swift":103:17, scope 108 // id: %703
  7426. switch_enum_addr %700 : $*Optional<UISegmentedControl>, case #Optional.none!enumelt: bb69, default bb70, loc "ClassSelectorController.swift":103:17, scope 108 // id: %704
  7427.  
  7428. bb69: // Preds: bb68
  7429. %705 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":103:17, scope 108 // user: %710
  7430. %706 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":103:17, scope 108 // user: %710
  7431. %707 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":103:17, scope 108 // user: %710
  7432. %708 = integer_literal $Builtin.Word, 103, loc "ClassSelectorController.swift":103:17, scope 108 // user: %710
  7433. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  7434. %709 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":103:17, scope 108 // user: %710
  7435. %710 = apply %709(%705, %706, %707, %708) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":103:17, scope 108
  7436. unreachable , loc "ClassSelectorController.swift":103:17, scope 108 // id: %711
  7437.  
  7438. bb70: // Preds: bb68
  7439. %712 = unchecked_take_enum_data_addr %700 : $*Optional<UISegmentedControl>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":103:17, scope 108 // users: %721, %713
  7440. %713 = load [copy] %712 : $*UISegmentedControl, loc "ClassSelectorController.swift":103:17, scope 108 // users: %720, %719, %718
  7441. // function_ref Int.init(_builtinIntegerLiteral : Builtin.Int2048) -> Int
  7442. %714 = function_ref @_TFSiCfT22_builtinIntegerLiteralBi2048__Si : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":103:51, scope 108 // user: %717
  7443. %715 = metatype $@thin Int.Type, loc "ClassSelectorController.swift":103:51, scope 108 // user: %717
  7444. %716 = integer_literal $Builtin.Int2048, 2, loc "ClassSelectorController.swift":103:51, scope 108 // user: %717
  7445. %717 = apply %714(%716, %715) : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":103:51, scope 108 // user: %719
  7446. %718 = class_method [volatile] %713 : $UISegmentedControl, #UISegmentedControl.selectedSegmentIndex!setter.1.foreign : (UISegmentedControl) -> (Int) -> () , $@convention(objc_method) (Int, UISegmentedControl) -> (), loc "ClassSelectorController.swift":103:49, scope 108 // user: %719
  7447. %719 = apply %718(%717, %713) : $@convention(objc_method) (Int, UISegmentedControl) -> (), loc "ClassSelectorController.swift":103:49, scope 108
  7448. destroy_value %713 : $UISegmentedControl, loc "ClassSelectorController.swift":103:51, scope 108 // id: %720
  7449. destroy_addr %712 : $*UISegmentedControl, loc "ClassSelectorController.swift":103:51, scope 108 // id: %721
  7450. dealloc_stack %700 : $*Optional<UISegmentedControl>, loc "ClassSelectorController.swift":103:51, scope 108 // id: %722
  7451. %723 = alloc_stack $Optional<UITextField>, loc "ClassSelectorController.swift":104:17, scope 108 // users: %809, %735, %727, %726
  7452. %724 = class_method %3 : $ClassSelectorController, #ClassSelectorController.creditsField!getter.1 : (ClassSelectorController) -> () -> UITextField! , $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, loc "ClassSelectorController.swift":104:17, scope 108 // user: %725
  7453. %725 = apply %724(%3) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, loc "ClassSelectorController.swift":104:17, scope 108 // user: %726
  7454. store %725 to [init] %723 : $*Optional<UITextField>, loc "ClassSelectorController.swift":104:17, scope 108 // id: %726
  7455. switch_enum_addr %723 : $*Optional<UITextField>, case #Optional.none!enumelt: bb71, default bb72, loc "ClassSelectorController.swift":104:17, scope 108 // id: %727
  7456.  
  7457. bb71: // Preds: bb70
  7458. %728 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":104:17, scope 108 // user: %733
  7459. %729 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":104:17, scope 108 // user: %733
  7460. %730 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":104:17, scope 108 // user: %733
  7461. %731 = integer_literal $Builtin.Word, 104, loc "ClassSelectorController.swift":104:17, scope 108 // user: %733
  7462. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  7463. %732 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":104:17, scope 108 // user: %733
  7464. %733 = apply %732(%728, %729, %730, %731) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":104:17, scope 108
  7465. unreachable , loc "ClassSelectorController.swift":104:17, scope 108 // id: %734
  7466.  
  7467. bb72: // Preds: bb70
  7468. %735 = unchecked_take_enum_data_addr %723 : $*Optional<UITextField>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":104:17, scope 108 // users: %808, %736
  7469. %736 = load [copy] %735 : $*UITextField, loc "ClassSelectorController.swift":104:17, scope 108 // users: %807, %804, %790
  7470. // function_ref String.init(stringInterpolation : [String]...) -> String
  7471. %737 = function_ref @_TFSSCft19stringInterpolationGSaSS__SS : $@convention(method) (@owned Array<String>, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":104:37, scope 108 // user: %788
  7472. %738 = metatype $@thin String.Type, loc "ClassSelectorController.swift":104:37, scope 108 // user: %788
  7473. %739 = integer_literal $Builtin.Word, 3, loc "ClassSelectorController.swift":104:37, scope 108 // user: %741
  7474. // function_ref _allocateUninitializedArray<A> (Builtin.Word) -> ([A], Builtin.RawPointer)
  7475. %740 = function_ref @_TFs27_allocateUninitializedArrayurFBwTGSax_Bp_ : $@convention(thin) <τ_0_0> (Builtin.Word) -> (@owned Array<τ_0_0>, Builtin.RawPointer), loc "ClassSelectorController.swift":104:37, scope 108 // user: %741
  7476. %741 = apply %740<String>(%739) : $@convention(thin) <τ_0_0> (Builtin.Word) -> (@owned Array<τ_0_0>, Builtin.RawPointer), loc "ClassSelectorController.swift":104:37, scope 108 // users: %743, %742
  7477. %742 = tuple_extract %741 : $(Array<String>, Builtin.RawPointer), 0, loc "ClassSelectorController.swift":104:37, scope 108 // user: %788
  7478. %743 = tuple_extract %741 : $(Array<String>, Builtin.RawPointer), 1, loc "ClassSelectorController.swift":104:37, scope 108 // user: %744
  7479. %744 = pointer_to_address %743 : $Builtin.RawPointer to [strict] $*String, loc "ClassSelectorController.swift":104:37, scope 108 // users: %777, %756, %754
  7480. // function_ref String.init(stringInterpolationSegment : String) -> String
  7481. %745 = function_ref @_TFSSCfT26stringInterpolationSegmentSS_SS : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":104:37, scope 108 // user: %753
  7482. %746 = metatype $@thin String.Type, loc "ClassSelectorController.swift":104:37, scope 108 // user: %753
  7483. %747 = string_literal utf8 "", loc "ClassSelectorController.swift":104:37, scope 108 // user: %752
  7484. %748 = integer_literal $Builtin.Word, 0, loc "ClassSelectorController.swift":104:37, scope 108 // user: %752
  7485. %749 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":104:37, scope 108 // user: %752
  7486. %750 = metatype $@thin String.Type, loc "ClassSelectorController.swift":104:37, scope 108 // user: %752
  7487. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  7488. %751 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":104:37, scope 108 // user: %752
  7489. %752 = apply %751(%747, %748, %749, %750) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":104:37, scope 108 // user: %753
  7490. %753 = apply %745(%752, %746) : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":104:37, scope 108 // user: %754
  7491. store %753 to [init] %744 : $*String, loc "ClassSelectorController.swift":104:37, scope 108 // id: %754
  7492. %755 = integer_literal $Builtin.Word, 1, loc "ClassSelectorController.swift":104:86, scope 108 // user: %756
  7493. %756 = index_addr %744 : $*String, %755 : $Builtin.Word, loc "ClassSelectorController.swift":104:86, scope 108 // user: %775
  7494. // function_ref String.init(stringInterpolationSegment : Double) -> String
  7495. %757 = function_ref @_TFSSCfT26stringInterpolationSegmentSd_SS : $@convention(method) (Double, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":104:37, scope 108 // user: %774
  7496. %758 = metatype $@thin String.Type, loc "ClassSelectorController.swift":104:37, scope 108 // user: %774
  7497. %759 = metatype $@thick Information.Type, loc "ClassSelectorController.swift":104:40, scope 108
  7498. // function_ref Information.classesAndGrades.unsafeMutableAddressor
  7499. %760 = function_ref @_TFC3gpa11Informationau16classesAndGradesGSaS0__ : $@convention(thin) () -> Builtin.RawPointer, loc "ClassSelectorController.swift":104:52, scope 108 // user: %761
  7500. %761 = apply %760() : $@convention(thin) () -> Builtin.RawPointer, loc "ClassSelectorController.swift":104:52, scope 108 // user: %762
  7501. %762 = pointer_to_address %761 : $Builtin.RawPointer to [strict] $*Array<Information>, loc "ClassSelectorController.swift":104:52, scope 108 // user: %765
  7502. %763 = class_method %3 : $ClassSelectorController, #ClassSelectorController.selected!getter.1 : (ClassSelectorController) -> () -> Int , $@convention(method) (@guaranteed ClassSelectorController) -> Int, loc "ClassSelectorController.swift":104:69, scope 108 // user: %764
  7503. %764 = apply %763(%3) : $@convention(method) (@guaranteed ClassSelectorController) -> Int, loc "ClassSelectorController.swift":104:69, scope 108 // user: %768
  7504. %765 = load [copy] %762 : $*Array<Information>, loc "ClassSelectorController.swift":104:68, scope 108 // users: %769, %768
  7505. // function_ref Array.subscript.getter
  7506. %766 = function_ref @_TFSag9subscriptFSix : $@convention(method) <τ_0_0> (Int, @guaranteed Array<τ_0_0>) -> @out τ_0_0, loc "ClassSelectorController.swift":104:68, scope 108 // user: %768
  7507. %767 = alloc_stack $Information, loc "ClassSelectorController.swift":104:68, scope 108 // users: %806, %770, %768
  7508. %768 = apply %766<Information>(%767, %764, %765) : $@convention(method) <τ_0_0> (Int, @guaranteed Array<τ_0_0>) -> @out τ_0_0, loc "ClassSelectorController.swift":104:68, scope 108
  7509. destroy_value %765 : $Array<Information>, loc "ClassSelectorController.swift":104:77, scope 108 // id: %769
  7510. %770 = load [take] %767 : $*Information, loc "ClassSelectorController.swift":104:68, scope 108 // users: %773, %772, %771
  7511. %771 = class_method %770 : $Information, #Information.credits!getter.1 : (Information) -> () -> Double , $@convention(method) (@guaranteed Information) -> Double, loc "ClassSelectorController.swift":104:79, scope 108 // user: %772
  7512. %772 = apply %771(%770) : $@convention(method) (@guaranteed Information) -> Double, loc "ClassSelectorController.swift":104:79, scope 108 // user: %774
  7513. destroy_value %770 : $Information, loc "ClassSelectorController.swift":104:86, scope 108 // id: %773
  7514. %774 = apply %757(%772, %758) : $@convention(method) (Double, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":104:86, scope 108 // user: %775
  7515. store %774 to [init] %756 : $*String, loc "ClassSelectorController.swift":104:86, scope 108 // id: %775
  7516. %776 = integer_literal $Builtin.Word, 2, loc "ClassSelectorController.swift":104:87, scope 108 // user: %777
  7517. %777 = index_addr %744 : $*String, %776 : $Builtin.Word, loc "ClassSelectorController.swift":104:87, scope 108 // user: %787
  7518. // function_ref String.init(stringInterpolationSegment : String) -> String
  7519. %778 = function_ref @_TFSSCfT26stringInterpolationSegmentSS_SS : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":104:37, scope 108 // user: %786
  7520. %779 = metatype $@thin String.Type, loc "ClassSelectorController.swift":104:37, scope 108 // user: %786
  7521. %780 = string_literal utf8 "", loc "ClassSelectorController.swift":104:87, scope 108 // user: %785
  7522. %781 = integer_literal $Builtin.Word, 0, loc "ClassSelectorController.swift":104:87, scope 108 // user: %785
  7523. %782 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":104:87, scope 108 // user: %785
  7524. %783 = metatype $@thin String.Type, loc "ClassSelectorController.swift":104:87, scope 108 // user: %785
  7525. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  7526. %784 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":104:87, scope 108 // user: %785
  7527. %785 = apply %784(%780, %781, %782, %783) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":104:87, scope 108 // user: %786
  7528. %786 = apply %778(%785, %779) : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":104:87, scope 108 // user: %787
  7529. store %786 to [init] %777 : $*String, loc "ClassSelectorController.swift":104:87, scope 108 // id: %787
  7530. %788 = apply %737(%742, %738) : $@convention(method) (@owned Array<String>, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":104:87, scope 108 // user: %789
  7531. %789 = enum $Optional<String>, #Optional.some!enumelt.1, %788 : $String, loc "ClassSelectorController.swift":104:37, scope 108 // users: %795, %793
  7532. %790 = class_method [volatile] %736 : $UITextField, #UITextField.text!setter.1.foreign : (UITextField) -> (String?) -> () , $@convention(objc_method) (Optional<NSString>, UITextField) -> (), loc "ClassSelectorController.swift":104:35, scope 108 // user: %804
  7533. %791 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":104:35, scope 108 // user: %793
  7534. %792 = integer_literal $Builtin.Int1, 0, loc "ClassSelectorController.swift":104:35, scope 108 // user: %793
  7535. %793 = select_enum %789 : $Optional<String>, case #Optional.some!enumelt.1: %791, default %792 : $Builtin.Int1, loc "ClassSelectorController.swift":104:35, scope 108 // user: %794
  7536. cond_br %793, bb73, bb74, loc "ClassSelectorController.swift":104:35, scope 108 // id: %794
  7537.  
  7538. bb73: // Preds: bb72
  7539. %795 = unchecked_enum_data %789 : $Optional<String>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":104:35, scope 108 // users: %799, %797
  7540. // function_ref String._bridgeToObjectiveC() -> NSString
  7541. %796 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassSelectorController.swift":104:35, scope 108 // user: %797
  7542. %797 = apply %796(%795) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassSelectorController.swift":104:35, scope 108 // user: %798
  7543. %798 = enum $Optional<NSString>, #Optional.some!enumelt.1, %797 : $NSString, loc "ClassSelectorController.swift":104:35, scope 108 // user: %800
  7544. destroy_value %795 : $String, loc "ClassSelectorController.swift":104:37, scope 108 // id: %799
  7545. br bb75(%798 : $Optional<NSString>), loc "ClassSelectorController.swift":104:35, scope 108 // id: %800
  7546.  
  7547. bb74: // Preds: bb72
  7548. %801 = enum $Optional<NSString>, #Optional.none!enumelt, loc "ClassSelectorController.swift":104:35, scope 108 // user: %802
  7549. br bb75(%801 : $Optional<NSString>), loc "ClassSelectorController.swift":104:35, scope 108 // id: %802
  7550.  
  7551. // %803 // users: %805, %804
  7552. bb75(%803 : $Optional<NSString>): // Preds: bb74 bb73
  7553. %804 = apply %790(%803, %736) : $@convention(objc_method) (Optional<NSString>, UITextField) -> (), loc "ClassSelectorController.swift":104:35, scope 108
  7554. destroy_value %803 : $Optional<NSString>, loc "ClassSelectorController.swift":104:37, scope 108 // id: %805
  7555. dealloc_stack %767 : $*Information, loc "ClassSelectorController.swift":104:37, scope 108 // id: %806
  7556. destroy_value %736 : $UITextField, loc "ClassSelectorController.swift":104:37, scope 108 // id: %807
  7557. destroy_addr %735 : $*UITextField, loc "ClassSelectorController.swift":104:37, scope 108 // id: %808
  7558. dealloc_stack %723 : $*Optional<UITextField>, loc "ClassSelectorController.swift":104:37, scope 108 // id: %809
  7559. br bb76, loc "ClassSelectorController.swift":104:87, scope 94 // id: %810
  7560.  
  7561. bb76: // Preds: bb75 bb66 bb56
  7562. destroy_value %0 : $UIPickerView, loc "ClassSelectorController.swift":106:5, scope 94 // id: %811
  7563. %812 = tuple (), loc "ClassSelectorController.swift":106:5, scope 94 // user: %813
  7564. return %812 : $(), loc "ClassSelectorController.swift":106:5, scope 94 // id: %813
  7565. } // end sil function '_TFC3gpa23ClassSelectorController10pickerViewfTCSo12UIPickerView12didSelectRowSi11inComponentSi_T_'
  7566.  
  7567.  
  7568. // String.init(stringInterpolation : [String]...) -> String
  7569. sil [readonly] @_TFSSCft19stringInterpolationGSaSS__SS : $@convention(method) (@owned Array<String>, @thin String.Type) -> @owned String
  7570.  
  7571.  
  7572. // _allocateUninitializedArray<A> (Builtin.Word) -> ([A], Builtin.RawPointer)
  7573. sil [fragile] [always_inline] @_TFs27_allocateUninitializedArrayurFBwTGSax_Bp_ : $@convention(thin) <τ_0_0> (Builtin.Word) -> (@owned Array<τ_0_0>, Builtin.RawPointer)
  7574.  
  7575.  
  7576. // String.init(stringInterpolationSegment : String) -> String
  7577. sil @_TFSSCfT26stringInterpolationSegmentSS_SS : $@convention(method) (@owned String, @thin String.Type) -> @owned String
  7578.  
  7579.  
  7580. // String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  7581. sil [readonly] [_semantics "string.makeUTF8"] @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String
  7582.  
  7583.  
  7584. // String.init(stringInterpolationSegment : Int) -> String
  7585. sil @_TFSSCfT26stringInterpolationSegmentSi_SS : $@convention(method) (Int, @thin String.Type) -> @owned String
  7586.  
  7587.  
  7588. // Bool._getBuiltinLogicValue() -> Builtin.Int1
  7589. sil [transparent] [fragile] @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1
  7590.  
  7591.  
  7592. // ~= infix<A where ...> (A, A) -> Bool
  7593. sil [transparent] [fragile] @_TFsoi2teuRxs9EquatablerFTxx_Sb : $@convention(thin) <τ_0_0 where τ_0_0 : Equatable> (@in τ_0_0, @in τ_0_0) -> Bool
  7594.  
  7595.  
  7596. // Double.init(_builtinFloatLiteral : Builtin.Float64) -> Double
  7597. sil [transparent] [fragile] @_TFSdCfT20_builtinFloatLiteralBf64__Sd : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double
  7598.  
  7599.  
  7600. // String.init(stringInterpolationSegment : Double) -> String
  7601. sil @_TFSSCfT26stringInterpolationSegmentSd_SS : $@convention(method) (Double, @thin String.Type) -> @owned String
  7602.  
  7603. sil_scope 109 { loc "ClassSelectorController.swift":74:10 parent @_TToFC3gpa23ClassSelectorController10pickerViewfTCSo12UIPickerView12didSelectRowSi11inComponentSi_T_ : $@convention(objc_method) (UIPickerView, Int, Int, ClassSelectorController) -> () }
  7604.  
  7605. // @objc ClassSelectorController.pickerView(UIPickerView, didSelectRow : Int, inComponent : Int) -> ()
  7606. sil hidden [thunk] @_TToFC3gpa23ClassSelectorController10pickerViewfTCSo12UIPickerView12didSelectRowSi11inComponentSi_T_ : $@convention(objc_method) (UIPickerView, Int, Int, ClassSelectorController) -> () {
  7607. // %0 // user: %4
  7608. // %1 // user: %7
  7609. // %2 // user: %7
  7610. // %3 // user: %5
  7611. bb0(%0 : $UIPickerView, %1 : $Int, %2 : $Int, %3 : $ClassSelectorController):
  7612. %4 = copy_value %0 : $UIPickerView, scope 109 // user: %7
  7613. %5 = copy_value %3 : $ClassSelectorController, scope 109 // users: %8, %7
  7614. // function_ref ClassSelectorController.pickerView(UIPickerView, didSelectRow : Int, inComponent : Int) -> ()
  7615. %6 = function_ref @_TFC3gpa23ClassSelectorController10pickerViewfTCSo12UIPickerView12didSelectRowSi11inComponentSi_T_ : $@convention(method) (@owned UIPickerView, Int, Int, @guaranteed ClassSelectorController) -> (), scope 109 // user: %7
  7616. %7 = apply %6(%4, %1, %2, %5) : $@convention(method) (@owned UIPickerView, Int, Int, @guaranteed ClassSelectorController) -> (), scope 109 // user: %9
  7617. destroy_value %5 : $ClassSelectorController, scope 109 // id: %8
  7618. return %7 : $(), scope 109 // id: %9
  7619. } // end sil function '_TToFC3gpa23ClassSelectorController10pickerViewfTCSo12UIPickerView12didSelectRowSi11inComponentSi_T_'
  7620.  
  7621. sil_scope 110 { loc "ClassSelectorController.swift":108:20 parent @_TFC3gpa23ClassSelectorController11updateClassfP_T_ : $@convention(method) (@in Any, @guaranteed ClassSelectorController) -> () }
  7622. sil_scope 111 { loc "ClassSelectorController.swift":199:5 parent 110 }
  7623. sil_scope 112 { loc "ClassSelectorController.swift":140:9 parent 111 }
  7624. sil_scope 113 { loc "ClassSelectorController.swift":121:30 parent 111 }
  7625. sil_scope 114 { loc "ClassSelectorController.swift":140:9 parent 111 }
  7626. sil_scope 115 { loc "ClassSelectorController.swift":123:30 parent 111 }
  7627. sil_scope 116 { loc "ClassSelectorController.swift":140:9 parent 111 }
  7628. sil_scope 117 { loc "ClassSelectorController.swift":125:30 parent 111 }
  7629. sil_scope 118 { loc "ClassSelectorController.swift":140:9 parent 111 }
  7630. sil_scope 119 { loc "ClassSelectorController.swift":139:30 parent 111 }
  7631. sil_scope 120 { loc "ClassSelectorController.swift":138:17 parent 119 }
  7632. sil_scope 121 { loc "ClassSelectorController.swift":131:17 parent 119 }
  7633. sil_scope 122 { loc "ClassSelectorController.swift":176:9 parent 111 }
  7634. sil_scope 123 { loc "ClassSelectorController.swift":159:27 parent 111 }
  7635. sil_scope 124 { loc "ClassSelectorController.swift":176:9 parent 111 }
  7636. sil_scope 125 { loc "ClassSelectorController.swift":161:27 parent 111 }
  7637. sil_scope 126 { loc "ClassSelectorController.swift":176:9 parent 111 }
  7638. sil_scope 127 { loc "ClassSelectorController.swift":175:27 parent 111 }
  7639. sil_scope 128 { loc "ClassSelectorController.swift":174:17 parent 127 }
  7640. sil_scope 129 { loc "ClassSelectorController.swift":167:17 parent 127 }
  7641. sil_scope 130 { loc "ClassSelectorController.swift":152:9 parent 111 }
  7642. sil_scope 131 { loc "ClassSelectorController.swift":147:9 parent 111 }
  7643. sil_scope 132 { loc "ClassSelectorController.swift":114:9 parent 111 }
  7644.  
  7645. // ClassSelectorController.updateClass(Any) -> ()
  7646. sil hidden @_TFC3gpa23ClassSelectorController11updateClassfP_T_ : $@convention(method) (@in Any, @guaranteed ClassSelectorController) -> () {
  7647. // %0 // users: %1120, %2
  7648. // %1 // users: %951, %922, %921, %896, %895, %873, %872, %833, %832, %793, %792, %770, %769, %730, %729, %690, %689, %622, %621, %516, %515, %456, %455, %568, %567, %385, %384, %976, %975, %319, %318, %1026, %1025, %220, %219, %160, %159, %270, %269, %63, %62, %6, %5, %1075, %1074, %3
  7649. bb0(%0 : $*Any, %1 : $ClassSelectorController):
  7650. debug_value_addr %0 : $*Any, let, name "sender", argno 1, loc "ClassSelectorController.swift":108:34, scope 110 // id: %2
  7651. debug_value %1 : $ClassSelectorController, let, name "self", argno 2, loc "ClassSelectorController.swift":108:20, scope 110 // id: %3
  7652. %4 = alloc_stack $Optional<UITextField>, loc "ClassSelectorController.swift":110:31, scope 111 // users: %43, %37, %16, %8, %7
  7653. %5 = class_method %1 : $ClassSelectorController, #ClassSelectorController.classNameField!getter.1 : (ClassSelectorController) -> () -> UITextField! , $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, loc "ClassSelectorController.swift":110:31, scope 111 // user: %6
  7654. %6 = apply %5(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, loc "ClassSelectorController.swift":110:31, scope 111 // user: %7
  7655. store %6 to [init] %4 : $*Optional<UITextField>, loc "ClassSelectorController.swift":110:31, scope 111 // id: %7
  7656. switch_enum_addr %4 : $*Optional<UITextField>, case #Optional.none!enumelt: bb1, default bb2, loc "ClassSelectorController.swift":110:31, scope 111 // id: %8
  7657.  
  7658. bb1: // Preds: bb0
  7659. %9 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":110:31, scope 111 // user: %14
  7660. %10 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":110:31, scope 111 // user: %14
  7661. %11 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":110:31, scope 111 // user: %14
  7662. %12 = integer_literal $Builtin.Word, 110, loc "ClassSelectorController.swift":110:31, scope 111 // user: %14
  7663. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  7664. %13 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":110:31, scope 111 // user: %14
  7665. %14 = apply %13(%9, %10, %11, %12) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":110:31, scope 111
  7666. unreachable , loc "ClassSelectorController.swift":110:31, scope 111 // id: %15
  7667.  
  7668. bb2: // Preds: bb0
  7669. %16 = unchecked_take_enum_data_addr %4 : $*Optional<UITextField>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":110:31, scope 111 // users: %42, %36, %17
  7670. %17 = load [copy] %16 : $*UITextField, loc "ClassSelectorController.swift":110:31, scope 111 // users: %41, %35, %19, %18
  7671. %18 = class_method [volatile] %17 : $UITextField, #UITextField.text!getter.1.foreign : (UITextField) -> () -> String? , $@convention(objc_method) (UITextField) -> @autoreleased Optional<NSString>, loc "ClassSelectorController.swift":110:46, scope 111 // user: %19
  7672. %19 = apply %18(%17) : $@convention(objc_method) (UITextField) -> @autoreleased Optional<NSString>, loc "ClassSelectorController.swift":110:46, scope 111 // users: %24, %22
  7673. %20 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":110:46, scope 111 // user: %22
  7674. %21 = integer_literal $Builtin.Int1, 0, loc "ClassSelectorController.swift":110:46, scope 111 // user: %22
  7675. %22 = select_enum %19 : $Optional<NSString>, case #Optional.some!enumelt.1: %20, default %21 : $Builtin.Int1, loc "ClassSelectorController.swift":110:46, scope 111 // user: %23
  7676. cond_br %22, bb3, bb4, loc "ClassSelectorController.swift":110:46, scope 111 // id: %23
  7677.  
  7678. bb3: // Preds: bb2
  7679. %24 = unchecked_enum_data %19 : $Optional<NSString>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":110:46, scope 111 // user: %26
  7680. // function_ref static String._unconditionallyBridgeFromObjectiveC(NSString?) -> String
  7681. %25 = function_ref @_TZFE10FoundationSS36_unconditionallyBridgeFromObjectiveCfGSqCSo8NSString_SS : $@convention(method) (@owned Optional<NSString>, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":110:46, scope 111 // user: %28
  7682. %26 = enum $Optional<NSString>, #Optional.some!enumelt.1, %24 : $NSString, loc "ClassSelectorController.swift":110:46, scope 111 // user: %28
  7683. %27 = metatype $@thin String.Type, loc "ClassSelectorController.swift":110:46, scope 111 // user: %28
  7684. %28 = apply %25(%26, %27) : $@convention(method) (@owned Optional<NSString>, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":110:46, scope 111 // user: %29
  7685. %29 = enum $Optional<String>, #Optional.some!enumelt.1, %28 : $String, loc "ClassSelectorController.swift":110:46, scope 111 // user: %30
  7686. br bb5(%29 : $Optional<String>), loc "ClassSelectorController.swift":110:46, scope 111 // id: %30
  7687.  
  7688. bb4: // Preds: bb2
  7689. %31 = enum $Optional<String>, #Optional.none!enumelt, loc "ClassSelectorController.swift":110:46, scope 111 // user: %32
  7690. br bb5(%31 : $Optional<String>), loc "ClassSelectorController.swift":110:46, scope 111 // id: %32
  7691.  
  7692. // %33 // user: %34
  7693. bb5(%33 : $Optional<String>): // Preds: bb4 bb3
  7694. switch_enum %33 : $Optional<String>, case #Optional.some!enumelt.1: bb7, default bb6, loc "ClassSelectorController.swift":110:46, scope 111 // id: %34
  7695.  
  7696. bb6: // Preds: bb5
  7697. destroy_value %17 : $UITextField, loc "ClassSelectorController.swift":114:9, scope 111 // id: %35
  7698. destroy_addr %16 : $*UITextField, loc "ClassSelectorController.swift":114:9, scope 111 // id: %36
  7699. dealloc_stack %4 : $*Optional<UITextField>, loc "ClassSelectorController.swift":114:9, scope 111 // id: %37
  7700. br bb110, loc "ClassSelectorController.swift":110:46, scope 111 // id: %38
  7701.  
  7702. // %39 // users: %972, %625, %564, %615, %1022, %1071, %266, %315, %52, %48, %40
  7703. bb7(%39 : $String): // Preds: bb5
  7704. debug_value %39 : $String, let, name "className", loc "ClassSelectorController.swift":110:19, scope 111 // id: %40
  7705. destroy_value %17 : $UITextField, loc "ClassSelectorController.swift":110:46, scope 111 // id: %41
  7706. destroy_addr %16 : $*UITextField, loc "ClassSelectorController.swift":110:46, scope 111 // id: %42
  7707. dealloc_stack %4 : $*Optional<UITextField>, loc "ClassSelectorController.swift":110:46, scope 111 // id: %43
  7708. // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
  7709. %44 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "ClassSelectorController.swift":110:52, scope 111 // user: %50
  7710. // function_ref static Bool.! prefix(Bool) -> Bool
  7711. %45 = function_ref @_TZFSbop1nfSbSb : $@convention(method) (Bool, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":110:52, scope 111 // user: %49
  7712. %46 = metatype $@thin Bool.Type, loc "ClassSelectorController.swift":110:52, scope 111 // user: %49
  7713. // function_ref String.isEmpty.getter
  7714. %47 = function_ref @_TFSSg7isEmptySb : $@convention(method) (@guaranteed String) -> Bool, loc "ClassSelectorController.swift":110:63, scope 111 // user: %48
  7715. %48 = apply %47(%39) : $@convention(method) (@guaranteed String) -> Bool, loc "ClassSelectorController.swift":110:63, scope 111 // user: %49
  7716. %49 = apply %45(%48, %46) : $@convention(method) (Bool, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":110:52, scope 111 // user: %50
  7717. %50 = apply %44(%49) : $@convention(method) (Bool) -> Builtin.Int1, loc "ClassSelectorController.swift":110:63, scope 111 // user: %51
  7718. cond_br %50, bb9, bb8, loc "ClassSelectorController.swift":110:63, scope 111 // id: %51
  7719.  
  7720. bb8: // Preds: bb7
  7721. destroy_value %39 : $String, loc "ClassSelectorController.swift":114:9, scope 111 // id: %52
  7722. br bb110, loc "ClassSelectorController.swift":110:9, scope 111 // id: %53
  7723.  
  7724. bb9: // Preds: bb7
  7725. %54 = alloc_box ${ var Double }, var, name "multiplier", loc "ClassSelectorController.swift":117:13, scope 111 // users: %971, %563, %614, %1021, %1070, %265, %314, %55
  7726. %55 = project_box %54 : ${ var Double }, 0, loc "ClassSelectorController.swift":117:13, scope 111 // users: %626, %215, %152, %126, %100, %60
  7727. // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
  7728. %56 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "ClassSelectorController.swift":117:34, scope 111 // user: %59
  7729. %57 = metatype $@thin Double.Type, loc "ClassSelectorController.swift":117:34, scope 111 // user: %59
  7730. %58 = integer_literal $Builtin.Int2048, -1, loc "ClassSelectorController.swift":117:34, scope 111 // user: %59
  7731. %59 = apply %56(%58, %57) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "ClassSelectorController.swift":117:35, scope 111 // user: %60
  7732. store %59 to [trivial] %55 : $*Double, loc "ClassSelectorController.swift":117:35, scope 111 // id: %60
  7733. %61 = alloc_stack $Optional<UISegmentedControl>, loc "ClassSelectorController.swift":119:16, scope 111 // users: %157, %147, %121, %95, %73, %65, %64
  7734. %62 = class_method %1 : $ClassSelectorController, #ClassSelectorController.multiplierBar!getter.1 : (ClassSelectorController) -> () -> UISegmentedControl! , $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UISegmentedControl>, loc "ClassSelectorController.swift":119:16, scope 111 // user: %63
  7735. %63 = apply %62(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UISegmentedControl>, loc "ClassSelectorController.swift":119:16, scope 111 // user: %64
  7736. store %63 to [init] %61 : $*Optional<UISegmentedControl>, loc "ClassSelectorController.swift":119:16, scope 111 // id: %64
  7737. switch_enum_addr %61 : $*Optional<UISegmentedControl>, case #Optional.none!enumelt: bb10, default bb11, loc "ClassSelectorController.swift":119:16, scope 111 // id: %65
  7738.  
  7739. bb10: // Preds: bb9
  7740. %66 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":119:16, scope 111 // user: %71
  7741. %67 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":119:16, scope 111 // user: %71
  7742. %68 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":119:16, scope 111 // user: %71
  7743. %69 = integer_literal $Builtin.Word, 119, loc "ClassSelectorController.swift":119:16, scope 111 // user: %71
  7744. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  7745. %70 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":119:16, scope 111 // user: %71
  7746. %71 = apply %70(%66, %67, %68, %69) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":119:16, scope 111
  7747. unreachable , loc "ClassSelectorController.swift":119:16, scope 111 // id: %72
  7748.  
  7749. bb11: // Preds: bb9
  7750. %73 = unchecked_take_enum_data_addr %61 : $*Optional<UISegmentedControl>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":119:16, scope 111 // users: %156, %146, %120, %94, %74
  7751. %74 = load [copy] %73 : $*UISegmentedControl, loc "ClassSelectorController.swift":119:16, scope 111 // users: %155, %145, %119, %93, %76, %75
  7752. %75 = class_method [volatile] %74 : $UISegmentedControl, #UISegmentedControl.selectedSegmentIndex!getter.1.foreign : (UISegmentedControl) -> () -> Int , $@convention(objc_method) (UISegmentedControl) -> Int, loc "ClassSelectorController.swift":119:30, scope 111 // user: %76
  7753. %76 = apply %75(%74) : $@convention(objc_method) (UISegmentedControl) -> Int, loc "ClassSelectorController.swift":119:30, scope 111 // users: %139, %129, %113, %103, %87, %77
  7754. debug_value %76 : $Int, let, name "$match", loc "ClassSelectorController.swift":120:18, scope 112 // id: %77
  7755. // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
  7756. %78 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "ClassSelectorController.swift":120:18, scope 112 // user: %89
  7757. // function_ref ~= infix<A where ...> (A, A) -> Bool
  7758. %79 = function_ref @_TFsoi2teuRxs9EquatablerFTxx_Sb : $@convention(thin) <τ_0_0 where τ_0_0 : Equatable> (@in τ_0_0, @in τ_0_0) -> Bool, loc "ClassSelectorController.swift":120:18, scope 112 // user: %88
  7759. // function_ref Int.init(_builtinIntegerLiteral : Builtin.Int2048) -> Int
  7760. %80 = function_ref @_TFSiCfT22_builtinIntegerLiteralBi2048__Si : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":120:18, scope 112 // user: %83
  7761. %81 = metatype $@thin Int.Type, loc "ClassSelectorController.swift":120:18, scope 112 // user: %83
  7762. %82 = integer_literal $Builtin.Int2048, 0, loc "ClassSelectorController.swift":120:18, scope 112 // user: %83
  7763. %83 = apply %80(%82, %81) : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":120:18, scope 112 // user: %85
  7764. %84 = alloc_stack $Int, loc "ClassSelectorController.swift":120:18, scope 112 // users: %91, %88, %85
  7765. store %83 to [trivial] %84 : $*Int, loc "ClassSelectorController.swift":120:18, scope 112 // id: %85
  7766. %86 = alloc_stack $Int, loc "ClassSelectorController.swift":120:18, scope 112 // users: %90, %88, %87
  7767. store %76 to [trivial] %86 : $*Int, loc "ClassSelectorController.swift":120:18, scope 112 // id: %87
  7768. %88 = apply %79<Int>(%84, %86) : $@convention(thin) <τ_0_0 where τ_0_0 : Equatable> (@in τ_0_0, @in τ_0_0) -> Bool, loc "ClassSelectorController.swift":120:18, scope 112 // user: %89
  7769. %89 = apply %78(%88) : $@convention(method) (Bool) -> Builtin.Int1, loc "ClassSelectorController.swift":120:18, scope 112 // user: %92
  7770. dealloc_stack %86 : $*Int, loc "ClassSelectorController.swift":120:18, scope 112 // id: %90
  7771. dealloc_stack %84 : $*Int, loc "ClassSelectorController.swift":120:18, scope 112 // id: %91
  7772. cond_br %89, bb12, bb13, loc "ClassSelectorController.swift":120:18, scope 112 // id: %92
  7773.  
  7774. bb12: // Preds: bb11
  7775. destroy_value %74 : $UISegmentedControl, loc "ClassSelectorController.swift":140:9, scope 112 // id: %93
  7776. destroy_addr %73 : $*UISegmentedControl, loc "ClassSelectorController.swift":140:9, scope 112 // id: %94
  7777. dealloc_stack %61 : $*Optional<UISegmentedControl>, loc "ClassSelectorController.swift":140:9, scope 112 // id: %95
  7778. // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
  7779. %96 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "ClassSelectorController.swift":121:30, scope 113 // user: %99
  7780. %97 = metatype $@thin Double.Type, loc "ClassSelectorController.swift":121:30, scope 113 // user: %99
  7781. %98 = integer_literal $Builtin.Int2048, 1, loc "ClassSelectorController.swift":121:30, scope 113 // user: %99
  7782. %99 = apply %96(%98, %97) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "ClassSelectorController.swift":121:30, scope 113 // user: %100
  7783. assign %99 to %55 : $*Double, loc "ClassSelectorController.swift":121:28, scope 113 // id: %100
  7784. br bb37, loc "ClassSelectorController.swift":121:30, scope 111 // id: %101
  7785.  
  7786. bb13: // Preds: bb11
  7787. br bb14, loc "ClassSelectorController.swift":120:18, scope 112 // id: %102
  7788.  
  7789. bb14: // Preds: bb13
  7790. debug_value %76 : $Int, let, name "$match", loc "ClassSelectorController.swift":122:18, scope 114 // id: %103
  7791. // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
  7792. %104 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "ClassSelectorController.swift":122:18, scope 114 // user: %115
  7793. // function_ref ~= infix<A where ...> (A, A) -> Bool
  7794. %105 = function_ref @_TFsoi2teuRxs9EquatablerFTxx_Sb : $@convention(thin) <τ_0_0 where τ_0_0 : Equatable> (@in τ_0_0, @in τ_0_0) -> Bool, loc "ClassSelectorController.swift":122:18, scope 114 // user: %114
  7795. // function_ref Int.init(_builtinIntegerLiteral : Builtin.Int2048) -> Int
  7796. %106 = function_ref @_TFSiCfT22_builtinIntegerLiteralBi2048__Si : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":122:18, scope 114 // user: %109
  7797. %107 = metatype $@thin Int.Type, loc "ClassSelectorController.swift":122:18, scope 114 // user: %109
  7798. %108 = integer_literal $Builtin.Int2048, 1, loc "ClassSelectorController.swift":122:18, scope 114 // user: %109
  7799. %109 = apply %106(%108, %107) : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":122:18, scope 114 // user: %111
  7800. %110 = alloc_stack $Int, loc "ClassSelectorController.swift":122:18, scope 114 // users: %117, %114, %111
  7801. store %109 to [trivial] %110 : $*Int, loc "ClassSelectorController.swift":122:18, scope 114 // id: %111
  7802. %112 = alloc_stack $Int, loc "ClassSelectorController.swift":122:18, scope 114 // users: %116, %114, %113
  7803. store %76 to [trivial] %112 : $*Int, loc "ClassSelectorController.swift":122:18, scope 114 // id: %113
  7804. %114 = apply %105<Int>(%110, %112) : $@convention(thin) <τ_0_0 where τ_0_0 : Equatable> (@in τ_0_0, @in τ_0_0) -> Bool, loc "ClassSelectorController.swift":122:18, scope 114 // user: %115
  7805. %115 = apply %104(%114) : $@convention(method) (Bool) -> Builtin.Int1, loc "ClassSelectorController.swift":122:18, scope 114 // user: %118
  7806. dealloc_stack %112 : $*Int, loc "ClassSelectorController.swift":122:18, scope 114 // id: %116
  7807. dealloc_stack %110 : $*Int, loc "ClassSelectorController.swift":122:18, scope 114 // id: %117
  7808. cond_br %115, bb15, bb16, loc "ClassSelectorController.swift":122:18, scope 114 // id: %118
  7809.  
  7810. bb15: // Preds: bb14
  7811. destroy_value %74 : $UISegmentedControl, loc "ClassSelectorController.swift":140:9, scope 114 // id: %119
  7812. destroy_addr %73 : $*UISegmentedControl, loc "ClassSelectorController.swift":140:9, scope 114 // id: %120
  7813. dealloc_stack %61 : $*Optional<UISegmentedControl>, loc "ClassSelectorController.swift":140:9, scope 114 // id: %121
  7814. // function_ref Double.init(_builtinFloatLiteral : Builtin.Float64) -> Double
  7815. %122 = function_ref @_TFSdCfT20_builtinFloatLiteralBf64__Sd : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "ClassSelectorController.swift":123:30, scope 115 // user: %125
  7816. %123 = metatype $@thin Double.Type, loc "ClassSelectorController.swift":123:30, scope 115 // user: %125
  7817. %124 = float_literal $Builtin.FPIEEE64, 0x3FF199999999999A // 1.1000000000000001, loc "ClassSelectorController.swift":123:30, scope 115 // user: %125
  7818. %125 = apply %122(%124, %123) : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "ClassSelectorController.swift":123:30, scope 115 // user: %126
  7819. assign %125 to %55 : $*Double, loc "ClassSelectorController.swift":123:28, scope 115 // id: %126
  7820. br bb37, loc "ClassSelectorController.swift":123:30, scope 111 // id: %127
  7821.  
  7822. bb16: // Preds: bb14
  7823. br bb17, loc "ClassSelectorController.swift":122:18, scope 114 // id: %128
  7824.  
  7825. bb17: // Preds: bb16
  7826. debug_value %76 : $Int, let, name "$match", loc "ClassSelectorController.swift":124:18, scope 116 // id: %129
  7827. // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
  7828. %130 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "ClassSelectorController.swift":124:18, scope 116 // user: %141
  7829. // function_ref ~= infix<A where ...> (A, A) -> Bool
  7830. %131 = function_ref @_TFsoi2teuRxs9EquatablerFTxx_Sb : $@convention(thin) <τ_0_0 where τ_0_0 : Equatable> (@in τ_0_0, @in τ_0_0) -> Bool, loc "ClassSelectorController.swift":124:18, scope 116 // user: %140
  7831. // function_ref Int.init(_builtinIntegerLiteral : Builtin.Int2048) -> Int
  7832. %132 = function_ref @_TFSiCfT22_builtinIntegerLiteralBi2048__Si : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":124:18, scope 116 // user: %135
  7833. %133 = metatype $@thin Int.Type, loc "ClassSelectorController.swift":124:18, scope 116 // user: %135
  7834. %134 = integer_literal $Builtin.Int2048, 2, loc "ClassSelectorController.swift":124:18, scope 116 // user: %135
  7835. %135 = apply %132(%134, %133) : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":124:18, scope 116 // user: %137
  7836. %136 = alloc_stack $Int, loc "ClassSelectorController.swift":124:18, scope 116 // users: %143, %140, %137
  7837. store %135 to [trivial] %136 : $*Int, loc "ClassSelectorController.swift":124:18, scope 116 // id: %137
  7838. %138 = alloc_stack $Int, loc "ClassSelectorController.swift":124:18, scope 116 // users: %142, %140, %139
  7839. store %76 to [trivial] %138 : $*Int, loc "ClassSelectorController.swift":124:18, scope 116 // id: %139
  7840. %140 = apply %131<Int>(%136, %138) : $@convention(thin) <τ_0_0 where τ_0_0 : Equatable> (@in τ_0_0, @in τ_0_0) -> Bool, loc "ClassSelectorController.swift":124:18, scope 116 // user: %141
  7841. %141 = apply %130(%140) : $@convention(method) (Bool) -> Builtin.Int1, loc "ClassSelectorController.swift":124:18, scope 116 // user: %144
  7842. dealloc_stack %138 : $*Int, loc "ClassSelectorController.swift":124:18, scope 116 // id: %142
  7843. dealloc_stack %136 : $*Int, loc "ClassSelectorController.swift":124:18, scope 116 // id: %143
  7844. cond_br %141, bb18, bb19, loc "ClassSelectorController.swift":124:18, scope 116 // id: %144
  7845.  
  7846. bb18: // Preds: bb17
  7847. destroy_value %74 : $UISegmentedControl, loc "ClassSelectorController.swift":140:9, scope 116 // id: %145
  7848. destroy_addr %73 : $*UISegmentedControl, loc "ClassSelectorController.swift":140:9, scope 116 // id: %146
  7849. dealloc_stack %61 : $*Optional<UISegmentedControl>, loc "ClassSelectorController.swift":140:9, scope 116 // id: %147
  7850. // function_ref Double.init(_builtinFloatLiteral : Builtin.Float64) -> Double
  7851. %148 = function_ref @_TFSdCfT20_builtinFloatLiteralBf64__Sd : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "ClassSelectorController.swift":125:30, scope 117 // user: %151
  7852. %149 = metatype $@thin Double.Type, loc "ClassSelectorController.swift":125:30, scope 117 // user: %151
  7853. %150 = float_literal $Builtin.FPIEEE64, 0x3FF3333333333333 // 1.2, loc "ClassSelectorController.swift":125:30, scope 117 // user: %151
  7854. %151 = apply %148(%150, %149) : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "ClassSelectorController.swift":125:30, scope 117 // user: %152
  7855. assign %151 to %55 : $*Double, loc "ClassSelectorController.swift":125:28, scope 117 // id: %152
  7856. br bb37, loc "ClassSelectorController.swift":125:30, scope 111 // id: %153
  7857.  
  7858. bb19: // Preds: bb17
  7859. br bb20, loc "ClassSelectorController.swift":124:18, scope 116 // id: %154
  7860.  
  7861. bb20: // Preds: bb19
  7862. destroy_value %74 : $UISegmentedControl, loc "ClassSelectorController.swift":140:9, scope 118 // id: %155
  7863. destroy_addr %73 : $*UISegmentedControl, loc "ClassSelectorController.swift":140:9, scope 118 // id: %156
  7864. dealloc_stack %61 : $*Optional<UISegmentedControl>, loc "ClassSelectorController.swift":140:9, scope 118 // id: %157
  7865. %158 = alloc_stack $Optional<UITextField>, loc "ClassSelectorController.swift":127:44, scope 119 // users: %197, %191, %170, %162, %161
  7866. %159 = class_method %1 : $ClassSelectorController, #ClassSelectorController.multiplierField!getter.1 : (ClassSelectorController) -> () -> UITextField! , $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, loc "ClassSelectorController.swift":127:44, scope 119 // user: %160
  7867. %160 = apply %159(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, loc "ClassSelectorController.swift":127:44, scope 119 // user: %161
  7868. store %160 to [init] %158 : $*Optional<UITextField>, loc "ClassSelectorController.swift":127:44, scope 119 // id: %161
  7869. switch_enum_addr %158 : $*Optional<UITextField>, case #Optional.none!enumelt: bb21, default bb22, loc "ClassSelectorController.swift":127:44, scope 119 // id: %162
  7870.  
  7871. bb21: // Preds: bb20
  7872. %163 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":127:44, scope 119 // user: %168
  7873. %164 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":127:44, scope 119 // user: %168
  7874. %165 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":127:44, scope 119 // user: %168
  7875. %166 = integer_literal $Builtin.Word, 127, loc "ClassSelectorController.swift":127:44, scope 119 // user: %168
  7876. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  7877. %167 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":127:44, scope 119 // user: %168
  7878. %168 = apply %167(%163, %164, %165, %166) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":127:44, scope 119
  7879. unreachable , loc "ClassSelectorController.swift":127:44, scope 119 // id: %169
  7880.  
  7881. bb22: // Preds: bb20
  7882. %170 = unchecked_take_enum_data_addr %158 : $*Optional<UITextField>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":127:44, scope 119 // users: %196, %190, %171
  7883. %171 = load [copy] %170 : $*UITextField, loc "ClassSelectorController.swift":127:44, scope 119 // users: %195, %189, %173, %172
  7884. %172 = class_method [volatile] %171 : $UITextField, #UITextField.text!getter.1.foreign : (UITextField) -> () -> String? , $@convention(objc_method) (UITextField) -> @autoreleased Optional<NSString>, loc "ClassSelectorController.swift":127:60, scope 119 // user: %173
  7885. %173 = apply %172(%171) : $@convention(objc_method) (UITextField) -> @autoreleased Optional<NSString>, loc "ClassSelectorController.swift":127:60, scope 119 // users: %178, %176
  7886. %174 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":127:60, scope 119 // user: %176
  7887. %175 = integer_literal $Builtin.Int1, 0, loc "ClassSelectorController.swift":127:60, scope 119 // user: %176
  7888. %176 = select_enum %173 : $Optional<NSString>, case #Optional.some!enumelt.1: %174, default %175 : $Builtin.Int1, loc "ClassSelectorController.swift":127:60, scope 119 // user: %177
  7889. cond_br %176, bb23, bb24, loc "ClassSelectorController.swift":127:60, scope 119 // id: %177
  7890.  
  7891. bb23: // Preds: bb22
  7892. %178 = unchecked_enum_data %173 : $Optional<NSString>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":127:60, scope 119 // user: %180
  7893. // function_ref static String._unconditionallyBridgeFromObjectiveC(NSString?) -> String
  7894. %179 = function_ref @_TZFE10FoundationSS36_unconditionallyBridgeFromObjectiveCfGSqCSo8NSString_SS : $@convention(method) (@owned Optional<NSString>, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":127:60, scope 119 // user: %182
  7895. %180 = enum $Optional<NSString>, #Optional.some!enumelt.1, %178 : $NSString, loc "ClassSelectorController.swift":127:60, scope 119 // user: %182
  7896. %181 = metatype $@thin String.Type, loc "ClassSelectorController.swift":127:60, scope 119 // user: %182
  7897. %182 = apply %179(%180, %181) : $@convention(method) (@owned Optional<NSString>, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":127:60, scope 119 // user: %183
  7898. %183 = enum $Optional<String>, #Optional.some!enumelt.1, %182 : $String, loc "ClassSelectorController.swift":127:60, scope 119 // user: %184
  7899. br bb25(%183 : $Optional<String>), loc "ClassSelectorController.swift":127:60, scope 119 // id: %184
  7900.  
  7901. bb24: // Preds: bb22
  7902. %185 = enum $Optional<String>, #Optional.none!enumelt, loc "ClassSelectorController.swift":127:60, scope 119 // user: %186
  7903. br bb25(%185 : $Optional<String>), loc "ClassSelectorController.swift":127:60, scope 119 // id: %186
  7904.  
  7905. // %187 // user: %188
  7906. bb25(%187 : $Optional<String>): // Preds: bb24 bb23
  7907. switch_enum %187 : $Optional<String>, case #Optional.some!enumelt.1: bb27, default bb26, loc "ClassSelectorController.swift":127:60, scope 119 // id: %188
  7908.  
  7909. bb26: // Preds: bb25
  7910. destroy_value %171 : $UITextField, loc "ClassSelectorController.swift":131:17, scope 119 // id: %189
  7911. destroy_addr %170 : $*UITextField, loc "ClassSelectorController.swift":131:17, scope 119 // id: %190
  7912. dealloc_stack %158 : $*Optional<UITextField>, loc "ClassSelectorController.swift":131:17, scope 119 // id: %191
  7913. br bb34, loc "ClassSelectorController.swift":127:60, scope 119 // id: %192
  7914.  
  7915. // %193 // users: %216, %210, %264, %206, %202, %194
  7916. bb27(%193 : $String): // Preds: bb25
  7917. debug_value %193 : $String, let, name "multiplierText", loc "ClassSelectorController.swift":127:27, scope 119 // id: %194
  7918. destroy_value %171 : $UITextField, loc "ClassSelectorController.swift":127:60, scope 119 // id: %195
  7919. destroy_addr %170 : $*UITextField, loc "ClassSelectorController.swift":127:60, scope 119 // id: %196
  7920. dealloc_stack %158 : $*Optional<UITextField>, loc "ClassSelectorController.swift":127:60, scope 119 // id: %197
  7921. // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
  7922. %198 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "ClassSelectorController.swift":127:66, scope 119 // user: %204
  7923. // function_ref static Bool.! prefix(Bool) -> Bool
  7924. %199 = function_ref @_TZFSbop1nfSbSb : $@convention(method) (Bool, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":127:66, scope 119 // user: %203
  7925. %200 = metatype $@thin Bool.Type, loc "ClassSelectorController.swift":127:66, scope 119 // user: %203
  7926. // function_ref String.isEmpty.getter
  7927. %201 = function_ref @_TFSSg7isEmptySb : $@convention(method) (@guaranteed String) -> Bool, loc "ClassSelectorController.swift":127:82, scope 119 // user: %202
  7928. %202 = apply %201(%193) : $@convention(method) (@guaranteed String) -> Bool, loc "ClassSelectorController.swift":127:82, scope 119 // user: %203
  7929. %203 = apply %199(%202, %200) : $@convention(method) (Bool, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":127:66, scope 119 // user: %204
  7930. %204 = apply %198(%203) : $@convention(method) (Bool) -> Builtin.Int1, loc "ClassSelectorController.swift":127:82, scope 119 // user: %205
  7931. cond_br %204, bb29, bb28, loc "ClassSelectorController.swift":127:82, scope 119 // id: %205
  7932.  
  7933. bb28: // Preds: bb27
  7934. destroy_value %193 : $String, loc "ClassSelectorController.swift":131:17, scope 119 // id: %206
  7935. br bb34, loc "ClassSelectorController.swift":127:17, scope 119 // id: %207
  7936.  
  7937. bb29: // Preds: bb27
  7938. // function_ref Double.init(String) -> Double?
  7939. %208 = function_ref @_TFSdCfSSGSqSd_ : $@convention(method) (@owned String, @thin Double.Type) -> Optional<Double>, loc "ClassSelectorController.swift":134:41, scope 119 // user: %211
  7940. %209 = metatype $@thin Double.Type, loc "ClassSelectorController.swift":134:41, scope 119 // user: %211
  7941. %210 = copy_value %193 : $String, loc "ClassSelectorController.swift":134:48, scope 119 // user: %211
  7942. %211 = apply %208(%210, %209) : $@convention(method) (@owned String, @thin Double.Type) -> Optional<Double>, loc "ClassSelectorController.swift":134:62, scope 119 // user: %212
  7943. switch_enum %211 : $Optional<Double>, case #Optional.some!enumelt.1: bb30, default bb31, loc "ClassSelectorController.swift":134:62, scope 119 // id: %212
  7944.  
  7945. // %213 // users: %215, %214
  7946. bb30(%213 : $Double): // Preds: bb29
  7947. debug_value %213 : $Double, let, name "_multiplier", loc "ClassSelectorController.swift":134:27, scope 119 // id: %214
  7948. assign %213 to %55 : $*Double, loc "ClassSelectorController.swift":139:28, scope 119 // id: %215
  7949. destroy_value %193 : $String, loc "ClassSelectorController.swift":139:30, scope 111 // id: %216
  7950. br bb37, loc "ClassSelectorController.swift":139:30, scope 111 // id: %217
  7951.  
  7952. bb31: // Preds: bb29
  7953. %218 = alloc_stack $Optional<UILabel>, loc "ClassSelectorController.swift":135:21, scope 120 // users: %243, %230, %222, %221
  7954. %219 = class_method %1 : $ClassSelectorController, #ClassSelectorController.warningLabel!getter.1 : (ClassSelectorController) -> () -> UILabel! , $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UILabel>, loc "ClassSelectorController.swift":135:21, scope 120 // user: %220
  7955. %220 = apply %219(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UILabel>, loc "ClassSelectorController.swift":135:21, scope 120 // user: %221
  7956. store %220 to [init] %218 : $*Optional<UILabel>, loc "ClassSelectorController.swift":135:21, scope 120 // id: %221
  7957. switch_enum_addr %218 : $*Optional<UILabel>, case #Optional.none!enumelt: bb32, default bb33, loc "ClassSelectorController.swift":135:21, scope 120 // id: %222
  7958.  
  7959. bb32: // Preds: bb31
  7960. %223 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":135:21, scope 120 // user: %228
  7961. %224 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":135:21, scope 120 // user: %228
  7962. %225 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":135:21, scope 120 // user: %228
  7963. %226 = integer_literal $Builtin.Word, 135, loc "ClassSelectorController.swift":135:21, scope 120 // user: %228
  7964. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  7965. %227 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":135:21, scope 120 // user: %228
  7966. %228 = apply %227(%223, %224, %225, %226) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":135:21, scope 120
  7967. unreachable , loc "ClassSelectorController.swift":135:21, scope 120 // id: %229
  7968.  
  7969. bb33: // Preds: bb31
  7970. %230 = unchecked_take_enum_data_addr %218 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":135:21, scope 120 // users: %242, %231
  7971. %231 = load [copy] %230 : $*UILabel, loc "ClassSelectorController.swift":135:21, scope 120 // users: %241, %232
  7972. %232 = upcast %231 : $UILabel to $UIView, loc "ClassSelectorController.swift":135:21, scope 120 // users: %240, %237
  7973. // function_ref Bool.init(_builtinBooleanLiteral : Builtin.Int1) -> Bool
  7974. %233 = function_ref @_TFSbCfT22_builtinBooleanLiteralBi1__Sb : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":135:45, scope 120 // user: %236
  7975. %234 = metatype $@thin Bool.Type, loc "ClassSelectorController.swift":135:45, scope 120 // user: %236
  7976. %235 = integer_literal $Builtin.Int1, 0, loc "ClassSelectorController.swift":135:45, scope 120 // user: %236
  7977. %236 = apply %233(%235, %234) : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":135:45, scope 120 // user: %239
  7978. %237 = class_method [volatile] %232 : $UIView, #UIView.hidden!setter.1.foreign : (UIView) -> (Bool) -> () , $@convention(objc_method) (ObjCBool, UIView) -> (), loc "ClassSelectorController.swift":135:43, scope 120 // user: %240
  7979. // function_ref _convertBoolToObjCBool(Bool) -> ObjCBool
  7980. %238 = function_ref @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool, loc "ClassSelectorController.swift":135:43, scope 120 // user: %239
  7981. %239 = apply %238(%236) : $@convention(thin) (Bool) -> ObjCBool, loc "ClassSelectorController.swift":135:43, scope 120 // user: %240
  7982. %240 = apply %237(%239, %232) : $@convention(objc_method) (ObjCBool, UIView) -> (), loc "ClassSelectorController.swift":135:43, scope 120
  7983. destroy_value %231 : $UILabel, loc "ClassSelectorController.swift":135:45, scope 120 // id: %241
  7984. destroy_addr %230 : $*UILabel, loc "ClassSelectorController.swift":135:45, scope 120 // id: %242
  7985. dealloc_stack %218 : $*Optional<UILabel>, loc "ClassSelectorController.swift":135:45, scope 120 // id: %243
  7986. // function_ref print([Any], separator : String, terminator : String) -> ()
  7987. %244 = function_ref @_TFs5printFTGSaP__9separatorSS10terminatorSS_T_ : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> (), loc "ClassSelectorController.swift":136:21, scope 120 // user: %263
  7988. %245 = integer_literal $Builtin.Word, 1, loc "ClassSelectorController.swift":136:27, scope 120 // user: %247
  7989. // function_ref _allocateUninitializedArray<A> (Builtin.Word) -> ([A], Builtin.RawPointer)
  7990. %246 = function_ref @_TFs27_allocateUninitializedArrayurFBwTGSax_Bp_ : $@convention(thin) <τ_0_0> (Builtin.Word) -> (@owned Array<τ_0_0>, Builtin.RawPointer), loc "ClassSelectorController.swift":136:27, scope 120 // user: %247
  7991. %247 = apply %246<Any>(%245) : $@convention(thin) <τ_0_0> (Builtin.Word) -> (@owned Array<τ_0_0>, Builtin.RawPointer), loc "ClassSelectorController.swift":136:27, scope 120 // users: %249, %248
  7992. %248 = tuple_extract %247 : $(Array<Any>, Builtin.RawPointer), 0, loc "ClassSelectorController.swift":136:27, scope 120 // user: %263
  7993. %249 = tuple_extract %247 : $(Array<Any>, Builtin.RawPointer), 1, loc "ClassSelectorController.swift":136:27, scope 120 // user: %250
  7994. %250 = pointer_to_address %249 : $Builtin.RawPointer to [strict] $*Any, loc "ClassSelectorController.swift":136:27, scope 120 // user: %251
  7995. %251 = init_existential_addr %250 : $*Any, $String, loc "ClassSelectorController.swift":136:27, scope 120 // user: %258
  7996. %252 = string_literal utf8 "Malformed multiplier.", loc "ClassSelectorController.swift":136:27, scope 120 // user: %257
  7997. %253 = integer_literal $Builtin.Word, 21, loc "ClassSelectorController.swift":136:27, scope 120 // user: %257
  7998. %254 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":136:27, scope 120 // user: %257
  7999. %255 = metatype $@thin String.Type, loc "ClassSelectorController.swift":136:27, scope 120 // user: %257
  8000. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  8001. %256 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":136:27, scope 120 // user: %257
  8002. %257 = apply %256(%252, %253, %254, %255) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":136:27, scope 120 // user: %258
  8003. store %257 to [init] %251 : $*String, loc "ClassSelectorController.swift":136:27, scope 120 // id: %258
  8004. // function_ref (print([Any], separator : String, terminator : String) -> ()).(default argument 1)
  8005. %259 = function_ref @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A0_ : $@convention(thin) () -> @owned String, loc "ClassSelectorController.swift":136:27, scope 120 // user: %260
  8006. %260 = apply %259() : $@convention(thin) () -> @owned String, loc "ClassSelectorController.swift":136:27, scope 120 // user: %263
  8007. // function_ref (print([Any], separator : String, terminator : String) -> ()).(default argument 2)
  8008. %261 = function_ref @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A1_ : $@convention(thin) () -> @owned String, loc "ClassSelectorController.swift":136:27, scope 120 // user: %262
  8009. %262 = apply %261() : $@convention(thin) () -> @owned String, loc "ClassSelectorController.swift":136:27, scope 120 // user: %263
  8010. %263 = apply %244(%248, %260, %262) : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> (), loc "ClassSelectorController.swift":136:50, scope 120
  8011. destroy_value %193 : $String, loc "ClassSelectorController.swift":199:5, scope 120 // id: %264
  8012. destroy_value %54 : ${ var Double }, loc "ClassSelectorController.swift":199:5, scope 120 // id: %265
  8013. destroy_value %39 : $String, loc "ClassSelectorController.swift":199:5, scope 120 // id: %266
  8014. br bb113, loc "ClassSelectorController.swift":137:21, scope 120 // id: %267
  8015.  
  8016. bb34: // Preds: bb28 bb26
  8017. %268 = alloc_stack $Optional<UILabel>, loc "ClassSelectorController.swift":128:21, scope 121 // users: %293, %280, %272, %271
  8018. %269 = class_method %1 : $ClassSelectorController, #ClassSelectorController.warningLabel!getter.1 : (ClassSelectorController) -> () -> UILabel! , $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UILabel>, loc "ClassSelectorController.swift":128:21, scope 121 // user: %270
  8019. %270 = apply %269(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UILabel>, loc "ClassSelectorController.swift":128:21, scope 121 // user: %271
  8020. store %270 to [init] %268 : $*Optional<UILabel>, loc "ClassSelectorController.swift":128:21, scope 121 // id: %271
  8021. switch_enum_addr %268 : $*Optional<UILabel>, case #Optional.none!enumelt: bb35, default bb36, loc "ClassSelectorController.swift":128:21, scope 121 // id: %272
  8022.  
  8023. bb35: // Preds: bb34
  8024. %273 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":128:21, scope 121 // user: %278
  8025. %274 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":128:21, scope 121 // user: %278
  8026. %275 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":128:21, scope 121 // user: %278
  8027. %276 = integer_literal $Builtin.Word, 128, loc "ClassSelectorController.swift":128:21, scope 121 // user: %278
  8028. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  8029. %277 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":128:21, scope 121 // user: %278
  8030. %278 = apply %277(%273, %274, %275, %276) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":128:21, scope 121
  8031. unreachable , loc "ClassSelectorController.swift":128:21, scope 121 // id: %279
  8032.  
  8033. bb36: // Preds: bb34
  8034. %280 = unchecked_take_enum_data_addr %268 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":128:21, scope 121 // users: %292, %281
  8035. %281 = load [copy] %280 : $*UILabel, loc "ClassSelectorController.swift":128:21, scope 121 // users: %291, %282
  8036. %282 = upcast %281 : $UILabel to $UIView, loc "ClassSelectorController.swift":128:21, scope 121 // users: %290, %287
  8037. // function_ref Bool.init(_builtinBooleanLiteral : Builtin.Int1) -> Bool
  8038. %283 = function_ref @_TFSbCfT22_builtinBooleanLiteralBi1__Sb : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":128:45, scope 121 // user: %286
  8039. %284 = metatype $@thin Bool.Type, loc "ClassSelectorController.swift":128:45, scope 121 // user: %286
  8040. %285 = integer_literal $Builtin.Int1, 0, loc "ClassSelectorController.swift":128:45, scope 121 // user: %286
  8041. %286 = apply %283(%285, %284) : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":128:45, scope 121 // user: %289
  8042. %287 = class_method [volatile] %282 : $UIView, #UIView.hidden!setter.1.foreign : (UIView) -> (Bool) -> () , $@convention(objc_method) (ObjCBool, UIView) -> (), loc "ClassSelectorController.swift":128:43, scope 121 // user: %290
  8043. // function_ref _convertBoolToObjCBool(Bool) -> ObjCBool
  8044. %288 = function_ref @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool, loc "ClassSelectorController.swift":128:43, scope 121 // user: %289
  8045. %289 = apply %288(%286) : $@convention(thin) (Bool) -> ObjCBool, loc "ClassSelectorController.swift":128:43, scope 121 // user: %290
  8046. %290 = apply %287(%289, %282) : $@convention(objc_method) (ObjCBool, UIView) -> (), loc "ClassSelectorController.swift":128:43, scope 121
  8047. destroy_value %281 : $UILabel, loc "ClassSelectorController.swift":128:45, scope 121 // id: %291
  8048. destroy_addr %280 : $*UILabel, loc "ClassSelectorController.swift":128:45, scope 121 // id: %292
  8049. dealloc_stack %268 : $*Optional<UILabel>, loc "ClassSelectorController.swift":128:45, scope 121 // id: %293
  8050. // function_ref print([Any], separator : String, terminator : String) -> ()
  8051. %294 = function_ref @_TFs5printFTGSaP__9separatorSS10terminatorSS_T_ : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> (), loc "ClassSelectorController.swift":129:21, scope 121 // user: %313
  8052. %295 = integer_literal $Builtin.Word, 1, loc "ClassSelectorController.swift":129:27, scope 121 // user: %297
  8053. // function_ref _allocateUninitializedArray<A> (Builtin.Word) -> ([A], Builtin.RawPointer)
  8054. %296 = function_ref @_TFs27_allocateUninitializedArrayurFBwTGSax_Bp_ : $@convention(thin) <τ_0_0> (Builtin.Word) -> (@owned Array<τ_0_0>, Builtin.RawPointer), loc "ClassSelectorController.swift":129:27, scope 121 // user: %297
  8055. %297 = apply %296<Any>(%295) : $@convention(thin) <τ_0_0> (Builtin.Word) -> (@owned Array<τ_0_0>, Builtin.RawPointer), loc "ClassSelectorController.swift":129:27, scope 121 // users: %299, %298
  8056. %298 = tuple_extract %297 : $(Array<Any>, Builtin.RawPointer), 0, loc "ClassSelectorController.swift":129:27, scope 121 // user: %313
  8057. %299 = tuple_extract %297 : $(Array<Any>, Builtin.RawPointer), 1, loc "ClassSelectorController.swift":129:27, scope 121 // user: %300
  8058. %300 = pointer_to_address %299 : $Builtin.RawPointer to [strict] $*Any, loc "ClassSelectorController.swift":129:27, scope 121 // user: %301
  8059. %301 = init_existential_addr %300 : $*Any, $String, loc "ClassSelectorController.swift":129:27, scope 121 // user: %308
  8060. %302 = string_literal utf8 "No multiplier specified.", loc "ClassSelectorController.swift":129:27, scope 121 // user: %307
  8061. %303 = integer_literal $Builtin.Word, 24, loc "ClassSelectorController.swift":129:27, scope 121 // user: %307
  8062. %304 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":129:27, scope 121 // user: %307
  8063. %305 = metatype $@thin String.Type, loc "ClassSelectorController.swift":129:27, scope 121 // user: %307
  8064. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  8065. %306 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":129:27, scope 121 // user: %307
  8066. %307 = apply %306(%302, %303, %304, %305) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":129:27, scope 121 // user: %308
  8067. store %307 to [init] %301 : $*String, loc "ClassSelectorController.swift":129:27, scope 121 // id: %308
  8068. // function_ref (print([Any], separator : String, terminator : String) -> ()).(default argument 1)
  8069. %309 = function_ref @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A0_ : $@convention(thin) () -> @owned String, loc "ClassSelectorController.swift":129:27, scope 121 // user: %310
  8070. %310 = apply %309() : $@convention(thin) () -> @owned String, loc "ClassSelectorController.swift":129:27, scope 121 // user: %313
  8071. // function_ref (print([Any], separator : String, terminator : String) -> ()).(default argument 2)
  8072. %311 = function_ref @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A1_ : $@convention(thin) () -> @owned String, loc "ClassSelectorController.swift":129:27, scope 121 // user: %312
  8073. %312 = apply %311() : $@convention(thin) () -> @owned String, loc "ClassSelectorController.swift":129:27, scope 121 // user: %313
  8074. %313 = apply %294(%298, %310, %312) : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> (), loc "ClassSelectorController.swift":129:53, scope 121
  8075. destroy_value %54 : ${ var Double }, loc "ClassSelectorController.swift":199:5, scope 121 // id: %314
  8076. destroy_value %39 : $String, loc "ClassSelectorController.swift":199:5, scope 121 // id: %315
  8077. br bb113, loc "ClassSelectorController.swift":130:21, scope 121 // id: %316
  8078.  
  8079. bb37: // Preds: bb30 bb18 bb15 bb12
  8080. %317 = alloc_stack $Optional<UITextField>, loc "ClassSelectorController.swift":143:38, scope 111 // users: %356, %350, %329, %321, %320
  8081. %318 = class_method %1 : $ClassSelectorController, #ClassSelectorController.currentGradeField!getter.1 : (ClassSelectorController) -> () -> UITextField! , $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, loc "ClassSelectorController.swift":143:38, scope 111 // user: %319
  8082. %319 = apply %318(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, loc "ClassSelectorController.swift":143:38, scope 111 // user: %320
  8083. store %319 to [init] %317 : $*Optional<UITextField>, loc "ClassSelectorController.swift":143:38, scope 111 // id: %320
  8084. switch_enum_addr %317 : $*Optional<UITextField>, case #Optional.none!enumelt: bb38, default bb39, loc "ClassSelectorController.swift":143:38, scope 111 // id: %321
  8085.  
  8086. bb38: // Preds: bb37
  8087. %322 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":143:38, scope 111 // user: %327
  8088. %323 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":143:38, scope 111 // user: %327
  8089. %324 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":143:38, scope 111 // user: %327
  8090. %325 = integer_literal $Builtin.Word, 143, loc "ClassSelectorController.swift":143:38, scope 111 // user: %327
  8091. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  8092. %326 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":143:38, scope 111 // user: %327
  8093. %327 = apply %326(%322, %323, %324, %325) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":143:38, scope 111
  8094. unreachable , loc "ClassSelectorController.swift":143:38, scope 111 // id: %328
  8095.  
  8096. bb39: // Preds: bb37
  8097. %329 = unchecked_take_enum_data_addr %317 : $*Optional<UITextField>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":143:38, scope 111 // users: %355, %349, %330
  8098. %330 = load [copy] %329 : $*UITextField, loc "ClassSelectorController.swift":143:38, scope 111 // users: %354, %348, %332, %331
  8099. %331 = class_method [volatile] %330 : $UITextField, #UITextField.text!getter.1.foreign : (UITextField) -> () -> String? , $@convention(objc_method) (UITextField) -> @autoreleased Optional<NSString>, loc "ClassSelectorController.swift":143:56, scope 111 // user: %332
  8100. %332 = apply %331(%330) : $@convention(objc_method) (UITextField) -> @autoreleased Optional<NSString>, loc "ClassSelectorController.swift":143:56, scope 111 // users: %337, %335
  8101. %333 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":143:56, scope 111 // user: %335
  8102. %334 = integer_literal $Builtin.Int1, 0, loc "ClassSelectorController.swift":143:56, scope 111 // user: %335
  8103. %335 = select_enum %332 : $Optional<NSString>, case #Optional.some!enumelt.1: %333, default %334 : $Builtin.Int1, loc "ClassSelectorController.swift":143:56, scope 111 // user: %336
  8104. cond_br %335, bb40, bb41, loc "ClassSelectorController.swift":143:56, scope 111 // id: %336
  8105.  
  8106. bb40: // Preds: bb39
  8107. %337 = unchecked_enum_data %332 : $Optional<NSString>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":143:56, scope 111 // user: %339
  8108. // function_ref static String._unconditionallyBridgeFromObjectiveC(NSString?) -> String
  8109. %338 = function_ref @_TZFE10FoundationSS36_unconditionallyBridgeFromObjectiveCfGSqCSo8NSString_SS : $@convention(method) (@owned Optional<NSString>, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":143:56, scope 111 // user: %341
  8110. %339 = enum $Optional<NSString>, #Optional.some!enumelt.1, %337 : $NSString, loc "ClassSelectorController.swift":143:56, scope 111 // user: %341
  8111. %340 = metatype $@thin String.Type, loc "ClassSelectorController.swift":143:56, scope 111 // user: %341
  8112. %341 = apply %338(%339, %340) : $@convention(method) (@owned Optional<NSString>, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":143:56, scope 111 // user: %342
  8113. %342 = enum $Optional<String>, #Optional.some!enumelt.1, %341 : $String, loc "ClassSelectorController.swift":143:56, scope 111 // user: %343
  8114. br bb42(%342 : $Optional<String>), loc "ClassSelectorController.swift":143:56, scope 111 // id: %343
  8115.  
  8116. bb41: // Preds: bb39
  8117. %344 = enum $Optional<String>, #Optional.none!enumelt, loc "ClassSelectorController.swift":143:56, scope 111 // user: %345
  8118. br bb42(%344 : $Optional<String>), loc "ClassSelectorController.swift":143:56, scope 111 // id: %345
  8119.  
  8120. // %346 // user: %347
  8121. bb42(%346 : $Optional<String>): // Preds: bb41 bb40
  8122. switch_enum %346 : $Optional<String>, case #Optional.some!enumelt.1: bb44, default bb43, loc "ClassSelectorController.swift":143:56, scope 111 // id: %347
  8123.  
  8124. bb43: // Preds: bb42
  8125. destroy_value %330 : $UITextField, loc "ClassSelectorController.swift":147:9, scope 111 // id: %348
  8126. destroy_addr %329 : $*UITextField, loc "ClassSelectorController.swift":147:9, scope 111 // id: %349
  8127. dealloc_stack %317 : $*Optional<UITextField>, loc "ClassSelectorController.swift":147:9, scope 111 // id: %350
  8128. br bb107, loc "ClassSelectorController.swift":143:56, scope 111 // id: %351
  8129.  
  8130. // %352 // users: %970, %562, %613, %369, %1020, %365, %361, %353
  8131. bb44(%352 : $String): // Preds: bb42
  8132. debug_value %352 : $String, let, name "currentGradeText", loc "ClassSelectorController.swift":143:19, scope 111 // id: %353
  8133. destroy_value %330 : $UITextField, loc "ClassSelectorController.swift":143:56, scope 111 // id: %354
  8134. destroy_addr %329 : $*UITextField, loc "ClassSelectorController.swift":143:56, scope 111 // id: %355
  8135. dealloc_stack %317 : $*Optional<UITextField>, loc "ClassSelectorController.swift":143:56, scope 111 // id: %356
  8136. // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
  8137. %357 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "ClassSelectorController.swift":143:62, scope 111 // user: %363
  8138. // function_ref static Bool.! prefix(Bool) -> Bool
  8139. %358 = function_ref @_TZFSbop1nfSbSb : $@convention(method) (Bool, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":143:62, scope 111 // user: %362
  8140. %359 = metatype $@thin Bool.Type, loc "ClassSelectorController.swift":143:62, scope 111 // user: %362
  8141. // function_ref String.isEmpty.getter
  8142. %360 = function_ref @_TFSSg7isEmptySb : $@convention(method) (@guaranteed String) -> Bool, loc "ClassSelectorController.swift":143:80, scope 111 // user: %361
  8143. %361 = apply %360(%352) : $@convention(method) (@guaranteed String) -> Bool, loc "ClassSelectorController.swift":143:80, scope 111 // user: %362
  8144. %362 = apply %358(%361, %359) : $@convention(method) (Bool, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":143:62, scope 111 // user: %363
  8145. %363 = apply %357(%362) : $@convention(method) (Bool) -> Builtin.Int1, loc "ClassSelectorController.swift":143:80, scope 111 // user: %364
  8146. cond_br %363, bb46, bb45, loc "ClassSelectorController.swift":143:80, scope 111 // id: %364
  8147.  
  8148. bb45: // Preds: bb44
  8149. destroy_value %352 : $String, loc "ClassSelectorController.swift":147:9, scope 111 // id: %365
  8150. br bb107, loc "ClassSelectorController.swift":143:9, scope 111 // id: %366
  8151.  
  8152. bb46: // Preds: bb44
  8153. // function_ref Int.init(String, radix : Int) -> Int?
  8154. %367 = function_ref @_TFSiCfTSS5radixSi_GSqSi_ : $@convention(method) (@owned String, Int, @thin Int.Type) -> Optional<Int>, loc "ClassSelectorController.swift":148:34, scope 111 // user: %372
  8155. %368 = metatype $@thin Int.Type, loc "ClassSelectorController.swift":148:34, scope 111 // user: %372
  8156. %369 = copy_value %352 : $String, loc "ClassSelectorController.swift":148:38, scope 111 // user: %372
  8157. // function_ref Int.(init(String, radix : Int) -> Int?).(default argument 1)
  8158. %370 = function_ref @_TIFSicFTSS5radixSi_GSqSi_A0_ : $@convention(thin) () -> Int, loc "ClassSelectorController.swift":148:38, scope 111 // user: %371
  8159. %371 = apply %370() : $@convention(thin) () -> Int, loc "ClassSelectorController.swift":148:38, scope 111 // user: %372
  8160. %372 = apply %367(%369, %371, %368) : $@convention(method) (@owned String, Int, @thin Int.Type) -> Optional<Int>, loc "ClassSelectorController.swift":148:54, scope 111 // user: %373
  8161. switch_enum %372 : $Optional<Int>, case #Optional.some!enumelt.1: bb47, default bb104, loc "ClassSelectorController.swift":148:54, scope 111 // id: %373
  8162.  
  8163. // %374 // users: %628, %375
  8164. bb47(%374 : $Int): // Preds: bb46
  8165. debug_value %374 : $Int, let, name "currentGrade", loc "ClassSelectorController.swift":148:19, scope 111 // id: %375
  8166. %376 = alloc_box ${ var Double }, var, name "credits", loc "ClassSelectorController.swift":155:13, scope 111 // users: %969, %561, %612, %377
  8167. %377 = project_box %376 : ${ var Double }, 0, loc "ClassSelectorController.swift":155:13, scope 111 // users: %627, %511, %448, %422, %382
  8168. // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
  8169. %378 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "ClassSelectorController.swift":155:31, scope 111 // user: %381
  8170. %379 = metatype $@thin Double.Type, loc "ClassSelectorController.swift":155:31, scope 111 // user: %381
  8171. %380 = integer_literal $Builtin.Int2048, -1, loc "ClassSelectorController.swift":155:31, scope 111 // user: %381
  8172. %381 = apply %378(%380, %379) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "ClassSelectorController.swift":155:32, scope 111 // user: %382
  8173. store %381 to [trivial] %377 : $*Double, loc "ClassSelectorController.swift":155:32, scope 111 // id: %382
  8174. %383 = alloc_stack $Optional<UISegmentedControl>, loc "ClassSelectorController.swift":157:16, scope 111 // users: %453, %443, %417, %395, %387, %386
  8175. %384 = class_method %1 : $ClassSelectorController, #ClassSelectorController.creditsBar!getter.1 : (ClassSelectorController) -> () -> UISegmentedControl! , $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UISegmentedControl>, loc "ClassSelectorController.swift":157:16, scope 111 // user: %385
  8176. %385 = apply %384(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UISegmentedControl>, loc "ClassSelectorController.swift":157:16, scope 111 // user: %386
  8177. store %385 to [init] %383 : $*Optional<UISegmentedControl>, loc "ClassSelectorController.swift":157:16, scope 111 // id: %386
  8178. switch_enum_addr %383 : $*Optional<UISegmentedControl>, case #Optional.none!enumelt: bb48, default bb49, loc "ClassSelectorController.swift":157:16, scope 111 // id: %387
  8179.  
  8180. bb48: // Preds: bb47
  8181. %388 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":157:16, scope 111 // user: %393
  8182. %389 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":157:16, scope 111 // user: %393
  8183. %390 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":157:16, scope 111 // user: %393
  8184. %391 = integer_literal $Builtin.Word, 157, loc "ClassSelectorController.swift":157:16, scope 111 // user: %393
  8185. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  8186. %392 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":157:16, scope 111 // user: %393
  8187. %393 = apply %392(%388, %389, %390, %391) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":157:16, scope 111
  8188. unreachable , loc "ClassSelectorController.swift":157:16, scope 111 // id: %394
  8189.  
  8190. bb49: // Preds: bb47
  8191. %395 = unchecked_take_enum_data_addr %383 : $*Optional<UISegmentedControl>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":157:16, scope 111 // users: %452, %442, %416, %396
  8192. %396 = load [copy] %395 : $*UISegmentedControl, loc "ClassSelectorController.swift":157:16, scope 111 // users: %451, %441, %415, %398, %397
  8193. %397 = class_method [volatile] %396 : $UISegmentedControl, #UISegmentedControl.selectedSegmentIndex!getter.1.foreign : (UISegmentedControl) -> () -> Int , $@convention(objc_method) (UISegmentedControl) -> Int, loc "ClassSelectorController.swift":157:27, scope 111 // user: %398
  8194. %398 = apply %397(%396) : $@convention(objc_method) (UISegmentedControl) -> Int, loc "ClassSelectorController.swift":157:27, scope 111 // users: %435, %425, %409, %399
  8195. debug_value %398 : $Int, let, name "$match", loc "ClassSelectorController.swift":158:18, scope 122 // id: %399
  8196. // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
  8197. %400 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "ClassSelectorController.swift":158:18, scope 122 // user: %411
  8198. // function_ref ~= infix<A where ...> (A, A) -> Bool
  8199. %401 = function_ref @_TFsoi2teuRxs9EquatablerFTxx_Sb : $@convention(thin) <τ_0_0 where τ_0_0 : Equatable> (@in τ_0_0, @in τ_0_0) -> Bool, loc "ClassSelectorController.swift":158:18, scope 122 // user: %410
  8200. // function_ref Int.init(_builtinIntegerLiteral : Builtin.Int2048) -> Int
  8201. %402 = function_ref @_TFSiCfT22_builtinIntegerLiteralBi2048__Si : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":158:18, scope 122 // user: %405
  8202. %403 = metatype $@thin Int.Type, loc "ClassSelectorController.swift":158:18, scope 122 // user: %405
  8203. %404 = integer_literal $Builtin.Int2048, 0, loc "ClassSelectorController.swift":158:18, scope 122 // user: %405
  8204. %405 = apply %402(%404, %403) : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":158:18, scope 122 // user: %407
  8205. %406 = alloc_stack $Int, loc "ClassSelectorController.swift":158:18, scope 122 // users: %413, %410, %407
  8206. store %405 to [trivial] %406 : $*Int, loc "ClassSelectorController.swift":158:18, scope 122 // id: %407
  8207. %408 = alloc_stack $Int, loc "ClassSelectorController.swift":158:18, scope 122 // users: %412, %410, %409
  8208. store %398 to [trivial] %408 : $*Int, loc "ClassSelectorController.swift":158:18, scope 122 // id: %409
  8209. %410 = apply %401<Int>(%406, %408) : $@convention(thin) <τ_0_0 where τ_0_0 : Equatable> (@in τ_0_0, @in τ_0_0) -> Bool, loc "ClassSelectorController.swift":158:18, scope 122 // user: %411
  8210. %411 = apply %400(%410) : $@convention(method) (Bool) -> Builtin.Int1, loc "ClassSelectorController.swift":158:18, scope 122 // user: %414
  8211. dealloc_stack %408 : $*Int, loc "ClassSelectorController.swift":158:18, scope 122 // id: %412
  8212. dealloc_stack %406 : $*Int, loc "ClassSelectorController.swift":158:18, scope 122 // id: %413
  8213. cond_br %411, bb50, bb51, loc "ClassSelectorController.swift":158:18, scope 122 // id: %414
  8214.  
  8215. bb50: // Preds: bb49
  8216. destroy_value %396 : $UISegmentedControl, loc "ClassSelectorController.swift":176:9, scope 122 // id: %415
  8217. destroy_addr %395 : $*UISegmentedControl, loc "ClassSelectorController.swift":176:9, scope 122 // id: %416
  8218. dealloc_stack %383 : $*Optional<UISegmentedControl>, loc "ClassSelectorController.swift":176:9, scope 122 // id: %417
  8219. // function_ref Double.init(_builtinFloatLiteral : Builtin.Float64) -> Double
  8220. %418 = function_ref @_TFSdCfT20_builtinFloatLiteralBf64__Sd : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "ClassSelectorController.swift":159:27, scope 123 // user: %421
  8221. %419 = metatype $@thin Double.Type, loc "ClassSelectorController.swift":159:27, scope 123 // user: %421
  8222. %420 = float_literal $Builtin.FPIEEE64, 0x3FE0000000000000 // 0.5, loc "ClassSelectorController.swift":159:27, scope 123 // user: %421
  8223. %421 = apply %418(%420, %419) : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "ClassSelectorController.swift":159:27, scope 123 // user: %422
  8224. assign %421 to %377 : $*Double, loc "ClassSelectorController.swift":159:25, scope 123 // id: %422
  8225. br bb72, loc "ClassSelectorController.swift":159:27, scope 111 // id: %423
  8226.  
  8227. bb51: // Preds: bb49
  8228. br bb52, loc "ClassSelectorController.swift":158:18, scope 122 // id: %424
  8229.  
  8230. bb52: // Preds: bb51
  8231. debug_value %398 : $Int, let, name "$match", loc "ClassSelectorController.swift":160:18, scope 124 // id: %425
  8232. // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
  8233. %426 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "ClassSelectorController.swift":160:18, scope 124 // user: %437
  8234. // function_ref ~= infix<A where ...> (A, A) -> Bool
  8235. %427 = function_ref @_TFsoi2teuRxs9EquatablerFTxx_Sb : $@convention(thin) <τ_0_0 where τ_0_0 : Equatable> (@in τ_0_0, @in τ_0_0) -> Bool, loc "ClassSelectorController.swift":160:18, scope 124 // user: %436
  8236. // function_ref Int.init(_builtinIntegerLiteral : Builtin.Int2048) -> Int
  8237. %428 = function_ref @_TFSiCfT22_builtinIntegerLiteralBi2048__Si : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":160:18, scope 124 // user: %431
  8238. %429 = metatype $@thin Int.Type, loc "ClassSelectorController.swift":160:18, scope 124 // user: %431
  8239. %430 = integer_literal $Builtin.Int2048, 1, loc "ClassSelectorController.swift":160:18, scope 124 // user: %431
  8240. %431 = apply %428(%430, %429) : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":160:18, scope 124 // user: %433
  8241. %432 = alloc_stack $Int, loc "ClassSelectorController.swift":160:18, scope 124 // users: %439, %436, %433
  8242. store %431 to [trivial] %432 : $*Int, loc "ClassSelectorController.swift":160:18, scope 124 // id: %433
  8243. %434 = alloc_stack $Int, loc "ClassSelectorController.swift":160:18, scope 124 // users: %438, %436, %435
  8244. store %398 to [trivial] %434 : $*Int, loc "ClassSelectorController.swift":160:18, scope 124 // id: %435
  8245. %436 = apply %427<Int>(%432, %434) : $@convention(thin) <τ_0_0 where τ_0_0 : Equatable> (@in τ_0_0, @in τ_0_0) -> Bool, loc "ClassSelectorController.swift":160:18, scope 124 // user: %437
  8246. %437 = apply %426(%436) : $@convention(method) (Bool) -> Builtin.Int1, loc "ClassSelectorController.swift":160:18, scope 124 // user: %440
  8247. dealloc_stack %434 : $*Int, loc "ClassSelectorController.swift":160:18, scope 124 // id: %438
  8248. dealloc_stack %432 : $*Int, loc "ClassSelectorController.swift":160:18, scope 124 // id: %439
  8249. cond_br %437, bb53, bb54, loc "ClassSelectorController.swift":160:18, scope 124 // id: %440
  8250.  
  8251. bb53: // Preds: bb52
  8252. destroy_value %396 : $UISegmentedControl, loc "ClassSelectorController.swift":176:9, scope 124 // id: %441
  8253. destroy_addr %395 : $*UISegmentedControl, loc "ClassSelectorController.swift":176:9, scope 124 // id: %442
  8254. dealloc_stack %383 : $*Optional<UISegmentedControl>, loc "ClassSelectorController.swift":176:9, scope 124 // id: %443
  8255. // function_ref Double.init(_builtinFloatLiteral : Builtin.Float64) -> Double
  8256. %444 = function_ref @_TFSdCfT20_builtinFloatLiteralBf64__Sd : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "ClassSelectorController.swift":161:27, scope 125 // user: %447
  8257. %445 = metatype $@thin Double.Type, loc "ClassSelectorController.swift":161:27, scope 125 // user: %447
  8258. %446 = float_literal $Builtin.FPIEEE64, 0x3FF0000000000000 // 1, loc "ClassSelectorController.swift":161:27, scope 125 // user: %447
  8259. %447 = apply %444(%446, %445) : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "ClassSelectorController.swift":161:27, scope 125 // user: %448
  8260. assign %447 to %377 : $*Double, loc "ClassSelectorController.swift":161:25, scope 125 // id: %448
  8261. br bb72, loc "ClassSelectorController.swift":161:27, scope 111 // id: %449
  8262.  
  8263. bb54: // Preds: bb52
  8264. br bb55, loc "ClassSelectorController.swift":160:18, scope 124 // id: %450
  8265.  
  8266. bb55: // Preds: bb54
  8267. destroy_value %396 : $UISegmentedControl, loc "ClassSelectorController.swift":176:9, scope 126 // id: %451
  8268. destroy_addr %395 : $*UISegmentedControl, loc "ClassSelectorController.swift":176:9, scope 126 // id: %452
  8269. dealloc_stack %383 : $*Optional<UISegmentedControl>, loc "ClassSelectorController.swift":176:9, scope 126 // id: %453
  8270. %454 = alloc_stack $Optional<UITextField>, loc "ClassSelectorController.swift":163:41, scope 127 // users: %493, %487, %466, %458, %457
  8271. %455 = class_method %1 : $ClassSelectorController, #ClassSelectorController.creditsField!getter.1 : (ClassSelectorController) -> () -> UITextField! , $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, loc "ClassSelectorController.swift":163:41, scope 127 // user: %456
  8272. %456 = apply %455(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, loc "ClassSelectorController.swift":163:41, scope 127 // user: %457
  8273. store %456 to [init] %454 : $*Optional<UITextField>, loc "ClassSelectorController.swift":163:41, scope 127 // id: %457
  8274. switch_enum_addr %454 : $*Optional<UITextField>, case #Optional.none!enumelt: bb56, default bb57, loc "ClassSelectorController.swift":163:41, scope 127 // id: %458
  8275.  
  8276. bb56: // Preds: bb55
  8277. %459 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":163:41, scope 127 // user: %464
  8278. %460 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":163:41, scope 127 // user: %464
  8279. %461 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":163:41, scope 127 // user: %464
  8280. %462 = integer_literal $Builtin.Word, 163, loc "ClassSelectorController.swift":163:41, scope 127 // user: %464
  8281. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  8282. %463 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":163:41, scope 127 // user: %464
  8283. %464 = apply %463(%459, %460, %461, %462) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":163:41, scope 127
  8284. unreachable , loc "ClassSelectorController.swift":163:41, scope 127 // id: %465
  8285.  
  8286. bb57: // Preds: bb55
  8287. %466 = unchecked_take_enum_data_addr %454 : $*Optional<UITextField>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":163:41, scope 127 // users: %492, %486, %467
  8288. %467 = load [copy] %466 : $*UITextField, loc "ClassSelectorController.swift":163:41, scope 127 // users: %491, %485, %469, %468
  8289. %468 = class_method [volatile] %467 : $UITextField, #UITextField.text!getter.1.foreign : (UITextField) -> () -> String? , $@convention(objc_method) (UITextField) -> @autoreleased Optional<NSString>, loc "ClassSelectorController.swift":163:54, scope 127 // user: %469
  8290. %469 = apply %468(%467) : $@convention(objc_method) (UITextField) -> @autoreleased Optional<NSString>, loc "ClassSelectorController.swift":163:54, scope 127 // users: %474, %472
  8291. %470 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":163:54, scope 127 // user: %472
  8292. %471 = integer_literal $Builtin.Int1, 0, loc "ClassSelectorController.swift":163:54, scope 127 // user: %472
  8293. %472 = select_enum %469 : $Optional<NSString>, case #Optional.some!enumelt.1: %470, default %471 : $Builtin.Int1, loc "ClassSelectorController.swift":163:54, scope 127 // user: %473
  8294. cond_br %472, bb58, bb59, loc "ClassSelectorController.swift":163:54, scope 127 // id: %473
  8295.  
  8296. bb58: // Preds: bb57
  8297. %474 = unchecked_enum_data %469 : $Optional<NSString>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":163:54, scope 127 // user: %476
  8298. // function_ref static String._unconditionallyBridgeFromObjectiveC(NSString?) -> String
  8299. %475 = function_ref @_TZFE10FoundationSS36_unconditionallyBridgeFromObjectiveCfGSqCSo8NSString_SS : $@convention(method) (@owned Optional<NSString>, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":163:54, scope 127 // user: %478
  8300. %476 = enum $Optional<NSString>, #Optional.some!enumelt.1, %474 : $NSString, loc "ClassSelectorController.swift":163:54, scope 127 // user: %478
  8301. %477 = metatype $@thin String.Type, loc "ClassSelectorController.swift":163:54, scope 127 // user: %478
  8302. %478 = apply %475(%476, %477) : $@convention(method) (@owned Optional<NSString>, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":163:54, scope 127 // user: %479
  8303. %479 = enum $Optional<String>, #Optional.some!enumelt.1, %478 : $String, loc "ClassSelectorController.swift":163:54, scope 127 // user: %480
  8304. br bb60(%479 : $Optional<String>), loc "ClassSelectorController.swift":163:54, scope 127 // id: %480
  8305.  
  8306. bb59: // Preds: bb57
  8307. %481 = enum $Optional<String>, #Optional.none!enumelt, loc "ClassSelectorController.swift":163:54, scope 127 // user: %482
  8308. br bb60(%481 : $Optional<String>), loc "ClassSelectorController.swift":163:54, scope 127 // id: %482
  8309.  
  8310. // %483 // user: %484
  8311. bb60(%483 : $Optional<String>): // Preds: bb59 bb58
  8312. switch_enum %483 : $Optional<String>, case #Optional.some!enumelt.1: bb62, default bb61, loc "ClassSelectorController.swift":163:54, scope 127 // id: %484
  8313.  
  8314. bb61: // Preds: bb60
  8315. destroy_value %467 : $UITextField, loc "ClassSelectorController.swift":167:17, scope 127 // id: %485
  8316. destroy_addr %466 : $*UITextField, loc "ClassSelectorController.swift":167:17, scope 127 // id: %486
  8317. dealloc_stack %454 : $*Optional<UITextField>, loc "ClassSelectorController.swift":167:17, scope 127 // id: %487
  8318. br bb69, loc "ClassSelectorController.swift":163:54, scope 127 // id: %488
  8319.  
  8320. // %489 // users: %512, %506, %560, %502, %498, %490
  8321. bb62(%489 : $String): // Preds: bb60
  8322. debug_value %489 : $String, let, name "creditsText", loc "ClassSelectorController.swift":163:27, scope 127 // id: %490
  8323. destroy_value %467 : $UITextField, loc "ClassSelectorController.swift":163:54, scope 127 // id: %491
  8324. destroy_addr %466 : $*UITextField, loc "ClassSelectorController.swift":163:54, scope 127 // id: %492
  8325. dealloc_stack %454 : $*Optional<UITextField>, loc "ClassSelectorController.swift":163:54, scope 127 // id: %493
  8326. // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
  8327. %494 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "ClassSelectorController.swift":163:60, scope 127 // user: %500
  8328. // function_ref static Bool.! prefix(Bool) -> Bool
  8329. %495 = function_ref @_TZFSbop1nfSbSb : $@convention(method) (Bool, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":163:60, scope 127 // user: %499
  8330. %496 = metatype $@thin Bool.Type, loc "ClassSelectorController.swift":163:60, scope 127 // user: %499
  8331. // function_ref String.isEmpty.getter
  8332. %497 = function_ref @_TFSSg7isEmptySb : $@convention(method) (@guaranteed String) -> Bool, loc "ClassSelectorController.swift":163:73, scope 127 // user: %498
  8333. %498 = apply %497(%489) : $@convention(method) (@guaranteed String) -> Bool, loc "ClassSelectorController.swift":163:73, scope 127 // user: %499
  8334. %499 = apply %495(%498, %496) : $@convention(method) (Bool, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":163:60, scope 127 // user: %500
  8335. %500 = apply %494(%499) : $@convention(method) (Bool) -> Builtin.Int1, loc "ClassSelectorController.swift":163:73, scope 127 // user: %501
  8336. cond_br %500, bb64, bb63, loc "ClassSelectorController.swift":163:73, scope 127 // id: %501
  8337.  
  8338. bb63: // Preds: bb62
  8339. destroy_value %489 : $String, loc "ClassSelectorController.swift":167:17, scope 127 // id: %502
  8340. br bb69, loc "ClassSelectorController.swift":163:17, scope 127 // id: %503
  8341.  
  8342. bb64: // Preds: bb62
  8343. // function_ref Double.init(String) -> Double?
  8344. %504 = function_ref @_TFSdCfSSGSqSd_ : $@convention(method) (@owned String, @thin Double.Type) -> Optional<Double>, loc "ClassSelectorController.swift":170:38, scope 127 // user: %507
  8345. %505 = metatype $@thin Double.Type, loc "ClassSelectorController.swift":170:38, scope 127 // user: %507
  8346. %506 = copy_value %489 : $String, loc "ClassSelectorController.swift":170:45, scope 127 // user: %507
  8347. %507 = apply %504(%506, %505) : $@convention(method) (@owned String, @thin Double.Type) -> Optional<Double>, loc "ClassSelectorController.swift":170:56, scope 127 // user: %508
  8348. switch_enum %507 : $Optional<Double>, case #Optional.some!enumelt.1: bb65, default bb66, loc "ClassSelectorController.swift":170:56, scope 127 // id: %508
  8349.  
  8350. // %509 // users: %511, %510
  8351. bb65(%509 : $Double): // Preds: bb64
  8352. debug_value %509 : $Double, let, name "_credits", loc "ClassSelectorController.swift":170:27, scope 127 // id: %510
  8353. assign %509 to %377 : $*Double, loc "ClassSelectorController.swift":175:25, scope 127 // id: %511
  8354. destroy_value %489 : $String, loc "ClassSelectorController.swift":175:27, scope 111 // id: %512
  8355. br bb72, loc "ClassSelectorController.swift":175:27, scope 111 // id: %513
  8356.  
  8357. bb66: // Preds: bb64
  8358. %514 = alloc_stack $Optional<UILabel>, loc "ClassSelectorController.swift":171:21, scope 128 // users: %539, %526, %518, %517
  8359. %515 = class_method %1 : $ClassSelectorController, #ClassSelectorController.warningLabel!getter.1 : (ClassSelectorController) -> () -> UILabel! , $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UILabel>, loc "ClassSelectorController.swift":171:21, scope 128 // user: %516
  8360. %516 = apply %515(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UILabel>, loc "ClassSelectorController.swift":171:21, scope 128 // user: %517
  8361. store %516 to [init] %514 : $*Optional<UILabel>, loc "ClassSelectorController.swift":171:21, scope 128 // id: %517
  8362. switch_enum_addr %514 : $*Optional<UILabel>, case #Optional.none!enumelt: bb67, default bb68, loc "ClassSelectorController.swift":171:21, scope 128 // id: %518
  8363.  
  8364. bb67: // Preds: bb66
  8365. %519 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":171:21, scope 128 // user: %524
  8366. %520 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":171:21, scope 128 // user: %524
  8367. %521 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":171:21, scope 128 // user: %524
  8368. %522 = integer_literal $Builtin.Word, 171, loc "ClassSelectorController.swift":171:21, scope 128 // user: %524
  8369. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  8370. %523 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":171:21, scope 128 // user: %524
  8371. %524 = apply %523(%519, %520, %521, %522) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":171:21, scope 128
  8372. unreachable , loc "ClassSelectorController.swift":171:21, scope 128 // id: %525
  8373.  
  8374. bb68: // Preds: bb66
  8375. %526 = unchecked_take_enum_data_addr %514 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":171:21, scope 128 // users: %538, %527
  8376. %527 = load [copy] %526 : $*UILabel, loc "ClassSelectorController.swift":171:21, scope 128 // users: %537, %528
  8377. %528 = upcast %527 : $UILabel to $UIView, loc "ClassSelectorController.swift":171:21, scope 128 // users: %536, %533
  8378. // function_ref Bool.init(_builtinBooleanLiteral : Builtin.Int1) -> Bool
  8379. %529 = function_ref @_TFSbCfT22_builtinBooleanLiteralBi1__Sb : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":171:45, scope 128 // user: %532
  8380. %530 = metatype $@thin Bool.Type, loc "ClassSelectorController.swift":171:45, scope 128 // user: %532
  8381. %531 = integer_literal $Builtin.Int1, 0, loc "ClassSelectorController.swift":171:45, scope 128 // user: %532
  8382. %532 = apply %529(%531, %530) : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":171:45, scope 128 // user: %535
  8383. %533 = class_method [volatile] %528 : $UIView, #UIView.hidden!setter.1.foreign : (UIView) -> (Bool) -> () , $@convention(objc_method) (ObjCBool, UIView) -> (), loc "ClassSelectorController.swift":171:43, scope 128 // user: %536
  8384. // function_ref _convertBoolToObjCBool(Bool) -> ObjCBool
  8385. %534 = function_ref @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool, loc "ClassSelectorController.swift":171:43, scope 128 // user: %535
  8386. %535 = apply %534(%532) : $@convention(thin) (Bool) -> ObjCBool, loc "ClassSelectorController.swift":171:43, scope 128 // user: %536
  8387. %536 = apply %533(%535, %528) : $@convention(objc_method) (ObjCBool, UIView) -> (), loc "ClassSelectorController.swift":171:43, scope 128
  8388. destroy_value %527 : $UILabel, loc "ClassSelectorController.swift":171:45, scope 128 // id: %537
  8389. destroy_addr %526 : $*UILabel, loc "ClassSelectorController.swift":171:45, scope 128 // id: %538
  8390. dealloc_stack %514 : $*Optional<UILabel>, loc "ClassSelectorController.swift":171:45, scope 128 // id: %539
  8391. // function_ref print([Any], separator : String, terminator : String) -> ()
  8392. %540 = function_ref @_TFs5printFTGSaP__9separatorSS10terminatorSS_T_ : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> (), loc "ClassSelectorController.swift":172:21, scope 128 // user: %559
  8393. %541 = integer_literal $Builtin.Word, 1, loc "ClassSelectorController.swift":172:27, scope 128 // user: %543
  8394. // function_ref _allocateUninitializedArray<A> (Builtin.Word) -> ([A], Builtin.RawPointer)
  8395. %542 = function_ref @_TFs27_allocateUninitializedArrayurFBwTGSax_Bp_ : $@convention(thin) <τ_0_0> (Builtin.Word) -> (@owned Array<τ_0_0>, Builtin.RawPointer), loc "ClassSelectorController.swift":172:27, scope 128 // user: %543
  8396. %543 = apply %542<Any>(%541) : $@convention(thin) <τ_0_0> (Builtin.Word) -> (@owned Array<τ_0_0>, Builtin.RawPointer), loc "ClassSelectorController.swift":172:27, scope 128 // users: %545, %544
  8397. %544 = tuple_extract %543 : $(Array<Any>, Builtin.RawPointer), 0, loc "ClassSelectorController.swift":172:27, scope 128 // user: %559
  8398. %545 = tuple_extract %543 : $(Array<Any>, Builtin.RawPointer), 1, loc "ClassSelectorController.swift":172:27, scope 128 // user: %546
  8399. %546 = pointer_to_address %545 : $Builtin.RawPointer to [strict] $*Any, loc "ClassSelectorController.swift":172:27, scope 128 // user: %547
  8400. %547 = init_existential_addr %546 : $*Any, $String, loc "ClassSelectorController.swift":172:27, scope 128 // user: %554
  8401. %548 = string_literal utf8 "Malformed credits.", loc "ClassSelectorController.swift":172:27, scope 128 // user: %553
  8402. %549 = integer_literal $Builtin.Word, 18, loc "ClassSelectorController.swift":172:27, scope 128 // user: %553
  8403. %550 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":172:27, scope 128 // user: %553
  8404. %551 = metatype $@thin String.Type, loc "ClassSelectorController.swift":172:27, scope 128 // user: %553
  8405. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  8406. %552 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":172:27, scope 128 // user: %553
  8407. %553 = apply %552(%548, %549, %550, %551) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":172:27, scope 128 // user: %554
  8408. store %553 to [init] %547 : $*String, loc "ClassSelectorController.swift":172:27, scope 128 // id: %554
  8409. // function_ref (print([Any], separator : String, terminator : String) -> ()).(default argument 1)
  8410. %555 = function_ref @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A0_ : $@convention(thin) () -> @owned String, loc "ClassSelectorController.swift":172:27, scope 128 // user: %556
  8411. %556 = apply %555() : $@convention(thin) () -> @owned String, loc "ClassSelectorController.swift":172:27, scope 128 // user: %559
  8412. // function_ref (print([Any], separator : String, terminator : String) -> ()).(default argument 2)
  8413. %557 = function_ref @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A1_ : $@convention(thin) () -> @owned String, loc "ClassSelectorController.swift":172:27, scope 128 // user: %558
  8414. %558 = apply %557() : $@convention(thin) () -> @owned String, loc "ClassSelectorController.swift":172:27, scope 128 // user: %559
  8415. %559 = apply %540(%544, %556, %558) : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> (), loc "ClassSelectorController.swift":172:47, scope 128
  8416. destroy_value %489 : $String, loc "ClassSelectorController.swift":199:5, scope 128 // id: %560
  8417. destroy_value %376 : ${ var Double }, loc "ClassSelectorController.swift":199:5, scope 128 // id: %561
  8418. destroy_value %352 : $String, loc "ClassSelectorController.swift":199:5, scope 128 // id: %562
  8419. destroy_value %54 : ${ var Double }, loc "ClassSelectorController.swift":199:5, scope 128 // id: %563
  8420. destroy_value %39 : $String, loc "ClassSelectorController.swift":199:5, scope 128 // id: %564
  8421. br bb113, loc "ClassSelectorController.swift":173:21, scope 128 // id: %565
  8422.  
  8423. bb69: // Preds: bb63 bb61
  8424. %566 = alloc_stack $Optional<UILabel>, loc "ClassSelectorController.swift":164:21, scope 129 // users: %591, %578, %570, %569
  8425. %567 = class_method %1 : $ClassSelectorController, #ClassSelectorController.warningLabel!getter.1 : (ClassSelectorController) -> () -> UILabel! , $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UILabel>, loc "ClassSelectorController.swift":164:21, scope 129 // user: %568
  8426. %568 = apply %567(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UILabel>, loc "ClassSelectorController.swift":164:21, scope 129 // user: %569
  8427. store %568 to [init] %566 : $*Optional<UILabel>, loc "ClassSelectorController.swift":164:21, scope 129 // id: %569
  8428. switch_enum_addr %566 : $*Optional<UILabel>, case #Optional.none!enumelt: bb70, default bb71, loc "ClassSelectorController.swift":164:21, scope 129 // id: %570
  8429.  
  8430. bb70: // Preds: bb69
  8431. %571 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":164:21, scope 129 // user: %576
  8432. %572 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":164:21, scope 129 // user: %576
  8433. %573 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":164:21, scope 129 // user: %576
  8434. %574 = integer_literal $Builtin.Word, 164, loc "ClassSelectorController.swift":164:21, scope 129 // user: %576
  8435. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  8436. %575 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":164:21, scope 129 // user: %576
  8437. %576 = apply %575(%571, %572, %573, %574) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":164:21, scope 129
  8438. unreachable , loc "ClassSelectorController.swift":164:21, scope 129 // id: %577
  8439.  
  8440. bb71: // Preds: bb69
  8441. %578 = unchecked_take_enum_data_addr %566 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":164:21, scope 129 // users: %590, %579
  8442. %579 = load [copy] %578 : $*UILabel, loc "ClassSelectorController.swift":164:21, scope 129 // users: %589, %580
  8443. %580 = upcast %579 : $UILabel to $UIView, loc "ClassSelectorController.swift":164:21, scope 129 // users: %588, %585
  8444. // function_ref Bool.init(_builtinBooleanLiteral : Builtin.Int1) -> Bool
  8445. %581 = function_ref @_TFSbCfT22_builtinBooleanLiteralBi1__Sb : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":164:45, scope 129 // user: %584
  8446. %582 = metatype $@thin Bool.Type, loc "ClassSelectorController.swift":164:45, scope 129 // user: %584
  8447. %583 = integer_literal $Builtin.Int1, 0, loc "ClassSelectorController.swift":164:45, scope 129 // user: %584
  8448. %584 = apply %581(%583, %582) : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":164:45, scope 129 // user: %587
  8449. %585 = class_method [volatile] %580 : $UIView, #UIView.hidden!setter.1.foreign : (UIView) -> (Bool) -> () , $@convention(objc_method) (ObjCBool, UIView) -> (), loc "ClassSelectorController.swift":164:43, scope 129 // user: %588
  8450. // function_ref _convertBoolToObjCBool(Bool) -> ObjCBool
  8451. %586 = function_ref @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool, loc "ClassSelectorController.swift":164:43, scope 129 // user: %587
  8452. %587 = apply %586(%584) : $@convention(thin) (Bool) -> ObjCBool, loc "ClassSelectorController.swift":164:43, scope 129 // user: %588
  8453. %588 = apply %585(%587, %580) : $@convention(objc_method) (ObjCBool, UIView) -> (), loc "ClassSelectorController.swift":164:43, scope 129
  8454. destroy_value %579 : $UILabel, loc "ClassSelectorController.swift":164:45, scope 129 // id: %589
  8455. destroy_addr %578 : $*UILabel, loc "ClassSelectorController.swift":164:45, scope 129 // id: %590
  8456. dealloc_stack %566 : $*Optional<UILabel>, loc "ClassSelectorController.swift":164:45, scope 129 // id: %591
  8457. // function_ref print([Any], separator : String, terminator : String) -> ()
  8458. %592 = function_ref @_TFs5printFTGSaP__9separatorSS10terminatorSS_T_ : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> (), loc "ClassSelectorController.swift":165:21, scope 129 // user: %611
  8459. %593 = integer_literal $Builtin.Word, 1, loc "ClassSelectorController.swift":165:27, scope 129 // user: %595
  8460. // function_ref _allocateUninitializedArray<A> (Builtin.Word) -> ([A], Builtin.RawPointer)
  8461. %594 = function_ref @_TFs27_allocateUninitializedArrayurFBwTGSax_Bp_ : $@convention(thin) <τ_0_0> (Builtin.Word) -> (@owned Array<τ_0_0>, Builtin.RawPointer), loc "ClassSelectorController.swift":165:27, scope 129 // user: %595
  8462. %595 = apply %594<Any>(%593) : $@convention(thin) <τ_0_0> (Builtin.Word) -> (@owned Array<τ_0_0>, Builtin.RawPointer), loc "ClassSelectorController.swift":165:27, scope 129 // users: %597, %596
  8463. %596 = tuple_extract %595 : $(Array<Any>, Builtin.RawPointer), 0, loc "ClassSelectorController.swift":165:27, scope 129 // user: %611
  8464. %597 = tuple_extract %595 : $(Array<Any>, Builtin.RawPointer), 1, loc "ClassSelectorController.swift":165:27, scope 129 // user: %598
  8465. %598 = pointer_to_address %597 : $Builtin.RawPointer to [strict] $*Any, loc "ClassSelectorController.swift":165:27, scope 129 // user: %599
  8466. %599 = init_existential_addr %598 : $*Any, $String, loc "ClassSelectorController.swift":165:27, scope 129 // user: %606
  8467. %600 = string_literal utf8 "No credits specified.", loc "ClassSelectorController.swift":165:27, scope 129 // user: %605
  8468. %601 = integer_literal $Builtin.Word, 21, loc "ClassSelectorController.swift":165:27, scope 129 // user: %605
  8469. %602 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":165:27, scope 129 // user: %605
  8470. %603 = metatype $@thin String.Type, loc "ClassSelectorController.swift":165:27, scope 129 // user: %605
  8471. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  8472. %604 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":165:27, scope 129 // user: %605
  8473. %605 = apply %604(%600, %601, %602, %603) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":165:27, scope 129 // user: %606
  8474. store %605 to [init] %599 : $*String, loc "ClassSelectorController.swift":165:27, scope 129 // id: %606
  8475. // function_ref (print([Any], separator : String, terminator : String) -> ()).(default argument 1)
  8476. %607 = function_ref @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A0_ : $@convention(thin) () -> @owned String, loc "ClassSelectorController.swift":165:27, scope 129 // user: %608
  8477. %608 = apply %607() : $@convention(thin) () -> @owned String, loc "ClassSelectorController.swift":165:27, scope 129 // user: %611
  8478. // function_ref (print([Any], separator : String, terminator : String) -> ()).(default argument 2)
  8479. %609 = function_ref @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A1_ : $@convention(thin) () -> @owned String, loc "ClassSelectorController.swift":165:27, scope 129 // user: %610
  8480. %610 = apply %609() : $@convention(thin) () -> @owned String, loc "ClassSelectorController.swift":165:27, scope 129 // user: %611
  8481. %611 = apply %592(%596, %608, %610) : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> (), loc "ClassSelectorController.swift":165:50, scope 129
  8482. destroy_value %376 : ${ var Double }, loc "ClassSelectorController.swift":199:5, scope 129 // id: %612
  8483. destroy_value %352 : $String, loc "ClassSelectorController.swift":199:5, scope 129 // id: %613
  8484. destroy_value %54 : ${ var Double }, loc "ClassSelectorController.swift":199:5, scope 129 // id: %614
  8485. destroy_value %39 : $String, loc "ClassSelectorController.swift":199:5, scope 129 // id: %615
  8486. br bb113, loc "ClassSelectorController.swift":166:21, scope 129 // id: %616
  8487.  
  8488. bb72: // Preds: bb65 bb53 bb50
  8489. %617 = metatype $@thick Information.Type, loc "ClassSelectorController.swift":179:9, scope 111
  8490. // function_ref Information.classesAndGrades.unsafeMutableAddressor
  8491. %618 = function_ref @_TFC3gpa11Informationau16classesAndGradesGSaS0__ : $@convention(thin) () -> Builtin.RawPointer, loc "ClassSelectorController.swift":179:21, scope 111 // user: %619
  8492. %619 = apply %618() : $@convention(thin) () -> Builtin.RawPointer, loc "ClassSelectorController.swift":179:21, scope 111 // user: %620
  8493. %620 = pointer_to_address %619 : $Builtin.RawPointer to [strict] $*Array<Information>, loc "ClassSelectorController.swift":179:21, scope 111 // user: %630
  8494. %621 = class_method %1 : $ClassSelectorController, #ClassSelectorController.selected!getter.1 : (ClassSelectorController) -> () -> Int , $@convention(method) (@guaranteed ClassSelectorController) -> Int, loc "ClassSelectorController.swift":179:38, scope 111 // user: %622
  8495. %622 = apply %621(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> Int, loc "ClassSelectorController.swift":179:38, scope 111 // user: %630
  8496. // function_ref Information.__allocating_init(String, grade : Int, multiplier : Double, credits : Double) -> Information
  8497. %623 = function_ref @_TFC3gpa11InformationCfTSS5gradeSi10multiplierSd7creditsSd_S0_ : $@convention(method) (@owned String, Int, Double, Double, @thick Information.Type) -> @owned Information, loc "ClassSelectorController.swift":179:50, scope 111 // user: %628
  8498. %624 = metatype $@thick Information.Type, loc "ClassSelectorController.swift":179:50, scope 111 // user: %628
  8499. %625 = copy_value %39 : $String, loc "ClassSelectorController.swift":179:62, scope 111 // user: %628
  8500. %626 = load [trivial] %55 : $*Double, loc "ClassSelectorController.swift":179:106, scope 111 // user: %628
  8501. %627 = load [trivial] %377 : $*Double, loc "ClassSelectorController.swift":179:127, scope 111 // user: %628
  8502. %628 = apply %623(%625, %374, %626, %627, %624) : $@convention(method) (@owned String, Int, Double, Double, @thick Information.Type) -> @owned Information, loc "ClassSelectorController.swift":179:134, scope 111 // user: %636
  8503. // function_ref Array.subscript.nativePinningMutableAddressor
  8504. %629 = function_ref @_TFSaap9subscriptFSix : $@convention(method) <τ_0_0> (Int, @inout Array<τ_0_0>) -> (UnsafeMutablePointer<τ_0_0>, @owned Optional<Builtin.NativeObject>), loc "ClassSelectorController.swift":179:48, scope 111 // user: %630
  8505. %630 = apply %629<Information>(%622, %620) : $@convention(method) <τ_0_0> (Int, @inout Array<τ_0_0>) -> (UnsafeMutablePointer<τ_0_0>, @owned Optional<Builtin.NativeObject>), loc "ClassSelectorController.swift":179:48, scope 111 // users: %632, %631
  8506. %631 = tuple_extract %630 : $(UnsafeMutablePointer<Information>, Optional<Builtin.NativeObject>), 0, loc "ClassSelectorController.swift":179:48, scope 111 // user: %633
  8507. %632 = tuple_extract %630 : $(UnsafeMutablePointer<Information>, Optional<Builtin.NativeObject>), 1, loc "ClassSelectorController.swift":179:48, scope 111 // users: %637, %635
  8508. %633 = struct_extract %631 : $UnsafeMutablePointer<Information>, #UnsafeMutablePointer._rawValue, loc "ClassSelectorController.swift":179:48, scope 111 // user: %634
  8509. %634 = pointer_to_address %633 : $Builtin.RawPointer to [strict] $*Information, loc "ClassSelectorController.swift":179:48, scope 111 // user: %635
  8510. %635 = mark_dependence %634 : $*Information on %632 : $Optional<Builtin.NativeObject>, loc "ClassSelectorController.swift":179:48, scope 111 // user: %636
  8511. assign %628 to %635 : $*Information, loc "ClassSelectorController.swift":179:48, scope 111 // id: %636
  8512. strong_unpin %632 : $Optional<Builtin.NativeObject>, loc "ClassSelectorController.swift":179:48, scope 111 // id: %637
  8513. %638 = metatype $@thick Information.Type, loc "ClassSelectorController.swift":180:9, scope 111
  8514. // function_ref Information.keyValueStore.unsafeMutableAddressor
  8515. %639 = function_ref @_TFC3gpa11Informationau13keyValueStoreCSo25NSUbiquitousKeyValueStore : $@convention(thin) () -> Builtin.RawPointer, loc "ClassSelectorController.swift":180:21, scope 111 // user: %640
  8516. %640 = apply %639() : $@convention(thin) () -> Builtin.RawPointer, loc "ClassSelectorController.swift":180:21, scope 111 // user: %641
  8517. %641 = pointer_to_address %640 : $Builtin.RawPointer to [strict] $*NSUbiquitousKeyValueStore, loc "ClassSelectorController.swift":180:21, scope 111 // user: %642
  8518. %642 = load [copy] %641 : $*NSUbiquitousKeyValueStore, loc "ClassSelectorController.swift":180:21, scope 111 // users: %687, %681, %643
  8519. %643 = class_method [volatile] %642 : $NSUbiquitousKeyValueStore, #NSUbiquitousKeyValueStore.set!1.foreign : (NSUbiquitousKeyValueStore) -> (Data?, String) -> () , $@convention(objc_method) (Optional<NSData>, NSString, NSUbiquitousKeyValueStore) -> (), loc "ClassSelectorController.swift":180:35, scope 111 // user: %681
  8520. %644 = metatype $@thick NSKeyedArchiver.Type, loc "ClassSelectorController.swift":180:39, scope 111 // users: %646, %645
  8521. %645 = class_method [volatile] %644 : $@thick NSKeyedArchiver.Type, #NSKeyedArchiver.archivedData!1.foreign : (NSKeyedArchiver.Type) -> (Any) -> Data , $@convention(objc_method) (AnyObject, @objc_metatype NSKeyedArchiver.Type) -> @autoreleased Optional<NSData>, loc "ClassSelectorController.swift":180:55, scope 111 // user: %655
  8522. %646 = thick_to_objc_metatype %644 : $@thick NSKeyedArchiver.Type to $@objc_metatype NSKeyedArchiver.Type, loc "ClassSelectorController.swift":180:39, scope 111 // user: %655
  8523. %647 = metatype $@thick Information.Type, loc "ClassSelectorController.swift":180:84, scope 111
  8524. // function_ref Information.classesAndGrades.unsafeMutableAddressor
  8525. %648 = function_ref @_TFC3gpa11Informationau16classesAndGradesGSaS0__ : $@convention(thin) () -> Builtin.RawPointer, loc "ClassSelectorController.swift":180:96, scope 111 // user: %649
  8526. %649 = apply %648() : $@convention(thin) () -> Builtin.RawPointer, loc "ClassSelectorController.swift":180:96, scope 111 // user: %650
  8527. %650 = pointer_to_address %649 : $Builtin.RawPointer to [strict] $*Array<Information>, loc "ClassSelectorController.swift":180:96, scope 111 // user: %651
  8528. %651 = load [copy] %650 : $*Array<Information>, loc "ClassSelectorController.swift":180:96, scope 111 // users: %686, %653
  8529. // function_ref Array._bridgeToObjectiveC() -> NSArray
  8530. %652 = function_ref @_TFE10FoundationSa19_bridgeToObjectiveCfT_CSo7NSArray : $@convention(method) <τ_0_0> (@guaranteed Array<τ_0_0>) -> @owned NSArray, loc "ClassSelectorController.swift":180:96, scope 111 // user: %653
  8531. %653 = apply %652<Information>(%651) : $@convention(method) <τ_0_0> (@guaranteed Array<τ_0_0>) -> @owned NSArray, loc "ClassSelectorController.swift":180:96, scope 111 // users: %685, %654
  8532. %654 = init_existential_ref %653 : $NSArray : $NSArray, $AnyObject, loc "ClassSelectorController.swift":180:96, scope 111 // user: %655
  8533. %655 = apply %645(%654, %646) : $@convention(objc_method) (AnyObject, @objc_metatype NSKeyedArchiver.Type) -> @autoreleased Optional<NSData>, loc "ClassSelectorController.swift":180:112, scope 111 // user: %658
  8534. // function_ref static Data._unconditionallyBridgeFromObjectiveC(NSData?) -> Data
  8535. %656 = function_ref @_TZFV10Foundation4Data36_unconditionallyBridgeFromObjectiveCfGSqCSo6NSData_S0_ : $@convention(method) (@owned Optional<NSData>, @thin Data.Type) -> @owned Data, loc "ClassSelectorController.swift":180:112, scope 111 // user: %658
  8536. %657 = metatype $@thin Data.Type, loc "ClassSelectorController.swift":180:112, scope 111 // user: %658
  8537. %658 = apply %656(%655, %657) : $@convention(method) (@owned Optional<NSData>, @thin Data.Type) -> @owned Data, loc "ClassSelectorController.swift":180:112, scope 111 // user: %659
  8538. %659 = enum $Optional<Data>, #Optional.some!enumelt.1, %658 : $Data, loc "ClassSelectorController.swift":180:55, scope 111 // users: %664, %662
  8539. %660 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":180:55, scope 111 // user: %662
  8540. %661 = integer_literal $Builtin.Int1, 0, loc "ClassSelectorController.swift":180:55, scope 111 // user: %662
  8541. %662 = select_enum %659 : $Optional<Data>, case #Optional.some!enumelt.1: %660, default %661 : $Builtin.Int1, loc "ClassSelectorController.swift":180:55, scope 111 // user: %663
  8542. cond_br %662, bb73, bb74, loc "ClassSelectorController.swift":180:55, scope 111 // id: %663
  8543.  
  8544. bb73: // Preds: bb72
  8545. %664 = unchecked_enum_data %659 : $Optional<Data>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":180:55, scope 111 // users: %668, %666
  8546. // function_ref Data._bridgeToObjectiveC() -> NSData
  8547. %665 = function_ref @_TFV10Foundation4Data19_bridgeToObjectiveCfT_CSo6NSData : $@convention(method) (@guaranteed Data) -> @owned NSData, loc "ClassSelectorController.swift":180:55, scope 111 // user: %666
  8548. %666 = apply %665(%664) : $@convention(method) (@guaranteed Data) -> @owned NSData, loc "ClassSelectorController.swift":180:55, scope 111 // user: %667
  8549. %667 = enum $Optional<NSData>, #Optional.some!enumelt.1, %666 : $NSData, loc "ClassSelectorController.swift":180:55, scope 111 // user: %669
  8550. destroy_value %664 : $Data, loc "ClassSelectorController.swift":180:112, scope 111 // id: %668
  8551. br bb75(%667 : $Optional<NSData>), loc "ClassSelectorController.swift":180:55, scope 111 // id: %669
  8552.  
  8553. bb74: // Preds: bb72
  8554. %670 = enum $Optional<NSData>, #Optional.none!enumelt, loc "ClassSelectorController.swift":180:55, scope 111 // user: %671
  8555. br bb75(%670 : $Optional<NSData>), loc "ClassSelectorController.swift":180:55, scope 111 // id: %671
  8556.  
  8557. // %672 // users: %684, %681
  8558. bb75(%672 : $Optional<NSData>): // Preds: bb74 bb73
  8559. %673 = string_literal utf8 "savedList", loc "ClassSelectorController.swift":180:123, scope 111 // user: %678
  8560. %674 = integer_literal $Builtin.Word, 9, loc "ClassSelectorController.swift":180:123, scope 111 // user: %678
  8561. %675 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":180:123, scope 111 // user: %678
  8562. %676 = metatype $@thin String.Type, loc "ClassSelectorController.swift":180:123, scope 111 // user: %678
  8563. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  8564. %677 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":180:123, scope 111 // user: %678
  8565. %678 = apply %677(%673, %674, %675, %676) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":180:123, scope 111 // users: %683, %680
  8566. // function_ref String._bridgeToObjectiveC() -> NSString
  8567. %679 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassSelectorController.swift":180:123, scope 111 // user: %680
  8568. %680 = apply %679(%678) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassSelectorController.swift":180:123, scope 111 // users: %682, %681
  8569. %681 = apply %643(%672, %680, %642) : $@convention(objc_method) (Optional<NSData>, NSString, NSUbiquitousKeyValueStore) -> (), loc "ClassSelectorController.swift":180:134, scope 111
  8570. destroy_value %680 : $NSString, loc "ClassSelectorController.swift":180:134, scope 111 // id: %682
  8571. destroy_value %678 : $String, loc "ClassSelectorController.swift":180:134, scope 111 // id: %683
  8572. destroy_value %672 : $Optional<NSData>, loc "ClassSelectorController.swift":180:134, scope 111 // id: %684
  8573. destroy_value %653 : $NSArray, loc "ClassSelectorController.swift":180:134, scope 111 // id: %685
  8574. destroy_value %651 : $Array<Information>, loc "ClassSelectorController.swift":180:134, scope 111 // id: %686
  8575. destroy_value %642 : $NSUbiquitousKeyValueStore, loc "ClassSelectorController.swift":180:134, scope 111 // id: %687
  8576. %688 = alloc_stack $Optional<UITextField>, loc "ClassSelectorController.swift":182:9, scope 111 // users: %727, %700, %692, %691
  8577. %689 = class_method %1 : $ClassSelectorController, #ClassSelectorController.classNameField!getter.1 : (ClassSelectorController) -> () -> UITextField! , $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, loc "ClassSelectorController.swift":182:9, scope 111 // user: %690
  8578. %690 = apply %689(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, loc "ClassSelectorController.swift":182:9, scope 111 // user: %691
  8579. store %690 to [init] %688 : $*Optional<UITextField>, loc "ClassSelectorController.swift":182:9, scope 111 // id: %691
  8580. switch_enum_addr %688 : $*Optional<UITextField>, case #Optional.none!enumelt: bb76, default bb77, loc "ClassSelectorController.swift":182:9, scope 111 // id: %692
  8581.  
  8582. bb76: // Preds: bb75
  8583. %693 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":182:9, scope 111 // user: %698
  8584. %694 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":182:9, scope 111 // user: %698
  8585. %695 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":182:9, scope 111 // user: %698
  8586. %696 = integer_literal $Builtin.Word, 182, loc "ClassSelectorController.swift":182:9, scope 111 // user: %698
  8587. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  8588. %697 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":182:9, scope 111 // user: %698
  8589. %698 = apply %697(%693, %694, %695, %696) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":182:9, scope 111
  8590. unreachable , loc "ClassSelectorController.swift":182:9, scope 111 // id: %699
  8591.  
  8592. bb77: // Preds: bb75
  8593. %700 = unchecked_take_enum_data_addr %688 : $*Optional<UITextField>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":182:9, scope 111 // users: %726, %701
  8594. %701 = load [copy] %700 : $*UITextField, loc "ClassSelectorController.swift":182:9, scope 111 // users: %725, %723, %709
  8595. %702 = string_literal utf8 "", loc "ClassSelectorController.swift":182:31, scope 111 // user: %707
  8596. %703 = integer_literal $Builtin.Word, 0, loc "ClassSelectorController.swift":182:31, scope 111 // user: %707
  8597. %704 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":182:31, scope 111 // user: %707
  8598. %705 = metatype $@thin String.Type, loc "ClassSelectorController.swift":182:31, scope 111 // user: %707
  8599. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  8600. %706 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":182:31, scope 111 // user: %707
  8601. %707 = apply %706(%702, %703, %704, %705) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":182:31, scope 111 // user: %708
  8602. %708 = enum $Optional<String>, #Optional.some!enumelt.1, %707 : $String, loc "ClassSelectorController.swift":182:31, scope 111 // users: %714, %712
  8603. %709 = class_method [volatile] %701 : $UITextField, #UITextField.text!setter.1.foreign : (UITextField) -> (String?) -> () , $@convention(objc_method) (Optional<NSString>, UITextField) -> (), loc "ClassSelectorController.swift":182:29, scope 111 // user: %723
  8604. %710 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":182:29, scope 111 // user: %712
  8605. %711 = integer_literal $Builtin.Int1, 0, loc "ClassSelectorController.swift":182:29, scope 111 // user: %712
  8606. %712 = select_enum %708 : $Optional<String>, case #Optional.some!enumelt.1: %710, default %711 : $Builtin.Int1, loc "ClassSelectorController.swift":182:29, scope 111 // user: %713
  8607. cond_br %712, bb78, bb79, loc "ClassSelectorController.swift":182:29, scope 111 // id: %713
  8608.  
  8609. bb78: // Preds: bb77
  8610. %714 = unchecked_enum_data %708 : $Optional<String>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":182:29, scope 111 // users: %718, %716
  8611. // function_ref String._bridgeToObjectiveC() -> NSString
  8612. %715 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassSelectorController.swift":182:29, scope 111 // user: %716
  8613. %716 = apply %715(%714) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassSelectorController.swift":182:29, scope 111 // user: %717
  8614. %717 = enum $Optional<NSString>, #Optional.some!enumelt.1, %716 : $NSString, loc "ClassSelectorController.swift":182:29, scope 111 // user: %719
  8615. destroy_value %714 : $String, loc "ClassSelectorController.swift":182:31, scope 111 // id: %718
  8616. br bb80(%717 : $Optional<NSString>), loc "ClassSelectorController.swift":182:29, scope 111 // id: %719
  8617.  
  8618. bb79: // Preds: bb77
  8619. %720 = enum $Optional<NSString>, #Optional.none!enumelt, loc "ClassSelectorController.swift":182:29, scope 111 // user: %721
  8620. br bb80(%720 : $Optional<NSString>), loc "ClassSelectorController.swift":182:29, scope 111 // id: %721
  8621.  
  8622. // %722 // users: %724, %723
  8623. bb80(%722 : $Optional<NSString>): // Preds: bb79 bb78
  8624. %723 = apply %709(%722, %701) : $@convention(objc_method) (Optional<NSString>, UITextField) -> (), loc "ClassSelectorController.swift":182:29, scope 111
  8625. destroy_value %722 : $Optional<NSString>, loc "ClassSelectorController.swift":182:31, scope 111 // id: %724
  8626. destroy_value %701 : $UITextField, loc "ClassSelectorController.swift":182:31, scope 111 // id: %725
  8627. destroy_addr %700 : $*UITextField, loc "ClassSelectorController.swift":182:31, scope 111 // id: %726
  8628. dealloc_stack %688 : $*Optional<UITextField>, loc "ClassSelectorController.swift":182:31, scope 111 // id: %727
  8629. %728 = alloc_stack $Optional<UITextField>, loc "ClassSelectorController.swift":183:9, scope 111 // users: %767, %740, %732, %731
  8630. %729 = class_method %1 : $ClassSelectorController, #ClassSelectorController.multiplierField!getter.1 : (ClassSelectorController) -> () -> UITextField! , $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, loc "ClassSelectorController.swift":183:9, scope 111 // user: %730
  8631. %730 = apply %729(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, loc "ClassSelectorController.swift":183:9, scope 111 // user: %731
  8632. store %730 to [init] %728 : $*Optional<UITextField>, loc "ClassSelectorController.swift":183:9, scope 111 // id: %731
  8633. switch_enum_addr %728 : $*Optional<UITextField>, case #Optional.none!enumelt: bb81, default bb82, loc "ClassSelectorController.swift":183:9, scope 111 // id: %732
  8634.  
  8635. bb81: // Preds: bb80
  8636. %733 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":183:9, scope 111 // user: %738
  8637. %734 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":183:9, scope 111 // user: %738
  8638. %735 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":183:9, scope 111 // user: %738
  8639. %736 = integer_literal $Builtin.Word, 183, loc "ClassSelectorController.swift":183:9, scope 111 // user: %738
  8640. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  8641. %737 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":183:9, scope 111 // user: %738
  8642. %738 = apply %737(%733, %734, %735, %736) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":183:9, scope 111
  8643. unreachable , loc "ClassSelectorController.swift":183:9, scope 111 // id: %739
  8644.  
  8645. bb82: // Preds: bb80
  8646. %740 = unchecked_take_enum_data_addr %728 : $*Optional<UITextField>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":183:9, scope 111 // users: %766, %741
  8647. %741 = load [copy] %740 : $*UITextField, loc "ClassSelectorController.swift":183:9, scope 111 // users: %765, %763, %749
  8648. %742 = string_literal utf8 "", loc "ClassSelectorController.swift":183:32, scope 111 // user: %747
  8649. %743 = integer_literal $Builtin.Word, 0, loc "ClassSelectorController.swift":183:32, scope 111 // user: %747
  8650. %744 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":183:32, scope 111 // user: %747
  8651. %745 = metatype $@thin String.Type, loc "ClassSelectorController.swift":183:32, scope 111 // user: %747
  8652. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  8653. %746 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":183:32, scope 111 // user: %747
  8654. %747 = apply %746(%742, %743, %744, %745) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":183:32, scope 111 // user: %748
  8655. %748 = enum $Optional<String>, #Optional.some!enumelt.1, %747 : $String, loc "ClassSelectorController.swift":183:32, scope 111 // users: %754, %752
  8656. %749 = class_method [volatile] %741 : $UITextField, #UITextField.text!setter.1.foreign : (UITextField) -> (String?) -> () , $@convention(objc_method) (Optional<NSString>, UITextField) -> (), loc "ClassSelectorController.swift":183:30, scope 111 // user: %763
  8657. %750 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":183:30, scope 111 // user: %752
  8658. %751 = integer_literal $Builtin.Int1, 0, loc "ClassSelectorController.swift":183:30, scope 111 // user: %752
  8659. %752 = select_enum %748 : $Optional<String>, case #Optional.some!enumelt.1: %750, default %751 : $Builtin.Int1, loc "ClassSelectorController.swift":183:30, scope 111 // user: %753
  8660. cond_br %752, bb83, bb84, loc "ClassSelectorController.swift":183:30, scope 111 // id: %753
  8661.  
  8662. bb83: // Preds: bb82
  8663. %754 = unchecked_enum_data %748 : $Optional<String>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":183:30, scope 111 // users: %758, %756
  8664. // function_ref String._bridgeToObjectiveC() -> NSString
  8665. %755 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassSelectorController.swift":183:30, scope 111 // user: %756
  8666. %756 = apply %755(%754) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassSelectorController.swift":183:30, scope 111 // user: %757
  8667. %757 = enum $Optional<NSString>, #Optional.some!enumelt.1, %756 : $NSString, loc "ClassSelectorController.swift":183:30, scope 111 // user: %759
  8668. destroy_value %754 : $String, loc "ClassSelectorController.swift":183:32, scope 111 // id: %758
  8669. br bb85(%757 : $Optional<NSString>), loc "ClassSelectorController.swift":183:30, scope 111 // id: %759
  8670.  
  8671. bb84: // Preds: bb82
  8672. %760 = enum $Optional<NSString>, #Optional.none!enumelt, loc "ClassSelectorController.swift":183:30, scope 111 // user: %761
  8673. br bb85(%760 : $Optional<NSString>), loc "ClassSelectorController.swift":183:30, scope 111 // id: %761
  8674.  
  8675. // %762 // users: %764, %763
  8676. bb85(%762 : $Optional<NSString>): // Preds: bb84 bb83
  8677. %763 = apply %749(%762, %741) : $@convention(objc_method) (Optional<NSString>, UITextField) -> (), loc "ClassSelectorController.swift":183:30, scope 111
  8678. destroy_value %762 : $Optional<NSString>, loc "ClassSelectorController.swift":183:32, scope 111 // id: %764
  8679. destroy_value %741 : $UITextField, loc "ClassSelectorController.swift":183:32, scope 111 // id: %765
  8680. destroy_addr %740 : $*UITextField, loc "ClassSelectorController.swift":183:32, scope 111 // id: %766
  8681. dealloc_stack %728 : $*Optional<UITextField>, loc "ClassSelectorController.swift":183:32, scope 111 // id: %767
  8682. %768 = alloc_stack $Optional<UISegmentedControl>, loc "ClassSelectorController.swift":184:9, scope 111 // users: %790, %780, %772, %771
  8683. %769 = class_method %1 : $ClassSelectorController, #ClassSelectorController.multiplierBar!getter.1 : (ClassSelectorController) -> () -> UISegmentedControl! , $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UISegmentedControl>, loc "ClassSelectorController.swift":184:9, scope 111 // user: %770
  8684. %770 = apply %769(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UISegmentedControl>, loc "ClassSelectorController.swift":184:9, scope 111 // user: %771
  8685. store %770 to [init] %768 : $*Optional<UISegmentedControl>, loc "ClassSelectorController.swift":184:9, scope 111 // id: %771
  8686. switch_enum_addr %768 : $*Optional<UISegmentedControl>, case #Optional.none!enumelt: bb86, default bb87, loc "ClassSelectorController.swift":184:9, scope 111 // id: %772
  8687.  
  8688. bb86: // Preds: bb85
  8689. %773 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":184:9, scope 111 // user: %778
  8690. %774 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":184:9, scope 111 // user: %778
  8691. %775 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":184:9, scope 111 // user: %778
  8692. %776 = integer_literal $Builtin.Word, 184, loc "ClassSelectorController.swift":184:9, scope 111 // user: %778
  8693. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  8694. %777 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":184:9, scope 111 // user: %778
  8695. %778 = apply %777(%773, %774, %775, %776) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":184:9, scope 111
  8696. unreachable , loc "ClassSelectorController.swift":184:9, scope 111 // id: %779
  8697.  
  8698. bb87: // Preds: bb85
  8699. %780 = unchecked_take_enum_data_addr %768 : $*Optional<UISegmentedControl>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":184:9, scope 111 // users: %789, %781
  8700. %781 = load [copy] %780 : $*UISegmentedControl, loc "ClassSelectorController.swift":184:9, scope 111 // users: %788, %787, %786
  8701. // function_ref Int.init(_builtinIntegerLiteral : Builtin.Int2048) -> Int
  8702. %782 = function_ref @_TFSiCfT22_builtinIntegerLiteralBi2048__Si : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":184:46, scope 111 // user: %785
  8703. %783 = metatype $@thin Int.Type, loc "ClassSelectorController.swift":184:46, scope 111 // user: %785
  8704. %784 = integer_literal $Builtin.Int2048, 0, loc "ClassSelectorController.swift":184:46, scope 111 // user: %785
  8705. %785 = apply %782(%784, %783) : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":184:46, scope 111 // user: %787
  8706. %786 = class_method [volatile] %781 : $UISegmentedControl, #UISegmentedControl.selectedSegmentIndex!setter.1.foreign : (UISegmentedControl) -> (Int) -> () , $@convention(objc_method) (Int, UISegmentedControl) -> (), loc "ClassSelectorController.swift":184:44, scope 111 // user: %787
  8707. %787 = apply %786(%785, %781) : $@convention(objc_method) (Int, UISegmentedControl) -> (), loc "ClassSelectorController.swift":184:44, scope 111
  8708. destroy_value %781 : $UISegmentedControl, loc "ClassSelectorController.swift":184:46, scope 111 // id: %788
  8709. destroy_addr %780 : $*UISegmentedControl, loc "ClassSelectorController.swift":184:46, scope 111 // id: %789
  8710. dealloc_stack %768 : $*Optional<UISegmentedControl>, loc "ClassSelectorController.swift":184:46, scope 111 // id: %790
  8711. %791 = alloc_stack $Optional<UITextField>, loc "ClassSelectorController.swift":185:9, scope 111 // users: %830, %803, %795, %794
  8712. %792 = class_method %1 : $ClassSelectorController, #ClassSelectorController.currentGradeField!getter.1 : (ClassSelectorController) -> () -> UITextField! , $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, loc "ClassSelectorController.swift":185:9, scope 111 // user: %793
  8713. %793 = apply %792(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, loc "ClassSelectorController.swift":185:9, scope 111 // user: %794
  8714. store %793 to [init] %791 : $*Optional<UITextField>, loc "ClassSelectorController.swift":185:9, scope 111 // id: %794
  8715. switch_enum_addr %791 : $*Optional<UITextField>, case #Optional.none!enumelt: bb88, default bb89, loc "ClassSelectorController.swift":185:9, scope 111 // id: %795
  8716.  
  8717. bb88: // Preds: bb87
  8718. %796 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":185:9, scope 111 // user: %801
  8719. %797 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":185:9, scope 111 // user: %801
  8720. %798 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":185:9, scope 111 // user: %801
  8721. %799 = integer_literal $Builtin.Word, 185, loc "ClassSelectorController.swift":185:9, scope 111 // user: %801
  8722. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  8723. %800 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":185:9, scope 111 // user: %801
  8724. %801 = apply %800(%796, %797, %798, %799) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":185:9, scope 111
  8725. unreachable , loc "ClassSelectorController.swift":185:9, scope 111 // id: %802
  8726.  
  8727. bb89: // Preds: bb87
  8728. %803 = unchecked_take_enum_data_addr %791 : $*Optional<UITextField>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":185:9, scope 111 // users: %829, %804
  8729. %804 = load [copy] %803 : $*UITextField, loc "ClassSelectorController.swift":185:9, scope 111 // users: %828, %826, %812
  8730. %805 = string_literal utf8 "", loc "ClassSelectorController.swift":185:34, scope 111 // user: %810
  8731. %806 = integer_literal $Builtin.Word, 0, loc "ClassSelectorController.swift":185:34, scope 111 // user: %810
  8732. %807 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":185:34, scope 111 // user: %810
  8733. %808 = metatype $@thin String.Type, loc "ClassSelectorController.swift":185:34, scope 111 // user: %810
  8734. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  8735. %809 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":185:34, scope 111 // user: %810
  8736. %810 = apply %809(%805, %806, %807, %808) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":185:34, scope 111 // user: %811
  8737. %811 = enum $Optional<String>, #Optional.some!enumelt.1, %810 : $String, loc "ClassSelectorController.swift":185:34, scope 111 // users: %817, %815
  8738. %812 = class_method [volatile] %804 : $UITextField, #UITextField.text!setter.1.foreign : (UITextField) -> (String?) -> () , $@convention(objc_method) (Optional<NSString>, UITextField) -> (), loc "ClassSelectorController.swift":185:32, scope 111 // user: %826
  8739. %813 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":185:32, scope 111 // user: %815
  8740. %814 = integer_literal $Builtin.Int1, 0, loc "ClassSelectorController.swift":185:32, scope 111 // user: %815
  8741. %815 = select_enum %811 : $Optional<String>, case #Optional.some!enumelt.1: %813, default %814 : $Builtin.Int1, loc "ClassSelectorController.swift":185:32, scope 111 // user: %816
  8742. cond_br %815, bb90, bb91, loc "ClassSelectorController.swift":185:32, scope 111 // id: %816
  8743.  
  8744. bb90: // Preds: bb89
  8745. %817 = unchecked_enum_data %811 : $Optional<String>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":185:32, scope 111 // users: %821, %819
  8746. // function_ref String._bridgeToObjectiveC() -> NSString
  8747. %818 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassSelectorController.swift":185:32, scope 111 // user: %819
  8748. %819 = apply %818(%817) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassSelectorController.swift":185:32, scope 111 // user: %820
  8749. %820 = enum $Optional<NSString>, #Optional.some!enumelt.1, %819 : $NSString, loc "ClassSelectorController.swift":185:32, scope 111 // user: %822
  8750. destroy_value %817 : $String, loc "ClassSelectorController.swift":185:34, scope 111 // id: %821
  8751. br bb92(%820 : $Optional<NSString>), loc "ClassSelectorController.swift":185:32, scope 111 // id: %822
  8752.  
  8753. bb91: // Preds: bb89
  8754. %823 = enum $Optional<NSString>, #Optional.none!enumelt, loc "ClassSelectorController.swift":185:32, scope 111 // user: %824
  8755. br bb92(%823 : $Optional<NSString>), loc "ClassSelectorController.swift":185:32, scope 111 // id: %824
  8756.  
  8757. // %825 // users: %827, %826
  8758. bb92(%825 : $Optional<NSString>): // Preds: bb91 bb90
  8759. %826 = apply %812(%825, %804) : $@convention(objc_method) (Optional<NSString>, UITextField) -> (), loc "ClassSelectorController.swift":185:32, scope 111
  8760. destroy_value %825 : $Optional<NSString>, loc "ClassSelectorController.swift":185:34, scope 111 // id: %827
  8761. destroy_value %804 : $UITextField, loc "ClassSelectorController.swift":185:34, scope 111 // id: %828
  8762. destroy_addr %803 : $*UITextField, loc "ClassSelectorController.swift":185:34, scope 111 // id: %829
  8763. dealloc_stack %791 : $*Optional<UITextField>, loc "ClassSelectorController.swift":185:34, scope 111 // id: %830
  8764. %831 = alloc_stack $Optional<UITextField>, loc "ClassSelectorController.swift":186:9, scope 111 // users: %870, %843, %835, %834
  8765. %832 = class_method %1 : $ClassSelectorController, #ClassSelectorController.creditsField!getter.1 : (ClassSelectorController) -> () -> UITextField! , $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, loc "ClassSelectorController.swift":186:9, scope 111 // user: %833
  8766. %833 = apply %832(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, loc "ClassSelectorController.swift":186:9, scope 111 // user: %834
  8767. store %833 to [init] %831 : $*Optional<UITextField>, loc "ClassSelectorController.swift":186:9, scope 111 // id: %834
  8768. switch_enum_addr %831 : $*Optional<UITextField>, case #Optional.none!enumelt: bb93, default bb94, loc "ClassSelectorController.swift":186:9, scope 111 // id: %835
  8769.  
  8770. bb93: // Preds: bb92
  8771. %836 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":186:9, scope 111 // user: %841
  8772. %837 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":186:9, scope 111 // user: %841
  8773. %838 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":186:9, scope 111 // user: %841
  8774. %839 = integer_literal $Builtin.Word, 186, loc "ClassSelectorController.swift":186:9, scope 111 // user: %841
  8775. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  8776. %840 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":186:9, scope 111 // user: %841
  8777. %841 = apply %840(%836, %837, %838, %839) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":186:9, scope 111
  8778. unreachable , loc "ClassSelectorController.swift":186:9, scope 111 // id: %842
  8779.  
  8780. bb94: // Preds: bb92
  8781. %843 = unchecked_take_enum_data_addr %831 : $*Optional<UITextField>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":186:9, scope 111 // users: %869, %844
  8782. %844 = load [copy] %843 : $*UITextField, loc "ClassSelectorController.swift":186:9, scope 111 // users: %868, %866, %852
  8783. %845 = string_literal utf8 "", loc "ClassSelectorController.swift":186:29, scope 111 // user: %850
  8784. %846 = integer_literal $Builtin.Word, 0, loc "ClassSelectorController.swift":186:29, scope 111 // user: %850
  8785. %847 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":186:29, scope 111 // user: %850
  8786. %848 = metatype $@thin String.Type, loc "ClassSelectorController.swift":186:29, scope 111 // user: %850
  8787. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  8788. %849 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":186:29, scope 111 // user: %850
  8789. %850 = apply %849(%845, %846, %847, %848) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":186:29, scope 111 // user: %851
  8790. %851 = enum $Optional<String>, #Optional.some!enumelt.1, %850 : $String, loc "ClassSelectorController.swift":186:29, scope 111 // users: %857, %855
  8791. %852 = class_method [volatile] %844 : $UITextField, #UITextField.text!setter.1.foreign : (UITextField) -> (String?) -> () , $@convention(objc_method) (Optional<NSString>, UITextField) -> (), loc "ClassSelectorController.swift":186:27, scope 111 // user: %866
  8792. %853 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":186:27, scope 111 // user: %855
  8793. %854 = integer_literal $Builtin.Int1, 0, loc "ClassSelectorController.swift":186:27, scope 111 // user: %855
  8794. %855 = select_enum %851 : $Optional<String>, case #Optional.some!enumelt.1: %853, default %854 : $Builtin.Int1, loc "ClassSelectorController.swift":186:27, scope 111 // user: %856
  8795. cond_br %855, bb95, bb96, loc "ClassSelectorController.swift":186:27, scope 111 // id: %856
  8796.  
  8797. bb95: // Preds: bb94
  8798. %857 = unchecked_enum_data %851 : $Optional<String>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":186:27, scope 111 // users: %861, %859
  8799. // function_ref String._bridgeToObjectiveC() -> NSString
  8800. %858 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassSelectorController.swift":186:27, scope 111 // user: %859
  8801. %859 = apply %858(%857) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassSelectorController.swift":186:27, scope 111 // user: %860
  8802. %860 = enum $Optional<NSString>, #Optional.some!enumelt.1, %859 : $NSString, loc "ClassSelectorController.swift":186:27, scope 111 // user: %862
  8803. destroy_value %857 : $String, loc "ClassSelectorController.swift":186:29, scope 111 // id: %861
  8804. br bb97(%860 : $Optional<NSString>), loc "ClassSelectorController.swift":186:27, scope 111 // id: %862
  8805.  
  8806. bb96: // Preds: bb94
  8807. %863 = enum $Optional<NSString>, #Optional.none!enumelt, loc "ClassSelectorController.swift":186:27, scope 111 // user: %864
  8808. br bb97(%863 : $Optional<NSString>), loc "ClassSelectorController.swift":186:27, scope 111 // id: %864
  8809.  
  8810. // %865 // users: %867, %866
  8811. bb97(%865 : $Optional<NSString>): // Preds: bb96 bb95
  8812. %866 = apply %852(%865, %844) : $@convention(objc_method) (Optional<NSString>, UITextField) -> (), loc "ClassSelectorController.swift":186:27, scope 111
  8813. destroy_value %865 : $Optional<NSString>, loc "ClassSelectorController.swift":186:29, scope 111 // id: %867
  8814. destroy_value %844 : $UITextField, loc "ClassSelectorController.swift":186:29, scope 111 // id: %868
  8815. destroy_addr %843 : $*UITextField, loc "ClassSelectorController.swift":186:29, scope 111 // id: %869
  8816. dealloc_stack %831 : $*Optional<UITextField>, loc "ClassSelectorController.swift":186:29, scope 111 // id: %870
  8817. %871 = alloc_stack $Optional<UISegmentedControl>, loc "ClassSelectorController.swift":187:9, scope 111 // users: %893, %883, %875, %874
  8818. %872 = class_method %1 : $ClassSelectorController, #ClassSelectorController.creditsBar!getter.1 : (ClassSelectorController) -> () -> UISegmentedControl! , $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UISegmentedControl>, loc "ClassSelectorController.swift":187:9, scope 111 // user: %873
  8819. %873 = apply %872(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UISegmentedControl>, loc "ClassSelectorController.swift":187:9, scope 111 // user: %874
  8820. store %873 to [init] %871 : $*Optional<UISegmentedControl>, loc "ClassSelectorController.swift":187:9, scope 111 // id: %874
  8821. switch_enum_addr %871 : $*Optional<UISegmentedControl>, case #Optional.none!enumelt: bb98, default bb99, loc "ClassSelectorController.swift":187:9, scope 111 // id: %875
  8822.  
  8823. bb98: // Preds: bb97
  8824. %876 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":187:9, scope 111 // user: %881
  8825. %877 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":187:9, scope 111 // user: %881
  8826. %878 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":187:9, scope 111 // user: %881
  8827. %879 = integer_literal $Builtin.Word, 187, loc "ClassSelectorController.swift":187:9, scope 111 // user: %881
  8828. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  8829. %880 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":187:9, scope 111 // user: %881
  8830. %881 = apply %880(%876, %877, %878, %879) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":187:9, scope 111
  8831. unreachable , loc "ClassSelectorController.swift":187:9, scope 111 // id: %882
  8832.  
  8833. bb99: // Preds: bb97
  8834. %883 = unchecked_take_enum_data_addr %871 : $*Optional<UISegmentedControl>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":187:9, scope 111 // users: %892, %884
  8835. %884 = load [copy] %883 : $*UISegmentedControl, loc "ClassSelectorController.swift":187:9, scope 111 // users: %891, %890, %889
  8836. // function_ref Int.init(_builtinIntegerLiteral : Builtin.Int2048) -> Int
  8837. %885 = function_ref @_TFSiCfT22_builtinIntegerLiteralBi2048__Si : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":187:43, scope 111 // user: %888
  8838. %886 = metatype $@thin Int.Type, loc "ClassSelectorController.swift":187:43, scope 111 // user: %888
  8839. %887 = integer_literal $Builtin.Int2048, 0, loc "ClassSelectorController.swift":187:43, scope 111 // user: %888
  8840. %888 = apply %885(%887, %886) : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":187:43, scope 111 // user: %890
  8841. %889 = class_method [volatile] %884 : $UISegmentedControl, #UISegmentedControl.selectedSegmentIndex!setter.1.foreign : (UISegmentedControl) -> (Int) -> () , $@convention(objc_method) (Int, UISegmentedControl) -> (), loc "ClassSelectorController.swift":187:41, scope 111 // user: %890
  8842. %890 = apply %889(%888, %884) : $@convention(objc_method) (Int, UISegmentedControl) -> (), loc "ClassSelectorController.swift":187:41, scope 111
  8843. destroy_value %884 : $UISegmentedControl, loc "ClassSelectorController.swift":187:43, scope 111 // id: %891
  8844. destroy_addr %883 : $*UISegmentedControl, loc "ClassSelectorController.swift":187:43, scope 111 // id: %892
  8845. dealloc_stack %871 : $*Optional<UISegmentedControl>, loc "ClassSelectorController.swift":187:43, scope 111 // id: %893
  8846. %894 = alloc_stack $Optional<UILabel>, loc "ClassSelectorController.swift":189:9, scope 111 // users: %919, %906, %898, %897
  8847. %895 = class_method %1 : $ClassSelectorController, #ClassSelectorController.warningLabel!getter.1 : (ClassSelectorController) -> () -> UILabel! , $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UILabel>, loc "ClassSelectorController.swift":189:9, scope 111 // user: %896
  8848. %896 = apply %895(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UILabel>, loc "ClassSelectorController.swift":189:9, scope 111 // user: %897
  8849. store %896 to [init] %894 : $*Optional<UILabel>, loc "ClassSelectorController.swift":189:9, scope 111 // id: %897
  8850. switch_enum_addr %894 : $*Optional<UILabel>, case #Optional.none!enumelt: bb100, default bb101, loc "ClassSelectorController.swift":189:9, scope 111 // id: %898
  8851.  
  8852. bb100: // Preds: bb99
  8853. %899 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":189:9, scope 111 // user: %904
  8854. %900 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":189:9, scope 111 // user: %904
  8855. %901 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":189:9, scope 111 // user: %904
  8856. %902 = integer_literal $Builtin.Word, 189, loc "ClassSelectorController.swift":189:9, scope 111 // user: %904
  8857. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  8858. %903 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":189:9, scope 111 // user: %904
  8859. %904 = apply %903(%899, %900, %901, %902) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":189:9, scope 111
  8860. unreachable , loc "ClassSelectorController.swift":189:9, scope 111 // id: %905
  8861.  
  8862. bb101: // Preds: bb99
  8863. %906 = unchecked_take_enum_data_addr %894 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":189:9, scope 111 // users: %918, %907
  8864. %907 = load [copy] %906 : $*UILabel, loc "ClassSelectorController.swift":189:9, scope 111 // users: %917, %908
  8865. %908 = upcast %907 : $UILabel to $UIView, loc "ClassSelectorController.swift":189:9, scope 111 // users: %916, %913
  8866. // function_ref Bool.init(_builtinBooleanLiteral : Builtin.Int1) -> Bool
  8867. %909 = function_ref @_TFSbCfT22_builtinBooleanLiteralBi1__Sb : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":189:33, scope 111 // user: %912
  8868. %910 = metatype $@thin Bool.Type, loc "ClassSelectorController.swift":189:33, scope 111 // user: %912
  8869. %911 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":189:33, scope 111 // user: %912
  8870. %912 = apply %909(%911, %910) : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":189:33, scope 111 // user: %915
  8871. %913 = class_method [volatile] %908 : $UIView, #UIView.hidden!setter.1.foreign : (UIView) -> (Bool) -> () , $@convention(objc_method) (ObjCBool, UIView) -> (), loc "ClassSelectorController.swift":189:31, scope 111 // user: %916
  8872. // function_ref _convertBoolToObjCBool(Bool) -> ObjCBool
  8873. %914 = function_ref @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool, loc "ClassSelectorController.swift":189:31, scope 111 // user: %915
  8874. %915 = apply %914(%912) : $@convention(thin) (Bool) -> ObjCBool, loc "ClassSelectorController.swift":189:31, scope 111 // user: %916
  8875. %916 = apply %913(%915, %908) : $@convention(objc_method) (ObjCBool, UIView) -> (), loc "ClassSelectorController.swift":189:31, scope 111
  8876. destroy_value %907 : $UILabel, loc "ClassSelectorController.swift":189:33, scope 111 // id: %917
  8877. destroy_addr %906 : $*UILabel, loc "ClassSelectorController.swift":189:33, scope 111 // id: %918
  8878. dealloc_stack %894 : $*Optional<UILabel>, loc "ClassSelectorController.swift":189:33, scope 111 // id: %919
  8879. %920 = alloc_stack $Optional<UIBarButtonItem>, loc "ClassSelectorController.swift":190:9, scope 111 // users: %945, %932, %924, %923
  8880. %921 = class_method %1 : $ClassSelectorController, #ClassSelectorController.cancelButton!getter.1 : (ClassSelectorController) -> () -> UIBarButtonItem! , $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UIBarButtonItem>, loc "ClassSelectorController.swift":190:9, scope 111 // user: %922
  8881. %922 = apply %921(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UIBarButtonItem>, loc "ClassSelectorController.swift":190:9, scope 111 // user: %923
  8882. store %922 to [init] %920 : $*Optional<UIBarButtonItem>, loc "ClassSelectorController.swift":190:9, scope 111 // id: %923
  8883. switch_enum_addr %920 : $*Optional<UIBarButtonItem>, case #Optional.none!enumelt: bb102, default bb103, loc "ClassSelectorController.swift":190:9, scope 111 // id: %924
  8884.  
  8885. bb102: // Preds: bb101
  8886. %925 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":190:9, scope 111 // user: %930
  8887. %926 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":190:9, scope 111 // user: %930
  8888. %927 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":190:9, scope 111 // user: %930
  8889. %928 = integer_literal $Builtin.Word, 190, loc "ClassSelectorController.swift":190:9, scope 111 // user: %930
  8890. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  8891. %929 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":190:9, scope 111 // user: %930
  8892. %930 = apply %929(%925, %926, %927, %928) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":190:9, scope 111
  8893. unreachable , loc "ClassSelectorController.swift":190:9, scope 111 // id: %931
  8894.  
  8895. bb103: // Preds: bb101
  8896. %932 = unchecked_take_enum_data_addr %920 : $*Optional<UIBarButtonItem>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":190:9, scope 111 // users: %944, %933
  8897. %933 = load [copy] %932 : $*UIBarButtonItem, loc "ClassSelectorController.swift":190:9, scope 111 // users: %943, %934
  8898. %934 = upcast %933 : $UIBarButtonItem to $UIBarItem, loc "ClassSelectorController.swift":190:9, scope 111 // users: %942, %939
  8899. // function_ref Bool.init(_builtinBooleanLiteral : Builtin.Int1) -> Bool
  8900. %935 = function_ref @_TFSbCfT22_builtinBooleanLiteralBi1__Sb : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":190:34, scope 111 // user: %938
  8901. %936 = metatype $@thin Bool.Type, loc "ClassSelectorController.swift":190:34, scope 111 // user: %938
  8902. %937 = integer_literal $Builtin.Int1, 0, loc "ClassSelectorController.swift":190:34, scope 111 // user: %938
  8903. %938 = apply %935(%937, %936) : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":190:34, scope 111 // user: %941
  8904. %939 = class_method [volatile] %934 : $UIBarItem, #UIBarItem.enabled!setter.1.foreign : (UIBarItem) -> (Bool) -> () , $@convention(objc_method) (ObjCBool, UIBarItem) -> (), loc "ClassSelectorController.swift":190:32, scope 111 // user: %942
  8905. // function_ref _convertBoolToObjCBool(Bool) -> ObjCBool
  8906. %940 = function_ref @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool, loc "ClassSelectorController.swift":190:32, scope 111 // user: %941
  8907. %941 = apply %940(%938) : $@convention(thin) (Bool) -> ObjCBool, loc "ClassSelectorController.swift":190:32, scope 111 // user: %942
  8908. %942 = apply %939(%941, %934) : $@convention(objc_method) (ObjCBool, UIBarItem) -> (), loc "ClassSelectorController.swift":190:32, scope 111
  8909. destroy_value %933 : $UIBarButtonItem, loc "ClassSelectorController.swift":190:34, scope 111 // id: %943
  8910. destroy_addr %932 : $*UIBarButtonItem, loc "ClassSelectorController.swift":190:34, scope 111 // id: %944
  8911. dealloc_stack %920 : $*Optional<UIBarButtonItem>, loc "ClassSelectorController.swift":190:34, scope 111 // id: %945
  8912. // function_ref DispatchQueue.async(group : DispatchGroup?, qos : DispatchQoS, flags : DispatchWorkItemFlags, execute : @convention(block) () -> ()) -> ()
  8913. %946 = function_ref @_TFE8DispatchCSo13DispatchQueue5asyncfT5groupGSqCSo13DispatchGroup_3qosVS_11DispatchQoS5flagsVS_21DispatchWorkItemFlags7executebT_T__T_ : $@convention(method) (@owned Optional<DispatchGroup>, DispatchQoS, DispatchWorkItemFlags, @owned @convention(block) () -> (), @guaranteed DispatchQueue) -> (), loc "ClassSelectorController.swift":193:28, scope 111 // user: %965
  8914. %947 = metatype $@thick DispatchQueue.Type, loc "ClassSelectorController.swift":193:9, scope 111 // user: %949
  8915. // function_ref static DispatchQueue.main.getter
  8916. %948 = function_ref @_TZFE8DispatchCSo13DispatchQueueg4mainS0_ : $@convention(method) (@thick DispatchQueue.Type) -> @owned DispatchQueue, loc "ClassSelectorController.swift":193:23, scope 111 // user: %949
  8917. %949 = apply %948(%947) : $@convention(method) (@thick DispatchQueue.Type) -> @owned DispatchQueue, loc "ClassSelectorController.swift":193:23, scope 111 // users: %966, %965
  8918. // function_ref ClassSelectorController.(updateClass(Any) -> ()).(closure #1)
  8919. %950 = function_ref @_TFFC3gpa23ClassSelectorController11updateClassFP_T_U_FT_T_ : $@convention(thin) (@owned ClassSelectorController) -> (), loc "ClassSelectorController.swift":193:34, scope 111 // user: %952
  8920. %951 = copy_value %1 : $ClassSelectorController, loc "ClassSelectorController.swift":193:34, scope 111 // user: %952
  8921. %952 = partial_apply %950(%951) : $@convention(thin) (@owned ClassSelectorController) -> (), loc "ClassSelectorController.swift":193:34, scope 111 // users: %968, %955
  8922. %953 = alloc_stack $@block_storage @callee_owned () -> (), loc "ClassSelectorController.swift":193:34, scope 111 // users: %967, %957, %954
  8923. %954 = project_block_storage %953 : $*@block_storage @callee_owned () -> (), loc "ClassSelectorController.swift":193:34, scope 111 // user: %955
  8924. store %952 to [init] %954 : $*@callee_owned () -> (), loc "ClassSelectorController.swift":193:34, scope 111 // id: %955
  8925. // function_ref thunk
  8926. %956 = function_ref @_TTRXFo___XFdCb___ : $@convention(c) (@inout_aliasable @block_storage @callee_owned () -> ()) -> (), loc "ClassSelectorController.swift":193:34, scope 111 // user: %957
  8927. %957 = init_block_storage_header %953 : $*@block_storage @callee_owned () -> (), invoke %956 : $@convention(c) (@inout_aliasable @block_storage @callee_owned () -> ()) -> (), type $@convention(block) () -> (), loc "ClassSelectorController.swift":193:34, scope 111 // user: %958
  8928. %958 = copy_block %957 : $@convention(block) () -> (), loc "ClassSelectorController.swift":193:34, scope 111 // user: %965
  8929. // function_ref DispatchQueue.(async(group : DispatchGroup?, qos : DispatchQoS, flags : DispatchWorkItemFlags, execute : @convention(block) () -> ()) -> ()).(default argument 0)
  8930. %959 = function_ref @_TIFE8DispatchCSo13DispatchQueue5asyncFT5groupGSqCSo13DispatchGroup_3qosVS_11DispatchQoS5flagsVS_21DispatchWorkItemFlags7executebT_T__T_A_ : $@convention(thin) () -> @owned Optional<DispatchGroup>, loc "ClassSelectorController.swift":193:34, scope 111 // user: %960
  8931. %960 = apply %959() : $@convention(thin) () -> @owned Optional<DispatchGroup>, loc "ClassSelectorController.swift":193:34, scope 111 // user: %965
  8932. // function_ref DispatchQueue.(async(group : DispatchGroup?, qos : DispatchQoS, flags : DispatchWorkItemFlags, execute : @convention(block) () -> ()) -> ()).(default argument 1)
  8933. %961 = function_ref @_TIFE8DispatchCSo13DispatchQueue5asyncFT5groupGSqCSo13DispatchGroup_3qosVS_11DispatchQoS5flagsVS_21DispatchWorkItemFlags7executebT_T__T_A0_ : $@convention(thin) () -> DispatchQoS, loc "ClassSelectorController.swift":193:34, scope 111 // user: %962
  8934. %962 = apply %961() : $@convention(thin) () -> DispatchQoS, loc "ClassSelectorController.swift":193:34, scope 111 // user: %965
  8935. // function_ref DispatchQueue.(async(group : DispatchGroup?, qos : DispatchQoS, flags : DispatchWorkItemFlags, execute : @convention(block) () -> ()) -> ()).(default argument 2)
  8936. %963 = function_ref @_TIFE8DispatchCSo13DispatchQueue5asyncFT5groupGSqCSo13DispatchGroup_3qosVS_11DispatchQoS5flagsVS_21DispatchWorkItemFlags7executebT_T__T_A1_ : $@convention(thin) () -> DispatchWorkItemFlags, loc "ClassSelectorController.swift":193:34, scope 111 // user: %964
  8937. %964 = apply %963() : $@convention(thin) () -> DispatchWorkItemFlags, loc "ClassSelectorController.swift":193:34, scope 111 // user: %965
  8938. %965 = apply %946(%960, %962, %964, %958, %949) : $@convention(method) (@owned Optional<DispatchGroup>, DispatchQoS, DispatchWorkItemFlags, @owned @convention(block) () -> (), @guaranteed DispatchQueue) -> (), loc "ClassSelectorController.swift":198:9, scope 111
  8939. destroy_value %949 : $DispatchQueue, loc "ClassSelectorController.swift":198:9, scope 111 // id: %966
  8940. dealloc_stack %953 : $*@block_storage @callee_owned () -> (), loc "ClassSelectorController.swift":198:9, scope 111 // id: %967
  8941. destroy_value %952 : $@callee_owned () -> (), loc "ClassSelectorController.swift":198:9, scope 111 // id: %968
  8942. destroy_value %376 : ${ var Double }, loc "ClassSelectorController.swift":199:5, scope 111 // id: %969
  8943. destroy_value %352 : $String, loc "ClassSelectorController.swift":199:5, scope 111 // id: %970
  8944. destroy_value %54 : ${ var Double }, loc "ClassSelectorController.swift":199:5, scope 111 // id: %971
  8945. destroy_value %39 : $String, loc "ClassSelectorController.swift":199:5, scope 111 // id: %972
  8946. br bb113, loc "ClassSelectorController.swift":199:5, scope 111 // id: %973
  8947.  
  8948. bb104: // Preds: bb46
  8949. %974 = alloc_stack $Optional<UILabel>, loc "ClassSelectorController.swift":149:13, scope 130 // users: %999, %986, %978, %977
  8950. %975 = class_method %1 : $ClassSelectorController, #ClassSelectorController.warningLabel!getter.1 : (ClassSelectorController) -> () -> UILabel! , $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UILabel>, loc "ClassSelectorController.swift":149:13, scope 130 // user: %976
  8951. %976 = apply %975(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UILabel>, loc "ClassSelectorController.swift":149:13, scope 130 // user: %977
  8952. store %976 to [init] %974 : $*Optional<UILabel>, loc "ClassSelectorController.swift":149:13, scope 130 // id: %977
  8953. switch_enum_addr %974 : $*Optional<UILabel>, case #Optional.none!enumelt: bb105, default bb106, loc "ClassSelectorController.swift":149:13, scope 130 // id: %978
  8954.  
  8955. bb105: // Preds: bb104
  8956. %979 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":149:13, scope 130 // user: %984
  8957. %980 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":149:13, scope 130 // user: %984
  8958. %981 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":149:13, scope 130 // user: %984
  8959. %982 = integer_literal $Builtin.Word, 149, loc "ClassSelectorController.swift":149:13, scope 130 // user: %984
  8960. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  8961. %983 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":149:13, scope 130 // user: %984
  8962. %984 = apply %983(%979, %980, %981, %982) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":149:13, scope 130
  8963. unreachable , loc "ClassSelectorController.swift":149:13, scope 130 // id: %985
  8964.  
  8965. bb106: // Preds: bb104
  8966. %986 = unchecked_take_enum_data_addr %974 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":149:13, scope 130 // users: %998, %987
  8967. %987 = load [copy] %986 : $*UILabel, loc "ClassSelectorController.swift":149:13, scope 130 // users: %997, %988
  8968. %988 = upcast %987 : $UILabel to $UIView, loc "ClassSelectorController.swift":149:13, scope 130 // users: %996, %993
  8969. // function_ref Bool.init(_builtinBooleanLiteral : Builtin.Int1) -> Bool
  8970. %989 = function_ref @_TFSbCfT22_builtinBooleanLiteralBi1__Sb : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":149:37, scope 130 // user: %992
  8971. %990 = metatype $@thin Bool.Type, loc "ClassSelectorController.swift":149:37, scope 130 // user: %992
  8972. %991 = integer_literal $Builtin.Int1, 0, loc "ClassSelectorController.swift":149:37, scope 130 // user: %992
  8973. %992 = apply %989(%991, %990) : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":149:37, scope 130 // user: %995
  8974. %993 = class_method [volatile] %988 : $UIView, #UIView.hidden!setter.1.foreign : (UIView) -> (Bool) -> () , $@convention(objc_method) (ObjCBool, UIView) -> (), loc "ClassSelectorController.swift":149:35, scope 130 // user: %996
  8975. // function_ref _convertBoolToObjCBool(Bool) -> ObjCBool
  8976. %994 = function_ref @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool, loc "ClassSelectorController.swift":149:35, scope 130 // user: %995
  8977. %995 = apply %994(%992) : $@convention(thin) (Bool) -> ObjCBool, loc "ClassSelectorController.swift":149:35, scope 130 // user: %996
  8978. %996 = apply %993(%995, %988) : $@convention(objc_method) (ObjCBool, UIView) -> (), loc "ClassSelectorController.swift":149:35, scope 130
  8979. destroy_value %987 : $UILabel, loc "ClassSelectorController.swift":149:37, scope 130 // id: %997
  8980. destroy_addr %986 : $*UILabel, loc "ClassSelectorController.swift":149:37, scope 130 // id: %998
  8981. dealloc_stack %974 : $*Optional<UILabel>, loc "ClassSelectorController.swift":149:37, scope 130 // id: %999
  8982. // function_ref print([Any], separator : String, terminator : String) -> ()
  8983. %1000 = function_ref @_TFs5printFTGSaP__9separatorSS10terminatorSS_T_ : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> (), loc "ClassSelectorController.swift":150:13, scope 130 // user: %1019
  8984. %1001 = integer_literal $Builtin.Word, 1, loc "ClassSelectorController.swift":150:19, scope 130 // user: %1003
  8985. // function_ref _allocateUninitializedArray<A> (Builtin.Word) -> ([A], Builtin.RawPointer)
  8986. %1002 = function_ref @_TFs27_allocateUninitializedArrayurFBwTGSax_Bp_ : $@convention(thin) <τ_0_0> (Builtin.Word) -> (@owned Array<τ_0_0>, Builtin.RawPointer), loc "ClassSelectorController.swift":150:19, scope 130 // user: %1003
  8987. %1003 = apply %1002<Any>(%1001) : $@convention(thin) <τ_0_0> (Builtin.Word) -> (@owned Array<τ_0_0>, Builtin.RawPointer), loc "ClassSelectorController.swift":150:19, scope 130 // users: %1005, %1004
  8988. %1004 = tuple_extract %1003 : $(Array<Any>, Builtin.RawPointer), 0, loc "ClassSelectorController.swift":150:19, scope 130 // user: %1019
  8989. %1005 = tuple_extract %1003 : $(Array<Any>, Builtin.RawPointer), 1, loc "ClassSelectorController.swift":150:19, scope 130 // user: %1006
  8990. %1006 = pointer_to_address %1005 : $Builtin.RawPointer to [strict] $*Any, loc "ClassSelectorController.swift":150:19, scope 130 // user: %1007
  8991. %1007 = init_existential_addr %1006 : $*Any, $String, loc "ClassSelectorController.swift":150:19, scope 130 // user: %1014
  8992. %1008 = string_literal utf8 "Malformed current grade.", loc "ClassSelectorController.swift":150:19, scope 130 // user: %1013
  8993. %1009 = integer_literal $Builtin.Word, 24, loc "ClassSelectorController.swift":150:19, scope 130 // user: %1013
  8994. %1010 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":150:19, scope 130 // user: %1013
  8995. %1011 = metatype $@thin String.Type, loc "ClassSelectorController.swift":150:19, scope 130 // user: %1013
  8996. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  8997. %1012 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":150:19, scope 130 // user: %1013
  8998. %1013 = apply %1012(%1008, %1009, %1010, %1011) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":150:19, scope 130 // user: %1014
  8999. store %1013 to [init] %1007 : $*String, loc "ClassSelectorController.swift":150:19, scope 130 // id: %1014
  9000. // function_ref (print([Any], separator : String, terminator : String) -> ()).(default argument 1)
  9001. %1015 = function_ref @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A0_ : $@convention(thin) () -> @owned String, loc "ClassSelectorController.swift":150:19, scope 130 // user: %1016
  9002. %1016 = apply %1015() : $@convention(thin) () -> @owned String, loc "ClassSelectorController.swift":150:19, scope 130 // user: %1019
  9003. // function_ref (print([Any], separator : String, terminator : String) -> ()).(default argument 2)
  9004. %1017 = function_ref @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A1_ : $@convention(thin) () -> @owned String, loc "ClassSelectorController.swift":150:19, scope 130 // user: %1018
  9005. %1018 = apply %1017() : $@convention(thin) () -> @owned String, loc "ClassSelectorController.swift":150:19, scope 130 // user: %1019
  9006. %1019 = apply %1000(%1004, %1016, %1018) : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> (), loc "ClassSelectorController.swift":150:45, scope 130
  9007. destroy_value %352 : $String, loc "ClassSelectorController.swift":199:5, scope 130 // id: %1020
  9008. destroy_value %54 : ${ var Double }, loc "ClassSelectorController.swift":199:5, scope 130 // id: %1021
  9009. destroy_value %39 : $String, loc "ClassSelectorController.swift":199:5, scope 130 // id: %1022
  9010. br bb113, loc "ClassSelectorController.swift":151:13, scope 130 // id: %1023
  9011.  
  9012. bb107: // Preds: bb45 bb43
  9013. %1024 = alloc_stack $Optional<UILabel>, loc "ClassSelectorController.swift":144:13, scope 131 // users: %1049, %1036, %1028, %1027
  9014. %1025 = class_method %1 : $ClassSelectorController, #ClassSelectorController.warningLabel!getter.1 : (ClassSelectorController) -> () -> UILabel! , $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UILabel>, loc "ClassSelectorController.swift":144:13, scope 131 // user: %1026
  9015. %1026 = apply %1025(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UILabel>, loc "ClassSelectorController.swift":144:13, scope 131 // user: %1027
  9016. store %1026 to [init] %1024 : $*Optional<UILabel>, loc "ClassSelectorController.swift":144:13, scope 131 // id: %1027
  9017. switch_enum_addr %1024 : $*Optional<UILabel>, case #Optional.none!enumelt: bb108, default bb109, loc "ClassSelectorController.swift":144:13, scope 131 // id: %1028
  9018.  
  9019. bb108: // Preds: bb107
  9020. %1029 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":144:13, scope 131 // user: %1034
  9021. %1030 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":144:13, scope 131 // user: %1034
  9022. %1031 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":144:13, scope 131 // user: %1034
  9023. %1032 = integer_literal $Builtin.Word, 144, loc "ClassSelectorController.swift":144:13, scope 131 // user: %1034
  9024. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  9025. %1033 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":144:13, scope 131 // user: %1034
  9026. %1034 = apply %1033(%1029, %1030, %1031, %1032) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":144:13, scope 131
  9027. unreachable , loc "ClassSelectorController.swift":144:13, scope 131 // id: %1035
  9028.  
  9029. bb109: // Preds: bb107
  9030. %1036 = unchecked_take_enum_data_addr %1024 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":144:13, scope 131 // users: %1048, %1037
  9031. %1037 = load [copy] %1036 : $*UILabel, loc "ClassSelectorController.swift":144:13, scope 131 // users: %1047, %1038
  9032. %1038 = upcast %1037 : $UILabel to $UIView, loc "ClassSelectorController.swift":144:13, scope 131 // users: %1046, %1043
  9033. // function_ref Bool.init(_builtinBooleanLiteral : Builtin.Int1) -> Bool
  9034. %1039 = function_ref @_TFSbCfT22_builtinBooleanLiteralBi1__Sb : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":144:37, scope 131 // user: %1042
  9035. %1040 = metatype $@thin Bool.Type, loc "ClassSelectorController.swift":144:37, scope 131 // user: %1042
  9036. %1041 = integer_literal $Builtin.Int1, 0, loc "ClassSelectorController.swift":144:37, scope 131 // user: %1042
  9037. %1042 = apply %1039(%1041, %1040) : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":144:37, scope 131 // user: %1045
  9038. %1043 = class_method [volatile] %1038 : $UIView, #UIView.hidden!setter.1.foreign : (UIView) -> (Bool) -> () , $@convention(objc_method) (ObjCBool, UIView) -> (), loc "ClassSelectorController.swift":144:35, scope 131 // user: %1046
  9039. // function_ref _convertBoolToObjCBool(Bool) -> ObjCBool
  9040. %1044 = function_ref @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool, loc "ClassSelectorController.swift":144:35, scope 131 // user: %1045
  9041. %1045 = apply %1044(%1042) : $@convention(thin) (Bool) -> ObjCBool, loc "ClassSelectorController.swift":144:35, scope 131 // user: %1046
  9042. %1046 = apply %1043(%1045, %1038) : $@convention(objc_method) (ObjCBool, UIView) -> (), loc "ClassSelectorController.swift":144:35, scope 131
  9043. destroy_value %1037 : $UILabel, loc "ClassSelectorController.swift":144:37, scope 131 // id: %1047
  9044. destroy_addr %1036 : $*UILabel, loc "ClassSelectorController.swift":144:37, scope 131 // id: %1048
  9045. dealloc_stack %1024 : $*Optional<UILabel>, loc "ClassSelectorController.swift":144:37, scope 131 // id: %1049
  9046. // function_ref print([Any], separator : String, terminator : String) -> ()
  9047. %1050 = function_ref @_TFs5printFTGSaP__9separatorSS10terminatorSS_T_ : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> (), loc "ClassSelectorController.swift":145:13, scope 131 // user: %1069
  9048. %1051 = integer_literal $Builtin.Word, 1, loc "ClassSelectorController.swift":145:19, scope 131 // user: %1053
  9049. // function_ref _allocateUninitializedArray<A> (Builtin.Word) -> ([A], Builtin.RawPointer)
  9050. %1052 = function_ref @_TFs27_allocateUninitializedArrayurFBwTGSax_Bp_ : $@convention(thin) <τ_0_0> (Builtin.Word) -> (@owned Array<τ_0_0>, Builtin.RawPointer), loc "ClassSelectorController.swift":145:19, scope 131 // user: %1053
  9051. %1053 = apply %1052<Any>(%1051) : $@convention(thin) <τ_0_0> (Builtin.Word) -> (@owned Array<τ_0_0>, Builtin.RawPointer), loc "ClassSelectorController.swift":145:19, scope 131 // users: %1055, %1054
  9052. %1054 = tuple_extract %1053 : $(Array<Any>, Builtin.RawPointer), 0, loc "ClassSelectorController.swift":145:19, scope 131 // user: %1069
  9053. %1055 = tuple_extract %1053 : $(Array<Any>, Builtin.RawPointer), 1, loc "ClassSelectorController.swift":145:19, scope 131 // user: %1056
  9054. %1056 = pointer_to_address %1055 : $Builtin.RawPointer to [strict] $*Any, loc "ClassSelectorController.swift":145:19, scope 131 // user: %1057
  9055. %1057 = init_existential_addr %1056 : $*Any, $String, loc "ClassSelectorController.swift":145:19, scope 131 // user: %1064
  9056. %1058 = string_literal utf8 "No current grade specified.", loc "ClassSelectorController.swift":145:19, scope 131 // user: %1063
  9057. %1059 = integer_literal $Builtin.Word, 27, loc "ClassSelectorController.swift":145:19, scope 131 // user: %1063
  9058. %1060 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":145:19, scope 131 // user: %1063
  9059. %1061 = metatype $@thin String.Type, loc "ClassSelectorController.swift":145:19, scope 131 // user: %1063
  9060. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  9061. %1062 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":145:19, scope 131 // user: %1063
  9062. %1063 = apply %1062(%1058, %1059, %1060, %1061) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":145:19, scope 131 // user: %1064
  9063. store %1063 to [init] %1057 : $*String, loc "ClassSelectorController.swift":145:19, scope 131 // id: %1064
  9064. // function_ref (print([Any], separator : String, terminator : String) -> ()).(default argument 1)
  9065. %1065 = function_ref @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A0_ : $@convention(thin) () -> @owned String, loc "ClassSelectorController.swift":145:19, scope 131 // user: %1066
  9066. %1066 = apply %1065() : $@convention(thin) () -> @owned String, loc "ClassSelectorController.swift":145:19, scope 131 // user: %1069
  9067. // function_ref (print([Any], separator : String, terminator : String) -> ()).(default argument 2)
  9068. %1067 = function_ref @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A1_ : $@convention(thin) () -> @owned String, loc "ClassSelectorController.swift":145:19, scope 131 // user: %1068
  9069. %1068 = apply %1067() : $@convention(thin) () -> @owned String, loc "ClassSelectorController.swift":145:19, scope 131 // user: %1069
  9070. %1069 = apply %1050(%1054, %1066, %1068) : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> (), loc "ClassSelectorController.swift":145:48, scope 131
  9071. destroy_value %54 : ${ var Double }, loc "ClassSelectorController.swift":199:5, scope 131 // id: %1070
  9072. destroy_value %39 : $String, loc "ClassSelectorController.swift":199:5, scope 131 // id: %1071
  9073. br bb113, loc "ClassSelectorController.swift":146:13, scope 131 // id: %1072
  9074.  
  9075. bb110: // Preds: bb8 bb6
  9076. %1073 = alloc_stack $Optional<UILabel>, loc "ClassSelectorController.swift":111:13, scope 132 // users: %1098, %1085, %1077, %1076
  9077. %1074 = class_method %1 : $ClassSelectorController, #ClassSelectorController.warningLabel!getter.1 : (ClassSelectorController) -> () -> UILabel! , $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UILabel>, loc "ClassSelectorController.swift":111:13, scope 132 // user: %1075
  9078. %1075 = apply %1074(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UILabel>, loc "ClassSelectorController.swift":111:13, scope 132 // user: %1076
  9079. store %1075 to [init] %1073 : $*Optional<UILabel>, loc "ClassSelectorController.swift":111:13, scope 132 // id: %1076
  9080. switch_enum_addr %1073 : $*Optional<UILabel>, case #Optional.none!enumelt: bb111, default bb112, loc "ClassSelectorController.swift":111:13, scope 132 // id: %1077
  9081.  
  9082. bb111: // Preds: bb110
  9083. %1078 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":111:13, scope 132 // user: %1083
  9084. %1079 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":111:13, scope 132 // user: %1083
  9085. %1080 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":111:13, scope 132 // user: %1083
  9086. %1081 = integer_literal $Builtin.Word, 111, loc "ClassSelectorController.swift":111:13, scope 132 // user: %1083
  9087. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  9088. %1082 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":111:13, scope 132 // user: %1083
  9089. %1083 = apply %1082(%1078, %1079, %1080, %1081) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":111:13, scope 132
  9090. unreachable , loc "ClassSelectorController.swift":111:13, scope 132 // id: %1084
  9091.  
  9092. bb112: // Preds: bb110
  9093. %1085 = unchecked_take_enum_data_addr %1073 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":111:13, scope 132 // users: %1097, %1086
  9094. %1086 = load [copy] %1085 : $*UILabel, loc "ClassSelectorController.swift":111:13, scope 132 // users: %1096, %1087
  9095. %1087 = upcast %1086 : $UILabel to $UIView, loc "ClassSelectorController.swift":111:13, scope 132 // users: %1095, %1092
  9096. // function_ref Bool.init(_builtinBooleanLiteral : Builtin.Int1) -> Bool
  9097. %1088 = function_ref @_TFSbCfT22_builtinBooleanLiteralBi1__Sb : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":111:37, scope 132 // user: %1091
  9098. %1089 = metatype $@thin Bool.Type, loc "ClassSelectorController.swift":111:37, scope 132 // user: %1091
  9099. %1090 = integer_literal $Builtin.Int1, 0, loc "ClassSelectorController.swift":111:37, scope 132 // user: %1091
  9100. %1091 = apply %1088(%1090, %1089) : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":111:37, scope 132 // user: %1094
  9101. %1092 = class_method [volatile] %1087 : $UIView, #UIView.hidden!setter.1.foreign : (UIView) -> (Bool) -> () , $@convention(objc_method) (ObjCBool, UIView) -> (), loc "ClassSelectorController.swift":111:35, scope 132 // user: %1095
  9102. // function_ref _convertBoolToObjCBool(Bool) -> ObjCBool
  9103. %1093 = function_ref @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool, loc "ClassSelectorController.swift":111:35, scope 132 // user: %1094
  9104. %1094 = apply %1093(%1091) : $@convention(thin) (Bool) -> ObjCBool, loc "ClassSelectorController.swift":111:35, scope 132 // user: %1095
  9105. %1095 = apply %1092(%1094, %1087) : $@convention(objc_method) (ObjCBool, UIView) -> (), loc "ClassSelectorController.swift":111:35, scope 132
  9106. destroy_value %1086 : $UILabel, loc "ClassSelectorController.swift":111:37, scope 132 // id: %1096
  9107. destroy_addr %1085 : $*UILabel, loc "ClassSelectorController.swift":111:37, scope 132 // id: %1097
  9108. dealloc_stack %1073 : $*Optional<UILabel>, loc "ClassSelectorController.swift":111:37, scope 132 // id: %1098
  9109. // function_ref print([Any], separator : String, terminator : String) -> ()
  9110. %1099 = function_ref @_TFs5printFTGSaP__9separatorSS10terminatorSS_T_ : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> (), loc "ClassSelectorController.swift":112:13, scope 132 // user: %1118
  9111. %1100 = integer_literal $Builtin.Word, 1, loc "ClassSelectorController.swift":112:19, scope 132 // user: %1102
  9112. // function_ref _allocateUninitializedArray<A> (Builtin.Word) -> ([A], Builtin.RawPointer)
  9113. %1101 = function_ref @_TFs27_allocateUninitializedArrayurFBwTGSax_Bp_ : $@convention(thin) <τ_0_0> (Builtin.Word) -> (@owned Array<τ_0_0>, Builtin.RawPointer), loc "ClassSelectorController.swift":112:19, scope 132 // user: %1102
  9114. %1102 = apply %1101<Any>(%1100) : $@convention(thin) <τ_0_0> (Builtin.Word) -> (@owned Array<τ_0_0>, Builtin.RawPointer), loc "ClassSelectorController.swift":112:19, scope 132 // users: %1104, %1103
  9115. %1103 = tuple_extract %1102 : $(Array<Any>, Builtin.RawPointer), 0, loc "ClassSelectorController.swift":112:19, scope 132 // user: %1118
  9116. %1104 = tuple_extract %1102 : $(Array<Any>, Builtin.RawPointer), 1, loc "ClassSelectorController.swift":112:19, scope 132 // user: %1105
  9117. %1105 = pointer_to_address %1104 : $Builtin.RawPointer to [strict] $*Any, loc "ClassSelectorController.swift":112:19, scope 132 // user: %1106
  9118. %1106 = init_existential_addr %1105 : $*Any, $String, loc "ClassSelectorController.swift":112:19, scope 132 // user: %1113
  9119. %1107 = string_literal utf8 "No class name specified.", loc "ClassSelectorController.swift":112:19, scope 132 // user: %1112
  9120. %1108 = integer_literal $Builtin.Word, 24, loc "ClassSelectorController.swift":112:19, scope 132 // user: %1112
  9121. %1109 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":112:19, scope 132 // user: %1112
  9122. %1110 = metatype $@thin String.Type, loc "ClassSelectorController.swift":112:19, scope 132 // user: %1112
  9123. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  9124. %1111 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":112:19, scope 132 // user: %1112
  9125. %1112 = apply %1111(%1107, %1108, %1109, %1110) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":112:19, scope 132 // user: %1113
  9126. store %1112 to [init] %1106 : $*String, loc "ClassSelectorController.swift":112:19, scope 132 // id: %1113
  9127. // function_ref (print([Any], separator : String, terminator : String) -> ()).(default argument 1)
  9128. %1114 = function_ref @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A0_ : $@convention(thin) () -> @owned String, loc "ClassSelectorController.swift":112:19, scope 132 // user: %1115
  9129. %1115 = apply %1114() : $@convention(thin) () -> @owned String, loc "ClassSelectorController.swift":112:19, scope 132 // user: %1118
  9130. // function_ref (print([Any], separator : String, terminator : String) -> ()).(default argument 2)
  9131. %1116 = function_ref @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A1_ : $@convention(thin) () -> @owned String, loc "ClassSelectorController.swift":112:19, scope 132 // user: %1117
  9132. %1117 = apply %1116() : $@convention(thin) () -> @owned String, loc "ClassSelectorController.swift":112:19, scope 132 // user: %1118
  9133. %1118 = apply %1099(%1103, %1115, %1117) : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> (), loc "ClassSelectorController.swift":112:45, scope 132
  9134. br bb113, loc "ClassSelectorController.swift":113:13, scope 132 // id: %1119
  9135.  
  9136. bb113: // Preds: bb103 bb68 bb71 bb106 bb109 bb33 bb36 bb112
  9137. destroy_addr %0 : $*Any, loc "ClassSelectorController.swift":199:5, scope 111 // id: %1120
  9138. %1121 = tuple (), loc "ClassSelectorController.swift":199:5, scope 111 // user: %1122
  9139. return %1121 : $(), loc "ClassSelectorController.swift":199:5, scope 111 // id: %1122
  9140. } // end sil function '_TFC3gpa23ClassSelectorController11updateClassfP_T_'
  9141.  
  9142.  
  9143. // print([Any], separator : String, terminator : String) -> ()
  9144. sil [noinline] [_semantics "stdlib_binary_only"] @_TFs5printFTGSaP__9separatorSS10terminatorSS_T_ : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> ()
  9145.  
  9146.  
  9147. // (print([Any], separator : String, terminator : String) -> ()).(default argument 1)
  9148. sil [noinline] [_semantics "stdlib_binary_only"] @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A0_ : $@convention(thin) () -> @owned String
  9149.  
  9150.  
  9151. // (print([Any], separator : String, terminator : String) -> ()).(default argument 2)
  9152. sil [noinline] [_semantics "stdlib_binary_only"] @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A1_ : $@convention(thin) () -> @owned String
  9153.  
  9154.  
  9155. // static String._unconditionallyBridgeFromObjectiveC(NSString?) -> String
  9156. sil @_TZFE10FoundationSS36_unconditionallyBridgeFromObjectiveCfGSqCSo8NSString_SS : $@convention(method) (@owned Optional<NSString>, @thin String.Type) -> @owned String
  9157.  
  9158.  
  9159. // static Bool.! prefix(Bool) -> Bool
  9160. sil [transparent] [fragile] @_TZFSbop1nfSbSb : $@convention(method) (Bool, @thin Bool.Type) -> Bool
  9161.  
  9162.  
  9163. // String.isEmpty.getter
  9164. sil @_TFSSg7isEmptySb : $@convention(method) (@guaranteed String) -> Bool
  9165.  
  9166.  
  9167. // Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
  9168. sil [transparent] [fragile] @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double
  9169.  
  9170.  
  9171. // Double.init(String) -> Double?
  9172. sil @_TFSdCfSSGSqSd_ : $@convention(method) (@owned String, @thin Double.Type) -> Optional<Double>
  9173.  
  9174.  
  9175. // Int.init(String, radix : Int) -> Int?
  9176. sil @_TFSiCfTSS5radixSi_GSqSi_ : $@convention(method) (@owned String, Int, @thin Int.Type) -> Optional<Int>
  9177.  
  9178.  
  9179. // Int.(init(String, radix : Int) -> Int?).(default argument 1)
  9180. sil @_TIFSicFTSS5radixSi_GSqSi_A0_ : $@convention(thin) () -> Int
  9181.  
  9182.  
  9183. // Information.__allocating_init(String, grade : Int, multiplier : Double, credits : Double) -> Information
  9184. sil hidden_external @_TFC3gpa11InformationCfTSS5gradeSi10multiplierSd7creditsSd_S0_ : $@convention(method) (@owned String, Int, Double, Double, @thick Information.Type) -> @owned Information
  9185.  
  9186.  
  9187. // Array.subscript.nativePinningMutableAddressor
  9188. sil @_TFSaap9subscriptFSix : $@convention(method) <τ_0_0> (Int, @inout Array<τ_0_0>) -> (UnsafeMutablePointer<τ_0_0>, @owned Optional<Builtin.NativeObject>)
  9189.  
  9190.  
  9191. // Information.keyValueStore.unsafeMutableAddressor
  9192. sil hidden_external [global_init] @_TFC3gpa11Informationau13keyValueStoreCSo25NSUbiquitousKeyValueStore : $@convention(thin) () -> Builtin.RawPointer
  9193.  
  9194.  
  9195. // Array._bridgeToObjectiveC() -> NSArray
  9196. sil [_semantics "convertToObjectiveC"] @_TFE10FoundationSa19_bridgeToObjectiveCfT_CSo7NSArray : $@convention(method) <τ_0_0> (@guaranteed Array<τ_0_0>) -> @owned NSArray
  9197.  
  9198.  
  9199. // static Data._unconditionallyBridgeFromObjectiveC(NSData?) -> Data
  9200. sil @_TZFV10Foundation4Data36_unconditionallyBridgeFromObjectiveCfGSqCSo6NSData_S0_ : $@convention(method) (@owned Optional<NSData>, @thin Data.Type) -> @owned Data
  9201.  
  9202.  
  9203. // Data._bridgeToObjectiveC() -> NSData
  9204. sil [_semantics "convertToObjectiveC"] @_TFV10Foundation4Data19_bridgeToObjectiveCfT_CSo6NSData : $@convention(method) (@guaranteed Data) -> @owned NSData
  9205.  
  9206.  
  9207. // DispatchQueue.async(group : DispatchGroup?, qos : DispatchQoS, flags : DispatchWorkItemFlags, execute : @convention(block) () -> ()) -> ()
  9208. sil @_TFE8DispatchCSo13DispatchQueue5asyncfT5groupGSqCSo13DispatchGroup_3qosVS_11DispatchQoS5flagsVS_21DispatchWorkItemFlags7executebT_T__T_ : $@convention(method) (@owned Optional<DispatchGroup>, DispatchQoS, DispatchWorkItemFlags, @owned @convention(block) () -> (), @guaranteed DispatchQueue) -> ()
  9209.  
  9210.  
  9211. // static DispatchQueue.main.getter
  9212. sil @_TZFE8DispatchCSo13DispatchQueueg4mainS0_ : $@convention(method) (@thick DispatchQueue.Type) -> @owned DispatchQueue
  9213.  
  9214. sil_scope 133 { loc "ClassSelectorController.swift":193:34 parent @_TFFC3gpa23ClassSelectorController11updateClassFP_T_U_FT_T_ : $@convention(thin) (@owned ClassSelectorController) -> () }
  9215. sil_scope 134 { loc "ClassSelectorController.swift":198:9 parent 133 }
  9216.  
  9217. // ClassSelectorController.(updateClass(Any) -> ()).(closure #1)
  9218. sil shared @_TFFC3gpa23ClassSelectorController11updateClassFP_T_U_FT_T_ : $@convention(thin) (@owned ClassSelectorController) -> () {
  9219. // %0 // users: %57, %49, %38, %2, %1
  9220. bb0(%0 : $ClassSelectorController):
  9221. debug_value %0 : $ClassSelectorController, let, name "self", argno 1, loc "ClassSelectorController.swift":108:20, scope 133 // id: %1
  9222. %2 = copy_value %0 : $ClassSelectorController, loc "ClassSelectorController.swift":194:13, scope 134 // users: %31, %3
  9223. %3 = upcast %2 : $ClassSelectorController to $UIViewController, loc "ClassSelectorController.swift":194:13, scope 134 // users: %6, %5
  9224. %4 = alloc_stack $Optional<UIView>, loc "ClassSelectorController.swift":194:18, scope 134 // users: %30, %16, %8, %7
  9225. %5 = class_method [volatile] %3 : $UIViewController, #UIViewController.view!getter.1.foreign : (UIViewController) -> () -> UIView! , $@convention(objc_method) (UIViewController) -> @autoreleased Optional<UIView>, loc "ClassSelectorController.swift":194:18, scope 134 // user: %6
  9226. %6 = apply %5(%3) : $@convention(objc_method) (UIViewController) -> @autoreleased Optional<UIView>, loc "ClassSelectorController.swift":194:18, scope 134 // user: %7
  9227. store %6 to [init] %4 : $*Optional<UIView>, loc "ClassSelectorController.swift":194:18, scope 134 // id: %7
  9228. switch_enum_addr %4 : $*Optional<UIView>, case #Optional.none!enumelt: bb1, default bb2, loc "ClassSelectorController.swift":194:18, scope 134 // id: %8
  9229.  
  9230. bb1: // Preds: bb0
  9231. %9 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":194:18, scope 134 // user: %14
  9232. %10 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":194:18, scope 134 // user: %14
  9233. %11 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":194:18, scope 134 // user: %14
  9234. %12 = integer_literal $Builtin.Word, 194, loc "ClassSelectorController.swift":194:18, scope 134 // user: %14
  9235. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  9236. %13 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":194:18, scope 134 // user: %14
  9237. %14 = apply %13(%9, %10, %11, %12) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":194:18, scope 134
  9238. unreachable , loc "ClassSelectorController.swift":194:18, scope 134 // id: %15
  9239.  
  9240. bb2: // Preds: bb0
  9241. %16 = unchecked_take_enum_data_addr %4 : $*Optional<UIView>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":194:18, scope 134 // users: %29, %17
  9242. %17 = load [copy] %16 : $*UIView, loc "ClassSelectorController.swift":194:18, scope 134 // users: %28, %25, %18
  9243. %18 = class_method [volatile] %17 : $UIView, #UIView.endEditing!1.foreign : (UIView) -> (Bool) -> Bool , $@convention(objc_method) (ObjCBool, UIView) -> ObjCBool, loc "ClassSelectorController.swift":194:23, scope 134 // user: %25
  9244. // function_ref Bool.init(_builtinBooleanLiteral : Builtin.Int1) -> Bool
  9245. %19 = function_ref @_TFSbCfT22_builtinBooleanLiteralBi1__Sb : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":194:34, scope 134 // user: %22
  9246. %20 = metatype $@thin Bool.Type, loc "ClassSelectorController.swift":194:34, scope 134 // user: %22
  9247. %21 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":194:34, scope 134 // user: %22
  9248. %22 = apply %19(%21, %20) : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":194:34, scope 134 // user: %24
  9249. // function_ref _convertBoolToObjCBool(Bool) -> ObjCBool
  9250. %23 = function_ref @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool, loc "ClassSelectorController.swift":194:34, scope 134 // user: %24
  9251. %24 = apply %23(%22) : $@convention(thin) (Bool) -> ObjCBool, loc "ClassSelectorController.swift":194:34, scope 134 // user: %25
  9252. %25 = apply %18(%24, %17) : $@convention(objc_method) (ObjCBool, UIView) -> ObjCBool, loc "ClassSelectorController.swift":194:38, scope 134 // user: %27
  9253. // function_ref _convertObjCBoolToBool(ObjCBool) -> Bool
  9254. %26 = function_ref @_TF10ObjectiveC22_convertObjCBoolToBoolFVS_8ObjCBoolSb : $@convention(thin) (ObjCBool) -> Bool, loc "ClassSelectorController.swift":194:38, scope 134 // user: %27
  9255. %27 = apply %26(%25) : $@convention(thin) (ObjCBool) -> Bool, loc "ClassSelectorController.swift":194:38, scope 134
  9256. destroy_value %17 : $UIView, loc "ClassSelectorController.swift":194:38, scope 134 // id: %28
  9257. destroy_addr %16 : $*UIView, loc "ClassSelectorController.swift":194:38, scope 134 // id: %29
  9258. dealloc_stack %4 : $*Optional<UIView>, loc "ClassSelectorController.swift":194:38, scope 134 // id: %30
  9259. destroy_value %2 : $ClassSelectorController, loc "ClassSelectorController.swift":194:38, scope 134 // id: %31
  9260. // function_ref _usleep
  9261. %32 = function_ref @_usleep : $@convention(c) (UInt32) -> Int32, loc "ClassSelectorController.swift":196:13, scope 134 // user: %37
  9262. // function_ref UInt32.init(_builtinIntegerLiteral : Builtin.Int2048) -> UInt32
  9263. %33 = function_ref @_TFVs6UInt32CfT22_builtinIntegerLiteralBi2048__S_ : $@convention(method) (Builtin.Int2048, @thin UInt32.Type) -> UInt32, loc "ClassSelectorController.swift":196:20, scope 134 // user: %36
  9264. %34 = metatype $@thin UInt32.Type, loc "ClassSelectorController.swift":196:20, scope 134 // user: %36
  9265. %35 = integer_literal $Builtin.Int2048, 10000, loc "ClassSelectorController.swift":196:20, scope 134 // user: %36
  9266. %36 = apply %33(%35, %34) : $@convention(method) (Builtin.Int2048, @thin UInt32.Type) -> UInt32, loc "ClassSelectorController.swift":196:20, scope 134 // user: %37
  9267. %37 = apply %32(%36) : $@convention(c) (UInt32) -> Int32, loc "ClassSelectorController.swift":196:25, scope 134
  9268. %38 = copy_value %0 : $ClassSelectorController, loc "ClassSelectorController.swift":197:13, scope 134 // users: %56, %39
  9269. %39 = upcast %38 : $ClassSelectorController to $UIViewController, loc "ClassSelectorController.swift":197:13, scope 134 // users: %52, %40
  9270. %40 = class_method [volatile] %39 : $UIViewController, #UIViewController.performSegue!1.foreign : (UIViewController) -> (String, Any?) -> () , $@convention(objc_method) (NSString, Optional<AnyObject>, UIViewController) -> (), loc "ClassSelectorController.swift":197:18, scope 134 // user: %52
  9271. %41 = string_literal utf8 "ExitSelectorSegue", loc "ClassSelectorController.swift":197:47, scope 134 // user: %46
  9272. %42 = integer_literal $Builtin.Word, 17, loc "ClassSelectorController.swift":197:47, scope 134 // user: %46
  9273. %43 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":197:47, scope 134 // user: %46
  9274. %44 = metatype $@thin String.Type, loc "ClassSelectorController.swift":197:47, scope 134 // user: %46
  9275. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  9276. %45 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":197:47, scope 134 // user: %46
  9277. %46 = apply %45(%41, %42, %43, %44) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":197:47, scope 134 // users: %55, %48
  9278. // function_ref String._bridgeToObjectiveC() -> NSString
  9279. %47 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassSelectorController.swift":197:47, scope 134 // user: %48
  9280. %48 = apply %47(%46) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassSelectorController.swift":197:47, scope 134 // users: %54, %52
  9281. %49 = copy_value %0 : $ClassSelectorController, loc "ClassSelectorController.swift":197:76, scope 134 // users: %53, %50
  9282. %50 = init_existential_ref %49 : $ClassSelectorController : $ClassSelectorController, $AnyObject, loc "ClassSelectorController.swift":197:76, scope 134 // user: %51
  9283. %51 = enum $Optional<AnyObject>, #Optional.some!enumelt.1, %50 : $AnyObject, loc "ClassSelectorController.swift":197:76, scope 134 // user: %52
  9284. %52 = apply %40(%48, %51, %39) : $@convention(objc_method) (NSString, Optional<AnyObject>, UIViewController) -> (), loc "ClassSelectorController.swift":197:80, scope 134
  9285. destroy_value %49 : $ClassSelectorController, loc "ClassSelectorController.swift":197:80, scope 134 // id: %53
  9286. destroy_value %48 : $NSString, loc "ClassSelectorController.swift":197:80, scope 134 // id: %54
  9287. destroy_value %46 : $String, loc "ClassSelectorController.swift":197:80, scope 134 // id: %55
  9288. destroy_value %38 : $ClassSelectorController, loc "ClassSelectorController.swift":197:80, scope 134 // id: %56
  9289. destroy_value %0 : $ClassSelectorController, loc "ClassSelectorController.swift":198:9, scope 134 // id: %57
  9290. %58 = tuple (), loc "ClassSelectorController.swift":198:9, scope 134 // user: %59
  9291. return %58 : $(), loc "ClassSelectorController.swift":198:9, scope 134 // id: %59
  9292. } // end sil function '_TFFC3gpa23ClassSelectorController11updateClassFP_T_U_FT_T_'
  9293.  
  9294.  
  9295. // _convertObjCBoolToBool(ObjCBool) -> Bool
  9296. sil @_TF10ObjectiveC22_convertObjCBoolToBoolFVS_8ObjCBoolSb : $@convention(thin) (ObjCBool) -> Bool
  9297.  
  9298.  
  9299. // _usleep
  9300. sil [clang usleep] @_usleep : $@convention(c) (UInt32) -> Int32
  9301.  
  9302.  
  9303. // UInt32.init(_builtinIntegerLiteral : Builtin.Int2048) -> UInt32
  9304. sil [transparent] [fragile] @_TFVs6UInt32CfT22_builtinIntegerLiteralBi2048__S_ : $@convention(method) (Builtin.Int2048, @thin UInt32.Type) -> UInt32
  9305.  
  9306. sil_scope 135 { parent @_TTRXFo___XFdCb___ : $@convention(c) (@inout_aliasable @block_storage @callee_owned () -> ()) -> () }
  9307.  
  9308. // thunk
  9309. sil shared [transparent] [reabstraction_thunk] @_TTRXFo___XFdCb___ : $@convention(c) (@inout_aliasable @block_storage @callee_owned () -> ()) -> () {
  9310. // %0 // user: %1
  9311. bb0(%0 : $*@block_storage @callee_owned () -> ()):
  9312. %1 = project_block_storage %0 : $*@block_storage @callee_owned () -> (), scope 135 // user: %2
  9313. %2 = load [copy] %1 : $*@callee_owned () -> (), scope 135 // user: %3
  9314. %3 = apply %2() : $@callee_owned () -> (), scope 135
  9315. %4 = tuple (), scope 135 // user: %5
  9316. return %4 : $(), scope 135 // id: %5
  9317. } // end sil function '_TTRXFo___XFdCb___'
  9318.  
  9319.  
  9320. // DispatchQueue.(async(group : DispatchGroup?, qos : DispatchQoS, flags : DispatchWorkItemFlags, execute : @convention(block) () -> ()) -> ()).(default argument 0)
  9321. sil @_TIFE8DispatchCSo13DispatchQueue5asyncFT5groupGSqCSo13DispatchGroup_3qosVS_11DispatchQoS5flagsVS_21DispatchWorkItemFlags7executebT_T__T_A_ : $@convention(thin) () -> @owned Optional<DispatchGroup>
  9322.  
  9323.  
  9324. // DispatchQueue.(async(group : DispatchGroup?, qos : DispatchQoS, flags : DispatchWorkItemFlags, execute : @convention(block) () -> ()) -> ()).(default argument 1)
  9325. sil @_TIFE8DispatchCSo13DispatchQueue5asyncFT5groupGSqCSo13DispatchGroup_3qosVS_11DispatchQoS5flagsVS_21DispatchWorkItemFlags7executebT_T__T_A0_ : $@convention(thin) () -> DispatchQoS
  9326.  
  9327.  
  9328. // DispatchQueue.(async(group : DispatchGroup?, qos : DispatchQoS, flags : DispatchWorkItemFlags, execute : @convention(block) () -> ()) -> ()).(default argument 2)
  9329. sil @_TIFE8DispatchCSo13DispatchQueue5asyncFT5groupGSqCSo13DispatchGroup_3qosVS_11DispatchQoS5flagsVS_21DispatchWorkItemFlags7executebT_T__T_A1_ : $@convention(thin) () -> DispatchWorkItemFlags
  9330.  
  9331. sil_scope 136 { loc "ClassSelectorController.swift":108:20 parent @_TToFC3gpa23ClassSelectorController11updateClassfP_T_ : $@convention(objc_method) (AnyObject, ClassSelectorController) -> () }
  9332.  
  9333. // @objc ClassSelectorController.updateClass(Any) -> ()
  9334. sil hidden [thunk] @_TToFC3gpa23ClassSelectorController11updateClassfP_T_ : $@convention(objc_method) (AnyObject, ClassSelectorController) -> () {
  9335. // %0 // user: %2
  9336. // %1 // user: %3
  9337. bb0(%0 : $AnyObject, %1 : $ClassSelectorController):
  9338. %2 = copy_value %0 : $AnyObject, scope 136 // user: %4
  9339. %3 = copy_value %1 : $ClassSelectorController, scope 136 // users: %11, %9
  9340. %4 = unchecked_ref_cast %2 : $AnyObject to $Optional<AnyObject>, scope 136 // user: %7
  9341. // function_ref _bridgeAnyObjectToAny(AnyObject?) -> Any
  9342. %5 = function_ref @_TFs21_bridgeAnyObjectToAnyFGSqPs9AnyObject__P_ : $@convention(thin) (@owned Optional<AnyObject>) -> @out Any, scope 136 // user: %7
  9343. %6 = alloc_stack $Any, scope 136 // users: %10, %9, %7
  9344. %7 = apply %5(%6, %4) : $@convention(thin) (@owned Optional<AnyObject>) -> @out Any, scope 136
  9345. // function_ref ClassSelectorController.updateClass(Any) -> ()
  9346. %8 = function_ref @_TFC3gpa23ClassSelectorController11updateClassfP_T_ : $@convention(method) (@in Any, @guaranteed ClassSelectorController) -> (), scope 136 // user: %9
  9347. %9 = apply %8(%6, %3) : $@convention(method) (@in Any, @guaranteed ClassSelectorController) -> (), scope 136 // user: %12
  9348. dealloc_stack %6 : $*Any, scope 136 // id: %10
  9349. destroy_value %3 : $ClassSelectorController, scope 136 // id: %11
  9350. return %9 : $(), scope 136 // id: %12
  9351. } // end sil function '_TToFC3gpa23ClassSelectorController11updateClassfP_T_'
  9352.  
  9353.  
  9354. // _bridgeAnyObjectToAny(AnyObject?) -> Any
  9355. sil @_TFs21_bridgeAnyObjectToAnyFGSqPs9AnyObject__P_ : $@convention(thin) (@owned Optional<AnyObject>) -> @out Any
  9356.  
  9357. sil_scope 137 { loc "ClassSelectorController.swift":201:19 parent @_TFC3gpa23ClassSelectorController12touchesBeganfTGVs3SetCSo7UITouch_4withGSqCSo7UIEvent__T_ : $@convention(method) (@owned Set<UITouch>, @owned Optional<UIEvent>, @guaranteed ClassSelectorController) -> () }
  9358. sil_scope 138 { loc "ClassSelectorController.swift":203:5 parent 137 }
  9359.  
  9360. // ClassSelectorController.touchesBegan(Set<UITouch>, with : UIEvent?) -> ()
  9361. sil hidden @_TFC3gpa23ClassSelectorController12touchesBeganfTGVs3SetCSo7UITouch_4withGSqCSo7UIEvent__T_ : $@convention(method) (@owned Set<UITouch>, @owned Optional<UIEvent>, @guaranteed ClassSelectorController) -> () {
  9362. // %0 // users: %37, %3
  9363. // %1 // users: %36, %4
  9364. // %2 // users: %6, %5
  9365. bb0(%0 : $Set<UITouch>, %1 : $Optional<UIEvent>, %2 : $ClassSelectorController):
  9366. debug_value %0 : $Set<UITouch>, let, name "touches", argno 1, loc "ClassSelectorController.swift":201:34, scope 137 // id: %3
  9367. debug_value %1 : $Optional<UIEvent>, let, name "event", argno 2, loc "ClassSelectorController.swift":201:62, scope 137 // id: %4
  9368. debug_value %2 : $ClassSelectorController, let, name "self", argno 3, loc "ClassSelectorController.swift":201:19, scope 137 // id: %5
  9369. %6 = copy_value %2 : $ClassSelectorController, loc "ClassSelectorController.swift":202:9, scope 138 // users: %35, %7
  9370. %7 = upcast %6 : $ClassSelectorController to $UIViewController, loc "ClassSelectorController.swift":202:9, scope 138 // users: %10, %9
  9371. %8 = alloc_stack $Optional<UIView>, loc "ClassSelectorController.swift":202:14, scope 138 // users: %34, %20, %12, %11
  9372. %9 = class_method [volatile] %7 : $UIViewController, #UIViewController.view!getter.1.foreign : (UIViewController) -> () -> UIView! , $@convention(objc_method) (UIViewController) -> @autoreleased Optional<UIView>, loc "ClassSelectorController.swift":202:14, scope 138 // user: %10
  9373. %10 = apply %9(%7) : $@convention(objc_method) (UIViewController) -> @autoreleased Optional<UIView>, loc "ClassSelectorController.swift":202:14, scope 138 // user: %11
  9374. store %10 to [init] %8 : $*Optional<UIView>, loc "ClassSelectorController.swift":202:14, scope 138 // id: %11
  9375. switch_enum_addr %8 : $*Optional<UIView>, case #Optional.none!enumelt: bb1, default bb2, loc "ClassSelectorController.swift":202:14, scope 138 // id: %12
  9376.  
  9377. bb1: // Preds: bb0
  9378. %13 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":202:14, scope 138 // user: %18
  9379. %14 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":202:14, scope 138 // user: %18
  9380. %15 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":202:14, scope 138 // user: %18
  9381. %16 = integer_literal $Builtin.Word, 202, loc "ClassSelectorController.swift":202:14, scope 138 // user: %18
  9382. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  9383. %17 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":202:14, scope 138 // user: %18
  9384. %18 = apply %17(%13, %14, %15, %16) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":202:14, scope 138
  9385. unreachable , loc "ClassSelectorController.swift":202:14, scope 138 // id: %19
  9386.  
  9387. bb2: // Preds: bb0
  9388. %20 = unchecked_take_enum_data_addr %8 : $*Optional<UIView>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":202:14, scope 138 // users: %33, %21
  9389. %21 = load [copy] %20 : $*UIView, loc "ClassSelectorController.swift":202:14, scope 138 // users: %32, %29, %22
  9390. %22 = class_method [volatile] %21 : $UIView, #UIView.endEditing!1.foreign : (UIView) -> (Bool) -> Bool , $@convention(objc_method) (ObjCBool, UIView) -> ObjCBool, loc "ClassSelectorController.swift":202:19, scope 138 // user: %29
  9391. // function_ref Bool.init(_builtinBooleanLiteral : Builtin.Int1) -> Bool
  9392. %23 = function_ref @_TFSbCfT22_builtinBooleanLiteralBi1__Sb : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":202:30, scope 138 // user: %26
  9393. %24 = metatype $@thin Bool.Type, loc "ClassSelectorController.swift":202:30, scope 138 // user: %26
  9394. %25 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":202:30, scope 138 // user: %26
  9395. %26 = apply %23(%25, %24) : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":202:30, scope 138 // user: %28
  9396. // function_ref _convertBoolToObjCBool(Bool) -> ObjCBool
  9397. %27 = function_ref @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool, loc "ClassSelectorController.swift":202:30, scope 138 // user: %28
  9398. %28 = apply %27(%26) : $@convention(thin) (Bool) -> ObjCBool, loc "ClassSelectorController.swift":202:30, scope 138 // user: %29
  9399. %29 = apply %22(%28, %21) : $@convention(objc_method) (ObjCBool, UIView) -> ObjCBool, loc "ClassSelectorController.swift":202:34, scope 138 // user: %31
  9400. // function_ref _convertObjCBoolToBool(ObjCBool) -> Bool
  9401. %30 = function_ref @_TF10ObjectiveC22_convertObjCBoolToBoolFVS_8ObjCBoolSb : $@convention(thin) (ObjCBool) -> Bool, loc "ClassSelectorController.swift":202:34, scope 138 // user: %31
  9402. %31 = apply %30(%29) : $@convention(thin) (ObjCBool) -> Bool, loc "ClassSelectorController.swift":202:34, scope 138
  9403. destroy_value %21 : $UIView, loc "ClassSelectorController.swift":202:34, scope 138 // id: %32
  9404. destroy_addr %20 : $*UIView, loc "ClassSelectorController.swift":202:34, scope 138 // id: %33
  9405. dealloc_stack %8 : $*Optional<UIView>, loc "ClassSelectorController.swift":202:34, scope 138 // id: %34
  9406. destroy_value %6 : $ClassSelectorController, loc "ClassSelectorController.swift":202:34, scope 138 // id: %35
  9407. destroy_value %1 : $Optional<UIEvent>, loc "ClassSelectorController.swift":203:5, scope 138 // id: %36
  9408. destroy_value %0 : $Set<UITouch>, loc "ClassSelectorController.swift":203:5, scope 138 // id: %37
  9409. %38 = tuple (), loc "ClassSelectorController.swift":203:5, scope 138 // user: %39
  9410. return %38 : $(), loc "ClassSelectorController.swift":203:5, scope 138 // id: %39
  9411. } // end sil function '_TFC3gpa23ClassSelectorController12touchesBeganfTGVs3SetCSo7UITouch_4withGSqCSo7UIEvent__T_'
  9412.  
  9413. sil_scope 139 { loc "ClassSelectorController.swift":201:19 parent @_TToFC3gpa23ClassSelectorController12touchesBeganfTGVs3SetCSo7UITouch_4withGSqCSo7UIEvent__T_ : $@convention(objc_method) (NSSet, Optional<UIEvent>, ClassSelectorController) -> () }
  9414.  
  9415. // @objc ClassSelectorController.touchesBegan(Set<UITouch>, with : UIEvent?) -> ()
  9416. sil hidden [thunk] @_TToFC3gpa23ClassSelectorController12touchesBeganfTGVs3SetCSo7UITouch_4withGSqCSo7UIEvent__T_ : $@convention(objc_method) (NSSet, Optional<UIEvent>, ClassSelectorController) -> () {
  9417. // %0 // user: %3
  9418. // %1 // user: %4
  9419. // %2 // user: %5
  9420. bb0(%0 : $NSSet, %1 : $Optional<UIEvent>, %2 : $ClassSelectorController):
  9421. %3 = copy_value %0 : $NSSet, scope 139 // user: %7
  9422. %4 = copy_value %1 : $Optional<UIEvent>, scope 139 // user: %11
  9423. %5 = copy_value %2 : $ClassSelectorController, scope 139 // users: %12, %11
  9424. // function_ref static Set._unconditionallyBridgeFromObjectiveC(NSSet?) -> Set<A>
  9425. %6 = function_ref @_TZFE10FoundationVs3Set36_unconditionallyBridgeFromObjectiveCfGSqCSo5NSSet_GS0_x_ : $@convention(method) <τ_0_0 where τ_0_0 : Hashable> (@owned Optional<NSSet>, @thin Set<τ_0_0>.Type) -> @owned Set<τ_0_0>, scope 139 // user: %9
  9426. %7 = enum $Optional<NSSet>, #Optional.some!enumelt.1, %3 : $NSSet, scope 139 // user: %9
  9427. %8 = metatype $@thin Set<UITouch>.Type, scope 139 // user: %9
  9428. %9 = apply %6<UITouch>(%7, %8) : $@convention(method) <τ_0_0 where τ_0_0 : Hashable> (@owned Optional<NSSet>, @thin Set<τ_0_0>.Type) -> @owned Set<τ_0_0>, scope 139 // user: %11
  9429. // function_ref ClassSelectorController.touchesBegan(Set<UITouch>, with : UIEvent?) -> ()
  9430. %10 = function_ref @_TFC3gpa23ClassSelectorController12touchesBeganfTGVs3SetCSo7UITouch_4withGSqCSo7UIEvent__T_ : $@convention(method) (@owned Set<UITouch>, @owned Optional<UIEvent>, @guaranteed ClassSelectorController) -> (), scope 139 // user: %11
  9431. %11 = apply %10(%9, %4, %5) : $@convention(method) (@owned Set<UITouch>, @owned Optional<UIEvent>, @guaranteed ClassSelectorController) -> (), scope 139 // user: %13
  9432. destroy_value %5 : $ClassSelectorController, scope 139 // id: %12
  9433. return %11 : $(), scope 139 // id: %13
  9434. } // end sil function '_TToFC3gpa23ClassSelectorController12touchesBeganfTGVs3SetCSo7UITouch_4withGSqCSo7UIEvent__T_'
  9435.  
  9436.  
  9437. // static Set._unconditionallyBridgeFromObjectiveC(NSSet?) -> Set<A>
  9438. sil @_TZFE10FoundationVs3Set36_unconditionallyBridgeFromObjectiveCfGSqCSo5NSSet_GS0_x_ : $@convention(method) <τ_0_0 where τ_0_0 : Hashable> (@owned Optional<NSSet>, @thin Set<τ_0_0>.Type) -> @owned Set<τ_0_0>
  9439.  
  9440. sil_scope 140 { loc "ClassSelectorController.swift":25:7 parent @_TFC3gpa23ClassSelectorControllerD : $@convention(method) (@owned ClassSelectorController) -> () }
  9441. sil_scope 141 { loc "ClassSelectorController.swift":25:7 parent 140 }
  9442.  
  9443. // ClassSelectorController.__deallocating_deinit
  9444. sil hidden @_TFC3gpa23ClassSelectorControllerD : $@convention(method) (@owned ClassSelectorController) -> () {
  9445. // %0 // users: %3, %2, %1
  9446. bb0(%0 : $ClassSelectorController):
  9447. debug_value %0 : $ClassSelectorController, let, name "self", argno 1, loc "ClassSelectorController.swift":25:7, scope 140 // id: %1
  9448. %2 = super_method %0 : $ClassSelectorController, #UIViewController.deinit!deallocator.foreign : (UIViewController) -> () -> () , $@convention(objc_method) (UIViewController) -> (), scope 141 // user: %4
  9449. %3 = upcast %0 : $ClassSelectorController to $UIViewController, scope 141 // user: %4
  9450. %4 = apply %2(%3) : $@convention(objc_method) (UIViewController) -> (), scope 141
  9451. %5 = tuple (), scope 141 // user: %6
  9452. return %5 : $(), scope 141 // id: %6
  9453. } // end sil function '_TFC3gpa23ClassSelectorControllerD'
  9454.  
  9455. sil_scope 142 { loc "ClassSelectorController.swift":25:7 parent @_TToFC3gpa23ClassSelectorControllerE : $@convention(objc_method) (ClassSelectorController) -> () }
  9456.  
  9457. // @objc ClassSelectorController.__ivar_destroyer
  9458. sil hidden @_TToFC3gpa23ClassSelectorControllerE : $@convention(objc_method) (ClassSelectorController) -> () {
  9459. // %0 // users: %20, %18, %16, %14, %12, %10, %8, %6, %4, %2, %1
  9460. bb0(%0 : $ClassSelectorController):
  9461. debug_value %0 : $ClassSelectorController, let, name "self", argno 1, loc "ClassSelectorController.swift":25:7, scope 142 // id: %1
  9462. %2 = ref_element_addr %0 : $ClassSelectorController, #ClassSelectorController.classNameField, scope 142 // user: %3
  9463. destroy_addr %2 : $*Optional<UITextField>, scope 142 // id: %3
  9464. %4 = ref_element_addr %0 : $ClassSelectorController, #ClassSelectorController.multiplierField, scope 142 // user: %5
  9465. destroy_addr %4 : $*Optional<UITextField>, scope 142 // id: %5
  9466. %6 = ref_element_addr %0 : $ClassSelectorController, #ClassSelectorController.currentGradeField, scope 142 // user: %7
  9467. destroy_addr %6 : $*Optional<UITextField>, scope 142 // id: %7
  9468. %8 = ref_element_addr %0 : $ClassSelectorController, #ClassSelectorController.creditsField, scope 142 // user: %9
  9469. destroy_addr %8 : $*Optional<UITextField>, scope 142 // id: %9
  9470. %10 = ref_element_addr %0 : $ClassSelectorController, #ClassSelectorController.multiplierBar, scope 142 // user: %11
  9471. destroy_addr %10 : $*Optional<UISegmentedControl>, scope 142 // id: %11
  9472. %12 = ref_element_addr %0 : $ClassSelectorController, #ClassSelectorController.creditsBar, scope 142 // user: %13
  9473. destroy_addr %12 : $*Optional<UISegmentedControl>, scope 142 // id: %13
  9474. %14 = ref_element_addr %0 : $ClassSelectorController, #ClassSelectorController.warningLabel, scope 142 // user: %15
  9475. destroy_addr %14 : $*Optional<UILabel>, scope 142 // id: %15
  9476. %16 = ref_element_addr %0 : $ClassSelectorController, #ClassSelectorController.addClassButton, scope 142 // user: %17
  9477. destroy_addr %16 : $*Optional<UIButton>, scope 142 // id: %17
  9478. %18 = ref_element_addr %0 : $ClassSelectorController, #ClassSelectorController.cancelButton, scope 142 // user: %19
  9479. destroy_addr %18 : $*Optional<UIBarButtonItem>, scope 142 // id: %19
  9480. %20 = ref_element_addr %0 : $ClassSelectorController, #ClassSelectorController.picker, scope 142 // user: %21
  9481. destroy_addr %20 : $*Optional<UIPickerView>, scope 142 // id: %21
  9482. %22 = tuple (), scope 142 // user: %23
  9483. return %22 : $(), scope 142 // id: %23
  9484. } // end sil function '_TToFC3gpa23ClassSelectorControllerE'
  9485.  
  9486. sil_scope 143 { loc "ClassSelectorController.swift":27:9 parent @_TFC3gpa23ClassSelectorControllerm8selectedSi : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed ClassSelectorController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) }
  9487.  
  9488. // ClassSelectorController.selected.materializeForSet
  9489. sil hidden @_TFC3gpa23ClassSelectorControllerm8selectedSi : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed ClassSelectorController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) {
  9490. // %2 // user: %3
  9491. bb0(%0 : $Builtin.RawPointer, %1 : $*Builtin.UnsafeValueBuffer, %2 : $ClassSelectorController):
  9492. %3 = ref_element_addr %2 : $ClassSelectorController, #ClassSelectorController.selected, scope 143 // user: %4
  9493. %4 = address_to_pointer %3 : $*Int to $Builtin.RawPointer, scope 143 // user: %6
  9494. %5 = enum $Optional<Builtin.RawPointer>, #Optional.none!enumelt, scope 143 // user: %6
  9495. %6 = tuple (%4 : $Builtin.RawPointer, %5 : $Optional<Builtin.RawPointer>), scope 143 // user: %7
  9496. return %6 : $(Builtin.RawPointer, Optional<Builtin.RawPointer>), scope 143 // id: %7
  9497. } // end sil function '_TFC3gpa23ClassSelectorControllerm8selectedSi'
  9498.  
  9499. sil_scope 144 { loc "ClassSelectorController.swift":29:19 parent @_TFC3gpa23ClassSelectorControllerm14classNameFieldGSQCSo11UITextField_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed ClassSelectorController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) }
  9500.  
  9501. // ClassSelectorController.classNameField.materializeForSet
  9502. sil hidden @_TFC3gpa23ClassSelectorControllerm14classNameFieldGSQCSo11UITextField_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed ClassSelectorController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) {
  9503. // %2 // user: %3
  9504. bb0(%0 : $Builtin.RawPointer, %1 : $*Builtin.UnsafeValueBuffer, %2 : $ClassSelectorController):
  9505. %3 = ref_element_addr %2 : $ClassSelectorController, #ClassSelectorController.classNameField, scope 144 // user: %4
  9506. %4 = address_to_pointer %3 : $*Optional<UITextField> to $Builtin.RawPointer, scope 144 // user: %6
  9507. %5 = enum $Optional<Builtin.RawPointer>, #Optional.none!enumelt, scope 144 // user: %6
  9508. %6 = tuple (%4 : $Builtin.RawPointer, %5 : $Optional<Builtin.RawPointer>), scope 144 // user: %7
  9509. return %6 : $(Builtin.RawPointer, Optional<Builtin.RawPointer>), scope 144 // id: %7
  9510. } // end sil function '_TFC3gpa23ClassSelectorControllerm14classNameFieldGSQCSo11UITextField_'
  9511.  
  9512. sil_scope 145 { loc "ClassSelectorController.swift":30:19 parent @_TFC3gpa23ClassSelectorControllerm15multiplierFieldGSQCSo11UITextField_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed ClassSelectorController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) }
  9513.  
  9514. // ClassSelectorController.multiplierField.materializeForSet
  9515. sil hidden @_TFC3gpa23ClassSelectorControllerm15multiplierFieldGSQCSo11UITextField_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed ClassSelectorController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) {
  9516. // %2 // user: %3
  9517. bb0(%0 : $Builtin.RawPointer, %1 : $*Builtin.UnsafeValueBuffer, %2 : $ClassSelectorController):
  9518. %3 = ref_element_addr %2 : $ClassSelectorController, #ClassSelectorController.multiplierField, scope 145 // user: %4
  9519. %4 = address_to_pointer %3 : $*Optional<UITextField> to $Builtin.RawPointer, scope 145 // user: %6
  9520. %5 = enum $Optional<Builtin.RawPointer>, #Optional.none!enumelt, scope 145 // user: %6
  9521. %6 = tuple (%4 : $Builtin.RawPointer, %5 : $Optional<Builtin.RawPointer>), scope 145 // user: %7
  9522. return %6 : $(Builtin.RawPointer, Optional<Builtin.RawPointer>), scope 145 // id: %7
  9523. } // end sil function '_TFC3gpa23ClassSelectorControllerm15multiplierFieldGSQCSo11UITextField_'
  9524.  
  9525. sil_scope 146 { loc "ClassSelectorController.swift":31:19 parent @_TFC3gpa23ClassSelectorControllerm17currentGradeFieldGSQCSo11UITextField_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed ClassSelectorController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) }
  9526.  
  9527. // ClassSelectorController.currentGradeField.materializeForSet
  9528. sil hidden @_TFC3gpa23ClassSelectorControllerm17currentGradeFieldGSQCSo11UITextField_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed ClassSelectorController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) {
  9529. // %2 // user: %3
  9530. bb0(%0 : $Builtin.RawPointer, %1 : $*Builtin.UnsafeValueBuffer, %2 : $ClassSelectorController):
  9531. %3 = ref_element_addr %2 : $ClassSelectorController, #ClassSelectorController.currentGradeField, scope 146 // user: %4
  9532. %4 = address_to_pointer %3 : $*Optional<UITextField> to $Builtin.RawPointer, scope 146 // user: %6
  9533. %5 = enum $Optional<Builtin.RawPointer>, #Optional.none!enumelt, scope 146 // user: %6
  9534. %6 = tuple (%4 : $Builtin.RawPointer, %5 : $Optional<Builtin.RawPointer>), scope 146 // user: %7
  9535. return %6 : $(Builtin.RawPointer, Optional<Builtin.RawPointer>), scope 146 // id: %7
  9536. } // end sil function '_TFC3gpa23ClassSelectorControllerm17currentGradeFieldGSQCSo11UITextField_'
  9537.  
  9538. sil_scope 147 { loc "ClassSelectorController.swift":32:19 parent @_TFC3gpa23ClassSelectorControllerm12creditsFieldGSQCSo11UITextField_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed ClassSelectorController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) }
  9539.  
  9540. // ClassSelectorController.creditsField.materializeForSet
  9541. sil hidden @_TFC3gpa23ClassSelectorControllerm12creditsFieldGSQCSo11UITextField_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed ClassSelectorController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) {
  9542. // %2 // user: %3
  9543. bb0(%0 : $Builtin.RawPointer, %1 : $*Builtin.UnsafeValueBuffer, %2 : $ClassSelectorController):
  9544. %3 = ref_element_addr %2 : $ClassSelectorController, #ClassSelectorController.creditsField, scope 147 // user: %4
  9545. %4 = address_to_pointer %3 : $*Optional<UITextField> to $Builtin.RawPointer, scope 147 // user: %6
  9546. %5 = enum $Optional<Builtin.RawPointer>, #Optional.none!enumelt, scope 147 // user: %6
  9547. %6 = tuple (%4 : $Builtin.RawPointer, %5 : $Optional<Builtin.RawPointer>), scope 147 // user: %7
  9548. return %6 : $(Builtin.RawPointer, Optional<Builtin.RawPointer>), scope 147 // id: %7
  9549. } // end sil function '_TFC3gpa23ClassSelectorControllerm12creditsFieldGSQCSo11UITextField_'
  9550.  
  9551. sil_scope 148 { loc "ClassSelectorController.swift":34:19 parent @_TFC3gpa23ClassSelectorControllerm13multiplierBarGSQCSo18UISegmentedControl_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed ClassSelectorController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) }
  9552.  
  9553. // ClassSelectorController.multiplierBar.materializeForSet
  9554. sil hidden @_TFC3gpa23ClassSelectorControllerm13multiplierBarGSQCSo18UISegmentedControl_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed ClassSelectorController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) {
  9555. // %2 // user: %3
  9556. bb0(%0 : $Builtin.RawPointer, %1 : $*Builtin.UnsafeValueBuffer, %2 : $ClassSelectorController):
  9557. %3 = ref_element_addr %2 : $ClassSelectorController, #ClassSelectorController.multiplierBar, scope 148 // user: %4
  9558. %4 = address_to_pointer %3 : $*Optional<UISegmentedControl> to $Builtin.RawPointer, scope 148 // user: %6
  9559. %5 = enum $Optional<Builtin.RawPointer>, #Optional.none!enumelt, scope 148 // user: %6
  9560. %6 = tuple (%4 : $Builtin.RawPointer, %5 : $Optional<Builtin.RawPointer>), scope 148 // user: %7
  9561. return %6 : $(Builtin.RawPointer, Optional<Builtin.RawPointer>), scope 148 // id: %7
  9562. } // end sil function '_TFC3gpa23ClassSelectorControllerm13multiplierBarGSQCSo18UISegmentedControl_'
  9563.  
  9564. sil_scope 149 { loc "ClassSelectorController.swift":35:19 parent @_TFC3gpa23ClassSelectorControllerm10creditsBarGSQCSo18UISegmentedControl_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed ClassSelectorController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) }
  9565.  
  9566. // ClassSelectorController.creditsBar.materializeForSet
  9567. sil hidden @_TFC3gpa23ClassSelectorControllerm10creditsBarGSQCSo18UISegmentedControl_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed ClassSelectorController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) {
  9568. // %2 // user: %3
  9569. bb0(%0 : $Builtin.RawPointer, %1 : $*Builtin.UnsafeValueBuffer, %2 : $ClassSelectorController):
  9570. %3 = ref_element_addr %2 : $ClassSelectorController, #ClassSelectorController.creditsBar, scope 149 // user: %4
  9571. %4 = address_to_pointer %3 : $*Optional<UISegmentedControl> to $Builtin.RawPointer, scope 149 // user: %6
  9572. %5 = enum $Optional<Builtin.RawPointer>, #Optional.none!enumelt, scope 149 // user: %6
  9573. %6 = tuple (%4 : $Builtin.RawPointer, %5 : $Optional<Builtin.RawPointer>), scope 149 // user: %7
  9574. return %6 : $(Builtin.RawPointer, Optional<Builtin.RawPointer>), scope 149 // id: %7
  9575. } // end sil function '_TFC3gpa23ClassSelectorControllerm10creditsBarGSQCSo18UISegmentedControl_'
  9576.  
  9577. sil_scope 150 { loc "ClassSelectorController.swift":37:19 parent @_TFC3gpa23ClassSelectorControllerm12warningLabelGSQCSo7UILabel_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed ClassSelectorController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) }
  9578.  
  9579. // ClassSelectorController.warningLabel.materializeForSet
  9580. sil hidden @_TFC3gpa23ClassSelectorControllerm12warningLabelGSQCSo7UILabel_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed ClassSelectorController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) {
  9581. // %2 // user: %3
  9582. bb0(%0 : $Builtin.RawPointer, %1 : $*Builtin.UnsafeValueBuffer, %2 : $ClassSelectorController):
  9583. %3 = ref_element_addr %2 : $ClassSelectorController, #ClassSelectorController.warningLabel, scope 150 // user: %4
  9584. %4 = address_to_pointer %3 : $*Optional<UILabel> to $Builtin.RawPointer, scope 150 // user: %6
  9585. %5 = enum $Optional<Builtin.RawPointer>, #Optional.none!enumelt, scope 150 // user: %6
  9586. %6 = tuple (%4 : $Builtin.RawPointer, %5 : $Optional<Builtin.RawPointer>), scope 150 // user: %7
  9587. return %6 : $(Builtin.RawPointer, Optional<Builtin.RawPointer>), scope 150 // id: %7
  9588. } // end sil function '_TFC3gpa23ClassSelectorControllerm12warningLabelGSQCSo7UILabel_'
  9589.  
  9590. sil_scope 151 { loc "ClassSelectorController.swift":39:19 parent @_TFC3gpa23ClassSelectorControllerm14addClassButtonGSQCSo8UIButton_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed ClassSelectorController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) }
  9591.  
  9592. // ClassSelectorController.addClassButton.materializeForSet
  9593. sil hidden @_TFC3gpa23ClassSelectorControllerm14addClassButtonGSQCSo8UIButton_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed ClassSelectorController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) {
  9594. // %2 // user: %3
  9595. bb0(%0 : $Builtin.RawPointer, %1 : $*Builtin.UnsafeValueBuffer, %2 : $ClassSelectorController):
  9596. %3 = ref_element_addr %2 : $ClassSelectorController, #ClassSelectorController.addClassButton, scope 151 // user: %4
  9597. %4 = address_to_pointer %3 : $*Optional<UIButton> to $Builtin.RawPointer, scope 151 // user: %6
  9598. %5 = enum $Optional<Builtin.RawPointer>, #Optional.none!enumelt, scope 151 // user: %6
  9599. %6 = tuple (%4 : $Builtin.RawPointer, %5 : $Optional<Builtin.RawPointer>), scope 151 // user: %7
  9600. return %6 : $(Builtin.RawPointer, Optional<Builtin.RawPointer>), scope 151 // id: %7
  9601. } // end sil function '_TFC3gpa23ClassSelectorControllerm14addClassButtonGSQCSo8UIButton_'
  9602.  
  9603. sil_scope 152 { loc "ClassSelectorController.swift":40:19 parent @_TFC3gpa23ClassSelectorControllerm12cancelButtonGSQCSo15UIBarButtonItem_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed ClassSelectorController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) }
  9604.  
  9605. // ClassSelectorController.cancelButton.materializeForSet
  9606. sil hidden @_TFC3gpa23ClassSelectorControllerm12cancelButtonGSQCSo15UIBarButtonItem_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed ClassSelectorController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) {
  9607. // %2 // user: %3
  9608. bb0(%0 : $Builtin.RawPointer, %1 : $*Builtin.UnsafeValueBuffer, %2 : $ClassSelectorController):
  9609. %3 = ref_element_addr %2 : $ClassSelectorController, #ClassSelectorController.cancelButton, scope 152 // user: %4
  9610. %4 = address_to_pointer %3 : $*Optional<UIBarButtonItem> to $Builtin.RawPointer, scope 152 // user: %6
  9611. %5 = enum $Optional<Builtin.RawPointer>, #Optional.none!enumelt, scope 152 // user: %6
  9612. %6 = tuple (%4 : $Builtin.RawPointer, %5 : $Optional<Builtin.RawPointer>), scope 152 // user: %7
  9613. return %6 : $(Builtin.RawPointer, Optional<Builtin.RawPointer>), scope 152 // id: %7
  9614. } // end sil function '_TFC3gpa23ClassSelectorControllerm12cancelButtonGSQCSo15UIBarButtonItem_'
  9615.  
  9616. sil_scope 153 { loc "ClassSelectorController.swift":42:19 parent @_TFC3gpa23ClassSelectorControllerm6pickerGSQCSo12UIPickerView_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed ClassSelectorController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) }
  9617.  
  9618. // ClassSelectorController.picker.materializeForSet
  9619. sil hidden @_TFC3gpa23ClassSelectorControllerm6pickerGSQCSo12UIPickerView_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed ClassSelectorController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) {
  9620. // %2 // user: %3
  9621. bb0(%0 : $Builtin.RawPointer, %1 : $*Builtin.UnsafeValueBuffer, %2 : $ClassSelectorController):
  9622. %3 = ref_element_addr %2 : $ClassSelectorController, #ClassSelectorController.picker, scope 153 // user: %4
  9623. %4 = address_to_pointer %3 : $*Optional<UIPickerView> to $Builtin.RawPointer, scope 153 // user: %6
  9624. %5 = enum $Optional<Builtin.RawPointer>, #Optional.none!enumelt, scope 153 // user: %6
  9625. %6 = tuple (%4 : $Builtin.RawPointer, %5 : $Optional<Builtin.RawPointer>), scope 153 // user: %7
  9626. return %6 : $(Builtin.RawPointer, Optional<Builtin.RawPointer>), scope 153 // id: %7
  9627. } // end sil function '_TFC3gpa23ClassSelectorControllerm6pickerGSQCSo12UIPickerView_'
  9628.  
  9629. sil_scope 154 { loc "ClassSelectorController.swift":25:95 parent @_TFC3gpa23ClassSelectorControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ : $@convention(method) (@owned Optional<String>, @owned Optional<Bundle>, @owned ClassSelectorController) -> @owned ClassSelectorController }
  9630. sil_scope 155 { parent 154 }
  9631.  
  9632. // ClassSelectorController.init(nibName : String?, bundle : Bundle?) -> ClassSelectorController
  9633. sil hidden @_TFC3gpa23ClassSelectorControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ : $@convention(method) (@owned Optional<String>, @owned Optional<Bundle>, @owned ClassSelectorController) -> @owned ClassSelectorController {
  9634. // %0 // users: %87, %67, %6
  9635. // %1 // users: %86, %81, %7
  9636. // %2 // user: %8
  9637. bb0(%0 : $Optional<String>, %1 : $Optional<Bundle>, %2 : $ClassSelectorController):
  9638. %3 = alloc_box ${ var ClassSelectorController }, let, name "self", scope 154 // users: %88, %4
  9639. %4 = project_box %3 : ${ var ClassSelectorController }, 0, scope 154 // user: %5
  9640. %5 = mark_uninitialized [derivedself] %4 : $*ClassSelectorController, scope 154 // users: %85, %83, %64, %61, %56, %51, %46, %41, %36, %31, %26, %21, %16, %11, %8
  9641. debug_value %0 : $Optional<String>, let, name "nibNameOrNil", argno 1, scope 154 // id: %6
  9642. debug_value %1 : $Optional<Bundle>, let, name "nibBundleOrNil", argno 2, scope 154 // id: %7
  9643. store %2 to [init] %5 : $*ClassSelectorController, loc "ClassSelectorController.swift":25:95, scope 154 // id: %8
  9644. // function_ref ClassSelectorController.(selected).(variable initialization expression)
  9645. %9 = function_ref @_TIvC3gpa23ClassSelectorController8selectedSii : $@convention(thin) () -> Int, loc "ClassSelectorController.swift":27:20, scope 154 // user: %10
  9646. %10 = apply %9() : $@convention(thin) () -> Int, loc "ClassSelectorController.swift":27:20, scope 154 // user: %13
  9647. %11 = load_borrow %5 : $*ClassSelectorController, loc "ClassSelectorController.swift":27:9, scope 154 // user: %12
  9648. %12 = ref_element_addr %11 : $ClassSelectorController, #ClassSelectorController.selected, loc "ClassSelectorController.swift":27:9, scope 154 // user: %13
  9649. assign %10 to %12 : $*Int, loc "ClassSelectorController.swift":27:9, scope 154 // id: %13
  9650. // function_ref ClassSelectorController.(classNameField).(variable initialization expression)
  9651. %14 = function_ref @_TIvC3gpa23ClassSelectorController14classNameFieldGSQCSo11UITextField_i : $@convention(thin) () -> @owned Optional<UITextField>, scope 154 // user: %15
  9652. %15 = apply %14() : $@convention(thin) () -> @owned Optional<UITextField>, scope 154 // user: %18
  9653. %16 = load_borrow %5 : $*ClassSelectorController, loc "ClassSelectorController.swift":29:19, scope 154 // user: %17
  9654. %17 = ref_element_addr %16 : $ClassSelectorController, #ClassSelectorController.classNameField, loc "ClassSelectorController.swift":29:19, scope 154 // user: %18
  9655. assign %15 to %17 : $*Optional<UITextField>, loc "ClassSelectorController.swift":29:19, scope 154 // id: %18
  9656. // function_ref ClassSelectorController.(multiplierField).(variable initialization expression)
  9657. %19 = function_ref @_TIvC3gpa23ClassSelectorController15multiplierFieldGSQCSo11UITextField_i : $@convention(thin) () -> @owned Optional<UITextField>, scope 154 // user: %20
  9658. %20 = apply %19() : $@convention(thin) () -> @owned Optional<UITextField>, scope 154 // user: %23
  9659. %21 = load_borrow %5 : $*ClassSelectorController, loc "ClassSelectorController.swift":30:19, scope 154 // user: %22
  9660. %22 = ref_element_addr %21 : $ClassSelectorController, #ClassSelectorController.multiplierField, loc "ClassSelectorController.swift":30:19, scope 154 // user: %23
  9661. assign %20 to %22 : $*Optional<UITextField>, loc "ClassSelectorController.swift":30:19, scope 154 // id: %23
  9662. // function_ref ClassSelectorController.(currentGradeField).(variable initialization expression)
  9663. %24 = function_ref @_TIvC3gpa23ClassSelectorController17currentGradeFieldGSQCSo11UITextField_i : $@convention(thin) () -> @owned Optional<UITextField>, scope 154 // user: %25
  9664. %25 = apply %24() : $@convention(thin) () -> @owned Optional<UITextField>, scope 154 // user: %28
  9665. %26 = load_borrow %5 : $*ClassSelectorController, loc "ClassSelectorController.swift":31:19, scope 154 // user: %27
  9666. %27 = ref_element_addr %26 : $ClassSelectorController, #ClassSelectorController.currentGradeField, loc "ClassSelectorController.swift":31:19, scope 154 // user: %28
  9667. assign %25 to %27 : $*Optional<UITextField>, loc "ClassSelectorController.swift":31:19, scope 154 // id: %28
  9668. // function_ref ClassSelectorController.(creditsField).(variable initialization expression)
  9669. %29 = function_ref @_TIvC3gpa23ClassSelectorController12creditsFieldGSQCSo11UITextField_i : $@convention(thin) () -> @owned Optional<UITextField>, scope 154 // user: %30
  9670. %30 = apply %29() : $@convention(thin) () -> @owned Optional<UITextField>, scope 154 // user: %33
  9671. %31 = load_borrow %5 : $*ClassSelectorController, loc "ClassSelectorController.swift":32:19, scope 154 // user: %32
  9672. %32 = ref_element_addr %31 : $ClassSelectorController, #ClassSelectorController.creditsField, loc "ClassSelectorController.swift":32:19, scope 154 // user: %33
  9673. assign %30 to %32 : $*Optional<UITextField>, loc "ClassSelectorController.swift":32:19, scope 154 // id: %33
  9674. // function_ref ClassSelectorController.(multiplierBar).(variable initialization expression)
  9675. %34 = function_ref @_TIvC3gpa23ClassSelectorController13multiplierBarGSQCSo18UISegmentedControl_i : $@convention(thin) () -> @owned Optional<UISegmentedControl>, scope 154 // user: %35
  9676. %35 = apply %34() : $@convention(thin) () -> @owned Optional<UISegmentedControl>, scope 154 // user: %38
  9677. %36 = load_borrow %5 : $*ClassSelectorController, loc "ClassSelectorController.swift":34:19, scope 154 // user: %37
  9678. %37 = ref_element_addr %36 : $ClassSelectorController, #ClassSelectorController.multiplierBar, loc "ClassSelectorController.swift":34:19, scope 154 // user: %38
  9679. assign %35 to %37 : $*Optional<UISegmentedControl>, loc "ClassSelectorController.swift":34:19, scope 154 // id: %38
  9680. // function_ref ClassSelectorController.(creditsBar).(variable initialization expression)
  9681. %39 = function_ref @_TIvC3gpa23ClassSelectorController10creditsBarGSQCSo18UISegmentedControl_i : $@convention(thin) () -> @owned Optional<UISegmentedControl>, scope 154 // user: %40
  9682. %40 = apply %39() : $@convention(thin) () -> @owned Optional<UISegmentedControl>, scope 154 // user: %43
  9683. %41 = load_borrow %5 : $*ClassSelectorController, loc "ClassSelectorController.swift":35:19, scope 154 // user: %42
  9684. %42 = ref_element_addr %41 : $ClassSelectorController, #ClassSelectorController.creditsBar, loc "ClassSelectorController.swift":35:19, scope 154 // user: %43
  9685. assign %40 to %42 : $*Optional<UISegmentedControl>, loc "ClassSelectorController.swift":35:19, scope 154 // id: %43
  9686. // function_ref ClassSelectorController.(warningLabel).(variable initialization expression)
  9687. %44 = function_ref @_TIvC3gpa23ClassSelectorController12warningLabelGSQCSo7UILabel_i : $@convention(thin) () -> @owned Optional<UILabel>, scope 154 // user: %45
  9688. %45 = apply %44() : $@convention(thin) () -> @owned Optional<UILabel>, scope 154 // user: %48
  9689. %46 = load_borrow %5 : $*ClassSelectorController, loc "ClassSelectorController.swift":37:19, scope 154 // user: %47
  9690. %47 = ref_element_addr %46 : $ClassSelectorController, #ClassSelectorController.warningLabel, loc "ClassSelectorController.swift":37:19, scope 154 // user: %48
  9691. assign %45 to %47 : $*Optional<UILabel>, loc "ClassSelectorController.swift":37:19, scope 154 // id: %48
  9692. // function_ref ClassSelectorController.(addClassButton).(variable initialization expression)
  9693. %49 = function_ref @_TIvC3gpa23ClassSelectorController14addClassButtonGSQCSo8UIButton_i : $@convention(thin) () -> @owned Optional<UIButton>, scope 154 // user: %50
  9694. %50 = apply %49() : $@convention(thin) () -> @owned Optional<UIButton>, scope 154 // user: %53
  9695. %51 = load_borrow %5 : $*ClassSelectorController, loc "ClassSelectorController.swift":39:19, scope 154 // user: %52
  9696. %52 = ref_element_addr %51 : $ClassSelectorController, #ClassSelectorController.addClassButton, loc "ClassSelectorController.swift":39:19, scope 154 // user: %53
  9697. assign %50 to %52 : $*Optional<UIButton>, loc "ClassSelectorController.swift":39:19, scope 154 // id: %53
  9698. // function_ref ClassSelectorController.(cancelButton).(variable initialization expression)
  9699. %54 = function_ref @_TIvC3gpa23ClassSelectorController12cancelButtonGSQCSo15UIBarButtonItem_i : $@convention(thin) () -> @owned Optional<UIBarButtonItem>, scope 154 // user: %55
  9700. %55 = apply %54() : $@convention(thin) () -> @owned Optional<UIBarButtonItem>, scope 154 // user: %58
  9701. %56 = load_borrow %5 : $*ClassSelectorController, loc "ClassSelectorController.swift":40:19, scope 154 // user: %57
  9702. %57 = ref_element_addr %56 : $ClassSelectorController, #ClassSelectorController.cancelButton, loc "ClassSelectorController.swift":40:19, scope 154 // user: %58
  9703. assign %55 to %57 : $*Optional<UIBarButtonItem>, loc "ClassSelectorController.swift":40:19, scope 154 // id: %58
  9704. // function_ref ClassSelectorController.(picker).(variable initialization expression)
  9705. %59 = function_ref @_TIvC3gpa23ClassSelectorController6pickerGSQCSo12UIPickerView_i : $@convention(thin) () -> @owned Optional<UIPickerView>, scope 154 // user: %60
  9706. %60 = apply %59() : $@convention(thin) () -> @owned Optional<UIPickerView>, scope 154 // user: %63
  9707. %61 = load_borrow %5 : $*ClassSelectorController, loc "ClassSelectorController.swift":42:19, scope 154 // user: %62
  9708. %62 = ref_element_addr %61 : $ClassSelectorController, #ClassSelectorController.picker, loc "ClassSelectorController.swift":42:19, scope 154 // user: %63
  9709. assign %60 to %62 : $*Optional<UIPickerView>, loc "ClassSelectorController.swift":42:19, scope 154 // id: %63
  9710. %64 = load_borrow %5 : $*ClassSelectorController, scope 155 // users: %66, %65
  9711. %65 = upcast %64 : $ClassSelectorController to $UIViewController, scope 155 // user: %81
  9712. %66 = super_method [volatile] %64 : $ClassSelectorController, #UIViewController.init!initializer.1.foreign : (UIViewController.Type) -> (String?, Bundle?) -> UIViewController , $@convention(objc_method) (Optional<NSString>, Optional<Bundle>, @owned UIViewController) -> @owned UIViewController, scope 155 // user: %81
  9713. %67 = copy_value %0 : $Optional<String>, scope 155 // users: %72, %70
  9714. %68 = integer_literal $Builtin.Int1, -1, scope 155 // user: %70
  9715. %69 = integer_literal $Builtin.Int1, 0, scope 155 // user: %70
  9716. %70 = select_enum %67 : $Optional<String>, case #Optional.some!enumelt.1: %68, default %69 : $Builtin.Int1, scope 155 // user: %71
  9717. cond_br %70, bb1, bb2, scope 155 // id: %71
  9718.  
  9719. bb1: // Preds: bb0
  9720. %72 = unchecked_enum_data %67 : $Optional<String>, #Optional.some!enumelt.1, scope 155 // users: %76, %74
  9721. // function_ref String._bridgeToObjectiveC() -> NSString
  9722. %73 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, scope 155 // user: %74
  9723. %74 = apply %73(%72) : $@convention(method) (@guaranteed String) -> @owned NSString, scope 155 // user: %75
  9724. %75 = enum $Optional<NSString>, #Optional.some!enumelt.1, %74 : $NSString, scope 155 // user: %77
  9725. destroy_value %72 : $String, scope 155 // id: %76
  9726. br bb3(%75 : $Optional<NSString>), scope 155 // id: %77
  9727.  
  9728. bb2: // Preds: bb0
  9729. %78 = enum $Optional<NSString>, #Optional.none!enumelt, scope 155 // user: %79
  9730. br bb3(%78 : $Optional<NSString>), scope 155 // id: %79
  9731.  
  9732. // %80 // users: %84, %81
  9733. bb3(%80 : $Optional<NSString>): // Preds: bb2 bb1
  9734. %81 = apply %66(%80, %1, %65) : $@convention(objc_method) (Optional<NSString>, Optional<Bundle>, @owned UIViewController) -> @owned UIViewController, scope 155 // user: %82
  9735. %82 = unchecked_ref_cast %81 : $UIViewController to $ClassSelectorController, scope 155 // user: %83
  9736. store %82 to [init] %5 : $*ClassSelectorController, scope 155 // id: %83
  9737. destroy_value %80 : $Optional<NSString>, scope 155 // id: %84
  9738. %85 = load [copy] %5 : $*ClassSelectorController, loc "ClassSelectorController.swift":25:95, scope 155 // user: %89
  9739. destroy_value %1 : $Optional<Bundle>, loc "ClassSelectorController.swift":25:95, scope 155 // id: %86
  9740. destroy_value %0 : $Optional<String>, loc "ClassSelectorController.swift":25:95, scope 155 // id: %87
  9741. destroy_value %3 : ${ var ClassSelectorController }, loc "ClassSelectorController.swift":25:95, scope 155 // id: %88
  9742. return %85 : $ClassSelectorController, loc "ClassSelectorController.swift":25:95, scope 155 // id: %89
  9743. } // end sil function '_TFC3gpa23ClassSelectorControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_'
  9744.  
  9745. sil_scope 156 { loc "ClassSelectorController.swift":25:95 parent @_TFC3gpa23ClassSelectorControllerCfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ : $@convention(method) (@owned Optional<String>, @owned Optional<Bundle>, @thick ClassSelectorController.Type) -> @owned ClassSelectorController }
  9746.  
  9747. // ClassSelectorController.__allocating_init(nibName : String?, bundle : Bundle?) -> ClassSelectorController
  9748. sil hidden @_TFC3gpa23ClassSelectorControllerCfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ : $@convention(method) (@owned Optional<String>, @owned Optional<Bundle>, @thick ClassSelectorController.Type) -> @owned ClassSelectorController {
  9749. // %0 // user: %5
  9750. // %1 // user: %5
  9751. bb0(%0 : $Optional<String>, %1 : $Optional<Bundle>, %2 : $@thick ClassSelectorController.Type):
  9752. %3 = alloc_ref [objc] $ClassSelectorController, scope 156 // user: %5
  9753. // function_ref ClassSelectorController.init(nibName : String?, bundle : Bundle?) -> ClassSelectorController
  9754. %4 = function_ref @_TFC3gpa23ClassSelectorControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ : $@convention(method) (@owned Optional<String>, @owned Optional<Bundle>, @owned ClassSelectorController) -> @owned ClassSelectorController, scope 156 // user: %5
  9755. %5 = apply %4(%0, %1, %3) : $@convention(method) (@owned Optional<String>, @owned Optional<Bundle>, @owned ClassSelectorController) -> @owned ClassSelectorController, scope 156 // user: %6
  9756. return %5 : $ClassSelectorController, scope 156 // id: %6
  9757. } // end sil function '_TFC3gpa23ClassSelectorControllerCfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_'
  9758.  
  9759. sil_scope 157 { loc "ClassSelectorController.swift":25:95 parent @_TToFC3gpa23ClassSelectorControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ : $@convention(objc_method) (Optional<NSString>, Optional<Bundle>, @owned ClassSelectorController) -> @owned ClassSelectorController }
  9760.  
  9761. // @objc ClassSelectorController.init(nibName : String?, bundle : Bundle?) -> ClassSelectorController
  9762. sil hidden [thunk] @_TToFC3gpa23ClassSelectorControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ : $@convention(objc_method) (Optional<NSString>, Optional<Bundle>, @owned ClassSelectorController) -> @owned ClassSelectorController {
  9763. // %0 // user: %3
  9764. // %1 // user: %4
  9765. // %2 // user: %20
  9766. bb0(%0 : $Optional<NSString>, %1 : $Optional<Bundle>, %2 : $ClassSelectorController):
  9767. %3 = copy_value %0 : $Optional<NSString>, scope 157 // users: %9, %7
  9768. %4 = copy_value %1 : $Optional<Bundle>, scope 157 // user: %20
  9769. %5 = integer_literal $Builtin.Int1, -1, scope 157 // user: %7
  9770. %6 = integer_literal $Builtin.Int1, 0, scope 157 // user: %7
  9771. %7 = select_enum %3 : $Optional<NSString>, case #Optional.some!enumelt.1: %5, default %6 : $Builtin.Int1, scope 157 // user: %8
  9772. cond_br %7, bb1, bb2, scope 157 // id: %8
  9773.  
  9774. bb1: // Preds: bb0
  9775. %9 = unchecked_enum_data %3 : $Optional<NSString>, #Optional.some!enumelt.1, scope 157 // user: %11
  9776. // function_ref static String._unconditionallyBridgeFromObjectiveC(NSString?) -> String
  9777. %10 = function_ref @_TZFE10FoundationSS36_unconditionallyBridgeFromObjectiveCfGSqCSo8NSString_SS : $@convention(method) (@owned Optional<NSString>, @thin String.Type) -> @owned String, scope 157 // user: %13
  9778. %11 = enum $Optional<NSString>, #Optional.some!enumelt.1, %9 : $NSString, scope 157 // user: %13
  9779. %12 = metatype $@thin String.Type, scope 157 // user: %13
  9780. %13 = apply %10(%11, %12) : $@convention(method) (@owned Optional<NSString>, @thin String.Type) -> @owned String, scope 157 // user: %14
  9781. %14 = enum $Optional<String>, #Optional.some!enumelt.1, %13 : $String, scope 157 // user: %15
  9782. br bb3(%14 : $Optional<String>), scope 157 // id: %15
  9783.  
  9784. bb2: // Preds: bb0
  9785. %16 = enum $Optional<String>, #Optional.none!enumelt, scope 157 // user: %17
  9786. br bb3(%16 : $Optional<String>), scope 157 // id: %17
  9787.  
  9788. // %18 // user: %20
  9789. bb3(%18 : $Optional<String>): // Preds: bb2 bb1
  9790. // function_ref ClassSelectorController.init(nibName : String?, bundle : Bundle?) -> ClassSelectorController
  9791. %19 = function_ref @_TFC3gpa23ClassSelectorControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ : $@convention(method) (@owned Optional<String>, @owned Optional<Bundle>, @owned ClassSelectorController) -> @owned ClassSelectorController, scope 157 // user: %20
  9792. %20 = apply %19(%18, %4, %2) : $@convention(method) (@owned Optional<String>, @owned Optional<Bundle>, @owned ClassSelectorController) -> @owned ClassSelectorController, scope 157 // user: %21
  9793. return %20 : $ClassSelectorController, scope 157 // id: %21
  9794. } // end sil function '_TToFC3gpa23ClassSelectorControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_'
  9795.  
  9796. sil_scope 158 { loc "ClassSelectorController.swift":25:95 parent @_TFC3gpa23ClassSelectorControllerCfT5coderCSo7NSCoder_GSqS0__ : $@convention(method) (@owned NSCoder, @thick ClassSelectorController.Type) -> @owned Optional<ClassSelectorController> }
  9797.  
  9798. // ClassSelectorController.__allocating_init(coder : NSCoder) -> ClassSelectorController?
  9799. sil hidden @_TFC3gpa23ClassSelectorControllerCfT5coderCSo7NSCoder_GSqS0__ : $@convention(method) (@owned NSCoder, @thick ClassSelectorController.Type) -> @owned Optional<ClassSelectorController> {
  9800. // %0 // user: %4
  9801. bb0(%0 : $NSCoder, %1 : $@thick ClassSelectorController.Type):
  9802. %2 = alloc_ref [objc] $ClassSelectorController, scope 158 // user: %4
  9803. // function_ref ClassSelectorController.init(coder : NSCoder) -> ClassSelectorController?
  9804. %3 = function_ref @_TFC3gpa23ClassSelectorControllercfT5coderCSo7NSCoder_GSqS0__ : $@convention(method) (@owned NSCoder, @owned ClassSelectorController) -> @owned Optional<ClassSelectorController>, scope 158 // user: %4
  9805. %4 = apply %3(%0, %2) : $@convention(method) (@owned NSCoder, @owned ClassSelectorController) -> @owned Optional<ClassSelectorController>, scope 158 // user: %5
  9806. return %4 : $Optional<ClassSelectorController>, scope 158 // id: %5
  9807. } // end sil function '_TFC3gpa23ClassSelectorControllerCfT5coderCSo7NSCoder_GSqS0__'
  9808.  
  9809. sil_scope 159 { loc "ClassSelectorController.swift":25:95 parent @_TFC3gpa23ClassSelectorControllercfT5coderCSo7NSCoder_GSqS0__ : $@convention(method) (@owned NSCoder, @owned ClassSelectorController) -> @owned Optional<ClassSelectorController> }
  9810. sil_scope 160 { parent 159 }
  9811.  
  9812. // ClassSelectorController.init(coder : NSCoder) -> ClassSelectorController?
  9813. sil hidden @_TFC3gpa23ClassSelectorControllercfT5coderCSo7NSCoder_GSqS0__ : $@convention(method) (@owned NSCoder, @owned ClassSelectorController) -> @owned Optional<ClassSelectorController> {
  9814. // %0 // users: %75, %65, %78, %5
  9815. // %1 // user: %6
  9816. bb0(%0 : $NSCoder, %1 : $ClassSelectorController):
  9817. %2 = alloc_box ${ var ClassSelectorController }, let, name "self", scope 159 // users: %76, %79, %3
  9818. %3 = project_box %2 : ${ var ClassSelectorController }, 0, scope 159 // user: %4
  9819. %4 = mark_uninitialized [derivedself] %3 : $*ClassSelectorController, scope 159 // users: %73, %72, %62, %59, %54, %49, %44, %39, %34, %29, %24, %19, %14, %9, %6
  9820. debug_value %0 : $NSCoder, let, name "aDecoder", argno 1, scope 159 // id: %5
  9821. store %1 to [init] %4 : $*ClassSelectorController, loc "ClassSelectorController.swift":25:95, scope 159 // id: %6
  9822. // function_ref ClassSelectorController.(selected).(variable initialization expression)
  9823. %7 = function_ref @_TIvC3gpa23ClassSelectorController8selectedSii : $@convention(thin) () -> Int, loc "ClassSelectorController.swift":27:20, scope 159 // user: %8
  9824. %8 = apply %7() : $@convention(thin) () -> Int, loc "ClassSelectorController.swift":27:20, scope 159 // user: %11
  9825. %9 = load_borrow %4 : $*ClassSelectorController, loc "ClassSelectorController.swift":27:9, scope 159 // user: %10
  9826. %10 = ref_element_addr %9 : $ClassSelectorController, #ClassSelectorController.selected, loc "ClassSelectorController.swift":27:9, scope 159 // user: %11
  9827. assign %8 to %10 : $*Int, loc "ClassSelectorController.swift":27:9, scope 159 // id: %11
  9828. // function_ref ClassSelectorController.(classNameField).(variable initialization expression)
  9829. %12 = function_ref @_TIvC3gpa23ClassSelectorController14classNameFieldGSQCSo11UITextField_i : $@convention(thin) () -> @owned Optional<UITextField>, scope 159 // user: %13
  9830. %13 = apply %12() : $@convention(thin) () -> @owned Optional<UITextField>, scope 159 // user: %16
  9831. %14 = load_borrow %4 : $*ClassSelectorController, loc "ClassSelectorController.swift":29:19, scope 159 // user: %15
  9832. %15 = ref_element_addr %14 : $ClassSelectorController, #ClassSelectorController.classNameField, loc "ClassSelectorController.swift":29:19, scope 159 // user: %16
  9833. assign %13 to %15 : $*Optional<UITextField>, loc "ClassSelectorController.swift":29:19, scope 159 // id: %16
  9834. // function_ref ClassSelectorController.(multiplierField).(variable initialization expression)
  9835. %17 = function_ref @_TIvC3gpa23ClassSelectorController15multiplierFieldGSQCSo11UITextField_i : $@convention(thin) () -> @owned Optional<UITextField>, scope 159 // user: %18
  9836. %18 = apply %17() : $@convention(thin) () -> @owned Optional<UITextField>, scope 159 // user: %21
  9837. %19 = load_borrow %4 : $*ClassSelectorController, loc "ClassSelectorController.swift":30:19, scope 159 // user: %20
  9838. %20 = ref_element_addr %19 : $ClassSelectorController, #ClassSelectorController.multiplierField, loc "ClassSelectorController.swift":30:19, scope 159 // user: %21
  9839. assign %18 to %20 : $*Optional<UITextField>, loc "ClassSelectorController.swift":30:19, scope 159 // id: %21
  9840. // function_ref ClassSelectorController.(currentGradeField).(variable initialization expression)
  9841. %22 = function_ref @_TIvC3gpa23ClassSelectorController17currentGradeFieldGSQCSo11UITextField_i : $@convention(thin) () -> @owned Optional<UITextField>, scope 159 // user: %23
  9842. %23 = apply %22() : $@convention(thin) () -> @owned Optional<UITextField>, scope 159 // user: %26
  9843. %24 = load_borrow %4 : $*ClassSelectorController, loc "ClassSelectorController.swift":31:19, scope 159 // user: %25
  9844. %25 = ref_element_addr %24 : $ClassSelectorController, #ClassSelectorController.currentGradeField, loc "ClassSelectorController.swift":31:19, scope 159 // user: %26
  9845. assign %23 to %25 : $*Optional<UITextField>, loc "ClassSelectorController.swift":31:19, scope 159 // id: %26
  9846. // function_ref ClassSelectorController.(creditsField).(variable initialization expression)
  9847. %27 = function_ref @_TIvC3gpa23ClassSelectorController12creditsFieldGSQCSo11UITextField_i : $@convention(thin) () -> @owned Optional<UITextField>, scope 159 // user: %28
  9848. %28 = apply %27() : $@convention(thin) () -> @owned Optional<UITextField>, scope 159 // user: %31
  9849. %29 = load_borrow %4 : $*ClassSelectorController, loc "ClassSelectorController.swift":32:19, scope 159 // user: %30
  9850. %30 = ref_element_addr %29 : $ClassSelectorController, #ClassSelectorController.creditsField, loc "ClassSelectorController.swift":32:19, scope 159 // user: %31
  9851. assign %28 to %30 : $*Optional<UITextField>, loc "ClassSelectorController.swift":32:19, scope 159 // id: %31
  9852. // function_ref ClassSelectorController.(multiplierBar).(variable initialization expression)
  9853. %32 = function_ref @_TIvC3gpa23ClassSelectorController13multiplierBarGSQCSo18UISegmentedControl_i : $@convention(thin) () -> @owned Optional<UISegmentedControl>, scope 159 // user: %33
  9854. %33 = apply %32() : $@convention(thin) () -> @owned Optional<UISegmentedControl>, scope 159 // user: %36
  9855. %34 = load_borrow %4 : $*ClassSelectorController, loc "ClassSelectorController.swift":34:19, scope 159 // user: %35
  9856. %35 = ref_element_addr %34 : $ClassSelectorController, #ClassSelectorController.multiplierBar, loc "ClassSelectorController.swift":34:19, scope 159 // user: %36
  9857. assign %33 to %35 : $*Optional<UISegmentedControl>, loc "ClassSelectorController.swift":34:19, scope 159 // id: %36
  9858. // function_ref ClassSelectorController.(creditsBar).(variable initialization expression)
  9859. %37 = function_ref @_TIvC3gpa23ClassSelectorController10creditsBarGSQCSo18UISegmentedControl_i : $@convention(thin) () -> @owned Optional<UISegmentedControl>, scope 159 // user: %38
  9860. %38 = apply %37() : $@convention(thin) () -> @owned Optional<UISegmentedControl>, scope 159 // user: %41
  9861. %39 = load_borrow %4 : $*ClassSelectorController, loc "ClassSelectorController.swift":35:19, scope 159 // user: %40
  9862. %40 = ref_element_addr %39 : $ClassSelectorController, #ClassSelectorController.creditsBar, loc "ClassSelectorController.swift":35:19, scope 159 // user: %41
  9863. assign %38 to %40 : $*Optional<UISegmentedControl>, loc "ClassSelectorController.swift":35:19, scope 159 // id: %41
  9864. // function_ref ClassSelectorController.(warningLabel).(variable initialization expression)
  9865. %42 = function_ref @_TIvC3gpa23ClassSelectorController12warningLabelGSQCSo7UILabel_i : $@convention(thin) () -> @owned Optional<UILabel>, scope 159 // user: %43
  9866. %43 = apply %42() : $@convention(thin) () -> @owned Optional<UILabel>, scope 159 // user: %46
  9867. %44 = load_borrow %4 : $*ClassSelectorController, loc "ClassSelectorController.swift":37:19, scope 159 // user: %45
  9868. %45 = ref_element_addr %44 : $ClassSelectorController, #ClassSelectorController.warningLabel, loc "ClassSelectorController.swift":37:19, scope 159 // user: %46
  9869. assign %43 to %45 : $*Optional<UILabel>, loc "ClassSelectorController.swift":37:19, scope 159 // id: %46
  9870. // function_ref ClassSelectorController.(addClassButton).(variable initialization expression)
  9871. %47 = function_ref @_TIvC3gpa23ClassSelectorController14addClassButtonGSQCSo8UIButton_i : $@convention(thin) () -> @owned Optional<UIButton>, scope 159 // user: %48
  9872. %48 = apply %47() : $@convention(thin) () -> @owned Optional<UIButton>, scope 159 // user: %51
  9873. %49 = load_borrow %4 : $*ClassSelectorController, loc "ClassSelectorController.swift":39:19, scope 159 // user: %50
  9874. %50 = ref_element_addr %49 : $ClassSelectorController, #ClassSelectorController.addClassButton, loc "ClassSelectorController.swift":39:19, scope 159 // user: %51
  9875. assign %48 to %50 : $*Optional<UIButton>, loc "ClassSelectorController.swift":39:19, scope 159 // id: %51
  9876. // function_ref ClassSelectorController.(cancelButton).(variable initialization expression)
  9877. %52 = function_ref @_TIvC3gpa23ClassSelectorController12cancelButtonGSQCSo15UIBarButtonItem_i : $@convention(thin) () -> @owned Optional<UIBarButtonItem>, scope 159 // user: %53
  9878. %53 = apply %52() : $@convention(thin) () -> @owned Optional<UIBarButtonItem>, scope 159 // user: %56
  9879. %54 = load_borrow %4 : $*ClassSelectorController, loc "ClassSelectorController.swift":40:19, scope 159 // user: %55
  9880. %55 = ref_element_addr %54 : $ClassSelectorController, #ClassSelectorController.cancelButton, loc "ClassSelectorController.swift":40:19, scope 159 // user: %56
  9881. assign %53 to %55 : $*Optional<UIBarButtonItem>, loc "ClassSelectorController.swift":40:19, scope 159 // id: %56
  9882. // function_ref ClassSelectorController.(picker).(variable initialization expression)
  9883. %57 = function_ref @_TIvC3gpa23ClassSelectorController6pickerGSQCSo12UIPickerView_i : $@convention(thin) () -> @owned Optional<UIPickerView>, scope 159 // user: %58
  9884. %58 = apply %57() : $@convention(thin) () -> @owned Optional<UIPickerView>, scope 159 // user: %61
  9885. %59 = load_borrow %4 : $*ClassSelectorController, loc "ClassSelectorController.swift":42:19, scope 159 // user: %60
  9886. %60 = ref_element_addr %59 : $ClassSelectorController, #ClassSelectorController.picker, loc "ClassSelectorController.swift":42:19, scope 159 // user: %61
  9887. assign %58 to %60 : $*Optional<UIPickerView>, loc "ClassSelectorController.swift":42:19, scope 159 // id: %61
  9888. %62 = load_borrow %4 : $*ClassSelectorController, scope 160 // users: %64, %63
  9889. %63 = upcast %62 : $ClassSelectorController to $UIViewController, scope 160 // user: %65
  9890. %64 = super_method [volatile] %62 : $ClassSelectorController, #UIViewController.init!initializer.1.foreign : (UIViewController.Type) -> (NSCoder) -> UIViewController? , $@convention(objc_method) (NSCoder, @owned UIViewController) -> @owned Optional<UIViewController>, scope 160 // user: %65
  9891. %65 = apply %64(%0, %63) : $@convention(objc_method) (NSCoder, @owned UIViewController) -> @owned Optional<UIViewController>, scope 160 // users: %70, %68
  9892. %66 = integer_literal $Builtin.Int1, -1, scope 160 // user: %68
  9893. %67 = integer_literal $Builtin.Int1, 0, scope 160 // user: %68
  9894. %68 = select_enum %65 : $Optional<UIViewController>, case #Optional.some!enumelt.1: %66, default %67 : $Builtin.Int1, scope 160 // user: %69
  9895. cond_br %68, bb1, bb2, scope 160 // id: %69
  9896.  
  9897. bb1: // Preds: bb0
  9898. %70 = unchecked_enum_data %65 : $Optional<UIViewController>, #Optional.some!enumelt.1, scope 160 // user: %71
  9899. %71 = unchecked_ref_cast %70 : $UIViewController to $ClassSelectorController, scope 160 // user: %72
  9900. store %71 to [init] %4 : $*ClassSelectorController, scope 160 // id: %72
  9901. %73 = load [copy] %4 : $*ClassSelectorController, loc "ClassSelectorController.swift":25:95, scope 160 // user: %74
  9902. %74 = enum $Optional<ClassSelectorController>, #Optional.some!enumelt.1, %73 : $ClassSelectorController, scope 160 // user: %77
  9903. destroy_value %0 : $NSCoder, loc "ClassSelectorController.swift":25:95, scope 160 // id: %75
  9904. destroy_value %2 : ${ var ClassSelectorController }, loc "ClassSelectorController.swift":25:95, scope 160 // id: %76
  9905. br bb3(%74 : $Optional<ClassSelectorController>), loc "ClassSelectorController.swift":25:95, scope 160 // id: %77
  9906.  
  9907. bb2: // Preds: bb0
  9908. destroy_value %0 : $NSCoder, loc "ClassSelectorController.swift":25:95, scope 159 // id: %78
  9909. destroy_value %2 : ${ var ClassSelectorController }, loc "ClassSelectorController.swift":25:95, scope 159 // id: %79
  9910. %80 = enum $Optional<ClassSelectorController>, #Optional.none!enumelt, scope 159 // user: %81
  9911. br bb3(%80 : $Optional<ClassSelectorController>), scope 159 // id: %81
  9912.  
  9913. // %82 // user: %83
  9914. bb3(%82 : $Optional<ClassSelectorController>): // Preds: bb1 bb2
  9915. return %82 : $Optional<ClassSelectorController>, scope 159 // id: %83
  9916. } // end sil function '_TFC3gpa23ClassSelectorControllercfT5coderCSo7NSCoder_GSqS0__'
  9917.  
  9918. sil_scope 161 { loc "ClassSelectorController.swift":25:95 parent @_TToFC3gpa23ClassSelectorControllercfT5coderCSo7NSCoder_GSqS0__ : $@convention(objc_method) (NSCoder, @owned ClassSelectorController) -> @owned Optional<ClassSelectorController> }
  9919.  
  9920. // @objc ClassSelectorController.init(coder : NSCoder) -> ClassSelectorController?
  9921. sil hidden [thunk] @_TToFC3gpa23ClassSelectorControllercfT5coderCSo7NSCoder_GSqS0__ : $@convention(objc_method) (NSCoder, @owned ClassSelectorController) -> @owned Optional<ClassSelectorController> {
  9922. // %0 // user: %2
  9923. // %1 // user: %4
  9924. bb0(%0 : $NSCoder, %1 : $ClassSelectorController):
  9925. %2 = copy_value %0 : $NSCoder, scope 161 // user: %4
  9926. // function_ref ClassSelectorController.init(coder : NSCoder) -> ClassSelectorController?
  9927. %3 = function_ref @_TFC3gpa23ClassSelectorControllercfT5coderCSo7NSCoder_GSqS0__ : $@convention(method) (@owned NSCoder, @owned ClassSelectorController) -> @owned Optional<ClassSelectorController>, scope 161 // user: %4
  9928. %4 = apply %3(%2, %1) : $@convention(method) (@owned NSCoder, @owned ClassSelectorController) -> @owned Optional<ClassSelectorController>, scope 161 // user: %5
  9929. return %4 : $Optional<ClassSelectorController>, scope 161 // id: %5
  9930. } // end sil function '_TToFC3gpa23ClassSelectorControllercfT5coderCSo7NSCoder_GSqS0__'
  9931.  
  9932. sil_vtable ClassSelectorController {
  9933. #ClassSelectorController.viewDidLoad!1: _TFC3gpa23ClassSelectorController11viewDidLoadfT_T_ // ClassSelectorController.viewDidLoad() -> ()
  9934. #ClassSelectorController.didReceiveMemoryWarning!1: _TFC3gpa23ClassSelectorController23didReceiveMemoryWarningfT_T_ // ClassSelectorController.didReceiveMemoryWarning() -> ()
  9935. #ClassSelectorController.pickerView!1: _TFC3gpa23ClassSelectorController10pickerViewfTCSo12UIPickerView11titleForRowSi12forComponentSi_GSqSS_ // ClassSelectorController.pickerView(UIPickerView, titleForRow : Int, forComponent : Int) -> String?
  9936. #ClassSelectorController.numberOfComponents!1: _TFC3gpa23ClassSelectorController18numberOfComponentsfT2inCSo12UIPickerView_Si // ClassSelectorController.numberOfComponents(in : UIPickerView) -> Int
  9937. #ClassSelectorController.pickerView!1: _TFC3gpa23ClassSelectorController10pickerViewfTCSo12UIPickerView23numberOfRowsInComponentSi_Si // ClassSelectorController.pickerView(UIPickerView, numberOfRowsInComponent : Int) -> Int
  9938. #ClassSelectorController.pickerView!1: _TFC3gpa23ClassSelectorController10pickerViewfTCSo12UIPickerView12didSelectRowSi11inComponentSi_T_ // ClassSelectorController.pickerView(UIPickerView, didSelectRow : Int, inComponent : Int) -> ()
  9939. #ClassSelectorController.updateClass!1: _TFC3gpa23ClassSelectorController11updateClassfP_T_ // ClassSelectorController.updateClass(Any) -> ()
  9940. #ClassSelectorController.touchesBegan!1: _TFC3gpa23ClassSelectorController12touchesBeganfTGVs3SetCSo7UITouch_4withGSqCSo7UIEvent__T_ // ClassSelectorController.touchesBegan(Set<UITouch>, with : UIEvent?) -> ()
  9941. #ClassSelectorController.deinit!deallocator: _TFC3gpa23ClassSelectorControllerD // ClassSelectorController.__deallocating_deinit
  9942. #ClassSelectorController.selected!getter.1: _TFC3gpa23ClassSelectorControllerg8selectedSi // ClassSelectorController.selected.getter
  9943. #ClassSelectorController.selected!setter.1: _TFC3gpa23ClassSelectorControllers8selectedSi // ClassSelectorController.selected.setter
  9944. #ClassSelectorController.selected!materializeForSet.1: _TFC3gpa23ClassSelectorControllerm8selectedSi // ClassSelectorController.selected.materializeForSet
  9945. #ClassSelectorController.classNameField!getter.1: _TFC3gpa23ClassSelectorControllerg14classNameFieldGSQCSo11UITextField_ // ClassSelectorController.classNameField.getter
  9946. #ClassSelectorController.classNameField!setter.1: _TFC3gpa23ClassSelectorControllers14classNameFieldGSQCSo11UITextField_ // ClassSelectorController.classNameField.setter
  9947. #ClassSelectorController.classNameField!materializeForSet.1: _TFC3gpa23ClassSelectorControllerm14classNameFieldGSQCSo11UITextField_ // ClassSelectorController.classNameField.materializeForSet
  9948. #ClassSelectorController.multiplierField!getter.1: _TFC3gpa23ClassSelectorControllerg15multiplierFieldGSQCSo11UITextField_ // ClassSelectorController.multiplierField.getter
  9949. #ClassSelectorController.multiplierField!setter.1: _TFC3gpa23ClassSelectorControllers15multiplierFieldGSQCSo11UITextField_ // ClassSelectorController.multiplierField.setter
  9950. #ClassSelectorController.multiplierField!materializeForSet.1: _TFC3gpa23ClassSelectorControllerm15multiplierFieldGSQCSo11UITextField_ // ClassSelectorController.multiplierField.materializeForSet
  9951. #ClassSelectorController.currentGradeField!getter.1: _TFC3gpa23ClassSelectorControllerg17currentGradeFieldGSQCSo11UITextField_ // ClassSelectorController.currentGradeField.getter
  9952. #ClassSelectorController.currentGradeField!setter.1: _TFC3gpa23ClassSelectorControllers17currentGradeFieldGSQCSo11UITextField_ // ClassSelectorController.currentGradeField.setter
  9953. #ClassSelectorController.currentGradeField!materializeForSet.1: _TFC3gpa23ClassSelectorControllerm17currentGradeFieldGSQCSo11UITextField_ // ClassSelectorController.currentGradeField.materializeForSet
  9954. #ClassSelectorController.creditsField!getter.1: _TFC3gpa23ClassSelectorControllerg12creditsFieldGSQCSo11UITextField_ // ClassSelectorController.creditsField.getter
  9955. #ClassSelectorController.creditsField!setter.1: _TFC3gpa23ClassSelectorControllers12creditsFieldGSQCSo11UITextField_ // ClassSelectorController.creditsField.setter
  9956. #ClassSelectorController.creditsField!materializeForSet.1: _TFC3gpa23ClassSelectorControllerm12creditsFieldGSQCSo11UITextField_ // ClassSelectorController.creditsField.materializeForSet
  9957. #ClassSelectorController.multiplierBar!getter.1: _TFC3gpa23ClassSelectorControllerg13multiplierBarGSQCSo18UISegmentedControl_ // ClassSelectorController.multiplierBar.getter
  9958. #ClassSelectorController.multiplierBar!setter.1: _TFC3gpa23ClassSelectorControllers13multiplierBarGSQCSo18UISegmentedControl_ // ClassSelectorController.multiplierBar.setter
  9959. #ClassSelectorController.multiplierBar!materializeForSet.1: _TFC3gpa23ClassSelectorControllerm13multiplierBarGSQCSo18UISegmentedControl_ // ClassSelectorController.multiplierBar.materializeForSet
  9960. #ClassSelectorController.creditsBar!getter.1: _TFC3gpa23ClassSelectorControllerg10creditsBarGSQCSo18UISegmentedControl_ // ClassSelectorController.creditsBar.getter
  9961. #ClassSelectorController.creditsBar!setter.1: _TFC3gpa23ClassSelectorControllers10creditsBarGSQCSo18UISegmentedControl_ // ClassSelectorController.creditsBar.setter
  9962. #ClassSelectorController.creditsBar!materializeForSet.1: _TFC3gpa23ClassSelectorControllerm10creditsBarGSQCSo18UISegmentedControl_ // ClassSelectorController.creditsBar.materializeForSet
  9963. #ClassSelectorController.warningLabel!getter.1: _TFC3gpa23ClassSelectorControllerg12warningLabelGSQCSo7UILabel_ // ClassSelectorController.warningLabel.getter
  9964. #ClassSelectorController.warningLabel!setter.1: _TFC3gpa23ClassSelectorControllers12warningLabelGSQCSo7UILabel_ // ClassSelectorController.warningLabel.setter
  9965. #ClassSelectorController.warningLabel!materializeForSet.1: _TFC3gpa23ClassSelectorControllerm12warningLabelGSQCSo7UILabel_ // ClassSelectorController.warningLabel.materializeForSet
  9966. #ClassSelectorController.addClassButton!getter.1: _TFC3gpa23ClassSelectorControllerg14addClassButtonGSQCSo8UIButton_ // ClassSelectorController.addClassButton.getter
  9967. #ClassSelectorController.addClassButton!setter.1: _TFC3gpa23ClassSelectorControllers14addClassButtonGSQCSo8UIButton_ // ClassSelectorController.addClassButton.setter
  9968. #ClassSelectorController.addClassButton!materializeForSet.1: _TFC3gpa23ClassSelectorControllerm14addClassButtonGSQCSo8UIButton_ // ClassSelectorController.addClassButton.materializeForSet
  9969. #ClassSelectorController.cancelButton!getter.1: _TFC3gpa23ClassSelectorControllerg12cancelButtonGSQCSo15UIBarButtonItem_ // ClassSelectorController.cancelButton.getter
  9970. #ClassSelectorController.cancelButton!setter.1: _TFC3gpa23ClassSelectorControllers12cancelButtonGSQCSo15UIBarButtonItem_ // ClassSelectorController.cancelButton.setter
  9971. #ClassSelectorController.cancelButton!materializeForSet.1: _TFC3gpa23ClassSelectorControllerm12cancelButtonGSQCSo15UIBarButtonItem_ // ClassSelectorController.cancelButton.materializeForSet
  9972. #ClassSelectorController.picker!getter.1: _TFC3gpa23ClassSelectorControllerg6pickerGSQCSo12UIPickerView_ // ClassSelectorController.picker.getter
  9973. #ClassSelectorController.picker!setter.1: _TFC3gpa23ClassSelectorControllers6pickerGSQCSo12UIPickerView_ // ClassSelectorController.picker.setter
  9974. #ClassSelectorController.picker!materializeForSet.1: _TFC3gpa23ClassSelectorControllerm6pickerGSQCSo12UIPickerView_ // ClassSelectorController.picker.materializeForSet
  9975. #ClassSelectorController.init!initializer.1: _TFC3gpa23ClassSelectorControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ // ClassSelectorController.init(nibName : String?, bundle : Bundle?) -> ClassSelectorController
  9976. #ClassSelectorController.init!allocator.1: _TFC3gpa23ClassSelectorControllerCfT5coderCSo7NSCoder_GSqS0__ // ClassSelectorController.__allocating_init(coder : NSCoder) -> ClassSelectorController?
  9977. #ClassSelectorController.init!initializer.1: _TFC3gpa23ClassSelectorControllercfT5coderCSo7NSCoder_GSqS0__ // ClassSelectorController.init(coder : NSCoder) -> ClassSelectorController?
  9978. }
  9979.  
  9980. sil_witness_table ClassSelectorController: UIPickerViewDelegate module gpa
  9981.  
  9982. sil_witness_table ClassSelectorController: UIPickerViewDataSource module gpa
  9983.  
  9984. sil_witness_table shared NSObject: AnyObject module ObjectiveC
  9985.  
  9986.  
  9987.  
  9988. sil_stage raw
  9989.  
  9990. import Builtin
  9991. import Swift
  9992. import SwiftShims
  9993.  
  9994. sil_scope 1 { parent @_TIvC3gpa17GPAViewController16westlakeGPALabelGSQCSo7UILabel_i : $@convention(thin) () -> @owned Optional<UILabel> }
  9995.  
  9996. // GPAViewController.(westlakeGPALabel).(variable initialization expression)
  9997. sil hidden [transparent] @_TIvC3gpa17GPAViewController16westlakeGPALabelGSQCSo7UILabel_i : $@convention(thin) () -> @owned Optional<UILabel> {
  9998. bb0:
  9999. // function_ref ImplicitlyUnwrappedOptional.init(nilLiteral : ()) -> A!
  10000. %0 = function_ref @_TFSQCfT10nilLiteralT__GSQx_ : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 1 // user: %3
  10001. %1 = metatype $@thin ImplicitlyUnwrappedOptional<UILabel>.Type, scope 1 // user: %3
  10002. %2 = alloc_stack $Optional<UILabel>, scope 1 // users: %5, %4, %3
  10003. %3 = apply %0<UILabel>(%2, %1) : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 1
  10004. %4 = load [take] %2 : $*Optional<UILabel>, scope 1 // user: %6
  10005. dealloc_stack %2 : $*Optional<UILabel>, scope 1 // id: %5
  10006. return %4 : $Optional<UILabel>, scope 1 // id: %6
  10007. } // end sil function '_TIvC3gpa17GPAViewController16westlakeGPALabelGSQCSo7UILabel_i'
  10008.  
  10009.  
  10010. // ImplicitlyUnwrappedOptional.init(nilLiteral : ()) -> A!
  10011. sil [transparent] [fragile] @_TFSQCfT10nilLiteralT__GSQx_ : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>
  10012.  
  10013. sil_scope 2 { parent @_TToFC3gpa17GPAViewControllerg16westlakeGPALabelGSQCSo7UILabel_ : $@convention(objc_method) (GPAViewController) -> @autoreleased Optional<UILabel> }
  10014.  
  10015. // @objc GPAViewController.westlakeGPALabel.getter
  10016. sil hidden [thunk] @_TToFC3gpa17GPAViewControllerg16westlakeGPALabelGSQCSo7UILabel_ : $@convention(objc_method) (GPAViewController) -> @autoreleased Optional<UILabel> {
  10017. // %0 // user: %1
  10018. bb0(%0 : $GPAViewController):
  10019. %1 = copy_value %0 : $GPAViewController, scope 2 // users: %4, %3
  10020. // function_ref GPAViewController.westlakeGPALabel.getter
  10021. %2 = function_ref @_TFC3gpa17GPAViewControllerg16westlakeGPALabelGSQCSo7UILabel_ : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, scope 2 // user: %3
  10022. %3 = apply %2(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, scope 2 // user: %5
  10023. destroy_value %1 : $GPAViewController, scope 2 // id: %4
  10024. return %3 : $Optional<UILabel>, scope 2 // id: %5
  10025. } // end sil function '_TToFC3gpa17GPAViewControllerg16westlakeGPALabelGSQCSo7UILabel_'
  10026.  
  10027. sil_scope 3 { loc "GPAViewController.swift":27:19 parent @_TFC3gpa17GPAViewControllerg16westlakeGPALabelGSQCSo7UILabel_ : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel> }
  10028. sil_scope 4 { loc "GPAViewController.swift":27:19 parent 3 }
  10029.  
  10030. // GPAViewController.westlakeGPALabel.getter
  10031. sil hidden @_TFC3gpa17GPAViewControllerg16westlakeGPALabelGSQCSo7UILabel_ : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel> {
  10032. // %0 // users: %2, %1
  10033. bb0(%0 : $GPAViewController):
  10034. debug_value %0 : $GPAViewController, let, name "self", argno 1, loc "GPAViewController.swift":27:19, scope 3 // id: %1
  10035. %2 = ref_element_addr %0 : $GPAViewController, #GPAViewController.westlakeGPALabel, scope 4 // user: %3
  10036. %3 = load [copy] %2 : $*Optional<UILabel>, scope 4 // user: %4
  10037. return %3 : $Optional<UILabel>, loc "GPAViewController.swift":27:19, scope 4 // id: %4
  10038. } // end sil function '_TFC3gpa17GPAViewControllerg16westlakeGPALabelGSQCSo7UILabel_'
  10039.  
  10040. sil_scope 5 { parent @_TToFC3gpa17GPAViewControllers16westlakeGPALabelGSQCSo7UILabel_ : $@convention(objc_method) (Optional<UILabel>, GPAViewController) -> () }
  10041.  
  10042. // @objc GPAViewController.westlakeGPALabel.setter
  10043. sil hidden [thunk] @_TToFC3gpa17GPAViewControllers16westlakeGPALabelGSQCSo7UILabel_ : $@convention(objc_method) (Optional<UILabel>, GPAViewController) -> () {
  10044. // %0 // user: %2
  10045. // %1 // user: %3
  10046. bb0(%0 : $Optional<UILabel>, %1 : $GPAViewController):
  10047. %2 = copy_value %0 : $Optional<UILabel>, scope 5 // user: %5
  10048. %3 = copy_value %1 : $GPAViewController, scope 5 // users: %6, %5
  10049. // function_ref GPAViewController.westlakeGPALabel.setter
  10050. %4 = function_ref @_TFC3gpa17GPAViewControllers16westlakeGPALabelGSQCSo7UILabel_ : $@convention(method) (@owned Optional<UILabel>, @guaranteed GPAViewController) -> (), scope 5 // user: %5
  10051. %5 = apply %4(%2, %3) : $@convention(method) (@owned Optional<UILabel>, @guaranteed GPAViewController) -> (), scope 5 // user: %7
  10052. destroy_value %3 : $GPAViewController, scope 5 // id: %6
  10053. return %5 : $(), scope 5 // id: %7
  10054. } // end sil function '_TToFC3gpa17GPAViewControllers16westlakeGPALabelGSQCSo7UILabel_'
  10055.  
  10056. sil_scope 6 { loc "GPAViewController.swift":27:19 parent @_TFC3gpa17GPAViewControllers16westlakeGPALabelGSQCSo7UILabel_ : $@convention(method) (@owned Optional<UILabel>, @guaranteed GPAViewController) -> () }
  10057. sil_scope 7 { loc "GPAViewController.swift":27:19 parent 6 }
  10058.  
  10059. // GPAViewController.westlakeGPALabel.setter
  10060. sil hidden @_TFC3gpa17GPAViewControllers16westlakeGPALabelGSQCSo7UILabel_ : $@convention(method) (@owned Optional<UILabel>, @guaranteed GPAViewController) -> () {
  10061. // %0 // users: %7, %4, %2
  10062. // %1 // users: %5, %3
  10063. bb0(%0 : $Optional<UILabel>, %1 : $GPAViewController):
  10064. debug_value %0 : $Optional<UILabel>, let, name "value", argno 1, loc "GPAViewController.swift":27:19, scope 6 // id: %2
  10065. debug_value %1 : $GPAViewController, let, name "self", argno 2, loc "GPAViewController.swift":27:19, scope 6 // id: %3
  10066. %4 = copy_value %0 : $Optional<UILabel>, scope 7 // user: %6
  10067. %5 = ref_element_addr %1 : $GPAViewController, #GPAViewController.westlakeGPALabel, scope 7 // user: %6
  10068. assign %4 to %5 : $*Optional<UILabel>, scope 7 // id: %6
  10069. destroy_value %0 : $Optional<UILabel>, loc "GPAViewController.swift":27:19, scope 7 // id: %7
  10070. %8 = tuple (), loc "GPAViewController.swift":27:19, scope 7 // user: %9
  10071. return %8 : $(), loc "GPAViewController.swift":27:19, scope 7 // id: %9
  10072. } // end sil function '_TFC3gpa17GPAViewControllers16westlakeGPALabelGSQCSo7UILabel_'
  10073.  
  10074. sil_scope 8 { parent @_TIvC3gpa17GPAViewController16standardGPALabelGSQCSo7UILabel_i : $@convention(thin) () -> @owned Optional<UILabel> }
  10075.  
  10076. // GPAViewController.(standardGPALabel).(variable initialization expression)
  10077. sil hidden [transparent] @_TIvC3gpa17GPAViewController16standardGPALabelGSQCSo7UILabel_i : $@convention(thin) () -> @owned Optional<UILabel> {
  10078. bb0:
  10079. // function_ref ImplicitlyUnwrappedOptional.init(nilLiteral : ()) -> A!
  10080. %0 = function_ref @_TFSQCfT10nilLiteralT__GSQx_ : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 8 // user: %3
  10081. %1 = metatype $@thin ImplicitlyUnwrappedOptional<UILabel>.Type, scope 8 // user: %3
  10082. %2 = alloc_stack $Optional<UILabel>, scope 8 // users: %5, %4, %3
  10083. %3 = apply %0<UILabel>(%2, %1) : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 8
  10084. %4 = load [take] %2 : $*Optional<UILabel>, scope 8 // user: %6
  10085. dealloc_stack %2 : $*Optional<UILabel>, scope 8 // id: %5
  10086. return %4 : $Optional<UILabel>, scope 8 // id: %6
  10087. } // end sil function '_TIvC3gpa17GPAViewController16standardGPALabelGSQCSo7UILabel_i'
  10088.  
  10089. sil_scope 9 { parent @_TToFC3gpa17GPAViewControllerg16standardGPALabelGSQCSo7UILabel_ : $@convention(objc_method) (GPAViewController) -> @autoreleased Optional<UILabel> }
  10090.  
  10091. // @objc GPAViewController.standardGPALabel.getter
  10092. sil hidden [thunk] @_TToFC3gpa17GPAViewControllerg16standardGPALabelGSQCSo7UILabel_ : $@convention(objc_method) (GPAViewController) -> @autoreleased Optional<UILabel> {
  10093. // %0 // user: %1
  10094. bb0(%0 : $GPAViewController):
  10095. %1 = copy_value %0 : $GPAViewController, scope 9 // users: %4, %3
  10096. // function_ref GPAViewController.standardGPALabel.getter
  10097. %2 = function_ref @_TFC3gpa17GPAViewControllerg16standardGPALabelGSQCSo7UILabel_ : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, scope 9 // user: %3
  10098. %3 = apply %2(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, scope 9 // user: %5
  10099. destroy_value %1 : $GPAViewController, scope 9 // id: %4
  10100. return %3 : $Optional<UILabel>, scope 9 // id: %5
  10101. } // end sil function '_TToFC3gpa17GPAViewControllerg16standardGPALabelGSQCSo7UILabel_'
  10102.  
  10103. sil_scope 10 { loc "GPAViewController.swift":28:19 parent @_TFC3gpa17GPAViewControllerg16standardGPALabelGSQCSo7UILabel_ : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel> }
  10104. sil_scope 11 { loc "GPAViewController.swift":28:19 parent 10 }
  10105.  
  10106. // GPAViewController.standardGPALabel.getter
  10107. sil hidden @_TFC3gpa17GPAViewControllerg16standardGPALabelGSQCSo7UILabel_ : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel> {
  10108. // %0 // users: %2, %1
  10109. bb0(%0 : $GPAViewController):
  10110. debug_value %0 : $GPAViewController, let, name "self", argno 1, loc "GPAViewController.swift":28:19, scope 10 // id: %1
  10111. %2 = ref_element_addr %0 : $GPAViewController, #GPAViewController.standardGPALabel, scope 11 // user: %3
  10112. %3 = load [copy] %2 : $*Optional<UILabel>, scope 11 // user: %4
  10113. return %3 : $Optional<UILabel>, loc "GPAViewController.swift":28:19, scope 11 // id: %4
  10114. } // end sil function '_TFC3gpa17GPAViewControllerg16standardGPALabelGSQCSo7UILabel_'
  10115.  
  10116. sil_scope 12 { parent @_TToFC3gpa17GPAViewControllers16standardGPALabelGSQCSo7UILabel_ : $@convention(objc_method) (Optional<UILabel>, GPAViewController) -> () }
  10117.  
  10118. // @objc GPAViewController.standardGPALabel.setter
  10119. sil hidden [thunk] @_TToFC3gpa17GPAViewControllers16standardGPALabelGSQCSo7UILabel_ : $@convention(objc_method) (Optional<UILabel>, GPAViewController) -> () {
  10120. // %0 // user: %2
  10121. // %1 // user: %3
  10122. bb0(%0 : $Optional<UILabel>, %1 : $GPAViewController):
  10123. %2 = copy_value %0 : $Optional<UILabel>, scope 12 // user: %5
  10124. %3 = copy_value %1 : $GPAViewController, scope 12 // users: %6, %5
  10125. // function_ref GPAViewController.standardGPALabel.setter
  10126. %4 = function_ref @_TFC3gpa17GPAViewControllers16standardGPALabelGSQCSo7UILabel_ : $@convention(method) (@owned Optional<UILabel>, @guaranteed GPAViewController) -> (), scope 12 // user: %5
  10127. %5 = apply %4(%2, %3) : $@convention(method) (@owned Optional<UILabel>, @guaranteed GPAViewController) -> (), scope 12 // user: %7
  10128. destroy_value %3 : $GPAViewController, scope 12 // id: %6
  10129. return %5 : $(), scope 12 // id: %7
  10130. } // end sil function '_TToFC3gpa17GPAViewControllers16standardGPALabelGSQCSo7UILabel_'
  10131.  
  10132. sil_scope 13 { loc "GPAViewController.swift":28:19 parent @_TFC3gpa17GPAViewControllers16standardGPALabelGSQCSo7UILabel_ : $@convention(method) (@owned Optional<UILabel>, @guaranteed GPAViewController) -> () }
  10133. sil_scope 14 { loc "GPAViewController.swift":28:19 parent 13 }
  10134.  
  10135. // GPAViewController.standardGPALabel.setter
  10136. sil hidden @_TFC3gpa17GPAViewControllers16standardGPALabelGSQCSo7UILabel_ : $@convention(method) (@owned Optional<UILabel>, @guaranteed GPAViewController) -> () {
  10137. // %0 // users: %7, %4, %2
  10138. // %1 // users: %5, %3
  10139. bb0(%0 : $Optional<UILabel>, %1 : $GPAViewController):
  10140. debug_value %0 : $Optional<UILabel>, let, name "value", argno 1, loc "GPAViewController.swift":28:19, scope 13 // id: %2
  10141. debug_value %1 : $GPAViewController, let, name "self", argno 2, loc "GPAViewController.swift":28:19, scope 13 // id: %3
  10142. %4 = copy_value %0 : $Optional<UILabel>, scope 14 // user: %6
  10143. %5 = ref_element_addr %1 : $GPAViewController, #GPAViewController.standardGPALabel, scope 14 // user: %6
  10144. assign %4 to %5 : $*Optional<UILabel>, scope 14 // id: %6
  10145. destroy_value %0 : $Optional<UILabel>, loc "GPAViewController.swift":28:19, scope 14 // id: %7
  10146. %8 = tuple (), loc "GPAViewController.swift":28:19, scope 14 // user: %9
  10147. return %8 : $(), loc "GPAViewController.swift":28:19, scope 14 // id: %9
  10148. } // end sil function '_TFC3gpa17GPAViewControllers16standardGPALabelGSQCSo7UILabel_'
  10149.  
  10150. sil_scope 15 { parent @_TIvC3gpa17GPAViewController16letterGradeLabelGSQCSo7UILabel_i : $@convention(thin) () -> @owned Optional<UILabel> }
  10151.  
  10152. // GPAViewController.(letterGradeLabel).(variable initialization expression)
  10153. sil hidden [transparent] @_TIvC3gpa17GPAViewController16letterGradeLabelGSQCSo7UILabel_i : $@convention(thin) () -> @owned Optional<UILabel> {
  10154. bb0:
  10155. // function_ref ImplicitlyUnwrappedOptional.init(nilLiteral : ()) -> A!
  10156. %0 = function_ref @_TFSQCfT10nilLiteralT__GSQx_ : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 15 // user: %3
  10157. %1 = metatype $@thin ImplicitlyUnwrappedOptional<UILabel>.Type, scope 15 // user: %3
  10158. %2 = alloc_stack $Optional<UILabel>, scope 15 // users: %5, %4, %3
  10159. %3 = apply %0<UILabel>(%2, %1) : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 15
  10160. %4 = load [take] %2 : $*Optional<UILabel>, scope 15 // user: %6
  10161. dealloc_stack %2 : $*Optional<UILabel>, scope 15 // id: %5
  10162. return %4 : $Optional<UILabel>, scope 15 // id: %6
  10163. } // end sil function '_TIvC3gpa17GPAViewController16letterGradeLabelGSQCSo7UILabel_i'
  10164.  
  10165. sil_scope 16 { parent @_TToFC3gpa17GPAViewControllerg16letterGradeLabelGSQCSo7UILabel_ : $@convention(objc_method) (GPAViewController) -> @autoreleased Optional<UILabel> }
  10166.  
  10167. // @objc GPAViewController.letterGradeLabel.getter
  10168. sil hidden [thunk] @_TToFC3gpa17GPAViewControllerg16letterGradeLabelGSQCSo7UILabel_ : $@convention(objc_method) (GPAViewController) -> @autoreleased Optional<UILabel> {
  10169. // %0 // user: %1
  10170. bb0(%0 : $GPAViewController):
  10171. %1 = copy_value %0 : $GPAViewController, scope 16 // users: %4, %3
  10172. // function_ref GPAViewController.letterGradeLabel.getter
  10173. %2 = function_ref @_TFC3gpa17GPAViewControllerg16letterGradeLabelGSQCSo7UILabel_ : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, scope 16 // user: %3
  10174. %3 = apply %2(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, scope 16 // user: %5
  10175. destroy_value %1 : $GPAViewController, scope 16 // id: %4
  10176. return %3 : $Optional<UILabel>, scope 16 // id: %5
  10177. } // end sil function '_TToFC3gpa17GPAViewControllerg16letterGradeLabelGSQCSo7UILabel_'
  10178.  
  10179. sil_scope 17 { loc "GPAViewController.swift":29:19 parent @_TFC3gpa17GPAViewControllerg16letterGradeLabelGSQCSo7UILabel_ : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel> }
  10180. sil_scope 18 { loc "GPAViewController.swift":29:19 parent 17 }
  10181.  
  10182. // GPAViewController.letterGradeLabel.getter
  10183. sil hidden @_TFC3gpa17GPAViewControllerg16letterGradeLabelGSQCSo7UILabel_ : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel> {
  10184. // %0 // users: %2, %1
  10185. bb0(%0 : $GPAViewController):
  10186. debug_value %0 : $GPAViewController, let, name "self", argno 1, loc "GPAViewController.swift":29:19, scope 17 // id: %1
  10187. %2 = ref_element_addr %0 : $GPAViewController, #GPAViewController.letterGradeLabel, scope 18 // user: %3
  10188. %3 = load [copy] %2 : $*Optional<UILabel>, scope 18 // user: %4
  10189. return %3 : $Optional<UILabel>, loc "GPAViewController.swift":29:19, scope 18 // id: %4
  10190. } // end sil function '_TFC3gpa17GPAViewControllerg16letterGradeLabelGSQCSo7UILabel_'
  10191.  
  10192. sil_scope 19 { parent @_TToFC3gpa17GPAViewControllers16letterGradeLabelGSQCSo7UILabel_ : $@convention(objc_method) (Optional<UILabel>, GPAViewController) -> () }
  10193.  
  10194. // @objc GPAViewController.letterGradeLabel.setter
  10195. sil hidden [thunk] @_TToFC3gpa17GPAViewControllers16letterGradeLabelGSQCSo7UILabel_ : $@convention(objc_method) (Optional<UILabel>, GPAViewController) -> () {
  10196. // %0 // user: %2
  10197. // %1 // user: %3
  10198. bb0(%0 : $Optional<UILabel>, %1 : $GPAViewController):
  10199. %2 = copy_value %0 : $Optional<UILabel>, scope 19 // user: %5
  10200. %3 = copy_value %1 : $GPAViewController, scope 19 // users: %6, %5
  10201. // function_ref GPAViewController.letterGradeLabel.setter
  10202. %4 = function_ref @_TFC3gpa17GPAViewControllers16letterGradeLabelGSQCSo7UILabel_ : $@convention(method) (@owned Optional<UILabel>, @guaranteed GPAViewController) -> (), scope 19 // user: %5
  10203. %5 = apply %4(%2, %3) : $@convention(method) (@owned Optional<UILabel>, @guaranteed GPAViewController) -> (), scope 19 // user: %7
  10204. destroy_value %3 : $GPAViewController, scope 19 // id: %6
  10205. return %5 : $(), scope 19 // id: %7
  10206. } // end sil function '_TToFC3gpa17GPAViewControllers16letterGradeLabelGSQCSo7UILabel_'
  10207.  
  10208. sil_scope 20 { loc "GPAViewController.swift":29:19 parent @_TFC3gpa17GPAViewControllers16letterGradeLabelGSQCSo7UILabel_ : $@convention(method) (@owned Optional<UILabel>, @guaranteed GPAViewController) -> () }
  10209. sil_scope 21 { loc "GPAViewController.swift":29:19 parent 20 }
  10210.  
  10211. // GPAViewController.letterGradeLabel.setter
  10212. sil hidden @_TFC3gpa17GPAViewControllers16letterGradeLabelGSQCSo7UILabel_ : $@convention(method) (@owned Optional<UILabel>, @guaranteed GPAViewController) -> () {
  10213. // %0 // users: %7, %4, %2
  10214. // %1 // users: %5, %3
  10215. bb0(%0 : $Optional<UILabel>, %1 : $GPAViewController):
  10216. debug_value %0 : $Optional<UILabel>, let, name "value", argno 1, loc "GPAViewController.swift":29:19, scope 20 // id: %2
  10217. debug_value %1 : $GPAViewController, let, name "self", argno 2, loc "GPAViewController.swift":29:19, scope 20 // id: %3
  10218. %4 = copy_value %0 : $Optional<UILabel>, scope 21 // user: %6
  10219. %5 = ref_element_addr %1 : $GPAViewController, #GPAViewController.letterGradeLabel, scope 21 // user: %6
  10220. assign %4 to %5 : $*Optional<UILabel>, scope 21 // id: %6
  10221. destroy_value %0 : $Optional<UILabel>, loc "GPAViewController.swift":29:19, scope 21 // id: %7
  10222. %8 = tuple (), loc "GPAViewController.swift":29:19, scope 21 // user: %9
  10223. return %8 : $(), loc "GPAViewController.swift":29:19, scope 21 // id: %9
  10224. } // end sil function '_TFC3gpa17GPAViewControllers16letterGradeLabelGSQCSo7UILabel_'
  10225.  
  10226. sil_scope 22 { loc "GPAViewController.swift":31:19 parent @_TFC3gpa17GPAViewController14viewWillAppearfSbT_ : $@convention(method) (Bool, @guaranteed GPAViewController) -> () }
  10227. sil_scope 23 { loc "GPAViewController.swift":137:5 parent 22 }
  10228. sil_scope 24 { loc "GPAViewController.swift":43:9 parent 23 }
  10229. sil_scope 25 { loc "GPAViewController.swift":43:9 parent 24 }
  10230. sil_scope 26 { loc "GPAViewController.swift":124:9 parent 23 }
  10231. sil_scope 27 { loc "GPAViewController.swift":66:26 parent 23 }
  10232. sil_scope 28 { loc "GPAViewController.swift":124:9 parent 23 }
  10233. sil_scope 29 { loc "GPAViewController.swift":71:26 parent 23 }
  10234. sil_scope 30 { loc "GPAViewController.swift":124:9 parent 23 }
  10235. sil_scope 31 { loc "GPAViewController.swift":76:26 parent 23 }
  10236. sil_scope 32 { loc "GPAViewController.swift":124:9 parent 23 }
  10237. sil_scope 33 { loc "GPAViewController.swift":81:26 parent 23 }
  10238. sil_scope 34 { loc "GPAViewController.swift":124:9 parent 23 }
  10239. sil_scope 35 { loc "GPAViewController.swift":86:26 parent 23 }
  10240. sil_scope 36 { loc "GPAViewController.swift":124:9 parent 23 }
  10241. sil_scope 37 { loc "GPAViewController.swift":91:26 parent 23 }
  10242. sil_scope 38 { loc "GPAViewController.swift":124:9 parent 23 }
  10243. sil_scope 39 { loc "GPAViewController.swift":96:26 parent 23 }
  10244. sil_scope 40 { loc "GPAViewController.swift":124:9 parent 23 }
  10245. sil_scope 41 { loc "GPAViewController.swift":101:26 parent 23 }
  10246. sil_scope 42 { loc "GPAViewController.swift":124:9 parent 23 }
  10247. sil_scope 43 { loc "GPAViewController.swift":106:26 parent 23 }
  10248. sil_scope 44 { loc "GPAViewController.swift":124:9 parent 23 }
  10249. sil_scope 45 { loc "GPAViewController.swift":111:26 parent 23 }
  10250. sil_scope 46 { loc "GPAViewController.swift":124:9 parent 23 }
  10251. sil_scope 47 { loc "GPAViewController.swift":116:26 parent 23 }
  10252. sil_scope 48 { loc "GPAViewController.swift":124:9 parent 23 }
  10253. sil_scope 49 { loc "GPAViewController.swift":121:26 parent 23 }
  10254. sil_scope 50 { loc "GPAViewController.swift":123:17 parent 23 }
  10255. sil_scope 51 { loc "GPAViewController.swift":133:9 parent 23 }
  10256. sil_scope 52 { loc "GPAViewController.swift":52:9 parent 23 }
  10257.  
  10258. // GPAViewController.viewWillAppear(Bool) -> ()
  10259. sil hidden @_TFC3gpa17GPAViewController14viewWillAppearfSbT_ : $@convention(method) (Bool, @guaranteed GPAViewController) -> () {
  10260. // %0 // users: %8, %2
  10261. // %1 // users: %1511, %1510, %1439, %1438, %1689, %1688, %1649, %1648, %1609, %1608, %1373, %1372, %1348, %1347, %1277, %1276, %1252, %1251, %1181, %1180, %1156, %1155, %1085, %1084, %1060, %1059, %989, %988, %964, %963, %893, %892, %868, %867, %797, %796, %772, %771, %701, %700, %676, %675, %605, %604, %580, %579, %509, %508, %484, %483, %413, %412, %388, %387, %317, %316, %292, %291, %160, %159, %1835, %1834, %1795, %1794, %1755, %1754, %4, %3
  10262. bb0(%0 : $Bool, %1 : $GPAViewController):
  10263. debug_value %0 : $Bool, let, name "animated", argno 1, loc "GPAViewController.swift":31:36, scope 22 // id: %2
  10264. debug_value %1 : $GPAViewController, let, name "self", argno 2, loc "GPAViewController.swift":31:19, scope 22 // id: %3
  10265. %4 = copy_value %1 : $GPAViewController, loc "GPAViewController.swift":32:9, scope 23 // users: %10, %6, %5
  10266. %5 = upcast %4 : $GPAViewController to $UIViewController, loc "GPAViewController.swift":32:9, scope 23 // user: %9
  10267. %6 = super_method [volatile] %4 : $GPAViewController, #UIViewController.viewWillAppear!1.foreign : (UIViewController) -> (Bool) -> () , $@convention(objc_method) (ObjCBool, UIViewController) -> (), loc "GPAViewController.swift":32:15, scope 23 // user: %9
  10268. // function_ref _convertBoolToObjCBool(Bool) -> ObjCBool
  10269. %7 = function_ref @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool, loc "GPAViewController.swift":32:30, scope 23 // user: %8
  10270. %8 = apply %7(%0) : $@convention(thin) (Bool) -> ObjCBool, loc "GPAViewController.swift":32:30, scope 23 // user: %9
  10271. %9 = apply %6(%8, %5) : $@convention(objc_method) (ObjCBool, UIViewController) -> (), loc "GPAViewController.swift":32:38, scope 23
  10272. destroy_value %4 : $GPAViewController, loc "GPAViewController.swift":32:38, scope 23 // id: %10
  10273. // function_ref static Information.initializeArray() -> ()
  10274. %11 = function_ref @_TZFC3gpa11Information15initializeArrayfT_T_ : $@convention(method) (@thick Information.Type) -> (), loc "GPAViewController.swift":33:21, scope 23 // user: %13
  10275. %12 = metatype $@thick Information.Type, loc "GPAViewController.swift":33:9, scope 23 // user: %13
  10276. %13 = apply %11(%12) : $@convention(method) (@thick Information.Type) -> (), loc "GPAViewController.swift":33:37, scope 23
  10277. %14 = alloc_box ${ var Double }, var, name "totalWestlakeGrades", loc "GPAViewController.swift":35:13, scope 23 // users: %1585, %1731, %1875, %15
  10278. %15 = project_box %14 : ${ var Double }, 0, loc "GPAViewController.swift":35:13, scope 23 // users: %127, %71, %20
  10279. // function_ref Double.init(_builtinFloatLiteral : Builtin.Float64) -> Double
  10280. %16 = function_ref @_TFSdCfT20_builtinFloatLiteralBf64__Sd : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "GPAViewController.swift":35:35, scope 23 // user: %19
  10281. %17 = metatype $@thin Double.Type, loc "GPAViewController.swift":35:35, scope 23 // user: %19
  10282. %18 = float_literal $Builtin.FPIEEE64, 0x0 // 0, loc "GPAViewController.swift":35:35, scope 23 // user: %19
  10283. %19 = apply %16(%18, %17) : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "GPAViewController.swift":35:35, scope 23 // user: %20
  10284. store %19 to [trivial] %15 : $*Double, loc "GPAViewController.swift":35:35, scope 23 // id: %20
  10285. %21 = alloc_box ${ var Double }, var, name "totalStandardCredit", loc "GPAViewController.swift":36:13, scope 23 // users: %1584, %1730, %1874, %22
  10286. %22 = project_box %21 : ${ var Double }, 0, loc "GPAViewController.swift":36:13, scope 23 // users: %232, %92, %86, %27
  10287. // function_ref Double.init(_builtinFloatLiteral : Builtin.Float64) -> Double
  10288. %23 = function_ref @_TFSdCfT20_builtinFloatLiteralBf64__Sd : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "GPAViewController.swift":36:35, scope 23 // user: %26
  10289. %24 = metatype $@thin Double.Type, loc "GPAViewController.swift":36:35, scope 23 // user: %26
  10290. %25 = float_literal $Builtin.FPIEEE64, 0x0 // 0, loc "GPAViewController.swift":36:35, scope 23 // user: %26
  10291. %26 = apply %23(%25, %24) : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "GPAViewController.swift":36:35, scope 23 // user: %27
  10292. store %26 to [trivial] %22 : $*Double, loc "GPAViewController.swift":36:35, scope 23 // id: %27
  10293. %28 = alloc_box ${ var Double }, var, name "totalStandardGrades", loc "GPAViewController.swift":37:13, scope 23 // users: %1583, %1729, %1873, %29
  10294. %29 = project_box %28 : ${ var Double }, 0, loc "GPAViewController.swift":37:13, scope 23 // users: %231, %82, %34
  10295. // function_ref Double.init(_builtinFloatLiteral : Builtin.Float64) -> Double
  10296. %30 = function_ref @_TFSdCfT20_builtinFloatLiteralBf64__Sd : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "GPAViewController.swift":37:35, scope 23 // user: %33
  10297. %31 = metatype $@thin Double.Type, loc "GPAViewController.swift":37:35, scope 23 // user: %33
  10298. %32 = float_literal $Builtin.FPIEEE64, 0x0 // 0, loc "GPAViewController.swift":37:35, scope 23 // user: %33
  10299. %33 = apply %30(%32, %31) : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "GPAViewController.swift":37:35, scope 23 // user: %34
  10300. store %33 to [trivial] %29 : $*Double, loc "GPAViewController.swift":37:35, scope 23 // id: %34
  10301. %35 = alloc_box ${ var IndexingIterator<Array<Information>> }, var, name "$classAndGrade$generator", loc "GPAViewController.swift":39:27, scope 24 // users: %89, %36
  10302. %36 = project_box %35 : ${ var IndexingIterator<Array<Information>> }, 0, loc "GPAViewController.swift":39:27, scope 24 // users: %52, %45
  10303. // function_ref Collection<A where ...>.makeIterator() -> IndexingIterator<A>
  10304. %37 = function_ref @_TFesRxs10Collectionwx8IteratorzGVs16IndexingIteratorx_WxS0_7Element_zwx8_ElementrS_12makeIteratorfT_GS1_x_ : $@convention(method) <τ_0_0 where τ_0_0 : Collection, τ_0_0.Iterator == IndexingIterator<τ_0_0>, τ_0_0.Iterator.Element == τ_0_0._Element> (@in_guaranteed τ_0_0) -> @out IndexingIterator<τ_0_0>, loc "GPAViewController.swift":39:42, scope 24 // user: %45
  10305. %38 = metatype $@thick Information.Type, loc "GPAViewController.swift":39:30, scope 24
  10306. // function_ref Information.classesAndGrades.unsafeMutableAddressor
  10307. %39 = function_ref @_TFC3gpa11Informationau16classesAndGradesGSaS0__ : $@convention(thin) () -> Builtin.RawPointer, loc "GPAViewController.swift":39:42, scope 24 // user: %40
  10308. %40 = apply %39() : $@convention(thin) () -> Builtin.RawPointer, loc "GPAViewController.swift":39:42, scope 24 // user: %41
  10309. %41 = pointer_to_address %40 : $Builtin.RawPointer to [strict] $*Array<Information>, loc "GPAViewController.swift":39:42, scope 24 // user: %42
  10310. %42 = load [copy] %41 : $*Array<Information>, loc "GPAViewController.swift":39:42, scope 24 // user: %44
  10311. %43 = alloc_stack $Array<Information>, loc "GPAViewController.swift":39:42, scope 24 // users: %48, %46, %45, %44
  10312. store %42 to [init] %43 : $*Array<Information>, loc "GPAViewController.swift":39:42, scope 24 // id: %44
  10313. %45 = apply %37<[Information]>(%36, %43) : $@convention(method) <τ_0_0 where τ_0_0 : Collection, τ_0_0.Iterator == IndexingIterator<τ_0_0>, τ_0_0.Iterator.Element == τ_0_0._Element> (@in_guaranteed τ_0_0) -> @out IndexingIterator<τ_0_0>, loc "GPAViewController.swift":39:42, scope 24
  10314. %46 = load [take] %43 : $*Array<Information>, loc "GPAViewController.swift":39:42, scope 24 // user: %47
  10315. destroy_value %46 : $Array<Information>, loc "GPAViewController.swift":39:42, scope 24 // id: %47
  10316. dealloc_stack %43 : $*Array<Information>, loc "GPAViewController.swift":39:42, scope 24 // id: %48
  10317. br bb1, loc "GPAViewController.swift":39:9, scope 24 // id: %49
  10318.  
  10319. bb1: // Preds: bb2 bb0
  10320. // function_ref IndexingIterator.next() -> A._Element?
  10321. %50 = function_ref @_TFVs16IndexingIterator4nextfT_GSqwx8_Element_ : $@convention(method) <τ_0_0 where τ_0_0 : _IndexableBase> (@inout IndexingIterator<τ_0_0>) -> @out Optional<τ_0_0._Element>, loc "GPAViewController.swift":39:27, scope 24 // user: %52
  10322. %51 = alloc_stack $Optional<Information>, loc "GPAViewController.swift":39:27, scope 24 // users: %54, %53, %52
  10323. %52 = apply %50<[Information]>(%51, %36) : $@convention(method) <τ_0_0 where τ_0_0 : _IndexableBase> (@inout IndexingIterator<τ_0_0>) -> @out Optional<τ_0_0._Element>, loc "GPAViewController.swift":39:27, scope 24
  10324. %53 = load [take] %51 : $*Optional<Information>, loc "GPAViewController.swift":39:27, scope 24 // users: %59, %57
  10325. dealloc_stack %51 : $*Optional<Information>, loc "GPAViewController.swift":39:27, scope 24 // id: %54
  10326. %55 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":39:9, scope 24 // user: %57
  10327. %56 = integer_literal $Builtin.Int1, 0, loc "GPAViewController.swift":39:9, scope 24 // user: %57
  10328. %57 = select_enum %53 : $Optional<Information>, case #Optional.some!enumelt.1: %55, default %56 : $Builtin.Int1, loc "GPAViewController.swift":39:9, scope 24 // user: %58
  10329. cond_br %57, bb2, bb3, loc "GPAViewController.swift":39:9, scope 24 // id: %58
  10330.  
  10331. bb2: // Preds: bb1
  10332. %59 = unchecked_enum_data %53 : $Optional<Information>, #Optional.some!enumelt.1, loc "GPAViewController.swift":39:9, scope 24 // users: %87, %85, %84, %80, %79, %77, %76, %69, %68, %66, %65, %60
  10333. debug_value %59 : $Information, let, name "classAndGrade", loc "GPAViewController.swift":39:13, scope 24 // id: %60
  10334. // function_ref += infix(inout Double, Double) -> ()
  10335. %61 = function_ref @_TFsoi2peFTRSdSd_T_ : $@convention(thin) (@inout Double, Double) -> (), loc "GPAViewController.swift":40:33, scope 25 // user: %71
  10336. // function_ref * infix(Double, Double) -> Double
  10337. %62 = function_ref @_TFsoi1mFTSdSd_Sd : $@convention(thin) (Double, Double) -> Double, loc "GPAViewController.swift":40:64, scope 25 // user: %70
  10338. // function_ref Double.init(Int) -> Double
  10339. %63 = function_ref @_TFSdCfSiSd : $@convention(method) (Int, @thin Double.Type) -> Double, loc "GPAViewController.swift":40:36, scope 25 // user: %67
  10340. %64 = metatype $@thin Double.Type, loc "GPAViewController.swift":40:36, scope 25 // user: %67
  10341. %65 = class_method %59 : $Information, #Information.grade!getter.1 : (Information) -> () -> Int , $@convention(method) (@guaranteed Information) -> Int, loc "GPAViewController.swift":40:57, scope 25 // user: %66
  10342. %66 = apply %65(%59) : $@convention(method) (@guaranteed Information) -> Int, loc "GPAViewController.swift":40:57, scope 25 // user: %67
  10343. %67 = apply %63(%66, %64) : $@convention(method) (Int, @thin Double.Type) -> Double, loc "GPAViewController.swift":40:62, scope 25 // user: %70
  10344. %68 = class_method %59 : $Information, #Information.multiplier!getter.1 : (Information) -> () -> Double , $@convention(method) (@guaranteed Information) -> Double, loc "GPAViewController.swift":40:80, scope 25 // user: %69
  10345. %69 = apply %68(%59) : $@convention(method) (@guaranteed Information) -> Double, loc "GPAViewController.swift":40:80, scope 25 // user: %70
  10346. %70 = apply %62(%67, %69) : $@convention(thin) (Double, Double) -> Double, loc "GPAViewController.swift":40:64, scope 25 // user: %71
  10347. %71 = apply %61(%15, %70) : $@convention(thin) (@inout Double, Double) -> (), loc "GPAViewController.swift":40:33, scope 25
  10348. // function_ref += infix(inout Double, Double) -> ()
  10349. %72 = function_ref @_TFsoi2peFTRSdSd_T_ : $@convention(thin) (@inout Double, Double) -> (), loc "GPAViewController.swift":41:33, scope 25 // user: %82
  10350. // function_ref * infix(Double, Double) -> Double
  10351. %73 = function_ref @_TFsoi1mFTSdSd_Sd : $@convention(thin) (Double, Double) -> Double, loc "GPAViewController.swift":41:64, scope 25 // user: %81
  10352. // function_ref Double.init(Int) -> Double
  10353. %74 = function_ref @_TFSdCfSiSd : $@convention(method) (Int, @thin Double.Type) -> Double, loc "GPAViewController.swift":41:36, scope 25 // user: %78
  10354. %75 = metatype $@thin Double.Type, loc "GPAViewController.swift":41:36, scope 25 // user: %78
  10355. %76 = class_method %59 : $Information, #Information.grade!getter.1 : (Information) -> () -> Int , $@convention(method) (@guaranteed Information) -> Int, loc "GPAViewController.swift":41:57, scope 25 // user: %77
  10356. %77 = apply %76(%59) : $@convention(method) (@guaranteed Information) -> Int, loc "GPAViewController.swift":41:57, scope 25 // user: %78
  10357. %78 = apply %74(%77, %75) : $@convention(method) (Int, @thin Double.Type) -> Double, loc "GPAViewController.swift":41:62, scope 25 // user: %81
  10358. %79 = class_method %59 : $Information, #Information.credits!getter.1 : (Information) -> () -> Double , $@convention(method) (@guaranteed Information) -> Double, loc "GPAViewController.swift":41:80, scope 25 // user: %80
  10359. %80 = apply %79(%59) : $@convention(method) (@guaranteed Information) -> Double, loc "GPAViewController.swift":41:80, scope 25 // user: %81
  10360. %81 = apply %73(%78, %80) : $@convention(thin) (Double, Double) -> Double, loc "GPAViewController.swift":41:64, scope 25 // user: %82
  10361. %82 = apply %72(%29, %81) : $@convention(thin) (@inout Double, Double) -> (), loc "GPAViewController.swift":41:33, scope 25
  10362. // function_ref += infix(inout Double, Double) -> ()
  10363. %83 = function_ref @_TFsoi2peFTRSdSd_T_ : $@convention(thin) (@inout Double, Double) -> (), loc "GPAViewController.swift":42:33, scope 25 // user: %86
  10364. %84 = class_method %59 : $Information, #Information.credits!getter.1 : (Information) -> () -> Double , $@convention(method) (@guaranteed Information) -> Double, loc "GPAViewController.swift":42:50, scope 25 // user: %85
  10365. %85 = apply %84(%59) : $@convention(method) (@guaranteed Information) -> Double, loc "GPAViewController.swift":42:50, scope 25 // user: %86
  10366. %86 = apply %83(%22, %85) : $@convention(thin) (@inout Double, Double) -> (), loc "GPAViewController.swift":42:33, scope 25
  10367. destroy_value %59 : $Information, loc "GPAViewController.swift":43:9, scope 24 // id: %87
  10368. br bb1, loc "GPAViewController.swift":43:9, scope 24 // id: %88
  10369.  
  10370. bb3: // Preds: bb1
  10371. destroy_value %35 : ${ var IndexingIterator<Array<Information>> }, loc "GPAViewController.swift":43:9, scope 23 // id: %89
  10372. // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
  10373. %90 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "GPAViewController.swift":45:35, scope 23 // user: %102
  10374. // function_ref != infix<A where ...> (A, A) -> Bool
  10375. %91 = function_ref @_TFsoi2neuRxs9EquatablerFTxx_Sb : $@convention(thin) <τ_0_0 where τ_0_0 : Equatable> (@in τ_0_0, @in τ_0_0) -> Bool, loc "GPAViewController.swift":45:35, scope 23 // user: %101
  10376. %92 = load [trivial] %22 : $*Double, loc "GPAViewController.swift":45:15, scope 23 // user: %94
  10377. %93 = alloc_stack $Double, loc "GPAViewController.swift":45:15, scope 23 // users: %104, %101, %94
  10378. store %92 to [trivial] %93 : $*Double, loc "GPAViewController.swift":45:15, scope 23 // id: %94
  10379. // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
  10380. %95 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":45:38, scope 23 // user: %98
  10381. %96 = metatype $@thin Double.Type, loc "GPAViewController.swift":45:38, scope 23 // user: %98
  10382. %97 = integer_literal $Builtin.Int2048, 0, loc "GPAViewController.swift":45:38, scope 23 // user: %98
  10383. %98 = apply %95(%97, %96) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":45:38, scope 23 // user: %100
  10384. %99 = alloc_stack $Double, loc "GPAViewController.swift":45:38, scope 23 // users: %103, %101, %100
  10385. store %98 to [trivial] %99 : $*Double, loc "GPAViewController.swift":45:38, scope 23 // id: %100
  10386. %101 = apply %91<Double>(%93, %99) : $@convention(thin) <τ_0_0 where τ_0_0 : Equatable> (@in τ_0_0, @in τ_0_0) -> Bool, loc "GPAViewController.swift":45:35, scope 23 // user: %102
  10387. %102 = apply %90(%101) : $@convention(method) (Bool) -> Builtin.Int1, loc "GPAViewController.swift":45:38, scope 23 // user: %105
  10388. dealloc_stack %99 : $*Double, loc "GPAViewController.swift":45:38, scope 23 // id: %103
  10389. dealloc_stack %93 : $*Double, loc "GPAViewController.swift":45:38, scope 23 // id: %104
  10390. cond_br %102, bb4, bb124, loc "GPAViewController.swift":45:38, scope 23 // id: %105
  10391.  
  10392. bb4: // Preds: bb3
  10393. // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
  10394. %106 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "GPAViewController.swift":45:76, scope 23 // user: %121
  10395. // function_ref != infix(Int, Int) -> Bool
  10396. %107 = function_ref @_TFsoi2neFTSiSi_Sb : $@convention(thin) (Int, Int) -> Bool, loc "GPAViewController.swift":45:76, scope 23 // user: %120
  10397. %108 = metatype $@thick Information.Type, loc "GPAViewController.swift":45:41, scope 23
  10398. // function_ref Information.classesAndGrades.unsafeMutableAddressor
  10399. %109 = function_ref @_TFC3gpa11Informationau16classesAndGradesGSaS0__ : $@convention(thin) () -> Builtin.RawPointer, loc "GPAViewController.swift":45:53, scope 23 // user: %110
  10400. %110 = apply %109() : $@convention(thin) () -> Builtin.RawPointer, loc "GPAViewController.swift":45:53, scope 23 // user: %111
  10401. %111 = pointer_to_address %110 : $Builtin.RawPointer to [strict] $*Array<Information>, loc "GPAViewController.swift":45:53, scope 23 // user: %112
  10402. %112 = load [copy] %111 : $*Array<Information>, loc "GPAViewController.swift":45:53, scope 23 // users: %115, %114
  10403. // function_ref Array.count.getter
  10404. %113 = function_ref @_TFSag5countSi : $@convention(method) <τ_0_0> (@guaranteed Array<τ_0_0>) -> Int, loc "GPAViewController.swift":45:70, scope 23 // user: %114
  10405. %114 = apply %113<Information>(%112) : $@convention(method) <τ_0_0> (@guaranteed Array<τ_0_0>) -> Int, loc "GPAViewController.swift":45:70, scope 23 // user: %120
  10406. destroy_value %112 : $Array<Information>, loc "GPAViewController.swift":45:70, scope 23 // id: %115
  10407. // function_ref Int.init(_builtinIntegerLiteral : Builtin.Int2048) -> Int
  10408. %116 = function_ref @_TFSiCfT22_builtinIntegerLiteralBi2048__Si : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "GPAViewController.swift":45:79, scope 23 // user: %119
  10409. %117 = metatype $@thin Int.Type, loc "GPAViewController.swift":45:79, scope 23 // user: %119
  10410. %118 = integer_literal $Builtin.Int2048, 0, loc "GPAViewController.swift":45:79, scope 23 // user: %119
  10411. %119 = apply %116(%118, %117) : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "GPAViewController.swift":45:79, scope 23 // user: %120
  10412. %120 = apply %107(%114, %119) : $@convention(thin) (Int, Int) -> Bool, loc "GPAViewController.swift":45:76, scope 23 // user: %121
  10413. %121 = apply %106(%120) : $@convention(method) (Bool) -> Builtin.Int1, loc "GPAViewController.swift":45:79, scope 23 // user: %122
  10414. cond_br %121, bb5, bb124, loc "GPAViewController.swift":45:79, scope 23 // id: %122
  10415.  
  10416. bb5: // Preds: bb4
  10417. // function_ref / infix(Double, Double) -> Double
  10418. %123 = function_ref @_TFsoi1dFTSdSd_Sd : $@convention(thin) (Double, Double) -> Double, loc "GPAViewController.swift":54:112, scope 23 // user: %154
  10419. // function_ref FloatingPoint.rounded() -> A
  10420. %124 = function_ref @_TFEsPs13FloatingPoint7roundedfT_x : $@convention(method) <τ_0_0 where τ_0_0 : FloatingPoint> (@in_guaranteed τ_0_0) -> @out τ_0_0, loc "GPAViewController.swift":54:102, scope 23 // user: %148
  10421. // function_ref * infix(Double, Double) -> Double
  10422. %125 = function_ref @_TFsoi1mFTSdSd_Sd : $@convention(thin) (Double, Double) -> Double, loc "GPAViewController.swift":54:93, scope 23 // user: %144
  10423. // function_ref / infix(Double, Double) -> Double
  10424. %126 = function_ref @_TFsoi1dFTSdSd_Sd : $@convention(thin) (Double, Double) -> Double, loc "GPAViewController.swift":54:48, scope 23 // user: %139
  10425. %127 = load [trivial] %15 : $*Double, loc "GPAViewController.swift":54:28, scope 23 // user: %139
  10426. // function_ref Double.init(Int) -> Double
  10427. %128 = function_ref @_TFSdCfSiSd : $@convention(method) (Int, @thin Double.Type) -> Double, loc "GPAViewController.swift":54:50, scope 23 // user: %138
  10428. %129 = metatype $@thin Double.Type, loc "GPAViewController.swift":54:50, scope 23 // user: %138
  10429. %130 = metatype $@thick Information.Type, loc "GPAViewController.swift":54:57, scope 23
  10430. // function_ref Information.classesAndGrades.unsafeMutableAddressor
  10431. %131 = function_ref @_TFC3gpa11Informationau16classesAndGradesGSaS0__ : $@convention(thin) () -> Builtin.RawPointer, loc "GPAViewController.swift":54:69, scope 23 // user: %132
  10432. %132 = apply %131() : $@convention(thin) () -> Builtin.RawPointer, loc "GPAViewController.swift":54:69, scope 23 // user: %133
  10433. %133 = pointer_to_address %132 : $Builtin.RawPointer to [strict] $*Array<Information>, loc "GPAViewController.swift":54:69, scope 23 // user: %134
  10434. %134 = load [copy] %133 : $*Array<Information>, loc "GPAViewController.swift":54:69, scope 23 // users: %137, %136
  10435. // function_ref Array.count.getter
  10436. %135 = function_ref @_TFSag5countSi : $@convention(method) <τ_0_0> (@guaranteed Array<τ_0_0>) -> Int, loc "GPAViewController.swift":54:86, scope 23 // user: %136
  10437. %136 = apply %135<Information>(%134) : $@convention(method) <τ_0_0> (@guaranteed Array<τ_0_0>) -> Int, loc "GPAViewController.swift":54:86, scope 23 // user: %138
  10438. destroy_value %134 : $Array<Information>, loc "GPAViewController.swift":54:86, scope 23 // id: %137
  10439. %138 = apply %128(%136, %129) : $@convention(method) (Int, @thin Double.Type) -> Double, loc "GPAViewController.swift":54:91, scope 23 // user: %139
  10440. %139 = apply %126(%127, %138) : $@convention(thin) (Double, Double) -> Double, loc "GPAViewController.swift":54:48, scope 23 // user: %144
  10441. // function_ref Double.init(_builtinFloatLiteral : Builtin.Float64) -> Double
  10442. %140 = function_ref @_TFSdCfT20_builtinFloatLiteralBf64__Sd : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "GPAViewController.swift":54:95, scope 23 // user: %143
  10443. %141 = metatype $@thin Double.Type, loc "GPAViewController.swift":54:95, scope 23 // user: %143
  10444. %142 = float_literal $Builtin.FPIEEE64, 0x4059000000000000 // 100, loc "GPAViewController.swift":54:95, scope 23 // user: %143
  10445. %143 = apply %140(%142, %141) : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "GPAViewController.swift":54:95, scope 23 // user: %144
  10446. %144 = apply %125(%139, %143) : $@convention(thin) (Double, Double) -> Double, loc "GPAViewController.swift":54:93, scope 23 // user: %146
  10447. %145 = alloc_stack $Double, loc "GPAViewController.swift":54:93, scope 23 // users: %157, %148, %146
  10448. store %144 to [trivial] %145 : $*Double, loc "GPAViewController.swift":54:93, scope 23 // id: %146
  10449. %147 = alloc_stack $Double, loc "GPAViewController.swift":54:110, scope 23 // users: %156, %149, %148
  10450. %148 = apply %124<(Double)>(%147, %145) : $@convention(method) <τ_0_0 where τ_0_0 : FloatingPoint> (@in_guaranteed τ_0_0) -> @out τ_0_0, loc "GPAViewController.swift":54:110, scope 23
  10451. %149 = load [trivial] %147 : $*Double, loc "GPAViewController.swift":54:110, scope 23 // user: %154
  10452. // function_ref Double.init(_builtinFloatLiteral : Builtin.Float64) -> Double
  10453. %150 = function_ref @_TFSdCfT20_builtinFloatLiteralBf64__Sd : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "GPAViewController.swift":54:114, scope 23 // user: %153
  10454. %151 = metatype $@thin Double.Type, loc "GPAViewController.swift":54:114, scope 23 // user: %153
  10455. %152 = float_literal $Builtin.FPIEEE64, 0x4059000000000000 // 100, loc "GPAViewController.swift":54:114, scope 23 // user: %153
  10456. %153 = apply %150(%152, %151) : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "GPAViewController.swift":54:114, scope 23 // user: %154
  10457. %154 = apply %123(%149, %153) : $@convention(thin) (Double, Double) -> Double, loc "GPAViewController.swift":54:112, scope 23 // users: %194, %155
  10458. debug_value %154 : $Double, let, name "westlakeGPA", loc "GPAViewController.swift":54:13, scope 23 // id: %155
  10459. dealloc_stack %147 : $*Double, loc "GPAViewController.swift":54:114, scope 23 // id: %156
  10460. dealloc_stack %145 : $*Double, loc "GPAViewController.swift":54:114, scope 23 // id: %157
  10461. %158 = alloc_stack $Optional<UILabel>, loc "GPAViewController.swift":55:9, scope 23 // users: %228, %170, %162, %161
  10462. %159 = class_method %1 : $GPAViewController, #GPAViewController.westlakeGPALabel!getter.1 : (GPAViewController) -> () -> UILabel! , $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":55:9, scope 23 // user: %160
  10463. %160 = apply %159(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":55:9, scope 23 // user: %161
  10464. store %160 to [init] %158 : $*Optional<UILabel>, loc "GPAViewController.swift":55:9, scope 23 // id: %161
  10465. switch_enum_addr %158 : $*Optional<UILabel>, case #Optional.none!enumelt: bb6, default bb7, loc "GPAViewController.swift":55:9, scope 23 // id: %162
  10466.  
  10467. bb6: // Preds: bb5
  10468. %163 = string_literal utf8 "GPAViewController.swift", loc "GPAViewController.swift":55:9, scope 23 // user: %168
  10469. %164 = integer_literal $Builtin.Word, 23, loc "GPAViewController.swift":55:9, scope 23 // user: %168
  10470. %165 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":55:9, scope 23 // user: %168
  10471. %166 = integer_literal $Builtin.Word, 55, loc "GPAViewController.swift":55:9, scope 23 // user: %168
  10472. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  10473. %167 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":55:9, scope 23 // user: %168
  10474. %168 = apply %167(%163, %164, %165, %166) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":55:9, scope 23
  10475. unreachable , loc "GPAViewController.swift":55:9, scope 23 // id: %169
  10476.  
  10477. bb7: // Preds: bb5
  10478. %170 = unchecked_take_enum_data_addr %158 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "GPAViewController.swift":55:9, scope 23 // users: %227, %171
  10479. %171 = load [copy] %170 : $*UILabel, loc "GPAViewController.swift":55:9, scope 23 // users: %226, %224, %210
  10480. // function_ref String.init(stringInterpolation : [String]...) -> String
  10481. %172 = function_ref @_TFSSCft19stringInterpolationGSaSS__SS : $@convention(method) (@owned Array<String>, @thin String.Type) -> @owned String, loc "GPAViewController.swift":55:33, scope 23 // user: %208
  10482. %173 = metatype $@thin String.Type, loc "GPAViewController.swift":55:33, scope 23 // user: %208
  10483. %174 = integer_literal $Builtin.Word, 3, loc "GPAViewController.swift":55:33, scope 23 // user: %176
  10484. // function_ref _allocateUninitializedArray<A> (Builtin.Word) -> ([A], Builtin.RawPointer)
  10485. %175 = function_ref @_TFs27_allocateUninitializedArrayurFBwTGSax_Bp_ : $@convention(thin) <τ_0_0> (Builtin.Word) -> (@owned Array<τ_0_0>, Builtin.RawPointer), loc "GPAViewController.swift":55:33, scope 23 // user: %176
  10486. %176 = apply %175<String>(%174) : $@convention(thin) <τ_0_0> (Builtin.Word) -> (@owned Array<τ_0_0>, Builtin.RawPointer), loc "GPAViewController.swift":55:33, scope 23 // users: %178, %177
  10487. %177 = tuple_extract %176 : $(Array<String>, Builtin.RawPointer), 0, loc "GPAViewController.swift":55:33, scope 23 // user: %208
  10488. %178 = tuple_extract %176 : $(Array<String>, Builtin.RawPointer), 1, loc "GPAViewController.swift":55:33, scope 23 // user: %179
  10489. %179 = pointer_to_address %178 : $Builtin.RawPointer to [strict] $*String, loc "GPAViewController.swift":55:33, scope 23 // users: %197, %191, %189
  10490. // function_ref String.init(stringInterpolationSegment : String) -> String
  10491. %180 = function_ref @_TFSSCfT26stringInterpolationSegmentSS_SS : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "GPAViewController.swift":55:33, scope 23 // user: %188
  10492. %181 = metatype $@thin String.Type, loc "GPAViewController.swift":55:33, scope 23 // user: %188
  10493. %182 = string_literal utf8 "", loc "GPAViewController.swift":55:33, scope 23 // user: %187
  10494. %183 = integer_literal $Builtin.Word, 0, loc "GPAViewController.swift":55:33, scope 23 // user: %187
  10495. %184 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":55:33, scope 23 // user: %187
  10496. %185 = metatype $@thin String.Type, loc "GPAViewController.swift":55:33, scope 23 // user: %187
  10497. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  10498. %186 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "GPAViewController.swift":55:33, scope 23 // user: %187
  10499. %187 = apply %186(%182, %183, %184, %185) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "GPAViewController.swift":55:33, scope 23 // user: %188
  10500. %188 = apply %180(%187, %181) : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "GPAViewController.swift":55:33, scope 23 // user: %189
  10501. store %188 to [init] %179 : $*String, loc "GPAViewController.swift":55:33, scope 23 // id: %189
  10502. %190 = integer_literal $Builtin.Word, 1, loc "GPAViewController.swift":55:47, scope 23 // user: %191
  10503. %191 = index_addr %179 : $*String, %190 : $Builtin.Word, loc "GPAViewController.swift":55:47, scope 23 // user: %195
  10504. // function_ref String.init(stringInterpolationSegment : Double) -> String
  10505. %192 = function_ref @_TFSSCfT26stringInterpolationSegmentSd_SS : $@convention(method) (Double, @thin String.Type) -> @owned String, loc "GPAViewController.swift":55:33, scope 23 // user: %194
  10506. %193 = metatype $@thin String.Type, loc "GPAViewController.swift":55:33, scope 23 // user: %194
  10507. %194 = apply %192(%154, %193) : $@convention(method) (Double, @thin String.Type) -> @owned String, loc "GPAViewController.swift":55:47, scope 23 // user: %195
  10508. store %194 to [init] %191 : $*String, loc "GPAViewController.swift":55:47, scope 23 // id: %195
  10509. %196 = integer_literal $Builtin.Word, 2, loc "GPAViewController.swift":55:48, scope 23 // user: %197
  10510. %197 = index_addr %179 : $*String, %196 : $Builtin.Word, loc "GPAViewController.swift":55:48, scope 23 // user: %207
  10511. // function_ref String.init(stringInterpolationSegment : String) -> String
  10512. %198 = function_ref @_TFSSCfT26stringInterpolationSegmentSS_SS : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "GPAViewController.swift":55:33, scope 23 // user: %206
  10513. %199 = metatype $@thin String.Type, loc "GPAViewController.swift":55:33, scope 23 // user: %206
  10514. %200 = string_literal utf8 "", loc "GPAViewController.swift":55:48, scope 23 // user: %205
  10515. %201 = integer_literal $Builtin.Word, 0, loc "GPAViewController.swift":55:48, scope 23 // user: %205
  10516. %202 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":55:48, scope 23 // user: %205
  10517. %203 = metatype $@thin String.Type, loc "GPAViewController.swift":55:48, scope 23 // user: %205
  10518. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  10519. %204 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "GPAViewController.swift":55:48, scope 23 // user: %205
  10520. %205 = apply %204(%200, %201, %202, %203) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "GPAViewController.swift":55:48, scope 23 // user: %206
  10521. %206 = apply %198(%205, %199) : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "GPAViewController.swift":55:48, scope 23 // user: %207
  10522. store %206 to [init] %197 : $*String, loc "GPAViewController.swift":55:48, scope 23 // id: %207
  10523. %208 = apply %172(%177, %173) : $@convention(method) (@owned Array<String>, @thin String.Type) -> @owned String, loc "GPAViewController.swift":55:48, scope 23 // user: %209
  10524. %209 = enum $Optional<String>, #Optional.some!enumelt.1, %208 : $String, loc "GPAViewController.swift":55:33, scope 23 // users: %215, %213
  10525. %210 = class_method [volatile] %171 : $UILabel, #UILabel.text!setter.1.foreign : (UILabel) -> (String?) -> () , $@convention(objc_method) (Optional<NSString>, UILabel) -> (), loc "GPAViewController.swift":55:31, scope 23 // user: %224
  10526. %211 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":55:31, scope 23 // user: %213
  10527. %212 = integer_literal $Builtin.Int1, 0, loc "GPAViewController.swift":55:31, scope 23 // user: %213
  10528. %213 = select_enum %209 : $Optional<String>, case #Optional.some!enumelt.1: %211, default %212 : $Builtin.Int1, loc "GPAViewController.swift":55:31, scope 23 // user: %214
  10529. cond_br %213, bb8, bb9, loc "GPAViewController.swift":55:31, scope 23 // id: %214
  10530.  
  10531. bb8: // Preds: bb7
  10532. %215 = unchecked_enum_data %209 : $Optional<String>, #Optional.some!enumelt.1, loc "GPAViewController.swift":55:31, scope 23 // users: %219, %217
  10533. // function_ref String._bridgeToObjectiveC() -> NSString
  10534. %216 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "GPAViewController.swift":55:31, scope 23 // user: %217
  10535. %217 = apply %216(%215) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "GPAViewController.swift":55:31, scope 23 // user: %218
  10536. %218 = enum $Optional<NSString>, #Optional.some!enumelt.1, %217 : $NSString, loc "GPAViewController.swift":55:31, scope 23 // user: %220
  10537. destroy_value %215 : $String, loc "GPAViewController.swift":55:33, scope 23 // id: %219
  10538. br bb10(%218 : $Optional<NSString>), loc "GPAViewController.swift":55:31, scope 23 // id: %220
  10539.  
  10540. bb9: // Preds: bb7
  10541. %221 = enum $Optional<NSString>, #Optional.none!enumelt, loc "GPAViewController.swift":55:31, scope 23 // user: %222
  10542. br bb10(%221 : $Optional<NSString>), loc "GPAViewController.swift":55:31, scope 23 // id: %222
  10543.  
  10544. // %223 // users: %225, %224
  10545. bb10(%223 : $Optional<NSString>): // Preds: bb9 bb8
  10546. %224 = apply %210(%223, %171) : $@convention(objc_method) (Optional<NSString>, UILabel) -> (), loc "GPAViewController.swift":55:31, scope 23
  10547. destroy_value %223 : $Optional<NSString>, loc "GPAViewController.swift":55:33, scope 23 // id: %225
  10548. destroy_value %171 : $UILabel, loc "GPAViewController.swift":55:33, scope 23 // id: %226
  10549. destroy_addr %170 : $*UILabel, loc "GPAViewController.swift":55:33, scope 23 // id: %227
  10550. dealloc_stack %158 : $*Optional<UILabel>, loc "GPAViewController.swift":55:33, scope 23 // id: %228
  10551. // function_ref FloatingPoint.rounded() -> A
  10552. %229 = function_ref @_TFEsPs13FloatingPoint7roundedfT_x : $@convention(method) <τ_0_0 where τ_0_0 : FloatingPoint> (@in_guaranteed τ_0_0) -> @out τ_0_0, loc "GPAViewController.swift":57:71, scope 23 // user: %237
  10553. // function_ref / infix(Double, Double) -> Double
  10554. %230 = function_ref @_TFsoi1dFTSdSd_Sd : $@convention(thin) (Double, Double) -> Double, loc "GPAViewController.swift":57:48, scope 23 // user: %233
  10555. %231 = load [trivial] %29 : $*Double, loc "GPAViewController.swift":57:28, scope 23 // user: %233
  10556. %232 = load [trivial] %22 : $*Double, loc "GPAViewController.swift":57:50, scope 23 // user: %233
  10557. %233 = apply %230(%231, %232) : $@convention(thin) (Double, Double) -> Double, loc "GPAViewController.swift":57:48, scope 23 // user: %235
  10558. %234 = alloc_stack $Double, loc "GPAViewController.swift":57:48, scope 23 // users: %241, %237, %235
  10559. store %233 to [trivial] %234 : $*Double, loc "GPAViewController.swift":57:48, scope 23 // id: %235
  10560. %236 = alloc_stack $Double, loc "GPAViewController.swift":57:79, scope 23 // users: %240, %238, %237
  10561. %237 = apply %229<(Double)>(%236, %234) : $@convention(method) <τ_0_0 where τ_0_0 : FloatingPoint> (@in_guaranteed τ_0_0) -> @out τ_0_0, loc "GPAViewController.swift":57:79, scope 23
  10562. %238 = load [trivial] %236 : $*Double, loc "GPAViewController.swift":57:79, scope 23 // users: %1337, %1314, %1241, %1218, %1145, %1122, %1049, %1026, %953, %930, %857, %834, %761, %738, %665, %642, %569, %546, %473, %450, %377, %354, %281, %258, %239
  10563. debug_value %238 : $Double, let, name "standardGPA", loc "GPAViewController.swift":57:13, scope 23 // id: %239
  10564. dealloc_stack %236 : $*Double, loc "GPAViewController.swift":57:79, scope 23 // id: %240
  10565. dealloc_stack %234 : $*Double, loc "GPAViewController.swift":57:79, scope 23 // id: %241
  10566. %242 = alloc_box ${ var Double }, var, name "fourPointScale", loc "GPAViewController.swift":59:13, scope 23 // users: %1582, %1728, %243
  10567. %243 = project_box %242 : ${ var Double }, 0, loc "GPAViewController.swift":59:13, scope 23 // users: %1473, %1413, %1400, %1304, %1208, %1112, %1016, %920, %824, %728, %632, %536, %440, %344, %248
  10568. // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
  10569. %244 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":59:38, scope 23 // user: %247
  10570. %245 = metatype $@thin Double.Type, loc "GPAViewController.swift":59:38, scope 23 // user: %247
  10571. %246 = integer_literal $Builtin.Int2048, -1, loc "GPAViewController.swift":59:38, scope 23 // user: %247
  10572. %247 = apply %244(%246, %245) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":59:39, scope 23 // user: %248
  10573. store %247 to [trivial] %243 : $*Double, loc "GPAViewController.swift":59:39, scope 23 // id: %248
  10574. %249 = alloc_box ${ var String }, var, name "letter", loc "GPAViewController.swift":60:13, scope 23 // users: %1581, %1727, %250
  10575. %250 = project_box %249 : ${ var String }, 0, loc "GPAViewController.swift":60:13, scope 23 // users: %1545, %1430, %1407, %1311, %1215, %1119, %1023, %927, %831, %735, %639, %543, %447, %351, %257
  10576. %251 = string_literal utf8 "", loc "GPAViewController.swift":60:30, scope 23 // user: %256
  10577. %252 = integer_literal $Builtin.Word, 0, loc "GPAViewController.swift":60:30, scope 23 // user: %256
  10578. %253 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":60:30, scope 23 // user: %256
  10579. %254 = metatype $@thin String.Type, loc "GPAViewController.swift":60:30, scope 23 // user: %256
  10580. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  10581. %255 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "GPAViewController.swift":60:30, scope 23 // user: %256
  10582. %256 = apply %255(%251, %252, %253, %254) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "GPAViewController.swift":60:30, scope 23 // user: %257
  10583. store %256 to [init] %250 : $*String, loc "GPAViewController.swift":60:30, scope 23 // id: %257
  10584. debug_value %238 : $Double, let, name "$match", loc "GPAViewController.swift":62:18, scope 26 // id: %258
  10585. // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
  10586. %259 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "GPAViewController.swift":62:18, scope 26 // user: %283
  10587. // function_ref static Range.~= infix(Range<A>, A) -> Bool
  10588. %260 = function_ref @_TZFVs5Rangeoi2tefTGS_x_x_Sb : $@convention(method) <τ_0_0 where τ_0_0 : Comparable> (@in Range<τ_0_0>, @in τ_0_0, @thin Range<τ_0_0>.Type) -> Bool, loc "GPAViewController.swift":62:18, scope 26 // user: %282
  10589. %261 = metatype $@thin Range<Double>.Type, loc "GPAViewController.swift":62:18, scope 26 // user: %282
  10590. // function_ref ..< infix<A where ...> (A, A) -> Range<A>
  10591. %262 = function_ref @_TFsoi3zzluRxs10ComparablerFTxx_GVs5Rangex_ : $@convention(thin) <τ_0_0 where τ_0_0 : Comparable> (@in τ_0_0, @in τ_0_0) -> @out Range<τ_0_0>, loc "GPAViewController.swift":62:19, scope 26 // user: %276
  10592. // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
  10593. %263 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":62:18, scope 26 // user: %266
  10594. %264 = metatype $@thin Double.Type, loc "GPAViewController.swift":62:18, scope 26 // user: %266
  10595. %265 = integer_literal $Builtin.Int2048, 0, loc "GPAViewController.swift":62:18, scope 26 // user: %266
  10596. %266 = apply %263(%265, %264) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":62:18, scope 26 // user: %268
  10597. %267 = alloc_stack $Double, loc "GPAViewController.swift":62:18, scope 26 // users: %288, %276, %268
  10598. store %266 to [trivial] %267 : $*Double, loc "GPAViewController.swift":62:18, scope 26 // id: %268
  10599. // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
  10600. %269 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":62:22, scope 26 // user: %272
  10601. %270 = metatype $@thin Double.Type, loc "GPAViewController.swift":62:22, scope 26 // user: %272
  10602. %271 = integer_literal $Builtin.Int2048, 65, loc "GPAViewController.swift":62:22, scope 26 // user: %272
  10603. %272 = apply %269(%271, %270) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":62:22, scope 26 // user: %274
  10604. %273 = alloc_stack $Double, loc "GPAViewController.swift":62:22, scope 26 // users: %287, %276, %274
  10605. store %272 to [trivial] %273 : $*Double, loc "GPAViewController.swift":62:22, scope 26 // id: %274
  10606. %275 = alloc_stack $Range<Double>, loc "GPAViewController.swift":62:19, scope 26 // users: %286, %277, %276
  10607. %276 = apply %262<Double>(%275, %267, %273) : $@convention(thin) <τ_0_0 where τ_0_0 : Comparable> (@in τ_0_0, @in τ_0_0) -> @out Range<τ_0_0>, loc "GPAViewController.swift":62:19, scope 26
  10608. %277 = load [trivial] %275 : $*Range<Double>, loc "GPAViewController.swift":62:19, scope 26 // user: %279
  10609. %278 = alloc_stack $Range<Double>, loc "GPAViewController.swift":62:19, scope 26 // users: %285, %282, %279
  10610. store %277 to [trivial] %278 : $*Range<Double>, loc "GPAViewController.swift":62:19, scope 26 // id: %279
  10611. %280 = alloc_stack $Double, loc "GPAViewController.swift":62:18, scope 26 // users: %284, %282, %281
  10612. store %238 to [trivial] %280 : $*Double, loc "GPAViewController.swift":62:18, scope 26 // id: %281
  10613. %282 = apply %260<Double>(%278, %280, %261) : $@convention(method) <τ_0_0 where τ_0_0 : Comparable> (@in Range<τ_0_0>, @in τ_0_0, @thin Range<τ_0_0>.Type) -> Bool, loc "GPAViewController.swift":62:18, scope 26 // user: %283
  10614. %283 = apply %259(%282) : $@convention(method) (Bool) -> Builtin.Int1, loc "GPAViewController.swift":62:22, scope 26 // user: %289
  10615. dealloc_stack %280 : $*Double, loc "GPAViewController.swift":62:22, scope 26 // id: %284
  10616. dealloc_stack %278 : $*Range<Double>, loc "GPAViewController.swift":62:22, scope 26 // id: %285
  10617. dealloc_stack %275 : $*Range<Double>, loc "GPAViewController.swift":62:22, scope 26 // id: %286
  10618. dealloc_stack %273 : $*Double, loc "GPAViewController.swift":62:22, scope 26 // id: %287
  10619. dealloc_stack %267 : $*Double, loc "GPAViewController.swift":62:22, scope 26 // id: %288
  10620. cond_br %283, bb11, bb16, loc "GPAViewController.swift":62:18, scope 26 // id: %289
  10621.  
  10622. bb11: // Preds: bb10
  10623. %290 = alloc_stack $Optional<UILabel>, loc "GPAViewController.swift":63:17, scope 27 // users: %314, %302, %294, %293
  10624. %291 = class_method %1 : $GPAViewController, #GPAViewController.standardGPALabel!getter.1 : (GPAViewController) -> () -> UILabel! , $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":63:17, scope 27 // user: %292
  10625. %292 = apply %291(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":63:17, scope 27 // user: %293
  10626. store %292 to [init] %290 : $*Optional<UILabel>, loc "GPAViewController.swift":63:17, scope 27 // id: %293
  10627. switch_enum_addr %290 : $*Optional<UILabel>, case #Optional.none!enumelt: bb12, default bb13, loc "GPAViewController.swift":63:17, scope 27 // id: %294
  10628.  
  10629. bb12: // Preds: bb11
  10630. %295 = string_literal utf8 "GPAViewController.swift", loc "GPAViewController.swift":63:17, scope 27 // user: %300
  10631. %296 = integer_literal $Builtin.Word, 23, loc "GPAViewController.swift":63:17, scope 27 // user: %300
  10632. %297 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":63:17, scope 27 // user: %300
  10633. %298 = integer_literal $Builtin.Word, 63, loc "GPAViewController.swift":63:17, scope 27 // user: %300
  10634. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  10635. %299 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":63:17, scope 27 // user: %300
  10636. %300 = apply %299(%295, %296, %297, %298) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":63:17, scope 27
  10637. unreachable , loc "GPAViewController.swift":63:17, scope 27 // id: %301
  10638.  
  10639. bb13: // Preds: bb11
  10640. %302 = unchecked_take_enum_data_addr %290 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "GPAViewController.swift":63:17, scope 27 // users: %313, %303
  10641. %303 = load [copy] %302 : $*UILabel, loc "GPAViewController.swift":63:17, scope 27 // users: %312, %310, %309
  10642. %304 = metatype $@thick UIColor.Type, loc "GPAViewController.swift":63:46, scope 27 // users: %306, %305
  10643. %305 = class_method [volatile] %304 : $@thick UIColor.Type, #UIColor.blackColor!getter.1.foreign : (UIColor.Type) -> () -> UIColor , $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":63:47, scope 27 // user: %307
  10644. %306 = thick_to_objc_metatype %304 : $@thick UIColor.Type to $@objc_metatype UIColor.Type, loc "GPAViewController.swift":63:47, scope 27 // user: %307
  10645. %307 = apply %305(%306) : $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":63:47, scope 27 // users: %311, %308
  10646. %308 = unchecked_ref_cast %307 : $UIColor to $Optional<UIColor>, loc "GPAViewController.swift":63:47, scope 27 // user: %310
  10647. %309 = class_method [volatile] %303 : $UILabel, #UILabel.textColor!setter.1.foreign : (UILabel) -> (UIColor!) -> () , $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":63:44, scope 27 // user: %310
  10648. %310 = apply %309(%308, %303) : $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":63:44, scope 27
  10649. destroy_value %307 : $UIColor, loc "GPAViewController.swift":63:47, scope 27 // id: %311
  10650. destroy_value %303 : $UILabel, loc "GPAViewController.swift":63:47, scope 27 // id: %312
  10651. destroy_addr %302 : $*UILabel, loc "GPAViewController.swift":63:47, scope 27 // id: %313
  10652. dealloc_stack %290 : $*Optional<UILabel>, loc "GPAViewController.swift":63:47, scope 27 // id: %314
  10653. %315 = alloc_stack $Optional<UILabel>, loc "GPAViewController.swift":64:17, scope 27 // users: %339, %327, %319, %318
  10654. %316 = class_method %1 : $GPAViewController, #GPAViewController.letterGradeLabel!getter.1 : (GPAViewController) -> () -> UILabel! , $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":64:17, scope 27 // user: %317
  10655. %317 = apply %316(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":64:17, scope 27 // user: %318
  10656. store %317 to [init] %315 : $*Optional<UILabel>, loc "GPAViewController.swift":64:17, scope 27 // id: %318
  10657. switch_enum_addr %315 : $*Optional<UILabel>, case #Optional.none!enumelt: bb14, default bb15, loc "GPAViewController.swift":64:17, scope 27 // id: %319
  10658.  
  10659. bb14: // Preds: bb13
  10660. %320 = string_literal utf8 "GPAViewController.swift", loc "GPAViewController.swift":64:17, scope 27 // user: %325
  10661. %321 = integer_literal $Builtin.Word, 23, loc "GPAViewController.swift":64:17, scope 27 // user: %325
  10662. %322 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":64:17, scope 27 // user: %325
  10663. %323 = integer_literal $Builtin.Word, 64, loc "GPAViewController.swift":64:17, scope 27 // user: %325
  10664. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  10665. %324 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":64:17, scope 27 // user: %325
  10666. %325 = apply %324(%320, %321, %322, %323) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":64:17, scope 27
  10667. unreachable , loc "GPAViewController.swift":64:17, scope 27 // id: %326
  10668.  
  10669. bb15: // Preds: bb13
  10670. %327 = unchecked_take_enum_data_addr %315 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "GPAViewController.swift":64:17, scope 27 // users: %338, %328
  10671. %328 = load [copy] %327 : $*UILabel, loc "GPAViewController.swift":64:17, scope 27 // users: %337, %335, %334
  10672. %329 = metatype $@thick UIColor.Type, loc "GPAViewController.swift":64:46, scope 27 // users: %331, %330
  10673. %330 = class_method [volatile] %329 : $@thick UIColor.Type, #UIColor.blackColor!getter.1.foreign : (UIColor.Type) -> () -> UIColor , $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":64:47, scope 27 // user: %332
  10674. %331 = thick_to_objc_metatype %329 : $@thick UIColor.Type to $@objc_metatype UIColor.Type, loc "GPAViewController.swift":64:47, scope 27 // user: %332
  10675. %332 = apply %330(%331) : $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":64:47, scope 27 // users: %336, %333
  10676. %333 = unchecked_ref_cast %332 : $UIColor to $Optional<UIColor>, loc "GPAViewController.swift":64:47, scope 27 // user: %335
  10677. %334 = class_method [volatile] %328 : $UILabel, #UILabel.textColor!setter.1.foreign : (UILabel) -> (UIColor!) -> () , $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":64:44, scope 27 // user: %335
  10678. %335 = apply %334(%333, %328) : $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":64:44, scope 27
  10679. destroy_value %332 : $UIColor, loc "GPAViewController.swift":64:47, scope 27 // id: %336
  10680. destroy_value %328 : $UILabel, loc "GPAViewController.swift":64:47, scope 27 // id: %337
  10681. destroy_addr %327 : $*UILabel, loc "GPAViewController.swift":64:47, scope 27 // id: %338
  10682. dealloc_stack %315 : $*Optional<UILabel>, loc "GPAViewController.swift":64:47, scope 27 // id: %339
  10683. // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
  10684. %340 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":65:34, scope 27 // user: %343
  10685. %341 = metatype $@thin Double.Type, loc "GPAViewController.swift":65:34, scope 27 // user: %343
  10686. %342 = integer_literal $Builtin.Int2048, 0, loc "GPAViewController.swift":65:34, scope 27 // user: %343
  10687. %343 = apply %340(%342, %341) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":65:34, scope 27 // user: %344
  10688. assign %343 to %243 : $*Double, loc "GPAViewController.swift":65:32, scope 27 // id: %344
  10689. %345 = string_literal utf8 "E/F", loc "GPAViewController.swift":66:26, scope 27 // user: %350
  10690. %346 = integer_literal $Builtin.Word, 3, loc "GPAViewController.swift":66:26, scope 27 // user: %350
  10691. %347 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":66:26, scope 27 // user: %350
  10692. %348 = metatype $@thin String.Type, loc "GPAViewController.swift":66:26, scope 27 // user: %350
  10693. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  10694. %349 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "GPAViewController.swift":66:26, scope 27 // user: %350
  10695. %350 = apply %349(%345, %346, %347, %348) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "GPAViewController.swift":66:26, scope 27 // user: %351
  10696. assign %350 to %250 : $*String, loc "GPAViewController.swift":66:24, scope 27 // id: %351
  10697. br bb95, loc "GPAViewController.swift":66:26, scope 23 // id: %352
  10698.  
  10699. bb16: // Preds: bb10
  10700. br bb17, loc "GPAViewController.swift":62:18, scope 26 // id: %353
  10701.  
  10702. bb17: // Preds: bb16
  10703. debug_value %238 : $Double, let, name "$match", loc "GPAViewController.swift":67:18, scope 28 // id: %354
  10704. // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
  10705. %355 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "GPAViewController.swift":67:18, scope 28 // user: %379
  10706. // function_ref static ClosedRange.~= infix(ClosedRange<A>, A) -> Bool
  10707. %356 = function_ref @_TZFVs11ClosedRangeoi2tefTGS_x_x_Sb : $@convention(method) <τ_0_0 where τ_0_0 : Comparable> (@in ClosedRange<τ_0_0>, @in τ_0_0, @thin ClosedRange<τ_0_0>.Type) -> Bool, loc "GPAViewController.swift":67:18, scope 28 // user: %378
  10708. %357 = metatype $@thin ClosedRange<Double>.Type, loc "GPAViewController.swift":67:18, scope 28 // user: %378
  10709. // function_ref ... infix<A where ...> (A, A) -> ClosedRange<A>
  10710. %358 = function_ref @_TFsoi3zzzuRxs10ComparablerFTxx_GVs11ClosedRangex_ : $@convention(thin) <τ_0_0 where τ_0_0 : Comparable> (@in τ_0_0, @in τ_0_0) -> @out ClosedRange<τ_0_0>, loc "GPAViewController.swift":67:20, scope 28 // user: %372
  10711. // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
  10712. %359 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":67:18, scope 28 // user: %362
  10713. %360 = metatype $@thin Double.Type, loc "GPAViewController.swift":67:18, scope 28 // user: %362
  10714. %361 = integer_literal $Builtin.Int2048, 65, loc "GPAViewController.swift":67:18, scope 28 // user: %362
  10715. %362 = apply %359(%361, %360) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":67:18, scope 28 // user: %364
  10716. %363 = alloc_stack $Double, loc "GPAViewController.swift":67:18, scope 28 // users: %384, %372, %364
  10717. store %362 to [trivial] %363 : $*Double, loc "GPAViewController.swift":67:18, scope 28 // id: %364
  10718. // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
  10719. %365 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":67:23, scope 28 // user: %368
  10720. %366 = metatype $@thin Double.Type, loc "GPAViewController.swift":67:23, scope 28 // user: %368
  10721. %367 = integer_literal $Builtin.Int2048, 66, loc "GPAViewController.swift":67:23, scope 28 // user: %368
  10722. %368 = apply %365(%367, %366) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":67:23, scope 28 // user: %370
  10723. %369 = alloc_stack $Double, loc "GPAViewController.swift":67:23, scope 28 // users: %383, %372, %370
  10724. store %368 to [trivial] %369 : $*Double, loc "GPAViewController.swift":67:23, scope 28 // id: %370
  10725. %371 = alloc_stack $ClosedRange<Double>, loc "GPAViewController.swift":67:20, scope 28 // users: %382, %373, %372
  10726. %372 = apply %358<Double>(%371, %363, %369) : $@convention(thin) <τ_0_0 where τ_0_0 : Comparable> (@in τ_0_0, @in τ_0_0) -> @out ClosedRange<τ_0_0>, loc "GPAViewController.swift":67:20, scope 28
  10727. %373 = load [trivial] %371 : $*ClosedRange<Double>, loc "GPAViewController.swift":67:20, scope 28 // user: %375
  10728. %374 = alloc_stack $ClosedRange<Double>, loc "GPAViewController.swift":67:20, scope 28 // users: %381, %378, %375
  10729. store %373 to [trivial] %374 : $*ClosedRange<Double>, loc "GPAViewController.swift":67:20, scope 28 // id: %375
  10730. %376 = alloc_stack $Double, loc "GPAViewController.swift":67:18, scope 28 // users: %380, %378, %377
  10731. store %238 to [trivial] %376 : $*Double, loc "GPAViewController.swift":67:18, scope 28 // id: %377
  10732. %378 = apply %356<Double>(%374, %376, %357) : $@convention(method) <τ_0_0 where τ_0_0 : Comparable> (@in ClosedRange<τ_0_0>, @in τ_0_0, @thin ClosedRange<τ_0_0>.Type) -> Bool, loc "GPAViewController.swift":67:18, scope 28 // user: %379
  10733. %379 = apply %355(%378) : $@convention(method) (Bool) -> Builtin.Int1, loc "GPAViewController.swift":67:23, scope 28 // user: %385
  10734. dealloc_stack %376 : $*Double, loc "GPAViewController.swift":67:23, scope 28 // id: %380
  10735. dealloc_stack %374 : $*ClosedRange<Double>, loc "GPAViewController.swift":67:23, scope 28 // id: %381
  10736. dealloc_stack %371 : $*ClosedRange<Double>, loc "GPAViewController.swift":67:23, scope 28 // id: %382
  10737. dealloc_stack %369 : $*Double, loc "GPAViewController.swift":67:23, scope 28 // id: %383
  10738. dealloc_stack %363 : $*Double, loc "GPAViewController.swift":67:23, scope 28 // id: %384
  10739. cond_br %379, bb18, bb23, loc "GPAViewController.swift":67:18, scope 28 // id: %385
  10740.  
  10741. bb18: // Preds: bb17
  10742. %386 = alloc_stack $Optional<UILabel>, loc "GPAViewController.swift":68:17, scope 29 // users: %410, %398, %390, %389
  10743. %387 = class_method %1 : $GPAViewController, #GPAViewController.standardGPALabel!getter.1 : (GPAViewController) -> () -> UILabel! , $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":68:17, scope 29 // user: %388
  10744. %388 = apply %387(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":68:17, scope 29 // user: %389
  10745. store %388 to [init] %386 : $*Optional<UILabel>, loc "GPAViewController.swift":68:17, scope 29 // id: %389
  10746. switch_enum_addr %386 : $*Optional<UILabel>, case #Optional.none!enumelt: bb19, default bb20, loc "GPAViewController.swift":68:17, scope 29 // id: %390
  10747.  
  10748. bb19: // Preds: bb18
  10749. %391 = string_literal utf8 "GPAViewController.swift", loc "GPAViewController.swift":68:17, scope 29 // user: %396
  10750. %392 = integer_literal $Builtin.Word, 23, loc "GPAViewController.swift":68:17, scope 29 // user: %396
  10751. %393 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":68:17, scope 29 // user: %396
  10752. %394 = integer_literal $Builtin.Word, 68, loc "GPAViewController.swift":68:17, scope 29 // user: %396
  10753. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  10754. %395 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":68:17, scope 29 // user: %396
  10755. %396 = apply %395(%391, %392, %393, %394) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":68:17, scope 29
  10756. unreachable , loc "GPAViewController.swift":68:17, scope 29 // id: %397
  10757.  
  10758. bb20: // Preds: bb18
  10759. %398 = unchecked_take_enum_data_addr %386 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "GPAViewController.swift":68:17, scope 29 // users: %409, %399
  10760. %399 = load [copy] %398 : $*UILabel, loc "GPAViewController.swift":68:17, scope 29 // users: %408, %406, %405
  10761. %400 = metatype $@thick UIColor.Type, loc "GPAViewController.swift":68:46, scope 29 // users: %402, %401
  10762. %401 = class_method [volatile] %400 : $@thick UIColor.Type, #UIColor.redColor!getter.1.foreign : (UIColor.Type) -> () -> UIColor , $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":68:47, scope 29 // user: %403
  10763. %402 = thick_to_objc_metatype %400 : $@thick UIColor.Type to $@objc_metatype UIColor.Type, loc "GPAViewController.swift":68:47, scope 29 // user: %403
  10764. %403 = apply %401(%402) : $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":68:47, scope 29 // users: %407, %404
  10765. %404 = unchecked_ref_cast %403 : $UIColor to $Optional<UIColor>, loc "GPAViewController.swift":68:47, scope 29 // user: %406
  10766. %405 = class_method [volatile] %399 : $UILabel, #UILabel.textColor!setter.1.foreign : (UILabel) -> (UIColor!) -> () , $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":68:44, scope 29 // user: %406
  10767. %406 = apply %405(%404, %399) : $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":68:44, scope 29
  10768. destroy_value %403 : $UIColor, loc "GPAViewController.swift":68:47, scope 29 // id: %407
  10769. destroy_value %399 : $UILabel, loc "GPAViewController.swift":68:47, scope 29 // id: %408
  10770. destroy_addr %398 : $*UILabel, loc "GPAViewController.swift":68:47, scope 29 // id: %409
  10771. dealloc_stack %386 : $*Optional<UILabel>, loc "GPAViewController.swift":68:47, scope 29 // id: %410
  10772. %411 = alloc_stack $Optional<UILabel>, loc "GPAViewController.swift":69:17, scope 29 // users: %435, %423, %415, %414
  10773. %412 = class_method %1 : $GPAViewController, #GPAViewController.letterGradeLabel!getter.1 : (GPAViewController) -> () -> UILabel! , $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":69:17, scope 29 // user: %413
  10774. %413 = apply %412(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":69:17, scope 29 // user: %414
  10775. store %413 to [init] %411 : $*Optional<UILabel>, loc "GPAViewController.swift":69:17, scope 29 // id: %414
  10776. switch_enum_addr %411 : $*Optional<UILabel>, case #Optional.none!enumelt: bb21, default bb22, loc "GPAViewController.swift":69:17, scope 29 // id: %415
  10777.  
  10778. bb21: // Preds: bb20
  10779. %416 = string_literal utf8 "GPAViewController.swift", loc "GPAViewController.swift":69:17, scope 29 // user: %421
  10780. %417 = integer_literal $Builtin.Word, 23, loc "GPAViewController.swift":69:17, scope 29 // user: %421
  10781. %418 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":69:17, scope 29 // user: %421
  10782. %419 = integer_literal $Builtin.Word, 69, loc "GPAViewController.swift":69:17, scope 29 // user: %421
  10783. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  10784. %420 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":69:17, scope 29 // user: %421
  10785. %421 = apply %420(%416, %417, %418, %419) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":69:17, scope 29
  10786. unreachable , loc "GPAViewController.swift":69:17, scope 29 // id: %422
  10787.  
  10788. bb22: // Preds: bb20
  10789. %423 = unchecked_take_enum_data_addr %411 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "GPAViewController.swift":69:17, scope 29 // users: %434, %424
  10790. %424 = load [copy] %423 : $*UILabel, loc "GPAViewController.swift":69:17, scope 29 // users: %433, %431, %430
  10791. %425 = metatype $@thick UIColor.Type, loc "GPAViewController.swift":69:46, scope 29 // users: %427, %426
  10792. %426 = class_method [volatile] %425 : $@thick UIColor.Type, #UIColor.redColor!getter.1.foreign : (UIColor.Type) -> () -> UIColor , $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":69:47, scope 29 // user: %428
  10793. %427 = thick_to_objc_metatype %425 : $@thick UIColor.Type to $@objc_metatype UIColor.Type, loc "GPAViewController.swift":69:47, scope 29 // user: %428
  10794. %428 = apply %426(%427) : $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":69:47, scope 29 // users: %432, %429
  10795. %429 = unchecked_ref_cast %428 : $UIColor to $Optional<UIColor>, loc "GPAViewController.swift":69:47, scope 29 // user: %431
  10796. %430 = class_method [volatile] %424 : $UILabel, #UILabel.textColor!setter.1.foreign : (UILabel) -> (UIColor!) -> () , $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":69:44, scope 29 // user: %431
  10797. %431 = apply %430(%429, %424) : $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":69:44, scope 29
  10798. destroy_value %428 : $UIColor, loc "GPAViewController.swift":69:47, scope 29 // id: %432
  10799. destroy_value %424 : $UILabel, loc "GPAViewController.swift":69:47, scope 29 // id: %433
  10800. destroy_addr %423 : $*UILabel, loc "GPAViewController.swift":69:47, scope 29 // id: %434
  10801. dealloc_stack %411 : $*Optional<UILabel>, loc "GPAViewController.swift":69:47, scope 29 // id: %435
  10802. // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
  10803. %436 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":70:34, scope 29 // user: %439
  10804. %437 = metatype $@thin Double.Type, loc "GPAViewController.swift":70:34, scope 29 // user: %439
  10805. %438 = integer_literal $Builtin.Int2048, 1, loc "GPAViewController.swift":70:34, scope 29 // user: %439
  10806. %439 = apply %436(%438, %437) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":70:34, scope 29 // user: %440
  10807. assign %439 to %243 : $*Double, loc "GPAViewController.swift":70:32, scope 29 // id: %440
  10808. %441 = string_literal utf8 "D", loc "GPAViewController.swift":71:26, scope 29 // user: %446
  10809. %442 = integer_literal $Builtin.Word, 1, loc "GPAViewController.swift":71:26, scope 29 // user: %446
  10810. %443 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":71:26, scope 29 // user: %446
  10811. %444 = metatype $@thin String.Type, loc "GPAViewController.swift":71:26, scope 29 // user: %446
  10812. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  10813. %445 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "GPAViewController.swift":71:26, scope 29 // user: %446
  10814. %446 = apply %445(%441, %442, %443, %444) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "GPAViewController.swift":71:26, scope 29 // user: %447
  10815. assign %446 to %250 : $*String, loc "GPAViewController.swift":71:24, scope 29 // id: %447
  10816. br bb95, loc "GPAViewController.swift":71:26, scope 23 // id: %448
  10817.  
  10818. bb23: // Preds: bb17
  10819. br bb24, loc "GPAViewController.swift":67:18, scope 28 // id: %449
  10820.  
  10821. bb24: // Preds: bb23
  10822. debug_value %238 : $Double, let, name "$match", loc "GPAViewController.swift":72:18, scope 30 // id: %450
  10823. // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
  10824. %451 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "GPAViewController.swift":72:18, scope 30 // user: %475
  10825. // function_ref static ClosedRange.~= infix(ClosedRange<A>, A) -> Bool
  10826. %452 = function_ref @_TZFVs11ClosedRangeoi2tefTGS_x_x_Sb : $@convention(method) <τ_0_0 where τ_0_0 : Comparable> (@in ClosedRange<τ_0_0>, @in τ_0_0, @thin ClosedRange<τ_0_0>.Type) -> Bool, loc "GPAViewController.swift":72:18, scope 30 // user: %474
  10827. %453 = metatype $@thin ClosedRange<Double>.Type, loc "GPAViewController.swift":72:18, scope 30 // user: %474
  10828. // function_ref ... infix<A where ...> (A, A) -> ClosedRange<A>
  10829. %454 = function_ref @_TFsoi3zzzuRxs10ComparablerFTxx_GVs11ClosedRangex_ : $@convention(thin) <τ_0_0 where τ_0_0 : Comparable> (@in τ_0_0, @in τ_0_0) -> @out ClosedRange<τ_0_0>, loc "GPAViewController.swift":72:20, scope 30 // user: %468
  10830. // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
  10831. %455 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":72:18, scope 30 // user: %458
  10832. %456 = metatype $@thin Double.Type, loc "GPAViewController.swift":72:18, scope 30 // user: %458
  10833. %457 = integer_literal $Builtin.Int2048, 67, loc "GPAViewController.swift":72:18, scope 30 // user: %458
  10834. %458 = apply %455(%457, %456) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":72:18, scope 30 // user: %460
  10835. %459 = alloc_stack $Double, loc "GPAViewController.swift":72:18, scope 30 // users: %480, %468, %460
  10836. store %458 to [trivial] %459 : $*Double, loc "GPAViewController.swift":72:18, scope 30 // id: %460
  10837. // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
  10838. %461 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":72:23, scope 30 // user: %464
  10839. %462 = metatype $@thin Double.Type, loc "GPAViewController.swift":72:23, scope 30 // user: %464
  10840. %463 = integer_literal $Builtin.Int2048, 69, loc "GPAViewController.swift":72:23, scope 30 // user: %464
  10841. %464 = apply %461(%463, %462) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":72:23, scope 30 // user: %466
  10842. %465 = alloc_stack $Double, loc "GPAViewController.swift":72:23, scope 30 // users: %479, %468, %466
  10843. store %464 to [trivial] %465 : $*Double, loc "GPAViewController.swift":72:23, scope 30 // id: %466
  10844. %467 = alloc_stack $ClosedRange<Double>, loc "GPAViewController.swift":72:20, scope 30 // users: %478, %469, %468
  10845. %468 = apply %454<Double>(%467, %459, %465) : $@convention(thin) <τ_0_0 where τ_0_0 : Comparable> (@in τ_0_0, @in τ_0_0) -> @out ClosedRange<τ_0_0>, loc "GPAViewController.swift":72:20, scope 30
  10846. %469 = load [trivial] %467 : $*ClosedRange<Double>, loc "GPAViewController.swift":72:20, scope 30 // user: %471
  10847. %470 = alloc_stack $ClosedRange<Double>, loc "GPAViewController.swift":72:20, scope 30 // users: %477, %474, %471
  10848. store %469 to [trivial] %470 : $*ClosedRange<Double>, loc "GPAViewController.swift":72:20, scope 30 // id: %471
  10849. %472 = alloc_stack $Double, loc "GPAViewController.swift":72:18, scope 30 // users: %476, %474, %473
  10850. store %238 to [trivial] %472 : $*Double, loc "GPAViewController.swift":72:18, scope 30 // id: %473
  10851. %474 = apply %452<Double>(%470, %472, %453) : $@convention(method) <τ_0_0 where τ_0_0 : Comparable> (@in ClosedRange<τ_0_0>, @in τ_0_0, @thin ClosedRange<τ_0_0>.Type) -> Bool, loc "GPAViewController.swift":72:18, scope 30 // user: %475
  10852. %475 = apply %451(%474) : $@convention(method) (Bool) -> Builtin.Int1, loc "GPAViewController.swift":72:23, scope 30 // user: %481
  10853. dealloc_stack %472 : $*Double, loc "GPAViewController.swift":72:23, scope 30 // id: %476
  10854. dealloc_stack %470 : $*ClosedRange<Double>, loc "GPAViewController.swift":72:23, scope 30 // id: %477
  10855. dealloc_stack %467 : $*ClosedRange<Double>, loc "GPAViewController.swift":72:23, scope 30 // id: %478
  10856. dealloc_stack %465 : $*Double, loc "GPAViewController.swift":72:23, scope 30 // id: %479
  10857. dealloc_stack %459 : $*Double, loc "GPAViewController.swift":72:23, scope 30 // id: %480
  10858. cond_br %475, bb25, bb30, loc "GPAViewController.swift":72:18, scope 30 // id: %481
  10859.  
  10860. bb25: // Preds: bb24
  10861. %482 = alloc_stack $Optional<UILabel>, loc "GPAViewController.swift":73:17, scope 31 // users: %506, %494, %486, %485
  10862. %483 = class_method %1 : $GPAViewController, #GPAViewController.standardGPALabel!getter.1 : (GPAViewController) -> () -> UILabel! , $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":73:17, scope 31 // user: %484
  10863. %484 = apply %483(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":73:17, scope 31 // user: %485
  10864. store %484 to [init] %482 : $*Optional<UILabel>, loc "GPAViewController.swift":73:17, scope 31 // id: %485
  10865. switch_enum_addr %482 : $*Optional<UILabel>, case #Optional.none!enumelt: bb26, default bb27, loc "GPAViewController.swift":73:17, scope 31 // id: %486
  10866.  
  10867. bb26: // Preds: bb25
  10868. %487 = string_literal utf8 "GPAViewController.swift", loc "GPAViewController.swift":73:17, scope 31 // user: %492
  10869. %488 = integer_literal $Builtin.Word, 23, loc "GPAViewController.swift":73:17, scope 31 // user: %492
  10870. %489 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":73:17, scope 31 // user: %492
  10871. %490 = integer_literal $Builtin.Word, 73, loc "GPAViewController.swift":73:17, scope 31 // user: %492
  10872. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  10873. %491 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":73:17, scope 31 // user: %492
  10874. %492 = apply %491(%487, %488, %489, %490) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":73:17, scope 31
  10875. unreachable , loc "GPAViewController.swift":73:17, scope 31 // id: %493
  10876.  
  10877. bb27: // Preds: bb25
  10878. %494 = unchecked_take_enum_data_addr %482 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "GPAViewController.swift":73:17, scope 31 // users: %505, %495
  10879. %495 = load [copy] %494 : $*UILabel, loc "GPAViewController.swift":73:17, scope 31 // users: %504, %502, %501
  10880. %496 = metatype $@thick UIColor.Type, loc "GPAViewController.swift":73:46, scope 31 // users: %498, %497
  10881. %497 = class_method [volatile] %496 : $@thick UIColor.Type, #UIColor.redColor!getter.1.foreign : (UIColor.Type) -> () -> UIColor , $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":73:47, scope 31 // user: %499
  10882. %498 = thick_to_objc_metatype %496 : $@thick UIColor.Type to $@objc_metatype UIColor.Type, loc "GPAViewController.swift":73:47, scope 31 // user: %499
  10883. %499 = apply %497(%498) : $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":73:47, scope 31 // users: %503, %500
  10884. %500 = unchecked_ref_cast %499 : $UIColor to $Optional<UIColor>, loc "GPAViewController.swift":73:47, scope 31 // user: %502
  10885. %501 = class_method [volatile] %495 : $UILabel, #UILabel.textColor!setter.1.foreign : (UILabel) -> (UIColor!) -> () , $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":73:44, scope 31 // user: %502
  10886. %502 = apply %501(%500, %495) : $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":73:44, scope 31
  10887. destroy_value %499 : $UIColor, loc "GPAViewController.swift":73:47, scope 31 // id: %503
  10888. destroy_value %495 : $UILabel, loc "GPAViewController.swift":73:47, scope 31 // id: %504
  10889. destroy_addr %494 : $*UILabel, loc "GPAViewController.swift":73:47, scope 31 // id: %505
  10890. dealloc_stack %482 : $*Optional<UILabel>, loc "GPAViewController.swift":73:47, scope 31 // id: %506
  10891. %507 = alloc_stack $Optional<UILabel>, loc "GPAViewController.swift":74:17, scope 31 // users: %531, %519, %511, %510
  10892. %508 = class_method %1 : $GPAViewController, #GPAViewController.letterGradeLabel!getter.1 : (GPAViewController) -> () -> UILabel! , $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":74:17, scope 31 // user: %509
  10893. %509 = apply %508(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":74:17, scope 31 // user: %510
  10894. store %509 to [init] %507 : $*Optional<UILabel>, loc "GPAViewController.swift":74:17, scope 31 // id: %510
  10895. switch_enum_addr %507 : $*Optional<UILabel>, case #Optional.none!enumelt: bb28, default bb29, loc "GPAViewController.swift":74:17, scope 31 // id: %511
  10896.  
  10897. bb28: // Preds: bb27
  10898. %512 = string_literal utf8 "GPAViewController.swift", loc "GPAViewController.swift":74:17, scope 31 // user: %517
  10899. %513 = integer_literal $Builtin.Word, 23, loc "GPAViewController.swift":74:17, scope 31 // user: %517
  10900. %514 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":74:17, scope 31 // user: %517
  10901. %515 = integer_literal $Builtin.Word, 74, loc "GPAViewController.swift":74:17, scope 31 // user: %517
  10902. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  10903. %516 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":74:17, scope 31 // user: %517
  10904. %517 = apply %516(%512, %513, %514, %515) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":74:17, scope 31
  10905. unreachable , loc "GPAViewController.swift":74:17, scope 31 // id: %518
  10906.  
  10907. bb29: // Preds: bb27
  10908. %519 = unchecked_take_enum_data_addr %507 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "GPAViewController.swift":74:17, scope 31 // users: %530, %520
  10909. %520 = load [copy] %519 : $*UILabel, loc "GPAViewController.swift":74:17, scope 31 // users: %529, %527, %526
  10910. %521 = metatype $@thick UIColor.Type, loc "GPAViewController.swift":74:46, scope 31 // users: %523, %522
  10911. %522 = class_method [volatile] %521 : $@thick UIColor.Type, #UIColor.redColor!getter.1.foreign : (UIColor.Type) -> () -> UIColor , $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":74:47, scope 31 // user: %524
  10912. %523 = thick_to_objc_metatype %521 : $@thick UIColor.Type to $@objc_metatype UIColor.Type, loc "GPAViewController.swift":74:47, scope 31 // user: %524
  10913. %524 = apply %522(%523) : $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":74:47, scope 31 // users: %528, %525
  10914. %525 = unchecked_ref_cast %524 : $UIColor to $Optional<UIColor>, loc "GPAViewController.swift":74:47, scope 31 // user: %527
  10915. %526 = class_method [volatile] %520 : $UILabel, #UILabel.textColor!setter.1.foreign : (UILabel) -> (UIColor!) -> () , $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":74:44, scope 31 // user: %527
  10916. %527 = apply %526(%525, %520) : $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":74:44, scope 31
  10917. destroy_value %524 : $UIColor, loc "GPAViewController.swift":74:47, scope 31 // id: %528
  10918. destroy_value %520 : $UILabel, loc "GPAViewController.swift":74:47, scope 31 // id: %529
  10919. destroy_addr %519 : $*UILabel, loc "GPAViewController.swift":74:47, scope 31 // id: %530
  10920. dealloc_stack %507 : $*Optional<UILabel>, loc "GPAViewController.swift":74:47, scope 31 // id: %531
  10921. // function_ref Double.init(_builtinFloatLiteral : Builtin.Float64) -> Double
  10922. %532 = function_ref @_TFSdCfT20_builtinFloatLiteralBf64__Sd : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "GPAViewController.swift":75:34, scope 31 // user: %535
  10923. %533 = metatype $@thin Double.Type, loc "GPAViewController.swift":75:34, scope 31 // user: %535
  10924. %534 = float_literal $Builtin.FPIEEE64, 0x3FF4CCCCCCCCCCCD // 1.3, loc "GPAViewController.swift":75:34, scope 31 // user: %535
  10925. %535 = apply %532(%534, %533) : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "GPAViewController.swift":75:34, scope 31 // user: %536
  10926. assign %535 to %243 : $*Double, loc "GPAViewController.swift":75:32, scope 31 // id: %536
  10927. %537 = string_literal utf8 "D+", loc "GPAViewController.swift":76:26, scope 31 // user: %542
  10928. %538 = integer_literal $Builtin.Word, 2, loc "GPAViewController.swift":76:26, scope 31 // user: %542
  10929. %539 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":76:26, scope 31 // user: %542
  10930. %540 = metatype $@thin String.Type, loc "GPAViewController.swift":76:26, scope 31 // user: %542
  10931. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  10932. %541 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "GPAViewController.swift":76:26, scope 31 // user: %542
  10933. %542 = apply %541(%537, %538, %539, %540) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "GPAViewController.swift":76:26, scope 31 // user: %543
  10934. assign %542 to %250 : $*String, loc "GPAViewController.swift":76:24, scope 31 // id: %543
  10935. br bb95, loc "GPAViewController.swift":76:26, scope 23 // id: %544
  10936.  
  10937. bb30: // Preds: bb24
  10938. br bb31, loc "GPAViewController.swift":72:18, scope 30 // id: %545
  10939.  
  10940. bb31: // Preds: bb30
  10941. debug_value %238 : $Double, let, name "$match", loc "GPAViewController.swift":77:18, scope 32 // id: %546
  10942. // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
  10943. %547 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "GPAViewController.swift":77:18, scope 32 // user: %571
  10944. // function_ref static ClosedRange.~= infix(ClosedRange<A>, A) -> Bool
  10945. %548 = function_ref @_TZFVs11ClosedRangeoi2tefTGS_x_x_Sb : $@convention(method) <τ_0_0 where τ_0_0 : Comparable> (@in ClosedRange<τ_0_0>, @in τ_0_0, @thin ClosedRange<τ_0_0>.Type) -> Bool, loc "GPAViewController.swift":77:18, scope 32 // user: %570
  10946. %549 = metatype $@thin ClosedRange<Double>.Type, loc "GPAViewController.swift":77:18, scope 32 // user: %570
  10947. // function_ref ... infix<A where ...> (A, A) -> ClosedRange<A>
  10948. %550 = function_ref @_TFsoi3zzzuRxs10ComparablerFTxx_GVs11ClosedRangex_ : $@convention(thin) <τ_0_0 where τ_0_0 : Comparable> (@in τ_0_0, @in τ_0_0) -> @out ClosedRange<τ_0_0>, loc "GPAViewController.swift":77:20, scope 32 // user: %564
  10949. // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
  10950. %551 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":77:18, scope 32 // user: %554
  10951. %552 = metatype $@thin Double.Type, loc "GPAViewController.swift":77:18, scope 32 // user: %554
  10952. %553 = integer_literal $Builtin.Int2048, 70, loc "GPAViewController.swift":77:18, scope 32 // user: %554
  10953. %554 = apply %551(%553, %552) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":77:18, scope 32 // user: %556
  10954. %555 = alloc_stack $Double, loc "GPAViewController.swift":77:18, scope 32 // users: %576, %564, %556
  10955. store %554 to [trivial] %555 : $*Double, loc "GPAViewController.swift":77:18, scope 32 // id: %556
  10956. // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
  10957. %557 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":77:23, scope 32 // user: %560
  10958. %558 = metatype $@thin Double.Type, loc "GPAViewController.swift":77:23, scope 32 // user: %560
  10959. %559 = integer_literal $Builtin.Int2048, 72, loc "GPAViewController.swift":77:23, scope 32 // user: %560
  10960. %560 = apply %557(%559, %558) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":77:23, scope 32 // user: %562
  10961. %561 = alloc_stack $Double, loc "GPAViewController.swift":77:23, scope 32 // users: %575, %564, %562
  10962. store %560 to [trivial] %561 : $*Double, loc "GPAViewController.swift":77:23, scope 32 // id: %562
  10963. %563 = alloc_stack $ClosedRange<Double>, loc "GPAViewController.swift":77:20, scope 32 // users: %574, %565, %564
  10964. %564 = apply %550<Double>(%563, %555, %561) : $@convention(thin) <τ_0_0 where τ_0_0 : Comparable> (@in τ_0_0, @in τ_0_0) -> @out ClosedRange<τ_0_0>, loc "GPAViewController.swift":77:20, scope 32
  10965. %565 = load [trivial] %563 : $*ClosedRange<Double>, loc "GPAViewController.swift":77:20, scope 32 // user: %567
  10966. %566 = alloc_stack $ClosedRange<Double>, loc "GPAViewController.swift":77:20, scope 32 // users: %573, %570, %567
  10967. store %565 to [trivial] %566 : $*ClosedRange<Double>, loc "GPAViewController.swift":77:20, scope 32 // id: %567
  10968. %568 = alloc_stack $Double, loc "GPAViewController.swift":77:18, scope 32 // users: %572, %570, %569
  10969. store %238 to [trivial] %568 : $*Double, loc "GPAViewController.swift":77:18, scope 32 // id: %569
  10970. %570 = apply %548<Double>(%566, %568, %549) : $@convention(method) <τ_0_0 where τ_0_0 : Comparable> (@in ClosedRange<τ_0_0>, @in τ_0_0, @thin ClosedRange<τ_0_0>.Type) -> Bool, loc "GPAViewController.swift":77:18, scope 32 // user: %571
  10971. %571 = apply %547(%570) : $@convention(method) (Bool) -> Builtin.Int1, loc "GPAViewController.swift":77:23, scope 32 // user: %577
  10972. dealloc_stack %568 : $*Double, loc "GPAViewController.swift":77:23, scope 32 // id: %572
  10973. dealloc_stack %566 : $*ClosedRange<Double>, loc "GPAViewController.swift":77:23, scope 32 // id: %573
  10974. dealloc_stack %563 : $*ClosedRange<Double>, loc "GPAViewController.swift":77:23, scope 32 // id: %574
  10975. dealloc_stack %561 : $*Double, loc "GPAViewController.swift":77:23, scope 32 // id: %575
  10976. dealloc_stack %555 : $*Double, loc "GPAViewController.swift":77:23, scope 32 // id: %576
  10977. cond_br %571, bb32, bb37, loc "GPAViewController.swift":77:18, scope 32 // id: %577
  10978.  
  10979. bb32: // Preds: bb31
  10980. %578 = alloc_stack $Optional<UILabel>, loc "GPAViewController.swift":78:17, scope 33 // users: %602, %590, %582, %581
  10981. %579 = class_method %1 : $GPAViewController, #GPAViewController.standardGPALabel!getter.1 : (GPAViewController) -> () -> UILabel! , $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":78:17, scope 33 // user: %580
  10982. %580 = apply %579(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":78:17, scope 33 // user: %581
  10983. store %580 to [init] %578 : $*Optional<UILabel>, loc "GPAViewController.swift":78:17, scope 33 // id: %581
  10984. switch_enum_addr %578 : $*Optional<UILabel>, case #Optional.none!enumelt: bb33, default bb34, loc "GPAViewController.swift":78:17, scope 33 // id: %582
  10985.  
  10986. bb33: // Preds: bb32
  10987. %583 = string_literal utf8 "GPAViewController.swift", loc "GPAViewController.swift":78:17, scope 33 // user: %588
  10988. %584 = integer_literal $Builtin.Word, 23, loc "GPAViewController.swift":78:17, scope 33 // user: %588
  10989. %585 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":78:17, scope 33 // user: %588
  10990. %586 = integer_literal $Builtin.Word, 78, loc "GPAViewController.swift":78:17, scope 33 // user: %588
  10991. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  10992. %587 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":78:17, scope 33 // user: %588
  10993. %588 = apply %587(%583, %584, %585, %586) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":78:17, scope 33
  10994. unreachable , loc "GPAViewController.swift":78:17, scope 33 // id: %589
  10995.  
  10996. bb34: // Preds: bb32
  10997. %590 = unchecked_take_enum_data_addr %578 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "GPAViewController.swift":78:17, scope 33 // users: %601, %591
  10998. %591 = load [copy] %590 : $*UILabel, loc "GPAViewController.swift":78:17, scope 33 // users: %600, %598, %597
  10999. %592 = metatype $@thick UIColor.Type, loc "GPAViewController.swift":78:46, scope 33 // users: %594, %593
  11000. %593 = class_method [volatile] %592 : $@thick UIColor.Type, #UIColor.orangeColor!getter.1.foreign : (UIColor.Type) -> () -> UIColor , $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":78:47, scope 33 // user: %595
  11001. %594 = thick_to_objc_metatype %592 : $@thick UIColor.Type to $@objc_metatype UIColor.Type, loc "GPAViewController.swift":78:47, scope 33 // user: %595
  11002. %595 = apply %593(%594) : $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":78:47, scope 33 // users: %599, %596
  11003. %596 = unchecked_ref_cast %595 : $UIColor to $Optional<UIColor>, loc "GPAViewController.swift":78:47, scope 33 // user: %598
  11004. %597 = class_method [volatile] %591 : $UILabel, #UILabel.textColor!setter.1.foreign : (UILabel) -> (UIColor!) -> () , $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":78:44, scope 33 // user: %598
  11005. %598 = apply %597(%596, %591) : $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":78:44, scope 33
  11006. destroy_value %595 : $UIColor, loc "GPAViewController.swift":78:47, scope 33 // id: %599
  11007. destroy_value %591 : $UILabel, loc "GPAViewController.swift":78:47, scope 33 // id: %600
  11008. destroy_addr %590 : $*UILabel, loc "GPAViewController.swift":78:47, scope 33 // id: %601
  11009. dealloc_stack %578 : $*Optional<UILabel>, loc "GPAViewController.swift":78:47, scope 33 // id: %602
  11010. %603 = alloc_stack $Optional<UILabel>, loc "GPAViewController.swift":79:17, scope 33 // users: %627, %615, %607, %606
  11011. %604 = class_method %1 : $GPAViewController, #GPAViewController.letterGradeLabel!getter.1 : (GPAViewController) -> () -> UILabel! , $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":79:17, scope 33 // user: %605
  11012. %605 = apply %604(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":79:17, scope 33 // user: %606
  11013. store %605 to [init] %603 : $*Optional<UILabel>, loc "GPAViewController.swift":79:17, scope 33 // id: %606
  11014. switch_enum_addr %603 : $*Optional<UILabel>, case #Optional.none!enumelt: bb35, default bb36, loc "GPAViewController.swift":79:17, scope 33 // id: %607
  11015.  
  11016. bb35: // Preds: bb34
  11017. %608 = string_literal utf8 "GPAViewController.swift", loc "GPAViewController.swift":79:17, scope 33 // user: %613
  11018. %609 = integer_literal $Builtin.Word, 23, loc "GPAViewController.swift":79:17, scope 33 // user: %613
  11019. %610 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":79:17, scope 33 // user: %613
  11020. %611 = integer_literal $Builtin.Word, 79, loc "GPAViewController.swift":79:17, scope 33 // user: %613
  11021. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  11022. %612 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":79:17, scope 33 // user: %613
  11023. %613 = apply %612(%608, %609, %610, %611) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":79:17, scope 33
  11024. unreachable , loc "GPAViewController.swift":79:17, scope 33 // id: %614
  11025.  
  11026. bb36: // Preds: bb34
  11027. %615 = unchecked_take_enum_data_addr %603 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "GPAViewController.swift":79:17, scope 33 // users: %626, %616
  11028. %616 = load [copy] %615 : $*UILabel, loc "GPAViewController.swift":79:17, scope 33 // users: %625, %623, %622
  11029. %617 = metatype $@thick UIColor.Type, loc "GPAViewController.swift":79:46, scope 33 // users: %619, %618
  11030. %618 = class_method [volatile] %617 : $@thick UIColor.Type, #UIColor.orangeColor!getter.1.foreign : (UIColor.Type) -> () -> UIColor , $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":79:47, scope 33 // user: %620
  11031. %619 = thick_to_objc_metatype %617 : $@thick UIColor.Type to $@objc_metatype UIColor.Type, loc "GPAViewController.swift":79:47, scope 33 // user: %620
  11032. %620 = apply %618(%619) : $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":79:47, scope 33 // users: %624, %621
  11033. %621 = unchecked_ref_cast %620 : $UIColor to $Optional<UIColor>, loc "GPAViewController.swift":79:47, scope 33 // user: %623
  11034. %622 = class_method [volatile] %616 : $UILabel, #UILabel.textColor!setter.1.foreign : (UILabel) -> (UIColor!) -> () , $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":79:44, scope 33 // user: %623
  11035. %623 = apply %622(%621, %616) : $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":79:44, scope 33
  11036. destroy_value %620 : $UIColor, loc "GPAViewController.swift":79:47, scope 33 // id: %624
  11037. destroy_value %616 : $UILabel, loc "GPAViewController.swift":79:47, scope 33 // id: %625
  11038. destroy_addr %615 : $*UILabel, loc "GPAViewController.swift":79:47, scope 33 // id: %626
  11039. dealloc_stack %603 : $*Optional<UILabel>, loc "GPAViewController.swift":79:47, scope 33 // id: %627
  11040. // function_ref Double.init(_builtinFloatLiteral : Builtin.Float64) -> Double
  11041. %628 = function_ref @_TFSdCfT20_builtinFloatLiteralBf64__Sd : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "GPAViewController.swift":80:34, scope 33 // user: %631
  11042. %629 = metatype $@thin Double.Type, loc "GPAViewController.swift":80:34, scope 33 // user: %631
  11043. %630 = float_literal $Builtin.FPIEEE64, 0x3FFB333333333333 // 1.7, loc "GPAViewController.swift":80:34, scope 33 // user: %631
  11044. %631 = apply %628(%630, %629) : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "GPAViewController.swift":80:34, scope 33 // user: %632
  11045. assign %631 to %243 : $*Double, loc "GPAViewController.swift":80:32, scope 33 // id: %632
  11046. %633 = string_literal utf8 "C-", loc "GPAViewController.swift":81:26, scope 33 // user: %638
  11047. %634 = integer_literal $Builtin.Word, 2, loc "GPAViewController.swift":81:26, scope 33 // user: %638
  11048. %635 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":81:26, scope 33 // user: %638
  11049. %636 = metatype $@thin String.Type, loc "GPAViewController.swift":81:26, scope 33 // user: %638
  11050. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  11051. %637 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "GPAViewController.swift":81:26, scope 33 // user: %638
  11052. %638 = apply %637(%633, %634, %635, %636) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "GPAViewController.swift":81:26, scope 33 // user: %639
  11053. assign %638 to %250 : $*String, loc "GPAViewController.swift":81:24, scope 33 // id: %639
  11054. br bb95, loc "GPAViewController.swift":81:26, scope 23 // id: %640
  11055.  
  11056. bb37: // Preds: bb31
  11057. br bb38, loc "GPAViewController.swift":77:18, scope 32 // id: %641
  11058.  
  11059. bb38: // Preds: bb37
  11060. debug_value %238 : $Double, let, name "$match", loc "GPAViewController.swift":82:18, scope 34 // id: %642
  11061. // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
  11062. %643 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "GPAViewController.swift":82:18, scope 34 // user: %667
  11063. // function_ref static ClosedRange.~= infix(ClosedRange<A>, A) -> Bool
  11064. %644 = function_ref @_TZFVs11ClosedRangeoi2tefTGS_x_x_Sb : $@convention(method) <τ_0_0 where τ_0_0 : Comparable> (@in ClosedRange<τ_0_0>, @in τ_0_0, @thin ClosedRange<τ_0_0>.Type) -> Bool, loc "GPAViewController.swift":82:18, scope 34 // user: %666
  11065. %645 = metatype $@thin ClosedRange<Double>.Type, loc "GPAViewController.swift":82:18, scope 34 // user: %666
  11066. // function_ref ... infix<A where ...> (A, A) -> ClosedRange<A>
  11067. %646 = function_ref @_TFsoi3zzzuRxs10ComparablerFTxx_GVs11ClosedRangex_ : $@convention(thin) <τ_0_0 where τ_0_0 : Comparable> (@in τ_0_0, @in τ_0_0) -> @out ClosedRange<τ_0_0>, loc "GPAViewController.swift":82:20, scope 34 // user: %660
  11068. // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
  11069. %647 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":82:18, scope 34 // user: %650
  11070. %648 = metatype $@thin Double.Type, loc "GPAViewController.swift":82:18, scope 34 // user: %650
  11071. %649 = integer_literal $Builtin.Int2048, 73, loc "GPAViewController.swift":82:18, scope 34 // user: %650
  11072. %650 = apply %647(%649, %648) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":82:18, scope 34 // user: %652
  11073. %651 = alloc_stack $Double, loc "GPAViewController.swift":82:18, scope 34 // users: %672, %660, %652
  11074. store %650 to [trivial] %651 : $*Double, loc "GPAViewController.swift":82:18, scope 34 // id: %652
  11075. // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
  11076. %653 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":82:23, scope 34 // user: %656
  11077. %654 = metatype $@thin Double.Type, loc "GPAViewController.swift":82:23, scope 34 // user: %656
  11078. %655 = integer_literal $Builtin.Int2048, 76, loc "GPAViewController.swift":82:23, scope 34 // user: %656
  11079. %656 = apply %653(%655, %654) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":82:23, scope 34 // user: %658
  11080. %657 = alloc_stack $Double, loc "GPAViewController.swift":82:23, scope 34 // users: %671, %660, %658
  11081. store %656 to [trivial] %657 : $*Double, loc "GPAViewController.swift":82:23, scope 34 // id: %658
  11082. %659 = alloc_stack $ClosedRange<Double>, loc "GPAViewController.swift":82:20, scope 34 // users: %670, %661, %660
  11083. %660 = apply %646<Double>(%659, %651, %657) : $@convention(thin) <τ_0_0 where τ_0_0 : Comparable> (@in τ_0_0, @in τ_0_0) -> @out ClosedRange<τ_0_0>, loc "GPAViewController.swift":82:20, scope 34
  11084. %661 = load [trivial] %659 : $*ClosedRange<Double>, loc "GPAViewController.swift":82:20, scope 34 // user: %663
  11085. %662 = alloc_stack $ClosedRange<Double>, loc "GPAViewController.swift":82:20, scope 34 // users: %669, %666, %663
  11086. store %661 to [trivial] %662 : $*ClosedRange<Double>, loc "GPAViewController.swift":82:20, scope 34 // id: %663
  11087. %664 = alloc_stack $Double, loc "GPAViewController.swift":82:18, scope 34 // users: %668, %666, %665
  11088. store %238 to [trivial] %664 : $*Double, loc "GPAViewController.swift":82:18, scope 34 // id: %665
  11089. %666 = apply %644<Double>(%662, %664, %645) : $@convention(method) <τ_0_0 where τ_0_0 : Comparable> (@in ClosedRange<τ_0_0>, @in τ_0_0, @thin ClosedRange<τ_0_0>.Type) -> Bool, loc "GPAViewController.swift":82:18, scope 34 // user: %667
  11090. %667 = apply %643(%666) : $@convention(method) (Bool) -> Builtin.Int1, loc "GPAViewController.swift":82:23, scope 34 // user: %673
  11091. dealloc_stack %664 : $*Double, loc "GPAViewController.swift":82:23, scope 34 // id: %668
  11092. dealloc_stack %662 : $*ClosedRange<Double>, loc "GPAViewController.swift":82:23, scope 34 // id: %669
  11093. dealloc_stack %659 : $*ClosedRange<Double>, loc "GPAViewController.swift":82:23, scope 34 // id: %670
  11094. dealloc_stack %657 : $*Double, loc "GPAViewController.swift":82:23, scope 34 // id: %671
  11095. dealloc_stack %651 : $*Double, loc "GPAViewController.swift":82:23, scope 34 // id: %672
  11096. cond_br %667, bb39, bb44, loc "GPAViewController.swift":82:18, scope 34 // id: %673
  11097.  
  11098. bb39: // Preds: bb38
  11099. %674 = alloc_stack $Optional<UILabel>, loc "GPAViewController.swift":83:17, scope 35 // users: %698, %686, %678, %677
  11100. %675 = class_method %1 : $GPAViewController, #GPAViewController.standardGPALabel!getter.1 : (GPAViewController) -> () -> UILabel! , $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":83:17, scope 35 // user: %676
  11101. %676 = apply %675(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":83:17, scope 35 // user: %677
  11102. store %676 to [init] %674 : $*Optional<UILabel>, loc "GPAViewController.swift":83:17, scope 35 // id: %677
  11103. switch_enum_addr %674 : $*Optional<UILabel>, case #Optional.none!enumelt: bb40, default bb41, loc "GPAViewController.swift":83:17, scope 35 // id: %678
  11104.  
  11105. bb40: // Preds: bb39
  11106. %679 = string_literal utf8 "GPAViewController.swift", loc "GPAViewController.swift":83:17, scope 35 // user: %684
  11107. %680 = integer_literal $Builtin.Word, 23, loc "GPAViewController.swift":83:17, scope 35 // user: %684
  11108. %681 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":83:17, scope 35 // user: %684
  11109. %682 = integer_literal $Builtin.Word, 83, loc "GPAViewController.swift":83:17, scope 35 // user: %684
  11110. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  11111. %683 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":83:17, scope 35 // user: %684
  11112. %684 = apply %683(%679, %680, %681, %682) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":83:17, scope 35
  11113. unreachable , loc "GPAViewController.swift":83:17, scope 35 // id: %685
  11114.  
  11115. bb41: // Preds: bb39
  11116. %686 = unchecked_take_enum_data_addr %674 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "GPAViewController.swift":83:17, scope 35 // users: %697, %687
  11117. %687 = load [copy] %686 : $*UILabel, loc "GPAViewController.swift":83:17, scope 35 // users: %696, %694, %693
  11118. %688 = metatype $@thick UIColor.Type, loc "GPAViewController.swift":83:46, scope 35 // users: %690, %689
  11119. %689 = class_method [volatile] %688 : $@thick UIColor.Type, #UIColor.orangeColor!getter.1.foreign : (UIColor.Type) -> () -> UIColor , $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":83:47, scope 35 // user: %691
  11120. %690 = thick_to_objc_metatype %688 : $@thick UIColor.Type to $@objc_metatype UIColor.Type, loc "GPAViewController.swift":83:47, scope 35 // user: %691
  11121. %691 = apply %689(%690) : $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":83:47, scope 35 // users: %695, %692
  11122. %692 = unchecked_ref_cast %691 : $UIColor to $Optional<UIColor>, loc "GPAViewController.swift":83:47, scope 35 // user: %694
  11123. %693 = class_method [volatile] %687 : $UILabel, #UILabel.textColor!setter.1.foreign : (UILabel) -> (UIColor!) -> () , $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":83:44, scope 35 // user: %694
  11124. %694 = apply %693(%692, %687) : $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":83:44, scope 35
  11125. destroy_value %691 : $UIColor, loc "GPAViewController.swift":83:47, scope 35 // id: %695
  11126. destroy_value %687 : $UILabel, loc "GPAViewController.swift":83:47, scope 35 // id: %696
  11127. destroy_addr %686 : $*UILabel, loc "GPAViewController.swift":83:47, scope 35 // id: %697
  11128. dealloc_stack %674 : $*Optional<UILabel>, loc "GPAViewController.swift":83:47, scope 35 // id: %698
  11129. %699 = alloc_stack $Optional<UILabel>, loc "GPAViewController.swift":84:17, scope 35 // users: %723, %711, %703, %702
  11130. %700 = class_method %1 : $GPAViewController, #GPAViewController.letterGradeLabel!getter.1 : (GPAViewController) -> () -> UILabel! , $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":84:17, scope 35 // user: %701
  11131. %701 = apply %700(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":84:17, scope 35 // user: %702
  11132. store %701 to [init] %699 : $*Optional<UILabel>, loc "GPAViewController.swift":84:17, scope 35 // id: %702
  11133. switch_enum_addr %699 : $*Optional<UILabel>, case #Optional.none!enumelt: bb42, default bb43, loc "GPAViewController.swift":84:17, scope 35 // id: %703
  11134.  
  11135. bb42: // Preds: bb41
  11136. %704 = string_literal utf8 "GPAViewController.swift", loc "GPAViewController.swift":84:17, scope 35 // user: %709
  11137. %705 = integer_literal $Builtin.Word, 23, loc "GPAViewController.swift":84:17, scope 35 // user: %709
  11138. %706 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":84:17, scope 35 // user: %709
  11139. %707 = integer_literal $Builtin.Word, 84, loc "GPAViewController.swift":84:17, scope 35 // user: %709
  11140. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  11141. %708 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":84:17, scope 35 // user: %709
  11142. %709 = apply %708(%704, %705, %706, %707) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":84:17, scope 35
  11143. unreachable , loc "GPAViewController.swift":84:17, scope 35 // id: %710
  11144.  
  11145. bb43: // Preds: bb41
  11146. %711 = unchecked_take_enum_data_addr %699 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "GPAViewController.swift":84:17, scope 35 // users: %722, %712
  11147. %712 = load [copy] %711 : $*UILabel, loc "GPAViewController.swift":84:17, scope 35 // users: %721, %719, %718
  11148. %713 = metatype $@thick UIColor.Type, loc "GPAViewController.swift":84:46, scope 35 // users: %715, %714
  11149. %714 = class_method [volatile] %713 : $@thick UIColor.Type, #UIColor.orangeColor!getter.1.foreign : (UIColor.Type) -> () -> UIColor , $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":84:47, scope 35 // user: %716
  11150. %715 = thick_to_objc_metatype %713 : $@thick UIColor.Type to $@objc_metatype UIColor.Type, loc "GPAViewController.swift":84:47, scope 35 // user: %716
  11151. %716 = apply %714(%715) : $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":84:47, scope 35 // users: %720, %717
  11152. %717 = unchecked_ref_cast %716 : $UIColor to $Optional<UIColor>, loc "GPAViewController.swift":84:47, scope 35 // user: %719
  11153. %718 = class_method [volatile] %712 : $UILabel, #UILabel.textColor!setter.1.foreign : (UILabel) -> (UIColor!) -> () , $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":84:44, scope 35 // user: %719
  11154. %719 = apply %718(%717, %712) : $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":84:44, scope 35
  11155. destroy_value %716 : $UIColor, loc "GPAViewController.swift":84:47, scope 35 // id: %720
  11156. destroy_value %712 : $UILabel, loc "GPAViewController.swift":84:47, scope 35 // id: %721
  11157. destroy_addr %711 : $*UILabel, loc "GPAViewController.swift":84:47, scope 35 // id: %722
  11158. dealloc_stack %699 : $*Optional<UILabel>, loc "GPAViewController.swift":84:47, scope 35 // id: %723
  11159. // function_ref Double.init(_builtinFloatLiteral : Builtin.Float64) -> Double
  11160. %724 = function_ref @_TFSdCfT20_builtinFloatLiteralBf64__Sd : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "GPAViewController.swift":85:34, scope 35 // user: %727
  11161. %725 = metatype $@thin Double.Type, loc "GPAViewController.swift":85:34, scope 35 // user: %727
  11162. %726 = float_literal $Builtin.FPIEEE64, 0x4000000000000000 // 2, loc "GPAViewController.swift":85:34, scope 35 // user: %727
  11163. %727 = apply %724(%726, %725) : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "GPAViewController.swift":85:34, scope 35 // user: %728
  11164. assign %727 to %243 : $*Double, loc "GPAViewController.swift":85:32, scope 35 // id: %728
  11165. %729 = string_literal utf8 "C", loc "GPAViewController.swift":86:26, scope 35 // user: %734
  11166. %730 = integer_literal $Builtin.Word, 1, loc "GPAViewController.swift":86:26, scope 35 // user: %734
  11167. %731 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":86:26, scope 35 // user: %734
  11168. %732 = metatype $@thin String.Type, loc "GPAViewController.swift":86:26, scope 35 // user: %734
  11169. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  11170. %733 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "GPAViewController.swift":86:26, scope 35 // user: %734
  11171. %734 = apply %733(%729, %730, %731, %732) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "GPAViewController.swift":86:26, scope 35 // user: %735
  11172. assign %734 to %250 : $*String, loc "GPAViewController.swift":86:24, scope 35 // id: %735
  11173. br bb95, loc "GPAViewController.swift":86:26, scope 23 // id: %736
  11174.  
  11175. bb44: // Preds: bb38
  11176. br bb45, loc "GPAViewController.swift":82:18, scope 34 // id: %737
  11177.  
  11178. bb45: // Preds: bb44
  11179. debug_value %238 : $Double, let, name "$match", loc "GPAViewController.swift":87:18, scope 36 // id: %738
  11180. // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
  11181. %739 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "GPAViewController.swift":87:18, scope 36 // user: %763
  11182. // function_ref static ClosedRange.~= infix(ClosedRange<A>, A) -> Bool
  11183. %740 = function_ref @_TZFVs11ClosedRangeoi2tefTGS_x_x_Sb : $@convention(method) <τ_0_0 where τ_0_0 : Comparable> (@in ClosedRange<τ_0_0>, @in τ_0_0, @thin ClosedRange<τ_0_0>.Type) -> Bool, loc "GPAViewController.swift":87:18, scope 36 // user: %762
  11184. %741 = metatype $@thin ClosedRange<Double>.Type, loc "GPAViewController.swift":87:18, scope 36 // user: %762
  11185. // function_ref ... infix<A where ...> (A, A) -> ClosedRange<A>
  11186. %742 = function_ref @_TFsoi3zzzuRxs10ComparablerFTxx_GVs11ClosedRangex_ : $@convention(thin) <τ_0_0 where τ_0_0 : Comparable> (@in τ_0_0, @in τ_0_0) -> @out ClosedRange<τ_0_0>, loc "GPAViewController.swift":87:20, scope 36 // user: %756
  11187. // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
  11188. %743 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":87:18, scope 36 // user: %746
  11189. %744 = metatype $@thin Double.Type, loc "GPAViewController.swift":87:18, scope 36 // user: %746
  11190. %745 = integer_literal $Builtin.Int2048, 77, loc "GPAViewController.swift":87:18, scope 36 // user: %746
  11191. %746 = apply %743(%745, %744) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":87:18, scope 36 // user: %748
  11192. %747 = alloc_stack $Double, loc "GPAViewController.swift":87:18, scope 36 // users: %768, %756, %748
  11193. store %746 to [trivial] %747 : $*Double, loc "GPAViewController.swift":87:18, scope 36 // id: %748
  11194. // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
  11195. %749 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":87:23, scope 36 // user: %752
  11196. %750 = metatype $@thin Double.Type, loc "GPAViewController.swift":87:23, scope 36 // user: %752
  11197. %751 = integer_literal $Builtin.Int2048, 79, loc "GPAViewController.swift":87:23, scope 36 // user: %752
  11198. %752 = apply %749(%751, %750) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":87:23, scope 36 // user: %754
  11199. %753 = alloc_stack $Double, loc "GPAViewController.swift":87:23, scope 36 // users: %767, %756, %754
  11200. store %752 to [trivial] %753 : $*Double, loc "GPAViewController.swift":87:23, scope 36 // id: %754
  11201. %755 = alloc_stack $ClosedRange<Double>, loc "GPAViewController.swift":87:20, scope 36 // users: %766, %757, %756
  11202. %756 = apply %742<Double>(%755, %747, %753) : $@convention(thin) <τ_0_0 where τ_0_0 : Comparable> (@in τ_0_0, @in τ_0_0) -> @out ClosedRange<τ_0_0>, loc "GPAViewController.swift":87:20, scope 36
  11203. %757 = load [trivial] %755 : $*ClosedRange<Double>, loc "GPAViewController.swift":87:20, scope 36 // user: %759
  11204. %758 = alloc_stack $ClosedRange<Double>, loc "GPAViewController.swift":87:20, scope 36 // users: %765, %762, %759
  11205. store %757 to [trivial] %758 : $*ClosedRange<Double>, loc "GPAViewController.swift":87:20, scope 36 // id: %759
  11206. %760 = alloc_stack $Double, loc "GPAViewController.swift":87:18, scope 36 // users: %764, %762, %761
  11207. store %238 to [trivial] %760 : $*Double, loc "GPAViewController.swift":87:18, scope 36 // id: %761
  11208. %762 = apply %740<Double>(%758, %760, %741) : $@convention(method) <τ_0_0 where τ_0_0 : Comparable> (@in ClosedRange<τ_0_0>, @in τ_0_0, @thin ClosedRange<τ_0_0>.Type) -> Bool, loc "GPAViewController.swift":87:18, scope 36 // user: %763
  11209. %763 = apply %739(%762) : $@convention(method) (Bool) -> Builtin.Int1, loc "GPAViewController.swift":87:23, scope 36 // user: %769
  11210. dealloc_stack %760 : $*Double, loc "GPAViewController.swift":87:23, scope 36 // id: %764
  11211. dealloc_stack %758 : $*ClosedRange<Double>, loc "GPAViewController.swift":87:23, scope 36 // id: %765
  11212. dealloc_stack %755 : $*ClosedRange<Double>, loc "GPAViewController.swift":87:23, scope 36 // id: %766
  11213. dealloc_stack %753 : $*Double, loc "GPAViewController.swift":87:23, scope 36 // id: %767
  11214. dealloc_stack %747 : $*Double, loc "GPAViewController.swift":87:23, scope 36 // id: %768
  11215. cond_br %763, bb46, bb51, loc "GPAViewController.swift":87:18, scope 36 // id: %769
  11216.  
  11217. bb46: // Preds: bb45
  11218. %770 = alloc_stack $Optional<UILabel>, loc "GPAViewController.swift":88:17, scope 37 // users: %794, %782, %774, %773
  11219. %771 = class_method %1 : $GPAViewController, #GPAViewController.standardGPALabel!getter.1 : (GPAViewController) -> () -> UILabel! , $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":88:17, scope 37 // user: %772
  11220. %772 = apply %771(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":88:17, scope 37 // user: %773
  11221. store %772 to [init] %770 : $*Optional<UILabel>, loc "GPAViewController.swift":88:17, scope 37 // id: %773
  11222. switch_enum_addr %770 : $*Optional<UILabel>, case #Optional.none!enumelt: bb47, default bb48, loc "GPAViewController.swift":88:17, scope 37 // id: %774
  11223.  
  11224. bb47: // Preds: bb46
  11225. %775 = string_literal utf8 "GPAViewController.swift", loc "GPAViewController.swift":88:17, scope 37 // user: %780
  11226. %776 = integer_literal $Builtin.Word, 23, loc "GPAViewController.swift":88:17, scope 37 // user: %780
  11227. %777 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":88:17, scope 37 // user: %780
  11228. %778 = integer_literal $Builtin.Word, 88, loc "GPAViewController.swift":88:17, scope 37 // user: %780
  11229. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  11230. %779 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":88:17, scope 37 // user: %780
  11231. %780 = apply %779(%775, %776, %777, %778) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":88:17, scope 37
  11232. unreachable , loc "GPAViewController.swift":88:17, scope 37 // id: %781
  11233.  
  11234. bb48: // Preds: bb46
  11235. %782 = unchecked_take_enum_data_addr %770 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "GPAViewController.swift":88:17, scope 37 // users: %793, %783
  11236. %783 = load [copy] %782 : $*UILabel, loc "GPAViewController.swift":88:17, scope 37 // users: %792, %790, %789
  11237. %784 = metatype $@thick UIColor.Type, loc "GPAViewController.swift":88:46, scope 37 // users: %786, %785
  11238. %785 = class_method [volatile] %784 : $@thick UIColor.Type, #UIColor.orangeColor!getter.1.foreign : (UIColor.Type) -> () -> UIColor , $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":88:47, scope 37 // user: %787
  11239. %786 = thick_to_objc_metatype %784 : $@thick UIColor.Type to $@objc_metatype UIColor.Type, loc "GPAViewController.swift":88:47, scope 37 // user: %787
  11240. %787 = apply %785(%786) : $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":88:47, scope 37 // users: %791, %788
  11241. %788 = unchecked_ref_cast %787 : $UIColor to $Optional<UIColor>, loc "GPAViewController.swift":88:47, scope 37 // user: %790
  11242. %789 = class_method [volatile] %783 : $UILabel, #UILabel.textColor!setter.1.foreign : (UILabel) -> (UIColor!) -> () , $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":88:44, scope 37 // user: %790
  11243. %790 = apply %789(%788, %783) : $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":88:44, scope 37
  11244. destroy_value %787 : $UIColor, loc "GPAViewController.swift":88:47, scope 37 // id: %791
  11245. destroy_value %783 : $UILabel, loc "GPAViewController.swift":88:47, scope 37 // id: %792
  11246. destroy_addr %782 : $*UILabel, loc "GPAViewController.swift":88:47, scope 37 // id: %793
  11247. dealloc_stack %770 : $*Optional<UILabel>, loc "GPAViewController.swift":88:47, scope 37 // id: %794
  11248. %795 = alloc_stack $Optional<UILabel>, loc "GPAViewController.swift":89:17, scope 37 // users: %819, %807, %799, %798
  11249. %796 = class_method %1 : $GPAViewController, #GPAViewController.letterGradeLabel!getter.1 : (GPAViewController) -> () -> UILabel! , $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":89:17, scope 37 // user: %797
  11250. %797 = apply %796(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":89:17, scope 37 // user: %798
  11251. store %797 to [init] %795 : $*Optional<UILabel>, loc "GPAViewController.swift":89:17, scope 37 // id: %798
  11252. switch_enum_addr %795 : $*Optional<UILabel>, case #Optional.none!enumelt: bb49, default bb50, loc "GPAViewController.swift":89:17, scope 37 // id: %799
  11253.  
  11254. bb49: // Preds: bb48
  11255. %800 = string_literal utf8 "GPAViewController.swift", loc "GPAViewController.swift":89:17, scope 37 // user: %805
  11256. %801 = integer_literal $Builtin.Word, 23, loc "GPAViewController.swift":89:17, scope 37 // user: %805
  11257. %802 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":89:17, scope 37 // user: %805
  11258. %803 = integer_literal $Builtin.Word, 89, loc "GPAViewController.swift":89:17, scope 37 // user: %805
  11259. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  11260. %804 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":89:17, scope 37 // user: %805
  11261. %805 = apply %804(%800, %801, %802, %803) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":89:17, scope 37
  11262. unreachable , loc "GPAViewController.swift":89:17, scope 37 // id: %806
  11263.  
  11264. bb50: // Preds: bb48
  11265. %807 = unchecked_take_enum_data_addr %795 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "GPAViewController.swift":89:17, scope 37 // users: %818, %808
  11266. %808 = load [copy] %807 : $*UILabel, loc "GPAViewController.swift":89:17, scope 37 // users: %817, %815, %814
  11267. %809 = metatype $@thick UIColor.Type, loc "GPAViewController.swift":89:46, scope 37 // users: %811, %810
  11268. %810 = class_method [volatile] %809 : $@thick UIColor.Type, #UIColor.orangeColor!getter.1.foreign : (UIColor.Type) -> () -> UIColor , $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":89:47, scope 37 // user: %812
  11269. %811 = thick_to_objc_metatype %809 : $@thick UIColor.Type to $@objc_metatype UIColor.Type, loc "GPAViewController.swift":89:47, scope 37 // user: %812
  11270. %812 = apply %810(%811) : $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":89:47, scope 37 // users: %816, %813
  11271. %813 = unchecked_ref_cast %812 : $UIColor to $Optional<UIColor>, loc "GPAViewController.swift":89:47, scope 37 // user: %815
  11272. %814 = class_method [volatile] %808 : $UILabel, #UILabel.textColor!setter.1.foreign : (UILabel) -> (UIColor!) -> () , $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":89:44, scope 37 // user: %815
  11273. %815 = apply %814(%813, %808) : $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":89:44, scope 37
  11274. destroy_value %812 : $UIColor, loc "GPAViewController.swift":89:47, scope 37 // id: %816
  11275. destroy_value %808 : $UILabel, loc "GPAViewController.swift":89:47, scope 37 // id: %817
  11276. destroy_addr %807 : $*UILabel, loc "GPAViewController.swift":89:47, scope 37 // id: %818
  11277. dealloc_stack %795 : $*Optional<UILabel>, loc "GPAViewController.swift":89:47, scope 37 // id: %819
  11278. // function_ref Double.init(_builtinFloatLiteral : Builtin.Float64) -> Double
  11279. %820 = function_ref @_TFSdCfT20_builtinFloatLiteralBf64__Sd : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "GPAViewController.swift":90:34, scope 37 // user: %823
  11280. %821 = metatype $@thin Double.Type, loc "GPAViewController.swift":90:34, scope 37 // user: %823
  11281. %822 = float_literal $Builtin.FPIEEE64, 0x4002666666666666 // 2.2999999999999998, loc "GPAViewController.swift":90:34, scope 37 // user: %823
  11282. %823 = apply %820(%822, %821) : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "GPAViewController.swift":90:34, scope 37 // user: %824
  11283. assign %823 to %243 : $*Double, loc "GPAViewController.swift":90:32, scope 37 // id: %824
  11284. %825 = string_literal utf8 "C+", loc "GPAViewController.swift":91:26, scope 37 // user: %830
  11285. %826 = integer_literal $Builtin.Word, 2, loc "GPAViewController.swift":91:26, scope 37 // user: %830
  11286. %827 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":91:26, scope 37 // user: %830
  11287. %828 = metatype $@thin String.Type, loc "GPAViewController.swift":91:26, scope 37 // user: %830
  11288. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  11289. %829 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "GPAViewController.swift":91:26, scope 37 // user: %830
  11290. %830 = apply %829(%825, %826, %827, %828) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "GPAViewController.swift":91:26, scope 37 // user: %831
  11291. assign %830 to %250 : $*String, loc "GPAViewController.swift":91:24, scope 37 // id: %831
  11292. br bb95, loc "GPAViewController.swift":91:26, scope 23 // id: %832
  11293.  
  11294. bb51: // Preds: bb45
  11295. br bb52, loc "GPAViewController.swift":87:18, scope 36 // id: %833
  11296.  
  11297. bb52: // Preds: bb51
  11298. debug_value %238 : $Double, let, name "$match", loc "GPAViewController.swift":92:18, scope 38 // id: %834
  11299. // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
  11300. %835 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "GPAViewController.swift":92:18, scope 38 // user: %859
  11301. // function_ref static ClosedRange.~= infix(ClosedRange<A>, A) -> Bool
  11302. %836 = function_ref @_TZFVs11ClosedRangeoi2tefTGS_x_x_Sb : $@convention(method) <τ_0_0 where τ_0_0 : Comparable> (@in ClosedRange<τ_0_0>, @in τ_0_0, @thin ClosedRange<τ_0_0>.Type) -> Bool, loc "GPAViewController.swift":92:18, scope 38 // user: %858
  11303. %837 = metatype $@thin ClosedRange<Double>.Type, loc "GPAViewController.swift":92:18, scope 38 // user: %858
  11304. // function_ref ... infix<A where ...> (A, A) -> ClosedRange<A>
  11305. %838 = function_ref @_TFsoi3zzzuRxs10ComparablerFTxx_GVs11ClosedRangex_ : $@convention(thin) <τ_0_0 where τ_0_0 : Comparable> (@in τ_0_0, @in τ_0_0) -> @out ClosedRange<τ_0_0>, loc "GPAViewController.swift":92:20, scope 38 // user: %852
  11306. // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
  11307. %839 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":92:18, scope 38 // user: %842
  11308. %840 = metatype $@thin Double.Type, loc "GPAViewController.swift":92:18, scope 38 // user: %842
  11309. %841 = integer_literal $Builtin.Int2048, 80, loc "GPAViewController.swift":92:18, scope 38 // user: %842
  11310. %842 = apply %839(%841, %840) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":92:18, scope 38 // user: %844
  11311. %843 = alloc_stack $Double, loc "GPAViewController.swift":92:18, scope 38 // users: %864, %852, %844
  11312. store %842 to [trivial] %843 : $*Double, loc "GPAViewController.swift":92:18, scope 38 // id: %844
  11313. // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
  11314. %845 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":92:23, scope 38 // user: %848
  11315. %846 = metatype $@thin Double.Type, loc "GPAViewController.swift":92:23, scope 38 // user: %848
  11316. %847 = integer_literal $Builtin.Int2048, 82, loc "GPAViewController.swift":92:23, scope 38 // user: %848
  11317. %848 = apply %845(%847, %846) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":92:23, scope 38 // user: %850
  11318. %849 = alloc_stack $Double, loc "GPAViewController.swift":92:23, scope 38 // users: %863, %852, %850
  11319. store %848 to [trivial] %849 : $*Double, loc "GPAViewController.swift":92:23, scope 38 // id: %850
  11320. %851 = alloc_stack $ClosedRange<Double>, loc "GPAViewController.swift":92:20, scope 38 // users: %862, %853, %852
  11321. %852 = apply %838<Double>(%851, %843, %849) : $@convention(thin) <τ_0_0 where τ_0_0 : Comparable> (@in τ_0_0, @in τ_0_0) -> @out ClosedRange<τ_0_0>, loc "GPAViewController.swift":92:20, scope 38
  11322. %853 = load [trivial] %851 : $*ClosedRange<Double>, loc "GPAViewController.swift":92:20, scope 38 // user: %855
  11323. %854 = alloc_stack $ClosedRange<Double>, loc "GPAViewController.swift":92:20, scope 38 // users: %861, %858, %855
  11324. store %853 to [trivial] %854 : $*ClosedRange<Double>, loc "GPAViewController.swift":92:20, scope 38 // id: %855
  11325. %856 = alloc_stack $Double, loc "GPAViewController.swift":92:18, scope 38 // users: %860, %858, %857
  11326. store %238 to [trivial] %856 : $*Double, loc "GPAViewController.swift":92:18, scope 38 // id: %857
  11327. %858 = apply %836<Double>(%854, %856, %837) : $@convention(method) <τ_0_0 where τ_0_0 : Comparable> (@in ClosedRange<τ_0_0>, @in τ_0_0, @thin ClosedRange<τ_0_0>.Type) -> Bool, loc "GPAViewController.swift":92:18, scope 38 // user: %859
  11328. %859 = apply %835(%858) : $@convention(method) (Bool) -> Builtin.Int1, loc "GPAViewController.swift":92:23, scope 38 // user: %865
  11329. dealloc_stack %856 : $*Double, loc "GPAViewController.swift":92:23, scope 38 // id: %860
  11330. dealloc_stack %854 : $*ClosedRange<Double>, loc "GPAViewController.swift":92:23, scope 38 // id: %861
  11331. dealloc_stack %851 : $*ClosedRange<Double>, loc "GPAViewController.swift":92:23, scope 38 // id: %862
  11332. dealloc_stack %849 : $*Double, loc "GPAViewController.swift":92:23, scope 38 // id: %863
  11333. dealloc_stack %843 : $*Double, loc "GPAViewController.swift":92:23, scope 38 // id: %864
  11334. cond_br %859, bb53, bb58, loc "GPAViewController.swift":92:18, scope 38 // id: %865
  11335.  
  11336. bb53: // Preds: bb52
  11337. %866 = alloc_stack $Optional<UILabel>, loc "GPAViewController.swift":93:17, scope 39 // users: %890, %878, %870, %869
  11338. %867 = class_method %1 : $GPAViewController, #GPAViewController.standardGPALabel!getter.1 : (GPAViewController) -> () -> UILabel! , $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":93:17, scope 39 // user: %868
  11339. %868 = apply %867(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":93:17, scope 39 // user: %869
  11340. store %868 to [init] %866 : $*Optional<UILabel>, loc "GPAViewController.swift":93:17, scope 39 // id: %869
  11341. switch_enum_addr %866 : $*Optional<UILabel>, case #Optional.none!enumelt: bb54, default bb55, loc "GPAViewController.swift":93:17, scope 39 // id: %870
  11342.  
  11343. bb54: // Preds: bb53
  11344. %871 = string_literal utf8 "GPAViewController.swift", loc "GPAViewController.swift":93:17, scope 39 // user: %876
  11345. %872 = integer_literal $Builtin.Word, 23, loc "GPAViewController.swift":93:17, scope 39 // user: %876
  11346. %873 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":93:17, scope 39 // user: %876
  11347. %874 = integer_literal $Builtin.Word, 93, loc "GPAViewController.swift":93:17, scope 39 // user: %876
  11348. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  11349. %875 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":93:17, scope 39 // user: %876
  11350. %876 = apply %875(%871, %872, %873, %874) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":93:17, scope 39
  11351. unreachable , loc "GPAViewController.swift":93:17, scope 39 // id: %877
  11352.  
  11353. bb55: // Preds: bb53
  11354. %878 = unchecked_take_enum_data_addr %866 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "GPAViewController.swift":93:17, scope 39 // users: %889, %879
  11355. %879 = load [copy] %878 : $*UILabel, loc "GPAViewController.swift":93:17, scope 39 // users: %888, %886, %885
  11356. %880 = metatype $@thick UIColor.Type, loc "GPAViewController.swift":93:46, scope 39 // users: %882, %881
  11357. %881 = class_method [volatile] %880 : $@thick UIColor.Type, #UIColor.yellowColor!getter.1.foreign : (UIColor.Type) -> () -> UIColor , $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":93:47, scope 39 // user: %883
  11358. %882 = thick_to_objc_metatype %880 : $@thick UIColor.Type to $@objc_metatype UIColor.Type, loc "GPAViewController.swift":93:47, scope 39 // user: %883
  11359. %883 = apply %881(%882) : $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":93:47, scope 39 // users: %887, %884
  11360. %884 = unchecked_ref_cast %883 : $UIColor to $Optional<UIColor>, loc "GPAViewController.swift":93:47, scope 39 // user: %886
  11361. %885 = class_method [volatile] %879 : $UILabel, #UILabel.textColor!setter.1.foreign : (UILabel) -> (UIColor!) -> () , $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":93:44, scope 39 // user: %886
  11362. %886 = apply %885(%884, %879) : $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":93:44, scope 39
  11363. destroy_value %883 : $UIColor, loc "GPAViewController.swift":93:47, scope 39 // id: %887
  11364. destroy_value %879 : $UILabel, loc "GPAViewController.swift":93:47, scope 39 // id: %888
  11365. destroy_addr %878 : $*UILabel, loc "GPAViewController.swift":93:47, scope 39 // id: %889
  11366. dealloc_stack %866 : $*Optional<UILabel>, loc "GPAViewController.swift":93:47, scope 39 // id: %890
  11367. %891 = alloc_stack $Optional<UILabel>, loc "GPAViewController.swift":94:17, scope 39 // users: %915, %903, %895, %894
  11368. %892 = class_method %1 : $GPAViewController, #GPAViewController.letterGradeLabel!getter.1 : (GPAViewController) -> () -> UILabel! , $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":94:17, scope 39 // user: %893
  11369. %893 = apply %892(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":94:17, scope 39 // user: %894
  11370. store %893 to [init] %891 : $*Optional<UILabel>, loc "GPAViewController.swift":94:17, scope 39 // id: %894
  11371. switch_enum_addr %891 : $*Optional<UILabel>, case #Optional.none!enumelt: bb56, default bb57, loc "GPAViewController.swift":94:17, scope 39 // id: %895
  11372.  
  11373. bb56: // Preds: bb55
  11374. %896 = string_literal utf8 "GPAViewController.swift", loc "GPAViewController.swift":94:17, scope 39 // user: %901
  11375. %897 = integer_literal $Builtin.Word, 23, loc "GPAViewController.swift":94:17, scope 39 // user: %901
  11376. %898 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":94:17, scope 39 // user: %901
  11377. %899 = integer_literal $Builtin.Word, 94, loc "GPAViewController.swift":94:17, scope 39 // user: %901
  11378. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  11379. %900 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":94:17, scope 39 // user: %901
  11380. %901 = apply %900(%896, %897, %898, %899) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":94:17, scope 39
  11381. unreachable , loc "GPAViewController.swift":94:17, scope 39 // id: %902
  11382.  
  11383. bb57: // Preds: bb55
  11384. %903 = unchecked_take_enum_data_addr %891 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "GPAViewController.swift":94:17, scope 39 // users: %914, %904
  11385. %904 = load [copy] %903 : $*UILabel, loc "GPAViewController.swift":94:17, scope 39 // users: %913, %911, %910
  11386. %905 = metatype $@thick UIColor.Type, loc "GPAViewController.swift":94:46, scope 39 // users: %907, %906
  11387. %906 = class_method [volatile] %905 : $@thick UIColor.Type, #UIColor.yellowColor!getter.1.foreign : (UIColor.Type) -> () -> UIColor , $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":94:47, scope 39 // user: %908
  11388. %907 = thick_to_objc_metatype %905 : $@thick UIColor.Type to $@objc_metatype UIColor.Type, loc "GPAViewController.swift":94:47, scope 39 // user: %908
  11389. %908 = apply %906(%907) : $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":94:47, scope 39 // users: %912, %909
  11390. %909 = unchecked_ref_cast %908 : $UIColor to $Optional<UIColor>, loc "GPAViewController.swift":94:47, scope 39 // user: %911
  11391. %910 = class_method [volatile] %904 : $UILabel, #UILabel.textColor!setter.1.foreign : (UILabel) -> (UIColor!) -> () , $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":94:44, scope 39 // user: %911
  11392. %911 = apply %910(%909, %904) : $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":94:44, scope 39
  11393. destroy_value %908 : $UIColor, loc "GPAViewController.swift":94:47, scope 39 // id: %912
  11394. destroy_value %904 : $UILabel, loc "GPAViewController.swift":94:47, scope 39 // id: %913
  11395. destroy_addr %903 : $*UILabel, loc "GPAViewController.swift":94:47, scope 39 // id: %914
  11396. dealloc_stack %891 : $*Optional<UILabel>, loc "GPAViewController.swift":94:47, scope 39 // id: %915
  11397. // function_ref Double.init(_builtinFloatLiteral : Builtin.Float64) -> Double
  11398. %916 = function_ref @_TFSdCfT20_builtinFloatLiteralBf64__Sd : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "GPAViewController.swift":95:34, scope 39 // user: %919
  11399. %917 = metatype $@thin Double.Type, loc "GPAViewController.swift":95:34, scope 39 // user: %919
  11400. %918 = float_literal $Builtin.FPIEEE64, 0x400599999999999A // 2.7000000000000002, loc "GPAViewController.swift":95:34, scope 39 // user: %919
  11401. %919 = apply %916(%918, %917) : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "GPAViewController.swift":95:34, scope 39 // user: %920
  11402. assign %919 to %243 : $*Double, loc "GPAViewController.swift":95:32, scope 39 // id: %920
  11403. %921 = string_literal utf8 "B-", loc "GPAViewController.swift":96:26, scope 39 // user: %926
  11404. %922 = integer_literal $Builtin.Word, 2, loc "GPAViewController.swift":96:26, scope 39 // user: %926
  11405. %923 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":96:26, scope 39 // user: %926
  11406. %924 = metatype $@thin String.Type, loc "GPAViewController.swift":96:26, scope 39 // user: %926
  11407. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  11408. %925 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "GPAViewController.swift":96:26, scope 39 // user: %926
  11409. %926 = apply %925(%921, %922, %923, %924) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "GPAViewController.swift":96:26, scope 39 // user: %927
  11410. assign %926 to %250 : $*String, loc "GPAViewController.swift":96:24, scope 39 // id: %927
  11411. br bb95, loc "GPAViewController.swift":96:26, scope 23 // id: %928
  11412.  
  11413. bb58: // Preds: bb52
  11414. br bb59, loc "GPAViewController.swift":92:18, scope 38 // id: %929
  11415.  
  11416. bb59: // Preds: bb58
  11417. debug_value %238 : $Double, let, name "$match", loc "GPAViewController.swift":97:18, scope 40 // id: %930
  11418. // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
  11419. %931 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "GPAViewController.swift":97:18, scope 40 // user: %955
  11420. // function_ref static ClosedRange.~= infix(ClosedRange<A>, A) -> Bool
  11421. %932 = function_ref @_TZFVs11ClosedRangeoi2tefTGS_x_x_Sb : $@convention(method) <τ_0_0 where τ_0_0 : Comparable> (@in ClosedRange<τ_0_0>, @in τ_0_0, @thin ClosedRange<τ_0_0>.Type) -> Bool, loc "GPAViewController.swift":97:18, scope 40 // user: %954
  11422. %933 = metatype $@thin ClosedRange<Double>.Type, loc "GPAViewController.swift":97:18, scope 40 // user: %954
  11423. // function_ref ... infix<A where ...> (A, A) -> ClosedRange<A>
  11424. %934 = function_ref @_TFsoi3zzzuRxs10ComparablerFTxx_GVs11ClosedRangex_ : $@convention(thin) <τ_0_0 where τ_0_0 : Comparable> (@in τ_0_0, @in τ_0_0) -> @out ClosedRange<τ_0_0>, loc "GPAViewController.swift":97:20, scope 40 // user: %948
  11425. // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
  11426. %935 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":97:18, scope 40 // user: %938
  11427. %936 = metatype $@thin Double.Type, loc "GPAViewController.swift":97:18, scope 40 // user: %938
  11428. %937 = integer_literal $Builtin.Int2048, 83, loc "GPAViewController.swift":97:18, scope 40 // user: %938
  11429. %938 = apply %935(%937, %936) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":97:18, scope 40 // user: %940
  11430. %939 = alloc_stack $Double, loc "GPAViewController.swift":97:18, scope 40 // users: %960, %948, %940
  11431. store %938 to [trivial] %939 : $*Double, loc "GPAViewController.swift":97:18, scope 40 // id: %940
  11432. // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
  11433. %941 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":97:23, scope 40 // user: %944
  11434. %942 = metatype $@thin Double.Type, loc "GPAViewController.swift":97:23, scope 40 // user: %944
  11435. %943 = integer_literal $Builtin.Int2048, 86, loc "GPAViewController.swift":97:23, scope 40 // user: %944
  11436. %944 = apply %941(%943, %942) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":97:23, scope 40 // user: %946
  11437. %945 = alloc_stack $Double, loc "GPAViewController.swift":97:23, scope 40 // users: %959, %948, %946
  11438. store %944 to [trivial] %945 : $*Double, loc "GPAViewController.swift":97:23, scope 40 // id: %946
  11439. %947 = alloc_stack $ClosedRange<Double>, loc "GPAViewController.swift":97:20, scope 40 // users: %958, %949, %948
  11440. %948 = apply %934<Double>(%947, %939, %945) : $@convention(thin) <τ_0_0 where τ_0_0 : Comparable> (@in τ_0_0, @in τ_0_0) -> @out ClosedRange<τ_0_0>, loc "GPAViewController.swift":97:20, scope 40
  11441. %949 = load [trivial] %947 : $*ClosedRange<Double>, loc "GPAViewController.swift":97:20, scope 40 // user: %951
  11442. %950 = alloc_stack $ClosedRange<Double>, loc "GPAViewController.swift":97:20, scope 40 // users: %957, %954, %951
  11443. store %949 to [trivial] %950 : $*ClosedRange<Double>, loc "GPAViewController.swift":97:20, scope 40 // id: %951
  11444. %952 = alloc_stack $Double, loc "GPAViewController.swift":97:18, scope 40 // users: %956, %954, %953
  11445. store %238 to [trivial] %952 : $*Double, loc "GPAViewController.swift":97:18, scope 40 // id: %953
  11446. %954 = apply %932<Double>(%950, %952, %933) : $@convention(method) <τ_0_0 where τ_0_0 : Comparable> (@in ClosedRange<τ_0_0>, @in τ_0_0, @thin ClosedRange<τ_0_0>.Type) -> Bool, loc "GPAViewController.swift":97:18, scope 40 // user: %955
  11447. %955 = apply %931(%954) : $@convention(method) (Bool) -> Builtin.Int1, loc "GPAViewController.swift":97:23, scope 40 // user: %961
  11448. dealloc_stack %952 : $*Double, loc "GPAViewController.swift":97:23, scope 40 // id: %956
  11449. dealloc_stack %950 : $*ClosedRange<Double>, loc "GPAViewController.swift":97:23, scope 40 // id: %957
  11450. dealloc_stack %947 : $*ClosedRange<Double>, loc "GPAViewController.swift":97:23, scope 40 // id: %958
  11451. dealloc_stack %945 : $*Double, loc "GPAViewController.swift":97:23, scope 40 // id: %959
  11452. dealloc_stack %939 : $*Double, loc "GPAViewController.swift":97:23, scope 40 // id: %960
  11453. cond_br %955, bb60, bb65, loc "GPAViewController.swift":97:18, scope 40 // id: %961
  11454.  
  11455. bb60: // Preds: bb59
  11456. %962 = alloc_stack $Optional<UILabel>, loc "GPAViewController.swift":98:17, scope 41 // users: %986, %974, %966, %965
  11457. %963 = class_method %1 : $GPAViewController, #GPAViewController.standardGPALabel!getter.1 : (GPAViewController) -> () -> UILabel! , $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":98:17, scope 41 // user: %964
  11458. %964 = apply %963(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":98:17, scope 41 // user: %965
  11459. store %964 to [init] %962 : $*Optional<UILabel>, loc "GPAViewController.swift":98:17, scope 41 // id: %965
  11460. switch_enum_addr %962 : $*Optional<UILabel>, case #Optional.none!enumelt: bb61, default bb62, loc "GPAViewController.swift":98:17, scope 41 // id: %966
  11461.  
  11462. bb61: // Preds: bb60
  11463. %967 = string_literal utf8 "GPAViewController.swift", loc "GPAViewController.swift":98:17, scope 41 // user: %972
  11464. %968 = integer_literal $Builtin.Word, 23, loc "GPAViewController.swift":98:17, scope 41 // user: %972
  11465. %969 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":98:17, scope 41 // user: %972
  11466. %970 = integer_literal $Builtin.Word, 98, loc "GPAViewController.swift":98:17, scope 41 // user: %972
  11467. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  11468. %971 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":98:17, scope 41 // user: %972
  11469. %972 = apply %971(%967, %968, %969, %970) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":98:17, scope 41
  11470. unreachable , loc "GPAViewController.swift":98:17, scope 41 // id: %973
  11471.  
  11472. bb62: // Preds: bb60
  11473. %974 = unchecked_take_enum_data_addr %962 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "GPAViewController.swift":98:17, scope 41 // users: %985, %975
  11474. %975 = load [copy] %974 : $*UILabel, loc "GPAViewController.swift":98:17, scope 41 // users: %984, %982, %981
  11475. %976 = metatype $@thick UIColor.Type, loc "GPAViewController.swift":98:46, scope 41 // users: %978, %977
  11476. %977 = class_method [volatile] %976 : $@thick UIColor.Type, #UIColor.yellowColor!getter.1.foreign : (UIColor.Type) -> () -> UIColor , $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":98:47, scope 41 // user: %979
  11477. %978 = thick_to_objc_metatype %976 : $@thick UIColor.Type to $@objc_metatype UIColor.Type, loc "GPAViewController.swift":98:47, scope 41 // user: %979
  11478. %979 = apply %977(%978) : $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":98:47, scope 41 // users: %983, %980
  11479. %980 = unchecked_ref_cast %979 : $UIColor to $Optional<UIColor>, loc "GPAViewController.swift":98:47, scope 41 // user: %982
  11480. %981 = class_method [volatile] %975 : $UILabel, #UILabel.textColor!setter.1.foreign : (UILabel) -> (UIColor!) -> () , $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":98:44, scope 41 // user: %982
  11481. %982 = apply %981(%980, %975) : $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":98:44, scope 41
  11482. destroy_value %979 : $UIColor, loc "GPAViewController.swift":98:47, scope 41 // id: %983
  11483. destroy_value %975 : $UILabel, loc "GPAViewController.swift":98:47, scope 41 // id: %984
  11484. destroy_addr %974 : $*UILabel, loc "GPAViewController.swift":98:47, scope 41 // id: %985
  11485. dealloc_stack %962 : $*Optional<UILabel>, loc "GPAViewController.swift":98:47, scope 41 // id: %986
  11486. %987 = alloc_stack $Optional<UILabel>, loc "GPAViewController.swift":99:17, scope 41 // users: %1011, %999, %991, %990
  11487. %988 = class_method %1 : $GPAViewController, #GPAViewController.letterGradeLabel!getter.1 : (GPAViewController) -> () -> UILabel! , $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":99:17, scope 41 // user: %989
  11488. %989 = apply %988(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":99:17, scope 41 // user: %990
  11489. store %989 to [init] %987 : $*Optional<UILabel>, loc "GPAViewController.swift":99:17, scope 41 // id: %990
  11490. switch_enum_addr %987 : $*Optional<UILabel>, case #Optional.none!enumelt: bb63, default bb64, loc "GPAViewController.swift":99:17, scope 41 // id: %991
  11491.  
  11492. bb63: // Preds: bb62
  11493. %992 = string_literal utf8 "GPAViewController.swift", loc "GPAViewController.swift":99:17, scope 41 // user: %997
  11494. %993 = integer_literal $Builtin.Word, 23, loc "GPAViewController.swift":99:17, scope 41 // user: %997
  11495. %994 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":99:17, scope 41 // user: %997
  11496. %995 = integer_literal $Builtin.Word, 99, loc "GPAViewController.swift":99:17, scope 41 // user: %997
  11497. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  11498. %996 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":99:17, scope 41 // user: %997
  11499. %997 = apply %996(%992, %993, %994, %995) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":99:17, scope 41
  11500. unreachable , loc "GPAViewController.swift":99:17, scope 41 // id: %998
  11501.  
  11502. bb64: // Preds: bb62
  11503. %999 = unchecked_take_enum_data_addr %987 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "GPAViewController.swift":99:17, scope 41 // users: %1010, %1000
  11504. %1000 = load [copy] %999 : $*UILabel, loc "GPAViewController.swift":99:17, scope 41 // users: %1009, %1007, %1006
  11505. %1001 = metatype $@thick UIColor.Type, loc "GPAViewController.swift":99:46, scope 41 // users: %1003, %1002
  11506. %1002 = class_method [volatile] %1001 : $@thick UIColor.Type, #UIColor.yellowColor!getter.1.foreign : (UIColor.Type) -> () -> UIColor , $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":99:47, scope 41 // user: %1004
  11507. %1003 = thick_to_objc_metatype %1001 : $@thick UIColor.Type to $@objc_metatype UIColor.Type, loc "GPAViewController.swift":99:47, scope 41 // user: %1004
  11508. %1004 = apply %1002(%1003) : $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":99:47, scope 41 // users: %1008, %1005
  11509. %1005 = unchecked_ref_cast %1004 : $UIColor to $Optional<UIColor>, loc "GPAViewController.swift":99:47, scope 41 // user: %1007
  11510. %1006 = class_method [volatile] %1000 : $UILabel, #UILabel.textColor!setter.1.foreign : (UILabel) -> (UIColor!) -> () , $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":99:44, scope 41 // user: %1007
  11511. %1007 = apply %1006(%1005, %1000) : $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":99:44, scope 41
  11512. destroy_value %1004 : $UIColor, loc "GPAViewController.swift":99:47, scope 41 // id: %1008
  11513. destroy_value %1000 : $UILabel, loc "GPAViewController.swift":99:47, scope 41 // id: %1009
  11514. destroy_addr %999 : $*UILabel, loc "GPAViewController.swift":99:47, scope 41 // id: %1010
  11515. dealloc_stack %987 : $*Optional<UILabel>, loc "GPAViewController.swift":99:47, scope 41 // id: %1011
  11516. // function_ref Double.init(_builtinFloatLiteral : Builtin.Float64) -> Double
  11517. %1012 = function_ref @_TFSdCfT20_builtinFloatLiteralBf64__Sd : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "GPAViewController.swift":100:34, scope 41 // user: %1015
  11518. %1013 = metatype $@thin Double.Type, loc "GPAViewController.swift":100:34, scope 41 // user: %1015
  11519. %1014 = float_literal $Builtin.FPIEEE64, 0x4008000000000000 // 3, loc "GPAViewController.swift":100:34, scope 41 // user: %1015
  11520. %1015 = apply %1012(%1014, %1013) : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "GPAViewController.swift":100:34, scope 41 // user: %1016
  11521. assign %1015 to %243 : $*Double, loc "GPAViewController.swift":100:32, scope 41 // id: %1016
  11522. %1017 = string_literal utf8 "B", loc "GPAViewController.swift":101:26, scope 41 // user: %1022
  11523. %1018 = integer_literal $Builtin.Word, 1, loc "GPAViewController.swift":101:26, scope 41 // user: %1022
  11524. %1019 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":101:26, scope 41 // user: %1022
  11525. %1020 = metatype $@thin String.Type, loc "GPAViewController.swift":101:26, scope 41 // user: %1022
  11526. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  11527. %1021 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "GPAViewController.swift":101:26, scope 41 // user: %1022
  11528. %1022 = apply %1021(%1017, %1018, %1019, %1020) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "GPAViewController.swift":101:26, scope 41 // user: %1023
  11529. assign %1022 to %250 : $*String, loc "GPAViewController.swift":101:24, scope 41 // id: %1023
  11530. br bb95, loc "GPAViewController.swift":101:26, scope 23 // id: %1024
  11531.  
  11532. bb65: // Preds: bb59
  11533. br bb66, loc "GPAViewController.swift":97:18, scope 40 // id: %1025
  11534.  
  11535. bb66: // Preds: bb65
  11536. debug_value %238 : $Double, let, name "$match", loc "GPAViewController.swift":102:18, scope 42 // id: %1026
  11537. // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
  11538. %1027 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "GPAViewController.swift":102:18, scope 42 // user: %1051
  11539. // function_ref static ClosedRange.~= infix(ClosedRange<A>, A) -> Bool
  11540. %1028 = function_ref @_TZFVs11ClosedRangeoi2tefTGS_x_x_Sb : $@convention(method) <τ_0_0 where τ_0_0 : Comparable> (@in ClosedRange<τ_0_0>, @in τ_0_0, @thin ClosedRange<τ_0_0>.Type) -> Bool, loc "GPAViewController.swift":102:18, scope 42 // user: %1050
  11541. %1029 = metatype $@thin ClosedRange<Double>.Type, loc "GPAViewController.swift":102:18, scope 42 // user: %1050
  11542. // function_ref ... infix<A where ...> (A, A) -> ClosedRange<A>
  11543. %1030 = function_ref @_TFsoi3zzzuRxs10ComparablerFTxx_GVs11ClosedRangex_ : $@convention(thin) <τ_0_0 where τ_0_0 : Comparable> (@in τ_0_0, @in τ_0_0) -> @out ClosedRange<τ_0_0>, loc "GPAViewController.swift":102:20, scope 42 // user: %1044
  11544. // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
  11545. %1031 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":102:18, scope 42 // user: %1034
  11546. %1032 = metatype $@thin Double.Type, loc "GPAViewController.swift":102:18, scope 42 // user: %1034
  11547. %1033 = integer_literal $Builtin.Int2048, 87, loc "GPAViewController.swift":102:18, scope 42 // user: %1034
  11548. %1034 = apply %1031(%1033, %1032) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":102:18, scope 42 // user: %1036
  11549. %1035 = alloc_stack $Double, loc "GPAViewController.swift":102:18, scope 42 // users: %1056, %1044, %1036
  11550. store %1034 to [trivial] %1035 : $*Double, loc "GPAViewController.swift":102:18, scope 42 // id: %1036
  11551. // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
  11552. %1037 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":102:23, scope 42 // user: %1040
  11553. %1038 = metatype $@thin Double.Type, loc "GPAViewController.swift":102:23, scope 42 // user: %1040
  11554. %1039 = integer_literal $Builtin.Int2048, 89, loc "GPAViewController.swift":102:23, scope 42 // user: %1040
  11555. %1040 = apply %1037(%1039, %1038) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":102:23, scope 42 // user: %1042
  11556. %1041 = alloc_stack $Double, loc "GPAViewController.swift":102:23, scope 42 // users: %1055, %1044, %1042
  11557. store %1040 to [trivial] %1041 : $*Double, loc "GPAViewController.swift":102:23, scope 42 // id: %1042
  11558. %1043 = alloc_stack $ClosedRange<Double>, loc "GPAViewController.swift":102:20, scope 42 // users: %1054, %1045, %1044
  11559. %1044 = apply %1030<Double>(%1043, %1035, %1041) : $@convention(thin) <τ_0_0 where τ_0_0 : Comparable> (@in τ_0_0, @in τ_0_0) -> @out ClosedRange<τ_0_0>, loc "GPAViewController.swift":102:20, scope 42
  11560. %1045 = load [trivial] %1043 : $*ClosedRange<Double>, loc "GPAViewController.swift":102:20, scope 42 // user: %1047
  11561. %1046 = alloc_stack $ClosedRange<Double>, loc "GPAViewController.swift":102:20, scope 42 // users: %1053, %1050, %1047
  11562. store %1045 to [trivial] %1046 : $*ClosedRange<Double>, loc "GPAViewController.swift":102:20, scope 42 // id: %1047
  11563. %1048 = alloc_stack $Double, loc "GPAViewController.swift":102:18, scope 42 // users: %1052, %1050, %1049
  11564. store %238 to [trivial] %1048 : $*Double, loc "GPAViewController.swift":102:18, scope 42 // id: %1049
  11565. %1050 = apply %1028<Double>(%1046, %1048, %1029) : $@convention(method) <τ_0_0 where τ_0_0 : Comparable> (@in ClosedRange<τ_0_0>, @in τ_0_0, @thin ClosedRange<τ_0_0>.Type) -> Bool, loc "GPAViewController.swift":102:18, scope 42 // user: %1051
  11566. %1051 = apply %1027(%1050) : $@convention(method) (Bool) -> Builtin.Int1, loc "GPAViewController.swift":102:23, scope 42 // user: %1057
  11567. dealloc_stack %1048 : $*Double, loc "GPAViewController.swift":102:23, scope 42 // id: %1052
  11568. dealloc_stack %1046 : $*ClosedRange<Double>, loc "GPAViewController.swift":102:23, scope 42 // id: %1053
  11569. dealloc_stack %1043 : $*ClosedRange<Double>, loc "GPAViewController.swift":102:23, scope 42 // id: %1054
  11570. dealloc_stack %1041 : $*Double, loc "GPAViewController.swift":102:23, scope 42 // id: %1055
  11571. dealloc_stack %1035 : $*Double, loc "GPAViewController.swift":102:23, scope 42 // id: %1056
  11572. cond_br %1051, bb67, bb72, loc "GPAViewController.swift":102:18, scope 42 // id: %1057
  11573.  
  11574. bb67: // Preds: bb66
  11575. %1058 = alloc_stack $Optional<UILabel>, loc "GPAViewController.swift":103:17, scope 43 // users: %1082, %1070, %1062, %1061
  11576. %1059 = class_method %1 : $GPAViewController, #GPAViewController.standardGPALabel!getter.1 : (GPAViewController) -> () -> UILabel! , $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":103:17, scope 43 // user: %1060
  11577. %1060 = apply %1059(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":103:17, scope 43 // user: %1061
  11578. store %1060 to [init] %1058 : $*Optional<UILabel>, loc "GPAViewController.swift":103:17, scope 43 // id: %1061
  11579. switch_enum_addr %1058 : $*Optional<UILabel>, case #Optional.none!enumelt: bb68, default bb69, loc "GPAViewController.swift":103:17, scope 43 // id: %1062
  11580.  
  11581. bb68: // Preds: bb67
  11582. %1063 = string_literal utf8 "GPAViewController.swift", loc "GPAViewController.swift":103:17, scope 43 // user: %1068
  11583. %1064 = integer_literal $Builtin.Word, 23, loc "GPAViewController.swift":103:17, scope 43 // user: %1068
  11584. %1065 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":103:17, scope 43 // user: %1068
  11585. %1066 = integer_literal $Builtin.Word, 103, loc "GPAViewController.swift":103:17, scope 43 // user: %1068
  11586. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  11587. %1067 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":103:17, scope 43 // user: %1068
  11588. %1068 = apply %1067(%1063, %1064, %1065, %1066) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":103:17, scope 43
  11589. unreachable , loc "GPAViewController.swift":103:17, scope 43 // id: %1069
  11590.  
  11591. bb69: // Preds: bb67
  11592. %1070 = unchecked_take_enum_data_addr %1058 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "GPAViewController.swift":103:17, scope 43 // users: %1081, %1071
  11593. %1071 = load [copy] %1070 : $*UILabel, loc "GPAViewController.swift":103:17, scope 43 // users: %1080, %1078, %1077
  11594. %1072 = metatype $@thick UIColor.Type, loc "GPAViewController.swift":103:46, scope 43 // users: %1074, %1073
  11595. %1073 = class_method [volatile] %1072 : $@thick UIColor.Type, #UIColor.yellowColor!getter.1.foreign : (UIColor.Type) -> () -> UIColor , $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":103:47, scope 43 // user: %1075
  11596. %1074 = thick_to_objc_metatype %1072 : $@thick UIColor.Type to $@objc_metatype UIColor.Type, loc "GPAViewController.swift":103:47, scope 43 // user: %1075
  11597. %1075 = apply %1073(%1074) : $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":103:47, scope 43 // users: %1079, %1076
  11598. %1076 = unchecked_ref_cast %1075 : $UIColor to $Optional<UIColor>, loc "GPAViewController.swift":103:47, scope 43 // user: %1078
  11599. %1077 = class_method [volatile] %1071 : $UILabel, #UILabel.textColor!setter.1.foreign : (UILabel) -> (UIColor!) -> () , $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":103:44, scope 43 // user: %1078
  11600. %1078 = apply %1077(%1076, %1071) : $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":103:44, scope 43
  11601. destroy_value %1075 : $UIColor, loc "GPAViewController.swift":103:47, scope 43 // id: %1079
  11602. destroy_value %1071 : $UILabel, loc "GPAViewController.swift":103:47, scope 43 // id: %1080
  11603. destroy_addr %1070 : $*UILabel, loc "GPAViewController.swift":103:47, scope 43 // id: %1081
  11604. dealloc_stack %1058 : $*Optional<UILabel>, loc "GPAViewController.swift":103:47, scope 43 // id: %1082
  11605. %1083 = alloc_stack $Optional<UILabel>, loc "GPAViewController.swift":104:17, scope 43 // users: %1107, %1095, %1087, %1086
  11606. %1084 = class_method %1 : $GPAViewController, #GPAViewController.letterGradeLabel!getter.1 : (GPAViewController) -> () -> UILabel! , $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":104:17, scope 43 // user: %1085
  11607. %1085 = apply %1084(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":104:17, scope 43 // user: %1086
  11608. store %1085 to [init] %1083 : $*Optional<UILabel>, loc "GPAViewController.swift":104:17, scope 43 // id: %1086
  11609. switch_enum_addr %1083 : $*Optional<UILabel>, case #Optional.none!enumelt: bb70, default bb71, loc "GPAViewController.swift":104:17, scope 43 // id: %1087
  11610.  
  11611. bb70: // Preds: bb69
  11612. %1088 = string_literal utf8 "GPAViewController.swift", loc "GPAViewController.swift":104:17, scope 43 // user: %1093
  11613. %1089 = integer_literal $Builtin.Word, 23, loc "GPAViewController.swift":104:17, scope 43 // user: %1093
  11614. %1090 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":104:17, scope 43 // user: %1093
  11615. %1091 = integer_literal $Builtin.Word, 104, loc "GPAViewController.swift":104:17, scope 43 // user: %1093
  11616. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  11617. %1092 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":104:17, scope 43 // user: %1093
  11618. %1093 = apply %1092(%1088, %1089, %1090, %1091) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":104:17, scope 43
  11619. unreachable , loc "GPAViewController.swift":104:17, scope 43 // id: %1094
  11620.  
  11621. bb71: // Preds: bb69
  11622. %1095 = unchecked_take_enum_data_addr %1083 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "GPAViewController.swift":104:17, scope 43 // users: %1106, %1096
  11623. %1096 = load [copy] %1095 : $*UILabel, loc "GPAViewController.swift":104:17, scope 43 // users: %1105, %1103, %1102
  11624. %1097 = metatype $@thick UIColor.Type, loc "GPAViewController.swift":104:46, scope 43 // users: %1099, %1098
  11625. %1098 = class_method [volatile] %1097 : $@thick UIColor.Type, #UIColor.yellowColor!getter.1.foreign : (UIColor.Type) -> () -> UIColor , $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":104:47, scope 43 // user: %1100
  11626. %1099 = thick_to_objc_metatype %1097 : $@thick UIColor.Type to $@objc_metatype UIColor.Type, loc "GPAViewController.swift":104:47, scope 43 // user: %1100
  11627. %1100 = apply %1098(%1099) : $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":104:47, scope 43 // users: %1104, %1101
  11628. %1101 = unchecked_ref_cast %1100 : $UIColor to $Optional<UIColor>, loc "GPAViewController.swift":104:47, scope 43 // user: %1103
  11629. %1102 = class_method [volatile] %1096 : $UILabel, #UILabel.textColor!setter.1.foreign : (UILabel) -> (UIColor!) -> () , $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":104:44, scope 43 // user: %1103
  11630. %1103 = apply %1102(%1101, %1096) : $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":104:44, scope 43
  11631. destroy_value %1100 : $UIColor, loc "GPAViewController.swift":104:47, scope 43 // id: %1104
  11632. destroy_value %1096 : $UILabel, loc "GPAViewController.swift":104:47, scope 43 // id: %1105
  11633. destroy_addr %1095 : $*UILabel, loc "GPAViewController.swift":104:47, scope 43 // id: %1106
  11634. dealloc_stack %1083 : $*Optional<UILabel>, loc "GPAViewController.swift":104:47, scope 43 // id: %1107
  11635. // function_ref Double.init(_builtinFloatLiteral : Builtin.Float64) -> Double
  11636. %1108 = function_ref @_TFSdCfT20_builtinFloatLiteralBf64__Sd : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "GPAViewController.swift":105:34, scope 43 // user: %1111
  11637. %1109 = metatype $@thin Double.Type, loc "GPAViewController.swift":105:34, scope 43 // user: %1111
  11638. %1110 = float_literal $Builtin.FPIEEE64, 0x400A666666666666 // 3.2999999999999998, loc "GPAViewController.swift":105:34, scope 43 // user: %1111
  11639. %1111 = apply %1108(%1110, %1109) : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "GPAViewController.swift":105:34, scope 43 // user: %1112
  11640. assign %1111 to %243 : $*Double, loc "GPAViewController.swift":105:32, scope 43 // id: %1112
  11641. %1113 = string_literal utf8 "B+", loc "GPAViewController.swift":106:26, scope 43 // user: %1118
  11642. %1114 = integer_literal $Builtin.Word, 2, loc "GPAViewController.swift":106:26, scope 43 // user: %1118
  11643. %1115 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":106:26, scope 43 // user: %1118
  11644. %1116 = metatype $@thin String.Type, loc "GPAViewController.swift":106:26, scope 43 // user: %1118
  11645. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  11646. %1117 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "GPAViewController.swift":106:26, scope 43 // user: %1118
  11647. %1118 = apply %1117(%1113, %1114, %1115, %1116) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "GPAViewController.swift":106:26, scope 43 // user: %1119
  11648. assign %1118 to %250 : $*String, loc "GPAViewController.swift":106:24, scope 43 // id: %1119
  11649. br bb95, loc "GPAViewController.swift":106:26, scope 23 // id: %1120
  11650.  
  11651. bb72: // Preds: bb66
  11652. br bb73, loc "GPAViewController.swift":102:18, scope 42 // id: %1121
  11653.  
  11654. bb73: // Preds: bb72
  11655. debug_value %238 : $Double, let, name "$match", loc "GPAViewController.swift":107:18, scope 44 // id: %1122
  11656. // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
  11657. %1123 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "GPAViewController.swift":107:18, scope 44 // user: %1147
  11658. // function_ref static ClosedRange.~= infix(ClosedRange<A>, A) -> Bool
  11659. %1124 = function_ref @_TZFVs11ClosedRangeoi2tefTGS_x_x_Sb : $@convention(method) <τ_0_0 where τ_0_0 : Comparable> (@in ClosedRange<τ_0_0>, @in τ_0_0, @thin ClosedRange<τ_0_0>.Type) -> Bool, loc "GPAViewController.swift":107:18, scope 44 // user: %1146
  11660. %1125 = metatype $@thin ClosedRange<Double>.Type, loc "GPAViewController.swift":107:18, scope 44 // user: %1146
  11661. // function_ref ... infix<A where ...> (A, A) -> ClosedRange<A>
  11662. %1126 = function_ref @_TFsoi3zzzuRxs10ComparablerFTxx_GVs11ClosedRangex_ : $@convention(thin) <τ_0_0 where τ_0_0 : Comparable> (@in τ_0_0, @in τ_0_0) -> @out ClosedRange<τ_0_0>, loc "GPAViewController.swift":107:20, scope 44 // user: %1140
  11663. // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
  11664. %1127 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":107:18, scope 44 // user: %1130
  11665. %1128 = metatype $@thin Double.Type, loc "GPAViewController.swift":107:18, scope 44 // user: %1130
  11666. %1129 = integer_literal $Builtin.Int2048, 90, loc "GPAViewController.swift":107:18, scope 44 // user: %1130
  11667. %1130 = apply %1127(%1129, %1128) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":107:18, scope 44 // user: %1132
  11668. %1131 = alloc_stack $Double, loc "GPAViewController.swift":107:18, scope 44 // users: %1152, %1140, %1132
  11669. store %1130 to [trivial] %1131 : $*Double, loc "GPAViewController.swift":107:18, scope 44 // id: %1132
  11670. // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
  11671. %1133 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":107:23, scope 44 // user: %1136
  11672. %1134 = metatype $@thin Double.Type, loc "GPAViewController.swift":107:23, scope 44 // user: %1136
  11673. %1135 = integer_literal $Builtin.Int2048, 92, loc "GPAViewController.swift":107:23, scope 44 // user: %1136
  11674. %1136 = apply %1133(%1135, %1134) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":107:23, scope 44 // user: %1138
  11675. %1137 = alloc_stack $Double, loc "GPAViewController.swift":107:23, scope 44 // users: %1151, %1140, %1138
  11676. store %1136 to [trivial] %1137 : $*Double, loc "GPAViewController.swift":107:23, scope 44 // id: %1138
  11677. %1139 = alloc_stack $ClosedRange<Double>, loc "GPAViewController.swift":107:20, scope 44 // users: %1150, %1141, %1140
  11678. %1140 = apply %1126<Double>(%1139, %1131, %1137) : $@convention(thin) <τ_0_0 where τ_0_0 : Comparable> (@in τ_0_0, @in τ_0_0) -> @out ClosedRange<τ_0_0>, loc "GPAViewController.swift":107:20, scope 44
  11679. %1141 = load [trivial] %1139 : $*ClosedRange<Double>, loc "GPAViewController.swift":107:20, scope 44 // user: %1143
  11680. %1142 = alloc_stack $ClosedRange<Double>, loc "GPAViewController.swift":107:20, scope 44 // users: %1149, %1146, %1143
  11681. store %1141 to [trivial] %1142 : $*ClosedRange<Double>, loc "GPAViewController.swift":107:20, scope 44 // id: %1143
  11682. %1144 = alloc_stack $Double, loc "GPAViewController.swift":107:18, scope 44 // users: %1148, %1146, %1145
  11683. store %238 to [trivial] %1144 : $*Double, loc "GPAViewController.swift":107:18, scope 44 // id: %1145
  11684. %1146 = apply %1124<Double>(%1142, %1144, %1125) : $@convention(method) <τ_0_0 where τ_0_0 : Comparable> (@in ClosedRange<τ_0_0>, @in τ_0_0, @thin ClosedRange<τ_0_0>.Type) -> Bool, loc "GPAViewController.swift":107:18, scope 44 // user: %1147
  11685. %1147 = apply %1123(%1146) : $@convention(method) (Bool) -> Builtin.Int1, loc "GPAViewController.swift":107:23, scope 44 // user: %1153
  11686. dealloc_stack %1144 : $*Double, loc "GPAViewController.swift":107:23, scope 44 // id: %1148
  11687. dealloc_stack %1142 : $*ClosedRange<Double>, loc "GPAViewController.swift":107:23, scope 44 // id: %1149
  11688. dealloc_stack %1139 : $*ClosedRange<Double>, loc "GPAViewController.swift":107:23, scope 44 // id: %1150
  11689. dealloc_stack %1137 : $*Double, loc "GPAViewController.swift":107:23, scope 44 // id: %1151
  11690. dealloc_stack %1131 : $*Double, loc "GPAViewController.swift":107:23, scope 44 // id: %1152
  11691. cond_br %1147, bb74, bb79, loc "GPAViewController.swift":107:18, scope 44 // id: %1153
  11692.  
  11693. bb74: // Preds: bb73
  11694. %1154 = alloc_stack $Optional<UILabel>, loc "GPAViewController.swift":108:17, scope 45 // users: %1178, %1166, %1158, %1157
  11695. %1155 = class_method %1 : $GPAViewController, #GPAViewController.standardGPALabel!getter.1 : (GPAViewController) -> () -> UILabel! , $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":108:17, scope 45 // user: %1156
  11696. %1156 = apply %1155(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":108:17, scope 45 // user: %1157
  11697. store %1156 to [init] %1154 : $*Optional<UILabel>, loc "GPAViewController.swift":108:17, scope 45 // id: %1157
  11698. switch_enum_addr %1154 : $*Optional<UILabel>, case #Optional.none!enumelt: bb75, default bb76, loc "GPAViewController.swift":108:17, scope 45 // id: %1158
  11699.  
  11700. bb75: // Preds: bb74
  11701. %1159 = string_literal utf8 "GPAViewController.swift", loc "GPAViewController.swift":108:17, scope 45 // user: %1164
  11702. %1160 = integer_literal $Builtin.Word, 23, loc "GPAViewController.swift":108:17, scope 45 // user: %1164
  11703. %1161 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":108:17, scope 45 // user: %1164
  11704. %1162 = integer_literal $Builtin.Word, 108, loc "GPAViewController.swift":108:17, scope 45 // user: %1164
  11705. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  11706. %1163 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":108:17, scope 45 // user: %1164
  11707. %1164 = apply %1163(%1159, %1160, %1161, %1162) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":108:17, scope 45
  11708. unreachable , loc "GPAViewController.swift":108:17, scope 45 // id: %1165
  11709.  
  11710. bb76: // Preds: bb74
  11711. %1166 = unchecked_take_enum_data_addr %1154 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "GPAViewController.swift":108:17, scope 45 // users: %1177, %1167
  11712. %1167 = load [copy] %1166 : $*UILabel, loc "GPAViewController.swift":108:17, scope 45 // users: %1176, %1174, %1173
  11713. %1168 = metatype $@thick UIColor.Type, loc "GPAViewController.swift":108:46, scope 45 // users: %1170, %1169
  11714. %1169 = class_method [volatile] %1168 : $@thick UIColor.Type, #UIColor.greenColor!getter.1.foreign : (UIColor.Type) -> () -> UIColor , $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":108:47, scope 45 // user: %1171
  11715. %1170 = thick_to_objc_metatype %1168 : $@thick UIColor.Type to $@objc_metatype UIColor.Type, loc "GPAViewController.swift":108:47, scope 45 // user: %1171
  11716. %1171 = apply %1169(%1170) : $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":108:47, scope 45 // users: %1175, %1172
  11717. %1172 = unchecked_ref_cast %1171 : $UIColor to $Optional<UIColor>, loc "GPAViewController.swift":108:47, scope 45 // user: %1174
  11718. %1173 = class_method [volatile] %1167 : $UILabel, #UILabel.textColor!setter.1.foreign : (UILabel) -> (UIColor!) -> () , $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":108:44, scope 45 // user: %1174
  11719. %1174 = apply %1173(%1172, %1167) : $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":108:44, scope 45
  11720. destroy_value %1171 : $UIColor, loc "GPAViewController.swift":108:47, scope 45 // id: %1175
  11721. destroy_value %1167 : $UILabel, loc "GPAViewController.swift":108:47, scope 45 // id: %1176
  11722. destroy_addr %1166 : $*UILabel, loc "GPAViewController.swift":108:47, scope 45 // id: %1177
  11723. dealloc_stack %1154 : $*Optional<UILabel>, loc "GPAViewController.swift":108:47, scope 45 // id: %1178
  11724. %1179 = alloc_stack $Optional<UILabel>, loc "GPAViewController.swift":109:17, scope 45 // users: %1203, %1191, %1183, %1182
  11725. %1180 = class_method %1 : $GPAViewController, #GPAViewController.letterGradeLabel!getter.1 : (GPAViewController) -> () -> UILabel! , $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":109:17, scope 45 // user: %1181
  11726. %1181 = apply %1180(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":109:17, scope 45 // user: %1182
  11727. store %1181 to [init] %1179 : $*Optional<UILabel>, loc "GPAViewController.swift":109:17, scope 45 // id: %1182
  11728. switch_enum_addr %1179 : $*Optional<UILabel>, case #Optional.none!enumelt: bb77, default bb78, loc "GPAViewController.swift":109:17, scope 45 // id: %1183
  11729.  
  11730. bb77: // Preds: bb76
  11731. %1184 = string_literal utf8 "GPAViewController.swift", loc "GPAViewController.swift":109:17, scope 45 // user: %1189
  11732. %1185 = integer_literal $Builtin.Word, 23, loc "GPAViewController.swift":109:17, scope 45 // user: %1189
  11733. %1186 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":109:17, scope 45 // user: %1189
  11734. %1187 = integer_literal $Builtin.Word, 109, loc "GPAViewController.swift":109:17, scope 45 // user: %1189
  11735. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  11736. %1188 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":109:17, scope 45 // user: %1189
  11737. %1189 = apply %1188(%1184, %1185, %1186, %1187) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":109:17, scope 45
  11738. unreachable , loc "GPAViewController.swift":109:17, scope 45 // id: %1190
  11739.  
  11740. bb78: // Preds: bb76
  11741. %1191 = unchecked_take_enum_data_addr %1179 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "GPAViewController.swift":109:17, scope 45 // users: %1202, %1192
  11742. %1192 = load [copy] %1191 : $*UILabel, loc "GPAViewController.swift":109:17, scope 45 // users: %1201, %1199, %1198
  11743. %1193 = metatype $@thick UIColor.Type, loc "GPAViewController.swift":109:46, scope 45 // users: %1195, %1194
  11744. %1194 = class_method [volatile] %1193 : $@thick UIColor.Type, #UIColor.greenColor!getter.1.foreign : (UIColor.Type) -> () -> UIColor , $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":109:47, scope 45 // user: %1196
  11745. %1195 = thick_to_objc_metatype %1193 : $@thick UIColor.Type to $@objc_metatype UIColor.Type, loc "GPAViewController.swift":109:47, scope 45 // user: %1196
  11746. %1196 = apply %1194(%1195) : $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":109:47, scope 45 // users: %1200, %1197
  11747. %1197 = unchecked_ref_cast %1196 : $UIColor to $Optional<UIColor>, loc "GPAViewController.swift":109:47, scope 45 // user: %1199
  11748. %1198 = class_method [volatile] %1192 : $UILabel, #UILabel.textColor!setter.1.foreign : (UILabel) -> (UIColor!) -> () , $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":109:44, scope 45 // user: %1199
  11749. %1199 = apply %1198(%1197, %1192) : $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":109:44, scope 45
  11750. destroy_value %1196 : $UIColor, loc "GPAViewController.swift":109:47, scope 45 // id: %1200
  11751. destroy_value %1192 : $UILabel, loc "GPAViewController.swift":109:47, scope 45 // id: %1201
  11752. destroy_addr %1191 : $*UILabel, loc "GPAViewController.swift":109:47, scope 45 // id: %1202
  11753. dealloc_stack %1179 : $*Optional<UILabel>, loc "GPAViewController.swift":109:47, scope 45 // id: %1203
  11754. // function_ref Double.init(_builtinFloatLiteral : Builtin.Float64) -> Double
  11755. %1204 = function_ref @_TFSdCfT20_builtinFloatLiteralBf64__Sd : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "GPAViewController.swift":110:34, scope 45 // user: %1207
  11756. %1205 = metatype $@thin Double.Type, loc "GPAViewController.swift":110:34, scope 45 // user: %1207
  11757. %1206 = float_literal $Builtin.FPIEEE64, 0x400D99999999999A // 3.7000000000000002, loc "GPAViewController.swift":110:34, scope 45 // user: %1207
  11758. %1207 = apply %1204(%1206, %1205) : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "GPAViewController.swift":110:34, scope 45 // user: %1208
  11759. assign %1207 to %243 : $*Double, loc "GPAViewController.swift":110:32, scope 45 // id: %1208
  11760. %1209 = string_literal utf8 "A-", loc "GPAViewController.swift":111:26, scope 45 // user: %1214
  11761. %1210 = integer_literal $Builtin.Word, 2, loc "GPAViewController.swift":111:26, scope 45 // user: %1214
  11762. %1211 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":111:26, scope 45 // user: %1214
  11763. %1212 = metatype $@thin String.Type, loc "GPAViewController.swift":111:26, scope 45 // user: %1214
  11764. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  11765. %1213 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "GPAViewController.swift":111:26, scope 45 // user: %1214
  11766. %1214 = apply %1213(%1209, %1210, %1211, %1212) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "GPAViewController.swift":111:26, scope 45 // user: %1215
  11767. assign %1214 to %250 : $*String, loc "GPAViewController.swift":111:24, scope 45 // id: %1215
  11768. br bb95, loc "GPAViewController.swift":111:26, scope 23 // id: %1216
  11769.  
  11770. bb79: // Preds: bb73
  11771. br bb80, loc "GPAViewController.swift":107:18, scope 44 // id: %1217
  11772.  
  11773. bb80: // Preds: bb79
  11774. debug_value %238 : $Double, let, name "$match", loc "GPAViewController.swift":112:18, scope 46 // id: %1218
  11775. // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
  11776. %1219 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "GPAViewController.swift":112:18, scope 46 // user: %1243
  11777. // function_ref static ClosedRange.~= infix(ClosedRange<A>, A) -> Bool
  11778. %1220 = function_ref @_TZFVs11ClosedRangeoi2tefTGS_x_x_Sb : $@convention(method) <τ_0_0 where τ_0_0 : Comparable> (@in ClosedRange<τ_0_0>, @in τ_0_0, @thin ClosedRange<τ_0_0>.Type) -> Bool, loc "GPAViewController.swift":112:18, scope 46 // user: %1242
  11779. %1221 = metatype $@thin ClosedRange<Double>.Type, loc "GPAViewController.swift":112:18, scope 46 // user: %1242
  11780. // function_ref ... infix<A where ...> (A, A) -> ClosedRange<A>
  11781. %1222 = function_ref @_TFsoi3zzzuRxs10ComparablerFTxx_GVs11ClosedRangex_ : $@convention(thin) <τ_0_0 where τ_0_0 : Comparable> (@in τ_0_0, @in τ_0_0) -> @out ClosedRange<τ_0_0>, loc "GPAViewController.swift":112:20, scope 46 // user: %1236
  11782. // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
  11783. %1223 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":112:18, scope 46 // user: %1226
  11784. %1224 = metatype $@thin Double.Type, loc "GPAViewController.swift":112:18, scope 46 // user: %1226
  11785. %1225 = integer_literal $Builtin.Int2048, 93, loc "GPAViewController.swift":112:18, scope 46 // user: %1226
  11786. %1226 = apply %1223(%1225, %1224) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":112:18, scope 46 // user: %1228
  11787. %1227 = alloc_stack $Double, loc "GPAViewController.swift":112:18, scope 46 // users: %1248, %1236, %1228
  11788. store %1226 to [trivial] %1227 : $*Double, loc "GPAViewController.swift":112:18, scope 46 // id: %1228
  11789. // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
  11790. %1229 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":112:23, scope 46 // user: %1232
  11791. %1230 = metatype $@thin Double.Type, loc "GPAViewController.swift":112:23, scope 46 // user: %1232
  11792. %1231 = integer_literal $Builtin.Int2048, 96, loc "GPAViewController.swift":112:23, scope 46 // user: %1232
  11793. %1232 = apply %1229(%1231, %1230) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":112:23, scope 46 // user: %1234
  11794. %1233 = alloc_stack $Double, loc "GPAViewController.swift":112:23, scope 46 // users: %1247, %1236, %1234
  11795. store %1232 to [trivial] %1233 : $*Double, loc "GPAViewController.swift":112:23, scope 46 // id: %1234
  11796. %1235 = alloc_stack $ClosedRange<Double>, loc "GPAViewController.swift":112:20, scope 46 // users: %1246, %1237, %1236
  11797. %1236 = apply %1222<Double>(%1235, %1227, %1233) : $@convention(thin) <τ_0_0 where τ_0_0 : Comparable> (@in τ_0_0, @in τ_0_0) -> @out ClosedRange<τ_0_0>, loc "GPAViewController.swift":112:20, scope 46
  11798. %1237 = load [trivial] %1235 : $*ClosedRange<Double>, loc "GPAViewController.swift":112:20, scope 46 // user: %1239
  11799. %1238 = alloc_stack $ClosedRange<Double>, loc "GPAViewController.swift":112:20, scope 46 // users: %1245, %1242, %1239
  11800. store %1237 to [trivial] %1238 : $*ClosedRange<Double>, loc "GPAViewController.swift":112:20, scope 46 // id: %1239
  11801. %1240 = alloc_stack $Double, loc "GPAViewController.swift":112:18, scope 46 // users: %1244, %1242, %1241
  11802. store %238 to [trivial] %1240 : $*Double, loc "GPAViewController.swift":112:18, scope 46 // id: %1241
  11803. %1242 = apply %1220<Double>(%1238, %1240, %1221) : $@convention(method) <τ_0_0 where τ_0_0 : Comparable> (@in ClosedRange<τ_0_0>, @in τ_0_0, @thin ClosedRange<τ_0_0>.Type) -> Bool, loc "GPAViewController.swift":112:18, scope 46 // user: %1243
  11804. %1243 = apply %1219(%1242) : $@convention(method) (Bool) -> Builtin.Int1, loc "GPAViewController.swift":112:23, scope 46 // user: %1249
  11805. dealloc_stack %1240 : $*Double, loc "GPAViewController.swift":112:23, scope 46 // id: %1244
  11806. dealloc_stack %1238 : $*ClosedRange<Double>, loc "GPAViewController.swift":112:23, scope 46 // id: %1245
  11807. dealloc_stack %1235 : $*ClosedRange<Double>, loc "GPAViewController.swift":112:23, scope 46 // id: %1246
  11808. dealloc_stack %1233 : $*Double, loc "GPAViewController.swift":112:23, scope 46 // id: %1247
  11809. dealloc_stack %1227 : $*Double, loc "GPAViewController.swift":112:23, scope 46 // id: %1248
  11810. cond_br %1243, bb81, bb86, loc "GPAViewController.swift":112:18, scope 46 // id: %1249
  11811.  
  11812. bb81: // Preds: bb80
  11813. %1250 = alloc_stack $Optional<UILabel>, loc "GPAViewController.swift":113:17, scope 47 // users: %1274, %1262, %1254, %1253
  11814. %1251 = class_method %1 : $GPAViewController, #GPAViewController.standardGPALabel!getter.1 : (GPAViewController) -> () -> UILabel! , $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":113:17, scope 47 // user: %1252
  11815. %1252 = apply %1251(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":113:17, scope 47 // user: %1253
  11816. store %1252 to [init] %1250 : $*Optional<UILabel>, loc "GPAViewController.swift":113:17, scope 47 // id: %1253
  11817. switch_enum_addr %1250 : $*Optional<UILabel>, case #Optional.none!enumelt: bb82, default bb83, loc "GPAViewController.swift":113:17, scope 47 // id: %1254
  11818.  
  11819. bb82: // Preds: bb81
  11820. %1255 = string_literal utf8 "GPAViewController.swift", loc "GPAViewController.swift":113:17, scope 47 // user: %1260
  11821. %1256 = integer_literal $Builtin.Word, 23, loc "GPAViewController.swift":113:17, scope 47 // user: %1260
  11822. %1257 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":113:17, scope 47 // user: %1260
  11823. %1258 = integer_literal $Builtin.Word, 113, loc "GPAViewController.swift":113:17, scope 47 // user: %1260
  11824. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  11825. %1259 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":113:17, scope 47 // user: %1260
  11826. %1260 = apply %1259(%1255, %1256, %1257, %1258) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":113:17, scope 47
  11827. unreachable , loc "GPAViewController.swift":113:17, scope 47 // id: %1261
  11828.  
  11829. bb83: // Preds: bb81
  11830. %1262 = unchecked_take_enum_data_addr %1250 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "GPAViewController.swift":113:17, scope 47 // users: %1273, %1263
  11831. %1263 = load [copy] %1262 : $*UILabel, loc "GPAViewController.swift":113:17, scope 47 // users: %1272, %1270, %1269
  11832. %1264 = metatype $@thick UIColor.Type, loc "GPAViewController.swift":113:46, scope 47 // users: %1266, %1265
  11833. %1265 = class_method [volatile] %1264 : $@thick UIColor.Type, #UIColor.greenColor!getter.1.foreign : (UIColor.Type) -> () -> UIColor , $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":113:47, scope 47 // user: %1267
  11834. %1266 = thick_to_objc_metatype %1264 : $@thick UIColor.Type to $@objc_metatype UIColor.Type, loc "GPAViewController.swift":113:47, scope 47 // user: %1267
  11835. %1267 = apply %1265(%1266) : $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":113:47, scope 47 // users: %1271, %1268
  11836. %1268 = unchecked_ref_cast %1267 : $UIColor to $Optional<UIColor>, loc "GPAViewController.swift":113:47, scope 47 // user: %1270
  11837. %1269 = class_method [volatile] %1263 : $UILabel, #UILabel.textColor!setter.1.foreign : (UILabel) -> (UIColor!) -> () , $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":113:44, scope 47 // user: %1270
  11838. %1270 = apply %1269(%1268, %1263) : $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":113:44, scope 47
  11839. destroy_value %1267 : $UIColor, loc "GPAViewController.swift":113:47, scope 47 // id: %1271
  11840. destroy_value %1263 : $UILabel, loc "GPAViewController.swift":113:47, scope 47 // id: %1272
  11841. destroy_addr %1262 : $*UILabel, loc "GPAViewController.swift":113:47, scope 47 // id: %1273
  11842. dealloc_stack %1250 : $*Optional<UILabel>, loc "GPAViewController.swift":113:47, scope 47 // id: %1274
  11843. %1275 = alloc_stack $Optional<UILabel>, loc "GPAViewController.swift":114:17, scope 47 // users: %1299, %1287, %1279, %1278
  11844. %1276 = class_method %1 : $GPAViewController, #GPAViewController.letterGradeLabel!getter.1 : (GPAViewController) -> () -> UILabel! , $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":114:17, scope 47 // user: %1277
  11845. %1277 = apply %1276(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":114:17, scope 47 // user: %1278
  11846. store %1277 to [init] %1275 : $*Optional<UILabel>, loc "GPAViewController.swift":114:17, scope 47 // id: %1278
  11847. switch_enum_addr %1275 : $*Optional<UILabel>, case #Optional.none!enumelt: bb84, default bb85, loc "GPAViewController.swift":114:17, scope 47 // id: %1279
  11848.  
  11849. bb84: // Preds: bb83
  11850. %1280 = string_literal utf8 "GPAViewController.swift", loc "GPAViewController.swift":114:17, scope 47 // user: %1285
  11851. %1281 = integer_literal $Builtin.Word, 23, loc "GPAViewController.swift":114:17, scope 47 // user: %1285
  11852. %1282 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":114:17, scope 47 // user: %1285
  11853. %1283 = integer_literal $Builtin.Word, 114, loc "GPAViewController.swift":114:17, scope 47 // user: %1285
  11854. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  11855. %1284 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":114:17, scope 47 // user: %1285
  11856. %1285 = apply %1284(%1280, %1281, %1282, %1283) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":114:17, scope 47
  11857. unreachable , loc "GPAViewController.swift":114:17, scope 47 // id: %1286
  11858.  
  11859. bb85: // Preds: bb83
  11860. %1287 = unchecked_take_enum_data_addr %1275 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "GPAViewController.swift":114:17, scope 47 // users: %1298, %1288
  11861. %1288 = load [copy] %1287 : $*UILabel, loc "GPAViewController.swift":114:17, scope 47 // users: %1297, %1295, %1294
  11862. %1289 = metatype $@thick UIColor.Type, loc "GPAViewController.swift":114:46, scope 47 // users: %1291, %1290
  11863. %1290 = class_method [volatile] %1289 : $@thick UIColor.Type, #UIColor.greenColor!getter.1.foreign : (UIColor.Type) -> () -> UIColor , $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":114:47, scope 47 // user: %1292
  11864. %1291 = thick_to_objc_metatype %1289 : $@thick UIColor.Type to $@objc_metatype UIColor.Type, loc "GPAViewController.swift":114:47, scope 47 // user: %1292
  11865. %1292 = apply %1290(%1291) : $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":114:47, scope 47 // users: %1296, %1293
  11866. %1293 = unchecked_ref_cast %1292 : $UIColor to $Optional<UIColor>, loc "GPAViewController.swift":114:47, scope 47 // user: %1295
  11867. %1294 = class_method [volatile] %1288 : $UILabel, #UILabel.textColor!setter.1.foreign : (UILabel) -> (UIColor!) -> () , $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":114:44, scope 47 // user: %1295
  11868. %1295 = apply %1294(%1293, %1288) : $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":114:44, scope 47
  11869. destroy_value %1292 : $UIColor, loc "GPAViewController.swift":114:47, scope 47 // id: %1296
  11870. destroy_value %1288 : $UILabel, loc "GPAViewController.swift":114:47, scope 47 // id: %1297
  11871. destroy_addr %1287 : $*UILabel, loc "GPAViewController.swift":114:47, scope 47 // id: %1298
  11872. dealloc_stack %1275 : $*Optional<UILabel>, loc "GPAViewController.swift":114:47, scope 47 // id: %1299
  11873. // function_ref Double.init(_builtinFloatLiteral : Builtin.Float64) -> Double
  11874. %1300 = function_ref @_TFSdCfT20_builtinFloatLiteralBf64__Sd : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "GPAViewController.swift":115:34, scope 47 // user: %1303
  11875. %1301 = metatype $@thin Double.Type, loc "GPAViewController.swift":115:34, scope 47 // user: %1303
  11876. %1302 = float_literal $Builtin.FPIEEE64, 0x4010000000000000 // 4, loc "GPAViewController.swift":115:34, scope 47 // user: %1303
  11877. %1303 = apply %1300(%1302, %1301) : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "GPAViewController.swift":115:34, scope 47 // user: %1304
  11878. assign %1303 to %243 : $*Double, loc "GPAViewController.swift":115:32, scope 47 // id: %1304
  11879. %1305 = string_literal utf8 "A", loc "GPAViewController.swift":116:26, scope 47 // user: %1310
  11880. %1306 = integer_literal $Builtin.Word, 1, loc "GPAViewController.swift":116:26, scope 47 // user: %1310
  11881. %1307 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":116:26, scope 47 // user: %1310
  11882. %1308 = metatype $@thin String.Type, loc "GPAViewController.swift":116:26, scope 47 // user: %1310
  11883. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  11884. %1309 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "GPAViewController.swift":116:26, scope 47 // user: %1310
  11885. %1310 = apply %1309(%1305, %1306, %1307, %1308) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "GPAViewController.swift":116:26, scope 47 // user: %1311
  11886. assign %1310 to %250 : $*String, loc "GPAViewController.swift":116:24, scope 47 // id: %1311
  11887. br bb95, loc "GPAViewController.swift":116:26, scope 23 // id: %1312
  11888.  
  11889. bb86: // Preds: bb80
  11890. br bb87, loc "GPAViewController.swift":112:18, scope 46 // id: %1313
  11891.  
  11892. bb87: // Preds: bb86
  11893. debug_value %238 : $Double, let, name "$match", loc "GPAViewController.swift":117:18, scope 48 // id: %1314
  11894. // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
  11895. %1315 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "GPAViewController.swift":117:18, scope 48 // user: %1339
  11896. // function_ref static ClosedRange.~= infix(ClosedRange<A>, A) -> Bool
  11897. %1316 = function_ref @_TZFVs11ClosedRangeoi2tefTGS_x_x_Sb : $@convention(method) <τ_0_0 where τ_0_0 : Comparable> (@in ClosedRange<τ_0_0>, @in τ_0_0, @thin ClosedRange<τ_0_0>.Type) -> Bool, loc "GPAViewController.swift":117:18, scope 48 // user: %1338
  11898. %1317 = metatype $@thin ClosedRange<Double>.Type, loc "GPAViewController.swift":117:18, scope 48 // user: %1338
  11899. // function_ref ... infix<A where ...> (A, A) -> ClosedRange<A>
  11900. %1318 = function_ref @_TFsoi3zzzuRxs10ComparablerFTxx_GVs11ClosedRangex_ : $@convention(thin) <τ_0_0 where τ_0_0 : Comparable> (@in τ_0_0, @in τ_0_0) -> @out ClosedRange<τ_0_0>, loc "GPAViewController.swift":117:20, scope 48 // user: %1332
  11901. // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
  11902. %1319 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":117:18, scope 48 // user: %1322
  11903. %1320 = metatype $@thin Double.Type, loc "GPAViewController.swift":117:18, scope 48 // user: %1322
  11904. %1321 = integer_literal $Builtin.Int2048, 97, loc "GPAViewController.swift":117:18, scope 48 // user: %1322
  11905. %1322 = apply %1319(%1321, %1320) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":117:18, scope 48 // user: %1324
  11906. %1323 = alloc_stack $Double, loc "GPAViewController.swift":117:18, scope 48 // users: %1344, %1332, %1324
  11907. store %1322 to [trivial] %1323 : $*Double, loc "GPAViewController.swift":117:18, scope 48 // id: %1324
  11908. // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
  11909. %1325 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":117:23, scope 48 // user: %1328
  11910. %1326 = metatype $@thin Double.Type, loc "GPAViewController.swift":117:23, scope 48 // user: %1328
  11911. %1327 = integer_literal $Builtin.Int2048, 100, loc "GPAViewController.swift":117:23, scope 48 // user: %1328
  11912. %1328 = apply %1325(%1327, %1326) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":117:23, scope 48 // user: %1330
  11913. %1329 = alloc_stack $Double, loc "GPAViewController.swift":117:23, scope 48 // users: %1343, %1332, %1330
  11914. store %1328 to [trivial] %1329 : $*Double, loc "GPAViewController.swift":117:23, scope 48 // id: %1330
  11915. %1331 = alloc_stack $ClosedRange<Double>, loc "GPAViewController.swift":117:20, scope 48 // users: %1342, %1333, %1332
  11916. %1332 = apply %1318<Double>(%1331, %1323, %1329) : $@convention(thin) <τ_0_0 where τ_0_0 : Comparable> (@in τ_0_0, @in τ_0_0) -> @out ClosedRange<τ_0_0>, loc "GPAViewController.swift":117:20, scope 48
  11917. %1333 = load [trivial] %1331 : $*ClosedRange<Double>, loc "GPAViewController.swift":117:20, scope 48 // user: %1335
  11918. %1334 = alloc_stack $ClosedRange<Double>, loc "GPAViewController.swift":117:20, scope 48 // users: %1341, %1338, %1335
  11919. store %1333 to [trivial] %1334 : $*ClosedRange<Double>, loc "GPAViewController.swift":117:20, scope 48 // id: %1335
  11920. %1336 = alloc_stack $Double, loc "GPAViewController.swift":117:18, scope 48 // users: %1340, %1338, %1337
  11921. store %238 to [trivial] %1336 : $*Double, loc "GPAViewController.swift":117:18, scope 48 // id: %1337
  11922. %1338 = apply %1316<Double>(%1334, %1336, %1317) : $@convention(method) <τ_0_0 where τ_0_0 : Comparable> (@in ClosedRange<τ_0_0>, @in τ_0_0, @thin ClosedRange<τ_0_0>.Type) -> Bool, loc "GPAViewController.swift":117:18, scope 48 // user: %1339
  11923. %1339 = apply %1315(%1338) : $@convention(method) (Bool) -> Builtin.Int1, loc "GPAViewController.swift":117:23, scope 48 // user: %1345
  11924. dealloc_stack %1336 : $*Double, loc "GPAViewController.swift":117:23, scope 48 // id: %1340
  11925. dealloc_stack %1334 : $*ClosedRange<Double>, loc "GPAViewController.swift":117:23, scope 48 // id: %1341
  11926. dealloc_stack %1331 : $*ClosedRange<Double>, loc "GPAViewController.swift":117:23, scope 48 // id: %1342
  11927. dealloc_stack %1329 : $*Double, loc "GPAViewController.swift":117:23, scope 48 // id: %1343
  11928. dealloc_stack %1323 : $*Double, loc "GPAViewController.swift":117:23, scope 48 // id: %1344
  11929. cond_br %1339, bb88, bb93, loc "GPAViewController.swift":117:18, scope 48 // id: %1345
  11930.  
  11931. bb88: // Preds: bb87
  11932. %1346 = alloc_stack $Optional<UILabel>, loc "GPAViewController.swift":118:17, scope 49 // users: %1370, %1358, %1350, %1349
  11933. %1347 = class_method %1 : $GPAViewController, #GPAViewController.standardGPALabel!getter.1 : (GPAViewController) -> () -> UILabel! , $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":118:17, scope 49 // user: %1348
  11934. %1348 = apply %1347(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":118:17, scope 49 // user: %1349
  11935. store %1348 to [init] %1346 : $*Optional<UILabel>, loc "GPAViewController.swift":118:17, scope 49 // id: %1349
  11936. switch_enum_addr %1346 : $*Optional<UILabel>, case #Optional.none!enumelt: bb89, default bb90, loc "GPAViewController.swift":118:17, scope 49 // id: %1350
  11937.  
  11938. bb89: // Preds: bb88
  11939. %1351 = string_literal utf8 "GPAViewController.swift", loc "GPAViewController.swift":118:17, scope 49 // user: %1356
  11940. %1352 = integer_literal $Builtin.Word, 23, loc "GPAViewController.swift":118:17, scope 49 // user: %1356
  11941. %1353 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":118:17, scope 49 // user: %1356
  11942. %1354 = integer_literal $Builtin.Word, 118, loc "GPAViewController.swift":118:17, scope 49 // user: %1356
  11943. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  11944. %1355 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":118:17, scope 49 // user: %1356
  11945. %1356 = apply %1355(%1351, %1352, %1353, %1354) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":118:17, scope 49
  11946. unreachable , loc "GPAViewController.swift":118:17, scope 49 // id: %1357
  11947.  
  11948. bb90: // Preds: bb88
  11949. %1358 = unchecked_take_enum_data_addr %1346 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "GPAViewController.swift":118:17, scope 49 // users: %1369, %1359
  11950. %1359 = load [copy] %1358 : $*UILabel, loc "GPAViewController.swift":118:17, scope 49 // users: %1368, %1366, %1365
  11951. %1360 = metatype $@thick UIColor.Type, loc "GPAViewController.swift":118:46, scope 49 // users: %1362, %1361
  11952. %1361 = class_method [volatile] %1360 : $@thick UIColor.Type, #UIColor.greenColor!getter.1.foreign : (UIColor.Type) -> () -> UIColor , $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":118:47, scope 49 // user: %1363
  11953. %1362 = thick_to_objc_metatype %1360 : $@thick UIColor.Type to $@objc_metatype UIColor.Type, loc "GPAViewController.swift":118:47, scope 49 // user: %1363
  11954. %1363 = apply %1361(%1362) : $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":118:47, scope 49 // users: %1367, %1364
  11955. %1364 = unchecked_ref_cast %1363 : $UIColor to $Optional<UIColor>, loc "GPAViewController.swift":118:47, scope 49 // user: %1366
  11956. %1365 = class_method [volatile] %1359 : $UILabel, #UILabel.textColor!setter.1.foreign : (UILabel) -> (UIColor!) -> () , $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":118:44, scope 49 // user: %1366
  11957. %1366 = apply %1365(%1364, %1359) : $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":118:44, scope 49
  11958. destroy_value %1363 : $UIColor, loc "GPAViewController.swift":118:47, scope 49 // id: %1367
  11959. destroy_value %1359 : $UILabel, loc "GPAViewController.swift":118:47, scope 49 // id: %1368
  11960. destroy_addr %1358 : $*UILabel, loc "GPAViewController.swift":118:47, scope 49 // id: %1369
  11961. dealloc_stack %1346 : $*Optional<UILabel>, loc "GPAViewController.swift":118:47, scope 49 // id: %1370
  11962. %1371 = alloc_stack $Optional<UILabel>, loc "GPAViewController.swift":119:17, scope 49 // users: %1395, %1383, %1375, %1374
  11963. %1372 = class_method %1 : $GPAViewController, #GPAViewController.letterGradeLabel!getter.1 : (GPAViewController) -> () -> UILabel! , $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":119:17, scope 49 // user: %1373
  11964. %1373 = apply %1372(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":119:17, scope 49 // user: %1374
  11965. store %1373 to [init] %1371 : $*Optional<UILabel>, loc "GPAViewController.swift":119:17, scope 49 // id: %1374
  11966. switch_enum_addr %1371 : $*Optional<UILabel>, case #Optional.none!enumelt: bb91, default bb92, loc "GPAViewController.swift":119:17, scope 49 // id: %1375
  11967.  
  11968. bb91: // Preds: bb90
  11969. %1376 = string_literal utf8 "GPAViewController.swift", loc "GPAViewController.swift":119:17, scope 49 // user: %1381
  11970. %1377 = integer_literal $Builtin.Word, 23, loc "GPAViewController.swift":119:17, scope 49 // user: %1381
  11971. %1378 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":119:17, scope 49 // user: %1381
  11972. %1379 = integer_literal $Builtin.Word, 119, loc "GPAViewController.swift":119:17, scope 49 // user: %1381
  11973. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  11974. %1380 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":119:17, scope 49 // user: %1381
  11975. %1381 = apply %1380(%1376, %1377, %1378, %1379) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":119:17, scope 49
  11976. unreachable , loc "GPAViewController.swift":119:17, scope 49 // id: %1382
  11977.  
  11978. bb92: // Preds: bb90
  11979. %1383 = unchecked_take_enum_data_addr %1371 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "GPAViewController.swift":119:17, scope 49 // users: %1394, %1384
  11980. %1384 = load [copy] %1383 : $*UILabel, loc "GPAViewController.swift":119:17, scope 49 // users: %1393, %1391, %1390
  11981. %1385 = metatype $@thick UIColor.Type, loc "GPAViewController.swift":119:46, scope 49 // users: %1387, %1386
  11982. %1386 = class_method [volatile] %1385 : $@thick UIColor.Type, #UIColor.greenColor!getter.1.foreign : (UIColor.Type) -> () -> UIColor , $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":119:47, scope 49 // user: %1388
  11983. %1387 = thick_to_objc_metatype %1385 : $@thick UIColor.Type to $@objc_metatype UIColor.Type, loc "GPAViewController.swift":119:47, scope 49 // user: %1388
  11984. %1388 = apply %1386(%1387) : $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":119:47, scope 49 // users: %1392, %1389
  11985. %1389 = unchecked_ref_cast %1388 : $UIColor to $Optional<UIColor>, loc "GPAViewController.swift":119:47, scope 49 // user: %1391
  11986. %1390 = class_method [volatile] %1384 : $UILabel, #UILabel.textColor!setter.1.foreign : (UILabel) -> (UIColor!) -> () , $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":119:44, scope 49 // user: %1391
  11987. %1391 = apply %1390(%1389, %1384) : $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":119:44, scope 49
  11988. destroy_value %1388 : $UIColor, loc "GPAViewController.swift":119:47, scope 49 // id: %1392
  11989. destroy_value %1384 : $UILabel, loc "GPAViewController.swift":119:47, scope 49 // id: %1393
  11990. destroy_addr %1383 : $*UILabel, loc "GPAViewController.swift":119:47, scope 49 // id: %1394
  11991. dealloc_stack %1371 : $*Optional<UILabel>, loc "GPAViewController.swift":119:47, scope 49 // id: %1395
  11992. // function_ref Double.init(_builtinFloatLiteral : Builtin.Float64) -> Double
  11993. %1396 = function_ref @_TFSdCfT20_builtinFloatLiteralBf64__Sd : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "GPAViewController.swift":120:34, scope 49 // user: %1399
  11994. %1397 = metatype $@thin Double.Type, loc "GPAViewController.swift":120:34, scope 49 // user: %1399
  11995. %1398 = float_literal $Builtin.FPIEEE64, 0x4010000000000000 // 4, loc "GPAViewController.swift":120:34, scope 49 // user: %1399
  11996. %1399 = apply %1396(%1398, %1397) : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "GPAViewController.swift":120:34, scope 49 // user: %1400
  11997. assign %1399 to %243 : $*Double, loc "GPAViewController.swift":120:32, scope 49 // id: %1400
  11998. %1401 = string_literal utf8 "A+", loc "GPAViewController.swift":121:26, scope 49 // user: %1406
  11999. %1402 = integer_literal $Builtin.Word, 2, loc "GPAViewController.swift":121:26, scope 49 // user: %1406
  12000. %1403 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":121:26, scope 49 // user: %1406
  12001. %1404 = metatype $@thin String.Type, loc "GPAViewController.swift":121:26, scope 49 // user: %1406
  12002. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  12003. %1405 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "GPAViewController.swift":121:26, scope 49 // user: %1406
  12004. %1406 = apply %1405(%1401, %1402, %1403, %1404) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "GPAViewController.swift":121:26, scope 49 // user: %1407
  12005. assign %1406 to %250 : $*String, loc "GPAViewController.swift":121:24, scope 49 // id: %1407
  12006. br bb95, loc "GPAViewController.swift":121:26, scope 23 // id: %1408
  12007.  
  12008. bb93: // Preds: bb87
  12009. br bb94, loc "GPAViewController.swift":117:18, scope 48 // id: %1409
  12010.  
  12011. bb94: // Preds: bb93
  12012. br bb95, loc "GPAViewController.swift":123:17, scope 50 // id: %1410
  12013.  
  12014. bb95: // Preds: bb94 bb92 bb85 bb78 bb71 bb64 bb57 bb50 bb43 bb36 bb29 bb22 bb15
  12015. // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
  12016. %1411 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "GPAViewController.swift":126:30, scope 23 // user: %1423
  12017. // function_ref != infix<A where ...> (A, A) -> Bool
  12018. %1412 = function_ref @_TFsoi2neuRxs9EquatablerFTxx_Sb : $@convention(thin) <τ_0_0 where τ_0_0 : Equatable> (@in τ_0_0, @in τ_0_0) -> Bool, loc "GPAViewController.swift":126:30, scope 23 // user: %1422
  12019. %1413 = load [trivial] %243 : $*Double, loc "GPAViewController.swift":126:15, scope 23 // user: %1415
  12020. %1414 = alloc_stack $Double, loc "GPAViewController.swift":126:15, scope 23 // users: %1425, %1422, %1415
  12021. store %1413 to [trivial] %1414 : $*Double, loc "GPAViewController.swift":126:15, scope 23 // id: %1415
  12022. // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
  12023. %1416 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":126:33, scope 23 // user: %1419
  12024. %1417 = metatype $@thin Double.Type, loc "GPAViewController.swift":126:33, scope 23 // user: %1419
  12025. %1418 = integer_literal $Builtin.Int2048, -1, loc "GPAViewController.swift":126:33, scope 23 // user: %1419
  12026. %1419 = apply %1416(%1418, %1417) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":126:34, scope 23 // user: %1421
  12027. %1420 = alloc_stack $Double, loc "GPAViewController.swift":126:34, scope 23 // users: %1424, %1422, %1421
  12028. store %1419 to [trivial] %1420 : $*Double, loc "GPAViewController.swift":126:34, scope 23 // id: %1421
  12029. %1422 = apply %1412<Double>(%1414, %1420) : $@convention(thin) <τ_0_0 where τ_0_0 : Equatable> (@in τ_0_0, @in τ_0_0) -> Bool, loc "GPAViewController.swift":126:30, scope 23 // user: %1423
  12030. %1423 = apply %1411(%1422) : $@convention(method) (Bool) -> Builtin.Int1, loc "GPAViewController.swift":126:34, scope 23 // user: %1426
  12031. dealloc_stack %1420 : $*Double, loc "GPAViewController.swift":126:34, scope 23 // id: %1424
  12032. dealloc_stack %1414 : $*Double, loc "GPAViewController.swift":126:34, scope 23 // id: %1425
  12033. cond_br %1423, bb96, bb108, loc "GPAViewController.swift":126:34, scope 23 // id: %1426
  12034.  
  12035. bb96: // Preds: bb95
  12036. // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
  12037. %1427 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "GPAViewController.swift":126:37, scope 23 // user: %1435
  12038. // function_ref static Bool.! prefix(Bool) -> Bool
  12039. %1428 = function_ref @_TZFSbop1nfSbSb : $@convention(method) (Bool, @thin Bool.Type) -> Bool, loc "GPAViewController.swift":126:37, scope 23 // user: %1434
  12040. %1429 = metatype $@thin Bool.Type, loc "GPAViewController.swift":126:37, scope 23 // user: %1434
  12041. %1430 = load [copy] %250 : $*String, loc "GPAViewController.swift":126:38, scope 23 // users: %1433, %1432
  12042. // function_ref String.isEmpty.getter
  12043. %1431 = function_ref @_TFSSg7isEmptySb : $@convention(method) (@guaranteed String) -> Bool, loc "GPAViewController.swift":126:45, scope 23 // user: %1432
  12044. %1432 = apply %1431(%1430) : $@convention(method) (@guaranteed String) -> Bool, loc "GPAViewController.swift":126:45, scope 23 // user: %1434
  12045. destroy_value %1430 : $String, loc "GPAViewController.swift":126:45, scope 23 // id: %1433
  12046. %1434 = apply %1428(%1432, %1429) : $@convention(method) (Bool, @thin Bool.Type) -> Bool, loc "GPAViewController.swift":126:37, scope 23 // user: %1435
  12047. %1435 = apply %1427(%1434) : $@convention(method) (Bool) -> Builtin.Int1, loc "GPAViewController.swift":126:45, scope 23 // user: %1436
  12048. cond_br %1435, bb97, bb108, loc "GPAViewController.swift":126:45, scope 23 // id: %1436
  12049.  
  12050. bb97: // Preds: bb96
  12051. %1437 = alloc_stack $Optional<UILabel>, loc "GPAViewController.swift":135:9, scope 23 // users: %1508, %1449, %1441, %1440
  12052. %1438 = class_method %1 : $GPAViewController, #GPAViewController.standardGPALabel!getter.1 : (GPAViewController) -> () -> UILabel! , $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":135:9, scope 23 // user: %1439
  12053. %1439 = apply %1438(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":135:9, scope 23 // user: %1440
  12054. store %1439 to [init] %1437 : $*Optional<UILabel>, loc "GPAViewController.swift":135:9, scope 23 // id: %1440
  12055. switch_enum_addr %1437 : $*Optional<UILabel>, case #Optional.none!enumelt: bb98, default bb99, loc "GPAViewController.swift":135:9, scope 23 // id: %1441
  12056.  
  12057. bb98: // Preds: bb97
  12058. %1442 = string_literal utf8 "GPAViewController.swift", loc "GPAViewController.swift":135:9, scope 23 // user: %1447
  12059. %1443 = integer_literal $Builtin.Word, 23, loc "GPAViewController.swift":135:9, scope 23 // user: %1447
  12060. %1444 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":135:9, scope 23 // user: %1447
  12061. %1445 = integer_literal $Builtin.Word, 135, loc "GPAViewController.swift":135:9, scope 23 // user: %1447
  12062. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  12063. %1446 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":135:9, scope 23 // user: %1447
  12064. %1447 = apply %1446(%1442, %1443, %1444, %1445) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":135:9, scope 23
  12065. unreachable , loc "GPAViewController.swift":135:9, scope 23 // id: %1448
  12066.  
  12067. bb99: // Preds: bb97
  12068. %1449 = unchecked_take_enum_data_addr %1437 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "GPAViewController.swift":135:9, scope 23 // users: %1507, %1450
  12069. %1450 = load [copy] %1449 : $*UILabel, loc "GPAViewController.swift":135:9, scope 23 // users: %1506, %1504, %1490
  12070. // function_ref String.init(stringInterpolation : [String]...) -> String
  12071. %1451 = function_ref @_TFSSCft19stringInterpolationGSaSS__SS : $@convention(method) (@owned Array<String>, @thin String.Type) -> @owned String, loc "GPAViewController.swift":135:33, scope 23 // user: %1488
  12072. %1452 = metatype $@thin String.Type, loc "GPAViewController.swift":135:33, scope 23 // user: %1488
  12073. %1453 = integer_literal $Builtin.Word, 3, loc "GPAViewController.swift":135:33, scope 23 // user: %1455
  12074. // function_ref _allocateUninitializedArray<A> (Builtin.Word) -> ([A], Builtin.RawPointer)
  12075. %1454 = function_ref @_TFs27_allocateUninitializedArrayurFBwTGSax_Bp_ : $@convention(thin) <τ_0_0> (Builtin.Word) -> (@owned Array<τ_0_0>, Builtin.RawPointer), loc "GPAViewController.swift":135:33, scope 23 // user: %1455
  12076. %1455 = apply %1454<String>(%1453) : $@convention(thin) <τ_0_0> (Builtin.Word) -> (@owned Array<τ_0_0>, Builtin.RawPointer), loc "GPAViewController.swift":135:33, scope 23 // users: %1457, %1456
  12077. %1456 = tuple_extract %1455 : $(Array<String>, Builtin.RawPointer), 0, loc "GPAViewController.swift":135:33, scope 23 // user: %1488
  12078. %1457 = tuple_extract %1455 : $(Array<String>, Builtin.RawPointer), 1, loc "GPAViewController.swift":135:33, scope 23 // user: %1458
  12079. %1458 = pointer_to_address %1457 : $Builtin.RawPointer to [strict] $*String, loc "GPAViewController.swift":135:33, scope 23 // users: %1477, %1470, %1468
  12080. // function_ref String.init(stringInterpolationSegment : String) -> String
  12081. %1459 = function_ref @_TFSSCfT26stringInterpolationSegmentSS_SS : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "GPAViewController.swift":135:33, scope 23 // user: %1467
  12082. %1460 = metatype $@thin String.Type, loc "GPAViewController.swift":135:33, scope 23 // user: %1467
  12083. %1461 = string_literal utf8 "", loc "GPAViewController.swift":135:33, scope 23 // user: %1466
  12084. %1462 = integer_literal $Builtin.Word, 0, loc "GPAViewController.swift":135:33, scope 23 // user: %1466
  12085. %1463 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":135:33, scope 23 // user: %1466
  12086. %1464 = metatype $@thin String.Type, loc "GPAViewController.swift":135:33, scope 23 // user: %1466
  12087. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  12088. %1465 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "GPAViewController.swift":135:33, scope 23 // user: %1466
  12089. %1466 = apply %1465(%1461, %1462, %1463, %1464) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "GPAViewController.swift":135:33, scope 23 // user: %1467
  12090. %1467 = apply %1459(%1466, %1460) : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "GPAViewController.swift":135:33, scope 23 // user: %1468
  12091. store %1467 to [init] %1458 : $*String, loc "GPAViewController.swift":135:33, scope 23 // id: %1468
  12092. %1469 = integer_literal $Builtin.Word, 1, loc "GPAViewController.swift":135:50, scope 23 // user: %1470
  12093. %1470 = index_addr %1458 : $*String, %1469 : $Builtin.Word, loc "GPAViewController.swift":135:50, scope 23 // user: %1475
  12094. // function_ref String.init(stringInterpolationSegment : Double) -> String
  12095. %1471 = function_ref @_TFSSCfT26stringInterpolationSegmentSd_SS : $@convention(method) (Double, @thin String.Type) -> @owned String, loc "GPAViewController.swift":135:33, scope 23 // user: %1474
  12096. %1472 = metatype $@thin String.Type, loc "GPAViewController.swift":135:33, scope 23 // user: %1474
  12097. %1473 = load [trivial] %243 : $*Double, loc "GPAViewController.swift":135:36, scope 23 // user: %1474
  12098. %1474 = apply %1471(%1473, %1472) : $@convention(method) (Double, @thin String.Type) -> @owned String, loc "GPAViewController.swift":135:50, scope 23 // user: %1475
  12099. store %1474 to [init] %1470 : $*String, loc "GPAViewController.swift":135:50, scope 23 // id: %1475
  12100. %1476 = integer_literal $Builtin.Word, 2, loc "GPAViewController.swift":135:51, scope 23 // user: %1477
  12101. %1477 = index_addr %1458 : $*String, %1476 : $Builtin.Word, loc "GPAViewController.swift":135:51, scope 23 // user: %1487
  12102. // function_ref String.init(stringInterpolationSegment : String) -> String
  12103. %1478 = function_ref @_TFSSCfT26stringInterpolationSegmentSS_SS : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "GPAViewController.swift":135:33, scope 23 // user: %1486
  12104. %1479 = metatype $@thin String.Type, loc "GPAViewController.swift":135:33, scope 23 // user: %1486
  12105. %1480 = string_literal utf8 "", loc "GPAViewController.swift":135:51, scope 23 // user: %1485
  12106. %1481 = integer_literal $Builtin.Word, 0, loc "GPAViewController.swift":135:51, scope 23 // user: %1485
  12107. %1482 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":135:51, scope 23 // user: %1485
  12108. %1483 = metatype $@thin String.Type, loc "GPAViewController.swift":135:51, scope 23 // user: %1485
  12109. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  12110. %1484 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "GPAViewController.swift":135:51, scope 23 // user: %1485
  12111. %1485 = apply %1484(%1480, %1481, %1482, %1483) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "GPAViewController.swift":135:51, scope 23 // user: %1486
  12112. %1486 = apply %1478(%1485, %1479) : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "GPAViewController.swift":135:51, scope 23 // user: %1487
  12113. store %1486 to [init] %1477 : $*String, loc "GPAViewController.swift":135:51, scope 23 // id: %1487
  12114. %1488 = apply %1451(%1456, %1452) : $@convention(method) (@owned Array<String>, @thin String.Type) -> @owned String, loc "GPAViewController.swift":135:51, scope 23 // user: %1489
  12115. %1489 = enum $Optional<String>, #Optional.some!enumelt.1, %1488 : $String, loc "GPAViewController.swift":135:33, scope 23 // users: %1495, %1493
  12116. %1490 = class_method [volatile] %1450 : $UILabel, #UILabel.text!setter.1.foreign : (UILabel) -> (String?) -> () , $@convention(objc_method) (Optional<NSString>, UILabel) -> (), loc "GPAViewController.swift":135:31, scope 23 // user: %1504
  12117. %1491 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":135:31, scope 23 // user: %1493
  12118. %1492 = integer_literal $Builtin.Int1, 0, loc "GPAViewController.swift":135:31, scope 23 // user: %1493
  12119. %1493 = select_enum %1489 : $Optional<String>, case #Optional.some!enumelt.1: %1491, default %1492 : $Builtin.Int1, loc "GPAViewController.swift":135:31, scope 23 // user: %1494
  12120. cond_br %1493, bb100, bb101, loc "GPAViewController.swift":135:31, scope 23 // id: %1494
  12121.  
  12122. bb100: // Preds: bb99
  12123. %1495 = unchecked_enum_data %1489 : $Optional<String>, #Optional.some!enumelt.1, loc "GPAViewController.swift":135:31, scope 23 // users: %1499, %1497
  12124. // function_ref String._bridgeToObjectiveC() -> NSString
  12125. %1496 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "GPAViewController.swift":135:31, scope 23 // user: %1497
  12126. %1497 = apply %1496(%1495) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "GPAViewController.swift":135:31, scope 23 // user: %1498
  12127. %1498 = enum $Optional<NSString>, #Optional.some!enumelt.1, %1497 : $NSString, loc "GPAViewController.swift":135:31, scope 23 // user: %1500
  12128. destroy_value %1495 : $String, loc "GPAViewController.swift":135:33, scope 23 // id: %1499
  12129. br bb102(%1498 : $Optional<NSString>), loc "GPAViewController.swift":135:31, scope 23 // id: %1500
  12130.  
  12131. bb101: // Preds: bb99
  12132. %1501 = enum $Optional<NSString>, #Optional.none!enumelt, loc "GPAViewController.swift":135:31, scope 23 // user: %1502
  12133. br bb102(%1501 : $Optional<NSString>), loc "GPAViewController.swift":135:31, scope 23 // id: %1502
  12134.  
  12135. // %1503 // users: %1505, %1504
  12136. bb102(%1503 : $Optional<NSString>): // Preds: bb101 bb100
  12137. %1504 = apply %1490(%1503, %1450) : $@convention(objc_method) (Optional<NSString>, UILabel) -> (), loc "GPAViewController.swift":135:31, scope 23
  12138. destroy_value %1503 : $Optional<NSString>, loc "GPAViewController.swift":135:33, scope 23 // id: %1505
  12139. destroy_value %1450 : $UILabel, loc "GPAViewController.swift":135:33, scope 23 // id: %1506
  12140. destroy_addr %1449 : $*UILabel, loc "GPAViewController.swift":135:33, scope 23 // id: %1507
  12141. dealloc_stack %1437 : $*Optional<UILabel>, loc "GPAViewController.swift":135:33, scope 23 // id: %1508
  12142. %1509 = alloc_stack $Optional<UILabel>, loc "GPAViewController.swift":136:9, scope 23 // users: %1580, %1521, %1513, %1512
  12143. %1510 = class_method %1 : $GPAViewController, #GPAViewController.letterGradeLabel!getter.1 : (GPAViewController) -> () -> UILabel! , $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":136:9, scope 23 // user: %1511
  12144. %1511 = apply %1510(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":136:9, scope 23 // user: %1512
  12145. store %1511 to [init] %1509 : $*Optional<UILabel>, loc "GPAViewController.swift":136:9, scope 23 // id: %1512
  12146. switch_enum_addr %1509 : $*Optional<UILabel>, case #Optional.none!enumelt: bb103, default bb104, loc "GPAViewController.swift":136:9, scope 23 // id: %1513
  12147.  
  12148. bb103: // Preds: bb102
  12149. %1514 = string_literal utf8 "GPAViewController.swift", loc "GPAViewController.swift":136:9, scope 23 // user: %1519
  12150. %1515 = integer_literal $Builtin.Word, 23, loc "GPAViewController.swift":136:9, scope 23 // user: %1519
  12151. %1516 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":136:9, scope 23 // user: %1519
  12152. %1517 = integer_literal $Builtin.Word, 136, loc "GPAViewController.swift":136:9, scope 23 // user: %1519
  12153. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  12154. %1518 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":136:9, scope 23 // user: %1519
  12155. %1519 = apply %1518(%1514, %1515, %1516, %1517) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":136:9, scope 23
  12156. unreachable , loc "GPAViewController.swift":136:9, scope 23 // id: %1520
  12157.  
  12158. bb104: // Preds: bb102
  12159. %1521 = unchecked_take_enum_data_addr %1509 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "GPAViewController.swift":136:9, scope 23 // users: %1579, %1522
  12160. %1522 = load [copy] %1521 : $*UILabel, loc "GPAViewController.swift":136:9, scope 23 // users: %1578, %1576, %1562
  12161. // function_ref String.init(stringInterpolation : [String]...) -> String
  12162. %1523 = function_ref @_TFSSCft19stringInterpolationGSaSS__SS : $@convention(method) (@owned Array<String>, @thin String.Type) -> @owned String, loc "GPAViewController.swift":136:33, scope 23 // user: %1560
  12163. %1524 = metatype $@thin String.Type, loc "GPAViewController.swift":136:33, scope 23 // user: %1560
  12164. %1525 = integer_literal $Builtin.Word, 3, loc "GPAViewController.swift":136:33, scope 23 // user: %1527
  12165. // function_ref _allocateUninitializedArray<A> (Builtin.Word) -> ([A], Builtin.RawPointer)
  12166. %1526 = function_ref @_TFs27_allocateUninitializedArrayurFBwTGSax_Bp_ : $@convention(thin) <τ_0_0> (Builtin.Word) -> (@owned Array<τ_0_0>, Builtin.RawPointer), loc "GPAViewController.swift":136:33, scope 23 // user: %1527
  12167. %1527 = apply %1526<String>(%1525) : $@convention(thin) <τ_0_0> (Builtin.Word) -> (@owned Array<τ_0_0>, Builtin.RawPointer), loc "GPAViewController.swift":136:33, scope 23 // users: %1529, %1528
  12168. %1528 = tuple_extract %1527 : $(Array<String>, Builtin.RawPointer), 0, loc "GPAViewController.swift":136:33, scope 23 // user: %1560
  12169. %1529 = tuple_extract %1527 : $(Array<String>, Builtin.RawPointer), 1, loc "GPAViewController.swift":136:33, scope 23 // user: %1530
  12170. %1530 = pointer_to_address %1529 : $Builtin.RawPointer to [strict] $*String, loc "GPAViewController.swift":136:33, scope 23 // users: %1549, %1542, %1540
  12171. // function_ref String.init(stringInterpolationSegment : String) -> String
  12172. %1531 = function_ref @_TFSSCfT26stringInterpolationSegmentSS_SS : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "GPAViewController.swift":136:33, scope 23 // user: %1539
  12173. %1532 = metatype $@thin String.Type, loc "GPAViewController.swift":136:33, scope 23 // user: %1539
  12174. %1533 = string_literal utf8 "", loc "GPAViewController.swift":136:33, scope 23 // user: %1538
  12175. %1534 = integer_literal $Builtin.Word, 0, loc "GPAViewController.swift":136:33, scope 23 // user: %1538
  12176. %1535 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":136:33, scope 23 // user: %1538
  12177. %1536 = metatype $@thin String.Type, loc "GPAViewController.swift":136:33, scope 23 // user: %1538
  12178. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  12179. %1537 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "GPAViewController.swift":136:33, scope 23 // user: %1538
  12180. %1538 = apply %1537(%1533, %1534, %1535, %1536) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "GPAViewController.swift":136:33, scope 23 // user: %1539
  12181. %1539 = apply %1531(%1538, %1532) : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "GPAViewController.swift":136:33, scope 23 // user: %1540
  12182. store %1539 to [init] %1530 : $*String, loc "GPAViewController.swift":136:33, scope 23 // id: %1540
  12183. %1541 = integer_literal $Builtin.Word, 1, loc "GPAViewController.swift":136:42, scope 23 // user: %1542
  12184. %1542 = index_addr %1530 : $*String, %1541 : $Builtin.Word, loc "GPAViewController.swift":136:42, scope 23 // user: %1547
  12185. // function_ref String.init(stringInterpolationSegment : String) -> String
  12186. %1543 = function_ref @_TFSSCfT26stringInterpolationSegmentSS_SS : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "GPAViewController.swift":136:33, scope 23 // user: %1546
  12187. %1544 = metatype $@thin String.Type, loc "GPAViewController.swift":136:33, scope 23 // user: %1546
  12188. %1545 = load [copy] %250 : $*String, loc "GPAViewController.swift":136:36, scope 23 // user: %1546
  12189. %1546 = apply %1543(%1545, %1544) : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "GPAViewController.swift":136:42, scope 23 // user: %1547
  12190. store %1546 to [init] %1542 : $*String, loc "GPAViewController.swift":136:42, scope 23 // id: %1547
  12191. %1548 = integer_literal $Builtin.Word, 2, loc "GPAViewController.swift":136:43, scope 23 // user: %1549
  12192. %1549 = index_addr %1530 : $*String, %1548 : $Builtin.Word, loc "GPAViewController.swift":136:43, scope 23 // user: %1559
  12193. // function_ref String.init(stringInterpolationSegment : String) -> String
  12194. %1550 = function_ref @_TFSSCfT26stringInterpolationSegmentSS_SS : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "GPAViewController.swift":136:33, scope 23 // user: %1558
  12195. %1551 = metatype $@thin String.Type, loc "GPAViewController.swift":136:33, scope 23 // user: %1558
  12196. %1552 = string_literal utf8 "", loc "GPAViewController.swift":136:43, scope 23 // user: %1557
  12197. %1553 = integer_literal $Builtin.Word, 0, loc "GPAViewController.swift":136:43, scope 23 // user: %1557
  12198. %1554 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":136:43, scope 23 // user: %1557
  12199. %1555 = metatype $@thin String.Type, loc "GPAViewController.swift":136:43, scope 23 // user: %1557
  12200. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  12201. %1556 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "GPAViewController.swift":136:43, scope 23 // user: %1557
  12202. %1557 = apply %1556(%1552, %1553, %1554, %1555) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "GPAViewController.swift":136:43, scope 23 // user: %1558
  12203. %1558 = apply %1550(%1557, %1551) : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "GPAViewController.swift":136:43, scope 23 // user: %1559
  12204. store %1558 to [init] %1549 : $*String, loc "GPAViewController.swift":136:43, scope 23 // id: %1559
  12205. %1560 = apply %1523(%1528, %1524) : $@convention(method) (@owned Array<String>, @thin String.Type) -> @owned String, loc "GPAViewController.swift":136:43, scope 23 // user: %1561
  12206. %1561 = enum $Optional<String>, #Optional.some!enumelt.1, %1560 : $String, loc "GPAViewController.swift":136:33, scope 23 // users: %1567, %1565
  12207. %1562 = class_method [volatile] %1522 : $UILabel, #UILabel.text!setter.1.foreign : (UILabel) -> (String?) -> () , $@convention(objc_method) (Optional<NSString>, UILabel) -> (), loc "GPAViewController.swift":136:31, scope 23 // user: %1576
  12208. %1563 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":136:31, scope 23 // user: %1565
  12209. %1564 = integer_literal $Builtin.Int1, 0, loc "GPAViewController.swift":136:31, scope 23 // user: %1565
  12210. %1565 = select_enum %1561 : $Optional<String>, case #Optional.some!enumelt.1: %1563, default %1564 : $Builtin.Int1, loc "GPAViewController.swift":136:31, scope 23 // user: %1566
  12211. cond_br %1565, bb105, bb106, loc "GPAViewController.swift":136:31, scope 23 // id: %1566
  12212.  
  12213. bb105: // Preds: bb104
  12214. %1567 = unchecked_enum_data %1561 : $Optional<String>, #Optional.some!enumelt.1, loc "GPAViewController.swift":136:31, scope 23 // users: %1571, %1569
  12215. // function_ref String._bridgeToObjectiveC() -> NSString
  12216. %1568 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "GPAViewController.swift":136:31, scope 23 // user: %1569
  12217. %1569 = apply %1568(%1567) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "GPAViewController.swift":136:31, scope 23 // user: %1570
  12218. %1570 = enum $Optional<NSString>, #Optional.some!enumelt.1, %1569 : $NSString, loc "GPAViewController.swift":136:31, scope 23 // user: %1572
  12219. destroy_value %1567 : $String, loc "GPAViewController.swift":136:33, scope 23 // id: %1571
  12220. br bb107(%1570 : $Optional<NSString>), loc "GPAViewController.swift":136:31, scope 23 // id: %1572
  12221.  
  12222. bb106: // Preds: bb104
  12223. %1573 = enum $Optional<NSString>, #Optional.none!enumelt, loc "GPAViewController.swift":136:31, scope 23 // user: %1574
  12224. br bb107(%1573 : $Optional<NSString>), loc "GPAViewController.swift":136:31, scope 23 // id: %1574
  12225.  
  12226. // %1575 // users: %1577, %1576
  12227. bb107(%1575 : $Optional<NSString>): // Preds: bb106 bb105
  12228. %1576 = apply %1562(%1575, %1522) : $@convention(objc_method) (Optional<NSString>, UILabel) -> (), loc "GPAViewController.swift":136:31, scope 23
  12229. destroy_value %1575 : $Optional<NSString>, loc "GPAViewController.swift":136:33, scope 23 // id: %1577
  12230. destroy_value %1522 : $UILabel, loc "GPAViewController.swift":136:33, scope 23 // id: %1578
  12231. destroy_addr %1521 : $*UILabel, loc "GPAViewController.swift":136:33, scope 23 // id: %1579
  12232. dealloc_stack %1509 : $*Optional<UILabel>, loc "GPAViewController.swift":136:33, scope 23 // id: %1580
  12233. destroy_value %249 : ${ var String }, loc "GPAViewController.swift":137:5, scope 23 // id: %1581
  12234. destroy_value %242 : ${ var Double }, loc "GPAViewController.swift":137:5, scope 23 // id: %1582
  12235. destroy_value %28 : ${ var Double }, loc "GPAViewController.swift":137:5, scope 23 // id: %1583
  12236. destroy_value %21 : ${ var Double }, loc "GPAViewController.swift":137:5, scope 23 // id: %1584
  12237. destroy_value %14 : ${ var Double }, loc "GPAViewController.swift":137:5, scope 23 // id: %1585
  12238. br bb140, loc "GPAViewController.swift":137:5, scope 23 // id: %1586
  12239.  
  12240. bb108: // Preds: bb96 bb95
  12241. // function_ref print([Any], separator : String, terminator : String) -> ()
  12242. %1587 = function_ref @_TFs5printFTGSaP__9separatorSS10terminatorSS_T_ : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> (), loc "GPAViewController.swift":127:13, scope 51 // user: %1606
  12243. %1588 = integer_literal $Builtin.Word, 1, loc "GPAViewController.swift":127:19, scope 51 // user: %1590
  12244. // function_ref _allocateUninitializedArray<A> (Builtin.Word) -> ([A], Builtin.RawPointer)
  12245. %1589 = function_ref @_TFs27_allocateUninitializedArrayurFBwTGSax_Bp_ : $@convention(thin) <τ_0_0> (Builtin.Word) -> (@owned Array<τ_0_0>, Builtin.RawPointer), loc "GPAViewController.swift":127:19, scope 51 // user: %1590
  12246. %1590 = apply %1589<Any>(%1588) : $@convention(thin) <τ_0_0> (Builtin.Word) -> (@owned Array<τ_0_0>, Builtin.RawPointer), loc "GPAViewController.swift":127:19, scope 51 // users: %1592, %1591
  12247. %1591 = tuple_extract %1590 : $(Array<Any>, Builtin.RawPointer), 0, loc "GPAViewController.swift":127:19, scope 51 // user: %1606
  12248. %1592 = tuple_extract %1590 : $(Array<Any>, Builtin.RawPointer), 1, loc "GPAViewController.swift":127:19, scope 51 // user: %1593
  12249. %1593 = pointer_to_address %1592 : $Builtin.RawPointer to [strict] $*Any, loc "GPAViewController.swift":127:19, scope 51 // user: %1594
  12250. %1594 = init_existential_addr %1593 : $*Any, $String, loc "GPAViewController.swift":127:19, scope 51 // user: %1601
  12251. %1595 = string_literal utf8 "Invalid grades", loc "GPAViewController.swift":127:19, scope 51 // user: %1600
  12252. %1596 = integer_literal $Builtin.Word, 14, loc "GPAViewController.swift":127:19, scope 51 // user: %1600
  12253. %1597 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":127:19, scope 51 // user: %1600
  12254. %1598 = metatype $@thin String.Type, loc "GPAViewController.swift":127:19, scope 51 // user: %1600
  12255. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  12256. %1599 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "GPAViewController.swift":127:19, scope 51 // user: %1600
  12257. %1600 = apply %1599(%1595, %1596, %1597, %1598) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "GPAViewController.swift":127:19, scope 51 // user: %1601
  12258. store %1600 to [init] %1594 : $*String, loc "GPAViewController.swift":127:19, scope 51 // id: %1601
  12259. // function_ref (print([Any], separator : String, terminator : String) -> ()).(default argument 1)
  12260. %1602 = function_ref @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A0_ : $@convention(thin) () -> @owned String, loc "GPAViewController.swift":127:19, scope 51 // user: %1603
  12261. %1603 = apply %1602() : $@convention(thin) () -> @owned String, loc "GPAViewController.swift":127:19, scope 51 // user: %1606
  12262. // function_ref (print([Any], separator : String, terminator : String) -> ()).(default argument 2)
  12263. %1604 = function_ref @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A1_ : $@convention(thin) () -> @owned String, loc "GPAViewController.swift":127:19, scope 51 // user: %1605
  12264. %1605 = apply %1604() : $@convention(thin) () -> @owned String, loc "GPAViewController.swift":127:19, scope 51 // user: %1606
  12265. %1606 = apply %1587(%1591, %1603, %1605) : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> (), loc "GPAViewController.swift":127:35, scope 51
  12266. %1607 = alloc_stack $Optional<UILabel>, loc "GPAViewController.swift":129:13, scope 51 // users: %1646, %1619, %1611, %1610
  12267. %1608 = class_method %1 : $GPAViewController, #GPAViewController.westlakeGPALabel!getter.1 : (GPAViewController) -> () -> UILabel! , $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":129:13, scope 51 // user: %1609
  12268. %1609 = apply %1608(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":129:13, scope 51 // user: %1610
  12269. store %1609 to [init] %1607 : $*Optional<UILabel>, loc "GPAViewController.swift":129:13, scope 51 // id: %1610
  12270. switch_enum_addr %1607 : $*Optional<UILabel>, case #Optional.none!enumelt: bb109, default bb110, loc "GPAViewController.swift":129:13, scope 51 // id: %1611
  12271.  
  12272. bb109: // Preds: bb108
  12273. %1612 = string_literal utf8 "GPAViewController.swift", loc "GPAViewController.swift":129:13, scope 51 // user: %1617
  12274. %1613 = integer_literal $Builtin.Word, 23, loc "GPAViewController.swift":129:13, scope 51 // user: %1617
  12275. %1614 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":129:13, scope 51 // user: %1617
  12276. %1615 = integer_literal $Builtin.Word, 129, loc "GPAViewController.swift":129:13, scope 51 // user: %1617
  12277. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  12278. %1616 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":129:13, scope 51 // user: %1617
  12279. %1617 = apply %1616(%1612, %1613, %1614, %1615) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":129:13, scope 51
  12280. unreachable , loc "GPAViewController.swift":129:13, scope 51 // id: %1618
  12281.  
  12282. bb110: // Preds: bb108
  12283. %1619 = unchecked_take_enum_data_addr %1607 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "GPAViewController.swift":129:13, scope 51 // users: %1645, %1620
  12284. %1620 = load [copy] %1619 : $*UILabel, loc "GPAViewController.swift":129:13, scope 51 // users: %1644, %1642, %1628
  12285. %1621 = string_literal utf8 "", loc "GPAViewController.swift":129:37, scope 51 // user: %1626
  12286. %1622 = integer_literal $Builtin.Word, 0, loc "GPAViewController.swift":129:37, scope 51 // user: %1626
  12287. %1623 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":129:37, scope 51 // user: %1626
  12288. %1624 = metatype $@thin String.Type, loc "GPAViewController.swift":129:37, scope 51 // user: %1626
  12289. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  12290. %1625 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "GPAViewController.swift":129:37, scope 51 // user: %1626
  12291. %1626 = apply %1625(%1621, %1622, %1623, %1624) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "GPAViewController.swift":129:37, scope 51 // user: %1627
  12292. %1627 = enum $Optional<String>, #Optional.some!enumelt.1, %1626 : $String, loc "GPAViewController.swift":129:37, scope 51 // users: %1633, %1631
  12293. %1628 = class_method [volatile] %1620 : $UILabel, #UILabel.text!setter.1.foreign : (UILabel) -> (String?) -> () , $@convention(objc_method) (Optional<NSString>, UILabel) -> (), loc "GPAViewController.swift":129:35, scope 51 // user: %1642
  12294. %1629 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":129:35, scope 51 // user: %1631
  12295. %1630 = integer_literal $Builtin.Int1, 0, loc "GPAViewController.swift":129:35, scope 51 // user: %1631
  12296. %1631 = select_enum %1627 : $Optional<String>, case #Optional.some!enumelt.1: %1629, default %1630 : $Builtin.Int1, loc "GPAViewController.swift":129:35, scope 51 // user: %1632
  12297. cond_br %1631, bb111, bb112, loc "GPAViewController.swift":129:35, scope 51 // id: %1632
  12298.  
  12299. bb111: // Preds: bb110
  12300. %1633 = unchecked_enum_data %1627 : $Optional<String>, #Optional.some!enumelt.1, loc "GPAViewController.swift":129:35, scope 51 // users: %1637, %1635
  12301. // function_ref String._bridgeToObjectiveC() -> NSString
  12302. %1634 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "GPAViewController.swift":129:35, scope 51 // user: %1635
  12303. %1635 = apply %1634(%1633) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "GPAViewController.swift":129:35, scope 51 // user: %1636
  12304. %1636 = enum $Optional<NSString>, #Optional.some!enumelt.1, %1635 : $NSString, loc "GPAViewController.swift":129:35, scope 51 // user: %1638
  12305. destroy_value %1633 : $String, loc "GPAViewController.swift":129:37, scope 51 // id: %1637
  12306. br bb113(%1636 : $Optional<NSString>), loc "GPAViewController.swift":129:35, scope 51 // id: %1638
  12307.  
  12308. bb112: // Preds: bb110
  12309. %1639 = enum $Optional<NSString>, #Optional.none!enumelt, loc "GPAViewController.swift":129:35, scope 51 // user: %1640
  12310. br bb113(%1639 : $Optional<NSString>), loc "GPAViewController.swift":129:35, scope 51 // id: %1640
  12311.  
  12312. // %1641 // users: %1643, %1642
  12313. bb113(%1641 : $Optional<NSString>): // Preds: bb112 bb111
  12314. %1642 = apply %1628(%1641, %1620) : $@convention(objc_method) (Optional<NSString>, UILabel) -> (), loc "GPAViewController.swift":129:35, scope 51
  12315. destroy_value %1641 : $Optional<NSString>, loc "GPAViewController.swift":129:37, scope 51 // id: %1643
  12316. destroy_value %1620 : $UILabel, loc "GPAViewController.swift":129:37, scope 51 // id: %1644
  12317. destroy_addr %1619 : $*UILabel, loc "GPAViewController.swift":129:37, scope 51 // id: %1645
  12318. dealloc_stack %1607 : $*Optional<UILabel>, loc "GPAViewController.swift":129:37, scope 51 // id: %1646
  12319. %1647 = alloc_stack $Optional<UILabel>, loc "GPAViewController.swift":130:13, scope 51 // users: %1686, %1659, %1651, %1650
  12320. %1648 = class_method %1 : $GPAViewController, #GPAViewController.standardGPALabel!getter.1 : (GPAViewController) -> () -> UILabel! , $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":130:13, scope 51 // user: %1649
  12321. %1649 = apply %1648(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":130:13, scope 51 // user: %1650
  12322. store %1649 to [init] %1647 : $*Optional<UILabel>, loc "GPAViewController.swift":130:13, scope 51 // id: %1650
  12323. switch_enum_addr %1647 : $*Optional<UILabel>, case #Optional.none!enumelt: bb114, default bb115, loc "GPAViewController.swift":130:13, scope 51 // id: %1651
  12324.  
  12325. bb114: // Preds: bb113
  12326. %1652 = string_literal utf8 "GPAViewController.swift", loc "GPAViewController.swift":130:13, scope 51 // user: %1657
  12327. %1653 = integer_literal $Builtin.Word, 23, loc "GPAViewController.swift":130:13, scope 51 // user: %1657
  12328. %1654 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":130:13, scope 51 // user: %1657
  12329. %1655 = integer_literal $Builtin.Word, 130, loc "GPAViewController.swift":130:13, scope 51 // user: %1657
  12330. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  12331. %1656 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":130:13, scope 51 // user: %1657
  12332. %1657 = apply %1656(%1652, %1653, %1654, %1655) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":130:13, scope 51
  12333. unreachable , loc "GPAViewController.swift":130:13, scope 51 // id: %1658
  12334.  
  12335. bb115: // Preds: bb113
  12336. %1659 = unchecked_take_enum_data_addr %1647 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "GPAViewController.swift":130:13, scope 51 // users: %1685, %1660
  12337. %1660 = load [copy] %1659 : $*UILabel, loc "GPAViewController.swift":130:13, scope 51 // users: %1684, %1682, %1668
  12338. %1661 = string_literal utf8 "", loc "GPAViewController.swift":130:37, scope 51 // user: %1666
  12339. %1662 = integer_literal $Builtin.Word, 0, loc "GPAViewController.swift":130:37, scope 51 // user: %1666
  12340. %1663 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":130:37, scope 51 // user: %1666
  12341. %1664 = metatype $@thin String.Type, loc "GPAViewController.swift":130:37, scope 51 // user: %1666
  12342. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  12343. %1665 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "GPAViewController.swift":130:37, scope 51 // user: %1666
  12344. %1666 = apply %1665(%1661, %1662, %1663, %1664) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "GPAViewController.swift":130:37, scope 51 // user: %1667
  12345. %1667 = enum $Optional<String>, #Optional.some!enumelt.1, %1666 : $String, loc "GPAViewController.swift":130:37, scope 51 // users: %1673, %1671
  12346. %1668 = class_method [volatile] %1660 : $UILabel, #UILabel.text!setter.1.foreign : (UILabel) -> (String?) -> () , $@convention(objc_method) (Optional<NSString>, UILabel) -> (), loc "GPAViewController.swift":130:35, scope 51 // user: %1682
  12347. %1669 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":130:35, scope 51 // user: %1671
  12348. %1670 = integer_literal $Builtin.Int1, 0, loc "GPAViewController.swift":130:35, scope 51 // user: %1671
  12349. %1671 = select_enum %1667 : $Optional<String>, case #Optional.some!enumelt.1: %1669, default %1670 : $Builtin.Int1, loc "GPAViewController.swift":130:35, scope 51 // user: %1672
  12350. cond_br %1671, bb116, bb117, loc "GPAViewController.swift":130:35, scope 51 // id: %1672
  12351.  
  12352. bb116: // Preds: bb115
  12353. %1673 = unchecked_enum_data %1667 : $Optional<String>, #Optional.some!enumelt.1, loc "GPAViewController.swift":130:35, scope 51 // users: %1677, %1675
  12354. // function_ref String._bridgeToObjectiveC() -> NSString
  12355. %1674 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "GPAViewController.swift":130:35, scope 51 // user: %1675
  12356. %1675 = apply %1674(%1673) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "GPAViewController.swift":130:35, scope 51 // user: %1676
  12357. %1676 = enum $Optional<NSString>, #Optional.some!enumelt.1, %1675 : $NSString, loc "GPAViewController.swift":130:35, scope 51 // user: %1678
  12358. destroy_value %1673 : $String, loc "GPAViewController.swift":130:37, scope 51 // id: %1677
  12359. br bb118(%1676 : $Optional<NSString>), loc "GPAViewController.swift":130:35, scope 51 // id: %1678
  12360.  
  12361. bb117: // Preds: bb115
  12362. %1679 = enum $Optional<NSString>, #Optional.none!enumelt, loc "GPAViewController.swift":130:35, scope 51 // user: %1680
  12363. br bb118(%1679 : $Optional<NSString>), loc "GPAViewController.swift":130:35, scope 51 // id: %1680
  12364.  
  12365. // %1681 // users: %1683, %1682
  12366. bb118(%1681 : $Optional<NSString>): // Preds: bb117 bb116
  12367. %1682 = apply %1668(%1681, %1660) : $@convention(objc_method) (Optional<NSString>, UILabel) -> (), loc "GPAViewController.swift":130:35, scope 51
  12368. destroy_value %1681 : $Optional<NSString>, loc "GPAViewController.swift":130:37, scope 51 // id: %1683
  12369. destroy_value %1660 : $UILabel, loc "GPAViewController.swift":130:37, scope 51 // id: %1684
  12370. destroy_addr %1659 : $*UILabel, loc "GPAViewController.swift":130:37, scope 51 // id: %1685
  12371. dealloc_stack %1647 : $*Optional<UILabel>, loc "GPAViewController.swift":130:37, scope 51 // id: %1686
  12372. %1687 = alloc_stack $Optional<UILabel>, loc "GPAViewController.swift":131:13, scope 51 // users: %1726, %1699, %1691, %1690
  12373. %1688 = class_method %1 : $GPAViewController, #GPAViewController.letterGradeLabel!getter.1 : (GPAViewController) -> () -> UILabel! , $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":131:13, scope 51 // user: %1689
  12374. %1689 = apply %1688(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":131:13, scope 51 // user: %1690
  12375. store %1689 to [init] %1687 : $*Optional<UILabel>, loc "GPAViewController.swift":131:13, scope 51 // id: %1690
  12376. switch_enum_addr %1687 : $*Optional<UILabel>, case #Optional.none!enumelt: bb119, default bb120, loc "GPAViewController.swift":131:13, scope 51 // id: %1691
  12377.  
  12378. bb119: // Preds: bb118
  12379. %1692 = string_literal utf8 "GPAViewController.swift", loc "GPAViewController.swift":131:13, scope 51 // user: %1697
  12380. %1693 = integer_literal $Builtin.Word, 23, loc "GPAViewController.swift":131:13, scope 51 // user: %1697
  12381. %1694 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":131:13, scope 51 // user: %1697
  12382. %1695 = integer_literal $Builtin.Word, 131, loc "GPAViewController.swift":131:13, scope 51 // user: %1697
  12383. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  12384. %1696 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":131:13, scope 51 // user: %1697
  12385. %1697 = apply %1696(%1692, %1693, %1694, %1695) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":131:13, scope 51
  12386. unreachable , loc "GPAViewController.swift":131:13, scope 51 // id: %1698
  12387.  
  12388. bb120: // Preds: bb118
  12389. %1699 = unchecked_take_enum_data_addr %1687 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "GPAViewController.swift":131:13, scope 51 // users: %1725, %1700
  12390. %1700 = load [copy] %1699 : $*UILabel, loc "GPAViewController.swift":131:13, scope 51 // users: %1724, %1722, %1708
  12391. %1701 = string_literal utf8 "", loc "GPAViewController.swift":131:37, scope 51 // user: %1706
  12392. %1702 = integer_literal $Builtin.Word, 0, loc "GPAViewController.swift":131:37, scope 51 // user: %1706
  12393. %1703 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":131:37, scope 51 // user: %1706
  12394. %1704 = metatype $@thin String.Type, loc "GPAViewController.swift":131:37, scope 51 // user: %1706
  12395. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  12396. %1705 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "GPAViewController.swift":131:37, scope 51 // user: %1706
  12397. %1706 = apply %1705(%1701, %1702, %1703, %1704) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "GPAViewController.swift":131:37, scope 51 // user: %1707
  12398. %1707 = enum $Optional<String>, #Optional.some!enumelt.1, %1706 : $String, loc "GPAViewController.swift":131:37, scope 51 // users: %1713, %1711
  12399. %1708 = class_method [volatile] %1700 : $UILabel, #UILabel.text!setter.1.foreign : (UILabel) -> (String?) -> () , $@convention(objc_method) (Optional<NSString>, UILabel) -> (), loc "GPAViewController.swift":131:35, scope 51 // user: %1722
  12400. %1709 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":131:35, scope 51 // user: %1711
  12401. %1710 = integer_literal $Builtin.Int1, 0, loc "GPAViewController.swift":131:35, scope 51 // user: %1711
  12402. %1711 = select_enum %1707 : $Optional<String>, case #Optional.some!enumelt.1: %1709, default %1710 : $Builtin.Int1, loc "GPAViewController.swift":131:35, scope 51 // user: %1712
  12403. cond_br %1711, bb121, bb122, loc "GPAViewController.swift":131:35, scope 51 // id: %1712
  12404.  
  12405. bb121: // Preds: bb120
  12406. %1713 = unchecked_enum_data %1707 : $Optional<String>, #Optional.some!enumelt.1, loc "GPAViewController.swift":131:35, scope 51 // users: %1717, %1715
  12407. // function_ref String._bridgeToObjectiveC() -> NSString
  12408. %1714 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "GPAViewController.swift":131:35, scope 51 // user: %1715
  12409. %1715 = apply %1714(%1713) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "GPAViewController.swift":131:35, scope 51 // user: %1716
  12410. %1716 = enum $Optional<NSString>, #Optional.some!enumelt.1, %1715 : $NSString, loc "GPAViewController.swift":131:35, scope 51 // user: %1718
  12411. destroy_value %1713 : $String, loc "GPAViewController.swift":131:37, scope 51 // id: %1717
  12412. br bb123(%1716 : $Optional<NSString>), loc "GPAViewController.swift":131:35, scope 51 // id: %1718
  12413.  
  12414. bb122: // Preds: bb120
  12415. %1719 = enum $Optional<NSString>, #Optional.none!enumelt, loc "GPAViewController.swift":131:35, scope 51 // user: %1720
  12416. br bb123(%1719 : $Optional<NSString>), loc "GPAViewController.swift":131:35, scope 51 // id: %1720
  12417.  
  12418. // %1721 // users: %1723, %1722
  12419. bb123(%1721 : $Optional<NSString>): // Preds: bb122 bb121
  12420. %1722 = apply %1708(%1721, %1700) : $@convention(objc_method) (Optional<NSString>, UILabel) -> (), loc "GPAViewController.swift":131:35, scope 51
  12421. destroy_value %1721 : $Optional<NSString>, loc "GPAViewController.swift":131:37, scope 51 // id: %1723
  12422. destroy_value %1700 : $UILabel, loc "GPAViewController.swift":131:37, scope 51 // id: %1724
  12423. destroy_addr %1699 : $*UILabel, loc "GPAViewController.swift":131:37, scope 51 // id: %1725
  12424. dealloc_stack %1687 : $*Optional<UILabel>, loc "GPAViewController.swift":131:37, scope 51 // id: %1726
  12425. destroy_value %249 : ${ var String }, loc "GPAViewController.swift":137:5, scope 51 // id: %1727
  12426. destroy_value %242 : ${ var Double }, loc "GPAViewController.swift":137:5, scope 51 // id: %1728
  12427. destroy_value %28 : ${ var Double }, loc "GPAViewController.swift":137:5, scope 51 // id: %1729
  12428. destroy_value %21 : ${ var Double }, loc "GPAViewController.swift":137:5, scope 51 // id: %1730
  12429. destroy_value %14 : ${ var Double }, loc "GPAViewController.swift":137:5, scope 51 // id: %1731
  12430. br bb140, loc "GPAViewController.swift":132:13, scope 51 // id: %1732
  12431.  
  12432. bb124: // Preds: bb4 bb3
  12433. // function_ref print([Any], separator : String, terminator : String) -> ()
  12434. %1733 = function_ref @_TFs5printFTGSaP__9separatorSS10terminatorSS_T_ : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> (), loc "GPAViewController.swift":46:13, scope 52 // user: %1752
  12435. %1734 = integer_literal $Builtin.Word, 1, loc "GPAViewController.swift":46:19, scope 52 // user: %1736
  12436. // function_ref _allocateUninitializedArray<A> (Builtin.Word) -> ([A], Builtin.RawPointer)
  12437. %1735 = function_ref @_TFs27_allocateUninitializedArrayurFBwTGSax_Bp_ : $@convention(thin) <τ_0_0> (Builtin.Word) -> (@owned Array<τ_0_0>, Builtin.RawPointer), loc "GPAViewController.swift":46:19, scope 52 // user: %1736
  12438. %1736 = apply %1735<Any>(%1734) : $@convention(thin) <τ_0_0> (Builtin.Word) -> (@owned Array<τ_0_0>, Builtin.RawPointer), loc "GPAViewController.swift":46:19, scope 52 // users: %1738, %1737
  12439. %1737 = tuple_extract %1736 : $(Array<Any>, Builtin.RawPointer), 0, loc "GPAViewController.swift":46:19, scope 52 // user: %1752
  12440. %1738 = tuple_extract %1736 : $(Array<Any>, Builtin.RawPointer), 1, loc "GPAViewController.swift":46:19, scope 52 // user: %1739
  12441. %1739 = pointer_to_address %1738 : $Builtin.RawPointer to [strict] $*Any, loc "GPAViewController.swift":46:19, scope 52 // user: %1740
  12442. %1740 = init_existential_addr %1739 : $*Any, $String, loc "GPAViewController.swift":46:19, scope 52 // user: %1747
  12443. %1741 = string_literal utf8 "Division by zero in GPA calculation.", loc "GPAViewController.swift":46:19, scope 52 // user: %1746
  12444. %1742 = integer_literal $Builtin.Word, 36, loc "GPAViewController.swift":46:19, scope 52 // user: %1746
  12445. %1743 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":46:19, scope 52 // user: %1746
  12446. %1744 = metatype $@thin String.Type, loc "GPAViewController.swift":46:19, scope 52 // user: %1746
  12447. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  12448. %1745 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "GPAViewController.swift":46:19, scope 52 // user: %1746
  12449. %1746 = apply %1745(%1741, %1742, %1743, %1744) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "GPAViewController.swift":46:19, scope 52 // user: %1747
  12450. store %1746 to [init] %1740 : $*String, loc "GPAViewController.swift":46:19, scope 52 // id: %1747
  12451. // function_ref (print([Any], separator : String, terminator : String) -> ()).(default argument 1)
  12452. %1748 = function_ref @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A0_ : $@convention(thin) () -> @owned String, loc "GPAViewController.swift":46:19, scope 52 // user: %1749
  12453. %1749 = apply %1748() : $@convention(thin) () -> @owned String, loc "GPAViewController.swift":46:19, scope 52 // user: %1752
  12454. // function_ref (print([Any], separator : String, terminator : String) -> ()).(default argument 2)
  12455. %1750 = function_ref @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A1_ : $@convention(thin) () -> @owned String, loc "GPAViewController.swift":46:19, scope 52 // user: %1751
  12456. %1751 = apply %1750() : $@convention(thin) () -> @owned String, loc "GPAViewController.swift":46:19, scope 52 // user: %1752
  12457. %1752 = apply %1733(%1737, %1749, %1751) : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> (), loc "GPAViewController.swift":46:57, scope 52
  12458. %1753 = alloc_stack $Optional<UILabel>, loc "GPAViewController.swift":48:13, scope 52 // users: %1792, %1765, %1757, %1756
  12459. %1754 = class_method %1 : $GPAViewController, #GPAViewController.westlakeGPALabel!getter.1 : (GPAViewController) -> () -> UILabel! , $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":48:13, scope 52 // user: %1755
  12460. %1755 = apply %1754(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":48:13, scope 52 // user: %1756
  12461. store %1755 to [init] %1753 : $*Optional<UILabel>, loc "GPAViewController.swift":48:13, scope 52 // id: %1756
  12462. switch_enum_addr %1753 : $*Optional<UILabel>, case #Optional.none!enumelt: bb125, default bb126, loc "GPAViewController.swift":48:13, scope 52 // id: %1757
  12463.  
  12464. bb125: // Preds: bb124
  12465. %1758 = string_literal utf8 "GPAViewController.swift", loc "GPAViewController.swift":48:13, scope 52 // user: %1763
  12466. %1759 = integer_literal $Builtin.Word, 23, loc "GPAViewController.swift":48:13, scope 52 // user: %1763
  12467. %1760 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":48:13, scope 52 // user: %1763
  12468. %1761 = integer_literal $Builtin.Word, 48, loc "GPAViewController.swift":48:13, scope 52 // user: %1763
  12469. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  12470. %1762 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":48:13, scope 52 // user: %1763
  12471. %1763 = apply %1762(%1758, %1759, %1760, %1761) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":48:13, scope 52
  12472. unreachable , loc "GPAViewController.swift":48:13, scope 52 // id: %1764
  12473.  
  12474. bb126: // Preds: bb124
  12475. %1765 = unchecked_take_enum_data_addr %1753 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "GPAViewController.swift":48:13, scope 52 // users: %1791, %1766
  12476. %1766 = load [copy] %1765 : $*UILabel, loc "GPAViewController.swift":48:13, scope 52 // users: %1790, %1788, %1774
  12477. %1767 = string_literal utf8 "", loc "GPAViewController.swift":48:37, scope 52 // user: %1772
  12478. %1768 = integer_literal $Builtin.Word, 0, loc "GPAViewController.swift":48:37, scope 52 // user: %1772
  12479. %1769 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":48:37, scope 52 // user: %1772
  12480. %1770 = metatype $@thin String.Type, loc "GPAViewController.swift":48:37, scope 52 // user: %1772
  12481. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  12482. %1771 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "GPAViewController.swift":48:37, scope 52 // user: %1772
  12483. %1772 = apply %1771(%1767, %1768, %1769, %1770) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "GPAViewController.swift":48:37, scope 52 // user: %1773
  12484. %1773 = enum $Optional<String>, #Optional.some!enumelt.1, %1772 : $String, loc "GPAViewController.swift":48:37, scope 52 // users: %1779, %1777
  12485. %1774 = class_method [volatile] %1766 : $UILabel, #UILabel.text!setter.1.foreign : (UILabel) -> (String?) -> () , $@convention(objc_method) (Optional<NSString>, UILabel) -> (), loc "GPAViewController.swift":48:35, scope 52 // user: %1788
  12486. %1775 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":48:35, scope 52 // user: %1777
  12487. %1776 = integer_literal $Builtin.Int1, 0, loc "GPAViewController.swift":48:35, scope 52 // user: %1777
  12488. %1777 = select_enum %1773 : $Optional<String>, case #Optional.some!enumelt.1: %1775, default %1776 : $Builtin.Int1, loc "GPAViewController.swift":48:35, scope 52 // user: %1778
  12489. cond_br %1777, bb127, bb128, loc "GPAViewController.swift":48:35, scope 52 // id: %1778
  12490.  
  12491. bb127: // Preds: bb126
  12492. %1779 = unchecked_enum_data %1773 : $Optional<String>, #Optional.some!enumelt.1, loc "GPAViewController.swift":48:35, scope 52 // users: %1783, %1781
  12493. // function_ref String._bridgeToObjectiveC() -> NSString
  12494. %1780 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "GPAViewController.swift":48:35, scope 52 // user: %1781
  12495. %1781 = apply %1780(%1779) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "GPAViewController.swift":48:35, scope 52 // user: %1782
  12496. %1782 = enum $Optional<NSString>, #Optional.some!enumelt.1, %1781 : $NSString, loc "GPAViewController.swift":48:35, scope 52 // user: %1784
  12497. destroy_value %1779 : $String, loc "GPAViewController.swift":48:37, scope 52 // id: %1783
  12498. br bb129(%1782 : $Optional<NSString>), loc "GPAViewController.swift":48:35, scope 52 // id: %1784
  12499.  
  12500. bb128: // Preds: bb126
  12501. %1785 = enum $Optional<NSString>, #Optional.none!enumelt, loc "GPAViewController.swift":48:35, scope 52 // user: %1786
  12502. br bb129(%1785 : $Optional<NSString>), loc "GPAViewController.swift":48:35, scope 52 // id: %1786
  12503.  
  12504. // %1787 // users: %1789, %1788
  12505. bb129(%1787 : $Optional<NSString>): // Preds: bb128 bb127
  12506. %1788 = apply %1774(%1787, %1766) : $@convention(objc_method) (Optional<NSString>, UILabel) -> (), loc "GPAViewController.swift":48:35, scope 52
  12507. destroy_value %1787 : $Optional<NSString>, loc "GPAViewController.swift":48:37, scope 52 // id: %1789
  12508. destroy_value %1766 : $UILabel, loc "GPAViewController.swift":48:37, scope 52 // id: %1790
  12509. destroy_addr %1765 : $*UILabel, loc "GPAViewController.swift":48:37, scope 52 // id: %1791
  12510. dealloc_stack %1753 : $*Optional<UILabel>, loc "GPAViewController.swift":48:37, scope 52 // id: %1792
  12511. %1793 = alloc_stack $Optional<UILabel>, loc "GPAViewController.swift":49:13, scope 52 // users: %1832, %1805, %1797, %1796
  12512. %1794 = class_method %1 : $GPAViewController, #GPAViewController.standardGPALabel!getter.1 : (GPAViewController) -> () -> UILabel! , $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":49:13, scope 52 // user: %1795
  12513. %1795 = apply %1794(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":49:13, scope 52 // user: %1796
  12514. store %1795 to [init] %1793 : $*Optional<UILabel>, loc "GPAViewController.swift":49:13, scope 52 // id: %1796
  12515. switch_enum_addr %1793 : $*Optional<UILabel>, case #Optional.none!enumelt: bb130, default bb131, loc "GPAViewController.swift":49:13, scope 52 // id: %1797
  12516.  
  12517. bb130: // Preds: bb129
  12518. %1798 = string_literal utf8 "GPAViewController.swift", loc "GPAViewController.swift":49:13, scope 52 // user: %1803
  12519. %1799 = integer_literal $Builtin.Word, 23, loc "GPAViewController.swift":49:13, scope 52 // user: %1803
  12520. %1800 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":49:13, scope 52 // user: %1803
  12521. %1801 = integer_literal $Builtin.Word, 49, loc "GPAViewController.swift":49:13, scope 52 // user: %1803
  12522. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  12523. %1802 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":49:13, scope 52 // user: %1803
  12524. %1803 = apply %1802(%1798, %1799, %1800, %1801) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":49:13, scope 52
  12525. unreachable , loc "GPAViewController.swift":49:13, scope 52 // id: %1804
  12526.  
  12527. bb131: // Preds: bb129
  12528. %1805 = unchecked_take_enum_data_addr %1793 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "GPAViewController.swift":49:13, scope 52 // users: %1831, %1806
  12529. %1806 = load [copy] %1805 : $*UILabel, loc "GPAViewController.swift":49:13, scope 52 // users: %1830, %1828, %1814
  12530. %1807 = string_literal utf8 "", loc "GPAViewController.swift":49:37, scope 52 // user: %1812
  12531. %1808 = integer_literal $Builtin.Word, 0, loc "GPAViewController.swift":49:37, scope 52 // user: %1812
  12532. %1809 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":49:37, scope 52 // user: %1812
  12533. %1810 = metatype $@thin String.Type, loc "GPAViewController.swift":49:37, scope 52 // user: %1812
  12534. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  12535. %1811 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "GPAViewController.swift":49:37, scope 52 // user: %1812
  12536. %1812 = apply %1811(%1807, %1808, %1809, %1810) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "GPAViewController.swift":49:37, scope 52 // user: %1813
  12537. %1813 = enum $Optional<String>, #Optional.some!enumelt.1, %1812 : $String, loc "GPAViewController.swift":49:37, scope 52 // users: %1819, %1817
  12538. %1814 = class_method [volatile] %1806 : $UILabel, #UILabel.text!setter.1.foreign : (UILabel) -> (String?) -> () , $@convention(objc_method) (Optional<NSString>, UILabel) -> (), loc "GPAViewController.swift":49:35, scope 52 // user: %1828
  12539. %1815 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":49:35, scope 52 // user: %1817
  12540. %1816 = integer_literal $Builtin.Int1, 0, loc "GPAViewController.swift":49:35, scope 52 // user: %1817
  12541. %1817 = select_enum %1813 : $Optional<String>, case #Optional.some!enumelt.1: %1815, default %1816 : $Builtin.Int1, loc "GPAViewController.swift":49:35, scope 52 // user: %1818
  12542. cond_br %1817, bb132, bb133, loc "GPAViewController.swift":49:35, scope 52 // id: %1818
  12543.  
  12544. bb132: // Preds: bb131
  12545. %1819 = unchecked_enum_data %1813 : $Optional<String>, #Optional.some!enumelt.1, loc "GPAViewController.swift":49:35, scope 52 // users: %1823, %1821
  12546. // function_ref String._bridgeToObjectiveC() -> NSString
  12547. %1820 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "GPAViewController.swift":49:35, scope 52 // user: %1821
  12548. %1821 = apply %1820(%1819) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "GPAViewController.swift":49:35, scope 52 // user: %1822
  12549. %1822 = enum $Optional<NSString>, #Optional.some!enumelt.1, %1821 : $NSString, loc "GPAViewController.swift":49:35, scope 52 // user: %1824
  12550. destroy_value %1819 : $String, loc "GPAViewController.swift":49:37, scope 52 // id: %1823
  12551. br bb134(%1822 : $Optional<NSString>), loc "GPAViewController.swift":49:35, scope 52 // id: %1824
  12552.  
  12553. bb133: // Preds: bb131
  12554. %1825 = enum $Optional<NSString>, #Optional.none!enumelt, loc "GPAViewController.swift":49:35, scope 52 // user: %1826
  12555. br bb134(%1825 : $Optional<NSString>), loc "GPAViewController.swift":49:35, scope 52 // id: %1826
  12556.  
  12557. // %1827 // users: %1829, %1828
  12558. bb134(%1827 : $Optional<NSString>): // Preds: bb133 bb132
  12559. %1828 = apply %1814(%1827, %1806) : $@convention(objc_method) (Optional<NSString>, UILabel) -> (), loc "GPAViewController.swift":49:35, scope 52
  12560. destroy_value %1827 : $Optional<NSString>, loc "GPAViewController.swift":49:37, scope 52 // id: %1829
  12561. destroy_value %1806 : $UILabel, loc "GPAViewController.swift":49:37, scope 52 // id: %1830
  12562. destroy_addr %1805 : $*UILabel, loc "GPAViewController.swift":49:37, scope 52 // id: %1831
  12563. dealloc_stack %1793 : $*Optional<UILabel>, loc "GPAViewController.swift":49:37, scope 52 // id: %1832
  12564. %1833 = alloc_stack $Optional<UILabel>, loc "GPAViewController.swift":50:13, scope 52 // users: %1872, %1845, %1837, %1836
  12565. %1834 = class_method %1 : $GPAViewController, #GPAViewController.letterGradeLabel!getter.1 : (GPAViewController) -> () -> UILabel! , $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":50:13, scope 52 // user: %1835
  12566. %1835 = apply %1834(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":50:13, scope 52 // user: %1836
  12567. store %1835 to [init] %1833 : $*Optional<UILabel>, loc "GPAViewController.swift":50:13, scope 52 // id: %1836
  12568. switch_enum_addr %1833 : $*Optional<UILabel>, case #Optional.none!enumelt: bb135, default bb136, loc "GPAViewController.swift":50:13, scope 52 // id: %1837
  12569.  
  12570. bb135: // Preds: bb134
  12571. %1838 = string_literal utf8 "GPAViewController.swift", loc "GPAViewController.swift":50:13, scope 52 // user: %1843
  12572. %1839 = integer_literal $Builtin.Word, 23, loc "GPAViewController.swift":50:13, scope 52 // user: %1843
  12573. %1840 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":50:13, scope 52 // user: %1843
  12574. %1841 = integer_literal $Builtin.Word, 50, loc "GPAViewController.swift":50:13, scope 52 // user: %1843
  12575. // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  12576. %1842 = function_ref @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":50:13, scope 52 // user: %1843
  12577. %1843 = apply %1842(%1838, %1839, %1840, %1841) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":50:13, scope 52
  12578. unreachable , loc "GPAViewController.swift":50:13, scope 52 // id: %1844
  12579.  
  12580. bb136: // Preds: bb134
  12581. %1845 = unchecked_take_enum_data_addr %1833 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "GPAViewController.swift":50:13, scope 52 // users: %1871, %1846
  12582. %1846 = load [copy] %1845 : $*UILabel, loc "GPAViewController.swift":50:13, scope 52 // users: %1870, %1868, %1854
  12583. %1847 = string_literal utf8 "", loc "GPAViewController.swift":50:37, scope 52 // user: %1852
  12584. %1848 = integer_literal $Builtin.Word, 0, loc "GPAViewController.swift":50:37, scope 52 // user: %1852
  12585. %1849 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":50:37, scope 52 // user: %1852
  12586. %1850 = metatype $@thin String.Type, loc "GPAViewController.swift":50:37, scope 52 // user: %1852
  12587. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  12588. %1851 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "GPAViewController.swift":50:37, scope 52 // user: %1852
  12589. %1852 = apply %1851(%1847, %1848, %1849, %1850) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "GPAViewController.swift":50:37, scope 52 // user: %1853
  12590. %1853 = enum $Optional<String>, #Optional.some!enumelt.1, %1852 : $String, loc "GPAViewController.swift":50:37, scope 52 // users: %1859, %1857
  12591. %1854 = class_method [volatile] %1846 : $UILabel, #UILabel.text!setter.1.foreign : (UILabel) -> (String?) -> () , $@convention(objc_method) (Optional<NSString>, UILabel) -> (), loc "GPAViewController.swift":50:35, scope 52 // user: %1868
  12592. %1855 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":50:35, scope 52 // user: %1857
  12593. %1856 = integer_literal $Builtin.Int1, 0, loc "GPAViewController.swift":50:35, scope 52 // user: %1857
  12594. %1857 = select_enum %1853 : $Optional<String>, case #Optional.some!enumelt.1: %1855, default %1856 : $Builtin.Int1, loc "GPAViewController.swift":50:35, scope 52 // user: %1858
  12595. cond_br %1857, bb137, bb138, loc "GPAViewController.swift":50:35, scope 52 // id: %1858
  12596.  
  12597. bb137: // Preds: bb136
  12598. %1859 = unchecked_enum_data %1853 : $Optional<String>, #Optional.some!enumelt.1, loc "GPAViewController.swift":50:35, scope 52 // users: %1863, %1861
  12599. // function_ref String._bridgeToObjectiveC() -> NSString
  12600. %1860 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "GPAViewController.swift":50:35, scope 52 // user: %1861
  12601. %1861 = apply %1860(%1859) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "GPAViewController.swift":50:35, scope 52 // user: %1862
  12602. %1862 = enum $Optional<NSString>, #Optional.some!enumelt.1, %1861 : $NSString, loc "GPAViewController.swift":50:35, scope 52 // user: %1864
  12603. destroy_value %1859 : $String, loc "GPAViewController.swift":50:37, scope 52 // id: %1863
  12604. br bb139(%1862 : $Optional<NSString>), loc "GPAViewController.swift":50:35, scope 52 // id: %1864
  12605.  
  12606. bb138: // Preds: bb136
  12607. %1865 = enum $Optional<NSString>, #Optional.none!enumelt, loc "GPAViewController.swift":50:35, scope 52 // user: %1866
  12608. br bb139(%1865 : $Optional<NSString>), loc "GPAViewController.swift":50:35, scope 52 // id: %1866
  12609.  
  12610. // %1867 // users: %1869, %1868
  12611. bb139(%1867 : $Optional<NSString>): // Preds: bb138 bb137
  12612. %1868 = apply %1854(%1867, %1846) : $@convention(objc_method) (Optional<NSString>, UILabel) -> (), loc "GPAViewController.swift":50:35, scope 52
  12613. destroy_value %1867 : $Optional<NSString>, loc "GPAViewController.swift":50:37, scope 52 // id: %1869
  12614. destroy_value %1846 : $UILabel, loc "GPAViewController.swift":50:37, scope 52 // id: %1870
  12615. destroy_addr %1845 : $*UILabel, loc "GPAViewController.swift":50:37, scope 52 // id: %1871
  12616. dealloc_stack %1833 : $*Optional<UILabel>, loc "GPAViewController.swift":50:37, scope 52 // id: %1872
  12617. destroy_value %28 : ${ var Double }, loc "GPAViewController.swift":137:5, scope 52 // id: %1873
  12618. destroy_value %21 : ${ var Double }, loc "GPAViewController.swift":137:5, scope 52 // id: %1874
  12619. destroy_value %14 : ${ var Double }, loc "GPAViewController.swift":137:5, scope 52 // id: %1875
  12620. br bb140, loc "GPAViewController.swift":51:13, scope 52 // id: %1876
  12621.  
  12622. bb140: // Preds: bb107 bb123 bb139
  12623. %1877 = tuple (), loc "GPAViewController.swift":137:5, scope 23 // user: %1878
  12624. return %1877 : $(), loc "GPAViewController.swift":137:5, scope 23 // id: %1878
  12625. } // end sil function '_TFC3gpa17GPAViewController14viewWillAppearfSbT_'
  12626.  
  12627.  
  12628. // _convertBoolToObjCBool(Bool) -> ObjCBool
  12629. sil @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool
  12630.  
  12631.  
  12632. // static Information.initializeArray() -> ()
  12633. sil hidden_external @_TZFC3gpa11Information15initializeArrayfT_T_ : $@convention(method) (@thick Information.Type) -> ()
  12634.  
  12635.  
  12636. // Double.init(_builtinFloatLiteral : Builtin.Float64) -> Double
  12637. sil [transparent] [fragile] @_TFSdCfT20_builtinFloatLiteralBf64__Sd : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double
  12638.  
  12639.  
  12640. // Collection<A where ...>.makeIterator() -> IndexingIterator<A>
  12641. sil @_TFesRxs10Collectionwx8IteratorzGVs16IndexingIteratorx_WxS0_7Element_zwx8_ElementrS_12makeIteratorfT_GS1_x_ : $@convention(method) <τ_0_0 where τ_0_0 : Collection, τ_0_0.Iterator == IndexingIterator<τ_0_0>, τ_0_0.Iterator.Element == τ_0_0._Element> (@in_guaranteed τ_0_0) -> @out IndexingIterator<τ_0_0>
  12642.  
  12643.  
  12644. // Information.classesAndGrades.unsafeMutableAddressor
  12645. sil hidden_external [global_init] @_TFC3gpa11Informationau16classesAndGradesGSaS0__ : $@convention(thin) () -> Builtin.RawPointer
  12646.  
  12647.  
  12648. // IndexingIterator.next() -> A._Element?
  12649. sil @_TFVs16IndexingIterator4nextfT_GSqwx8_Element_ : $@convention(method) <τ_0_0 where τ_0_0 : _IndexableBase> (@inout IndexingIterator<τ_0_0>) -> @out Optional<τ_0_0._Element>
  12650.  
  12651.  
  12652. // += infix(inout Double, Double) -> ()
  12653. sil [transparent] [fragile] @_TFsoi2peFTRSdSd_T_ : $@convention(thin) (@inout Double, Double) -> ()
  12654.  
  12655.  
  12656. // * infix(Double, Double) -> Double
  12657. sil [transparent] [fragile] @_TFsoi1mFTSdSd_Sd : $@convention(thin) (Double, Double) -> Double
  12658.  
  12659.  
  12660. // Double.init(Int) -> Double
  12661. sil [transparent] [fragile] @_TFSdCfSiSd : $@convention(method) (Int, @thin Double.Type) -> Double
  12662.  
  12663.  
  12664. // print([Any], separator : String, terminator : String) -> ()
  12665. sil [noinline] [_semantics "stdlib_binary_only"] @_TFs5printFTGSaP__9separatorSS10terminatorSS_T_ : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> ()
  12666.  
  12667.  
  12668. // _allocateUninitializedArray<A> (Builtin.Word) -> ([A], Builtin.RawPointer)
  12669. sil [fragile] [always_inline] @_TFs27_allocateUninitializedArrayurFBwTGSax_Bp_ : $@convention(thin) <τ_0_0> (Builtin.Word) -> (@owned Array<τ_0_0>, Builtin.RawPointer)
  12670.  
  12671.  
  12672. // String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  12673. sil [readonly] [_semantics "string.makeUTF8"] @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String
  12674.  
  12675.  
  12676. // (print([Any], separator : String, terminator : String) -> ()).(default argument 1)
  12677. sil [noinline] [_semantics "stdlib_binary_only"] @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A0_ : $@convention(thin) () -> @owned String
  12678.  
  12679.  
  12680. // (print([Any], separator : String, terminator : String) -> ()).(default argument 2)
  12681. sil [noinline] [_semantics "stdlib_binary_only"] @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A1_ : $@convention(thin) () -> @owned String
  12682.  
  12683.  
  12684. // _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
  12685. sil [transparent] [fragile] @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> ()
  12686.  
  12687.  
  12688. // String._bridgeToObjectiveC() -> NSString
  12689. sil [_semantics "convertToObjectiveC"] @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString
  12690.  
  12691.  
  12692. // Bool._getBuiltinLogicValue() -> Builtin.Int1
  12693. sil [transparent] [fragile] @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1
  12694.  
  12695.  
  12696. // != infix<A where ...> (A, A) -> Bool
  12697. sil @_TFsoi2neuRxs9EquatablerFTxx_Sb : $@convention(thin) <τ_0_0 where τ_0_0 : Equatable> (@in τ_0_0, @in τ_0_0) -> Bool
  12698.  
  12699.  
  12700. // Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
  12701. sil [transparent] [fragile] @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double
  12702.  
  12703.  
  12704. // != infix(Int, Int) -> Bool
  12705. sil [transparent] [fragile] @_TFsoi2neFTSiSi_Sb : $@convention(thin) (Int, Int) -> Bool
  12706.  
  12707.  
  12708. // Array.count.getter
  12709. sil @_TFSag5countSi : $@convention(method) <τ_0_0> (@guaranteed Array<τ_0_0>) -> Int
  12710.  
  12711.  
  12712. // Int.init(_builtinIntegerLiteral : Builtin.Int2048) -> Int
  12713. sil [transparent] [fragile] @_TFSiCfT22_builtinIntegerLiteralBi2048__Si : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int
  12714.  
  12715.  
  12716. // / infix(Double, Double) -> Double
  12717. sil [transparent] [fragile] @_TFsoi1dFTSdSd_Sd : $@convention(thin) (Double, Double) -> Double
  12718.  
  12719.  
  12720. // FloatingPoint.rounded() -> A
  12721. sil [transparent] [fragile] @_TFEsPs13FloatingPoint7roundedfT_x : $@convention(method) <τ_0_0 where τ_0_0 : FloatingPoint> (@in_guaranteed τ_0_0) -> @out τ_0_0
  12722.  
  12723.  
  12724. // String.init(stringInterpolation : [String]...) -> String
  12725. sil [readonly] @_TFSSCft19stringInterpolationGSaSS__SS : $@convention(method) (@owned Array<String>, @thin String.Type) -> @owned String
  12726.  
  12727.  
  12728. // String.init(stringInterpolationSegment : String) -> String
  12729. sil @_TFSSCfT26stringInterpolationSegmentSS_SS : $@convention(method) (@owned String, @thin String.Type) -> @owned String
  12730.  
  12731.  
  12732. // String.init(stringInterpolationSegment : Double) -> String
  12733. sil @_TFSSCfT26stringInterpolationSegmentSd_SS : $@convention(method) (Double, @thin String.Type) -> @owned String
  12734.  
  12735.  
  12736. // static Range.~= infix(Range<A>, A) -> Bool
  12737. sil @_TZFVs5Rangeoi2tefTGS_x_x_Sb : $@convention(method) <τ_0_0 where τ_0_0 : Comparable> (@in Range<τ_0_0>, @in τ_0_0, @thin Range<τ_0_0>.Type) -> Bool
  12738.  
  12739.  
  12740. // ..< infix<A where ...> (A, A) -> Range<A>
  12741. sil [transparent] [fragile] @_TFsoi3zzluRxs10ComparablerFTxx_GVs5Rangex_ : $@convention(thin) <τ_0_0 where τ_0_0 : Comparable> (@in τ_0_0, @in τ_0_0) -> @out Range<τ_0_0>
  12742.  
  12743.  
  12744. // static ClosedRange.~= infix(ClosedRange<A>, A) -> Bool
  12745. sil @_TZFVs11ClosedRangeoi2tefTGS_x_x_Sb : $@convention(method) <τ_0_0 where τ_0_0 : Comparable> (@in ClosedRange<τ_0_0>, @in τ_0_0, @thin ClosedRange<τ_0_0>.Type) -> Bool
  12746.  
  12747.  
  12748. // ... infix<A where ...> (A, A) -> ClosedRange<A>
  12749. sil [transparent] [fragile] @_TFsoi3zzzuRxs10ComparablerFTxx_GVs11ClosedRangex_ : $@convention(thin) <τ_0_0 where τ_0_0 : Comparable> (@in τ_0_0, @in τ_0_0) -> @out ClosedRange<τ_0_0>
  12750.  
  12751.  
  12752. // static Bool.! prefix(Bool) -> Bool
  12753. sil [transparent] [fragile] @_TZFSbop1nfSbSb : $@convention(method) (Bool, @thin Bool.Type) -> Bool
  12754.  
  12755.  
  12756. // String.isEmpty.getter
  12757. sil @_TFSSg7isEmptySb : $@convention(method) (@guaranteed String) -> Bool
  12758.  
  12759. sil_scope 53 { loc "GPAViewController.swift":31:19 parent @_TToFC3gpa17GPAViewController14viewWillAppearfSbT_ : $@convention(objc_method) (ObjCBool, GPAViewController) -> () }
  12760.  
  12761. // @objc GPAViewController.viewWillAppear(Bool) -> ()
  12762. sil hidden [thunk] @_TToFC3gpa17GPAViewController14viewWillAppearfSbT_ : $@convention(objc_method) (ObjCBool, GPAViewController) -> () {
  12763. // %0 // user: %4
  12764. // %1 // user: %2
  12765. bb0(%0 : $ObjCBool, %1 : $GPAViewController):
  12766. %2 = copy_value %1 : $GPAViewController, scope 53 // users: %7, %6
  12767. // function_ref _convertObjCBoolToBool(ObjCBool) -> Bool
  12768. %3 = function_ref @_TF10ObjectiveC22_convertObjCBoolToBoolFVS_8ObjCBoolSb : $@convention(thin) (ObjCBool) -> Bool, scope 53 // user: %4
  12769. %4 = apply %3(%0) : $@convention(thin) (ObjCBool) -> Bool, scope 53 // user: %6
  12770. // function_ref GPAViewController.viewWillAppear(Bool) -> ()
  12771. %5 = function_ref @_TFC3gpa17GPAViewController14viewWillAppearfSbT_ : $@convention(method) (Bool, @guaranteed GPAViewController) -> (), scope 53 // user: %6
  12772. %6 = apply %5(%4, %2) : $@convention(method) (Bool, @guaranteed GPAViewController) -> (), scope 53 // user: %8
  12773. destroy_value %2 : $GPAViewController, scope 53 // id: %7
  12774. return %6 : $(), scope 53 // id: %8
  12775. } // end sil function '_TToFC3gpa17GPAViewController14viewWillAppearfSbT_'
  12776.  
  12777.  
  12778. // _convertObjCBoolToBool(ObjCBool) -> Bool
  12779. sil @_TF10ObjectiveC22_convertObjCBoolToBoolFVS_8ObjCBoolSb : $@convention(thin) (ObjCBool) -> Bool
  12780.  
  12781. sil_scope 54 { loc "GPAViewController.swift":139:19 parent @_TFC3gpa17GPAViewController11viewDidLoadfT_T_ : $@convention(method) (@guaranteed GPAViewController) -> () }
  12782. sil_scope 55 { loc "GPAViewController.swift":141:5 parent 54 }
  12783.  
  12784. // GPAViewController.viewDidLoad() -> ()
  12785. sil hidden @_TFC3gpa17GPAViewController11viewDidLoadfT_T_ : $@convention(method) (@guaranteed GPAViewController) -> () {
  12786. // %0 // users: %2, %1
  12787. bb0(%0 : $GPAViewController):
  12788. debug_value %0 : $GPAViewController, let, name "self", argno 1, loc "GPAViewController.swift":139:19, scope 54 // id: %1
  12789. %2 = copy_value %0 : $GPAViewController, loc "GPAViewController.swift":140:9, scope 55 // users: %6, %4, %3
  12790. %3 = upcast %2 : $GPAViewController to $UIViewController, loc "GPAViewController.swift":140:9, scope 55 // user: %5
  12791. %4 = super_method [volatile] %2 : $GPAViewController, #UIViewController.viewDidLoad!1.foreign : (UIViewController) -> () -> () , $@convention(objc_method) (UIViewController) -> (), loc "GPAViewController.swift":140:15, scope 55 // user: %5
  12792. %5 = apply %4(%3) : $@convention(objc_method) (UIViewController) -> (), loc "GPAViewController.swift":140:27, scope 55
  12793. destroy_value %2 : $GPAViewController, loc "GPAViewController.swift":140:27, scope 55 // id: %6
  12794. %7 = tuple (), loc "GPAViewController.swift":141:5, scope 55 // user: %8
  12795. return %7 : $(), loc "GPAViewController.swift":141:5, scope 55 // id: %8
  12796. } // end sil function '_TFC3gpa17GPAViewController11viewDidLoadfT_T_'
  12797.  
  12798. sil_scope 56 { loc "GPAViewController.swift":139:19 parent @_TToFC3gpa17GPAViewController11viewDidLoadfT_T_ : $@convention(objc_method) (GPAViewController) -> () }
  12799.  
  12800. // @objc GPAViewController.viewDidLoad() -> ()
  12801. sil hidden [thunk] @_TToFC3gpa17GPAViewController11viewDidLoadfT_T_ : $@convention(objc_method) (GPAViewController) -> () {
  12802. // %0 // user: %1
  12803. bb0(%0 : $GPAViewController):
  12804. %1 = copy_value %0 : $GPAViewController, scope 56 // users: %4, %3
  12805. // function_ref GPAViewController.viewDidLoad() -> ()
  12806. %2 = function_ref @_TFC3gpa17GPAViewController11viewDidLoadfT_T_ : $@convention(method) (@guaranteed GPAViewController) -> (), scope 56 // user: %3
  12807. %3 = apply %2(%1) : $@convention(method) (@guaranteed GPAViewController) -> (), scope 56 // user: %5
  12808. destroy_value %1 : $GPAViewController, scope 56 // id: %4
  12809. return %3 : $(), scope 56 // id: %5
  12810. } // end sil function '_TToFC3gpa17GPAViewController11viewDidLoadfT_T_'
  12811.  
  12812. sil_scope 57 { loc "GPAViewController.swift":143:19 parent @_TFC3gpa17GPAViewController23didReceiveMemoryWarningfT_T_ : $@convention(method) (@guaranteed GPAViewController) -> () }
  12813. sil_scope 58 { loc "GPAViewController.swift":146:5 parent 57 }
  12814.  
  12815. // GPAViewController.didReceiveMemoryWarning() -> ()
  12816. sil hidden @_TFC3gpa17GPAViewController23didReceiveMemoryWarningfT_T_ : $@convention(method) (@guaranteed GPAViewController) -> () {
  12817. // %0 // users: %2, %1
  12818. bb0(%0 : $GPAViewController):
  12819. debug_value %0 : $GPAViewController, let, name "self", argno 1, loc "GPAViewController.swift":143:19, scope 57 // id: %1
  12820. %2 = copy_value %0 : $GPAViewController, loc "GPAViewController.swift":144:9, scope 58 // users: %6, %4, %3
  12821. %3 = upcast %2 : $GPAViewController to $UIViewController, loc "GPAViewController.swift":144:9, scope 58 // user: %5
  12822. %4 = super_method [volatile] %2 : $GPAViewController, #UIViewController.didReceiveMemoryWarning!1.foreign : (UIViewController) -> () -> () , $@convention(objc_method) (UIViewController) -> (), loc "GPAViewController.swift":144:15, scope 58 // user: %5
  12823. %5 = apply %4(%3) : $@convention(objc_method) (UIViewController) -> (), loc "GPAViewController.swift":144:39, scope 58
  12824. destroy_value %2 : $GPAViewController, loc "GPAViewController.swift":144:39, scope 58 // id: %6
  12825. %7 = tuple (), loc "GPAViewController.swift":146:5, scope 58 // user: %8
  12826. return %7 : $(), loc "GPAViewController.swift":146:5, scope 58 // id: %8
  12827. } // end sil function '_TFC3gpa17GPAViewController23didReceiveMemoryWarningfT_T_'
  12828.  
  12829. sil_scope 59 { loc "GPAViewController.swift":143:19 parent @_TToFC3gpa17GPAViewController23didReceiveMemoryWarningfT_T_ : $@convention(objc_method) (GPAViewController) -> () }
  12830.  
  12831. // @objc GPAViewController.didReceiveMemoryWarning() -> ()
  12832. sil hidden [thunk] @_TToFC3gpa17GPAViewController23didReceiveMemoryWarningfT_T_ : $@convention(objc_method) (GPAViewController) -> () {
  12833. // %0 // user: %1
  12834. bb0(%0 : $GPAViewController):
  12835. %1 = copy_value %0 : $GPAViewController, scope 59 // users: %4, %3
  12836. // function_ref GPAViewController.didReceiveMemoryWarning() -> ()
  12837. %2 = function_ref @_TFC3gpa17GPAViewController23didReceiveMemoryWarningfT_T_ : $@convention(method) (@guaranteed GPAViewController) -> (), scope 59 // user: %3
  12838. %3 = apply %2(%1) : $@convention(method) (@guaranteed GPAViewController) -> (), scope 59 // user: %5
  12839. destroy_value %1 : $GPAViewController, scope 59 // id: %4
  12840. return %3 : $(), scope 59 // id: %5
  12841. } // end sil function '_TToFC3gpa17GPAViewController23didReceiveMemoryWarningfT_T_'
  12842.  
  12843. sil_scope 60 { loc "GPAViewController.swift":25:7 parent @_TFC3gpa17GPAViewControllerD : $@convention(method) (@owned GPAViewController) -> () }
  12844. sil_scope 61 { loc "GPAViewController.swift":25:7 parent 60 }
  12845.  
  12846. // GPAViewController.__deallocating_deinit
  12847. sil hidden @_TFC3gpa17GPAViewControllerD : $@convention(method) (@owned GPAViewController) -> () {
  12848. // %0 // users: %3, %2, %1
  12849. bb0(%0 : $GPAViewController):
  12850. debug_value %0 : $GPAViewController, let, name "self", argno 1, loc "GPAViewController.swift":25:7, scope 60 // id: %1
  12851. %2 = super_method %0 : $GPAViewController, #UIViewController.deinit!deallocator.foreign : (UIViewController) -> () -> () , $@convention(objc_method) (UIViewController) -> (), scope 61 // user: %4
  12852. %3 = upcast %0 : $GPAViewController to $UIViewController, scope 61 // user: %4
  12853. %4 = apply %2(%3) : $@convention(objc_method) (UIViewController) -> (), scope 61
  12854. %5 = tuple (), scope 61 // user: %6
  12855. return %5 : $(), scope 61 // id: %6
  12856. } // end sil function '_TFC3gpa17GPAViewControllerD'
  12857.  
  12858. sil_scope 62 { loc "GPAViewController.swift":25:7 parent @_TToFC3gpa17GPAViewControllerE : $@convention(objc_method) (GPAViewController) -> () }
  12859.  
  12860. // @objc GPAViewController.__ivar_destroyer
  12861. sil hidden @_TToFC3gpa17GPAViewControllerE : $@convention(objc_method) (GPAViewController) -> () {
  12862. // %0 // users: %6, %4, %2, %1
  12863. bb0(%0 : $GPAViewController):
  12864. debug_value %0 : $GPAViewController, let, name "self", argno 1, loc "GPAViewController.swift":25:7, scope 62 // id: %1
  12865. %2 = ref_element_addr %0 : $GPAViewController, #GPAViewController.westlakeGPALabel, scope 62 // user: %3
  12866. destroy_addr %2 : $*Optional<UILabel>, scope 62 // id: %3
  12867. %4 = ref_element_addr %0 : $GPAViewController, #GPAViewController.standardGPALabel, scope 62 // user: %5
  12868. destroy_addr %4 : $*Optional<UILabel>, scope 62 // id: %5
  12869. %6 = ref_element_addr %0 : $GPAViewController, #GPAViewController.letterGradeLabel, scope 62 // user: %7
  12870. destroy_addr %6 : $*Optional<UILabel>, scope 62 // id: %7
  12871. %8 = tuple (), scope 62 // user: %9
  12872. return %8 : $(), scope 62 // id: %9
  12873. } // end sil function '_TToFC3gpa17GPAViewControllerE'
  12874.  
  12875. sil_scope 63 { loc "GPAViewController.swift":27:19 parent @_TFC3gpa17GPAViewControllerm16westlakeGPALabelGSQCSo7UILabel_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed GPAViewController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) }
  12876.  
  12877. // GPAViewController.westlakeGPALabel.materializeForSet
  12878. sil hidden @_TFC3gpa17GPAViewControllerm16westlakeGPALabelGSQCSo7UILabel_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed GPAViewController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) {
  12879. // %2 // user: %3
  12880. bb0(%0 : $Builtin.RawPointer, %1 : $*Builtin.UnsafeValueBuffer, %2 : $GPAViewController):
  12881. %3 = ref_element_addr %2 : $GPAViewController, #GPAViewController.westlakeGPALabel, scope 63 // user: %4
  12882. %4 = address_to_pointer %3 : $*Optional<UILabel> to $Builtin.RawPointer, scope 63 // user: %6
  12883. %5 = enum $Optional<Builtin.RawPointer>, #Optional.none!enumelt, scope 63 // user: %6
  12884. %6 = tuple (%4 : $Builtin.RawPointer, %5 : $Optional<Builtin.RawPointer>), scope 63 // user: %7
  12885. return %6 : $(Builtin.RawPointer, Optional<Builtin.RawPointer>), scope 63 // id: %7
  12886. } // end sil function '_TFC3gpa17GPAViewControllerm16westlakeGPALabelGSQCSo7UILabel_'
  12887.  
  12888. sil_scope 64 { loc "GPAViewController.swift":28:19 parent @_TFC3gpa17GPAViewControllerm16standardGPALabelGSQCSo7UILabel_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed GPAViewController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) }
  12889.  
  12890. // GPAViewController.standardGPALabel.materializeForSet
  12891. sil hidden @_TFC3gpa17GPAViewControllerm16standardGPALabelGSQCSo7UILabel_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed GPAViewController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) {
  12892. // %2 // user: %3
  12893. bb0(%0 : $Builtin.RawPointer, %1 : $*Builtin.UnsafeValueBuffer, %2 : $GPAViewController):
  12894. %3 = ref_element_addr %2 : $GPAViewController, #GPAViewController.standardGPALabel, scope 64 // user: %4
  12895. %4 = address_to_pointer %3 : $*Optional<UILabel> to $Builtin.RawPointer, scope 64 // user: %6
  12896. %5 = enum $Optional<Builtin.RawPointer>, #Optional.none!enumelt, scope 64 // user: %6
  12897. %6 = tuple (%4 : $Builtin.RawPointer, %5 : $Optional<Builtin.RawPointer>), scope 64 // user: %7
  12898. return %6 : $(Builtin.RawPointer, Optional<Builtin.RawPointer>), scope 64 // id: %7
  12899. } // end sil function '_TFC3gpa17GPAViewControllerm16standardGPALabelGSQCSo7UILabel_'
  12900.  
  12901. sil_scope 65 { loc "GPAViewController.swift":29:19 parent @_TFC3gpa17GPAViewControllerm16letterGradeLabelGSQCSo7UILabel_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed GPAViewController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) }
  12902.  
  12903. // GPAViewController.letterGradeLabel.materializeForSet
  12904. sil hidden @_TFC3gpa17GPAViewControllerm16letterGradeLabelGSQCSo7UILabel_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed GPAViewController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) {
  12905. // %2 // user: %3
  12906. bb0(%0 : $Builtin.RawPointer, %1 : $*Builtin.UnsafeValueBuffer, %2 : $GPAViewController):
  12907. %3 = ref_element_addr %2 : $GPAViewController, #GPAViewController.letterGradeLabel, scope 65 // user: %4
  12908. %4 = address_to_pointer %3 : $*Optional<UILabel> to $Builtin.RawPointer, scope 65 // user: %6
  12909. %5 = enum $Optional<Builtin.RawPointer>, #Optional.none!enumelt, scope 65 // user: %6
  12910. %6 = tuple (%4 : $Builtin.RawPointer, %5 : $Optional<Builtin.RawPointer>), scope 65 // user: %7
  12911. return %6 : $(Builtin.RawPointer, Optional<Builtin.RawPointer>), scope 65 // id: %7
  12912. } // end sil function '_TFC3gpa17GPAViewControllerm16letterGradeLabelGSQCSo7UILabel_'
  12913.  
  12914. sil_scope 66 { loc "GPAViewController.swift":25:43 parent @_TFC3gpa17GPAViewControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ : $@convention(method) (@owned Optional<String>, @owned Optional<Bundle>, @owned GPAViewController) -> @owned GPAViewController }
  12915. sil_scope 67 { parent 66 }
  12916.  
  12917. // GPAViewController.init(nibName : String?, bundle : Bundle?) -> GPAViewController
  12918. sil hidden @_TFC3gpa17GPAViewControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ : $@convention(method) (@owned Optional<String>, @owned Optional<Bundle>, @owned GPAViewController) -> @owned GPAViewController {
  12919. // %0 // users: %47, %27, %6
  12920. // %1 // users: %46, %41, %7
  12921. // %2 // user: %8
  12922. bb0(%0 : $Optional<String>, %1 : $Optional<Bundle>, %2 : $GPAViewController):
  12923. %3 = alloc_box ${ var GPAViewController }, let, name "self", scope 66 // users: %48, %4
  12924. %4 = project_box %3 : ${ var GPAViewController }, 0, scope 66 // user: %5
  12925. %5 = mark_uninitialized [derivedself] %4 : $*GPAViewController, scope 66 // users: %45, %43, %24, %21, %16, %11, %8
  12926. debug_value %0 : $Optional<String>, let, name "nibNameOrNil", argno 1, scope 66 // id: %6
  12927. debug_value %1 : $Optional<Bundle>, let, name "nibBundleOrNil", argno 2, scope 66 // id: %7
  12928. store %2 to [init] %5 : $*GPAViewController, loc "GPAViewController.swift":25:43, scope 66 // id: %8
  12929. // function_ref GPAViewController.(westlakeGPALabel).(variable initialization expression)
  12930. %9 = function_ref @_TIvC3gpa17GPAViewController16westlakeGPALabelGSQCSo7UILabel_i : $@convention(thin) () -> @owned Optional<UILabel>, scope 66 // user: %10
  12931. %10 = apply %9() : $@convention(thin) () -> @owned Optional<UILabel>, scope 66 // user: %13
  12932. %11 = load_borrow %5 : $*GPAViewController, loc "GPAViewController.swift":27:19, scope 66 // user: %12
  12933. %12 = ref_element_addr %11 : $GPAViewController, #GPAViewController.westlakeGPALabel, loc "GPAViewController.swift":27:19, scope 66 // user: %13
  12934. assign %10 to %12 : $*Optional<UILabel>, loc "GPAViewController.swift":27:19, scope 66 // id: %13
  12935. // function_ref GPAViewController.(standardGPALabel).(variable initialization expression)
  12936. %14 = function_ref @_TIvC3gpa17GPAViewController16standardGPALabelGSQCSo7UILabel_i : $@convention(thin) () -> @owned Optional<UILabel>, scope 66 // user: %15
  12937. %15 = apply %14() : $@convention(thin) () -> @owned Optional<UILabel>, scope 66 // user: %18
  12938. %16 = load_borrow %5 : $*GPAViewController, loc "GPAViewController.swift":28:19, scope 66 // user: %17
  12939. %17 = ref_element_addr %16 : $GPAViewController, #GPAViewController.standardGPALabel, loc "GPAViewController.swift":28:19, scope 66 // user: %18
  12940. assign %15 to %17 : $*Optional<UILabel>, loc "GPAViewController.swift":28:19, scope 66 // id: %18
  12941. // function_ref GPAViewController.(letterGradeLabel).(variable initialization expression)
  12942. %19 = function_ref @_TIvC3gpa17GPAViewController16letterGradeLabelGSQCSo7UILabel_i : $@convention(thin) () -> @owned Optional<UILabel>, scope 66 // user: %20
  12943. %20 = apply %19() : $@convention(thin) () -> @owned Optional<UILabel>, scope 66 // user: %23
  12944. %21 = load_borrow %5 : $*GPAViewController, loc "GPAViewController.swift":29:19, scope 66 // user: %22
  12945. %22 = ref_element_addr %21 : $GPAViewController, #GPAViewController.letterGradeLabel, loc "GPAViewController.swift":29:19, scope 66 // user: %23
  12946. assign %20 to %22 : $*Optional<UILabel>, loc "GPAViewController.swift":29:19, scope 66 // id: %23
  12947. %24 = load_borrow %5 : $*GPAViewController, scope 67 // users: %26, %25
  12948. %25 = upcast %24 : $GPAViewController to $UIViewController, scope 67 // user: %41
  12949. %26 = super_method [volatile] %24 : $GPAViewController, #UIViewController.init!initializer.1.foreign : (UIViewController.Type) -> (String?, Bundle?) -> UIViewController , $@convention(objc_method) (Optional<NSString>, Optional<Bundle>, @owned UIViewController) -> @owned UIViewController, scope 67 // user: %41
  12950. %27 = copy_value %0 : $Optional<String>, scope 67 // users: %32, %30
  12951. %28 = integer_literal $Builtin.Int1, -1, scope 67 // user: %30
  12952. %29 = integer_literal $Builtin.Int1, 0, scope 67 // user: %30
  12953. %30 = select_enum %27 : $Optional<String>, case #Optional.some!enumelt.1: %28, default %29 : $Builtin.Int1, scope 67 // user: %31
  12954. cond_br %30, bb1, bb2, scope 67 // id: %31
  12955.  
  12956. bb1: // Preds: bb0
  12957. %32 = unchecked_enum_data %27 : $Optional<String>, #Optional.some!enumelt.1, scope 67 // users: %36, %34
  12958. // function_ref String._bridgeToObjectiveC() -> NSString
  12959. %33 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, scope 67 // user: %34
  12960. %34 = apply %33(%32) : $@convention(method) (@guaranteed String) -> @owned NSString, scope 67 // user: %35
  12961. %35 = enum $Optional<NSString>, #Optional.some!enumelt.1, %34 : $NSString, scope 67 // user: %37
  12962. destroy_value %32 : $String, scope 67 // id: %36
  12963. br bb3(%35 : $Optional<NSString>), scope 67 // id: %37
  12964.  
  12965. bb2: // Preds: bb0
  12966. %38 = enum $Optional<NSString>, #Optional.none!enumelt, scope 67 // user: %39
  12967. br bb3(%38 : $Optional<NSString>), scope 67 // id: %39
  12968.  
  12969. // %40 // users: %44, %41
  12970. bb3(%40 : $Optional<NSString>): // Preds: bb2 bb1
  12971. %41 = apply %26(%40, %1, %25) : $@convention(objc_method) (Optional<NSString>, Optional<Bundle>, @owned UIViewController) -> @owned UIViewController, scope 67 // user: %42
  12972. %42 = unchecked_ref_cast %41 : $UIViewController to $GPAViewController, scope 67 // user: %43
  12973. store %42 to [init] %5 : $*GPAViewController, scope 67 // id: %43
  12974. destroy_value %40 : $Optional<NSString>, scope 67 // id: %44
  12975. %45 = load [copy] %5 : $*GPAViewController, loc "GPAViewController.swift":25:43, scope 67 // user: %49
  12976. destroy_value %1 : $Optional<Bundle>, loc "GPAViewController.swift":25:43, scope 67 // id: %46
  12977. destroy_value %0 : $Optional<String>, loc "GPAViewController.swift":25:43, scope 67 // id: %47
  12978. destroy_value %3 : ${ var GPAViewController }, loc "GPAViewController.swift":25:43, scope 67 // id: %48
  12979. return %45 : $GPAViewController, loc "GPAViewController.swift":25:43, scope 67 // id: %49
  12980. } // end sil function '_TFC3gpa17GPAViewControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_'
  12981.  
  12982. sil_scope 68 { loc "GPAViewController.swift":25:43 parent @_TFC3gpa17GPAViewControllerCfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ : $@convention(method) (@owned Optional<String>, @owned Optional<Bundle>, @thick GPAViewController.Type) -> @owned GPAViewController }
  12983.  
  12984. // GPAViewController.__allocating_init(nibName : String?, bundle : Bundle?) -> GPAViewController
  12985. sil hidden @_TFC3gpa17GPAViewControllerCfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ : $@convention(method) (@owned Optional<String>, @owned Optional<Bundle>, @thick GPAViewController.Type) -> @owned GPAViewController {
  12986. // %0 // user: %5
  12987. // %1 // user: %5
  12988. bb0(%0 : $Optional<String>, %1 : $Optional<Bundle>, %2 : $@thick GPAViewController.Type):
  12989. %3 = alloc_ref [objc] $GPAViewController, scope 68 // user: %5
  12990. // function_ref GPAViewController.init(nibName : String?, bundle : Bundle?) -> GPAViewController
  12991. %4 = function_ref @_TFC3gpa17GPAViewControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ : $@convention(method) (@owned Optional<String>, @owned Optional<Bundle>, @owned GPAViewController) -> @owned GPAViewController, scope 68 // user: %5
  12992. %5 = apply %4(%0, %1, %3) : $@convention(method) (@owned Optional<String>, @owned Optional<Bundle>, @owned GPAViewController) -> @owned GPAViewController, scope 68 // user: %6
  12993. return %5 : $GPAViewController, scope 68 // id: %6
  12994. } // end sil function '_TFC3gpa17GPAViewControllerCfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_'
  12995.  
  12996. sil_scope 69 { loc "GPAViewController.swift":25:43 parent @_TToFC3gpa17GPAViewControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ : $@convention(objc_method) (Optional<NSString>, Optional<Bundle>, @owned GPAViewController) -> @owned GPAViewController }
  12997.  
  12998. // @objc GPAViewController.init(nibName : String?, bundle : Bundle?) -> GPAViewController
  12999. sil hidden [thunk] @_TToFC3gpa17GPAViewControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ : $@convention(objc_method) (Optional<NSString>, Optional<Bundle>, @owned GPAViewController) -> @owned GPAViewController {
  13000. // %0 // user: %3
  13001. // %1 // user: %4
  13002. // %2 // user: %20
  13003. bb0(%0 : $Optional<NSString>, %1 : $Optional<Bundle>, %2 : $GPAViewController):
  13004. %3 = copy_value %0 : $Optional<NSString>, scope 69 // users: %9, %7
  13005. %4 = copy_value %1 : $Optional<Bundle>, scope 69 // user: %20
  13006. %5 = integer_literal $Builtin.Int1, -1, scope 69 // user: %7
  13007. %6 = integer_literal $Builtin.Int1, 0, scope 69 // user: %7
  13008. %7 = select_enum %3 : $Optional<NSString>, case #Optional.some!enumelt.1: %5, default %6 : $Builtin.Int1, scope 69 // user: %8
  13009. cond_br %7, bb1, bb2, scope 69 // id: %8
  13010.  
  13011. bb1: // Preds: bb0
  13012. %9 = unchecked_enum_data %3 : $Optional<NSString>, #Optional.some!enumelt.1, scope 69 // user: %11
  13013. // function_ref static String._unconditionallyBridgeFromObjectiveC(NSString?) -> String
  13014. %10 = function_ref @_TZFE10FoundationSS36_unconditionallyBridgeFromObjectiveCfGSqCSo8NSString_SS : $@convention(method) (@owned Optional<NSString>, @thin String.Type) -> @owned String, scope 69 // user: %13
  13015. %11 = enum $Optional<NSString>, #Optional.some!enumelt.1, %9 : $NSString, scope 69 // user: %13
  13016. %12 = metatype $@thin String.Type, scope 69 // user: %13
  13017. %13 = apply %10(%11, %12) : $@convention(method) (@owned Optional<NSString>, @thin String.Type) -> @owned String, scope 69 // user: %14
  13018. %14 = enum $Optional<String>, #Optional.some!enumelt.1, %13 : $String, scope 69 // user: %15
  13019. br bb3(%14 : $Optional<String>), scope 69 // id: %15
  13020.  
  13021. bb2: // Preds: bb0
  13022. %16 = enum $Optional<String>, #Optional.none!enumelt, scope 69 // user: %17
  13023. br bb3(%16 : $Optional<String>), scope 69 // id: %17
  13024.  
  13025. // %18 // user: %20
  13026. bb3(%18 : $Optional<String>): // Preds: bb2 bb1
  13027. // function_ref GPAViewController.init(nibName : String?, bundle : Bundle?) -> GPAViewController
  13028. %19 = function_ref @_TFC3gpa17GPAViewControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ : $@convention(method) (@owned Optional<String>, @owned Optional<Bundle>, @owned GPAViewController) -> @owned GPAViewController, scope 69 // user: %20
  13029. %20 = apply %19(%18, %4, %2) : $@convention(method) (@owned Optional<String>, @owned Optional<Bundle>, @owned GPAViewController) -> @owned GPAViewController, scope 69 // user: %21
  13030. return %20 : $GPAViewController, scope 69 // id: %21
  13031. } // end sil function '_TToFC3gpa17GPAViewControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_'
  13032.  
  13033.  
  13034. // static String._unconditionallyBridgeFromObjectiveC(NSString?) -> String
  13035. sil @_TZFE10FoundationSS36_unconditionallyBridgeFromObjectiveCfGSqCSo8NSString_SS : $@convention(method) (@owned Optional<NSString>, @thin String.Type) -> @owned String
  13036.  
  13037. sil_scope 70 { loc "GPAViewController.swift":25:43 parent @_TFC3gpa17GPAViewControllerCfT5coderCSo7NSCoder_GSqS0__ : $@convention(method) (@owned NSCoder, @thick GPAViewController.Type) -> @owned Optional<GPAViewController> }
  13038.  
  13039. // GPAViewController.__allocating_init(coder : NSCoder) -> GPAViewController?
  13040. sil hidden @_TFC3gpa17GPAViewControllerCfT5coderCSo7NSCoder_GSqS0__ : $@convention(method) (@owned NSCoder, @thick GPAViewController.Type) -> @owned Optional<GPAViewController> {
  13041. // %0 // user: %4
  13042. bb0(%0 : $NSCoder, %1 : $@thick GPAViewController.Type):
  13043. %2 = alloc_ref [objc] $GPAViewController, scope 70 // user: %4
  13044. // function_ref GPAViewController.init(coder : NSCoder) -> GPAViewController?
  13045. %3 = function_ref @_TFC3gpa17GPAViewControllercfT5coderCSo7NSCoder_GSqS0__ : $@convention(method) (@owned NSCoder, @owned GPAViewController) -> @owned Optional<GPAViewController>, scope 70 // user: %4
  13046. %4 = apply %3(%0, %2) : $@convention(method) (@owned NSCoder, @owned GPAViewController) -> @owned Optional<GPAViewController>, scope 70 // user: %5
  13047. return %4 : $Optional<GPAViewController>, scope 70 // id: %5
  13048. } // end sil function '_TFC3gpa17GPAViewControllerCfT5coderCSo7NSCoder_GSqS0__'
  13049.  
  13050. sil_scope 71 { loc "GPAViewController.swift":25:43 parent @_TFC3gpa17GPAViewControllercfT5coderCSo7NSCoder_GSqS0__ : $@convention(method) (@owned NSCoder, @owned GPAViewController) -> @owned Optional<GPAViewController> }
  13051. sil_scope 72 { parent 71 }
  13052.  
  13053. // GPAViewController.init(coder : NSCoder) -> GPAViewController?
  13054. sil hidden @_TFC3gpa17GPAViewControllercfT5coderCSo7NSCoder_GSqS0__ : $@convention(method) (@owned NSCoder, @owned GPAViewController) -> @owned Optional<GPAViewController> {
  13055. // %0 // users: %35, %25, %38, %5
  13056. // %1 // user: %6
  13057. bb0(%0 : $NSCoder, %1 : $GPAViewController):
  13058. %2 = alloc_box ${ var GPAViewController }, let, name "self", scope 71 // users: %36, %39, %3
  13059. %3 = project_box %2 : ${ var GPAViewController }, 0, scope 71 // user: %4
  13060. %4 = mark_uninitialized [derivedself] %3 : $*GPAViewController, scope 71 // users: %33, %32, %22, %19, %14, %9, %6
  13061. debug_value %0 : $NSCoder, let, name "aDecoder", argno 1, scope 71 // id: %5
  13062. store %1 to [init] %4 : $*GPAViewController, loc "GPAViewController.swift":25:43, scope 71 // id: %6
  13063. // function_ref GPAViewController.(westlakeGPALabel).(variable initialization expression)
  13064. %7 = function_ref @_TIvC3gpa17GPAViewController16westlakeGPALabelGSQCSo7UILabel_i : $@convention(thin) () -> @owned Optional<UILabel>, scope 71 // user: %8
  13065. %8 = apply %7() : $@convention(thin) () -> @owned Optional<UILabel>, scope 71 // user: %11
  13066. %9 = load_borrow %4 : $*GPAViewController, loc "GPAViewController.swift":27:19, scope 71 // user: %10
  13067. %10 = ref_element_addr %9 : $GPAViewController, #GPAViewController.westlakeGPALabel, loc "GPAViewController.swift":27:19, scope 71 // user: %11
  13068. assign %8 to %10 : $*Optional<UILabel>, loc "GPAViewController.swift":27:19, scope 71 // id: %11
  13069. // function_ref GPAViewController.(standardGPALabel).(variable initialization expression)
  13070. %12 = function_ref @_TIvC3gpa17GPAViewController16standardGPALabelGSQCSo7UILabel_i : $@convention(thin) () -> @owned Optional<UILabel>, scope 71 // user: %13
  13071. %13 = apply %12() : $@convention(thin) () -> @owned Optional<UILabel>, scope 71 // user: %16
  13072. %14 = load_borrow %4 : $*GPAViewController, loc "GPAViewController.swift":28:19, scope 71 // user: %15
  13073. %15 = ref_element_addr %14 : $GPAViewController, #GPAViewController.standardGPALabel, loc "GPAViewController.swift":28:19, scope 71 // user: %16
  13074. assign %13 to %15 : $*Optional<UILabel>, loc "GPAViewController.swift":28:19, scope 71 // id: %16
  13075. // function_ref GPAViewController.(letterGradeLabel).(variable initialization expression)
  13076. %17 = function_ref @_TIvC3gpa17GPAViewController16letterGradeLabelGSQCSo7UILabel_i : $@convention(thin) () -> @owned Optional<UILabel>, scope 71 // user: %18
  13077. %18 = apply %17() : $@convention(thin) () -> @owned Optional<UILabel>, scope 71 // user: %21
  13078. %19 = load_borrow %4 : $*GPAViewController, loc "GPAViewController.swift":29:19, scope 71 // user: %20
  13079. %20 = ref_element_addr %19 : $GPAViewController, #GPAViewController.letterGradeLabel, loc "GPAViewController.swift":29:19, scope 71 // user: %21
  13080. assign %18 to %20 : $*Optional<UILabel>, loc "GPAViewController.swift":29:19, scope 71 // id: %21
  13081. %22 = load_borrow %4 : $*GPAViewController, scope 72 // users: %24, %23
  13082. %23 = upcast %22 : $GPAViewController to $UIViewController, scope 72 // user: %25
  13083. %24 = super_method [volatile] %22 : $GPAViewController, #UIViewController.init!initializer.1.foreign : (UIViewController.Type) -> (NSCoder) -> UIViewController? , $@convention(objc_method) (NSCoder, @owned UIViewController) -> @owned Optional<UIViewController>, scope 72 // user: %25
  13084. %25 = apply %24(%0, %23) : $@convention(objc_method) (NSCoder, @owned UIViewController) -> @owned Optional<UIViewController>, scope 72 // users: %30, %28
  13085. %26 = integer_literal $Builtin.Int1, -1, scope 72 // user: %28
  13086. %27 = integer_literal $Builtin.Int1, 0, scope 72 // user: %28
  13087. %28 = select_enum %25 : $Optional<UIViewController>, case #Optional.some!enumelt.1: %26, default %27 : $Builtin.Int1, scope 72 // user: %29
  13088. cond_br %28, bb1, bb2, scope 72 // id: %29
  13089.  
  13090. bb1: // Preds: bb0
  13091. %30 = unchecked_enum_data %25 : $Optional<UIViewController>, #Optional.some!enumelt.1, scope 72 // user: %31
  13092. %31 = unchecked_ref_cast %30 : $UIViewController to $GPAViewController, scope 72 // user: %32
  13093. store %31 to [init] %4 : $*GPAViewController, scope 72 // id: %32
  13094. %33 = load [copy] %4 : $*GPAViewController, loc "GPAViewController.swift":25:43, scope 72 // user: %34
  13095. %34 = enum $Optional<GPAViewController>, #Optional.some!enumelt.1, %33 : $GPAViewController, scope 72 // user: %37
  13096. destroy_value %0 : $NSCoder, loc "GPAViewController.swift":25:43, scope 72 // id: %35
  13097. destroy_value %2 : ${ var GPAViewController }, loc "GPAViewController.swift":25:43, scope 72 // id: %36
  13098. br bb3(%34 : $Optional<GPAViewController>), loc "GPAViewController.swift":25:43, scope 72 // id: %37
  13099.  
  13100. bb2: // Preds: bb0
  13101. destroy_value %0 : $NSCoder, loc "GPAViewController.swift":25:43, scope 71 // id: %38
  13102. destroy_value %2 : ${ var GPAViewController }, loc "GPAViewController.swift":25:43, scope 71 // id: %39
  13103. %40 = enum $Optional<GPAViewController>, #Optional.none!enumelt, scope 71 // user: %41
  13104. br bb3(%40 : $Optional<GPAViewController>), scope 71 // id: %41
  13105.  
  13106. // %42 // user: %43
  13107. bb3(%42 : $Optional<GPAViewController>): // Preds: bb1 bb2
  13108. return %42 : $Optional<GPAViewController>, scope 71 // id: %43
  13109. } // end sil function '_TFC3gpa17GPAViewControllercfT5coderCSo7NSCoder_GSqS0__'
  13110.  
  13111. sil_scope 73 { loc "GPAViewController.swift":25:43 parent @_TToFC3gpa17GPAViewControllercfT5coderCSo7NSCoder_GSqS0__ : $@convention(objc_method) (NSCoder, @owned GPAViewController) -> @owned Optional<GPAViewController> }
  13112.  
  13113. // @objc GPAViewController.init(coder : NSCoder) -> GPAViewController?
  13114. sil hidden [thunk] @_TToFC3gpa17GPAViewControllercfT5coderCSo7NSCoder_GSqS0__ : $@convention(objc_method) (NSCoder, @owned GPAViewController) -> @owned Optional<GPAViewController> {
  13115. // %0 // user: %2
  13116. // %1 // user: %4
  13117. bb0(%0 : $NSCoder, %1 : $GPAViewController):
  13118. %2 = copy_value %0 : $NSCoder, scope 73 // user: %4
  13119. // function_ref GPAViewController.init(coder : NSCoder) -> GPAViewController?
  13120. %3 = function_ref @_TFC3gpa17GPAViewControllercfT5coderCSo7NSCoder_GSqS0__ : $@convention(method) (@owned NSCoder, @owned GPAViewController) -> @owned Optional<GPAViewController>, scope 73 // user: %4
  13121. %4 = apply %3(%2, %1) : $@convention(method) (@owned NSCoder, @owned GPAViewController) -> @owned Optional<GPAViewController>, scope 73 // user: %5
  13122. return %4 : $Optional<GPAViewController>, scope 73 // id: %5
  13123. } // end sil function '_TToFC3gpa17GPAViewControllercfT5coderCSo7NSCoder_GSqS0__'
  13124.  
  13125. sil_vtable GPAViewController {
  13126. #GPAViewController.viewWillAppear!1: _TFC3gpa17GPAViewController14viewWillAppearfSbT_ // GPAViewController.viewWillAppear(Bool) -> ()
  13127. #GPAViewController.viewDidLoad!1: _TFC3gpa17GPAViewController11viewDidLoadfT_T_ // GPAViewController.viewDidLoad() -> ()
  13128. #GPAViewController.didReceiveMemoryWarning!1: _TFC3gpa17GPAViewController23didReceiveMemoryWarningfT_T_ // GPAViewController.didReceiveMemoryWarning() -> ()
  13129. #GPAViewController.deinit!deallocator: _TFC3gpa17GPAViewControllerD // GPAViewController.__deallocating_deinit
  13130. #GPAViewController.westlakeGPALabel!getter.1: _TFC3gpa17GPAViewControllerg16westlakeGPALabelGSQCSo7UILabel_ // GPAViewController.westlakeGPALabel.getter
  13131. #GPAViewController.westlakeGPALabel!setter.1: _TFC3gpa17GPAViewControllers16westlakeGPALabelGSQCSo7UILabel_ // GPAViewController.westlakeGPALabel.setter
  13132. #GPAViewController.westlakeGPALabel!materializeForSet.1: _TFC3gpa17GPAViewControllerm16westlakeGPALabelGSQCSo7UILabel_ // GPAViewController.westlakeGPALabel.materializeForSet
  13133. #GPAViewController.standardGPALabel!getter.1: _TFC3gpa17GPAViewControllerg16standardGPALabelGSQCSo7UILabel_ // GPAViewController.standardGPALabel.getter
  13134. #GPAViewController.standardGPALabel!setter.1: _TFC3gpa17GPAViewControllers16standardGPALabelGSQCSo7UILabel_ // GPAViewController.standardGPALabel.setter
  13135. #GPAViewController.standardGPALabel!materializeForSet.1: _TFC3gpa17GPAViewControllerm16standardGPALabelGSQCSo7UILabel_ // GPAViewController.standardGPALabel.materializeForSet
  13136. #GPAViewController.letterGradeLabel!getter.1: _TFC3gpa17GPAViewControllerg16letterGradeLabelGSQCSo7UILabel_ // GPAViewController.letterGradeLabel.getter
  13137. #GPAViewController.letterGradeLabel!setter.1: _TFC3gpa17GPAViewControllers16letterGradeLabelGSQCSo7UILabel_ // GPAViewController.letterGradeLabel.setter
  13138. #GPAViewController.letterGradeLabel!materializeForSet.1: _TFC3gpa17GPAViewControllerm16letterGradeLabelGSQCSo7UILabel_ // GPAViewController.letterGradeLabel.materializeForSet
  13139. #GPAViewController.init!initializer.1: _TFC3gpa17GPAViewControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ // GPAViewController.init(nibName : String?, bundle : Bundle?) -> GPAViewController
  13140. #GPAViewController.init!allocator.1: _TFC3gpa17GPAViewControllerCfT5coderCSo7NSCoder_GSqS0__ // GPAViewController.__allocating_init(coder : NSCoder) -> GPAViewController?
  13141. #GPAViewController.init!initializer.1: _TFC3gpa17GPAViewControllercfT5coderCSo7NSCoder_GSqS0__ // GPAViewController.init(coder : NSCoder) -> GPAViewController?
  13142. }
  13143.  
  13144.  
  13145.  
  13146. sil_stage raw
  13147.  
  13148. import Builtin
  13149. import Swift
  13150. import SwiftShims
  13151.  
  13152. // globalinit_33_3A5F6B277642AB367D58FE672376E6D6_token0
  13153. sil_global private @globalinit_33_3A5F6B277642AB367D58FE672376E6D6_token0 : $Builtin.Word
  13154.  
  13155. // static Information.classesAndGrades
  13156. sil_global hidden @_TZvC3gpa11Information16classesAndGradesGSaS0__ : $Array<Information>
  13157.  
  13158. // globalinit_33_3A5F6B277642AB367D58FE672376E6D6_token1
  13159. sil_global private @globalinit_33_3A5F6B277642AB367D58FE672376E6D6_token1 : $Builtin.Word
  13160.  
  13161. // static Information.keyValueStore
  13162. sil_global hidden [let] @_TZvC3gpa11Information13keyValueStoreCSo25NSUbiquitousKeyValueStore : $NSUbiquitousKeyValueStore
  13163.  
  13164. sil_scope 1 { loc "Information.swift":27:12 parent @globalinit_33_3A5F6B277642AB367D58FE672376E6D6_func0 : $@convention(thin) () -> () }
  13165.  
  13166. // globalinit_33_3A5F6B277642AB367D58FE672376E6D6_func0
  13167. sil private @globalinit_33_3A5F6B277642AB367D58FE672376E6D6_func0 : $@convention(thin) () -> () {
  13168. bb0:
  13169. alloc_global @_TZvC3gpa11Information16classesAndGradesGSaS0__, loc "Information.swift":27:16, scope 1 // id: %0
  13170. %1 = global_addr @_TZvC3gpa11Information16classesAndGradesGSaS0__ : $*Array<Information>, loc "Information.swift":27:16, scope 1 // user: %5
  13171. // function_ref Array.init() -> [A]
  13172. %2 = function_ref @_TFSaCfT_GSax_ : $@convention(method) <τ_0_0> (@thin Array<τ_0_0>.Type) -> @owned Array<τ_0_0>, loc "Information.swift":27:47, scope 1 // user: %4
  13173. %3 = metatype $@thin Array<Information>.Type, loc "Information.swift":27:35, scope 1 // user: %4
  13174. %4 = apply %2<Information>(%3) : $@convention(method) <τ_0_0> (@thin Array<τ_0_0>.Type) -> @owned Array<τ_0_0>, loc "Information.swift":27:49, scope 1 // user: %5
  13175. store %4 to [init] %1 : $*Array<Information>, loc "Information.swift":27:49, scope 1 // id: %5
  13176. %6 = tuple (), loc "Information.swift":27:12, scope 1 // user: %7
  13177. return %6 : $(), loc "Information.swift":27:49, scope 1 // id: %7
  13178. } // end sil function 'globalinit_33_3A5F6B277642AB367D58FE672376E6D6_func0'
  13179.  
  13180.  
  13181. // Array.init() -> [A]
  13182. sil [_semantics "array.init"] @_TFSaCfT_GSax_ : $@convention(method) <τ_0_0> (@thin Array<τ_0_0>.Type) -> @owned Array<τ_0_0>
  13183.  
  13184. sil_scope 2 { loc "Information.swift":27:16 parent @_TFC3gpa11Informationau16classesAndGradesGSaS0__ : $@convention(thin) () -> Builtin.RawPointer }
  13185.  
  13186. // Information.classesAndGrades.unsafeMutableAddressor
  13187. sil hidden [global_init] @_TFC3gpa11Informationau16classesAndGradesGSaS0__ : $@convention(thin) () -> Builtin.RawPointer {
  13188. bb0:
  13189. %0 = global_addr @globalinit_33_3A5F6B277642AB367D58FE672376E6D6_token0 : $*Builtin.Word, loc "Information.swift":27:16, scope 2 // user: %1
  13190. %1 = address_to_pointer %0 : $*Builtin.Word to $Builtin.RawPointer, loc "Information.swift":27:16, scope 2 // user: %3
  13191. // function_ref globalinit_33_3A5F6B277642AB367D58FE672376E6D6_func0
  13192. %2 = function_ref @globalinit_33_3A5F6B277642AB367D58FE672376E6D6_func0 : $@convention(thin) () -> (), loc "Information.swift":27:16, scope 2 // user: %3
  13193. %3 = builtin "once"(%1 : $Builtin.RawPointer, %2 : $@convention(thin) () -> ()) : $(), loc "Information.swift":27:16, scope 2
  13194. %4 = global_addr @_TZvC3gpa11Information16classesAndGradesGSaS0__ : $*Array<Information>, loc "Information.swift":27:16, scope 2 // user: %5
  13195. %5 = address_to_pointer %4 : $*Array<Information> to $Builtin.RawPointer, loc "Information.swift":27:16, scope 2 // user: %6
  13196. return %5 : $Builtin.RawPointer, loc "Information.swift":27:16, scope 2 // id: %6
  13197. } // end sil function '_TFC3gpa11Informationau16classesAndGradesGSaS0__'
  13198.  
  13199. sil_scope 3 { loc "Information.swift":28:12 parent @globalinit_33_3A5F6B277642AB367D58FE672376E6D6_func1 : $@convention(thin) () -> () }
  13200.  
  13201. // globalinit_33_3A5F6B277642AB367D58FE672376E6D6_func1
  13202. sil private @globalinit_33_3A5F6B277642AB367D58FE672376E6D6_func1 : $@convention(thin) () -> () {
  13203. bb0:
  13204. alloc_global @_TZvC3gpa11Information13keyValueStoreCSo25NSUbiquitousKeyValueStore, loc "Information.swift":28:16, scope 3 // id: %0
  13205. %1 = global_addr @_TZvC3gpa11Information13keyValueStoreCSo25NSUbiquitousKeyValueStore : $*NSUbiquitousKeyValueStore, loc "Information.swift":28:16, scope 3 // user: %5
  13206. // function_ref NSUbiquitousKeyValueStore.__allocating_init() -> NSUbiquitousKeyValueStore
  13207. %2 = function_ref @_TFCSo25NSUbiquitousKeyValueStoreCfT_S_ : $@convention(method) (@thick NSUbiquitousKeyValueStore.Type) -> @owned NSUbiquitousKeyValueStore, loc "Information.swift":28:32, scope 3 // user: %4
  13208. %3 = metatype $@thick NSUbiquitousKeyValueStore.Type, loc "Information.swift":28:32, scope 3 // user: %4
  13209. %4 = apply %2(%3) : $@convention(method) (@thick NSUbiquitousKeyValueStore.Type) -> @owned NSUbiquitousKeyValueStore, loc "Information.swift":28:58, scope 3 // user: %5
  13210. store %4 to [init] %1 : $*NSUbiquitousKeyValueStore, loc "Information.swift":28:58, scope 3 // id: %5
  13211. %6 = tuple (), loc "Information.swift":28:12, scope 3 // user: %7
  13212. return %6 : $(), loc "Information.swift":28:58, scope 3 // id: %7
  13213. } // end sil function 'globalinit_33_3A5F6B277642AB367D58FE672376E6D6_func1'
  13214.  
  13215. sil_scope 4 { parent @_TFCSo25NSUbiquitousKeyValueStoreCfT_S_ : $@convention(method) (@thick NSUbiquitousKeyValueStore.Type) -> @owned NSUbiquitousKeyValueStore }
  13216.  
  13217. // NSUbiquitousKeyValueStore.__allocating_init() -> NSUbiquitousKeyValueStore
  13218. sil shared @_TFCSo25NSUbiquitousKeyValueStoreCfT_S_ : $@convention(method) (@thick NSUbiquitousKeyValueStore.Type) -> @owned NSUbiquitousKeyValueStore {
  13219. // %0 // user: %1
  13220. bb0(%0 : $@thick NSUbiquitousKeyValueStore.Type):
  13221. %1 = thick_to_objc_metatype %0 : $@thick NSUbiquitousKeyValueStore.Type to $@objc_metatype NSUbiquitousKeyValueStore.Type, scope 4 // user: %2
  13222. %2 = alloc_ref_dynamic [objc] %1 : $@objc_metatype NSUbiquitousKeyValueStore.Type, $NSUbiquitousKeyValueStore, scope 4 // user: %4
  13223. // function_ref @nonobjc NSUbiquitousKeyValueStore.init() -> NSUbiquitousKeyValueStore
  13224. %3 = function_ref @_TTOFCSo25NSUbiquitousKeyValueStorecfT_S_ : $@convention(method) (@owned NSUbiquitousKeyValueStore) -> @owned NSUbiquitousKeyValueStore, scope 4 // user: %4
  13225. %4 = apply %3(%2) : $@convention(method) (@owned NSUbiquitousKeyValueStore) -> @owned NSUbiquitousKeyValueStore, scope 4 // user: %5
  13226. return %4 : $NSUbiquitousKeyValueStore, scope 4 // id: %5
  13227. } // end sil function '_TFCSo25NSUbiquitousKeyValueStoreCfT_S_'
  13228.  
  13229. sil_scope 5 { loc "Information.swift":28:16 parent @_TFC3gpa11Informationau13keyValueStoreCSo25NSUbiquitousKeyValueStore : $@convention(thin) () -> Builtin.RawPointer }
  13230.  
  13231. // Information.keyValueStore.unsafeMutableAddressor
  13232. sil hidden [global_init] @_TFC3gpa11Informationau13keyValueStoreCSo25NSUbiquitousKeyValueStore : $@convention(thin) () -> Builtin.RawPointer {
  13233. bb0:
  13234. %0 = global_addr @globalinit_33_3A5F6B277642AB367D58FE672376E6D6_token1 : $*Builtin.Word, loc "Information.swift":28:16, scope 5 // user: %1
  13235. %1 = address_to_pointer %0 : $*Builtin.Word to $Builtin.RawPointer, loc "Information.swift":28:16, scope 5 // user: %3
  13236. // function_ref globalinit_33_3A5F6B277642AB367D58FE672376E6D6_func1
  13237. %2 = function_ref @globalinit_33_3A5F6B277642AB367D58FE672376E6D6_func1 : $@convention(thin) () -> (), loc "Information.swift":28:16, scope 5 // user: %3
  13238. %3 = builtin "once"(%1 : $Builtin.RawPointer, %2 : $@convention(thin) () -> ()) : $(), loc "Information.swift":28:16, scope 5
  13239. %4 = global_addr @_TZvC3gpa11Information13keyValueStoreCSo25NSUbiquitousKeyValueStore : $*NSUbiquitousKeyValueStore, loc "Information.swift":28:16, scope 5 // user: %5
  13240. %5 = address_to_pointer %4 : $*NSUbiquitousKeyValueStore to $Builtin.RawPointer, loc "Information.swift":28:16, scope 5 // user: %6
  13241. return %5 : $Builtin.RawPointer, loc "Information.swift":28:16, scope 5 // id: %6
  13242. } // end sil function '_TFC3gpa11Informationau13keyValueStoreCSo25NSUbiquitousKeyValueStore'
  13243.  
  13244. sil_scope 6 { parent @_TToFC3gpa11Informationg4nameSS : $@convention(objc_method) (Information) -> @autoreleased NSString }
  13245.  
  13246. // @objc Information.name.getter
  13247. sil hidden [thunk] @_TToFC3gpa11Informationg4nameSS : $@convention(objc_method) (Information) -> @autoreleased NSString {
  13248. // %0 // user: %1
  13249. bb0(%0 : $Information):
  13250. %1 = copy_value %0 : $Information, scope 6 // users: %4, %3
  13251. // function_ref Information.name.getter
  13252. %2 = function_ref @_TFC3gpa11Informationg4nameSS : $@convention(method) (@guaranteed Information) -> @owned String, scope 6 // user: %3
  13253. %3 = apply %2(%1) : $@convention(method) (@guaranteed Information) -> @owned String, scope 6 // users: %7, %6
  13254. destroy_value %1 : $Information, scope 6 // id: %4
  13255. // function_ref String._bridgeToObjectiveC() -> NSString
  13256. %5 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, scope 6 // user: %6
  13257. %6 = apply %5(%3) : $@convention(method) (@guaranteed String) -> @owned NSString, scope 6 // user: %8
  13258. destroy_value %3 : $String, scope 6 // id: %7
  13259. return %6 : $NSString, scope 6 // id: %8
  13260. } // end sil function '_TToFC3gpa11Informationg4nameSS'
  13261.  
  13262. sil_scope 7 { loc "Information.swift":30:9 parent @_TFC3gpa11Informationg4nameSS : $@convention(method) (@guaranteed Information) -> @owned String }
  13263. sil_scope 8 { loc "Information.swift":30:9 parent 7 }
  13264.  
  13265. // Information.name.getter
  13266. sil hidden @_TFC3gpa11Informationg4nameSS : $@convention(method) (@guaranteed Information) -> @owned String {
  13267. // %0 // users: %2, %1
  13268. bb0(%0 : $Information):
  13269. debug_value %0 : $Information, let, name "self", argno 1, loc "Information.swift":30:9, scope 7 // id: %1
  13270. %2 = ref_element_addr %0 : $Information, #Information.name, scope 8 // user: %3
  13271. %3 = load [copy] %2 : $*String, scope 8 // user: %4
  13272. return %3 : $String, loc "Information.swift":30:9, scope 8 // id: %4
  13273. } // end sil function '_TFC3gpa11Informationg4nameSS'
  13274.  
  13275.  
  13276. // String._bridgeToObjectiveC() -> NSString
  13277. sil [_semantics "convertToObjectiveC"] @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString
  13278.  
  13279. sil_scope 9 { parent @_TToFC3gpa11Informations4nameSS : $@convention(objc_method) (NSString, Information) -> () }
  13280.  
  13281. // @objc Information.name.setter
  13282. sil hidden [thunk] @_TToFC3gpa11Informations4nameSS : $@convention(objc_method) (NSString, Information) -> () {
  13283. // %0 // user: %2
  13284. // %1 // user: %3
  13285. bb0(%0 : $NSString, %1 : $Information):
  13286. %2 = copy_value %0 : $NSString, scope 9 // user: %5
  13287. %3 = copy_value %1 : $Information, scope 9 // users: %10, %9
  13288. // function_ref static String._unconditionallyBridgeFromObjectiveC(NSString?) -> String
  13289. %4 = function_ref @_TZFE10FoundationSS36_unconditionallyBridgeFromObjectiveCfGSqCSo8NSString_SS : $@convention(method) (@owned Optional<NSString>, @thin String.Type) -> @owned String, scope 9 // user: %7
  13290. %5 = enum $Optional<NSString>, #Optional.some!enumelt.1, %2 : $NSString, scope 9 // user: %7
  13291. %6 = metatype $@thin String.Type, scope 9 // user: %7
  13292. %7 = apply %4(%5, %6) : $@convention(method) (@owned Optional<NSString>, @thin String.Type) -> @owned String, scope 9 // user: %9
  13293. // function_ref Information.name.setter
  13294. %8 = function_ref @_TFC3gpa11Informations4nameSS : $@convention(method) (@owned String, @guaranteed Information) -> (), scope 9 // user: %9
  13295. %9 = apply %8(%7, %3) : $@convention(method) (@owned String, @guaranteed Information) -> (), scope 9 // user: %11
  13296. destroy_value %3 : $Information, scope 9 // id: %10
  13297. return %9 : $(), scope 9 // id: %11
  13298. } // end sil function '_TToFC3gpa11Informations4nameSS'
  13299.  
  13300. sil_scope 10 { loc "Information.swift":30:9 parent @_TFC3gpa11Informations4nameSS : $@convention(method) (@owned String, @guaranteed Information) -> () }
  13301. sil_scope 11 { loc "Information.swift":30:9 parent 10 }
  13302.  
  13303. // Information.name.setter
  13304. sil hidden @_TFC3gpa11Informations4nameSS : $@convention(method) (@owned String, @guaranteed Information) -> () {
  13305. // %0 // users: %7, %4, %2
  13306. // %1 // users: %5, %3
  13307. bb0(%0 : $String, %1 : $Information):
  13308. debug_value %0 : $String, let, name "value", argno 1, loc "Information.swift":30:9, scope 10 // id: %2
  13309. debug_value %1 : $Information, let, name "self", argno 2, loc "Information.swift":30:9, scope 10 // id: %3
  13310. %4 = copy_value %0 : $String, scope 11 // user: %6
  13311. %5 = ref_element_addr %1 : $Information, #Information.name, scope 11 // user: %6
  13312. assign %4 to %5 : $*String, scope 11 // id: %6
  13313. destroy_value %0 : $String, loc "Information.swift":30:9, scope 11 // id: %7
  13314. %8 = tuple (), loc "Information.swift":30:9, scope 11 // user: %9
  13315. return %8 : $(), loc "Information.swift":30:9, scope 11 // id: %9
  13316. } // end sil function '_TFC3gpa11Informations4nameSS'
  13317.  
  13318.  
  13319. // static String._unconditionallyBridgeFromObjectiveC(NSString?) -> String
  13320. sil @_TZFE10FoundationSS36_unconditionallyBridgeFromObjectiveCfGSqCSo8NSString_SS : $@convention(method) (@owned Optional<NSString>, @thin String.Type) -> @owned String
  13321.  
  13322. sil_scope 12 { parent @_TToFC3gpa11Informationg5gradeSi : $@convention(objc_method) (Information) -> Int }
  13323.  
  13324. // @objc Information.grade.getter
  13325. sil hidden [thunk] @_TToFC3gpa11Informationg5gradeSi : $@convention(objc_method) (Information) -> Int {
  13326. // %0 // user: %1
  13327. bb0(%0 : $Information):
  13328. %1 = copy_value %0 : $Information, scope 12 // users: %4, %3
  13329. // function_ref Information.grade.getter
  13330. %2 = function_ref @_TFC3gpa11Informationg5gradeSi : $@convention(method) (@guaranteed Information) -> Int, scope 12 // user: %3
  13331. %3 = apply %2(%1) : $@convention(method) (@guaranteed Information) -> Int, scope 12 // user: %5
  13332. destroy_value %1 : $Information, scope 12 // id: %4
  13333. return %3 : $Int, scope 12 // id: %5
  13334. } // end sil function '_TToFC3gpa11Informationg5gradeSi'
  13335.  
  13336. sil_scope 13 { loc "Information.swift":31:9 parent @_TFC3gpa11Informationg5gradeSi : $@convention(method) (@guaranteed Information) -> Int }
  13337. sil_scope 14 { loc "Information.swift":31:9 parent 13 }
  13338.  
  13339. // Information.grade.getter
  13340. sil hidden @_TFC3gpa11Informationg5gradeSi : $@convention(method) (@guaranteed Information) -> Int {
  13341. // %0 // users: %2, %1
  13342. bb0(%0 : $Information):
  13343. debug_value %0 : $Information, let, name "self", argno 1, loc "Information.swift":31:9, scope 13 // id: %1
  13344. %2 = ref_element_addr %0 : $Information, #Information.grade, scope 14 // user: %3
  13345. %3 = load [trivial] %2 : $*Int, scope 14 // user: %4
  13346. return %3 : $Int, loc "Information.swift":31:9, scope 14 // id: %4
  13347. } // end sil function '_TFC3gpa11Informationg5gradeSi'
  13348.  
  13349. sil_scope 15 { parent @_TToFC3gpa11Informations5gradeSi : $@convention(objc_method) (Int, Information) -> () }
  13350.  
  13351. // @objc Information.grade.setter
  13352. sil hidden [thunk] @_TToFC3gpa11Informations5gradeSi : $@convention(objc_method) (Int, Information) -> () {
  13353. // %0 // user: %4
  13354. // %1 // user: %2
  13355. bb0(%0 : $Int, %1 : $Information):
  13356. %2 = copy_value %1 : $Information, scope 15 // users: %5, %4
  13357. // function_ref Information.grade.setter
  13358. %3 = function_ref @_TFC3gpa11Informations5gradeSi : $@convention(method) (Int, @guaranteed Information) -> (), scope 15 // user: %4
  13359. %4 = apply %3(%0, %2) : $@convention(method) (Int, @guaranteed Information) -> (), scope 15 // user: %6
  13360. destroy_value %2 : $Information, scope 15 // id: %5
  13361. return %4 : $(), scope 15 // id: %6
  13362. } // end sil function '_TToFC3gpa11Informations5gradeSi'
  13363.  
  13364. sil_scope 16 { loc "Information.swift":31:9 parent @_TFC3gpa11Informations5gradeSi : $@convention(method) (Int, @guaranteed Information) -> () }
  13365. sil_scope 17 { loc "Information.swift":31:9 parent 16 }
  13366.  
  13367. // Information.grade.setter
  13368. sil hidden @_TFC3gpa11Informations5gradeSi : $@convention(method) (Int, @guaranteed Information) -> () {
  13369. // %0 // users: %5, %2
  13370. // %1 // users: %4, %3
  13371. bb0(%0 : $Int, %1 : $Information):
  13372. debug_value %0 : $Int, let, name "value", argno 1, loc "Information.swift":31:9, scope 16 // id: %2
  13373. debug_value %1 : $Information, let, name "self", argno 2, loc "Information.swift":31:9, scope 16 // id: %3
  13374. %4 = ref_element_addr %1 : $Information, #Information.grade, scope 17 // user: %5
  13375. assign %0 to %4 : $*Int, scope 17 // id: %5
  13376. %6 = tuple (), loc "Information.swift":31:9, scope 17 // user: %7
  13377. return %6 : $(), loc "Information.swift":31:9, scope 17 // id: %7
  13378. } // end sil function '_TFC3gpa11Informations5gradeSi'
  13379.  
  13380. sil_scope 18 { parent @_TToFC3gpa11Informationg10multiplierSd : $@convention(objc_method) (Information) -> Double }
  13381.  
  13382. // @objc Information.multiplier.getter
  13383. sil hidden [thunk] @_TToFC3gpa11Informationg10multiplierSd : $@convention(objc_method) (Information) -> Double {
  13384. // %0 // user: %1
  13385. bb0(%0 : $Information):
  13386. %1 = copy_value %0 : $Information, scope 18 // users: %4, %3
  13387. // function_ref Information.multiplier.getter
  13388. %2 = function_ref @_TFC3gpa11Informationg10multiplierSd : $@convention(method) (@guaranteed Information) -> Double, scope 18 // user: %3
  13389. %3 = apply %2(%1) : $@convention(method) (@guaranteed Information) -> Double, scope 18 // user: %5
  13390. destroy_value %1 : $Information, scope 18 // id: %4
  13391. return %3 : $Double, scope 18 // id: %5
  13392. } // end sil function '_TToFC3gpa11Informationg10multiplierSd'
  13393.  
  13394. sil_scope 19 { loc "Information.swift":32:9 parent @_TFC3gpa11Informationg10multiplierSd : $@convention(method) (@guaranteed Information) -> Double }
  13395. sil_scope 20 { loc "Information.swift":32:9 parent 19 }
  13396.  
  13397. // Information.multiplier.getter
  13398. sil hidden @_TFC3gpa11Informationg10multiplierSd : $@convention(method) (@guaranteed Information) -> Double {
  13399. // %0 // users: %2, %1
  13400. bb0(%0 : $Information):
  13401. debug_value %0 : $Information, let, name "self", argno 1, loc "Information.swift":32:9, scope 19 // id: %1
  13402. %2 = ref_element_addr %0 : $Information, #Information.multiplier, scope 20 // user: %3
  13403. %3 = load [trivial] %2 : $*Double, scope 20 // user: %4
  13404. return %3 : $Double, loc "Information.swift":32:9, scope 20 // id: %4
  13405. } // end sil function '_TFC3gpa11Informationg10multiplierSd'
  13406.  
  13407. sil_scope 21 { parent @_TToFC3gpa11Informations10multiplierSd : $@convention(objc_method) (Double, Information) -> () }
  13408.  
  13409. // @objc Information.multiplier.setter
  13410. sil hidden [thunk] @_TToFC3gpa11Informations10multiplierSd : $@convention(objc_method) (Double, Information) -> () {
  13411. // %0 // user: %4
  13412. // %1 // user: %2
  13413. bb0(%0 : $Double, %1 : $Information):
  13414. %2 = copy_value %1 : $Information, scope 21 // users: %5, %4
  13415. // function_ref Information.multiplier.setter
  13416. %3 = function_ref @_TFC3gpa11Informations10multiplierSd : $@convention(method) (Double, @guaranteed Information) -> (), scope 21 // user: %4
  13417. %4 = apply %3(%0, %2) : $@convention(method) (Double, @guaranteed Information) -> (), scope 21 // user: %6
  13418. destroy_value %2 : $Information, scope 21 // id: %5
  13419. return %4 : $(), scope 21 // id: %6
  13420. } // end sil function '_TToFC3gpa11Informations10multiplierSd'
  13421.  
  13422. sil_scope 22 { loc "Information.swift":32:9 parent @_TFC3gpa11Informations10multiplierSd : $@convention(method) (Double, @guaranteed Information) -> () }
  13423. sil_scope 23 { loc "Information.swift":32:9 parent 22 }
  13424.  
  13425. // Information.multiplier.setter
  13426. sil hidden @_TFC3gpa11Informations10multiplierSd : $@convention(method) (Double, @guaranteed Information) -> () {
  13427. // %0 // users: %5, %2
  13428. // %1 // users: %4, %3
  13429. bb0(%0 : $Double, %1 : $Information):
  13430. debug_value %0 : $Double, let, name "value", argno 1, loc "Information.swift":32:9, scope 22 // id: %2
  13431. debug_value %1 : $Information, let, name "self", argno 2, loc "Information.swift":32:9, scope 22 // id: %3
  13432. %4 = ref_element_addr %1 : $Information, #Information.multiplier, scope 23 // user: %5
  13433. assign %0 to %4 : $*Double, scope 23 // id: %5
  13434. %6 = tuple (), loc "Information.swift":32:9, scope 23 // user: %7
  13435. return %6 : $(), loc "Information.swift":32:9, scope 23 // id: %7
  13436. } // end sil function '_TFC3gpa11Informations10multiplierSd'
  13437.  
  13438. sil_scope 24 { parent @_TToFC3gpa11Informationg7creditsSd : $@convention(objc_method) (Information) -> Double }
  13439.  
  13440. // @objc Information.credits.getter
  13441. sil hidden [thunk] @_TToFC3gpa11Informationg7creditsSd : $@convention(objc_method) (Information) -> Double {
  13442. // %0 // user: %1
  13443. bb0(%0 : $Information):
  13444. %1 = copy_value %0 : $Information, scope 24 // users: %4, %3
  13445. // function_ref Information.credits.getter
  13446. %2 = function_ref @_TFC3gpa11Informationg7creditsSd : $@convention(method) (@guaranteed Information) -> Double, scope 24 // user: %3
  13447. %3 = apply %2(%1) : $@convention(method) (@guaranteed Information) -> Double, scope 24 // user: %5
  13448. destroy_value %1 : $Information, scope 24 // id: %4
  13449. return %3 : $Double, scope 24 // id: %5
  13450. } // end sil function '_TToFC3gpa11Informationg7creditsSd'
  13451.  
  13452. sil_scope 25 { loc "Information.swift":33:9 parent @_TFC3gpa11Informationg7creditsSd : $@convention(method) (@guaranteed Information) -> Double }
  13453. sil_scope 26 { loc "Information.swift":33:9 parent 25 }
  13454.  
  13455. // Information.credits.getter
  13456. sil hidden @_TFC3gpa11Informationg7creditsSd : $@convention(method) (@guaranteed Information) -> Double {
  13457. // %0 // users: %2, %1
  13458. bb0(%0 : $Information):
  13459. debug_value %0 : $Information, let, name "self", argno 1, loc "Information.swift":33:9, scope 25 // id: %1
  13460. %2 = ref_element_addr %0 : $Information, #Information.credits, scope 26 // user: %3
  13461. %3 = load [trivial] %2 : $*Double, scope 26 // user: %4
  13462. return %3 : $Double, loc "Information.swift":33:9, scope 26 // id: %4
  13463. } // end sil function '_TFC3gpa11Informationg7creditsSd'
  13464.  
  13465. sil_scope 27 { parent @_TToFC3gpa11Informations7creditsSd : $@convention(objc_method) (Double, Information) -> () }
  13466.  
  13467. // @objc Information.credits.setter
  13468. sil hidden [thunk] @_TToFC3gpa11Informations7creditsSd : $@convention(objc_method) (Double, Information) -> () {
  13469. // %0 // user: %4
  13470. // %1 // user: %2
  13471. bb0(%0 : $Double, %1 : $Information):
  13472. %2 = copy_value %1 : $Information, scope 27 // users: %5, %4
  13473. // function_ref Information.credits.setter
  13474. %3 = function_ref @_TFC3gpa11Informations7creditsSd : $@convention(method) (Double, @guaranteed Information) -> (), scope 27 // user: %4
  13475. %4 = apply %3(%0, %2) : $@convention(method) (Double, @guaranteed Information) -> (), scope 27 // user: %6
  13476. destroy_value %2 : $Information, scope 27 // id: %5
  13477. return %4 : $(), scope 27 // id: %6
  13478. } // end sil function '_TToFC3gpa11Informations7creditsSd'
  13479.  
  13480. sil_scope 28 { loc "Information.swift":33:9 parent @_TFC3gpa11Informations7creditsSd : $@convention(method) (Double, @guaranteed Information) -> () }
  13481. sil_scope 29 { loc "Information.swift":33:9 parent 28 }
  13482.  
  13483. // Information.credits.setter
  13484. sil hidden @_TFC3gpa11Informations7creditsSd : $@convention(method) (Double, @guaranteed Information) -> () {
  13485. // %0 // users: %5, %2
  13486. // %1 // users: %4, %3
  13487. bb0(%0 : $Double, %1 : $Information):
  13488. debug_value %0 : $Double, let, name "value", argno 1, loc "Information.swift":33:9, scope 28 // id: %2
  13489. debug_value %1 : $Information, let, name "self", argno 2, loc "Information.swift":33:9, scope 28 // id: %3
  13490. %4 = ref_element_addr %1 : $Information, #Information.credits, scope 29 // user: %5
  13491. assign %0 to %4 : $*Double, scope 29 // id: %5
  13492. %6 = tuple (), loc "Information.swift":33:9, scope 29 // user: %7
  13493. return %6 : $(), loc "Information.swift":33:9, scope 29 // id: %7
  13494. } // end sil function '_TFC3gpa11Informations7creditsSd'
  13495.  
  13496. sil_scope 30 { loc "Information.swift":36:12 parent @_TFC3gpa11InformationcfTSS5gradeSi10multiplierSd7creditsSd_S0_ : $@convention(method) (@owned String, Int, Double, Double, @owned Information) -> @owned Information }
  13497. sil_scope 31 { loc "Information.swift":41:5 parent 30 }
  13498.  
  13499. // Information.init(String, grade : Int, multiplier : Double, credits : Double) -> Information
  13500. sil hidden @_TFC3gpa11InformationcfTSS5gradeSi10multiplierSd7creditsSd_S0_ : $@convention(method) (@owned String, Int, Double, Double, @owned Information) -> @owned Information {
  13501. // %0 // users: %33, %14, %8
  13502. // %1 // users: %19, %9
  13503. // %2 // users: %22, %10
  13504. // %3 // users: %25, %11
  13505. // %4 // user: %12
  13506. bb0(%0 : $String, %1 : $Int, %2 : $Double, %3 : $Double, %4 : $Information):
  13507. %5 = alloc_box ${ var Information }, let, name "self", loc "Information.swift":36:12, scope 30 // users: %34, %6
  13508. %6 = project_box %5 : ${ var Information }, 0, loc "Information.swift":36:12, scope 30 // user: %7
  13509. %7 = mark_uninitialized [derivedself] %6 : $*Information, loc "Information.swift":36:12, scope 30 // users: %32, %31, %26, %23, %20, %17, %13, %12
  13510. debug_value %0 : $String, let, name "name", argno 1, loc "Information.swift":36:19, scope 30 // id: %8
  13511. debug_value %1 : $Int, let, name "grade", argno 2, loc "Information.swift":36:33, scope 30 // id: %9
  13512. debug_value %2 : $Double, let, name "multiplier", argno 3, loc "Information.swift":36:45, scope 30 // id: %10
  13513. debug_value %3 : $Double, let, name "credits", argno 4, loc "Information.swift":36:65, scope 30 // id: %11
  13514. store %4 to [init] %7 : $*Information, loc "Information.swift":36:12, scope 30 // id: %12
  13515. %13 = load_borrow %7 : $*Information, loc "Information.swift":37:9, scope 31 // user: %15
  13516. %14 = copy_value %0 : $String, loc "Information.swift":37:21, scope 31 // user: %16
  13517. %15 = ref_element_addr %13 : $Information, #Information.name, loc "Information.swift":37:19, scope 31 // user: %16
  13518. assign %14 to %15 : $*String, loc "Information.swift":37:19, scope 31 // id: %16
  13519. %17 = load_borrow %7 : $*Information, loc "Information.swift":38:9, scope 31 // user: %18
  13520. %18 = ref_element_addr %17 : $Information, #Information.grade, loc "Information.swift":38:20, scope 31 // user: %19
  13521. assign %1 to %18 : $*Int, loc "Information.swift":38:20, scope 31 // id: %19
  13522. %20 = load_borrow %7 : $*Information, loc "Information.swift":39:9, scope 31 // user: %21
  13523. %21 = ref_element_addr %20 : $Information, #Information.multiplier, loc "Information.swift":39:25, scope 31 // user: %22
  13524. assign %2 to %21 : $*Double, loc "Information.swift":39:25, scope 31 // id: %22
  13525. %23 = load_borrow %7 : $*Information, loc "Information.swift":40:9, scope 31 // user: %24
  13526. %24 = ref_element_addr %23 : $Information, #Information.credits, loc "Information.swift":40:22, scope 31 // user: %25
  13527. assign %3 to %24 : $*Double, loc "Information.swift":40:22, scope 31 // id: %25
  13528. %26 = load_borrow %7 : $*Information, scope 31 // users: %28, %27
  13529. %27 = upcast %26 : $Information to $NSObject, scope 31 // user: %29
  13530. %28 = super_method [volatile] %26 : $Information, #NSObject.init!initializer.1.foreign : (NSObject.Type) -> () -> NSObject , $@convention(objc_method) (@owned NSObject) -> @owned NSObject, scope 31 // user: %29
  13531. %29 = apply %28(%27) : $@convention(objc_method) (@owned NSObject) -> @owned NSObject, scope 31 // user: %30
  13532. %30 = unchecked_ref_cast %29 : $NSObject to $Information, scope 31 // user: %31
  13533. store %30 to [init] %7 : $*Information, scope 31 // id: %31
  13534. %32 = load [copy] %7 : $*Information, loc "Information.swift":41:5, scope 31 // user: %35
  13535. destroy_value %0 : $String, loc "Information.swift":41:5, scope 31 // id: %33
  13536. destroy_value %5 : ${ var Information }, loc "Information.swift":41:5, scope 31 // id: %34
  13537. return %32 : $Information, loc "Information.swift":41:5, scope 31 // id: %35
  13538. } // end sil function '_TFC3gpa11InformationcfTSS5gradeSi10multiplierSd7creditsSd_S0_'
  13539.  
  13540. sil_scope 32 { loc "Information.swift":36:12 parent @_TFC3gpa11InformationCfTSS5gradeSi10multiplierSd7creditsSd_S0_ : $@convention(method) (@owned String, Int, Double, Double, @thick Information.Type) -> @owned Information }
  13541.  
  13542. // Information.__allocating_init(String, grade : Int, multiplier : Double, credits : Double) -> Information
  13543. sil hidden @_TFC3gpa11InformationCfTSS5gradeSi10multiplierSd7creditsSd_S0_ : $@convention(method) (@owned String, Int, Double, Double, @thick Information.Type) -> @owned Information {
  13544. // %0 // user: %7
  13545. // %1 // user: %7
  13546. // %2 // user: %7
  13547. // %3 // user: %7
  13548. bb0(%0 : $String, %1 : $Int, %2 : $Double, %3 : $Double, %4 : $@thick Information.Type):
  13549. %5 = alloc_ref [objc] $Information, scope 32 // user: %7
  13550. // function_ref Information.init(String, grade : Int, multiplier : Double, credits : Double) -> Information
  13551. %6 = function_ref @_TFC3gpa11InformationcfTSS5gradeSi10multiplierSd7creditsSd_S0_ : $@convention(method) (@owned String, Int, Double, Double, @owned Information) -> @owned Information, scope 32 // user: %7
  13552. %7 = apply %6(%0, %1, %2, %3, %5) : $@convention(method) (@owned String, Int, Double, Double, @owned Information) -> @owned Information, scope 32 // user: %8
  13553. return %7 : $Information, scope 32 // id: %8
  13554. } // end sil function '_TFC3gpa11InformationCfTSS5gradeSi10multiplierSd7creditsSd_S0_'
  13555.  
  13556. sil_scope 33 { loc "Information.swift":36:12 parent @_TToFC3gpa11InformationcfTSS5gradeSi10multiplierSd7creditsSd_S0_ : $@convention(objc_method) (NSString, Int, Double, Double, @owned Information) -> @owned Information }
  13557.  
  13558. // @objc Information.init(String, grade : Int, multiplier : Double, credits : Double) -> Information
  13559. sil hidden [thunk] @_TToFC3gpa11InformationcfTSS5gradeSi10multiplierSd7creditsSd_S0_ : $@convention(objc_method) (NSString, Int, Double, Double, @owned Information) -> @owned Information {
  13560. // %0 // user: %5
  13561. // %1 // user: %11
  13562. // %2 // user: %11
  13563. // %3 // user: %11
  13564. // %4 // user: %11
  13565. bb0(%0 : $NSString, %1 : $Int, %2 : $Double, %3 : $Double, %4 : $Information):
  13566. %5 = copy_value %0 : $NSString, scope 33 // user: %7
  13567. // function_ref static String._unconditionallyBridgeFromObjectiveC(NSString?) -> String
  13568. %6 = function_ref @_TZFE10FoundationSS36_unconditionallyBridgeFromObjectiveCfGSqCSo8NSString_SS : $@convention(method) (@owned Optional<NSString>, @thin String.Type) -> @owned String, scope 33 // user: %9
  13569. %7 = enum $Optional<NSString>, #Optional.some!enumelt.1, %5 : $NSString, scope 33 // user: %9
  13570. %8 = metatype $@thin String.Type, scope 33 // user: %9
  13571. %9 = apply %6(%7, %8) : $@convention(method) (@owned Optional<NSString>, @thin String.Type) -> @owned String, scope 33 // user: %11
  13572. // function_ref Information.init(String, grade : Int, multiplier : Double, credits : Double) -> Information
  13573. %10 = function_ref @_TFC3gpa11InformationcfTSS5gradeSi10multiplierSd7creditsSd_S0_ : $@convention(method) (@owned String, Int, Double, Double, @owned Information) -> @owned Information, scope 33 // user: %11
  13574. %11 = apply %10(%9, %1, %2, %3, %4) : $@convention(method) (@owned String, Int, Double, Double, @owned Information) -> @owned Information, scope 33 // user: %12
  13575. return %11 : $Information, scope 33 // id: %12
  13576. } // end sil function '_TToFC3gpa11InformationcfTSS5gradeSi10multiplierSd7creditsSd_S0_'
  13577.  
  13578. sil_scope 34 { loc "Information.swift":43:33 parent @_TFC3gpa11InformationCfT5coderCSo7NSCoder_GSqS0__ : $@convention(method) (@owned NSCoder, @thick Information.Type) -> @owned Optional<Information> }
  13579.  
  13580. // Information.__allocating_init(coder : NSCoder) -> Information?
  13581. sil hidden @_TFC3gpa11InformationCfT5coderCSo7NSCoder_GSqS0__ : $@convention(method) (@owned NSCoder, @thick Information.Type) -> @owned Optional<Information> {
  13582. // %0 // user: %5
  13583. // %1 // user: %2
  13584. bb0(%0 : $NSCoder, %1 : $@thick Information.Type):
  13585. %2 = thick_to_objc_metatype %1 : $@thick Information.Type to $@objc_metatype Information.Type, scope 34 // user: %3
  13586. %3 = alloc_ref_dynamic [objc] %2 : $@objc_metatype Information.Type, $Information, scope 34 // user: %5
  13587. // function_ref Information.init(coder : NSCoder) -> Information?
  13588. %4 = function_ref @_TFC3gpa11InformationcfT5coderCSo7NSCoder_GSqS0__ : $@convention(method) (@owned NSCoder, @owned Information) -> @owned Optional<Information>, scope 34 // user: %5
  13589. %5 = apply %4(%0, %3) : $@convention(method) (@owned NSCoder, @owned Information) -> @owned Optional<Information>, scope 34 // user: %6
  13590. return %5 : $Optional<Information>, scope 34 // id: %6
  13591. } // end sil function '_TFC3gpa11InformationCfT5coderCSo7NSCoder_GSqS0__'
  13592.  
  13593. sil_scope 35 { loc "Information.swift":43:33 parent @_TFC3gpa11InformationcfT5coderCSo7NSCoder_GSqS0__ : $@convention(method) (@owned NSCoder, @owned Information) -> @owned Optional<Information> }
  13594. sil_scope 36 { loc "Information.swift":49:5 parent 35 }
  13595. sil_scope 37 { loc "Information.swift":44:62 parent 36 }
  13596.  
  13597. // Information.init(coder : NSCoder) -> Information?
  13598. sil hidden @_TFC3gpa11InformationcfT5coderCSo7NSCoder_GSqS0__ : $@convention(method) (@owned NSCoder, @owned Information) -> @owned Optional<Information> {
  13599. // %0 // users: %130, %111, %102, %98, %89, %85, %76, %18, %9, %133, %5
  13600. // %1 // user: %6
  13601. bb0(%0 : $NSCoder, %1 : $Information):
  13602. %2 = alloc_box ${ var Information }, let, name "self", loc "Information.swift":43:33, scope 35 // users: %131, %134, %3
  13603. %3 = project_box %2 : ${ var Information }, 0, loc "Information.swift":43:33, scope 35 // user: %4
  13604. %4 = mark_uninitialized [delegatingself] %3 : $*Information, loc "Information.swift":43:33, scope 35 // users: %128, %119, %115, %6
  13605. debug_value %0 : $NSCoder, let, name "aDecoder", argno 1, loc "Information.swift":43:45, scope 35 // id: %5
  13606. store %1 to [init] %4 : $*Information, loc "Information.swift":43:33, scope 35 // id: %6
  13607. // function_ref ?? infix<A> (A?, @autoclosure () throws -> A) throws -> A
  13608. %7 = function_ref @_TFsoi2qqurFzTGSqx_KzT_x_x : $@convention(thin) <τ_0_0> (@in Optional<τ_0_0>, @owned @callee_owned () -> (@out τ_0_0, @error Error)) -> (@out τ_0_0, @error Error), loc "Information.swift":44:69, scope 36 // user: %70
  13609. %8 = alloc_stack $Optional<Any>, loc "Information.swift":44:29, scope 36 // users: %60, %46, %44, %39, %36
  13610. %9 = class_method [volatile] %0 : $NSCoder, #NSCoder.decodeObject!1.foreign : (NSCoder) -> (String) -> Any? , $@convention(objc_method) (NSString, NSCoder) -> @autoreleased Optional<AnyObject>, loc "Information.swift":44:29, scope 36 // user: %18
  13611. %10 = string_literal utf8 "name", loc "Information.swift":44:50, scope 36 // user: %15
  13612. %11 = integer_literal $Builtin.Word, 4, loc "Information.swift":44:50, scope 36 // user: %15
  13613. %12 = integer_literal $Builtin.Int1, -1, loc "Information.swift":44:50, scope 36 // user: %15
  13614. %13 = metatype $@thin String.Type, loc "Information.swift":44:50, scope 36 // user: %15
  13615. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  13616. %14 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "Information.swift":44:50, scope 36 // user: %15
  13617. %15 = apply %14(%10, %11, %12, %13) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "Information.swift":44:50, scope 36 // users: %59, %43, %17
  13618. // function_ref String._bridgeToObjectiveC() -> NSString
  13619. %16 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "Information.swift":44:50, scope 36 // user: %17
  13620. %17 = apply %16(%15) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "Information.swift":44:50, scope 36 // users: %58, %42, %18
  13621. %18 = apply %9(%17, %0) : $@convention(objc_method) (NSString, NSCoder) -> @autoreleased Optional<AnyObject>, loc "Information.swift":44:56, scope 36 // users: %24, %22
  13622. %19 = alloc_stack $Optional<Any>, loc "Information.swift":44:56, scope 36 // users: %57, %41, %36, %34, %31, %29
  13623. %20 = integer_literal $Builtin.Int1, -1, loc "Information.swift":44:56, scope 36 // user: %22
  13624. %21 = integer_literal $Builtin.Int1, 0, loc "Information.swift":44:56, scope 36 // user: %22
  13625. %22 = select_enum %18 : $Optional<AnyObject>, case #Optional.some!enumelt.1: %20, default %21 : $Builtin.Int1, loc "Information.swift":44:56, scope 36 // user: %23
  13626. cond_br %22, bb1, bb2, loc "Information.swift":44:56, scope 36 // id: %23
  13627.  
  13628. bb1: // Preds: bb0
  13629. %24 = unchecked_enum_data %18 : $Optional<AnyObject>, #Optional.some!enumelt.1, loc "Information.swift":44:56, scope 36 // user: %25
  13630. %25 = unchecked_ref_cast %24 : $AnyObject to $Optional<AnyObject>, loc "Information.swift":44:56, scope 36 // user: %28
  13631. // function_ref _bridgeAnyObjectToAny(AnyObject?) -> Any
  13632. %26 = function_ref @_TFs21_bridgeAnyObjectToAnyFGSqPs9AnyObject__P_ : $@convention(thin) (@owned Optional<AnyObject>) -> @out Any, loc "Information.swift":44:56, scope 36 // user: %28
  13633. %27 = alloc_stack $Any, loc "Information.swift":44:56, scope 36 // users: %32, %30, %28
  13634. %28 = apply %26(%27, %25) : $@convention(thin) (@owned Optional<AnyObject>) -> @out Any, loc "Information.swift":44:56, scope 36
  13635. %29 = init_enum_data_addr %19 : $*Optional<Any>, #Optional.some!enumelt.1, loc "Information.swift":44:56, scope 36 // user: %30
  13636. copy_addr [take] %27 to [initialization] %29 : $*Any, loc "Information.swift":44:56, scope 36 // id: %30
  13637. inject_enum_addr %19 : $*Optional<Any>, #Optional.some!enumelt.1, loc "Information.swift":44:56, scope 36 // id: %31
  13638. dealloc_stack %27 : $*Any, loc "Information.swift":44:56, scope 36 // id: %32
  13639. br bb3, loc "Information.swift":44:56, scope 36 // id: %33
  13640.  
  13641. bb2: // Preds: bb0
  13642. inject_enum_addr %19 : $*Optional<Any>, #Optional.none!enumelt, loc "Information.swift":44:56, scope 36 // id: %34
  13643. br bb3, loc "Information.swift":44:56, scope 36 // id: %35
  13644.  
  13645. bb3: // Preds: bb2 bb1
  13646. copy_addr [take] %19 to [initialization] %8 : $*Optional<Any>, loc "Information.swift":44:56, scope 36 // id: %36
  13647. %37 = integer_literal $Builtin.Int1, -1, loc "Information.swift":44:29, scope 36 // user: %39
  13648. %38 = integer_literal $Builtin.Int1, 0, loc "Information.swift":44:29, scope 36 // user: %39
  13649. %39 = select_enum_addr %8 : $*Optional<Any>, case #Optional.some!enumelt.1: %37, default %38 : $Builtin.Int1, loc "Information.swift":44:29, scope 36 // user: %40
  13650. cond_br %39, bb5, bb4, loc "Information.swift":44:29, scope 36 // id: %40
  13651.  
  13652. bb4: // Preds: bb3
  13653. dealloc_stack %19 : $*Optional<Any>, loc "Information.swift":44:62, scope 36 // id: %41
  13654. destroy_value %17 : $NSString, loc "Information.swift":44:62, scope 36 // id: %42
  13655. destroy_value %15 : $String, loc "Information.swift":44:62, scope 36 // id: %43
  13656. dealloc_stack %8 : $*Optional<Any>, loc "Information.swift":44:62, scope 36 // id: %44
  13657. br bb13, loc "Information.swift":44:29, scope 36 // id: %45
  13658.  
  13659. bb5: // Preds: bb3
  13660. %46 = unchecked_take_enum_data_addr %8 : $*Optional<Any>, #Optional.some!enumelt.1, loc "Information.swift":44:29, scope 36 // user: %48
  13661. %47 = alloc_stack $String, loc "Information.swift":44:58, scope 37 // users: %54, %51, %49, %48
  13662. checked_cast_addr_br take_always Any in %46 : $*Any to String in %47 : $*String, bb6, bb7, loc "Information.swift":44:58, scope 37 // id: %48
  13663.  
  13664. bb6: // Preds: bb5
  13665. %49 = load [take] %47 : $*String, loc "Information.swift":44:58, scope 37 // user: %50
  13666. %50 = enum $Optional<String>, #Optional.some!enumelt.1, %49 : $String, loc "Information.swift":44:58, scope 37 // user: %52
  13667. dealloc_stack %47 : $*String, loc "Information.swift":44:62, scope 37 // id: %51
  13668. br bb8(%50 : $Optional<String>), loc "Information.swift":44:58, scope 37 // id: %52
  13669.  
  13670. bb7: // Preds: bb5
  13671. %53 = enum $Optional<String>, #Optional.none!enumelt, loc "Information.swift":44:58, scope 37 // user: %55
  13672. dealloc_stack %47 : $*String, loc "Information.swift":44:62, scope 37 // id: %54
  13673. br bb8(%53 : $Optional<String>), loc "Information.swift":44:58, scope 37 // id: %55
  13674.  
  13675. // %56 // user: %61
  13676. bb8(%56 : $Optional<String>): // Preds: bb7 bb6
  13677. dealloc_stack %19 : $*Optional<Any>, loc "Information.swift":44:62, scope 36 // id: %57
  13678. destroy_value %17 : $NSString, loc "Information.swift":44:62, scope 36 // id: %58
  13679. destroy_value %15 : $String, loc "Information.swift":44:62, scope 36 // id: %59
  13680. dealloc_stack %8 : $*Optional<Any>, loc "Information.swift":44:62, scope 36 // id: %60
  13681. br bb9(%56 : $Optional<String>), loc "Information.swift":44:58, scope 36 // id: %61
  13682.  
  13683. // %62 // user: %64
  13684. bb9(%62 : $Optional<String>): // Preds: bb13 bb8
  13685. %63 = alloc_stack $Optional<String>, loc "Information.swift":44:58, scope 36 // users: %75, %70, %64
  13686. store %62 to [init] %63 : $*Optional<String>, loc "Information.swift":44:58, scope 36 // id: %64
  13687. // function_ref Information.(init(coder : NSCoder) -> Information?).(implicit closure #1)
  13688. %65 = function_ref @_TFFC3gpa11InformationcFT5coderCSo7NSCoder_GSqS0__u_KzT_SS : $@convention(thin) () -> (@owned String, @error Error), scope 36 // user: %66
  13689. %66 = thin_to_thick_function %65 : $@convention(thin) () -> (@owned String, @error Error) to $@callee_owned () -> (@owned String, @error Error), scope 36 // user: %68
  13690. // function_ref thunk
  13691. %67 = function_ref @_TTRXFo__oSSzoPs5Error__XFo__iSSzoPS___ : $@convention(thin) (@owned @callee_owned () -> (@owned String, @error Error)) -> (@out String, @error Error), scope 36 // user: %68
  13692. %68 = partial_apply %67(%66) : $@convention(thin) (@owned @callee_owned () -> (@owned String, @error Error)) -> (@out String, @error Error), scope 36 // user: %70
  13693. %69 = alloc_stack $String, loc "Information.swift":44:69, scope 36 // users: %74, %72, %70
  13694. try_apply %7<String>(%69, %63, %68) : $@convention(thin) <τ_0_0> (@in Optional<τ_0_0>, @owned @callee_owned () -> (@out τ_0_0, @error Error)) -> (@out τ_0_0, @error Error), normal bb10, error bb17, loc "Information.swift":44:69, scope 36 // id: %70
  13695.  
  13696. bb10(%71 : $()): // Preds: bb9
  13697. %72 = load [take] %69 : $*String, loc "Information.swift":44:69, scope 36 // users: %124, %122, %117, %73
  13698. debug_value %72 : $String, let, name "name", loc "Information.swift":44:13, scope 36 // id: %73
  13699. dealloc_stack %69 : $*String, loc "Information.swift":44:72, scope 36 // id: %74
  13700. dealloc_stack %63 : $*Optional<String>, loc "Information.swift":44:72, scope 36 // id: %75
  13701. %76 = class_method [volatile] %0 : $NSCoder, #NSCoder.decodeInteger!1.foreign : (NSCoder) -> (String) -> Int , $@convention(objc_method) (NSString, NSCoder) -> Int, loc "Information.swift":45:30, scope 36 // user: %85
  13702. %77 = string_literal utf8 "grade", loc "Information.swift":45:52, scope 36 // user: %82
  13703. %78 = integer_literal $Builtin.Word, 5, loc "Information.swift":45:52, scope 36 // user: %82
  13704. %79 = integer_literal $Builtin.Int1, -1, loc "Information.swift":45:52, scope 36 // user: %82
  13705. %80 = metatype $@thin String.Type, loc "Information.swift":45:52, scope 36 // user: %82
  13706. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  13707. %81 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "Information.swift":45:52, scope 36 // user: %82
  13708. %82 = apply %81(%77, %78, %79, %80) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "Information.swift":45:52, scope 36 // users: %88, %84
  13709. // function_ref String._bridgeToObjectiveC() -> NSString
  13710. %83 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "Information.swift":45:52, scope 36 // user: %84
  13711. %84 = apply %83(%82) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "Information.swift":45:52, scope 36 // users: %87, %85
  13712. %85 = apply %76(%84, %0) : $@convention(objc_method) (NSString, NSCoder) -> Int, loc "Information.swift":45:59, scope 36 // users: %118, %86
  13713. debug_value %85 : $Int, let, name "grade", loc "Information.swift":45:13, scope 36 // id: %86
  13714. destroy_value %84 : $NSString, loc "Information.swift":45:59, scope 36 // id: %87
  13715. destroy_value %82 : $String, loc "Information.swift":45:59, scope 36 // id: %88
  13716. %89 = class_method [volatile] %0 : $NSCoder, #NSCoder.decodeDouble!1.foreign : (NSCoder) -> (String) -> Double , $@convention(objc_method) (NSString, NSCoder) -> Double, loc "Information.swift":46:35, scope 36 // user: %98
  13717. %90 = string_literal utf8 "multiplier", loc "Information.swift":46:56, scope 36 // user: %95
  13718. %91 = integer_literal $Builtin.Word, 10, loc "Information.swift":46:56, scope 36 // user: %95
  13719. %92 = integer_literal $Builtin.Int1, -1, loc "Information.swift":46:56, scope 36 // user: %95
  13720. %93 = metatype $@thin String.Type, loc "Information.swift":46:56, scope 36 // user: %95
  13721. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  13722. %94 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "Information.swift":46:56, scope 36 // user: %95
  13723. %95 = apply %94(%90, %91, %92, %93) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "Information.swift":46:56, scope 36 // users: %101, %97
  13724. // function_ref String._bridgeToObjectiveC() -> NSString
  13725. %96 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "Information.swift":46:56, scope 36 // user: %97
  13726. %97 = apply %96(%95) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "Information.swift":46:56, scope 36 // users: %100, %98
  13727. %98 = apply %89(%97, %0) : $@convention(objc_method) (NSString, NSCoder) -> Double, loc "Information.swift":46:68, scope 36 // users: %118, %99
  13728. debug_value %98 : $Double, let, name "multiplier", loc "Information.swift":46:13, scope 36 // id: %99
  13729. destroy_value %97 : $NSString, loc "Information.swift":46:68, scope 36 // id: %100
  13730. destroy_value %95 : $String, loc "Information.swift":46:68, scope 36 // id: %101
  13731. %102 = class_method [volatile] %0 : $NSCoder, #NSCoder.decodeDouble!1.foreign : (NSCoder) -> (String) -> Double , $@convention(objc_method) (NSString, NSCoder) -> Double, loc "Information.swift":47:32, scope 36 // user: %111
  13732. %103 = string_literal utf8 "credits", loc "Information.swift":47:53, scope 36 // user: %108
  13733. %104 = integer_literal $Builtin.Word, 7, loc "Information.swift":47:53, scope 36 // user: %108
  13734. %105 = integer_literal $Builtin.Int1, -1, loc "Information.swift":47:53, scope 36 // user: %108
  13735. %106 = metatype $@thin String.Type, loc "Information.swift":47:53, scope 36 // user: %108
  13736. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  13737. %107 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "Information.swift":47:53, scope 36 // user: %108
  13738. %108 = apply %107(%103, %104, %105, %106) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "Information.swift":47:53, scope 36 // users: %114, %110
  13739. // function_ref String._bridgeToObjectiveC() -> NSString
  13740. %109 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "Information.swift":47:53, scope 36 // user: %110
  13741. %110 = apply %109(%108) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "Information.swift":47:53, scope 36 // users: %113, %111
  13742. %111 = apply %102(%110, %0) : $@convention(objc_method) (NSString, NSCoder) -> Double, loc "Information.swift":47:62, scope 36 // users: %118, %112
  13743. debug_value %111 : $Double, let, name "credits", loc "Information.swift":47:13, scope 36 // id: %112
  13744. destroy_value %110 : $NSString, loc "Information.swift":47:62, scope 36 // id: %113
  13745. destroy_value %108 : $String, loc "Information.swift":47:62, scope 36 // id: %114
  13746. %115 = load_borrow %4 : $*Information, loc "Information.swift":48:9, scope 36 // users: %118, %116
  13747. %116 = class_method %115 : $Information, #Information.init!initializer.1 : (Information.Type) -> (String, Int, Double, Double) -> Information , $@convention(method) (@owned String, Int, Double, Double, @owned Information) -> @owned Information, loc "Information.swift":48:14, scope 36 // user: %118
  13748. %117 = copy_value %72 : $String, loc "Information.swift":48:19, scope 36 // user: %118
  13749. %118 = apply %116(%117, %85, %98, %111, %115) : $@convention(method) (@owned String, Int, Double, Double, @owned Information) -> @owned Information, loc "Information.swift":48:79, scope 36 // users: %120, %119
  13750. store %118 to [init] %4 : $*Information, loc "Information.swift":48:14, scope 36 // id: %119
  13751. %120 = is_nonnull %118 : $Information, loc "Information.swift":48:14, scope 36 // user: %121
  13752. cond_br %120, bb12, bb11, loc "Information.swift":48:14, scope 36 // id: %121
  13753.  
  13754. bb11: // Preds: bb10
  13755. destroy_value %72 : $String, loc "Information.swift":49:5, scope 36 // id: %122
  13756. br bb14, loc "Information.swift":48:14, scope 36 // id: %123
  13757.  
  13758. bb12: // Preds: bb10
  13759. destroy_value %72 : $String, loc "Information.swift":49:5, scope 36 // id: %124
  13760. br bb14, loc "Information.swift":49:5, scope 36 // id: %125
  13761.  
  13762. bb13: // Preds: bb4
  13763. %126 = enum $Optional<String>, #Optional.none!enumelt, loc "Information.swift":44:58, scope 36 // user: %127
  13764. br bb9(%126 : $Optional<String>), loc "Information.swift":44:58, scope 36 // id: %127
  13765.  
  13766. bb14: // Preds: bb12 bb11
  13767. %128 = load [copy] %4 : $*Information, loc "Information.swift":49:5, scope 36 // user: %129
  13768. %129 = enum $Optional<Information>, #Optional.some!enumelt.1, %128 : $Information, scope 36 // user: %132
  13769. destroy_value %0 : $NSCoder, loc "Information.swift":49:5, scope 36 // id: %130
  13770. destroy_value %2 : ${ var Information }, loc "Information.swift":49:5, scope 36 // id: %131
  13771. br bb16(%129 : $Optional<Information>), loc "Information.swift":49:5, scope 36 // id: %132
  13772.  
  13773. bb15:
  13774. destroy_value %0 : $NSCoder, loc "Information.swift":49:5, scope 35 // id: %133
  13775. destroy_value %2 : ${ var Information }, loc "Information.swift":49:5, scope 35 // id: %134
  13776. %135 = enum $Optional<Information>, #Optional.none!enumelt, scope 35 // user: %136
  13777. br bb16(%135 : $Optional<Information>), scope 35 // id: %136
  13778.  
  13779. // %137 // user: %138
  13780. bb16(%137 : $Optional<Information>): // Preds: bb14 bb15
  13781. return %137 : $Optional<Information>, scope 35 // id: %138
  13782.  
  13783. bb17(%139 : $Error): // Preds: bb9
  13784. unreachable , loc "Information.swift":44:69, scope 36 // id: %140
  13785. } // end sil function '_TFC3gpa11InformationcfT5coderCSo7NSCoder_GSqS0__'
  13786.  
  13787.  
  13788. // ?? infix<A> (A?, @autoclosure () throws -> A) throws -> A
  13789. sil [transparent] [fragile] @_TFsoi2qqurFzTGSqx_KzT_x_x : $@convention(thin) <τ_0_0> (@in Optional<τ_0_0>, @owned @callee_owned () -> (@out τ_0_0, @error Error)) -> (@out τ_0_0, @error Error)
  13790.  
  13791.  
  13792. // String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  13793. sil [readonly] [_semantics "string.makeUTF8"] @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String
  13794.  
  13795.  
  13796. // _bridgeAnyObjectToAny(AnyObject?) -> Any
  13797. sil @_TFs21_bridgeAnyObjectToAnyFGSqPs9AnyObject__P_ : $@convention(thin) (@owned Optional<AnyObject>) -> @out Any
  13798.  
  13799. sil_scope 38 { parent @_TFFC3gpa11InformationcFT5coderCSo7NSCoder_GSqS0__u_KzT_SS : $@convention(thin) () -> (@owned String, @error Error) }
  13800.  
  13801. // Information.(init(coder : NSCoder) -> Information?).(implicit closure #1)
  13802. sil shared [transparent] @_TFFC3gpa11InformationcFT5coderCSo7NSCoder_GSqS0__u_KzT_SS : $@convention(thin) () -> (@owned String, @error Error) {
  13803. bb0:
  13804. debug_value undef : $Error, var, name "$error", argno 1, loc "Information.swift":44:72, scope 38 // id: %0
  13805. %1 = string_literal utf8 "Classy McClassFace", loc "Information.swift":44:72, scope 38 // user: %6
  13806. %2 = integer_literal $Builtin.Word, 18, loc "Information.swift":44:72, scope 38 // user: %6
  13807. %3 = integer_literal $Builtin.Int1, -1, loc "Information.swift":44:72, scope 38 // user: %6
  13808. %4 = metatype $@thin String.Type, loc "Information.swift":44:72, scope 38 // user: %6
  13809. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  13810. %5 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "Information.swift":44:72, scope 38 // user: %6
  13811. %6 = apply %5(%1, %2, %3, %4) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "Information.swift":44:72, scope 38 // user: %7
  13812. return %6 : $String, scope 38 // id: %7
  13813. } // end sil function '_TFFC3gpa11InformationcFT5coderCSo7NSCoder_GSqS0__u_KzT_SS'
  13814.  
  13815. sil_scope 39 { parent @_TTRXFo__oSSzoPs5Error__XFo__iSSzoPS___ : $@convention(thin) (@owned @callee_owned () -> (@owned String, @error Error)) -> (@out String, @error Error) }
  13816.  
  13817. // thunk
  13818. sil shared [transparent] [reabstraction_thunk] @_TTRXFo__oSSzoPs5Error__XFo__iSSzoPS___ : $@convention(thin) (@owned @callee_owned () -> (@owned String, @error Error)) -> (@out String, @error Error) {
  13819. // %0 // user: %4
  13820. // %1 // user: %2
  13821. bb0(%0 : $*String, %1 : $@callee_owned () -> (@owned String, @error Error)):
  13822. try_apply %1() : $@callee_owned () -> (@owned String, @error Error), normal bb1, error bb2, scope 39 // id: %2
  13823.  
  13824. // %3 // user: %4
  13825. bb1(%3 : $String): // Preds: bb0
  13826. store %3 to [init] %0 : $*String, scope 39 // id: %4
  13827. %5 = tuple (), scope 39 // user: %6
  13828. return %5 : $(), scope 39 // id: %6
  13829.  
  13830. // %7 // users: %9, %8
  13831. bb2(%7 : $Error): // Preds: bb0
  13832. %8 = builtin "willThrow"(%7 : $Error) : $(), scope 39
  13833. throw %7 : $Error, scope 39 // id: %9
  13834. } // end sil function '_TTRXFo__oSSzoPs5Error__XFo__iSSzoPS___'
  13835.  
  13836. sil_scope 40 { loc "Information.swift":43:33 parent @_TToFC3gpa11InformationcfT5coderCSo7NSCoder_GSqS0__ : $@convention(objc_method) (NSCoder, @owned Information) -> @owned Optional<Information> }
  13837.  
  13838. // @objc Information.init(coder : NSCoder) -> Information?
  13839. sil hidden [thunk] @_TToFC3gpa11InformationcfT5coderCSo7NSCoder_GSqS0__ : $@convention(objc_method) (NSCoder, @owned Information) -> @owned Optional<Information> {
  13840. // %0 // user: %2
  13841. // %1 // user: %4
  13842. bb0(%0 : $NSCoder, %1 : $Information):
  13843. %2 = copy_value %0 : $NSCoder, scope 40 // user: %4
  13844. // function_ref Information.init(coder : NSCoder) -> Information?
  13845. %3 = function_ref @_TFC3gpa11InformationcfT5coderCSo7NSCoder_GSqS0__ : $@convention(method) (@owned NSCoder, @owned Information) -> @owned Optional<Information>, scope 40 // user: %4
  13846. %4 = apply %3(%2, %1) : $@convention(method) (@owned NSCoder, @owned Information) -> @owned Optional<Information>, scope 40 // user: %5
  13847. return %4 : $Optional<Information>, scope 40 // id: %5
  13848. } // end sil function '_TToFC3gpa11InformationcfT5coderCSo7NSCoder_GSqS0__'
  13849.  
  13850. sil_scope 41 { loc "Information.swift":51:17 parent @_TFC3gpa11Information6encodefT4withCSo7NSCoder_T_ : $@convention(method) (@owned NSCoder, @guaranteed Information) -> () }
  13851. sil_scope 42 { loc "Information.swift":56:5 parent 41 }
  13852.  
  13853. // Information.encode(with : NSCoder) -> ()
  13854. sil hidden @_TFC3gpa11Information6encodefT4withCSo7NSCoder_T_ : $@convention(method) (@owned NSCoder, @guaranteed Information) -> () {
  13855. // %0 // users: %66, %63, %52, %49, %38, %35, %24, %19, %4, %2
  13856. // %1 // users: %54, %53, %40, %39, %26, %25, %6, %5, %3
  13857. bb0(%0 : $NSCoder, %1 : $Information):
  13858. debug_value %0 : $NSCoder, let, name "aCoder", argno 1, loc "Information.swift":51:29, scope 41 // id: %2
  13859. debug_value %1 : $Information, let, name "self", argno 2, loc "Information.swift":51:17, scope 41 // id: %3
  13860. %4 = class_method [volatile] %0 : $NSCoder, #NSCoder.encode!1.foreign : (NSCoder) -> (Any?, String) -> () , $@convention(objc_method) (Optional<AnyObject>, NSString, NSCoder) -> (), loc "Information.swift":52:16, scope 42 // user: %19
  13861. %5 = class_method %1 : $Information, #Information.name!getter.1 : (Information) -> () -> String , $@convention(method) (@guaranteed Information) -> @owned String, loc "Information.swift":52:23, scope 42 // user: %6
  13862. %6 = apply %5(%1) : $@convention(method) (@guaranteed Information) -> @owned String, loc "Information.swift":52:23, scope 42 // users: %23, %8
  13863. // function_ref String._bridgeToObjectiveC() -> NSString
  13864. %7 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "Information.swift":52:23, scope 42 // user: %8
  13865. %8 = apply %7(%6) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "Information.swift":52:23, scope 42 // users: %22, %9
  13866. %9 = init_existential_ref %8 : $NSString : $NSString, $AnyObject, loc "Information.swift":52:23, scope 42 // user: %10
  13867. %10 = enum $Optional<AnyObject>, #Optional.some!enumelt.1, %9 : $AnyObject, loc "Information.swift":52:23, scope 42 // user: %19
  13868. %11 = string_literal utf8 "name", loc "Information.swift":52:37, scope 42 // user: %16
  13869. %12 = integer_literal $Builtin.Word, 4, loc "Information.swift":52:37, scope 42 // user: %16
  13870. %13 = integer_literal $Builtin.Int1, -1, loc "Information.swift":52:37, scope 42 // user: %16
  13871. %14 = metatype $@thin String.Type, loc "Information.swift":52:37, scope 42 // user: %16
  13872. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  13873. %15 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "Information.swift":52:37, scope 42 // user: %16
  13874. %16 = apply %15(%11, %12, %13, %14) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "Information.swift":52:37, scope 42 // users: %21, %18
  13875. // function_ref String._bridgeToObjectiveC() -> NSString
  13876. %17 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "Information.swift":52:37, scope 42 // user: %18
  13877. %18 = apply %17(%16) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "Information.swift":52:37, scope 42 // users: %20, %19
  13878. %19 = apply %4(%10, %18, %0) : $@convention(objc_method) (Optional<AnyObject>, NSString, NSCoder) -> (), loc "Information.swift":52:43, scope 42
  13879. destroy_value %18 : $NSString, loc "Information.swift":52:43, scope 42 // id: %20
  13880. destroy_value %16 : $String, loc "Information.swift":52:43, scope 42 // id: %21
  13881. destroy_value %8 : $NSString, loc "Information.swift":52:43, scope 42 // id: %22
  13882. destroy_value %6 : $String, loc "Information.swift":52:43, scope 42 // id: %23
  13883. %24 = class_method [volatile] %0 : $NSCoder, #NSCoder.encode!1.foreign : (NSCoder) -> (Int, String) -> () , $@convention(objc_method) (Int, NSString, NSCoder) -> (), loc "Information.swift":53:16, scope 42 // user: %35
  13884. %25 = class_method %1 : $Information, #Information.grade!getter.1 : (Information) -> () -> Int , $@convention(method) (@guaranteed Information) -> Int, loc "Information.swift":53:23, scope 42 // user: %26
  13885. %26 = apply %25(%1) : $@convention(method) (@guaranteed Information) -> Int, loc "Information.swift":53:23, scope 42 // user: %35
  13886. %27 = string_literal utf8 "grade", loc "Information.swift":53:38, scope 42 // user: %32
  13887. %28 = integer_literal $Builtin.Word, 5, loc "Information.swift":53:38, scope 42 // user: %32
  13888. %29 = integer_literal $Builtin.Int1, -1, loc "Information.swift":53:38, scope 42 // user: %32
  13889. %30 = metatype $@thin String.Type, loc "Information.swift":53:38, scope 42 // user: %32
  13890. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  13891. %31 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "Information.swift":53:38, scope 42 // user: %32
  13892. %32 = apply %31(%27, %28, %29, %30) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "Information.swift":53:38, scope 42 // users: %37, %34
  13893. // function_ref String._bridgeToObjectiveC() -> NSString
  13894. %33 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "Information.swift":53:38, scope 42 // user: %34
  13895. %34 = apply %33(%32) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "Information.swift":53:38, scope 42 // users: %36, %35
  13896. %35 = apply %24(%26, %34, %0) : $@convention(objc_method) (Int, NSString, NSCoder) -> (), loc "Information.swift":53:45, scope 42
  13897. destroy_value %34 : $NSString, loc "Information.swift":53:45, scope 42 // id: %36
  13898. destroy_value %32 : $String, loc "Information.swift":53:45, scope 42 // id: %37
  13899. %38 = class_method [volatile] %0 : $NSCoder, #NSCoder.encode!1.foreign : (NSCoder) -> (Double, String) -> () , $@convention(objc_method) (Double, NSString, NSCoder) -> (), loc "Information.swift":54:16, scope 42 // user: %49
  13900. %39 = class_method %1 : $Information, #Information.multiplier!getter.1 : (Information) -> () -> Double , $@convention(method) (@guaranteed Information) -> Double, loc "Information.swift":54:23, scope 42 // user: %40
  13901. %40 = apply %39(%1) : $@convention(method) (@guaranteed Information) -> Double, loc "Information.swift":54:23, scope 42 // user: %49
  13902. %41 = string_literal utf8 "multiplier", loc "Information.swift":54:43, scope 42 // user: %46
  13903. %42 = integer_literal $Builtin.Word, 10, loc "Information.swift":54:43, scope 42 // user: %46
  13904. %43 = integer_literal $Builtin.Int1, -1, loc "Information.swift":54:43, scope 42 // user: %46
  13905. %44 = metatype $@thin String.Type, loc "Information.swift":54:43, scope 42 // user: %46
  13906. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  13907. %45 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "Information.swift":54:43, scope 42 // user: %46
  13908. %46 = apply %45(%41, %42, %43, %44) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "Information.swift":54:43, scope 42 // users: %51, %48
  13909. // function_ref String._bridgeToObjectiveC() -> NSString
  13910. %47 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "Information.swift":54:43, scope 42 // user: %48
  13911. %48 = apply %47(%46) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "Information.swift":54:43, scope 42 // users: %50, %49
  13912. %49 = apply %38(%40, %48, %0) : $@convention(objc_method) (Double, NSString, NSCoder) -> (), loc "Information.swift":54:55, scope 42
  13913. destroy_value %48 : $NSString, loc "Information.swift":54:55, scope 42 // id: %50
  13914. destroy_value %46 : $String, loc "Information.swift":54:55, scope 42 // id: %51
  13915. %52 = class_method [volatile] %0 : $NSCoder, #NSCoder.encode!1.foreign : (NSCoder) -> (Double, String) -> () , $@convention(objc_method) (Double, NSString, NSCoder) -> (), loc "Information.swift":55:16, scope 42 // user: %63
  13916. %53 = class_method %1 : $Information, #Information.credits!getter.1 : (Information) -> () -> Double , $@convention(method) (@guaranteed Information) -> Double, loc "Information.swift":55:23, scope 42 // user: %54
  13917. %54 = apply %53(%1) : $@convention(method) (@guaranteed Information) -> Double, loc "Information.swift":55:23, scope 42 // user: %63
  13918. %55 = string_literal utf8 "credits", loc "Information.swift":55:40, scope 42 // user: %60
  13919. %56 = integer_literal $Builtin.Word, 7, loc "Information.swift":55:40, scope 42 // user: %60
  13920. %57 = integer_literal $Builtin.Int1, -1, loc "Information.swift":55:40, scope 42 // user: %60
  13921. %58 = metatype $@thin String.Type, loc "Information.swift":55:40, scope 42 // user: %60
  13922. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  13923. %59 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "Information.swift":55:40, scope 42 // user: %60
  13924. %60 = apply %59(%55, %56, %57, %58) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "Information.swift":55:40, scope 42 // users: %65, %62
  13925. // function_ref String._bridgeToObjectiveC() -> NSString
  13926. %61 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "Information.swift":55:40, scope 42 // user: %62
  13927. %62 = apply %61(%60) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "Information.swift":55:40, scope 42 // users: %64, %63
  13928. %63 = apply %52(%54, %62, %0) : $@convention(objc_method) (Double, NSString, NSCoder) -> (), loc "Information.swift":55:49, scope 42
  13929. destroy_value %62 : $NSString, loc "Information.swift":55:49, scope 42 // id: %64
  13930. destroy_value %60 : $String, loc "Information.swift":55:49, scope 42 // id: %65
  13931. destroy_value %0 : $NSCoder, loc "Information.swift":56:5, scope 42 // id: %66
  13932. %67 = tuple (), loc "Information.swift":56:5, scope 42 // user: %68
  13933. return %67 : $(), loc "Information.swift":56:5, scope 42 // id: %68
  13934. } // end sil function '_TFC3gpa11Information6encodefT4withCSo7NSCoder_T_'
  13935.  
  13936. sil_scope 43 { loc "Information.swift":51:17 parent @_TToFC3gpa11Information6encodefT4withCSo7NSCoder_T_ : $@convention(objc_method) (NSCoder, Information) -> () }
  13937.  
  13938. // @objc Information.encode(with : NSCoder) -> ()
  13939. sil hidden [thunk] @_TToFC3gpa11Information6encodefT4withCSo7NSCoder_T_ : $@convention(objc_method) (NSCoder, Information) -> () {
  13940. // %0 // user: %2
  13941. // %1 // user: %3
  13942. bb0(%0 : $NSCoder, %1 : $Information):
  13943. %2 = copy_value %0 : $NSCoder, scope 43 // user: %5
  13944. %3 = copy_value %1 : $Information, scope 43 // users: %6, %5
  13945. // function_ref Information.encode(with : NSCoder) -> ()
  13946. %4 = function_ref @_TFC3gpa11Information6encodefT4withCSo7NSCoder_T_ : $@convention(method) (@owned NSCoder, @guaranteed Information) -> (), scope 43 // user: %5
  13947. %5 = apply %4(%2, %3) : $@convention(method) (@owned NSCoder, @guaranteed Information) -> (), scope 43 // user: %7
  13948. destroy_value %3 : $Information, scope 43 // id: %6
  13949. return %5 : $(), scope 43 // id: %7
  13950. } // end sil function '_TToFC3gpa11Information6encodefT4withCSo7NSCoder_T_'
  13951.  
  13952. sil_scope 44 { loc "Information.swift":58:24 parent @_TZFC3gpa11Information15initializeArrayfT_T_ : $@convention(method) (@thick Information.Type) -> () }
  13953. sil_scope 45 { loc "Information.swift":65:5 parent 44 }
  13954. sil_scope 46 { loc "Information.swift":61:100 parent 45 }
  13955. sil_scope 47 { loc "Information.swift":63:9 parent 45 }
  13956.  
  13957. // static Information.initializeArray() -> ()
  13958. sil hidden @_TZFC3gpa11Information15initializeArrayfT_T_ : $@convention(method) (@thick Information.Type) -> () {
  13959. // %0 // user: %1
  13960. bb0(%0 : $@thick Information.Type):
  13961. debug_value %0 : $@thick Information.Type, let, name "self", argno 1, loc "Information.swift":58:24, scope 44 // id: %1
  13962. %2 = metatype $@thick Information.Type, loc "Information.swift":60:26, scope 45
  13963. // function_ref Information.keyValueStore.unsafeMutableAddressor
  13964. %3 = function_ref @_TFC3gpa11Informationau13keyValueStoreCSo25NSUbiquitousKeyValueStore : $@convention(thin) () -> Builtin.RawPointer, loc "Information.swift":60:38, scope 45 // user: %4
  13965. %4 = apply %3() : $@convention(thin) () -> Builtin.RawPointer, loc "Information.swift":60:38, scope 45 // user: %5
  13966. %5 = pointer_to_address %4 : $Builtin.RawPointer to [strict] $*NSUbiquitousKeyValueStore, loc "Information.swift":60:38, scope 45 // user: %6
  13967. %6 = load [copy] %5 : $*NSUbiquitousKeyValueStore, loc "Information.swift":60:38, scope 45 // users: %40, %34, %16, %7
  13968. %7 = class_method [volatile] %6 : $NSUbiquitousKeyValueStore, #NSUbiquitousKeyValueStore.data!1.foreign : (NSUbiquitousKeyValueStore) -> (String) -> Data? , $@convention(objc_method) (NSString, NSUbiquitousKeyValueStore) -> @autoreleased Optional<NSData>, loc "Information.swift":60:52, scope 45 // user: %16
  13969. %8 = string_literal utf8 "savedList", loc "Information.swift":60:65, scope 45 // user: %13
  13970. %9 = integer_literal $Builtin.Word, 9, loc "Information.swift":60:65, scope 45 // user: %13
  13971. %10 = integer_literal $Builtin.Int1, -1, loc "Information.swift":60:65, scope 45 // user: %13
  13972. %11 = metatype $@thin String.Type, loc "Information.swift":60:65, scope 45 // user: %13
  13973. // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
  13974. %12 = function_ref @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "Information.swift":60:65, scope 45 // user: %13
  13975. %13 = apply %12(%8, %9, %10, %11) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String, loc "Information.swift":60:65, scope 45 // users: %39, %33, %15
  13976. // function_ref String._bridgeToObjectiveC() -> NSString
  13977. %14 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "Information.swift":60:65, scope 45 // user: %15
  13978. %15 = apply %14(%13) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "Information.swift":60:65, scope 45 // users: %38, %32, %16
  13979. %16 = apply %7(%15, %6) : $@convention(objc_method) (NSString, NSUbiquitousKeyValueStore) -> @autoreleased Optional<NSData>, loc "Information.swift":60:76, scope 45 // users: %21, %19
  13980. %17 = integer_literal $Builtin.Int1, -1, loc "Information.swift":60:76, scope 45 // user: %19
  13981. %18 = integer_literal $Builtin.Int1, 0, loc "Information.swift":60:76, scope 45 // user: %19
  13982. %19 = select_enum %16 : $Optional<NSData>, case #Optional.some!enumelt.1: %17, default %18 : $Builtin.Int1, loc "Information.swift":60:76, scope 45 // user: %20
  13983. cond_br %19, bb1, bb2, loc "Information.swift":60:76, scope 45 // id: %20
  13984.  
  13985. bb1: // Preds: bb0
  13986. %21 = unchecked_enum_data %16 : $Optional<NSData>, #Optional.some!enumelt.1, loc "Information.swift":60:76, scope 45 // user: %23
  13987. // function_ref static Data._unconditionallyBridgeFromObjectiveC(NSData?) -> Data
  13988. %22 = function_ref @_TZFV10Foundation4Data36_unconditionallyBridgeFromObjectiveCfGSqCSo6NSData_S0_ : $@convention(method) (@owned Optional<NSData>, @thin Data.Type) -> @owned Data, loc "Information.swift":60:76, scope 45 // user: %25
  13989. %23 = enum $Optional<NSData>, #Optional.some!enumelt.1, %21 : $NSData, loc "Information.swift":60:76, scope 45 // user: %25
  13990. %24 = metatype $@thin Data.Type, loc "Information.swift":60:76, scope 45 // user: %25
  13991. %25 = apply %22(%23, %24) : $@convention(method) (@owned Optional<NSData>, @thin Data.Type) -> @owned Data, loc "Information.swift":60:76, scope 45 // user: %26
  13992. %26 = enum $Optional<Data>, #Optional.some!enumelt.1, %25 : $Data, loc "Information.swift":60:76, scope 45 // user: %27
  13993. br bb3(%26 : $Optional<Data>), loc "Information.swift":60:76, scope 45 // id: %27
  13994.  
  13995. bb2: // Preds: bb0
  13996. %28 = enum $Optional<Data>, #Optional.none!enumelt, loc "Information.swift":60:76, scope 45 // user: %29
  13997. br bb3(%28 : $Optional<Data>), loc "Information.swift":60:76, scope 45 // id: %29
  13998.  
  13999. // %30 // user: %31
  14000. bb3(%30 : $Optional<Data>): // Preds: bb2 bb1
  14001. switch_enum %30 : $Optional<Data>, case #Optional.some!enumelt.1: bb5, default bb4, loc "Information.swift":60:76, scope 45 // id: %31
  14002.  
  14003. bb4: // Preds: bb3
  14004. destroy_value %15 : $NSString, loc "Information.swift":63:9, scope 45 // id: %32
  14005. destroy_value %13 : $String, loc "Information.swift":63:9, scope 45 // id: %33
  14006. destroy_value %6 : $NSUbiquitousKeyValueStore, loc "Information.swift":63:9, scope 45 // id: %34
  14007. br bb18, loc "Information.swift":60:76, scope 45 // id: %35
  14008.  
  14009. // %36 // users: %105, %94, %45, %37
  14010. bb5(%36 : $Data): // Preds: bb3
  14011. debug_value %36 : $Data, let, name "data", loc "Information.swift":60:19, scope 45 // id: %37
  14012. destroy_value %15 : $NSString, loc "Information.swift":60:76, scope 45 // id: %38
  14013. destroy_value %13 : $String, loc "Information.swift":60:76, scope 45 // id: %39
  14014. destroy_value %6 : $NSUbiquitousKeyValueStore, loc "Information.swift":60:76, scope 45 // id: %40
  14015. %41 = alloc_stack $Optional<Any>, loc "Information.swift":61:56, scope 45 // users: %90, %76, %74, %69, %66
  14016. %42 = metatype $@thick NSKeyedUnarchiver.Type, loc "Information.swift":61:38, scope 45 // users: %44, %43
  14017. %43 = class_method [volatile] %42 : $@thick NSKeyedUnarchiver.Type, #NSKeyedUnarchiver.unarchiveObject!1.foreign : (NSKeyedUnarchiver.Type) -> (Data) -> Any? , $@convention(objc_method) (NSData, @objc_metatype NSKeyedUnarchiver.Type) -> @autoreleased Optional<AnyObject>, loc "Information.swift":61:56, scope 45 // user: %48
  14018. %44 = thick_to_objc_metatype %42 : $@thick NSKeyedUnarchiver.Type to $@objc_metatype NSKeyedUnarchiver.Type, loc "Information.swift":61:38, scope 45 // user: %48
  14019. %45 = copy_value %36 : $Data, loc "Information.swift":61:78, scope 45 // users: %89, %73, %47
  14020. // function_ref Data._bridgeToObjectiveC() -> NSData
  14021. %46 = function_ref @_TFV10Foundation4Data19_bridgeToObjectiveCfT_CSo6NSData : $@convention(method) (@guaranteed Data) -> @owned NSData, loc "Information.swift":61:78, scope 45 // user: %47
  14022. %47 = apply %46(%45) : $@convention(method) (@guaranteed Data) -> @owned NSData, loc "Information.swift":61:78, scope 45 // users: %88, %72, %48
  14023. %48 = apply %43(%47, %44) : $@convention(objc_method) (NSData, @objc_metatype NSKeyedUnarchiver.Type) -> @autoreleased Optional<AnyObject>, loc "Information.swift":61:82, scope 45 // users: %54, %52
  14024. %49 = alloc_stack $Optional<Any>, loc "Information.swift":61:82, scope 45 // users: %87, %71, %66, %64, %61, %59
  14025. %50 = integer_literal $Builtin.Int1, -1, loc "Information.swift":61:82, scope 45 // user: %52
  14026. %51 = integer_literal $Builtin.Int1, 0, loc "Information.swift":61:82, scope 45 // user: %52
  14027. %52 = select_enum %48 : $Optional<AnyObject>, case #Optional.some!enumelt.1: %50, default %51 : $Builtin.Int1, loc "Information.swift":61:82, scope 45 // user: %53
  14028. cond_br %52, bb6, bb7, loc "Information.swift":61:82, scope 45 // id: %53
  14029.  
  14030. bb6: // Preds: bb5
  14031. %54 = unchecked_enum_data %48 : $Optional<AnyObject>, #Optional.some!enumelt.1, loc "Information.swift":61:82, scope 45 // user: %55
  14032. %55 = unchecked_ref_cast %54 : $AnyObject to $Optional<AnyObject>, loc "Information.swift":61:82, scope 45 // user: %58
  14033. // function_ref _bridgeAnyObjectToAny(AnyObject?) -> Any
  14034. %56 = function_ref @_TFs21_bridgeAnyObjectToAnyFGSqPs9AnyObject__P_ : $@convention(thin) (@owned Optional<AnyObject>) -> @out Any, loc "Information.swift":61:82, scope 45 // user: %58
  14035. %57 = alloc_stack $Any, loc "Information.swift":61:82, scope 45 // users: %62, %60, %58
  14036. %58 = apply %56(%57, %55) : $@convention(thin) (@owned Optional<AnyObject>) -> @out Any, loc "Information.swift":61:82, scope 45
  14037. %59 = init_enum_data_addr %49 : $*Optional<Any>, #Optional.some!enumelt.1, loc "Information.swift":61:82, scope 45 // user: %60
  14038. copy_addr [take] %57 to [initialization] %59 : $*Any, loc "Information.swift":61:82, scope 45 // id: %60
  14039. inject_enum_addr %49 : $*Optional<Any>, #Optional.some!enumelt.1, loc "Information.swift":61:82, scope 45 // id: %61
  14040. dealloc_stack %57 : $*Any, loc "Information.swift":61:82, scope 45 // id: %62
  14041. br bb8, loc "Information.swift":61:82, scope 45 // id: %63
  14042.  
  14043. bb7: // Preds: bb5
  14044. inject_enum_addr %49 : $*Optional<Any>, #Optional.none!enumelt, loc "Information.swift":61:82, scope 45 // id: %64
  14045. br bb8, loc "Information.swift":61:82, scope 45 // id: %65
  14046.  
  14047. bb8: // Preds: bb7 bb6
  14048. copy_addr [take] %49 to [initialization] %41 : $*Optional<Any>, loc "Information.swift":61:82, scope 45 // id: %66
  14049. %67 = integer_literal $Builtin.Int1, -1, loc "Information.swift":61:56, scope 45 // user: %69
  14050. %68 = integer_literal $Builtin.Int1, 0, loc "Information.swift":61:56, scope 45 // user: %69
  14051. %69 = select_enum_addr %41 : $*Optional<Any>, case #Optional.some!enumelt.1: %67, default %68 : $Builtin.Int1, loc "Information.swift":61:56, scope 45 // user: %70
  14052. cond_br %69, bb10, bb9, loc "Information.swift":61:56, scope 45 // id: %70
  14053.  
  14054. bb9: // Preds: bb8
  14055. dealloc_stack %49 : $*Optional<Any>, loc "Information.swift":61:100, scope 45 // id: %71
  14056. destroy_value %47 : $NSData, loc "Information.swift":61:100, scope 45 // id: %72
  14057. destroy_value %45 : $Data, loc "Information.swift":61:100, scope 45 // id: %73
  14058. dealloc_stack %41 : $*Optional<Any>, loc "Information.swift":61:100, scope 45 // id: %74
  14059. br bb17, loc "Information.swift":61:56, scope 45 // id: %75
  14060.  
  14061. bb10: // Preds: bb8
  14062. %76 = unchecked_take_enum_data_addr %41 : $*Optional<Any>, #Optional.some!enumelt.1, loc "Information.swift":61:56, scope 45 // user: %78
  14063. %77 = alloc_stack $Array<Information>, loc "Information.swift":61:84, scope 46 // users: %84, %81, %79, %78
  14064. checked_cast_addr_br take_always Any in %76 : $*Any to Array<Information> in %77 : $*Array<Information>, bb11, bb12, loc "Information.swift":61:84, scope 46 // id: %78
  14065.  
  14066. bb11: // Preds: bb10
  14067. %79 = load [take] %77 : $*Array<Information>, loc "Information.swift":61:84, scope 46 // user: %80
  14068. %80 = enum $Optional<Array<Information>>, #Optional.some!enumelt.1, %79 : $Array<Information>, loc "Information.swift":61:84, scope 46 // user: %82
  14069. dealloc_stack %77 : $*Array<Information>, loc "Information.swift":61:100, scope 46 // id: %81
  14070. br bb13(%80 : $Optional<Array<Information>>), loc "Information.swift":61:84, scope 46 // id: %82
  14071.  
  14072. bb12: // Preds: bb10
  14073. %83 = enum $Optional<Array<Information>>, #Optional.none!enumelt, loc "Information.swift":61:84, scope 46 // user: %85
  14074. dealloc_stack %77 : $*Array<Information>, loc "Information.swift":61:100, scope 46 // id: %84
  14075. br bb13(%83 : $Optional<Array<Information>>), loc "Information.swift":61:84, scope 46 // id: %85
  14076.  
  14077. // %86 // user: %91
  14078. bb13(%86 : $Optional<Array<Information>>): // Preds: bb12 bb11
  14079. dealloc_stack %49 : $*Optional<Any>, loc "Information.swift":61:100, scope 45 // id: %87
  14080. destroy_value %47 : $NSData, loc "Information.swift":61:100, scope 45 // id: %88
  14081. destroy_value %45 : $Data, loc "Information.swift":61:100, scope 45 // id: %89
  14082. dealloc_stack %41 : $*Optional<Any>, loc "Information.swift":61:100, scope 45 // id: %90
  14083. br bb14(%86 : $Optional<Array<Information>>), loc "Information.swift":61:84, scope 45 // id: %91
  14084.  
  14085. // %92 // user: %93
  14086. bb14(%92 : $Optional<Array<Information>>): // Preds: bb17 bb13
  14087. switch_enum %92 : $Optional<Array<Information>>, case #Optional.some!enumelt.1: bb16, default bb15, loc "Information.swift":61:84, scope 45 // id: %93
  14088.  
  14089. bb15: // Preds: bb14
  14090. destroy_value %36 : $Data, loc "Information.swift":63:9, scope 45 // id: %94
  14091. br bb18, loc "Information.swift":61:84, scope 45 // id: %95
  14092.  
  14093. // %96 // users: %104, %102, %97
  14094. bb16(%96 : $Array<Information>): // Preds: bb14
  14095. debug_value %96 : $Array<Information>, let, name "classesAndGrades", loc "Information.swift":61:19, scope 45 // id: %97
  14096. %98 = metatype $@thick Information.Type, loc "Information.swift":64:9, scope 45
  14097. // function_ref Information.classesAndGrades.unsafeMutableAddressor
  14098. %99 = function_ref @_TFC3gpa11Informationau16classesAndGradesGSaS0__ : $@convention(thin) () -> Builtin.RawPointer, loc "Information.swift":64:21, scope 45 // user: %100
  14099. %100 = apply %99() : $@convention(thin) () -> Builtin.RawPointer, loc "Information.swift":64:21, scope 45 // user: %101
  14100. %101 = pointer_to_address %100 : $Builtin.RawPointer to [strict] $*Array<Information>, loc "Information.swift":64:21, scope 45 // user: %103
  14101. %102 = copy_value %96 : $Array<Information>, loc "Information.swift":64:40, scope 45 // user: %103
  14102. assign %102 to %101 : $*Array<Information>, loc "Information.swift":64:38, scope 45 // id: %103
  14103. destroy_value %96 : $Array<Information>, loc "Information.swift":65:5, scope 45 // id: %104
  14104. destroy_value %36 : $Data, loc "Information.swift":65:5, scope 45 // id: %105
  14105. br bb19, loc "Information.swift":65:5, scope 45 // id: %106
  14106.  
  14107. bb17: // Preds: bb9
  14108. %107 = enum $Optional<Array<Information>>, #Optional.none!enumelt, loc "Information.swift":61:84, scope 45 // user: %108
  14109. br bb14(%107 : $Optional<Array<Information>>), loc "Information.swift":61:84, scope 45 // id: %108
  14110.  
  14111. bb18: // Preds: bb15 bb4
  14112. br bb19, loc "Information.swift":62:13, scope 47 // id: %109
  14113.  
  14114. bb19: // Preds: bb16 bb18
  14115. %110 = tuple (), loc "Information.swift":65:5, scope 45 // user: %111
  14116. return %110 : $(), loc "Information.swift":65:5, scope 45 // id: %111
  14117. } // end sil function '_TZFC3gpa11Information15initializeArrayfT_T_'
  14118.  
  14119.  
  14120. // static Data._unconditionallyBridgeFromObjectiveC(NSData?) -> Data
  14121. sil @_TZFV10Foundation4Data36_unconditionallyBridgeFromObjectiveCfGSqCSo6NSData_S0_ : $@convention(method) (@owned Optional<NSData>, @thin Data.Type) -> @owned Data
  14122.  
  14123.  
  14124. // Data._bridgeToObjectiveC() -> NSData
  14125. sil [_semantics "convertToObjectiveC"] @_TFV10Foundation4Data19_bridgeToObjectiveCfT_CSo6NSData : $@convention(method) (@guaranteed Data) -> @owned NSData
  14126.  
  14127. sil_scope 48 { loc "Information.swift":58:24 parent @_TToZFC3gpa11Information15initializeArrayfT_T_ : $@convention(objc_method) (@objc_metatype Information.Type) -> () }
  14128.  
  14129. // @objc static Information.initializeArray() -> ()
  14130. sil hidden [thunk] @_TToZFC3gpa11Information15initializeArrayfT_T_ : $@convention(objc_method) (@objc_metatype Information.Type) -> () {
  14131. // %0 // user: %1
  14132. bb0(%0 : $@objc_metatype Information.Type):
  14133. %1 = objc_to_thick_metatype %0 : $@objc_metatype Information.Type to $@thick Information.Type, scope 48 // user: %3
  14134. // function_ref static Information.initializeArray() -> ()
  14135. %2 = function_ref @_TZFC3gpa11Information15initializeArrayfT_T_ : $@convention(method) (@thick Information.Type) -> (), scope 48 // user: %3
  14136. %3 = apply %2(%1) : $@convention(method) (@thick Information.Type) -> (), scope 48 // user: %4
  14137. return %3 : $(), scope 48 // id: %4
  14138. } // end sil function '_TToZFC3gpa11Information15initializeArrayfT_T_'
  14139.  
  14140. sil_scope 49 { loc "Information.swift":25:7 parent @_TFC3gpa11InformationD : $@convention(method) (@owned Information) -> () }
  14141. sil_scope 50 { loc "Information.swift":25:7 parent 49 }
  14142.  
  14143. // Information.__deallocating_deinit
  14144. sil hidden @_TFC3gpa11InformationD : $@convention(method) (@owned Information) -> () {
  14145. // %0 // users: %3, %2, %1
  14146. bb0(%0 : $Information):
  14147. debug_value %0 : $Information, let, name "self", argno 1, loc "Information.swift":25:7, scope 49 // id: %1
  14148. %2 = super_method %0 : $Information, #NSObject.deinit!deallocator.foreign : (NSObject) -> () -> () , $@convention(objc_method) (NSObject) -> (), scope 50 // user: %4
  14149. %3 = upcast %0 : $Information to $NSObject, scope 50 // user: %4
  14150. %4 = apply %2(%3) : $@convention(objc_method) (NSObject) -> (), scope 50
  14151. %5 = tuple (), scope 50 // user: %6
  14152. return %5 : $(), scope 50 // id: %6
  14153. } // end sil function '_TFC3gpa11InformationD'
  14154.  
  14155. sil_scope 51 { loc "Information.swift":25:7 parent @_TToFC3gpa11InformationE : $@convention(objc_method) (Information) -> () }
  14156.  
  14157. // @objc Information.__ivar_destroyer
  14158. sil hidden @_TToFC3gpa11InformationE : $@convention(objc_method) (Information) -> () {
  14159. // %0 // users: %2, %1
  14160. bb0(%0 : $Information):
  14161. debug_value %0 : $Information, let, name "self", argno 1, loc "Information.swift":25:7, scope 51 // id: %1
  14162. %2 = ref_element_addr %0 : $Information, #Information.name, scope 51 // user: %3
  14163. destroy_addr %2 : $*String, scope 51 // id: %3
  14164. %4 = tuple (), scope 51 // user: %5
  14165. return %4 : $(), scope 51 // id: %5
  14166. } // end sil function '_TToFC3gpa11InformationE'
  14167.  
  14168. sil_scope 52 { loc "Information.swift":27:16 parent @_TZFC3gpa11Informationg16classesAndGradesGSaS0__ : $@convention(method) (@thick Information.Type) -> @owned Array<Information> }
  14169. sil_scope 53 { loc "Information.swift":27:16 parent 52 }
  14170.  
  14171. // static Information.classesAndGrades.getter
  14172. sil hidden @_TZFC3gpa11Informationg16classesAndGradesGSaS0__ : $@convention(method) (@thick Information.Type) -> @owned Array<Information> {
  14173. // %0 // user: %1
  14174. bb0(%0 : $@thick Information.Type):
  14175. debug_value %0 : $@thick Information.Type, let, name "self", argno 1, loc "Information.swift":27:16, scope 52 // id: %1
  14176. // function_ref Information.classesAndGrades.unsafeMutableAddressor
  14177. %2 = function_ref @_TFC3gpa11Informationau16classesAndGradesGSaS0__ : $@convention(thin) () -> Builtin.RawPointer, scope 53 // user: %3
  14178. %3 = apply %2() : $@convention(thin) () -> Builtin.RawPointer, scope 53 // user: %4
  14179. %4 = pointer_to_address %3 : $Builtin.RawPointer to [strict] $*Array<Information>, scope 53 // user: %5
  14180. %5 = load [copy] %4 : $*Array<Information>, scope 53 // user: %6
  14181. return %5 : $Array<Information>, loc "Information.swift":27:16, scope 53 // id: %6
  14182. } // end sil function '_TZFC3gpa11Informationg16classesAndGradesGSaS0__'
  14183.  
  14184. sil_scope 54 { loc "Information.swift":27:16 parent @_TToZFC3gpa11Informationg16classesAndGradesGSaS0__ : $@convention(objc_method) (@objc_metatype Information.Type) -> @autoreleased NSArray }
  14185.  
  14186. // @objc static Information.classesAndGrades.getter
  14187. sil hidden [thunk] @_TToZFC3gpa11Informationg16classesAndGradesGSaS0__ : $@convention(objc_method) (@objc_metatype Information.Type) -> @autoreleased NSArray {
  14188. // %0 // user: %1
  14189. bb0(%0 : $@objc_metatype Information.Type):
  14190. %1 = objc_to_thick_metatype %0 : $@objc_metatype Information.Type to $@thick Information.Type, scope 54 // user: %3
  14191. // function_ref static Information.classesAndGrades.getter
  14192. %2 = function_ref @_TZFC3gpa11Informationg16classesAndGradesGSaS0__ : $@convention(method) (@thick Information.Type) -> @owned Array<Information>, scope 54 // user: %3
  14193. %3 = apply %2(%1) : $@convention(method) (@thick Information.Type) -> @owned Array<Information>, scope 54 // users: %6, %5
  14194. // function_ref Array._bridgeToObjectiveC() -> NSArray
  14195. %4 = function_ref @_TFE10FoundationSa19_bridgeToObjectiveCfT_CSo7NSArray : $@convention(method) <τ_0_0> (@guaranteed Array<τ_0_0>) -> @owned NSArray, scope 54 // user: %5
  14196. %5 = apply %4<Information>(%3) : $@convention(method) <τ_0_0> (@guaranteed Array<τ_0_0>) -> @owned NSArray, scope 54 // user: %7
  14197. destroy_value %3 : $Array<Information>, scope 54 // id: %6
  14198. return %5 : $NSArray, scope 54 // id: %7
  14199. } // end sil function '_TToZFC3gpa11Informationg16classesAndGradesGSaS0__'
  14200.  
  14201.  
  14202. // Array._bridgeToObjectiveC() -> NSArray
  14203. sil [_semantics "convertToObjectiveC"] @_TFE10FoundationSa19_bridgeToObjectiveCfT_CSo7NSArray : $@convention(method) <τ_0_0> (@guaranteed Array<τ_0_0>) -> @owned NSArray
  14204.  
  14205. sil_scope 55 { loc "Information.swift":27:16 parent @_TZFC3gpa11Informations16classesAndGradesGSaS0__ : $@convention(method) (@owned Array<Information>, @thick Information.Type) -> () }
  14206. sil_scope 56 { loc "Information.swift":27:16 parent 55 }
  14207.  
  14208. // static Information.classesAndGrades.setter
  14209. sil hidden @_TZFC3gpa11Informations16classesAndGradesGSaS0__ : $@convention(method) (@owned Array<Information>, @thick Information.Type) -> () {
  14210. // %0 // users: %9, %7, %2
  14211. // %1 // user: %3
  14212. bb0(%0 : $Array<Information>, %1 : $@thick Information.Type):
  14213. debug_value %0 : $Array<Information>, let, name "value", argno 1, loc "Information.swift":27:16, scope 55 // id: %2
  14214. debug_value %1 : $@thick Information.Type, let, name "self", argno 2, loc "Information.swift":27:16, scope 55 // id: %3
  14215. // function_ref Information.classesAndGrades.unsafeMutableAddressor
  14216. %4 = function_ref @_TFC3gpa11Informationau16classesAndGradesGSaS0__ : $@convention(thin) () -> Builtin.RawPointer, scope 56 // user: %5
  14217. %5 = apply %4() : $@convention(thin) () -> Builtin.RawPointer, scope 56 // user: %6
  14218. %6 = pointer_to_address %5 : $Builtin.RawPointer to [strict] $*Array<Information>, scope 56 // user: %8
  14219. %7 = copy_value %0 : $Array<Information>, scope 56 // user: %8
  14220. assign %7 to %6 : $*Array<Information>, scope 56 // id: %8
  14221. destroy_value %0 : $Array<Information>, loc "Information.swift":27:16, scope 56 // id: %9
  14222. %10 = tuple (), loc "Information.swift":27:16, scope 56 // user: %11
  14223. return %10 : $(), loc "Information.swift":27:16, scope 56 // id: %11
  14224. } // end sil function '_TZFC3gpa11Informations16classesAndGradesGSaS0__'
  14225.  
  14226. sil_scope 57 { loc "Information.swift":27:16 parent @_TToZFC3gpa11Informations16classesAndGradesGSaS0__ : $@convention(objc_method) (NSArray, @objc_metatype Information.Type) -> () }
  14227.  
  14228. // @objc static Information.classesAndGrades.setter
  14229. sil hidden [thunk] @_TToZFC3gpa11Informations16classesAndGradesGSaS0__ : $@convention(objc_method) (NSArray, @objc_metatype Information.Type) -> () {
  14230. // %0 // user: %2
  14231. // %1 // user: %7
  14232. bb0(%0 : $NSArray, %1 : $@objc_metatype Information.Type):
  14233. %2 = copy_value %0 : $NSArray, scope 57 // user: %4
  14234. // function_ref static Array._unconditionallyBridgeFromObjectiveC(NSArray?) -> [A]
  14235. %3 = function_ref @_TZFE10FoundationSa36_unconditionallyBridgeFromObjectiveCfGSqCSo7NSArray_GSax_ : $@convention(method) <τ_0_0> (@owned Optional<NSArray>, @thin Array<τ_0_0>.Type) -> @owned Array<τ_0_0>, scope 57 // user: %6
  14236. %4 = enum $Optional<NSArray>, #Optional.some!enumelt.1, %2 : $NSArray, scope 57 // user: %6
  14237. %5 = metatype $@thin Array<Information>.Type, scope 57 // user: %6
  14238. %6 = apply %3<Information>(%4, %5) : $@convention(method) <τ_0_0> (@owned Optional<NSArray>, @thin Array<τ_0_0>.Type) -> @owned Array<τ_0_0>, scope 57 // user: %9
  14239. %7 = objc_to_thick_metatype %1 : $@objc_metatype Information.Type to $@thick Information.Type, scope 57 // user: %9
  14240. // function_ref static Information.classesAndGrades.setter
  14241. %8 = function_ref @_TZFC3gpa11Informations16classesAndGradesGSaS0__ : $@convention(method) (@owned Array<Information>, @thick Information.Type) -> (), scope 57 // user: %9
  14242. %9 = apply %8(%6, %7) : $@convention(method) (@owned Array<Information>, @thick Information.Type) -> (), scope 57 // user: %10
  14243. return %9 : $(), scope 57 // id: %10
  14244. } // end sil function '_TToZFC3gpa11Informations16classesAndGradesGSaS0__'
  14245.  
  14246.  
  14247. // static Array._unconditionallyBridgeFromObjectiveC(NSArray?) -> [A]
  14248. sil @_TZFE10FoundationSa36_unconditionallyBridgeFromObjectiveCfGSqCSo7NSArray_GSax_ : $@convention(method) <τ_0_0> (@owned Optional<NSArray>, @thin Array<τ_0_0>.Type) -> @owned Array<τ_0_0>
  14249.  
  14250. sil_scope 58 { loc "Information.swift":27:16 parent @_TZFC3gpa11Informationm16classesAndGradesGSaS0__ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @thick Information.Type) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) }
  14251.  
  14252. // static Information.classesAndGrades.materializeForSet
  14253. sil hidden @_TZFC3gpa11Informationm16classesAndGradesGSaS0__ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @thick Information.Type) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) {
  14254. bb0(%0 : $Builtin.RawPointer, %1 : $*Builtin.UnsafeValueBuffer, %2 : $@thick Information.Type):
  14255. // function_ref Information.classesAndGrades.unsafeMutableAddressor
  14256. %3 = function_ref @_TFC3gpa11Informationau16classesAndGradesGSaS0__ : $@convention(thin) () -> Builtin.RawPointer, scope 58 // user: %4
  14257. %4 = apply %3() : $@convention(thin) () -> Builtin.RawPointer, scope 58 // user: %5
  14258. %5 = pointer_to_address %4 : $Builtin.RawPointer to [strict] $*Array<Information>, scope 58 // user: %6
  14259. %6 = address_to_pointer %5 : $*Array<Information> to $Builtin.RawPointer, scope 58 // user: %8
  14260. %7 = enum $Optional<Builtin.RawPointer>, #Optional.none!enumelt, scope 58 // user: %8
  14261. %8 = tuple (%6 : $Builtin.RawPointer, %7 : $Optional<Builtin.RawPointer>), scope 58 // user: %9
  14262. return %8 : $(Builtin.RawPointer, Optional<Builtin.RawPointer>), scope 58 // id: %9
  14263. } // end sil function '_TZFC3gpa11Informationm16classesAndGradesGSaS0__'
  14264.  
  14265. sil_scope 59 { loc "Information.swift":28:16 parent @_TZFC3gpa11Informationg13keyValueStoreCSo25NSUbiquitousKeyValueStore : $@convention(method) (@thick Information.Type) -> @owned NSUbiquitousKeyValueStore }
  14266. sil_scope 60 { loc "Information.swift":28:16 parent 59 }
  14267.  
  14268. // static Information.keyValueStore.getter
  14269. sil hidden @_TZFC3gpa11Informationg13keyValueStoreCSo25NSUbiquitousKeyValueStore : $@convention(method) (@thick Information.Type) -> @owned NSUbiquitousKeyValueStore {
  14270. // %0 // user: %1
  14271. bb0(%0 : $@thick Information.Type):
  14272. debug_value %0 : $@thick Information.Type, let, name "self", argno 1, loc "Information.swift":28:16, scope 59 // id: %1
  14273. // function_ref Information.keyValueStore.unsafeMutableAddressor
  14274. %2 = function_ref @_TFC3gpa11Informationau13keyValueStoreCSo25NSUbiquitousKeyValueStore : $@convention(thin) () -> Builtin.RawPointer, scope 60 // user: %3
  14275. %3 = apply %2() : $@convention(thin) () -> Builtin.RawPointer, scope 60 // user: %4
  14276. %4 = pointer_to_address %3 : $Builtin.RawPointer to [strict] $*NSUbiquitousKeyValueStore, scope 60 // user: %5
  14277. %5 = load [copy] %4 : $*NSUbiquitousKeyValueStore, scope 60 // user: %6
  14278. return %5 : $NSUbiquitousKeyValueStore, loc "Information.swift":28:16, scope 60 // id: %6
  14279. } // end sil function '_TZFC3gpa11Informationg13keyValueStoreCSo25NSUbiquitousKeyValueStore'
  14280.  
  14281. sil_scope 61 { loc "Information.swift":28:16 parent @_TToZFC3gpa11Informationg13keyValueStoreCSo25NSUbiquitousKeyValueStore : $@convention(objc_method) (@objc_metatype Information.Type) -> @autoreleased NSUbiquitousKeyValueStore }
  14282.  
  14283. // @objc static Information.keyValueStore.getter
  14284. sil hidden [thunk] @_TToZFC3gpa11Informationg13keyValueStoreCSo25NSUbiquitousKeyValueStore : $@convention(objc_method) (@objc_metatype Information.Type) -> @autoreleased NSUbiquitousKeyValueStore {
  14285. // %0 // user: %1
  14286. bb0(%0 : $@objc_metatype Information.Type):
  14287. %1 = objc_to_thick_metatype %0 : $@objc_metatype Information.Type to $@thick Information.Type, scope 61 // user: %3
  14288. // function_ref static Information.keyValueStore.getter
  14289. %2 = function_ref @_TZFC3gpa11Informationg13keyValueStoreCSo25NSUbiquitousKeyValueStore : $@convention(method) (@thick Information.Type) -> @owned NSUbiquitousKeyValueStore, scope 61 // user: %3
  14290. %3 = apply %2(%1) : $@convention(method) (@thick Information.Type) -> @owned NSUbiquitousKeyValueStore, scope 61 // user: %4
  14291. return %3 : $NSUbiquitousKeyValueStore, scope 61 // id: %4
  14292. } // end sil function '_TToZFC3gpa11Informationg13keyValueStoreCSo25NSUbiquitousKeyValueStore'
  14293.  
  14294. sil_scope 62 { loc "Information.swift":30:9 parent @_TFC3gpa11Informationm4nameSS : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed Information) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) }
  14295.  
  14296. // Information.name.materializeForSet
  14297. sil hidden @_TFC3gpa11Informationm4nameSS : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed Information) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) {
  14298. // %2 // user: %3
  14299. bb0(%0 : $Builtin.RawPointer, %1 : $*Builtin.UnsafeValueBuffer, %2 : $Information):
  14300. %3 = ref_element_addr %2 : $Information, #Information.name, scope 62 // user: %4
  14301. %4 = address_to_pointer %3 : $*String to $Builtin.RawPointer, scope 62 // user: %6
  14302. %5 = enum $Optional<Builtin.RawPointer>, #Optional.none!enumelt, scope 62 // user: %6
  14303. %6 = tuple (%4 : $Builtin.RawPointer, %5 : $Optional<Builtin.RawPointer>), scope 62 // user: %7
  14304. return %6 : $(Builtin.RawPointer, Optional<Builtin.RawPointer>), scope 62 // id: %7
  14305. } // end sil function '_TFC3gpa11Informationm4nameSS'
  14306.  
  14307. sil_scope 63 { loc "Information.swift":31:9 parent @_TFC3gpa11Informationm5gradeSi : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed Information) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) }
  14308.  
  14309. // Information.grade.materializeForSet
  14310. sil hidden @_TFC3gpa11Informationm5gradeSi : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed Information) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) {
  14311. // %2 // user: %3
  14312. bb0(%0 : $Builtin.RawPointer, %1 : $*Builtin.UnsafeValueBuffer, %2 : $Information):
  14313. %3 = ref_element_addr %2 : $Information, #Information.grade, scope 63 // user: %4
  14314. %4 = address_to_pointer %3 : $*Int to $Builtin.RawPointer, scope 63 // user: %6
  14315. %5 = enum $Optional<Builtin.RawPointer>, #Optional.none!enumelt, scope 63 // user: %6
  14316. %6 = tuple (%4 : $Builtin.RawPointer, %5 : $Optional<Builtin.RawPointer>), scope 63 // user: %7
  14317. return %6 : $(Builtin.RawPointer, Optional<Builtin.RawPointer>), scope 63 // id: %7
  14318. } // end sil function '_TFC3gpa11Informationm5gradeSi'
  14319.  
  14320. sil_scope 64 { loc "Information.swift":32:9 parent @_TFC3gpa11Informationm10multiplierSd : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed Information) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) }
  14321.  
  14322. // Information.multiplier.materializeForSet
  14323. sil hidden @_TFC3gpa11Informationm10multiplierSd : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed Information) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) {
  14324. // %2 // user: %3
  14325. bb0(%0 : $Builtin.RawPointer, %1 : $*Builtin.UnsafeValueBuffer, %2 : $Information):
  14326. %3 = ref_element_addr %2 : $Information, #Information.multiplier, scope 64 // user: %4
  14327. %4 = address_to_pointer %3 : $*Double to $Builtin.RawPointer, scope 64 // user: %6
  14328. %5 = enum $Optional<Builtin.RawPointer>, #Optional.none!enumelt, scope 64 // user: %6
  14329. %6 = tuple (%4 : $Builtin.RawPointer, %5 : $Optional<Builtin.RawPointer>), scope 64 // user: %7
  14330. return %6 : $(Builtin.RawPointer, Optional<Builtin.RawPointer>), scope 64 // id: %7
  14331. } // end sil function '_TFC3gpa11Informationm10multiplierSd'
  14332.  
  14333. sil_scope 65 { loc "Information.swift":33:9 parent @_TFC3gpa11Informationm7creditsSd : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed Information) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) }
  14334.  
  14335. // Information.credits.materializeForSet
  14336. sil hidden @_TFC3gpa11Informationm7creditsSd : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed Information) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) {
  14337. // %2 // user: %3
  14338. bb0(%0 : $Builtin.RawPointer, %1 : $*Builtin.UnsafeValueBuffer, %2 : $Information):
  14339. %3 = ref_element_addr %2 : $Information, #Information.credits, scope 65 // user: %4
  14340. %4 = address_to_pointer %3 : $*Double to $Builtin.RawPointer, scope 65 // user: %6
  14341. %5 = enum $Optional<Builtin.RawPointer>, #Optional.none!enumelt, scope 65 // user: %6
  14342. %6 = tuple (%4 : $Builtin.RawPointer, %5 : $Optional<Builtin.RawPointer>), scope 65 // user: %7
  14343. return %6 : $(Builtin.RawPointer, Optional<Builtin.RawPointer>), scope 65 // id: %7
  14344. } // end sil function '_TFC3gpa11Informationm7creditsSd'
  14345.  
  14346. sil_scope 66 { loc "Information.swift":25:39 parent @_TFC3gpa11InformationcfT_S0_ : $@convention(method) (@owned Information) -> @owned Information }
  14347. sil_scope 67 { parent 66 }
  14348.  
  14349. // Information.init() -> Information
  14350. sil hidden @_TFC3gpa11InformationcfT_S0_ : $@convention(method) (@owned Information) -> @owned Information {
  14351. // %0 // users: %30, %1
  14352. bb0(%0 : $Information):
  14353. debug_value %0 : $Information, let, name "self", scope 66 // id: %1
  14354. // function_ref _unimplementedInitializer(className : StaticString, initName : StaticString, file : StaticString, line : UInt, column : UInt) -> Never
  14355. %2 = function_ref @_TFs25_unimplementedInitializerFT9classNameVs12StaticString8initNameS_4fileS_4lineSu6columnSu_Os5Never : $@convention(thin) (StaticString, StaticString, StaticString, UInt, UInt) -> Never, loc "Information.swift":25:7, scope 67 // user: %29
  14356. %3 = string_literal utf8 "gpa.Information", loc "Information.swift":25:7, scope 67 // user: %8
  14357. %4 = integer_literal $Builtin.Word, 15, loc "Information.swift":25:7, scope 67 // user: %8
  14358. %5 = integer_literal $Builtin.Int1, -1, loc "Information.swift":25:7, scope 67 // user: %8
  14359. %6 = metatype $@thin StaticString.Type, loc "Information.swift":25:7, scope 67 // user: %8
  14360. // function_ref StaticString.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> StaticString
  14361. %7 = function_ref @_TFVs12StaticStringCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__S_ : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin StaticString.Type) -> StaticString, loc "Information.swift":25:7, scope 67 // user: %8
  14362. %8 = apply %7(%3, %4, %5, %6) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin StaticString.Type) -> StaticString, loc "Information.swift":25:7, scope 67 // user: %29
  14363. %9 = string_literal utf8 "init()", loc "Information.swift":25:7, scope 67 // user: %14
  14364. %10 = integer_literal $Builtin.Word, 6, loc "Information.swift":25:7, scope 67 // user: %14
  14365. %11 = integer_literal $Builtin.Int1, -1, loc "Information.swift":25:7, scope 67 // user: %14
  14366. %12 = metatype $@thin StaticString.Type, loc "Information.swift":25:7, scope 67 // user: %14
  14367. // function_ref StaticString.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> StaticString
  14368. %13 = function_ref @_TFVs12StaticStringCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__S_ : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin StaticString.Type) -> StaticString, loc "Information.swift":25:7, scope 67 // user: %14
  14369. %14 = apply %13(%9, %10, %11, %12) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin StaticString.Type) -> StaticString, loc "Information.swift":25:7, scope 67 // user: %29
  14370. %15 = string_literal utf8 "Information.swift", loc "Information.swift":25:7, scope 67 // user: %20
  14371. %16 = integer_literal $Builtin.Word, 17, loc "Information.swift":25:7, scope 67 // user: %20
  14372. %17 = integer_literal $Builtin.Int1, -1, loc "Information.swift":25:7, scope 67 // user: %20
  14373. %18 = metatype $@thin StaticString.Type, loc "Information.swift":25:7, scope 67 // user: %20
  14374. // function_ref StaticString.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> StaticString
  14375. %19 = function_ref @_TFVs12StaticStringCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__S_ : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin StaticString.Type) -> StaticString, loc "Information.swift":25:7, scope 67 // user: %20
  14376. %20 = apply %19(%15, %16, %17, %18) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin StaticString.Type) -> StaticString, loc "Information.swift":25:7, scope 67 // user: %29
  14377. // function_ref UInt.init(_builtinIntegerLiteral : Builtin.Int2048) -> UInt
  14378. %21 = function_ref @_TFSuCfT22_builtinIntegerLiteralBi2048__Su : $@convention(method) (Builtin.Int2048, @thin UInt.Type) -> UInt, loc "Information.swift":25:7, scope 67 // user: %24
  14379. %22 = metatype $@thin UInt.Type, loc "Information.swift":25:7, scope 67 // user: %24
  14380. %23 = integer_literal $Builtin.Int2048, 25, loc "Information.swift":25:7, scope 67 // user: %24
  14381. %24 = apply %21(%23, %22) : $@convention(method) (Builtin.Int2048, @thin UInt.Type) -> UInt, loc "Information.swift":25:7, scope 67 // user: %29
  14382. // function_ref UInt.init(_builtinIntegerLiteral : Builtin.Int2048) -> UInt
  14383. %25 = function_ref @_TFSuCfT22_builtinIntegerLiteralBi2048__Su : $@convention(method) (Builtin.Int2048, @thin UInt.Type) -> UInt, loc "Information.swift":25:7, scope 67 // user: %28
  14384. %26 = metatype $@thin UInt.Type, loc "Information.swift":25:7, scope 67 // user: %28
  14385. %27 = integer_literal $Builtin.Int2048, 7, loc "Information.swift":25:7, scope 67 // user: %28
  14386. %28 = apply %25(%27, %26) : $@convention(method) (Builtin.Int2048, @thin UInt.Type) -> UInt, loc "Information.swift":25:7, scope 67 // user: %29
  14387. %29 = apply %2(%8, %14, %20, %24, %28) : $@convention(thin) (StaticString, StaticString, StaticString, UInt, UInt) -> Never, loc "Information.swift":25:7, scope 67
  14388. %30 = copy_value %0 : $Information, loc "Information.swift":25:39, scope 67 // user: %31
  14389. return %30 : $Information, loc "Information.swift":25:39, scope 67 // id: %31
  14390. } // end sil function '_TFC3gpa11InformationcfT_S0_'
  14391.  
  14392. sil_scope 68 { loc "Information.swift":25:39 parent @_TFC3gpa11InformationCfT_S0_ : $@convention(method) (@thick Information.Type) -> @owned Information }
  14393.  
  14394. // Information.__allocating_init() -> Information
  14395. sil hidden @_TFC3gpa11InformationCfT_S0_ : $@convention(method) (@thick Information.Type) -> @owned Information {
  14396. bb0(%0 : $@thick Information.Type):
  14397. %1 = alloc_ref [objc] $Information, scope 68 // user: %3
  14398. // function_ref Information.init() -> Information
  14399. %2 = function_ref @_TFC3gpa11InformationcfT_S0_ : $@convention(method) (@owned Information) -> @owned Information, scope 68 // user: %3
  14400. %3 = apply %2(%1) : $@convention(method) (@owned Information) -> @owned Information, scope 68 // user: %4
  14401. return %3 : $Information, scope 68 // id: %4
  14402. } // end sil function '_TFC3gpa11InformationCfT_S0_'
  14403.  
  14404.  
  14405. // _unimplementedInitializer(className : StaticString, initName : StaticString, file : StaticString, line : UInt, column : UInt) -> Never
  14406. sil [transparent] [fragile] @_TFs25_unimplementedInitializerFT9classNameVs12StaticString8initNameS_4fileS_4lineSu6columnSu_Os5Never : $@convention(thin) (StaticString, StaticString, StaticString, UInt, UInt) -> Never
  14407.  
  14408.  
  14409. // StaticString.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> StaticString
  14410. sil [transparent] [fragile] [readonly] @_TFVs12StaticStringCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__S_ : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin StaticString.Type) -> StaticString
  14411.  
  14412.  
  14413. // UInt.init(_builtinIntegerLiteral : Builtin.Int2048) -> UInt
  14414. sil [transparent] [fragile] @_TFSuCfT22_builtinIntegerLiteralBi2048__Su : $@convention(method) (Builtin.Int2048, @thin UInt.Type) -> UInt
  14415.  
  14416. sil_scope 69 { loc "Information.swift":25:39 parent @_TToFC3gpa11InformationcfT_S0_ : $@convention(objc_method) (@owned Information) -> @owned Information }
  14417.  
  14418. // @objc Information.init() -> Information
  14419. sil hidden [thunk] @_TToFC3gpa11InformationcfT_S0_ : $@convention(objc_method) (@owned Information) -> @owned Information {
  14420. // %0 // user: %2
  14421. bb0(%0 : $Information):
  14422. // function_ref Information.init() -> Information
  14423. %1 = function_ref @_TFC3gpa11InformationcfT_S0_ : $@convention(method) (@owned Information) -> @owned Information, scope 69 // user: %2
  14424. %2 = apply %1(%0) : $@convention(method) (@owned Information) -> @owned Information, scope 69 // user: %3
  14425. return %2 : $Information, scope 69 // id: %3
  14426. } // end sil function '_TToFC3gpa11InformationcfT_S0_'
  14427.  
  14428. sil_scope 70 { parent @_TTOFCSo25NSUbiquitousKeyValueStorecfT_S_ : $@convention(method) (@owned NSUbiquitousKeyValueStore) -> @owned NSUbiquitousKeyValueStore }
  14429.  
  14430. // @nonobjc NSUbiquitousKeyValueStore.init() -> NSUbiquitousKeyValueStore
  14431. sil shared [thunk] @_TTOFCSo25NSUbiquitousKeyValueStorecfT_S_ : $@convention(method) (@owned NSUbiquitousKeyValueStore) -> @owned NSUbiquitousKeyValueStore {
  14432. // %0 // users: %2, %1
  14433. bb0(%0 : $NSUbiquitousKeyValueStore):
  14434. %1 = class_method [volatile] %0 : $NSUbiquitousKeyValueStore, #NSUbiquitousKeyValueStore.init!initializer.1.foreign : (NSUbiquitousKeyValueStore.Type) -> () -> NSUbiquitousKeyValueStore , $@convention(objc_method) (@owned NSUbiquitousKeyValueStore) -> @owned NSUbiquitousKeyValueStore, scope 70 // user: %2
  14435. %2 = apply %1(%0) : $@convention(objc_method) (@owned NSUbiquitousKeyValueStore) -> @owned NSUbiquitousKeyValueStore, scope 70 // user: %3
  14436. return %2 : $NSUbiquitousKeyValueStore, scope 70 // id: %3
  14437. } // end sil function '_TTOFCSo25NSUbiquitousKeyValueStorecfT_S_'
  14438.  
  14439. sil_vtable Information {
  14440. #Information.init!initializer.1: _TFC3gpa11InformationcfTSS5gradeSi10multiplierSd7creditsSd_S0_ // Information.init(String, grade : Int, multiplier : Double, credits : Double) -> Information
  14441. #Information.init!allocator.1: _TFC3gpa11InformationCfT5coderCSo7NSCoder_GSqS0__ // Information.__allocating_init(coder : NSCoder) -> Information?
  14442. #Information.init!initializer.1: _TFC3gpa11InformationcfT5coderCSo7NSCoder_GSqS0__ // Information.init(coder : NSCoder) -> Information?
  14443. #Information.encode!1: _TFC3gpa11Information6encodefT4withCSo7NSCoder_T_ // Information.encode(with : NSCoder) -> ()
  14444. #Information.deinit!deallocator: _TFC3gpa11InformationD // Information.__deallocating_deinit
  14445. #Information.name!getter.1: _TFC3gpa11Informationg4nameSS // Information.name.getter
  14446. #Information.name!setter.1: _TFC3gpa11Informations4nameSS // Information.name.setter
  14447. #Information.name!materializeForSet.1: _TFC3gpa11Informationm4nameSS // Information.name.materializeForSet
  14448. #Information.grade!getter.1: _TFC3gpa11Informationg5gradeSi // Information.grade.getter
  14449. #Information.grade!setter.1: _TFC3gpa11Informations5gradeSi // Information.grade.setter
  14450. #Information.grade!materializeForSet.1: _TFC3gpa11Informationm5gradeSi // Information.grade.materializeForSet
  14451. #Information.multiplier!getter.1: _TFC3gpa11Informationg10multiplierSd // Information.multiplier.getter
  14452. #Information.multiplier!setter.1: _TFC3gpa11Informations10multiplierSd // Information.multiplier.setter
  14453. #Information.multiplier!materializeForSet.1: _TFC3gpa11Informationm10multiplierSd // Information.multiplier.materializeForSet
  14454. #Information.credits!getter.1: _TFC3gpa11Informationg7creditsSd // Information.credits.getter
  14455. #Information.credits!setter.1: _TFC3gpa11Informations7creditsSd // Information.credits.setter
  14456. #Information.credits!materializeForSet.1: _TFC3gpa11Informationm7creditsSd // Information.credits.materializeForSet
  14457. #Information.init!initializer.1: _TFC3gpa11InformationcfT_S0_ // Information.init() -> Information
  14458. }
  14459.  
  14460. sil_witness_table shared NSObject: AnyObject module ObjectiveC
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement