Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sil_stage raw
- import Builtin
- import Swift
- import SwiftShims
- sil_scope 1 { parent @_TIvC3gpa20AddClassesController14classNameFieldGSQCSo11UITextField_i : $@convention(thin) () -> @owned Optional<UITextField> }
- // AddClassesController.(classNameField).(variable initialization expression)
- sil hidden [transparent] @_TIvC3gpa20AddClassesController14classNameFieldGSQCSo11UITextField_i : $@convention(thin) () -> @owned Optional<UITextField> {
- bb0:
- // function_ref ImplicitlyUnwrappedOptional.init(nilLiteral : ()) -> A!
- %0 = function_ref @_TFSQCfT10nilLiteralT__GSQx_ : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 1 // user: %3
- %1 = metatype $@thin ImplicitlyUnwrappedOptional<UITextField>.Type, scope 1 // user: %3
- %2 = alloc_stack $Optional<UITextField>, scope 1 // users: %5, %4, %3
- %3 = apply %0<UITextField>(%2, %1) : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 1
- %4 = load [take] %2 : $*Optional<UITextField>, scope 1 // user: %6
- dealloc_stack %2 : $*Optional<UITextField>, scope 1 // id: %5
- return %4 : $Optional<UITextField>, scope 1 // id: %6
- } // end sil function '_TIvC3gpa20AddClassesController14classNameFieldGSQCSo11UITextField_i'
- // ImplicitlyUnwrappedOptional.init(nilLiteral : ()) -> A!
- sil [transparent] [fragile] @_TFSQCfT10nilLiteralT__GSQx_ : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>
- sil_scope 2 { parent @_TToFC3gpa20AddClassesControllerg14classNameFieldGSQCSo11UITextField_ : $@convention(objc_method) (AddClassesController) -> @autoreleased Optional<UITextField> }
- // @objc AddClassesController.classNameField.getter
- sil hidden [thunk] @_TToFC3gpa20AddClassesControllerg14classNameFieldGSQCSo11UITextField_ : $@convention(objc_method) (AddClassesController) -> @autoreleased Optional<UITextField> {
- // %0 // user: %1
- bb0(%0 : $AddClassesController):
- %1 = copy_value %0 : $AddClassesController, scope 2 // users: %4, %3
- // function_ref AddClassesController.classNameField.getter
- %2 = function_ref @_TFC3gpa20AddClassesControllerg14classNameFieldGSQCSo11UITextField_ : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UITextField>, scope 2 // user: %3
- %3 = apply %2(%1) : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UITextField>, scope 2 // user: %5
- destroy_value %1 : $AddClassesController, scope 2 // id: %4
- return %3 : $Optional<UITextField>, scope 2 // id: %5
- } // end sil function '_TToFC3gpa20AddClassesControllerg14classNameFieldGSQCSo11UITextField_'
- sil_scope 3 { loc "AddClassesController.swift":27:19 parent @_TFC3gpa20AddClassesControllerg14classNameFieldGSQCSo11UITextField_ : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UITextField> }
- sil_scope 4 { loc "AddClassesController.swift":27:19 parent 3 }
- // AddClassesController.classNameField.getter
- sil hidden @_TFC3gpa20AddClassesControllerg14classNameFieldGSQCSo11UITextField_ : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UITextField> {
- // %0 // users: %2, %1
- bb0(%0 : $AddClassesController):
- debug_value %0 : $AddClassesController, let, name "self", argno 1, loc "AddClassesController.swift":27:19, scope 3 // id: %1
- %2 = ref_element_addr %0 : $AddClassesController, #AddClassesController.classNameField, scope 4 // user: %3
- %3 = load [copy] %2 : $*Optional<UITextField>, scope 4 // user: %4
- return %3 : $Optional<UITextField>, loc "AddClassesController.swift":27:19, scope 4 // id: %4
- } // end sil function '_TFC3gpa20AddClassesControllerg14classNameFieldGSQCSo11UITextField_'
- sil_scope 5 { parent @_TToFC3gpa20AddClassesControllers14classNameFieldGSQCSo11UITextField_ : $@convention(objc_method) (Optional<UITextField>, AddClassesController) -> () }
- // @objc AddClassesController.classNameField.setter
- sil hidden [thunk] @_TToFC3gpa20AddClassesControllers14classNameFieldGSQCSo11UITextField_ : $@convention(objc_method) (Optional<UITextField>, AddClassesController) -> () {
- // %0 // user: %2
- // %1 // user: %3
- bb0(%0 : $Optional<UITextField>, %1 : $AddClassesController):
- %2 = copy_value %0 : $Optional<UITextField>, scope 5 // user: %5
- %3 = copy_value %1 : $AddClassesController, scope 5 // users: %6, %5
- // function_ref AddClassesController.classNameField.setter
- %4 = function_ref @_TFC3gpa20AddClassesControllers14classNameFieldGSQCSo11UITextField_ : $@convention(method) (@owned Optional<UITextField>, @guaranteed AddClassesController) -> (), scope 5 // user: %5
- %5 = apply %4(%2, %3) : $@convention(method) (@owned Optional<UITextField>, @guaranteed AddClassesController) -> (), scope 5 // user: %7
- destroy_value %3 : $AddClassesController, scope 5 // id: %6
- return %5 : $(), scope 5 // id: %7
- } // end sil function '_TToFC3gpa20AddClassesControllers14classNameFieldGSQCSo11UITextField_'
- sil_scope 6 { loc "AddClassesController.swift":27:19 parent @_TFC3gpa20AddClassesControllers14classNameFieldGSQCSo11UITextField_ : $@convention(method) (@owned Optional<UITextField>, @guaranteed AddClassesController) -> () }
- sil_scope 7 { loc "AddClassesController.swift":27:19 parent 6 }
- // AddClassesController.classNameField.setter
- sil hidden @_TFC3gpa20AddClassesControllers14classNameFieldGSQCSo11UITextField_ : $@convention(method) (@owned Optional<UITextField>, @guaranteed AddClassesController) -> () {
- // %0 // users: %7, %4, %2
- // %1 // users: %5, %3
- bb0(%0 : $Optional<UITextField>, %1 : $AddClassesController):
- debug_value %0 : $Optional<UITextField>, let, name "value", argno 1, loc "AddClassesController.swift":27:19, scope 6 // id: %2
- debug_value %1 : $AddClassesController, let, name "self", argno 2, loc "AddClassesController.swift":27:19, scope 6 // id: %3
- %4 = copy_value %0 : $Optional<UITextField>, scope 7 // user: %6
- %5 = ref_element_addr %1 : $AddClassesController, #AddClassesController.classNameField, scope 7 // user: %6
- assign %4 to %5 : $*Optional<UITextField>, scope 7 // id: %6
- destroy_value %0 : $Optional<UITextField>, loc "AddClassesController.swift":27:19, scope 7 // id: %7
- %8 = tuple (), loc "AddClassesController.swift":27:19, scope 7 // user: %9
- return %8 : $(), loc "AddClassesController.swift":27:19, scope 7 // id: %9
- } // end sil function '_TFC3gpa20AddClassesControllers14classNameFieldGSQCSo11UITextField_'
- sil_scope 8 { parent @_TIvC3gpa20AddClassesController15multiplierFieldGSQCSo11UITextField_i : $@convention(thin) () -> @owned Optional<UITextField> }
- // AddClassesController.(multiplierField).(variable initialization expression)
- sil hidden [transparent] @_TIvC3gpa20AddClassesController15multiplierFieldGSQCSo11UITextField_i : $@convention(thin) () -> @owned Optional<UITextField> {
- bb0:
- // function_ref ImplicitlyUnwrappedOptional.init(nilLiteral : ()) -> A!
- %0 = function_ref @_TFSQCfT10nilLiteralT__GSQx_ : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 8 // user: %3
- %1 = metatype $@thin ImplicitlyUnwrappedOptional<UITextField>.Type, scope 8 // user: %3
- %2 = alloc_stack $Optional<UITextField>, scope 8 // users: %5, %4, %3
- %3 = apply %0<UITextField>(%2, %1) : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 8
- %4 = load [take] %2 : $*Optional<UITextField>, scope 8 // user: %6
- dealloc_stack %2 : $*Optional<UITextField>, scope 8 // id: %5
- return %4 : $Optional<UITextField>, scope 8 // id: %6
- } // end sil function '_TIvC3gpa20AddClassesController15multiplierFieldGSQCSo11UITextField_i'
- sil_scope 9 { parent @_TToFC3gpa20AddClassesControllerg15multiplierFieldGSQCSo11UITextField_ : $@convention(objc_method) (AddClassesController) -> @autoreleased Optional<UITextField> }
- // @objc AddClassesController.multiplierField.getter
- sil hidden [thunk] @_TToFC3gpa20AddClassesControllerg15multiplierFieldGSQCSo11UITextField_ : $@convention(objc_method) (AddClassesController) -> @autoreleased Optional<UITextField> {
- // %0 // user: %1
- bb0(%0 : $AddClassesController):
- %1 = copy_value %0 : $AddClassesController, scope 9 // users: %4, %3
- // function_ref AddClassesController.multiplierField.getter
- %2 = function_ref @_TFC3gpa20AddClassesControllerg15multiplierFieldGSQCSo11UITextField_ : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UITextField>, scope 9 // user: %3
- %3 = apply %2(%1) : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UITextField>, scope 9 // user: %5
- destroy_value %1 : $AddClassesController, scope 9 // id: %4
- return %3 : $Optional<UITextField>, scope 9 // id: %5
- } // end sil function '_TToFC3gpa20AddClassesControllerg15multiplierFieldGSQCSo11UITextField_'
- sil_scope 10 { loc "AddClassesController.swift":28:19 parent @_TFC3gpa20AddClassesControllerg15multiplierFieldGSQCSo11UITextField_ : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UITextField> }
- sil_scope 11 { loc "AddClassesController.swift":28:19 parent 10 }
- // AddClassesController.multiplierField.getter
- sil hidden @_TFC3gpa20AddClassesControllerg15multiplierFieldGSQCSo11UITextField_ : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UITextField> {
- // %0 // users: %2, %1
- bb0(%0 : $AddClassesController):
- debug_value %0 : $AddClassesController, let, name "self", argno 1, loc "AddClassesController.swift":28:19, scope 10 // id: %1
- %2 = ref_element_addr %0 : $AddClassesController, #AddClassesController.multiplierField, scope 11 // user: %3
- %3 = load [copy] %2 : $*Optional<UITextField>, scope 11 // user: %4
- return %3 : $Optional<UITextField>, loc "AddClassesController.swift":28:19, scope 11 // id: %4
- } // end sil function '_TFC3gpa20AddClassesControllerg15multiplierFieldGSQCSo11UITextField_'
- sil_scope 12 { parent @_TToFC3gpa20AddClassesControllers15multiplierFieldGSQCSo11UITextField_ : $@convention(objc_method) (Optional<UITextField>, AddClassesController) -> () }
- // @objc AddClassesController.multiplierField.setter
- sil hidden [thunk] @_TToFC3gpa20AddClassesControllers15multiplierFieldGSQCSo11UITextField_ : $@convention(objc_method) (Optional<UITextField>, AddClassesController) -> () {
- // %0 // user: %2
- // %1 // user: %3
- bb0(%0 : $Optional<UITextField>, %1 : $AddClassesController):
- %2 = copy_value %0 : $Optional<UITextField>, scope 12 // user: %5
- %3 = copy_value %1 : $AddClassesController, scope 12 // users: %6, %5
- // function_ref AddClassesController.multiplierField.setter
- %4 = function_ref @_TFC3gpa20AddClassesControllers15multiplierFieldGSQCSo11UITextField_ : $@convention(method) (@owned Optional<UITextField>, @guaranteed AddClassesController) -> (), scope 12 // user: %5
- %5 = apply %4(%2, %3) : $@convention(method) (@owned Optional<UITextField>, @guaranteed AddClassesController) -> (), scope 12 // user: %7
- destroy_value %3 : $AddClassesController, scope 12 // id: %6
- return %5 : $(), scope 12 // id: %7
- } // end sil function '_TToFC3gpa20AddClassesControllers15multiplierFieldGSQCSo11UITextField_'
- sil_scope 13 { loc "AddClassesController.swift":28:19 parent @_TFC3gpa20AddClassesControllers15multiplierFieldGSQCSo11UITextField_ : $@convention(method) (@owned Optional<UITextField>, @guaranteed AddClassesController) -> () }
- sil_scope 14 { loc "AddClassesController.swift":28:19 parent 13 }
- // AddClassesController.multiplierField.setter
- sil hidden @_TFC3gpa20AddClassesControllers15multiplierFieldGSQCSo11UITextField_ : $@convention(method) (@owned Optional<UITextField>, @guaranteed AddClassesController) -> () {
- // %0 // users: %7, %4, %2
- // %1 // users: %5, %3
- bb0(%0 : $Optional<UITextField>, %1 : $AddClassesController):
- debug_value %0 : $Optional<UITextField>, let, name "value", argno 1, loc "AddClassesController.swift":28:19, scope 13 // id: %2
- debug_value %1 : $AddClassesController, let, name "self", argno 2, loc "AddClassesController.swift":28:19, scope 13 // id: %3
- %4 = copy_value %0 : $Optional<UITextField>, scope 14 // user: %6
- %5 = ref_element_addr %1 : $AddClassesController, #AddClassesController.multiplierField, scope 14 // user: %6
- assign %4 to %5 : $*Optional<UITextField>, scope 14 // id: %6
- destroy_value %0 : $Optional<UITextField>, loc "AddClassesController.swift":28:19, scope 14 // id: %7
- %8 = tuple (), loc "AddClassesController.swift":28:19, scope 14 // user: %9
- return %8 : $(), loc "AddClassesController.swift":28:19, scope 14 // id: %9
- } // end sil function '_TFC3gpa20AddClassesControllers15multiplierFieldGSQCSo11UITextField_'
- sil_scope 15 { parent @_TIvC3gpa20AddClassesController17currentGradeFieldGSQCSo11UITextField_i : $@convention(thin) () -> @owned Optional<UITextField> }
- // AddClassesController.(currentGradeField).(variable initialization expression)
- sil hidden [transparent] @_TIvC3gpa20AddClassesController17currentGradeFieldGSQCSo11UITextField_i : $@convention(thin) () -> @owned Optional<UITextField> {
- bb0:
- // function_ref ImplicitlyUnwrappedOptional.init(nilLiteral : ()) -> A!
- %0 = function_ref @_TFSQCfT10nilLiteralT__GSQx_ : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 15 // user: %3
- %1 = metatype $@thin ImplicitlyUnwrappedOptional<UITextField>.Type, scope 15 // user: %3
- %2 = alloc_stack $Optional<UITextField>, scope 15 // users: %5, %4, %3
- %3 = apply %0<UITextField>(%2, %1) : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 15
- %4 = load [take] %2 : $*Optional<UITextField>, scope 15 // user: %6
- dealloc_stack %2 : $*Optional<UITextField>, scope 15 // id: %5
- return %4 : $Optional<UITextField>, scope 15 // id: %6
- } // end sil function '_TIvC3gpa20AddClassesController17currentGradeFieldGSQCSo11UITextField_i'
- sil_scope 16 { parent @_TToFC3gpa20AddClassesControllerg17currentGradeFieldGSQCSo11UITextField_ : $@convention(objc_method) (AddClassesController) -> @autoreleased Optional<UITextField> }
- // @objc AddClassesController.currentGradeField.getter
- sil hidden [thunk] @_TToFC3gpa20AddClassesControllerg17currentGradeFieldGSQCSo11UITextField_ : $@convention(objc_method) (AddClassesController) -> @autoreleased Optional<UITextField> {
- // %0 // user: %1
- bb0(%0 : $AddClassesController):
- %1 = copy_value %0 : $AddClassesController, scope 16 // users: %4, %3
- // function_ref AddClassesController.currentGradeField.getter
- %2 = function_ref @_TFC3gpa20AddClassesControllerg17currentGradeFieldGSQCSo11UITextField_ : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UITextField>, scope 16 // user: %3
- %3 = apply %2(%1) : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UITextField>, scope 16 // user: %5
- destroy_value %1 : $AddClassesController, scope 16 // id: %4
- return %3 : $Optional<UITextField>, scope 16 // id: %5
- } // end sil function '_TToFC3gpa20AddClassesControllerg17currentGradeFieldGSQCSo11UITextField_'
- sil_scope 17 { loc "AddClassesController.swift":29:19 parent @_TFC3gpa20AddClassesControllerg17currentGradeFieldGSQCSo11UITextField_ : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UITextField> }
- sil_scope 18 { loc "AddClassesController.swift":29:19 parent 17 }
- // AddClassesController.currentGradeField.getter
- sil hidden @_TFC3gpa20AddClassesControllerg17currentGradeFieldGSQCSo11UITextField_ : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UITextField> {
- // %0 // users: %2, %1
- bb0(%0 : $AddClassesController):
- debug_value %0 : $AddClassesController, let, name "self", argno 1, loc "AddClassesController.swift":29:19, scope 17 // id: %1
- %2 = ref_element_addr %0 : $AddClassesController, #AddClassesController.currentGradeField, scope 18 // user: %3
- %3 = load [copy] %2 : $*Optional<UITextField>, scope 18 // user: %4
- return %3 : $Optional<UITextField>, loc "AddClassesController.swift":29:19, scope 18 // id: %4
- } // end sil function '_TFC3gpa20AddClassesControllerg17currentGradeFieldGSQCSo11UITextField_'
- sil_scope 19 { parent @_TToFC3gpa20AddClassesControllers17currentGradeFieldGSQCSo11UITextField_ : $@convention(objc_method) (Optional<UITextField>, AddClassesController) -> () }
- // @objc AddClassesController.currentGradeField.setter
- sil hidden [thunk] @_TToFC3gpa20AddClassesControllers17currentGradeFieldGSQCSo11UITextField_ : $@convention(objc_method) (Optional<UITextField>, AddClassesController) -> () {
- // %0 // user: %2
- // %1 // user: %3
- bb0(%0 : $Optional<UITextField>, %1 : $AddClassesController):
- %2 = copy_value %0 : $Optional<UITextField>, scope 19 // user: %5
- %3 = copy_value %1 : $AddClassesController, scope 19 // users: %6, %5
- // function_ref AddClassesController.currentGradeField.setter
- %4 = function_ref @_TFC3gpa20AddClassesControllers17currentGradeFieldGSQCSo11UITextField_ : $@convention(method) (@owned Optional<UITextField>, @guaranteed AddClassesController) -> (), scope 19 // user: %5
- %5 = apply %4(%2, %3) : $@convention(method) (@owned Optional<UITextField>, @guaranteed AddClassesController) -> (), scope 19 // user: %7
- destroy_value %3 : $AddClassesController, scope 19 // id: %6
- return %5 : $(), scope 19 // id: %7
- } // end sil function '_TToFC3gpa20AddClassesControllers17currentGradeFieldGSQCSo11UITextField_'
- sil_scope 20 { loc "AddClassesController.swift":29:19 parent @_TFC3gpa20AddClassesControllers17currentGradeFieldGSQCSo11UITextField_ : $@convention(method) (@owned Optional<UITextField>, @guaranteed AddClassesController) -> () }
- sil_scope 21 { loc "AddClassesController.swift":29:19 parent 20 }
- // AddClassesController.currentGradeField.setter
- sil hidden @_TFC3gpa20AddClassesControllers17currentGradeFieldGSQCSo11UITextField_ : $@convention(method) (@owned Optional<UITextField>, @guaranteed AddClassesController) -> () {
- // %0 // users: %7, %4, %2
- // %1 // users: %5, %3
- bb0(%0 : $Optional<UITextField>, %1 : $AddClassesController):
- debug_value %0 : $Optional<UITextField>, let, name "value", argno 1, loc "AddClassesController.swift":29:19, scope 20 // id: %2
- debug_value %1 : $AddClassesController, let, name "self", argno 2, loc "AddClassesController.swift":29:19, scope 20 // id: %3
- %4 = copy_value %0 : $Optional<UITextField>, scope 21 // user: %6
- %5 = ref_element_addr %1 : $AddClassesController, #AddClassesController.currentGradeField, scope 21 // user: %6
- assign %4 to %5 : $*Optional<UITextField>, scope 21 // id: %6
- destroy_value %0 : $Optional<UITextField>, loc "AddClassesController.swift":29:19, scope 21 // id: %7
- %8 = tuple (), loc "AddClassesController.swift":29:19, scope 21 // user: %9
- return %8 : $(), loc "AddClassesController.swift":29:19, scope 21 // id: %9
- } // end sil function '_TFC3gpa20AddClassesControllers17currentGradeFieldGSQCSo11UITextField_'
- sil_scope 22 { parent @_TIvC3gpa20AddClassesController12creditsFieldGSQCSo11UITextField_i : $@convention(thin) () -> @owned Optional<UITextField> }
- // AddClassesController.(creditsField).(variable initialization expression)
- sil hidden [transparent] @_TIvC3gpa20AddClassesController12creditsFieldGSQCSo11UITextField_i : $@convention(thin) () -> @owned Optional<UITextField> {
- bb0:
- // function_ref ImplicitlyUnwrappedOptional.init(nilLiteral : ()) -> A!
- %0 = function_ref @_TFSQCfT10nilLiteralT__GSQx_ : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 22 // user: %3
- %1 = metatype $@thin ImplicitlyUnwrappedOptional<UITextField>.Type, scope 22 // user: %3
- %2 = alloc_stack $Optional<UITextField>, scope 22 // users: %5, %4, %3
- %3 = apply %0<UITextField>(%2, %1) : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 22
- %4 = load [take] %2 : $*Optional<UITextField>, scope 22 // user: %6
- dealloc_stack %2 : $*Optional<UITextField>, scope 22 // id: %5
- return %4 : $Optional<UITextField>, scope 22 // id: %6
- } // end sil function '_TIvC3gpa20AddClassesController12creditsFieldGSQCSo11UITextField_i'
- sil_scope 23 { parent @_TToFC3gpa20AddClassesControllerg12creditsFieldGSQCSo11UITextField_ : $@convention(objc_method) (AddClassesController) -> @autoreleased Optional<UITextField> }
- // @objc AddClassesController.creditsField.getter
- sil hidden [thunk] @_TToFC3gpa20AddClassesControllerg12creditsFieldGSQCSo11UITextField_ : $@convention(objc_method) (AddClassesController) -> @autoreleased Optional<UITextField> {
- // %0 // user: %1
- bb0(%0 : $AddClassesController):
- %1 = copy_value %0 : $AddClassesController, scope 23 // users: %4, %3
- // function_ref AddClassesController.creditsField.getter
- %2 = function_ref @_TFC3gpa20AddClassesControllerg12creditsFieldGSQCSo11UITextField_ : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UITextField>, scope 23 // user: %3
- %3 = apply %2(%1) : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UITextField>, scope 23 // user: %5
- destroy_value %1 : $AddClassesController, scope 23 // id: %4
- return %3 : $Optional<UITextField>, scope 23 // id: %5
- } // end sil function '_TToFC3gpa20AddClassesControllerg12creditsFieldGSQCSo11UITextField_'
- sil_scope 24 { loc "AddClassesController.swift":30:19 parent @_TFC3gpa20AddClassesControllerg12creditsFieldGSQCSo11UITextField_ : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UITextField> }
- sil_scope 25 { loc "AddClassesController.swift":30:19 parent 24 }
- // AddClassesController.creditsField.getter
- sil hidden @_TFC3gpa20AddClassesControllerg12creditsFieldGSQCSo11UITextField_ : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UITextField> {
- // %0 // users: %2, %1
- bb0(%0 : $AddClassesController):
- debug_value %0 : $AddClassesController, let, name "self", argno 1, loc "AddClassesController.swift":30:19, scope 24 // id: %1
- %2 = ref_element_addr %0 : $AddClassesController, #AddClassesController.creditsField, scope 25 // user: %3
- %3 = load [copy] %2 : $*Optional<UITextField>, scope 25 // user: %4
- return %3 : $Optional<UITextField>, loc "AddClassesController.swift":30:19, scope 25 // id: %4
- } // end sil function '_TFC3gpa20AddClassesControllerg12creditsFieldGSQCSo11UITextField_'
- sil_scope 26 { parent @_TToFC3gpa20AddClassesControllers12creditsFieldGSQCSo11UITextField_ : $@convention(objc_method) (Optional<UITextField>, AddClassesController) -> () }
- // @objc AddClassesController.creditsField.setter
- sil hidden [thunk] @_TToFC3gpa20AddClassesControllers12creditsFieldGSQCSo11UITextField_ : $@convention(objc_method) (Optional<UITextField>, AddClassesController) -> () {
- // %0 // user: %2
- // %1 // user: %3
- bb0(%0 : $Optional<UITextField>, %1 : $AddClassesController):
- %2 = copy_value %0 : $Optional<UITextField>, scope 26 // user: %5
- %3 = copy_value %1 : $AddClassesController, scope 26 // users: %6, %5
- // function_ref AddClassesController.creditsField.setter
- %4 = function_ref @_TFC3gpa20AddClassesControllers12creditsFieldGSQCSo11UITextField_ : $@convention(method) (@owned Optional<UITextField>, @guaranteed AddClassesController) -> (), scope 26 // user: %5
- %5 = apply %4(%2, %3) : $@convention(method) (@owned Optional<UITextField>, @guaranteed AddClassesController) -> (), scope 26 // user: %7
- destroy_value %3 : $AddClassesController, scope 26 // id: %6
- return %5 : $(), scope 26 // id: %7
- } // end sil function '_TToFC3gpa20AddClassesControllers12creditsFieldGSQCSo11UITextField_'
- sil_scope 27 { loc "AddClassesController.swift":30:19 parent @_TFC3gpa20AddClassesControllers12creditsFieldGSQCSo11UITextField_ : $@convention(method) (@owned Optional<UITextField>, @guaranteed AddClassesController) -> () }
- sil_scope 28 { loc "AddClassesController.swift":30:19 parent 27 }
- // AddClassesController.creditsField.setter
- sil hidden @_TFC3gpa20AddClassesControllers12creditsFieldGSQCSo11UITextField_ : $@convention(method) (@owned Optional<UITextField>, @guaranteed AddClassesController) -> () {
- // %0 // users: %7, %4, %2
- // %1 // users: %5, %3
- bb0(%0 : $Optional<UITextField>, %1 : $AddClassesController):
- debug_value %0 : $Optional<UITextField>, let, name "value", argno 1, loc "AddClassesController.swift":30:19, scope 27 // id: %2
- debug_value %1 : $AddClassesController, let, name "self", argno 2, loc "AddClassesController.swift":30:19, scope 27 // id: %3
- %4 = copy_value %0 : $Optional<UITextField>, scope 28 // user: %6
- %5 = ref_element_addr %1 : $AddClassesController, #AddClassesController.creditsField, scope 28 // user: %6
- assign %4 to %5 : $*Optional<UITextField>, scope 28 // id: %6
- destroy_value %0 : $Optional<UITextField>, loc "AddClassesController.swift":30:19, scope 28 // id: %7
- %8 = tuple (), loc "AddClassesController.swift":30:19, scope 28 // user: %9
- return %8 : $(), loc "AddClassesController.swift":30:19, scope 28 // id: %9
- } // end sil function '_TFC3gpa20AddClassesControllers12creditsFieldGSQCSo11UITextField_'
- sil_scope 29 { parent @_TIvC3gpa20AddClassesController13multiplierBarGSQCSo18UISegmentedControl_i : $@convention(thin) () -> @owned Optional<UISegmentedControl> }
- // AddClassesController.(multiplierBar).(variable initialization expression)
- sil hidden [transparent] @_TIvC3gpa20AddClassesController13multiplierBarGSQCSo18UISegmentedControl_i : $@convention(thin) () -> @owned Optional<UISegmentedControl> {
- bb0:
- // function_ref ImplicitlyUnwrappedOptional.init(nilLiteral : ()) -> A!
- %0 = function_ref @_TFSQCfT10nilLiteralT__GSQx_ : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 29 // user: %3
- %1 = metatype $@thin ImplicitlyUnwrappedOptional<UISegmentedControl>.Type, scope 29 // user: %3
- %2 = alloc_stack $Optional<UISegmentedControl>, scope 29 // users: %5, %4, %3
- %3 = apply %0<UISegmentedControl>(%2, %1) : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 29
- %4 = load [take] %2 : $*Optional<UISegmentedControl>, scope 29 // user: %6
- dealloc_stack %2 : $*Optional<UISegmentedControl>, scope 29 // id: %5
- return %4 : $Optional<UISegmentedControl>, scope 29 // id: %6
- } // end sil function '_TIvC3gpa20AddClassesController13multiplierBarGSQCSo18UISegmentedControl_i'
- sil_scope 30 { parent @_TToFC3gpa20AddClassesControllerg13multiplierBarGSQCSo18UISegmentedControl_ : $@convention(objc_method) (AddClassesController) -> @autoreleased Optional<UISegmentedControl> }
- // @objc AddClassesController.multiplierBar.getter
- sil hidden [thunk] @_TToFC3gpa20AddClassesControllerg13multiplierBarGSQCSo18UISegmentedControl_ : $@convention(objc_method) (AddClassesController) -> @autoreleased Optional<UISegmentedControl> {
- // %0 // user: %1
- bb0(%0 : $AddClassesController):
- %1 = copy_value %0 : $AddClassesController, scope 30 // users: %4, %3
- // function_ref AddClassesController.multiplierBar.getter
- %2 = function_ref @_TFC3gpa20AddClassesControllerg13multiplierBarGSQCSo18UISegmentedControl_ : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UISegmentedControl>, scope 30 // user: %3
- %3 = apply %2(%1) : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UISegmentedControl>, scope 30 // user: %5
- destroy_value %1 : $AddClassesController, scope 30 // id: %4
- return %3 : $Optional<UISegmentedControl>, scope 30 // id: %5
- } // end sil function '_TToFC3gpa20AddClassesControllerg13multiplierBarGSQCSo18UISegmentedControl_'
- sil_scope 31 { loc "AddClassesController.swift":32:19 parent @_TFC3gpa20AddClassesControllerg13multiplierBarGSQCSo18UISegmentedControl_ : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UISegmentedControl> }
- sil_scope 32 { loc "AddClassesController.swift":32:19 parent 31 }
- // AddClassesController.multiplierBar.getter
- sil hidden @_TFC3gpa20AddClassesControllerg13multiplierBarGSQCSo18UISegmentedControl_ : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UISegmentedControl> {
- // %0 // users: %2, %1
- bb0(%0 : $AddClassesController):
- debug_value %0 : $AddClassesController, let, name "self", argno 1, loc "AddClassesController.swift":32:19, scope 31 // id: %1
- %2 = ref_element_addr %0 : $AddClassesController, #AddClassesController.multiplierBar, scope 32 // user: %3
- %3 = load [copy] %2 : $*Optional<UISegmentedControl>, scope 32 // user: %4
- return %3 : $Optional<UISegmentedControl>, loc "AddClassesController.swift":32:19, scope 32 // id: %4
- } // end sil function '_TFC3gpa20AddClassesControllerg13multiplierBarGSQCSo18UISegmentedControl_'
- sil_scope 33 { parent @_TToFC3gpa20AddClassesControllers13multiplierBarGSQCSo18UISegmentedControl_ : $@convention(objc_method) (Optional<UISegmentedControl>, AddClassesController) -> () }
- // @objc AddClassesController.multiplierBar.setter
- sil hidden [thunk] @_TToFC3gpa20AddClassesControllers13multiplierBarGSQCSo18UISegmentedControl_ : $@convention(objc_method) (Optional<UISegmentedControl>, AddClassesController) -> () {
- // %0 // user: %2
- // %1 // user: %3
- bb0(%0 : $Optional<UISegmentedControl>, %1 : $AddClassesController):
- %2 = copy_value %0 : $Optional<UISegmentedControl>, scope 33 // user: %5
- %3 = copy_value %1 : $AddClassesController, scope 33 // users: %6, %5
- // function_ref AddClassesController.multiplierBar.setter
- %4 = function_ref @_TFC3gpa20AddClassesControllers13multiplierBarGSQCSo18UISegmentedControl_ : $@convention(method) (@owned Optional<UISegmentedControl>, @guaranteed AddClassesController) -> (), scope 33 // user: %5
- %5 = apply %4(%2, %3) : $@convention(method) (@owned Optional<UISegmentedControl>, @guaranteed AddClassesController) -> (), scope 33 // user: %7
- destroy_value %3 : $AddClassesController, scope 33 // id: %6
- return %5 : $(), scope 33 // id: %7
- } // end sil function '_TToFC3gpa20AddClassesControllers13multiplierBarGSQCSo18UISegmentedControl_'
- sil_scope 34 { loc "AddClassesController.swift":32:19 parent @_TFC3gpa20AddClassesControllers13multiplierBarGSQCSo18UISegmentedControl_ : $@convention(method) (@owned Optional<UISegmentedControl>, @guaranteed AddClassesController) -> () }
- sil_scope 35 { loc "AddClassesController.swift":32:19 parent 34 }
- // AddClassesController.multiplierBar.setter
- sil hidden @_TFC3gpa20AddClassesControllers13multiplierBarGSQCSo18UISegmentedControl_ : $@convention(method) (@owned Optional<UISegmentedControl>, @guaranteed AddClassesController) -> () {
- // %0 // users: %7, %4, %2
- // %1 // users: %5, %3
- bb0(%0 : $Optional<UISegmentedControl>, %1 : $AddClassesController):
- debug_value %0 : $Optional<UISegmentedControl>, let, name "value", argno 1, loc "AddClassesController.swift":32:19, scope 34 // id: %2
- debug_value %1 : $AddClassesController, let, name "self", argno 2, loc "AddClassesController.swift":32:19, scope 34 // id: %3
- %4 = copy_value %0 : $Optional<UISegmentedControl>, scope 35 // user: %6
- %5 = ref_element_addr %1 : $AddClassesController, #AddClassesController.multiplierBar, scope 35 // user: %6
- assign %4 to %5 : $*Optional<UISegmentedControl>, scope 35 // id: %6
- destroy_value %0 : $Optional<UISegmentedControl>, loc "AddClassesController.swift":32:19, scope 35 // id: %7
- %8 = tuple (), loc "AddClassesController.swift":32:19, scope 35 // user: %9
- return %8 : $(), loc "AddClassesController.swift":32:19, scope 35 // id: %9
- } // end sil function '_TFC3gpa20AddClassesControllers13multiplierBarGSQCSo18UISegmentedControl_'
- sil_scope 36 { parent @_TIvC3gpa20AddClassesController10creditsBarGSQCSo18UISegmentedControl_i : $@convention(thin) () -> @owned Optional<UISegmentedControl> }
- // AddClassesController.(creditsBar).(variable initialization expression)
- sil hidden [transparent] @_TIvC3gpa20AddClassesController10creditsBarGSQCSo18UISegmentedControl_i : $@convention(thin) () -> @owned Optional<UISegmentedControl> {
- bb0:
- // function_ref ImplicitlyUnwrappedOptional.init(nilLiteral : ()) -> A!
- %0 = function_ref @_TFSQCfT10nilLiteralT__GSQx_ : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 36 // user: %3
- %1 = metatype $@thin ImplicitlyUnwrappedOptional<UISegmentedControl>.Type, scope 36 // user: %3
- %2 = alloc_stack $Optional<UISegmentedControl>, scope 36 // users: %5, %4, %3
- %3 = apply %0<UISegmentedControl>(%2, %1) : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 36
- %4 = load [take] %2 : $*Optional<UISegmentedControl>, scope 36 // user: %6
- dealloc_stack %2 : $*Optional<UISegmentedControl>, scope 36 // id: %5
- return %4 : $Optional<UISegmentedControl>, scope 36 // id: %6
- } // end sil function '_TIvC3gpa20AddClassesController10creditsBarGSQCSo18UISegmentedControl_i'
- sil_scope 37 { parent @_TToFC3gpa20AddClassesControllerg10creditsBarGSQCSo18UISegmentedControl_ : $@convention(objc_method) (AddClassesController) -> @autoreleased Optional<UISegmentedControl> }
- // @objc AddClassesController.creditsBar.getter
- sil hidden [thunk] @_TToFC3gpa20AddClassesControllerg10creditsBarGSQCSo18UISegmentedControl_ : $@convention(objc_method) (AddClassesController) -> @autoreleased Optional<UISegmentedControl> {
- // %0 // user: %1
- bb0(%0 : $AddClassesController):
- %1 = copy_value %0 : $AddClassesController, scope 37 // users: %4, %3
- // function_ref AddClassesController.creditsBar.getter
- %2 = function_ref @_TFC3gpa20AddClassesControllerg10creditsBarGSQCSo18UISegmentedControl_ : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UISegmentedControl>, scope 37 // user: %3
- %3 = apply %2(%1) : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UISegmentedControl>, scope 37 // user: %5
- destroy_value %1 : $AddClassesController, scope 37 // id: %4
- return %3 : $Optional<UISegmentedControl>, scope 37 // id: %5
- } // end sil function '_TToFC3gpa20AddClassesControllerg10creditsBarGSQCSo18UISegmentedControl_'
- sil_scope 38 { loc "AddClassesController.swift":33:19 parent @_TFC3gpa20AddClassesControllerg10creditsBarGSQCSo18UISegmentedControl_ : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UISegmentedControl> }
- sil_scope 39 { loc "AddClassesController.swift":33:19 parent 38 }
- // AddClassesController.creditsBar.getter
- sil hidden @_TFC3gpa20AddClassesControllerg10creditsBarGSQCSo18UISegmentedControl_ : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UISegmentedControl> {
- // %0 // users: %2, %1
- bb0(%0 : $AddClassesController):
- debug_value %0 : $AddClassesController, let, name "self", argno 1, loc "AddClassesController.swift":33:19, scope 38 // id: %1
- %2 = ref_element_addr %0 : $AddClassesController, #AddClassesController.creditsBar, scope 39 // user: %3
- %3 = load [copy] %2 : $*Optional<UISegmentedControl>, scope 39 // user: %4
- return %3 : $Optional<UISegmentedControl>, loc "AddClassesController.swift":33:19, scope 39 // id: %4
- } // end sil function '_TFC3gpa20AddClassesControllerg10creditsBarGSQCSo18UISegmentedControl_'
- sil_scope 40 { parent @_TToFC3gpa20AddClassesControllers10creditsBarGSQCSo18UISegmentedControl_ : $@convention(objc_method) (Optional<UISegmentedControl>, AddClassesController) -> () }
- // @objc AddClassesController.creditsBar.setter
- sil hidden [thunk] @_TToFC3gpa20AddClassesControllers10creditsBarGSQCSo18UISegmentedControl_ : $@convention(objc_method) (Optional<UISegmentedControl>, AddClassesController) -> () {
- // %0 // user: %2
- // %1 // user: %3
- bb0(%0 : $Optional<UISegmentedControl>, %1 : $AddClassesController):
- %2 = copy_value %0 : $Optional<UISegmentedControl>, scope 40 // user: %5
- %3 = copy_value %1 : $AddClassesController, scope 40 // users: %6, %5
- // function_ref AddClassesController.creditsBar.setter
- %4 = function_ref @_TFC3gpa20AddClassesControllers10creditsBarGSQCSo18UISegmentedControl_ : $@convention(method) (@owned Optional<UISegmentedControl>, @guaranteed AddClassesController) -> (), scope 40 // user: %5
- %5 = apply %4(%2, %3) : $@convention(method) (@owned Optional<UISegmentedControl>, @guaranteed AddClassesController) -> (), scope 40 // user: %7
- destroy_value %3 : $AddClassesController, scope 40 // id: %6
- return %5 : $(), scope 40 // id: %7
- } // end sil function '_TToFC3gpa20AddClassesControllers10creditsBarGSQCSo18UISegmentedControl_'
- sil_scope 41 { loc "AddClassesController.swift":33:19 parent @_TFC3gpa20AddClassesControllers10creditsBarGSQCSo18UISegmentedControl_ : $@convention(method) (@owned Optional<UISegmentedControl>, @guaranteed AddClassesController) -> () }
- sil_scope 42 { loc "AddClassesController.swift":33:19 parent 41 }
- // AddClassesController.creditsBar.setter
- sil hidden @_TFC3gpa20AddClassesControllers10creditsBarGSQCSo18UISegmentedControl_ : $@convention(method) (@owned Optional<UISegmentedControl>, @guaranteed AddClassesController) -> () {
- // %0 // users: %7, %4, %2
- // %1 // users: %5, %3
- bb0(%0 : $Optional<UISegmentedControl>, %1 : $AddClassesController):
- debug_value %0 : $Optional<UISegmentedControl>, let, name "value", argno 1, loc "AddClassesController.swift":33:19, scope 41 // id: %2
- debug_value %1 : $AddClassesController, let, name "self", argno 2, loc "AddClassesController.swift":33:19, scope 41 // id: %3
- %4 = copy_value %0 : $Optional<UISegmentedControl>, scope 42 // user: %6
- %5 = ref_element_addr %1 : $AddClassesController, #AddClassesController.creditsBar, scope 42 // user: %6
- assign %4 to %5 : $*Optional<UISegmentedControl>, scope 42 // id: %6
- destroy_value %0 : $Optional<UISegmentedControl>, loc "AddClassesController.swift":33:19, scope 42 // id: %7
- %8 = tuple (), loc "AddClassesController.swift":33:19, scope 42 // user: %9
- return %8 : $(), loc "AddClassesController.swift":33:19, scope 42 // id: %9
- } // end sil function '_TFC3gpa20AddClassesControllers10creditsBarGSQCSo18UISegmentedControl_'
- sil_scope 43 { parent @_TIvC3gpa20AddClassesController12warningLabelGSQCSo7UILabel_i : $@convention(thin) () -> @owned Optional<UILabel> }
- // AddClassesController.(warningLabel).(variable initialization expression)
- sil hidden [transparent] @_TIvC3gpa20AddClassesController12warningLabelGSQCSo7UILabel_i : $@convention(thin) () -> @owned Optional<UILabel> {
- bb0:
- // function_ref ImplicitlyUnwrappedOptional.init(nilLiteral : ()) -> A!
- %0 = function_ref @_TFSQCfT10nilLiteralT__GSQx_ : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 43 // user: %3
- %1 = metatype $@thin ImplicitlyUnwrappedOptional<UILabel>.Type, scope 43 // user: %3
- %2 = alloc_stack $Optional<UILabel>, scope 43 // users: %5, %4, %3
- %3 = apply %0<UILabel>(%2, %1) : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 43
- %4 = load [take] %2 : $*Optional<UILabel>, scope 43 // user: %6
- dealloc_stack %2 : $*Optional<UILabel>, scope 43 // id: %5
- return %4 : $Optional<UILabel>, scope 43 // id: %6
- } // end sil function '_TIvC3gpa20AddClassesController12warningLabelGSQCSo7UILabel_i'
- sil_scope 44 { parent @_TToFC3gpa20AddClassesControllerg12warningLabelGSQCSo7UILabel_ : $@convention(objc_method) (AddClassesController) -> @autoreleased Optional<UILabel> }
- // @objc AddClassesController.warningLabel.getter
- sil hidden [thunk] @_TToFC3gpa20AddClassesControllerg12warningLabelGSQCSo7UILabel_ : $@convention(objc_method) (AddClassesController) -> @autoreleased Optional<UILabel> {
- // %0 // user: %1
- bb0(%0 : $AddClassesController):
- %1 = copy_value %0 : $AddClassesController, scope 44 // users: %4, %3
- // function_ref AddClassesController.warningLabel.getter
- %2 = function_ref @_TFC3gpa20AddClassesControllerg12warningLabelGSQCSo7UILabel_ : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UILabel>, scope 44 // user: %3
- %3 = apply %2(%1) : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UILabel>, scope 44 // user: %5
- destroy_value %1 : $AddClassesController, scope 44 // id: %4
- return %3 : $Optional<UILabel>, scope 44 // id: %5
- } // end sil function '_TToFC3gpa20AddClassesControllerg12warningLabelGSQCSo7UILabel_'
- sil_scope 45 { loc "AddClassesController.swift":35:19 parent @_TFC3gpa20AddClassesControllerg12warningLabelGSQCSo7UILabel_ : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UILabel> }
- sil_scope 46 { loc "AddClassesController.swift":35:19 parent 45 }
- // AddClassesController.warningLabel.getter
- sil hidden @_TFC3gpa20AddClassesControllerg12warningLabelGSQCSo7UILabel_ : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UILabel> {
- // %0 // users: %2, %1
- bb0(%0 : $AddClassesController):
- debug_value %0 : $AddClassesController, let, name "self", argno 1, loc "AddClassesController.swift":35:19, scope 45 // id: %1
- %2 = ref_element_addr %0 : $AddClassesController, #AddClassesController.warningLabel, scope 46 // user: %3
- %3 = load [copy] %2 : $*Optional<UILabel>, scope 46 // user: %4
- return %3 : $Optional<UILabel>, loc "AddClassesController.swift":35:19, scope 46 // id: %4
- } // end sil function '_TFC3gpa20AddClassesControllerg12warningLabelGSQCSo7UILabel_'
- sil_scope 47 { parent @_TToFC3gpa20AddClassesControllers12warningLabelGSQCSo7UILabel_ : $@convention(objc_method) (Optional<UILabel>, AddClassesController) -> () }
- // @objc AddClassesController.warningLabel.setter
- sil hidden [thunk] @_TToFC3gpa20AddClassesControllers12warningLabelGSQCSo7UILabel_ : $@convention(objc_method) (Optional<UILabel>, AddClassesController) -> () {
- // %0 // user: %2
- // %1 // user: %3
- bb0(%0 : $Optional<UILabel>, %1 : $AddClassesController):
- %2 = copy_value %0 : $Optional<UILabel>, scope 47 // user: %5
- %3 = copy_value %1 : $AddClassesController, scope 47 // users: %6, %5
- // function_ref AddClassesController.warningLabel.setter
- %4 = function_ref @_TFC3gpa20AddClassesControllers12warningLabelGSQCSo7UILabel_ : $@convention(method) (@owned Optional<UILabel>, @guaranteed AddClassesController) -> (), scope 47 // user: %5
- %5 = apply %4(%2, %3) : $@convention(method) (@owned Optional<UILabel>, @guaranteed AddClassesController) -> (), scope 47 // user: %7
- destroy_value %3 : $AddClassesController, scope 47 // id: %6
- return %5 : $(), scope 47 // id: %7
- } // end sil function '_TToFC3gpa20AddClassesControllers12warningLabelGSQCSo7UILabel_'
- sil_scope 48 { loc "AddClassesController.swift":35:19 parent @_TFC3gpa20AddClassesControllers12warningLabelGSQCSo7UILabel_ : $@convention(method) (@owned Optional<UILabel>, @guaranteed AddClassesController) -> () }
- sil_scope 49 { loc "AddClassesController.swift":35:19 parent 48 }
- // AddClassesController.warningLabel.setter
- sil hidden @_TFC3gpa20AddClassesControllers12warningLabelGSQCSo7UILabel_ : $@convention(method) (@owned Optional<UILabel>, @guaranteed AddClassesController) -> () {
- // %0 // users: %7, %4, %2
- // %1 // users: %5, %3
- bb0(%0 : $Optional<UILabel>, %1 : $AddClassesController):
- debug_value %0 : $Optional<UILabel>, let, name "value", argno 1, loc "AddClassesController.swift":35:19, scope 48 // id: %2
- debug_value %1 : $AddClassesController, let, name "self", argno 2, loc "AddClassesController.swift":35:19, scope 48 // id: %3
- %4 = copy_value %0 : $Optional<UILabel>, scope 49 // user: %6
- %5 = ref_element_addr %1 : $AddClassesController, #AddClassesController.warningLabel, scope 49 // user: %6
- assign %4 to %5 : $*Optional<UILabel>, scope 49 // id: %6
- destroy_value %0 : $Optional<UILabel>, loc "AddClassesController.swift":35:19, scope 49 // id: %7
- %8 = tuple (), loc "AddClassesController.swift":35:19, scope 49 // user: %9
- return %8 : $(), loc "AddClassesController.swift":35:19, scope 49 // id: %9
- } // end sil function '_TFC3gpa20AddClassesControllers12warningLabelGSQCSo7UILabel_'
- sil_scope 50 { parent @_TIvC3gpa20AddClassesController14addClassButtonGSQCSo8UIButton_i : $@convention(thin) () -> @owned Optional<UIButton> }
- // AddClassesController.(addClassButton).(variable initialization expression)
- sil hidden [transparent] @_TIvC3gpa20AddClassesController14addClassButtonGSQCSo8UIButton_i : $@convention(thin) () -> @owned Optional<UIButton> {
- bb0:
- // function_ref ImplicitlyUnwrappedOptional.init(nilLiteral : ()) -> A!
- %0 = function_ref @_TFSQCfT10nilLiteralT__GSQx_ : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 50 // user: %3
- %1 = metatype $@thin ImplicitlyUnwrappedOptional<UIButton>.Type, scope 50 // user: %3
- %2 = alloc_stack $Optional<UIButton>, scope 50 // users: %5, %4, %3
- %3 = apply %0<UIButton>(%2, %1) : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 50
- %4 = load [take] %2 : $*Optional<UIButton>, scope 50 // user: %6
- dealloc_stack %2 : $*Optional<UIButton>, scope 50 // id: %5
- return %4 : $Optional<UIButton>, scope 50 // id: %6
- } // end sil function '_TIvC3gpa20AddClassesController14addClassButtonGSQCSo8UIButton_i'
- sil_scope 51 { parent @_TToFC3gpa20AddClassesControllerg14addClassButtonGSQCSo8UIButton_ : $@convention(objc_method) (AddClassesController) -> @autoreleased Optional<UIButton> }
- // @objc AddClassesController.addClassButton.getter
- sil hidden [thunk] @_TToFC3gpa20AddClassesControllerg14addClassButtonGSQCSo8UIButton_ : $@convention(objc_method) (AddClassesController) -> @autoreleased Optional<UIButton> {
- // %0 // user: %1
- bb0(%0 : $AddClassesController):
- %1 = copy_value %0 : $AddClassesController, scope 51 // users: %4, %3
- // function_ref AddClassesController.addClassButton.getter
- %2 = function_ref @_TFC3gpa20AddClassesControllerg14addClassButtonGSQCSo8UIButton_ : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UIButton>, scope 51 // user: %3
- %3 = apply %2(%1) : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UIButton>, scope 51 // user: %5
- destroy_value %1 : $AddClassesController, scope 51 // id: %4
- return %3 : $Optional<UIButton>, scope 51 // id: %5
- } // end sil function '_TToFC3gpa20AddClassesControllerg14addClassButtonGSQCSo8UIButton_'
- sil_scope 52 { loc "AddClassesController.swift":37:19 parent @_TFC3gpa20AddClassesControllerg14addClassButtonGSQCSo8UIButton_ : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UIButton> }
- sil_scope 53 { loc "AddClassesController.swift":37:19 parent 52 }
- // AddClassesController.addClassButton.getter
- sil hidden @_TFC3gpa20AddClassesControllerg14addClassButtonGSQCSo8UIButton_ : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UIButton> {
- // %0 // users: %2, %1
- bb0(%0 : $AddClassesController):
- debug_value %0 : $AddClassesController, let, name "self", argno 1, loc "AddClassesController.swift":37:19, scope 52 // id: %1
- %2 = ref_element_addr %0 : $AddClassesController, #AddClassesController.addClassButton, scope 53 // user: %3
- %3 = load [copy] %2 : $*Optional<UIButton>, scope 53 // user: %4
- return %3 : $Optional<UIButton>, loc "AddClassesController.swift":37:19, scope 53 // id: %4
- } // end sil function '_TFC3gpa20AddClassesControllerg14addClassButtonGSQCSo8UIButton_'
- sil_scope 54 { parent @_TToFC3gpa20AddClassesControllers14addClassButtonGSQCSo8UIButton_ : $@convention(objc_method) (Optional<UIButton>, AddClassesController) -> () }
- // @objc AddClassesController.addClassButton.setter
- sil hidden [thunk] @_TToFC3gpa20AddClassesControllers14addClassButtonGSQCSo8UIButton_ : $@convention(objc_method) (Optional<UIButton>, AddClassesController) -> () {
- // %0 // user: %2
- // %1 // user: %3
- bb0(%0 : $Optional<UIButton>, %1 : $AddClassesController):
- %2 = copy_value %0 : $Optional<UIButton>, scope 54 // user: %5
- %3 = copy_value %1 : $AddClassesController, scope 54 // users: %6, %5
- // function_ref AddClassesController.addClassButton.setter
- %4 = function_ref @_TFC3gpa20AddClassesControllers14addClassButtonGSQCSo8UIButton_ : $@convention(method) (@owned Optional<UIButton>, @guaranteed AddClassesController) -> (), scope 54 // user: %5
- %5 = apply %4(%2, %3) : $@convention(method) (@owned Optional<UIButton>, @guaranteed AddClassesController) -> (), scope 54 // user: %7
- destroy_value %3 : $AddClassesController, scope 54 // id: %6
- return %5 : $(), scope 54 // id: %7
- } // end sil function '_TToFC3gpa20AddClassesControllers14addClassButtonGSQCSo8UIButton_'
- sil_scope 55 { loc "AddClassesController.swift":37:19 parent @_TFC3gpa20AddClassesControllers14addClassButtonGSQCSo8UIButton_ : $@convention(method) (@owned Optional<UIButton>, @guaranteed AddClassesController) -> () }
- sil_scope 56 { loc "AddClassesController.swift":37:19 parent 55 }
- // AddClassesController.addClassButton.setter
- sil hidden @_TFC3gpa20AddClassesControllers14addClassButtonGSQCSo8UIButton_ : $@convention(method) (@owned Optional<UIButton>, @guaranteed AddClassesController) -> () {
- // %0 // users: %7, %4, %2
- // %1 // users: %5, %3
- bb0(%0 : $Optional<UIButton>, %1 : $AddClassesController):
- debug_value %0 : $Optional<UIButton>, let, name "value", argno 1, loc "AddClassesController.swift":37:19, scope 55 // id: %2
- debug_value %1 : $AddClassesController, let, name "self", argno 2, loc "AddClassesController.swift":37:19, scope 55 // id: %3
- %4 = copy_value %0 : $Optional<UIButton>, scope 56 // user: %6
- %5 = ref_element_addr %1 : $AddClassesController, #AddClassesController.addClassButton, scope 56 // user: %6
- assign %4 to %5 : $*Optional<UIButton>, scope 56 // id: %6
- destroy_value %0 : $Optional<UIButton>, loc "AddClassesController.swift":37:19, scope 56 // id: %7
- %8 = tuple (), loc "AddClassesController.swift":37:19, scope 56 // user: %9
- return %8 : $(), loc "AddClassesController.swift":37:19, scope 56 // id: %9
- } // end sil function '_TFC3gpa20AddClassesControllers14addClassButtonGSQCSo8UIButton_'
- sil_scope 57 { parent @_TIvC3gpa20AddClassesController12cancelButtonGSQCSo15UIBarButtonItem_i : $@convention(thin) () -> @owned Optional<UIBarButtonItem> }
- // AddClassesController.(cancelButton).(variable initialization expression)
- sil hidden [transparent] @_TIvC3gpa20AddClassesController12cancelButtonGSQCSo15UIBarButtonItem_i : $@convention(thin) () -> @owned Optional<UIBarButtonItem> {
- bb0:
- // function_ref ImplicitlyUnwrappedOptional.init(nilLiteral : ()) -> A!
- %0 = function_ref @_TFSQCfT10nilLiteralT__GSQx_ : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 57 // user: %3
- %1 = metatype $@thin ImplicitlyUnwrappedOptional<UIBarButtonItem>.Type, scope 57 // user: %3
- %2 = alloc_stack $Optional<UIBarButtonItem>, scope 57 // users: %5, %4, %3
- %3 = apply %0<UIBarButtonItem>(%2, %1) : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 57
- %4 = load [take] %2 : $*Optional<UIBarButtonItem>, scope 57 // user: %6
- dealloc_stack %2 : $*Optional<UIBarButtonItem>, scope 57 // id: %5
- return %4 : $Optional<UIBarButtonItem>, scope 57 // id: %6
- } // end sil function '_TIvC3gpa20AddClassesController12cancelButtonGSQCSo15UIBarButtonItem_i'
- sil_scope 58 { parent @_TToFC3gpa20AddClassesControllerg12cancelButtonGSQCSo15UIBarButtonItem_ : $@convention(objc_method) (AddClassesController) -> @autoreleased Optional<UIBarButtonItem> }
- // @objc AddClassesController.cancelButton.getter
- sil hidden [thunk] @_TToFC3gpa20AddClassesControllerg12cancelButtonGSQCSo15UIBarButtonItem_ : $@convention(objc_method) (AddClassesController) -> @autoreleased Optional<UIBarButtonItem> {
- // %0 // user: %1
- bb0(%0 : $AddClassesController):
- %1 = copy_value %0 : $AddClassesController, scope 58 // users: %4, %3
- // function_ref AddClassesController.cancelButton.getter
- %2 = function_ref @_TFC3gpa20AddClassesControllerg12cancelButtonGSQCSo15UIBarButtonItem_ : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UIBarButtonItem>, scope 58 // user: %3
- %3 = apply %2(%1) : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UIBarButtonItem>, scope 58 // user: %5
- destroy_value %1 : $AddClassesController, scope 58 // id: %4
- return %3 : $Optional<UIBarButtonItem>, scope 58 // id: %5
- } // end sil function '_TToFC3gpa20AddClassesControllerg12cancelButtonGSQCSo15UIBarButtonItem_'
- sil_scope 59 { loc "AddClassesController.swift":38:19 parent @_TFC3gpa20AddClassesControllerg12cancelButtonGSQCSo15UIBarButtonItem_ : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UIBarButtonItem> }
- sil_scope 60 { loc "AddClassesController.swift":38:19 parent 59 }
- // AddClassesController.cancelButton.getter
- sil hidden @_TFC3gpa20AddClassesControllerg12cancelButtonGSQCSo15UIBarButtonItem_ : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UIBarButtonItem> {
- // %0 // users: %2, %1
- bb0(%0 : $AddClassesController):
- debug_value %0 : $AddClassesController, let, name "self", argno 1, loc "AddClassesController.swift":38:19, scope 59 // id: %1
- %2 = ref_element_addr %0 : $AddClassesController, #AddClassesController.cancelButton, scope 60 // user: %3
- %3 = load [copy] %2 : $*Optional<UIBarButtonItem>, scope 60 // user: %4
- return %3 : $Optional<UIBarButtonItem>, loc "AddClassesController.swift":38:19, scope 60 // id: %4
- } // end sil function '_TFC3gpa20AddClassesControllerg12cancelButtonGSQCSo15UIBarButtonItem_'
- sil_scope 61 { parent @_TToFC3gpa20AddClassesControllers12cancelButtonGSQCSo15UIBarButtonItem_ : $@convention(objc_method) (Optional<UIBarButtonItem>, AddClassesController) -> () }
- // @objc AddClassesController.cancelButton.setter
- sil hidden [thunk] @_TToFC3gpa20AddClassesControllers12cancelButtonGSQCSo15UIBarButtonItem_ : $@convention(objc_method) (Optional<UIBarButtonItem>, AddClassesController) -> () {
- // %0 // user: %2
- // %1 // user: %3
- bb0(%0 : $Optional<UIBarButtonItem>, %1 : $AddClassesController):
- %2 = copy_value %0 : $Optional<UIBarButtonItem>, scope 61 // user: %5
- %3 = copy_value %1 : $AddClassesController, scope 61 // users: %6, %5
- // function_ref AddClassesController.cancelButton.setter
- %4 = function_ref @_TFC3gpa20AddClassesControllers12cancelButtonGSQCSo15UIBarButtonItem_ : $@convention(method) (@owned Optional<UIBarButtonItem>, @guaranteed AddClassesController) -> (), scope 61 // user: %5
- %5 = apply %4(%2, %3) : $@convention(method) (@owned Optional<UIBarButtonItem>, @guaranteed AddClassesController) -> (), scope 61 // user: %7
- destroy_value %3 : $AddClassesController, scope 61 // id: %6
- return %5 : $(), scope 61 // id: %7
- } // end sil function '_TToFC3gpa20AddClassesControllers12cancelButtonGSQCSo15UIBarButtonItem_'
- sil_scope 62 { loc "AddClassesController.swift":38:19 parent @_TFC3gpa20AddClassesControllers12cancelButtonGSQCSo15UIBarButtonItem_ : $@convention(method) (@owned Optional<UIBarButtonItem>, @guaranteed AddClassesController) -> () }
- sil_scope 63 { loc "AddClassesController.swift":38:19 parent 62 }
- // AddClassesController.cancelButton.setter
- sil hidden @_TFC3gpa20AddClassesControllers12cancelButtonGSQCSo15UIBarButtonItem_ : $@convention(method) (@owned Optional<UIBarButtonItem>, @guaranteed AddClassesController) -> () {
- // %0 // users: %7, %4, %2
- // %1 // users: %5, %3
- bb0(%0 : $Optional<UIBarButtonItem>, %1 : $AddClassesController):
- debug_value %0 : $Optional<UIBarButtonItem>, let, name "value", argno 1, loc "AddClassesController.swift":38:19, scope 62 // id: %2
- debug_value %1 : $AddClassesController, let, name "self", argno 2, loc "AddClassesController.swift":38:19, scope 62 // id: %3
- %4 = copy_value %0 : $Optional<UIBarButtonItem>, scope 63 // user: %6
- %5 = ref_element_addr %1 : $AddClassesController, #AddClassesController.cancelButton, scope 63 // user: %6
- assign %4 to %5 : $*Optional<UIBarButtonItem>, scope 63 // id: %6
- destroy_value %0 : $Optional<UIBarButtonItem>, loc "AddClassesController.swift":38:19, scope 63 // id: %7
- %8 = tuple (), loc "AddClassesController.swift":38:19, scope 63 // user: %9
- return %8 : $(), loc "AddClassesController.swift":38:19, scope 63 // id: %9
- } // end sil function '_TFC3gpa20AddClassesControllers12cancelButtonGSQCSo15UIBarButtonItem_'
- sil_scope 64 { loc "AddClassesController.swift":40:19 parent @_TFC3gpa20AddClassesController11viewDidLoadfT_T_ : $@convention(method) (@guaranteed AddClassesController) -> () }
- sil_scope 65 { loc "AddClassesController.swift":44:5 parent 64 }
- // AddClassesController.viewDidLoad() -> ()
- sil hidden @_TFC3gpa20AddClassesController11viewDidLoadfT_T_ : $@convention(method) (@guaranteed AddClassesController) -> () {
- // %0 // users: %35, %34, %9, %8, %2, %1
- bb0(%0 : $AddClassesController):
- debug_value %0 : $AddClassesController, let, name "self", argno 1, loc "AddClassesController.swift":40:19, scope 64 // id: %1
- %2 = copy_value %0 : $AddClassesController, loc "AddClassesController.swift":41:9, scope 65 // users: %6, %4, %3
- %3 = upcast %2 : $AddClassesController to $UIViewController, loc "AddClassesController.swift":41:9, scope 65 // user: %5
- %4 = super_method [volatile] %2 : $AddClassesController, #UIViewController.viewDidLoad!1.foreign : (UIViewController) -> () -> () , $@convention(objc_method) (UIViewController) -> (), loc "AddClassesController.swift":41:15, scope 65 // user: %5
- %5 = apply %4(%3) : $@convention(objc_method) (UIViewController) -> (), loc "AddClassesController.swift":41:27, scope 65
- destroy_value %2 : $AddClassesController, loc "AddClassesController.swift":41:27, scope 65 // id: %6
- %7 = alloc_stack $Optional<UILabel>, loc "AddClassesController.swift":42:9, scope 65 // users: %32, %19, %11, %10
- %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
- %9 = apply %8(%0) : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UILabel>, loc "AddClassesController.swift":42:9, scope 65 // user: %10
- store %9 to [init] %7 : $*Optional<UILabel>, loc "AddClassesController.swift":42:9, scope 65 // id: %10
- switch_enum_addr %7 : $*Optional<UILabel>, case #Optional.none!enumelt: bb1, default bb2, loc "AddClassesController.swift":42:9, scope 65 // id: %11
- bb1: // Preds: bb0
- %12 = string_literal utf8 "AddClassesController.swift", loc "AddClassesController.swift":42:9, scope 65 // user: %17
- %13 = integer_literal $Builtin.Word, 26, loc "AddClassesController.swift":42:9, scope 65 // user: %17
- %14 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":42:9, scope 65 // user: %17
- %15 = integer_literal $Builtin.Word, 42, loc "AddClassesController.swift":42:9, scope 65 // user: %17
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %17 = apply %16(%12, %13, %14, %15) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":42:9, scope 65
- unreachable , loc "AddClassesController.swift":42:9, scope 65 // id: %18
- bb2: // Preds: bb0
- %19 = unchecked_take_enum_data_addr %7 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "AddClassesController.swift":42:9, scope 65 // users: %31, %20
- %20 = load [copy] %19 : $*UILabel, loc "AddClassesController.swift":42:9, scope 65 // users: %30, %21
- %21 = upcast %20 : $UILabel to $UIView, loc "AddClassesController.swift":42:9, scope 65 // users: %29, %26
- // function_ref Bool.init(_builtinBooleanLiteral : Builtin.Int1) -> Bool
- %22 = function_ref @_TFSbCfT22_builtinBooleanLiteralBi1__Sb : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":42:33, scope 65 // user: %25
- %23 = metatype $@thin Bool.Type, loc "AddClassesController.swift":42:33, scope 65 // user: %25
- %24 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":42:33, scope 65 // user: %25
- %25 = apply %22(%24, %23) : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":42:33, scope 65 // user: %28
- %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
- // function_ref _convertBoolToObjCBool(Bool) -> ObjCBool
- %27 = function_ref @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool, loc "AddClassesController.swift":42:31, scope 65 // user: %28
- %28 = apply %27(%25) : $@convention(thin) (Bool) -> ObjCBool, loc "AddClassesController.swift":42:31, scope 65 // user: %29
- %29 = apply %26(%28, %21) : $@convention(objc_method) (ObjCBool, UIView) -> (), loc "AddClassesController.swift":42:31, scope 65
- destroy_value %20 : $UILabel, loc "AddClassesController.swift":42:33, scope 65 // id: %30
- destroy_addr %19 : $*UILabel, loc "AddClassesController.swift":42:33, scope 65 // id: %31
- dealloc_stack %7 : $*Optional<UILabel>, loc "AddClassesController.swift":42:33, scope 65 // id: %32
- %33 = alloc_stack $Optional<UIBarButtonItem>, loc "AddClassesController.swift":43:9, scope 65 // users: %58, %45, %37, %36
- %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
- %35 = apply %34(%0) : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UIBarButtonItem>, loc "AddClassesController.swift":43:9, scope 65 // user: %36
- store %35 to [init] %33 : $*Optional<UIBarButtonItem>, loc "AddClassesController.swift":43:9, scope 65 // id: %36
- switch_enum_addr %33 : $*Optional<UIBarButtonItem>, case #Optional.none!enumelt: bb3, default bb4, loc "AddClassesController.swift":43:9, scope 65 // id: %37
- bb3: // Preds: bb2
- %38 = string_literal utf8 "AddClassesController.swift", loc "AddClassesController.swift":43:9, scope 65 // user: %43
- %39 = integer_literal $Builtin.Word, 26, loc "AddClassesController.swift":43:9, scope 65 // user: %43
- %40 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":43:9, scope 65 // user: %43
- %41 = integer_literal $Builtin.Word, 43, loc "AddClassesController.swift":43:9, scope 65 // user: %43
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %43 = apply %42(%38, %39, %40, %41) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":43:9, scope 65
- unreachable , loc "AddClassesController.swift":43:9, scope 65 // id: %44
- bb4: // Preds: bb2
- %45 = unchecked_take_enum_data_addr %33 : $*Optional<UIBarButtonItem>, #Optional.some!enumelt.1, loc "AddClassesController.swift":43:9, scope 65 // users: %57, %46
- %46 = load [copy] %45 : $*UIBarButtonItem, loc "AddClassesController.swift":43:9, scope 65 // users: %56, %47
- %47 = upcast %46 : $UIBarButtonItem to $UIBarItem, loc "AddClassesController.swift":43:9, scope 65 // users: %55, %52
- // function_ref Bool.init(_builtinBooleanLiteral : Builtin.Int1) -> Bool
- %48 = function_ref @_TFSbCfT22_builtinBooleanLiteralBi1__Sb : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":43:34, scope 65 // user: %51
- %49 = metatype $@thin Bool.Type, loc "AddClassesController.swift":43:34, scope 65 // user: %51
- %50 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":43:34, scope 65 // user: %51
- %51 = apply %48(%50, %49) : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":43:34, scope 65 // user: %54
- %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
- // function_ref _convertBoolToObjCBool(Bool) -> ObjCBool
- %53 = function_ref @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool, loc "AddClassesController.swift":43:32, scope 65 // user: %54
- %54 = apply %53(%51) : $@convention(thin) (Bool) -> ObjCBool, loc "AddClassesController.swift":43:32, scope 65 // user: %55
- %55 = apply %52(%54, %47) : $@convention(objc_method) (ObjCBool, UIBarItem) -> (), loc "AddClassesController.swift":43:32, scope 65
- destroy_value %46 : $UIBarButtonItem, loc "AddClassesController.swift":43:34, scope 65 // id: %56
- destroy_addr %45 : $*UIBarButtonItem, loc "AddClassesController.swift":43:34, scope 65 // id: %57
- dealloc_stack %33 : $*Optional<UIBarButtonItem>, loc "AddClassesController.swift":43:34, scope 65 // id: %58
- %59 = tuple (), loc "AddClassesController.swift":44:5, scope 65 // user: %60
- return %59 : $(), loc "AddClassesController.swift":44:5, scope 65 // id: %60
- } // end sil function '_TFC3gpa20AddClassesController11viewDidLoadfT_T_'
- // _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- sil [transparent] [fragile] @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> ()
- // Bool.init(_builtinBooleanLiteral : Builtin.Int1) -> Bool
- sil [transparent] [fragile] @_TFSbCfT22_builtinBooleanLiteralBi1__Sb : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool
- // _convertBoolToObjCBool(Bool) -> ObjCBool
- sil @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool
- sil_scope 66 { loc "AddClassesController.swift":40:19 parent @_TToFC3gpa20AddClassesController11viewDidLoadfT_T_ : $@convention(objc_method) (AddClassesController) -> () }
- // @objc AddClassesController.viewDidLoad() -> ()
- sil hidden [thunk] @_TToFC3gpa20AddClassesController11viewDidLoadfT_T_ : $@convention(objc_method) (AddClassesController) -> () {
- // %0 // user: %1
- bb0(%0 : $AddClassesController):
- %1 = copy_value %0 : $AddClassesController, scope 66 // users: %4, %3
- // function_ref AddClassesController.viewDidLoad() -> ()
- %2 = function_ref @_TFC3gpa20AddClassesController11viewDidLoadfT_T_ : $@convention(method) (@guaranteed AddClassesController) -> (), scope 66 // user: %3
- %3 = apply %2(%1) : $@convention(method) (@guaranteed AddClassesController) -> (), scope 66 // user: %5
- destroy_value %1 : $AddClassesController, scope 66 // id: %4
- return %3 : $(), scope 66 // id: %5
- } // end sil function '_TToFC3gpa20AddClassesController11viewDidLoadfT_T_'
- sil_scope 67 { loc "AddClassesController.swift":46:19 parent @_TFC3gpa20AddClassesController23didReceiveMemoryWarningfT_T_ : $@convention(method) (@guaranteed AddClassesController) -> () }
- sil_scope 68 { loc "AddClassesController.swift":49:5 parent 67 }
- // AddClassesController.didReceiveMemoryWarning() -> ()
- sil hidden @_TFC3gpa20AddClassesController23didReceiveMemoryWarningfT_T_ : $@convention(method) (@guaranteed AddClassesController) -> () {
- // %0 // users: %2, %1
- bb0(%0 : $AddClassesController):
- debug_value %0 : $AddClassesController, let, name "self", argno 1, loc "AddClassesController.swift":46:19, scope 67 // id: %1
- %2 = copy_value %0 : $AddClassesController, loc "AddClassesController.swift":47:9, scope 68 // users: %6, %4, %3
- %3 = upcast %2 : $AddClassesController to $UIViewController, loc "AddClassesController.swift":47:9, scope 68 // user: %5
- %4 = super_method [volatile] %2 : $AddClassesController, #UIViewController.didReceiveMemoryWarning!1.foreign : (UIViewController) -> () -> () , $@convention(objc_method) (UIViewController) -> (), loc "AddClassesController.swift":47:15, scope 68 // user: %5
- %5 = apply %4(%3) : $@convention(objc_method) (UIViewController) -> (), loc "AddClassesController.swift":47:39, scope 68
- destroy_value %2 : $AddClassesController, loc "AddClassesController.swift":47:39, scope 68 // id: %6
- %7 = tuple (), loc "AddClassesController.swift":49:5, scope 68 // user: %8
- return %7 : $(), loc "AddClassesController.swift":49:5, scope 68 // id: %8
- } // end sil function '_TFC3gpa20AddClassesController23didReceiveMemoryWarningfT_T_'
- sil_scope 69 { loc "AddClassesController.swift":46:19 parent @_TToFC3gpa20AddClassesController23didReceiveMemoryWarningfT_T_ : $@convention(objc_method) (AddClassesController) -> () }
- // @objc AddClassesController.didReceiveMemoryWarning() -> ()
- sil hidden [thunk] @_TToFC3gpa20AddClassesController23didReceiveMemoryWarningfT_T_ : $@convention(objc_method) (AddClassesController) -> () {
- // %0 // user: %1
- bb0(%0 : $AddClassesController):
- %1 = copy_value %0 : $AddClassesController, scope 69 // users: %4, %3
- // function_ref AddClassesController.didReceiveMemoryWarning() -> ()
- %2 = function_ref @_TFC3gpa20AddClassesController23didReceiveMemoryWarningfT_T_ : $@convention(method) (@guaranteed AddClassesController) -> (), scope 69 // user: %3
- %3 = apply %2(%1) : $@convention(method) (@guaranteed AddClassesController) -> (), scope 69 // user: %5
- destroy_value %1 : $AddClassesController, scope 69 // id: %4
- return %3 : $(), scope 69 // id: %5
- } // end sil function '_TToFC3gpa20AddClassesController23didReceiveMemoryWarningfT_T_'
- sil_scope 70 { loc "AddClassesController.swift":51:20 parent @_TFC3gpa20AddClassesController11addNewClassfP_T_ : $@convention(method) (@in Any, @guaranteed AddClassesController) -> () }
- sil_scope 71 { loc "AddClassesController.swift":142:5 parent 70 }
- sil_scope 72 { loc "AddClassesController.swift":83:9 parent 71 }
- sil_scope 73 { loc "AddClassesController.swift":64:30 parent 71 }
- sil_scope 74 { loc "AddClassesController.swift":83:9 parent 71 }
- sil_scope 75 { loc "AddClassesController.swift":66:30 parent 71 }
- sil_scope 76 { loc "AddClassesController.swift":83:9 parent 71 }
- sil_scope 77 { loc "AddClassesController.swift":68:30 parent 71 }
- sil_scope 78 { loc "AddClassesController.swift":83:9 parent 71 }
- sil_scope 79 { loc "AddClassesController.swift":82:30 parent 71 }
- sil_scope 80 { loc "AddClassesController.swift":81:17 parent 79 }
- sil_scope 81 { loc "AddClassesController.swift":74:17 parent 79 }
- sil_scope 82 { loc "AddClassesController.swift":119:9 parent 71 }
- sil_scope 83 { loc "AddClassesController.swift":102:27 parent 71 }
- sil_scope 84 { loc "AddClassesController.swift":119:9 parent 71 }
- sil_scope 85 { loc "AddClassesController.swift":104:27 parent 71 }
- sil_scope 86 { loc "AddClassesController.swift":119:9 parent 71 }
- sil_scope 87 { loc "AddClassesController.swift":118:27 parent 71 }
- sil_scope 88 { loc "AddClassesController.swift":117:17 parent 87 }
- sil_scope 89 { loc "AddClassesController.swift":110:17 parent 87 }
- sil_scope 90 { loc "AddClassesController.swift":95:9 parent 71 }
- sil_scope 91 { loc "AddClassesController.swift":90:9 parent 71 }
- sil_scope 92 { loc "AddClassesController.swift":57:9 parent 71 }
- // AddClassesController.addNewClass(Any) -> ()
- sil hidden @_TFC3gpa20AddClassesController11addNewClassfP_T_ : $@convention(method) (@in Any, @guaranteed AddClassesController) -> () {
- // %0 // users: %1114, %2
- // %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
- bb0(%0 : $*Any, %1 : $AddClassesController):
- debug_value_addr %0 : $*Any, let, name "sender", argno 1, loc "AddClassesController.swift":51:34, scope 70 // id: %2
- debug_value %1 : $AddClassesController, let, name "self", argno 2, loc "AddClassesController.swift":51:20, scope 70 // id: %3
- %4 = alloc_stack $Optional<UITextField>, loc "AddClassesController.swift":53:31, scope 71 // users: %43, %37, %16, %8, %7
- %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
- %6 = apply %5(%1) : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UITextField>, loc "AddClassesController.swift":53:31, scope 71 // user: %7
- store %6 to [init] %4 : $*Optional<UITextField>, loc "AddClassesController.swift":53:31, scope 71 // id: %7
- switch_enum_addr %4 : $*Optional<UITextField>, case #Optional.none!enumelt: bb1, default bb2, loc "AddClassesController.swift":53:31, scope 71 // id: %8
- bb1: // Preds: bb0
- %9 = string_literal utf8 "AddClassesController.swift", loc "AddClassesController.swift":53:31, scope 71 // user: %14
- %10 = integer_literal $Builtin.Word, 26, loc "AddClassesController.swift":53:31, scope 71 // user: %14
- %11 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":53:31, scope 71 // user: %14
- %12 = integer_literal $Builtin.Word, 53, loc "AddClassesController.swift":53:31, scope 71 // user: %14
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %14 = apply %13(%9, %10, %11, %12) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":53:31, scope 71
- unreachable , loc "AddClassesController.swift":53:31, scope 71 // id: %15
- bb2: // Preds: bb0
- %16 = unchecked_take_enum_data_addr %4 : $*Optional<UITextField>, #Optional.some!enumelt.1, loc "AddClassesController.swift":53:31, scope 71 // users: %42, %36, %17
- %17 = load [copy] %16 : $*UITextField, loc "AddClassesController.swift":53:31, scope 71 // users: %41, %35, %19, %18
- %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
- %19 = apply %18(%17) : $@convention(objc_method) (UITextField) -> @autoreleased Optional<NSString>, loc "AddClassesController.swift":53:46, scope 71 // users: %24, %22
- %20 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":53:46, scope 71 // user: %22
- %21 = integer_literal $Builtin.Int1, 0, loc "AddClassesController.swift":53:46, scope 71 // user: %22
- %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
- cond_br %22, bb3, bb4, loc "AddClassesController.swift":53:46, scope 71 // id: %23
- bb3: // Preds: bb2
- %24 = unchecked_enum_data %19 : $Optional<NSString>, #Optional.some!enumelt.1, loc "AddClassesController.swift":53:46, scope 71 // user: %26
- // function_ref static String._unconditionallyBridgeFromObjectiveC(NSString?) -> String
- %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
- %26 = enum $Optional<NSString>, #Optional.some!enumelt.1, %24 : $NSString, loc "AddClassesController.swift":53:46, scope 71 // user: %28
- %27 = metatype $@thin String.Type, loc "AddClassesController.swift":53:46, scope 71 // user: %28
- %28 = apply %25(%26, %27) : $@convention(method) (@owned Optional<NSString>, @thin String.Type) -> @owned String, loc "AddClassesController.swift":53:46, scope 71 // user: %29
- %29 = enum $Optional<String>, #Optional.some!enumelt.1, %28 : $String, loc "AddClassesController.swift":53:46, scope 71 // user: %30
- br bb5(%29 : $Optional<String>), loc "AddClassesController.swift":53:46, scope 71 // id: %30
- bb4: // Preds: bb2
- %31 = enum $Optional<String>, #Optional.none!enumelt, loc "AddClassesController.swift":53:46, scope 71 // user: %32
- br bb5(%31 : $Optional<String>), loc "AddClassesController.swift":53:46, scope 71 // id: %32
- // %33 // user: %34
- bb5(%33 : $Optional<String>): // Preds: bb4 bb3
- switch_enum %33 : $Optional<String>, case #Optional.some!enumelt.1: bb7, default bb6, loc "AddClassesController.swift":53:46, scope 71 // id: %34
- bb6: // Preds: bb5
- destroy_value %17 : $UITextField, loc "AddClassesController.swift":57:9, scope 71 // id: %35
- destroy_addr %16 : $*UITextField, loc "AddClassesController.swift":57:9, scope 71 // id: %36
- dealloc_stack %4 : $*Optional<UITextField>, loc "AddClassesController.swift":57:9, scope 71 // id: %37
- br bb110, loc "AddClassesController.swift":53:46, scope 71 // id: %38
- // %39 // users: %966, %624, %564, %615, %1016, %1065, %266, %315, %52, %48, %40
- bb7(%39 : $String): // Preds: bb5
- debug_value %39 : $String, let, name "className", loc "AddClassesController.swift":53:19, scope 71 // id: %40
- destroy_value %17 : $UITextField, loc "AddClassesController.swift":53:46, scope 71 // id: %41
- destroy_addr %16 : $*UITextField, loc "AddClassesController.swift":53:46, scope 71 // id: %42
- dealloc_stack %4 : $*Optional<UITextField>, loc "AddClassesController.swift":53:46, scope 71 // id: %43
- // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
- %44 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "AddClassesController.swift":53:52, scope 71 // user: %50
- // function_ref static Bool.! prefix(Bool) -> Bool
- %45 = function_ref @_TZFSbop1nfSbSb : $@convention(method) (Bool, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":53:52, scope 71 // user: %49
- %46 = metatype $@thin Bool.Type, loc "AddClassesController.swift":53:52, scope 71 // user: %49
- // function_ref String.isEmpty.getter
- %47 = function_ref @_TFSSg7isEmptySb : $@convention(method) (@guaranteed String) -> Bool, loc "AddClassesController.swift":53:63, scope 71 // user: %48
- %48 = apply %47(%39) : $@convention(method) (@guaranteed String) -> Bool, loc "AddClassesController.swift":53:63, scope 71 // user: %49
- %49 = apply %45(%48, %46) : $@convention(method) (Bool, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":53:52, scope 71 // user: %50
- %50 = apply %44(%49) : $@convention(method) (Bool) -> Builtin.Int1, loc "AddClassesController.swift":53:63, scope 71 // user: %51
- cond_br %50, bb9, bb8, loc "AddClassesController.swift":53:63, scope 71 // id: %51
- bb8: // Preds: bb7
- destroy_value %39 : $String, loc "AddClassesController.swift":57:9, scope 71 // id: %52
- br bb110, loc "AddClassesController.swift":53:9, scope 71 // id: %53
- bb9: // Preds: bb7
- %54 = alloc_box ${ var Double }, var, name "multiplier", loc "AddClassesController.swift":60:13, scope 71 // users: %965, %563, %614, %1015, %1064, %265, %314, %55
- %55 = project_box %54 : ${ var Double }, 0, loc "AddClassesController.swift":60:13, scope 71 // users: %625, %215, %152, %126, %100, %60
- // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
- %56 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "AddClassesController.swift":60:34, scope 71 // user: %59
- %57 = metatype $@thin Double.Type, loc "AddClassesController.swift":60:34, scope 71 // user: %59
- %58 = integer_literal $Builtin.Int2048, -1, loc "AddClassesController.swift":60:34, scope 71 // user: %59
- %59 = apply %56(%58, %57) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "AddClassesController.swift":60:35, scope 71 // user: %60
- store %59 to [trivial] %55 : $*Double, loc "AddClassesController.swift":60:35, scope 71 // id: %60
- %61 = alloc_stack $Optional<UISegmentedControl>, loc "AddClassesController.swift":62:16, scope 71 // users: %157, %147, %121, %95, %73, %65, %64
- %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
- %63 = apply %62(%1) : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UISegmentedControl>, loc "AddClassesController.swift":62:16, scope 71 // user: %64
- store %63 to [init] %61 : $*Optional<UISegmentedControl>, loc "AddClassesController.swift":62:16, scope 71 // id: %64
- switch_enum_addr %61 : $*Optional<UISegmentedControl>, case #Optional.none!enumelt: bb10, default bb11, loc "AddClassesController.swift":62:16, scope 71 // id: %65
- bb10: // Preds: bb9
- %66 = string_literal utf8 "AddClassesController.swift", loc "AddClassesController.swift":62:16, scope 71 // user: %71
- %67 = integer_literal $Builtin.Word, 26, loc "AddClassesController.swift":62:16, scope 71 // user: %71
- %68 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":62:16, scope 71 // user: %71
- %69 = integer_literal $Builtin.Word, 62, loc "AddClassesController.swift":62:16, scope 71 // user: %71
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %71 = apply %70(%66, %67, %68, %69) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":62:16, scope 71
- unreachable , loc "AddClassesController.swift":62:16, scope 71 // id: %72
- bb11: // Preds: bb9
- %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
- %74 = load [copy] %73 : $*UISegmentedControl, loc "AddClassesController.swift":62:16, scope 71 // users: %155, %145, %119, %93, %76, %75
- %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
- %76 = apply %75(%74) : $@convention(objc_method) (UISegmentedControl) -> Int, loc "AddClassesController.swift":62:30, scope 71 // users: %139, %129, %113, %103, %87, %77
- debug_value %76 : $Int, let, name "$match", loc "AddClassesController.swift":63:18, scope 72 // id: %77
- // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
- %78 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "AddClassesController.swift":63:18, scope 72 // user: %89
- // function_ref ~= infix<A where ...> (A, A) -> Bool
- %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
- // function_ref Int.init(_builtinIntegerLiteral : Builtin.Int2048) -> Int
- %80 = function_ref @_TFSiCfT22_builtinIntegerLiteralBi2048__Si : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "AddClassesController.swift":63:18, scope 72 // user: %83
- %81 = metatype $@thin Int.Type, loc "AddClassesController.swift":63:18, scope 72 // user: %83
- %82 = integer_literal $Builtin.Int2048, 0, loc "AddClassesController.swift":63:18, scope 72 // user: %83
- %83 = apply %80(%82, %81) : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "AddClassesController.swift":63:18, scope 72 // user: %85
- %84 = alloc_stack $Int, loc "AddClassesController.swift":63:18, scope 72 // users: %91, %88, %85
- store %83 to [trivial] %84 : $*Int, loc "AddClassesController.swift":63:18, scope 72 // id: %85
- %86 = alloc_stack $Int, loc "AddClassesController.swift":63:18, scope 72 // users: %90, %88, %87
- store %76 to [trivial] %86 : $*Int, loc "AddClassesController.swift":63:18, scope 72 // id: %87
- %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
- %89 = apply %78(%88) : $@convention(method) (Bool) -> Builtin.Int1, loc "AddClassesController.swift":63:18, scope 72 // user: %92
- dealloc_stack %86 : $*Int, loc "AddClassesController.swift":63:18, scope 72 // id: %90
- dealloc_stack %84 : $*Int, loc "AddClassesController.swift":63:18, scope 72 // id: %91
- cond_br %89, bb12, bb13, loc "AddClassesController.swift":63:18, scope 72 // id: %92
- bb12: // Preds: bb11
- destroy_value %74 : $UISegmentedControl, loc "AddClassesController.swift":83:9, scope 72 // id: %93
- destroy_addr %73 : $*UISegmentedControl, loc "AddClassesController.swift":83:9, scope 72 // id: %94
- dealloc_stack %61 : $*Optional<UISegmentedControl>, loc "AddClassesController.swift":83:9, scope 72 // id: %95
- // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
- %96 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "AddClassesController.swift":64:30, scope 73 // user: %99
- %97 = metatype $@thin Double.Type, loc "AddClassesController.swift":64:30, scope 73 // user: %99
- %98 = integer_literal $Builtin.Int2048, 1, loc "AddClassesController.swift":64:30, scope 73 // user: %99
- %99 = apply %96(%98, %97) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "AddClassesController.swift":64:30, scope 73 // user: %100
- assign %99 to %55 : $*Double, loc "AddClassesController.swift":64:28, scope 73 // id: %100
- br bb37, loc "AddClassesController.swift":64:30, scope 71 // id: %101
- bb13: // Preds: bb11
- br bb14, loc "AddClassesController.swift":63:18, scope 72 // id: %102
- bb14: // Preds: bb13
- debug_value %76 : $Int, let, name "$match", loc "AddClassesController.swift":65:18, scope 74 // id: %103
- // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
- %104 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "AddClassesController.swift":65:18, scope 74 // user: %115
- // function_ref ~= infix<A where ...> (A, A) -> Bool
- %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
- // function_ref Int.init(_builtinIntegerLiteral : Builtin.Int2048) -> Int
- %106 = function_ref @_TFSiCfT22_builtinIntegerLiteralBi2048__Si : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "AddClassesController.swift":65:18, scope 74 // user: %109
- %107 = metatype $@thin Int.Type, loc "AddClassesController.swift":65:18, scope 74 // user: %109
- %108 = integer_literal $Builtin.Int2048, 1, loc "AddClassesController.swift":65:18, scope 74 // user: %109
- %109 = apply %106(%108, %107) : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "AddClassesController.swift":65:18, scope 74 // user: %111
- %110 = alloc_stack $Int, loc "AddClassesController.swift":65:18, scope 74 // users: %117, %114, %111
- store %109 to [trivial] %110 : $*Int, loc "AddClassesController.swift":65:18, scope 74 // id: %111
- %112 = alloc_stack $Int, loc "AddClassesController.swift":65:18, scope 74 // users: %116, %114, %113
- store %76 to [trivial] %112 : $*Int, loc "AddClassesController.swift":65:18, scope 74 // id: %113
- %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
- %115 = apply %104(%114) : $@convention(method) (Bool) -> Builtin.Int1, loc "AddClassesController.swift":65:18, scope 74 // user: %118
- dealloc_stack %112 : $*Int, loc "AddClassesController.swift":65:18, scope 74 // id: %116
- dealloc_stack %110 : $*Int, loc "AddClassesController.swift":65:18, scope 74 // id: %117
- cond_br %115, bb15, bb16, loc "AddClassesController.swift":65:18, scope 74 // id: %118
- bb15: // Preds: bb14
- destroy_value %74 : $UISegmentedControl, loc "AddClassesController.swift":83:9, scope 74 // id: %119
- destroy_addr %73 : $*UISegmentedControl, loc "AddClassesController.swift":83:9, scope 74 // id: %120
- dealloc_stack %61 : $*Optional<UISegmentedControl>, loc "AddClassesController.swift":83:9, scope 74 // id: %121
- // function_ref Double.init(_builtinFloatLiteral : Builtin.Float64) -> Double
- %122 = function_ref @_TFSdCfT20_builtinFloatLiteralBf64__Sd : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "AddClassesController.swift":66:30, scope 75 // user: %125
- %123 = metatype $@thin Double.Type, loc "AddClassesController.swift":66:30, scope 75 // user: %125
- %124 = float_literal $Builtin.FPIEEE64, 0x3FF199999999999A // 1.1000000000000001, loc "AddClassesController.swift":66:30, scope 75 // user: %125
- %125 = apply %122(%124, %123) : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "AddClassesController.swift":66:30, scope 75 // user: %126
- assign %125 to %55 : $*Double, loc "AddClassesController.swift":66:28, scope 75 // id: %126
- br bb37, loc "AddClassesController.swift":66:30, scope 71 // id: %127
- bb16: // Preds: bb14
- br bb17, loc "AddClassesController.swift":65:18, scope 74 // id: %128
- bb17: // Preds: bb16
- debug_value %76 : $Int, let, name "$match", loc "AddClassesController.swift":67:18, scope 76 // id: %129
- // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
- %130 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "AddClassesController.swift":67:18, scope 76 // user: %141
- // function_ref ~= infix<A where ...> (A, A) -> Bool
- %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
- // function_ref Int.init(_builtinIntegerLiteral : Builtin.Int2048) -> Int
- %132 = function_ref @_TFSiCfT22_builtinIntegerLiteralBi2048__Si : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "AddClassesController.swift":67:18, scope 76 // user: %135
- %133 = metatype $@thin Int.Type, loc "AddClassesController.swift":67:18, scope 76 // user: %135
- %134 = integer_literal $Builtin.Int2048, 2, loc "AddClassesController.swift":67:18, scope 76 // user: %135
- %135 = apply %132(%134, %133) : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "AddClassesController.swift":67:18, scope 76 // user: %137
- %136 = alloc_stack $Int, loc "AddClassesController.swift":67:18, scope 76 // users: %143, %140, %137
- store %135 to [trivial] %136 : $*Int, loc "AddClassesController.swift":67:18, scope 76 // id: %137
- %138 = alloc_stack $Int, loc "AddClassesController.swift":67:18, scope 76 // users: %142, %140, %139
- store %76 to [trivial] %138 : $*Int, loc "AddClassesController.swift":67:18, scope 76 // id: %139
- %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
- %141 = apply %130(%140) : $@convention(method) (Bool) -> Builtin.Int1, loc "AddClassesController.swift":67:18, scope 76 // user: %144
- dealloc_stack %138 : $*Int, loc "AddClassesController.swift":67:18, scope 76 // id: %142
- dealloc_stack %136 : $*Int, loc "AddClassesController.swift":67:18, scope 76 // id: %143
- cond_br %141, bb18, bb19, loc "AddClassesController.swift":67:18, scope 76 // id: %144
- bb18: // Preds: bb17
- destroy_value %74 : $UISegmentedControl, loc "AddClassesController.swift":83:9, scope 76 // id: %145
- destroy_addr %73 : $*UISegmentedControl, loc "AddClassesController.swift":83:9, scope 76 // id: %146
- dealloc_stack %61 : $*Optional<UISegmentedControl>, loc "AddClassesController.swift":83:9, scope 76 // id: %147
- // function_ref Double.init(_builtinFloatLiteral : Builtin.Float64) -> Double
- %148 = function_ref @_TFSdCfT20_builtinFloatLiteralBf64__Sd : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "AddClassesController.swift":68:30, scope 77 // user: %151
- %149 = metatype $@thin Double.Type, loc "AddClassesController.swift":68:30, scope 77 // user: %151
- %150 = float_literal $Builtin.FPIEEE64, 0x3FF3333333333333 // 1.2, loc "AddClassesController.swift":68:30, scope 77 // user: %151
- %151 = apply %148(%150, %149) : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "AddClassesController.swift":68:30, scope 77 // user: %152
- assign %151 to %55 : $*Double, loc "AddClassesController.swift":68:28, scope 77 // id: %152
- br bb37, loc "AddClassesController.swift":68:30, scope 71 // id: %153
- bb19: // Preds: bb17
- br bb20, loc "AddClassesController.swift":67:18, scope 76 // id: %154
- bb20: // Preds: bb19
- destroy_value %74 : $UISegmentedControl, loc "AddClassesController.swift":83:9, scope 78 // id: %155
- destroy_addr %73 : $*UISegmentedControl, loc "AddClassesController.swift":83:9, scope 78 // id: %156
- dealloc_stack %61 : $*Optional<UISegmentedControl>, loc "AddClassesController.swift":83:9, scope 78 // id: %157
- %158 = alloc_stack $Optional<UITextField>, loc "AddClassesController.swift":70:44, scope 79 // users: %197, %191, %170, %162, %161
- %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
- %160 = apply %159(%1) : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UITextField>, loc "AddClassesController.swift":70:44, scope 79 // user: %161
- store %160 to [init] %158 : $*Optional<UITextField>, loc "AddClassesController.swift":70:44, scope 79 // id: %161
- switch_enum_addr %158 : $*Optional<UITextField>, case #Optional.none!enumelt: bb21, default bb22, loc "AddClassesController.swift":70:44, scope 79 // id: %162
- bb21: // Preds: bb20
- %163 = string_literal utf8 "AddClassesController.swift", loc "AddClassesController.swift":70:44, scope 79 // user: %168
- %164 = integer_literal $Builtin.Word, 26, loc "AddClassesController.swift":70:44, scope 79 // user: %168
- %165 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":70:44, scope 79 // user: %168
- %166 = integer_literal $Builtin.Word, 70, loc "AddClassesController.swift":70:44, scope 79 // user: %168
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %168 = apply %167(%163, %164, %165, %166) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":70:44, scope 79
- unreachable , loc "AddClassesController.swift":70:44, scope 79 // id: %169
- bb22: // Preds: bb20
- %170 = unchecked_take_enum_data_addr %158 : $*Optional<UITextField>, #Optional.some!enumelt.1, loc "AddClassesController.swift":70:44, scope 79 // users: %196, %190, %171
- %171 = load [copy] %170 : $*UITextField, loc "AddClassesController.swift":70:44, scope 79 // users: %195, %189, %173, %172
- %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
- %173 = apply %172(%171) : $@convention(objc_method) (UITextField) -> @autoreleased Optional<NSString>, loc "AddClassesController.swift":70:60, scope 79 // users: %178, %176
- %174 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":70:60, scope 79 // user: %176
- %175 = integer_literal $Builtin.Int1, 0, loc "AddClassesController.swift":70:60, scope 79 // user: %176
- %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
- cond_br %176, bb23, bb24, loc "AddClassesController.swift":70:60, scope 79 // id: %177
- bb23: // Preds: bb22
- %178 = unchecked_enum_data %173 : $Optional<NSString>, #Optional.some!enumelt.1, loc "AddClassesController.swift":70:60, scope 79 // user: %180
- // function_ref static String._unconditionallyBridgeFromObjectiveC(NSString?) -> String
- %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
- %180 = enum $Optional<NSString>, #Optional.some!enumelt.1, %178 : $NSString, loc "AddClassesController.swift":70:60, scope 79 // user: %182
- %181 = metatype $@thin String.Type, loc "AddClassesController.swift":70:60, scope 79 // user: %182
- %182 = apply %179(%180, %181) : $@convention(method) (@owned Optional<NSString>, @thin String.Type) -> @owned String, loc "AddClassesController.swift":70:60, scope 79 // user: %183
- %183 = enum $Optional<String>, #Optional.some!enumelt.1, %182 : $String, loc "AddClassesController.swift":70:60, scope 79 // user: %184
- br bb25(%183 : $Optional<String>), loc "AddClassesController.swift":70:60, scope 79 // id: %184
- bb24: // Preds: bb22
- %185 = enum $Optional<String>, #Optional.none!enumelt, loc "AddClassesController.swift":70:60, scope 79 // user: %186
- br bb25(%185 : $Optional<String>), loc "AddClassesController.swift":70:60, scope 79 // id: %186
- // %187 // user: %188
- bb25(%187 : $Optional<String>): // Preds: bb24 bb23
- switch_enum %187 : $Optional<String>, case #Optional.some!enumelt.1: bb27, default bb26, loc "AddClassesController.swift":70:60, scope 79 // id: %188
- bb26: // Preds: bb25
- destroy_value %171 : $UITextField, loc "AddClassesController.swift":74:17, scope 79 // id: %189
- destroy_addr %170 : $*UITextField, loc "AddClassesController.swift":74:17, scope 79 // id: %190
- dealloc_stack %158 : $*Optional<UITextField>, loc "AddClassesController.swift":74:17, scope 79 // id: %191
- br bb34, loc "AddClassesController.swift":70:60, scope 79 // id: %192
- // %193 // users: %216, %210, %264, %206, %202, %194
- bb27(%193 : $String): // Preds: bb25
- debug_value %193 : $String, let, name "multiplierText", loc "AddClassesController.swift":70:27, scope 79 // id: %194
- destroy_value %171 : $UITextField, loc "AddClassesController.swift":70:60, scope 79 // id: %195
- destroy_addr %170 : $*UITextField, loc "AddClassesController.swift":70:60, scope 79 // id: %196
- dealloc_stack %158 : $*Optional<UITextField>, loc "AddClassesController.swift":70:60, scope 79 // id: %197
- // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
- %198 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "AddClassesController.swift":70:66, scope 79 // user: %204
- // function_ref static Bool.! prefix(Bool) -> Bool
- %199 = function_ref @_TZFSbop1nfSbSb : $@convention(method) (Bool, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":70:66, scope 79 // user: %203
- %200 = metatype $@thin Bool.Type, loc "AddClassesController.swift":70:66, scope 79 // user: %203
- // function_ref String.isEmpty.getter
- %201 = function_ref @_TFSSg7isEmptySb : $@convention(method) (@guaranteed String) -> Bool, loc "AddClassesController.swift":70:82, scope 79 // user: %202
- %202 = apply %201(%193) : $@convention(method) (@guaranteed String) -> Bool, loc "AddClassesController.swift":70:82, scope 79 // user: %203
- %203 = apply %199(%202, %200) : $@convention(method) (Bool, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":70:66, scope 79 // user: %204
- %204 = apply %198(%203) : $@convention(method) (Bool) -> Builtin.Int1, loc "AddClassesController.swift":70:82, scope 79 // user: %205
- cond_br %204, bb29, bb28, loc "AddClassesController.swift":70:82, scope 79 // id: %205
- bb28: // Preds: bb27
- destroy_value %193 : $String, loc "AddClassesController.swift":74:17, scope 79 // id: %206
- br bb34, loc "AddClassesController.swift":70:17, scope 79 // id: %207
- bb29: // Preds: bb27
- // function_ref Double.init(String) -> Double?
- %208 = function_ref @_TFSdCfSSGSqSd_ : $@convention(method) (@owned String, @thin Double.Type) -> Optional<Double>, loc "AddClassesController.swift":77:41, scope 79 // user: %211
- %209 = metatype $@thin Double.Type, loc "AddClassesController.swift":77:41, scope 79 // user: %211
- %210 = copy_value %193 : $String, loc "AddClassesController.swift":77:48, scope 79 // user: %211
- %211 = apply %208(%210, %209) : $@convention(method) (@owned String, @thin Double.Type) -> Optional<Double>, loc "AddClassesController.swift":77:62, scope 79 // user: %212
- switch_enum %211 : $Optional<Double>, case #Optional.some!enumelt.1: bb30, default bb31, loc "AddClassesController.swift":77:62, scope 79 // id: %212
- // %213 // users: %215, %214
- bb30(%213 : $Double): // Preds: bb29
- debug_value %213 : $Double, let, name "_multiplier", loc "AddClassesController.swift":77:27, scope 79 // id: %214
- assign %213 to %55 : $*Double, loc "AddClassesController.swift":82:28, scope 79 // id: %215
- destroy_value %193 : $String, loc "AddClassesController.swift":82:30, scope 71 // id: %216
- br bb37, loc "AddClassesController.swift":82:30, scope 71 // id: %217
- bb31: // Preds: bb29
- %218 = alloc_stack $Optional<UILabel>, loc "AddClassesController.swift":78:21, scope 80 // users: %243, %230, %222, %221
- %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
- %220 = apply %219(%1) : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UILabel>, loc "AddClassesController.swift":78:21, scope 80 // user: %221
- store %220 to [init] %218 : $*Optional<UILabel>, loc "AddClassesController.swift":78:21, scope 80 // id: %221
- switch_enum_addr %218 : $*Optional<UILabel>, case #Optional.none!enumelt: bb32, default bb33, loc "AddClassesController.swift":78:21, scope 80 // id: %222
- bb32: // Preds: bb31
- %223 = string_literal utf8 "AddClassesController.swift", loc "AddClassesController.swift":78:21, scope 80 // user: %228
- %224 = integer_literal $Builtin.Word, 26, loc "AddClassesController.swift":78:21, scope 80 // user: %228
- %225 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":78:21, scope 80 // user: %228
- %226 = integer_literal $Builtin.Word, 78, loc "AddClassesController.swift":78:21, scope 80 // user: %228
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %228 = apply %227(%223, %224, %225, %226) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":78:21, scope 80
- unreachable , loc "AddClassesController.swift":78:21, scope 80 // id: %229
- bb33: // Preds: bb31
- %230 = unchecked_take_enum_data_addr %218 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "AddClassesController.swift":78:21, scope 80 // users: %242, %231
- %231 = load [copy] %230 : $*UILabel, loc "AddClassesController.swift":78:21, scope 80 // users: %241, %232
- %232 = upcast %231 : $UILabel to $UIView, loc "AddClassesController.swift":78:21, scope 80 // users: %240, %237
- // function_ref Bool.init(_builtinBooleanLiteral : Builtin.Int1) -> Bool
- %233 = function_ref @_TFSbCfT22_builtinBooleanLiteralBi1__Sb : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":78:45, scope 80 // user: %236
- %234 = metatype $@thin Bool.Type, loc "AddClassesController.swift":78:45, scope 80 // user: %236
- %235 = integer_literal $Builtin.Int1, 0, loc "AddClassesController.swift":78:45, scope 80 // user: %236
- %236 = apply %233(%235, %234) : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":78:45, scope 80 // user: %239
- %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
- // function_ref _convertBoolToObjCBool(Bool) -> ObjCBool
- %238 = function_ref @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool, loc "AddClassesController.swift":78:43, scope 80 // user: %239
- %239 = apply %238(%236) : $@convention(thin) (Bool) -> ObjCBool, loc "AddClassesController.swift":78:43, scope 80 // user: %240
- %240 = apply %237(%239, %232) : $@convention(objc_method) (ObjCBool, UIView) -> (), loc "AddClassesController.swift":78:43, scope 80
- destroy_value %231 : $UILabel, loc "AddClassesController.swift":78:45, scope 80 // id: %241
- destroy_addr %230 : $*UILabel, loc "AddClassesController.swift":78:45, scope 80 // id: %242
- dealloc_stack %218 : $*Optional<UILabel>, loc "AddClassesController.swift":78:45, scope 80 // id: %243
- // function_ref print([Any], separator : String, terminator : String) -> ()
- %244 = function_ref @_TFs5printFTGSaP__9separatorSS10terminatorSS_T_ : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> (), loc "AddClassesController.swift":79:21, scope 80 // user: %263
- %245 = integer_literal $Builtin.Word, 1, loc "AddClassesController.swift":79:27, scope 80 // user: %247
- // function_ref _allocateUninitializedArray<A> (Builtin.Word) -> ([A], Builtin.RawPointer)
- %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
- %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
- %248 = tuple_extract %247 : $(Array<Any>, Builtin.RawPointer), 0, loc "AddClassesController.swift":79:27, scope 80 // user: %263
- %249 = tuple_extract %247 : $(Array<Any>, Builtin.RawPointer), 1, loc "AddClassesController.swift":79:27, scope 80 // user: %250
- %250 = pointer_to_address %249 : $Builtin.RawPointer to [strict] $*Any, loc "AddClassesController.swift":79:27, scope 80 // user: %251
- %251 = init_existential_addr %250 : $*Any, $String, loc "AddClassesController.swift":79:27, scope 80 // user: %258
- %252 = string_literal utf8 "Malformed multiplier.", loc "AddClassesController.swift":79:27, scope 80 // user: %257
- %253 = integer_literal $Builtin.Word, 21, loc "AddClassesController.swift":79:27, scope 80 // user: %257
- %254 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":79:27, scope 80 // user: %257
- %255 = metatype $@thin String.Type, loc "AddClassesController.swift":79:27, scope 80 // user: %257
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- store %257 to [init] %251 : $*String, loc "AddClassesController.swift":79:27, scope 80 // id: %258
- // function_ref (print([Any], separator : String, terminator : String) -> ()).(default argument 1)
- %259 = function_ref @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A0_ : $@convention(thin) () -> @owned String, loc "AddClassesController.swift":79:27, scope 80 // user: %260
- %260 = apply %259() : $@convention(thin) () -> @owned String, loc "AddClassesController.swift":79:27, scope 80 // user: %263
- // function_ref (print([Any], separator : String, terminator : String) -> ()).(default argument 2)
- %261 = function_ref @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A1_ : $@convention(thin) () -> @owned String, loc "AddClassesController.swift":79:27, scope 80 // user: %262
- %262 = apply %261() : $@convention(thin) () -> @owned String, loc "AddClassesController.swift":79:27, scope 80 // user: %263
- %263 = apply %244(%248, %260, %262) : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> (), loc "AddClassesController.swift":79:50, scope 80
- destroy_value %193 : $String, loc "AddClassesController.swift":142:5, scope 80 // id: %264
- destroy_value %54 : ${ var Double }, loc "AddClassesController.swift":142:5, scope 80 // id: %265
- destroy_value %39 : $String, loc "AddClassesController.swift":142:5, scope 80 // id: %266
- br bb113, loc "AddClassesController.swift":80:21, scope 80 // id: %267
- bb34: // Preds: bb28 bb26
- %268 = alloc_stack $Optional<UILabel>, loc "AddClassesController.swift":71:21, scope 81 // users: %293, %280, %272, %271
- %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
- %270 = apply %269(%1) : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UILabel>, loc "AddClassesController.swift":71:21, scope 81 // user: %271
- store %270 to [init] %268 : $*Optional<UILabel>, loc "AddClassesController.swift":71:21, scope 81 // id: %271
- switch_enum_addr %268 : $*Optional<UILabel>, case #Optional.none!enumelt: bb35, default bb36, loc "AddClassesController.swift":71:21, scope 81 // id: %272
- bb35: // Preds: bb34
- %273 = string_literal utf8 "AddClassesController.swift", loc "AddClassesController.swift":71:21, scope 81 // user: %278
- %274 = integer_literal $Builtin.Word, 26, loc "AddClassesController.swift":71:21, scope 81 // user: %278
- %275 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":71:21, scope 81 // user: %278
- %276 = integer_literal $Builtin.Word, 71, loc "AddClassesController.swift":71:21, scope 81 // user: %278
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %278 = apply %277(%273, %274, %275, %276) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":71:21, scope 81
- unreachable , loc "AddClassesController.swift":71:21, scope 81 // id: %279
- bb36: // Preds: bb34
- %280 = unchecked_take_enum_data_addr %268 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "AddClassesController.swift":71:21, scope 81 // users: %292, %281
- %281 = load [copy] %280 : $*UILabel, loc "AddClassesController.swift":71:21, scope 81 // users: %291, %282
- %282 = upcast %281 : $UILabel to $UIView, loc "AddClassesController.swift":71:21, scope 81 // users: %290, %287
- // function_ref Bool.init(_builtinBooleanLiteral : Builtin.Int1) -> Bool
- %283 = function_ref @_TFSbCfT22_builtinBooleanLiteralBi1__Sb : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":71:45, scope 81 // user: %286
- %284 = metatype $@thin Bool.Type, loc "AddClassesController.swift":71:45, scope 81 // user: %286
- %285 = integer_literal $Builtin.Int1, 0, loc "AddClassesController.swift":71:45, scope 81 // user: %286
- %286 = apply %283(%285, %284) : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":71:45, scope 81 // user: %289
- %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
- // function_ref _convertBoolToObjCBool(Bool) -> ObjCBool
- %288 = function_ref @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool, loc "AddClassesController.swift":71:43, scope 81 // user: %289
- %289 = apply %288(%286) : $@convention(thin) (Bool) -> ObjCBool, loc "AddClassesController.swift":71:43, scope 81 // user: %290
- %290 = apply %287(%289, %282) : $@convention(objc_method) (ObjCBool, UIView) -> (), loc "AddClassesController.swift":71:43, scope 81
- destroy_value %281 : $UILabel, loc "AddClassesController.swift":71:45, scope 81 // id: %291
- destroy_addr %280 : $*UILabel, loc "AddClassesController.swift":71:45, scope 81 // id: %292
- dealloc_stack %268 : $*Optional<UILabel>, loc "AddClassesController.swift":71:45, scope 81 // id: %293
- // function_ref print([Any], separator : String, terminator : String) -> ()
- %294 = function_ref @_TFs5printFTGSaP__9separatorSS10terminatorSS_T_ : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> (), loc "AddClassesController.swift":72:21, scope 81 // user: %313
- %295 = integer_literal $Builtin.Word, 1, loc "AddClassesController.swift":72:27, scope 81 // user: %297
- // function_ref _allocateUninitializedArray<A> (Builtin.Word) -> ([A], Builtin.RawPointer)
- %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
- %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
- %298 = tuple_extract %297 : $(Array<Any>, Builtin.RawPointer), 0, loc "AddClassesController.swift":72:27, scope 81 // user: %313
- %299 = tuple_extract %297 : $(Array<Any>, Builtin.RawPointer), 1, loc "AddClassesController.swift":72:27, scope 81 // user: %300
- %300 = pointer_to_address %299 : $Builtin.RawPointer to [strict] $*Any, loc "AddClassesController.swift":72:27, scope 81 // user: %301
- %301 = init_existential_addr %300 : $*Any, $String, loc "AddClassesController.swift":72:27, scope 81 // user: %308
- %302 = string_literal utf8 "No multiplier specified.", loc "AddClassesController.swift":72:27, scope 81 // user: %307
- %303 = integer_literal $Builtin.Word, 24, loc "AddClassesController.swift":72:27, scope 81 // user: %307
- %304 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":72:27, scope 81 // user: %307
- %305 = metatype $@thin String.Type, loc "AddClassesController.swift":72:27, scope 81 // user: %307
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- store %307 to [init] %301 : $*String, loc "AddClassesController.swift":72:27, scope 81 // id: %308
- // function_ref (print([Any], separator : String, terminator : String) -> ()).(default argument 1)
- %309 = function_ref @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A0_ : $@convention(thin) () -> @owned String, loc "AddClassesController.swift":72:27, scope 81 // user: %310
- %310 = apply %309() : $@convention(thin) () -> @owned String, loc "AddClassesController.swift":72:27, scope 81 // user: %313
- // function_ref (print([Any], separator : String, terminator : String) -> ()).(default argument 2)
- %311 = function_ref @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A1_ : $@convention(thin) () -> @owned String, loc "AddClassesController.swift":72:27, scope 81 // user: %312
- %312 = apply %311() : $@convention(thin) () -> @owned String, loc "AddClassesController.swift":72:27, scope 81 // user: %313
- %313 = apply %294(%298, %310, %312) : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> (), loc "AddClassesController.swift":72:53, scope 81
- destroy_value %54 : ${ var Double }, loc "AddClassesController.swift":142:5, scope 81 // id: %314
- destroy_value %39 : $String, loc "AddClassesController.swift":142:5, scope 81 // id: %315
- br bb113, loc "AddClassesController.swift":73:21, scope 81 // id: %316
- bb37: // Preds: bb30 bb18 bb15 bb12
- %317 = alloc_stack $Optional<UITextField>, loc "AddClassesController.swift":86:38, scope 71 // users: %356, %350, %329, %321, %320
- %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
- %319 = apply %318(%1) : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UITextField>, loc "AddClassesController.swift":86:38, scope 71 // user: %320
- store %319 to [init] %317 : $*Optional<UITextField>, loc "AddClassesController.swift":86:38, scope 71 // id: %320
- switch_enum_addr %317 : $*Optional<UITextField>, case #Optional.none!enumelt: bb38, default bb39, loc "AddClassesController.swift":86:38, scope 71 // id: %321
- bb38: // Preds: bb37
- %322 = string_literal utf8 "AddClassesController.swift", loc "AddClassesController.swift":86:38, scope 71 // user: %327
- %323 = integer_literal $Builtin.Word, 26, loc "AddClassesController.swift":86:38, scope 71 // user: %327
- %324 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":86:38, scope 71 // user: %327
- %325 = integer_literal $Builtin.Word, 86, loc "AddClassesController.swift":86:38, scope 71 // user: %327
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %327 = apply %326(%322, %323, %324, %325) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":86:38, scope 71
- unreachable , loc "AddClassesController.swift":86:38, scope 71 // id: %328
- bb39: // Preds: bb37
- %329 = unchecked_take_enum_data_addr %317 : $*Optional<UITextField>, #Optional.some!enumelt.1, loc "AddClassesController.swift":86:38, scope 71 // users: %355, %349, %330
- %330 = load [copy] %329 : $*UITextField, loc "AddClassesController.swift":86:38, scope 71 // users: %354, %348, %332, %331
- %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
- %332 = apply %331(%330) : $@convention(objc_method) (UITextField) -> @autoreleased Optional<NSString>, loc "AddClassesController.swift":86:56, scope 71 // users: %337, %335
- %333 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":86:56, scope 71 // user: %335
- %334 = integer_literal $Builtin.Int1, 0, loc "AddClassesController.swift":86:56, scope 71 // user: %335
- %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
- cond_br %335, bb40, bb41, loc "AddClassesController.swift":86:56, scope 71 // id: %336
- bb40: // Preds: bb39
- %337 = unchecked_enum_data %332 : $Optional<NSString>, #Optional.some!enumelt.1, loc "AddClassesController.swift":86:56, scope 71 // user: %339
- // function_ref static String._unconditionallyBridgeFromObjectiveC(NSString?) -> String
- %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
- %339 = enum $Optional<NSString>, #Optional.some!enumelt.1, %337 : $NSString, loc "AddClassesController.swift":86:56, scope 71 // user: %341
- %340 = metatype $@thin String.Type, loc "AddClassesController.swift":86:56, scope 71 // user: %341
- %341 = apply %338(%339, %340) : $@convention(method) (@owned Optional<NSString>, @thin String.Type) -> @owned String, loc "AddClassesController.swift":86:56, scope 71 // user: %342
- %342 = enum $Optional<String>, #Optional.some!enumelt.1, %341 : $String, loc "AddClassesController.swift":86:56, scope 71 // user: %343
- br bb42(%342 : $Optional<String>), loc "AddClassesController.swift":86:56, scope 71 // id: %343
- bb41: // Preds: bb39
- %344 = enum $Optional<String>, #Optional.none!enumelt, loc "AddClassesController.swift":86:56, scope 71 // user: %345
- br bb42(%344 : $Optional<String>), loc "AddClassesController.swift":86:56, scope 71 // id: %345
- // %346 // user: %347
- bb42(%346 : $Optional<String>): // Preds: bb41 bb40
- switch_enum %346 : $Optional<String>, case #Optional.some!enumelt.1: bb44, default bb43, loc "AddClassesController.swift":86:56, scope 71 // id: %347
- bb43: // Preds: bb42
- destroy_value %330 : $UITextField, loc "AddClassesController.swift":90:9, scope 71 // id: %348
- destroy_addr %329 : $*UITextField, loc "AddClassesController.swift":90:9, scope 71 // id: %349
- dealloc_stack %317 : $*Optional<UITextField>, loc "AddClassesController.swift":90:9, scope 71 // id: %350
- br bb107, loc "AddClassesController.swift":86:56, scope 71 // id: %351
- // %352 // users: %964, %562, %613, %369, %1014, %365, %361, %353
- bb44(%352 : $String): // Preds: bb42
- debug_value %352 : $String, let, name "currentGradeText", loc "AddClassesController.swift":86:19, scope 71 // id: %353
- destroy_value %330 : $UITextField, loc "AddClassesController.swift":86:56, scope 71 // id: %354
- destroy_addr %329 : $*UITextField, loc "AddClassesController.swift":86:56, scope 71 // id: %355
- dealloc_stack %317 : $*Optional<UITextField>, loc "AddClassesController.swift":86:56, scope 71 // id: %356
- // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
- %357 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "AddClassesController.swift":86:62, scope 71 // user: %363
- // function_ref static Bool.! prefix(Bool) -> Bool
- %358 = function_ref @_TZFSbop1nfSbSb : $@convention(method) (Bool, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":86:62, scope 71 // user: %362
- %359 = metatype $@thin Bool.Type, loc "AddClassesController.swift":86:62, scope 71 // user: %362
- // function_ref String.isEmpty.getter
- %360 = function_ref @_TFSSg7isEmptySb : $@convention(method) (@guaranteed String) -> Bool, loc "AddClassesController.swift":86:80, scope 71 // user: %361
- %361 = apply %360(%352) : $@convention(method) (@guaranteed String) -> Bool, loc "AddClassesController.swift":86:80, scope 71 // user: %362
- %362 = apply %358(%361, %359) : $@convention(method) (Bool, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":86:62, scope 71 // user: %363
- %363 = apply %357(%362) : $@convention(method) (Bool) -> Builtin.Int1, loc "AddClassesController.swift":86:80, scope 71 // user: %364
- cond_br %363, bb46, bb45, loc "AddClassesController.swift":86:80, scope 71 // id: %364
- bb45: // Preds: bb44
- destroy_value %352 : $String, loc "AddClassesController.swift":90:9, scope 71 // id: %365
- br bb107, loc "AddClassesController.swift":86:9, scope 71 // id: %366
- bb46: // Preds: bb44
- // function_ref Int.init(String, radix : Int) -> Int?
- %367 = function_ref @_TFSiCfTSS5radixSi_GSqSi_ : $@convention(method) (@owned String, Int, @thin Int.Type) -> Optional<Int>, loc "AddClassesController.swift":91:34, scope 71 // user: %372
- %368 = metatype $@thin Int.Type, loc "AddClassesController.swift":91:34, scope 71 // user: %372
- %369 = copy_value %352 : $String, loc "AddClassesController.swift":91:38, scope 71 // user: %372
- // function_ref Int.(init(String, radix : Int) -> Int?).(default argument 1)
- %370 = function_ref @_TIFSicFTSS5radixSi_GSqSi_A0_ : $@convention(thin) () -> Int, loc "AddClassesController.swift":91:38, scope 71 // user: %371
- %371 = apply %370() : $@convention(thin) () -> Int, loc "AddClassesController.swift":91:38, scope 71 // user: %372
- %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
- switch_enum %372 : $Optional<Int>, case #Optional.some!enumelt.1: bb47, default bb104, loc "AddClassesController.swift":91:54, scope 71 // id: %373
- // %374 // users: %627, %375
- bb47(%374 : $Int): // Preds: bb46
- debug_value %374 : $Int, let, name "currentGrade", loc "AddClassesController.swift":91:19, scope 71 // id: %375
- %376 = alloc_box ${ var Double }, var, name "credits", loc "AddClassesController.swift":98:13, scope 71 // users: %963, %561, %612, %377
- %377 = project_box %376 : ${ var Double }, 0, loc "AddClassesController.swift":98:13, scope 71 // users: %626, %511, %448, %422, %382
- // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
- %378 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "AddClassesController.swift":98:31, scope 71 // user: %381
- %379 = metatype $@thin Double.Type, loc "AddClassesController.swift":98:31, scope 71 // user: %381
- %380 = integer_literal $Builtin.Int2048, -1, loc "AddClassesController.swift":98:31, scope 71 // user: %381
- %381 = apply %378(%380, %379) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "AddClassesController.swift":98:32, scope 71 // user: %382
- store %381 to [trivial] %377 : $*Double, loc "AddClassesController.swift":98:32, scope 71 // id: %382
- %383 = alloc_stack $Optional<UISegmentedControl>, loc "AddClassesController.swift":100:16, scope 71 // users: %453, %443, %417, %395, %387, %386
- %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
- %385 = apply %384(%1) : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UISegmentedControl>, loc "AddClassesController.swift":100:16, scope 71 // user: %386
- store %385 to [init] %383 : $*Optional<UISegmentedControl>, loc "AddClassesController.swift":100:16, scope 71 // id: %386
- switch_enum_addr %383 : $*Optional<UISegmentedControl>, case #Optional.none!enumelt: bb48, default bb49, loc "AddClassesController.swift":100:16, scope 71 // id: %387
- bb48: // Preds: bb47
- %388 = string_literal utf8 "AddClassesController.swift", loc "AddClassesController.swift":100:16, scope 71 // user: %393
- %389 = integer_literal $Builtin.Word, 26, loc "AddClassesController.swift":100:16, scope 71 // user: %393
- %390 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":100:16, scope 71 // user: %393
- %391 = integer_literal $Builtin.Word, 100, loc "AddClassesController.swift":100:16, scope 71 // user: %393
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %393 = apply %392(%388, %389, %390, %391) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":100:16, scope 71
- unreachable , loc "AddClassesController.swift":100:16, scope 71 // id: %394
- bb49: // Preds: bb47
- %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
- %396 = load [copy] %395 : $*UISegmentedControl, loc "AddClassesController.swift":100:16, scope 71 // users: %451, %441, %415, %398, %397
- %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
- %398 = apply %397(%396) : $@convention(objc_method) (UISegmentedControl) -> Int, loc "AddClassesController.swift":100:27, scope 71 // users: %435, %425, %409, %399
- debug_value %398 : $Int, let, name "$match", loc "AddClassesController.swift":101:18, scope 82 // id: %399
- // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
- %400 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "AddClassesController.swift":101:18, scope 82 // user: %411
- // function_ref ~= infix<A where ...> (A, A) -> Bool
- %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
- // function_ref Int.init(_builtinIntegerLiteral : Builtin.Int2048) -> Int
- %402 = function_ref @_TFSiCfT22_builtinIntegerLiteralBi2048__Si : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "AddClassesController.swift":101:18, scope 82 // user: %405
- %403 = metatype $@thin Int.Type, loc "AddClassesController.swift":101:18, scope 82 // user: %405
- %404 = integer_literal $Builtin.Int2048, 0, loc "AddClassesController.swift":101:18, scope 82 // user: %405
- %405 = apply %402(%404, %403) : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "AddClassesController.swift":101:18, scope 82 // user: %407
- %406 = alloc_stack $Int, loc "AddClassesController.swift":101:18, scope 82 // users: %413, %410, %407
- store %405 to [trivial] %406 : $*Int, loc "AddClassesController.swift":101:18, scope 82 // id: %407
- %408 = alloc_stack $Int, loc "AddClassesController.swift":101:18, scope 82 // users: %412, %410, %409
- store %398 to [trivial] %408 : $*Int, loc "AddClassesController.swift":101:18, scope 82 // id: %409
- %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
- %411 = apply %400(%410) : $@convention(method) (Bool) -> Builtin.Int1, loc "AddClassesController.swift":101:18, scope 82 // user: %414
- dealloc_stack %408 : $*Int, loc "AddClassesController.swift":101:18, scope 82 // id: %412
- dealloc_stack %406 : $*Int, loc "AddClassesController.swift":101:18, scope 82 // id: %413
- cond_br %411, bb50, bb51, loc "AddClassesController.swift":101:18, scope 82 // id: %414
- bb50: // Preds: bb49
- destroy_value %396 : $UISegmentedControl, loc "AddClassesController.swift":119:9, scope 82 // id: %415
- destroy_addr %395 : $*UISegmentedControl, loc "AddClassesController.swift":119:9, scope 82 // id: %416
- dealloc_stack %383 : $*Optional<UISegmentedControl>, loc "AddClassesController.swift":119:9, scope 82 // id: %417
- // function_ref Double.init(_builtinFloatLiteral : Builtin.Float64) -> Double
- %418 = function_ref @_TFSdCfT20_builtinFloatLiteralBf64__Sd : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "AddClassesController.swift":102:27, scope 83 // user: %421
- %419 = metatype $@thin Double.Type, loc "AddClassesController.swift":102:27, scope 83 // user: %421
- %420 = float_literal $Builtin.FPIEEE64, 0x3FE0000000000000 // 0.5, loc "AddClassesController.swift":102:27, scope 83 // user: %421
- %421 = apply %418(%420, %419) : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "AddClassesController.swift":102:27, scope 83 // user: %422
- assign %421 to %377 : $*Double, loc "AddClassesController.swift":102:25, scope 83 // id: %422
- br bb72, loc "AddClassesController.swift":102:27, scope 71 // id: %423
- bb51: // Preds: bb49
- br bb52, loc "AddClassesController.swift":101:18, scope 82 // id: %424
- bb52: // Preds: bb51
- debug_value %398 : $Int, let, name "$match", loc "AddClassesController.swift":103:18, scope 84 // id: %425
- // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
- %426 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "AddClassesController.swift":103:18, scope 84 // user: %437
- // function_ref ~= infix<A where ...> (A, A) -> Bool
- %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
- // function_ref Int.init(_builtinIntegerLiteral : Builtin.Int2048) -> Int
- %428 = function_ref @_TFSiCfT22_builtinIntegerLiteralBi2048__Si : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "AddClassesController.swift":103:18, scope 84 // user: %431
- %429 = metatype $@thin Int.Type, loc "AddClassesController.swift":103:18, scope 84 // user: %431
- %430 = integer_literal $Builtin.Int2048, 1, loc "AddClassesController.swift":103:18, scope 84 // user: %431
- %431 = apply %428(%430, %429) : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "AddClassesController.swift":103:18, scope 84 // user: %433
- %432 = alloc_stack $Int, loc "AddClassesController.swift":103:18, scope 84 // users: %439, %436, %433
- store %431 to [trivial] %432 : $*Int, loc "AddClassesController.swift":103:18, scope 84 // id: %433
- %434 = alloc_stack $Int, loc "AddClassesController.swift":103:18, scope 84 // users: %438, %436, %435
- store %398 to [trivial] %434 : $*Int, loc "AddClassesController.swift":103:18, scope 84 // id: %435
- %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
- %437 = apply %426(%436) : $@convention(method) (Bool) -> Builtin.Int1, loc "AddClassesController.swift":103:18, scope 84 // user: %440
- dealloc_stack %434 : $*Int, loc "AddClassesController.swift":103:18, scope 84 // id: %438
- dealloc_stack %432 : $*Int, loc "AddClassesController.swift":103:18, scope 84 // id: %439
- cond_br %437, bb53, bb54, loc "AddClassesController.swift":103:18, scope 84 // id: %440
- bb53: // Preds: bb52
- destroy_value %396 : $UISegmentedControl, loc "AddClassesController.swift":119:9, scope 84 // id: %441
- destroy_addr %395 : $*UISegmentedControl, loc "AddClassesController.swift":119:9, scope 84 // id: %442
- dealloc_stack %383 : $*Optional<UISegmentedControl>, loc "AddClassesController.swift":119:9, scope 84 // id: %443
- // function_ref Double.init(_builtinFloatLiteral : Builtin.Float64) -> Double
- %444 = function_ref @_TFSdCfT20_builtinFloatLiteralBf64__Sd : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "AddClassesController.swift":104:27, scope 85 // user: %447
- %445 = metatype $@thin Double.Type, loc "AddClassesController.swift":104:27, scope 85 // user: %447
- %446 = float_literal $Builtin.FPIEEE64, 0x3FF0000000000000 // 1, loc "AddClassesController.swift":104:27, scope 85 // user: %447
- %447 = apply %444(%446, %445) : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "AddClassesController.swift":104:27, scope 85 // user: %448
- assign %447 to %377 : $*Double, loc "AddClassesController.swift":104:25, scope 85 // id: %448
- br bb72, loc "AddClassesController.swift":104:27, scope 71 // id: %449
- bb54: // Preds: bb52
- br bb55, loc "AddClassesController.swift":103:18, scope 84 // id: %450
- bb55: // Preds: bb54
- destroy_value %396 : $UISegmentedControl, loc "AddClassesController.swift":119:9, scope 86 // id: %451
- destroy_addr %395 : $*UISegmentedControl, loc "AddClassesController.swift":119:9, scope 86 // id: %452
- dealloc_stack %383 : $*Optional<UISegmentedControl>, loc "AddClassesController.swift":119:9, scope 86 // id: %453
- %454 = alloc_stack $Optional<UITextField>, loc "AddClassesController.swift":106:41, scope 87 // users: %493, %487, %466, %458, %457
- %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
- %456 = apply %455(%1) : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UITextField>, loc "AddClassesController.swift":106:41, scope 87 // user: %457
- store %456 to [init] %454 : $*Optional<UITextField>, loc "AddClassesController.swift":106:41, scope 87 // id: %457
- switch_enum_addr %454 : $*Optional<UITextField>, case #Optional.none!enumelt: bb56, default bb57, loc "AddClassesController.swift":106:41, scope 87 // id: %458
- bb56: // Preds: bb55
- %459 = string_literal utf8 "AddClassesController.swift", loc "AddClassesController.swift":106:41, scope 87 // user: %464
- %460 = integer_literal $Builtin.Word, 26, loc "AddClassesController.swift":106:41, scope 87 // user: %464
- %461 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":106:41, scope 87 // user: %464
- %462 = integer_literal $Builtin.Word, 106, loc "AddClassesController.swift":106:41, scope 87 // user: %464
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %464 = apply %463(%459, %460, %461, %462) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":106:41, scope 87
- unreachable , loc "AddClassesController.swift":106:41, scope 87 // id: %465
- bb57: // Preds: bb55
- %466 = unchecked_take_enum_data_addr %454 : $*Optional<UITextField>, #Optional.some!enumelt.1, loc "AddClassesController.swift":106:41, scope 87 // users: %492, %486, %467
- %467 = load [copy] %466 : $*UITextField, loc "AddClassesController.swift":106:41, scope 87 // users: %491, %485, %469, %468
- %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
- %469 = apply %468(%467) : $@convention(objc_method) (UITextField) -> @autoreleased Optional<NSString>, loc "AddClassesController.swift":106:54, scope 87 // users: %474, %472
- %470 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":106:54, scope 87 // user: %472
- %471 = integer_literal $Builtin.Int1, 0, loc "AddClassesController.swift":106:54, scope 87 // user: %472
- %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
- cond_br %472, bb58, bb59, loc "AddClassesController.swift":106:54, scope 87 // id: %473
- bb58: // Preds: bb57
- %474 = unchecked_enum_data %469 : $Optional<NSString>, #Optional.some!enumelt.1, loc "AddClassesController.swift":106:54, scope 87 // user: %476
- // function_ref static String._unconditionallyBridgeFromObjectiveC(NSString?) -> String
- %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
- %476 = enum $Optional<NSString>, #Optional.some!enumelt.1, %474 : $NSString, loc "AddClassesController.swift":106:54, scope 87 // user: %478
- %477 = metatype $@thin String.Type, loc "AddClassesController.swift":106:54, scope 87 // user: %478
- %478 = apply %475(%476, %477) : $@convention(method) (@owned Optional<NSString>, @thin String.Type) -> @owned String, loc "AddClassesController.swift":106:54, scope 87 // user: %479
- %479 = enum $Optional<String>, #Optional.some!enumelt.1, %478 : $String, loc "AddClassesController.swift":106:54, scope 87 // user: %480
- br bb60(%479 : $Optional<String>), loc "AddClassesController.swift":106:54, scope 87 // id: %480
- bb59: // Preds: bb57
- %481 = enum $Optional<String>, #Optional.none!enumelt, loc "AddClassesController.swift":106:54, scope 87 // user: %482
- br bb60(%481 : $Optional<String>), loc "AddClassesController.swift":106:54, scope 87 // id: %482
- // %483 // user: %484
- bb60(%483 : $Optional<String>): // Preds: bb59 bb58
- switch_enum %483 : $Optional<String>, case #Optional.some!enumelt.1: bb62, default bb61, loc "AddClassesController.swift":106:54, scope 87 // id: %484
- bb61: // Preds: bb60
- destroy_value %467 : $UITextField, loc "AddClassesController.swift":110:17, scope 87 // id: %485
- destroy_addr %466 : $*UITextField, loc "AddClassesController.swift":110:17, scope 87 // id: %486
- dealloc_stack %454 : $*Optional<UITextField>, loc "AddClassesController.swift":110:17, scope 87 // id: %487
- br bb69, loc "AddClassesController.swift":106:54, scope 87 // id: %488
- // %489 // users: %512, %506, %560, %502, %498, %490
- bb62(%489 : $String): // Preds: bb60
- debug_value %489 : $String, let, name "creditsText", loc "AddClassesController.swift":106:27, scope 87 // id: %490
- destroy_value %467 : $UITextField, loc "AddClassesController.swift":106:54, scope 87 // id: %491
- destroy_addr %466 : $*UITextField, loc "AddClassesController.swift":106:54, scope 87 // id: %492
- dealloc_stack %454 : $*Optional<UITextField>, loc "AddClassesController.swift":106:54, scope 87 // id: %493
- // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
- %494 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "AddClassesController.swift":106:60, scope 87 // user: %500
- // function_ref static Bool.! prefix(Bool) -> Bool
- %495 = function_ref @_TZFSbop1nfSbSb : $@convention(method) (Bool, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":106:60, scope 87 // user: %499
- %496 = metatype $@thin Bool.Type, loc "AddClassesController.swift":106:60, scope 87 // user: %499
- // function_ref String.isEmpty.getter
- %497 = function_ref @_TFSSg7isEmptySb : $@convention(method) (@guaranteed String) -> Bool, loc "AddClassesController.swift":106:73, scope 87 // user: %498
- %498 = apply %497(%489) : $@convention(method) (@guaranteed String) -> Bool, loc "AddClassesController.swift":106:73, scope 87 // user: %499
- %499 = apply %495(%498, %496) : $@convention(method) (Bool, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":106:60, scope 87 // user: %500
- %500 = apply %494(%499) : $@convention(method) (Bool) -> Builtin.Int1, loc "AddClassesController.swift":106:73, scope 87 // user: %501
- cond_br %500, bb64, bb63, loc "AddClassesController.swift":106:73, scope 87 // id: %501
- bb63: // Preds: bb62
- destroy_value %489 : $String, loc "AddClassesController.swift":110:17, scope 87 // id: %502
- br bb69, loc "AddClassesController.swift":106:17, scope 87 // id: %503
- bb64: // Preds: bb62
- // function_ref Double.init(String) -> Double?
- %504 = function_ref @_TFSdCfSSGSqSd_ : $@convention(method) (@owned String, @thin Double.Type) -> Optional<Double>, loc "AddClassesController.swift":113:38, scope 87 // user: %507
- %505 = metatype $@thin Double.Type, loc "AddClassesController.swift":113:38, scope 87 // user: %507
- %506 = copy_value %489 : $String, loc "AddClassesController.swift":113:45, scope 87 // user: %507
- %507 = apply %504(%506, %505) : $@convention(method) (@owned String, @thin Double.Type) -> Optional<Double>, loc "AddClassesController.swift":113:56, scope 87 // user: %508
- switch_enum %507 : $Optional<Double>, case #Optional.some!enumelt.1: bb65, default bb66, loc "AddClassesController.swift":113:56, scope 87 // id: %508
- // %509 // users: %511, %510
- bb65(%509 : $Double): // Preds: bb64
- debug_value %509 : $Double, let, name "_credits", loc "AddClassesController.swift":113:27, scope 87 // id: %510
- assign %509 to %377 : $*Double, loc "AddClassesController.swift":118:25, scope 87 // id: %511
- destroy_value %489 : $String, loc "AddClassesController.swift":118:27, scope 71 // id: %512
- br bb72, loc "AddClassesController.swift":118:27, scope 71 // id: %513
- bb66: // Preds: bb64
- %514 = alloc_stack $Optional<UILabel>, loc "AddClassesController.swift":114:21, scope 88 // users: %539, %526, %518, %517
- %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
- %516 = apply %515(%1) : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UILabel>, loc "AddClassesController.swift":114:21, scope 88 // user: %517
- store %516 to [init] %514 : $*Optional<UILabel>, loc "AddClassesController.swift":114:21, scope 88 // id: %517
- switch_enum_addr %514 : $*Optional<UILabel>, case #Optional.none!enumelt: bb67, default bb68, loc "AddClassesController.swift":114:21, scope 88 // id: %518
- bb67: // Preds: bb66
- %519 = string_literal utf8 "AddClassesController.swift", loc "AddClassesController.swift":114:21, scope 88 // user: %524
- %520 = integer_literal $Builtin.Word, 26, loc "AddClassesController.swift":114:21, scope 88 // user: %524
- %521 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":114:21, scope 88 // user: %524
- %522 = integer_literal $Builtin.Word, 114, loc "AddClassesController.swift":114:21, scope 88 // user: %524
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %524 = apply %523(%519, %520, %521, %522) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":114:21, scope 88
- unreachable , loc "AddClassesController.swift":114:21, scope 88 // id: %525
- bb68: // Preds: bb66
- %526 = unchecked_take_enum_data_addr %514 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "AddClassesController.swift":114:21, scope 88 // users: %538, %527
- %527 = load [copy] %526 : $*UILabel, loc "AddClassesController.swift":114:21, scope 88 // users: %537, %528
- %528 = upcast %527 : $UILabel to $UIView, loc "AddClassesController.swift":114:21, scope 88 // users: %536, %533
- // function_ref Bool.init(_builtinBooleanLiteral : Builtin.Int1) -> Bool
- %529 = function_ref @_TFSbCfT22_builtinBooleanLiteralBi1__Sb : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":114:45, scope 88 // user: %532
- %530 = metatype $@thin Bool.Type, loc "AddClassesController.swift":114:45, scope 88 // user: %532
- %531 = integer_literal $Builtin.Int1, 0, loc "AddClassesController.swift":114:45, scope 88 // user: %532
- %532 = apply %529(%531, %530) : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":114:45, scope 88 // user: %535
- %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
- // function_ref _convertBoolToObjCBool(Bool) -> ObjCBool
- %534 = function_ref @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool, loc "AddClassesController.swift":114:43, scope 88 // user: %535
- %535 = apply %534(%532) : $@convention(thin) (Bool) -> ObjCBool, loc "AddClassesController.swift":114:43, scope 88 // user: %536
- %536 = apply %533(%535, %528) : $@convention(objc_method) (ObjCBool, UIView) -> (), loc "AddClassesController.swift":114:43, scope 88
- destroy_value %527 : $UILabel, loc "AddClassesController.swift":114:45, scope 88 // id: %537
- destroy_addr %526 : $*UILabel, loc "AddClassesController.swift":114:45, scope 88 // id: %538
- dealloc_stack %514 : $*Optional<UILabel>, loc "AddClassesController.swift":114:45, scope 88 // id: %539
- // function_ref print([Any], separator : String, terminator : String) -> ()
- %540 = function_ref @_TFs5printFTGSaP__9separatorSS10terminatorSS_T_ : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> (), loc "AddClassesController.swift":115:21, scope 88 // user: %559
- %541 = integer_literal $Builtin.Word, 1, loc "AddClassesController.swift":115:27, scope 88 // user: %543
- // function_ref _allocateUninitializedArray<A> (Builtin.Word) -> ([A], Builtin.RawPointer)
- %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
- %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
- %544 = tuple_extract %543 : $(Array<Any>, Builtin.RawPointer), 0, loc "AddClassesController.swift":115:27, scope 88 // user: %559
- %545 = tuple_extract %543 : $(Array<Any>, Builtin.RawPointer), 1, loc "AddClassesController.swift":115:27, scope 88 // user: %546
- %546 = pointer_to_address %545 : $Builtin.RawPointer to [strict] $*Any, loc "AddClassesController.swift":115:27, scope 88 // user: %547
- %547 = init_existential_addr %546 : $*Any, $String, loc "AddClassesController.swift":115:27, scope 88 // user: %554
- %548 = string_literal utf8 "Malformed credits.", loc "AddClassesController.swift":115:27, scope 88 // user: %553
- %549 = integer_literal $Builtin.Word, 18, loc "AddClassesController.swift":115:27, scope 88 // user: %553
- %550 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":115:27, scope 88 // user: %553
- %551 = metatype $@thin String.Type, loc "AddClassesController.swift":115:27, scope 88 // user: %553
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- store %553 to [init] %547 : $*String, loc "AddClassesController.swift":115:27, scope 88 // id: %554
- // function_ref (print([Any], separator : String, terminator : String) -> ()).(default argument 1)
- %555 = function_ref @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A0_ : $@convention(thin) () -> @owned String, loc "AddClassesController.swift":115:27, scope 88 // user: %556
- %556 = apply %555() : $@convention(thin) () -> @owned String, loc "AddClassesController.swift":115:27, scope 88 // user: %559
- // function_ref (print([Any], separator : String, terminator : String) -> ()).(default argument 2)
- %557 = function_ref @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A1_ : $@convention(thin) () -> @owned String, loc "AddClassesController.swift":115:27, scope 88 // user: %558
- %558 = apply %557() : $@convention(thin) () -> @owned String, loc "AddClassesController.swift":115:27, scope 88 // user: %559
- %559 = apply %540(%544, %556, %558) : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> (), loc "AddClassesController.swift":115:47, scope 88
- destroy_value %489 : $String, loc "AddClassesController.swift":142:5, scope 88 // id: %560
- destroy_value %376 : ${ var Double }, loc "AddClassesController.swift":142:5, scope 88 // id: %561
- destroy_value %352 : $String, loc "AddClassesController.swift":142:5, scope 88 // id: %562
- destroy_value %54 : ${ var Double }, loc "AddClassesController.swift":142:5, scope 88 // id: %563
- destroy_value %39 : $String, loc "AddClassesController.swift":142:5, scope 88 // id: %564
- br bb113, loc "AddClassesController.swift":116:21, scope 88 // id: %565
- bb69: // Preds: bb63 bb61
- %566 = alloc_stack $Optional<UILabel>, loc "AddClassesController.swift":107:21, scope 89 // users: %591, %578, %570, %569
- %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
- %568 = apply %567(%1) : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UILabel>, loc "AddClassesController.swift":107:21, scope 89 // user: %569
- store %568 to [init] %566 : $*Optional<UILabel>, loc "AddClassesController.swift":107:21, scope 89 // id: %569
- switch_enum_addr %566 : $*Optional<UILabel>, case #Optional.none!enumelt: bb70, default bb71, loc "AddClassesController.swift":107:21, scope 89 // id: %570
- bb70: // Preds: bb69
- %571 = string_literal utf8 "AddClassesController.swift", loc "AddClassesController.swift":107:21, scope 89 // user: %576
- %572 = integer_literal $Builtin.Word, 26, loc "AddClassesController.swift":107:21, scope 89 // user: %576
- %573 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":107:21, scope 89 // user: %576
- %574 = integer_literal $Builtin.Word, 107, loc "AddClassesController.swift":107:21, scope 89 // user: %576
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %576 = apply %575(%571, %572, %573, %574) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":107:21, scope 89
- unreachable , loc "AddClassesController.swift":107:21, scope 89 // id: %577
- bb71: // Preds: bb69
- %578 = unchecked_take_enum_data_addr %566 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "AddClassesController.swift":107:21, scope 89 // users: %590, %579
- %579 = load [copy] %578 : $*UILabel, loc "AddClassesController.swift":107:21, scope 89 // users: %589, %580
- %580 = upcast %579 : $UILabel to $UIView, loc "AddClassesController.swift":107:21, scope 89 // users: %588, %585
- // function_ref Bool.init(_builtinBooleanLiteral : Builtin.Int1) -> Bool
- %581 = function_ref @_TFSbCfT22_builtinBooleanLiteralBi1__Sb : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":107:45, scope 89 // user: %584
- %582 = metatype $@thin Bool.Type, loc "AddClassesController.swift":107:45, scope 89 // user: %584
- %583 = integer_literal $Builtin.Int1, 0, loc "AddClassesController.swift":107:45, scope 89 // user: %584
- %584 = apply %581(%583, %582) : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":107:45, scope 89 // user: %587
- %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
- // function_ref _convertBoolToObjCBool(Bool) -> ObjCBool
- %586 = function_ref @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool, loc "AddClassesController.swift":107:43, scope 89 // user: %587
- %587 = apply %586(%584) : $@convention(thin) (Bool) -> ObjCBool, loc "AddClassesController.swift":107:43, scope 89 // user: %588
- %588 = apply %585(%587, %580) : $@convention(objc_method) (ObjCBool, UIView) -> (), loc "AddClassesController.swift":107:43, scope 89
- destroy_value %579 : $UILabel, loc "AddClassesController.swift":107:45, scope 89 // id: %589
- destroy_addr %578 : $*UILabel, loc "AddClassesController.swift":107:45, scope 89 // id: %590
- dealloc_stack %566 : $*Optional<UILabel>, loc "AddClassesController.swift":107:45, scope 89 // id: %591
- // function_ref print([Any], separator : String, terminator : String) -> ()
- %592 = function_ref @_TFs5printFTGSaP__9separatorSS10terminatorSS_T_ : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> (), loc "AddClassesController.swift":108:21, scope 89 // user: %611
- %593 = integer_literal $Builtin.Word, 1, loc "AddClassesController.swift":108:27, scope 89 // user: %595
- // function_ref _allocateUninitializedArray<A> (Builtin.Word) -> ([A], Builtin.RawPointer)
- %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
- %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
- %596 = tuple_extract %595 : $(Array<Any>, Builtin.RawPointer), 0, loc "AddClassesController.swift":108:27, scope 89 // user: %611
- %597 = tuple_extract %595 : $(Array<Any>, Builtin.RawPointer), 1, loc "AddClassesController.swift":108:27, scope 89 // user: %598
- %598 = pointer_to_address %597 : $Builtin.RawPointer to [strict] $*Any, loc "AddClassesController.swift":108:27, scope 89 // user: %599
- %599 = init_existential_addr %598 : $*Any, $String, loc "AddClassesController.swift":108:27, scope 89 // user: %606
- %600 = string_literal utf8 "No credits specified.", loc "AddClassesController.swift":108:27, scope 89 // user: %605
- %601 = integer_literal $Builtin.Word, 21, loc "AddClassesController.swift":108:27, scope 89 // user: %605
- %602 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":108:27, scope 89 // user: %605
- %603 = metatype $@thin String.Type, loc "AddClassesController.swift":108:27, scope 89 // user: %605
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- store %605 to [init] %599 : $*String, loc "AddClassesController.swift":108:27, scope 89 // id: %606
- // function_ref (print([Any], separator : String, terminator : String) -> ()).(default argument 1)
- %607 = function_ref @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A0_ : $@convention(thin) () -> @owned String, loc "AddClassesController.swift":108:27, scope 89 // user: %608
- %608 = apply %607() : $@convention(thin) () -> @owned String, loc "AddClassesController.swift":108:27, scope 89 // user: %611
- // function_ref (print([Any], separator : String, terminator : String) -> ()).(default argument 2)
- %609 = function_ref @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A1_ : $@convention(thin) () -> @owned String, loc "AddClassesController.swift":108:27, scope 89 // user: %610
- %610 = apply %609() : $@convention(thin) () -> @owned String, loc "AddClassesController.swift":108:27, scope 89 // user: %611
- %611 = apply %592(%596, %608, %610) : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> (), loc "AddClassesController.swift":108:50, scope 89
- destroy_value %376 : ${ var Double }, loc "AddClassesController.swift":142:5, scope 89 // id: %612
- destroy_value %352 : $String, loc "AddClassesController.swift":142:5, scope 89 // id: %613
- destroy_value %54 : ${ var Double }, loc "AddClassesController.swift":142:5, scope 89 // id: %614
- destroy_value %39 : $String, loc "AddClassesController.swift":142:5, scope 89 // id: %615
- br bb113, loc "AddClassesController.swift":109:21, scope 89 // id: %616
- bb72: // Preds: bb65 bb53 bb50
- // function_ref Array.append(A) -> ()
- %617 = function_ref @_TFSa6appendfxT_ : $@convention(method) <τ_0_0> (@in τ_0_0, @inout Array<τ_0_0>) -> (), loc "AddClassesController.swift":122:38, scope 71 // user: %630
- %618 = metatype $@thick Information.Type, loc "AddClassesController.swift":122:9, scope 71
- // function_ref Information.classesAndGrades.unsafeMutableAddressor
- %619 = function_ref @_TFC3gpa11Informationau16classesAndGradesGSaS0__ : $@convention(thin) () -> Builtin.RawPointer, loc "AddClassesController.swift":122:21, scope 71 // user: %620
- %620 = apply %619() : $@convention(thin) () -> Builtin.RawPointer, loc "AddClassesController.swift":122:21, scope 71 // user: %621
- %621 = pointer_to_address %620 : $Builtin.RawPointer to [strict] $*Array<Information>, loc "AddClassesController.swift":122:21, scope 71 // user: %630
- // function_ref Information.__allocating_init(String, grade : Int, multiplier : Double, credits : Double) -> Information
- %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
- %623 = metatype $@thick Information.Type, loc "AddClassesController.swift":122:45, scope 71 // user: %627
- %624 = copy_value %39 : $String, loc "AddClassesController.swift":122:57, scope 71 // user: %627
- %625 = load [trivial] %55 : $*Double, loc "AddClassesController.swift":122:101, scope 71 // user: %627
- %626 = load [trivial] %377 : $*Double, loc "AddClassesController.swift":122:122, scope 71 // user: %627
- %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
- %628 = alloc_stack $Information, loc "AddClassesController.swift":122:45, scope 71 // users: %631, %630, %629
- store %627 to [init] %628 : $*Information, loc "AddClassesController.swift":122:45, scope 71 // id: %629
- %630 = apply %617<Information>(%628, %621) : $@convention(method) <τ_0_0> (@in τ_0_0, @inout Array<τ_0_0>) -> (), loc "AddClassesController.swift":122:130, scope 71
- dealloc_stack %628 : $*Information, loc "AddClassesController.swift":122:130, scope 71 // id: %631
- %632 = metatype $@thick Information.Type, loc "AddClassesController.swift":123:9, scope 71
- // function_ref Information.keyValueStore.unsafeMutableAddressor
- %633 = function_ref @_TFC3gpa11Informationau13keyValueStoreCSo25NSUbiquitousKeyValueStore : $@convention(thin) () -> Builtin.RawPointer, loc "AddClassesController.swift":123:21, scope 71 // user: %634
- %634 = apply %633() : $@convention(thin) () -> Builtin.RawPointer, loc "AddClassesController.swift":123:21, scope 71 // user: %635
- %635 = pointer_to_address %634 : $Builtin.RawPointer to [strict] $*NSUbiquitousKeyValueStore, loc "AddClassesController.swift":123:21, scope 71 // user: %636
- %636 = load [copy] %635 : $*NSUbiquitousKeyValueStore, loc "AddClassesController.swift":123:21, scope 71 // users: %681, %675, %637
- %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
- %638 = metatype $@thick NSKeyedArchiver.Type, loc "AddClassesController.swift":123:39, scope 71 // users: %640, %639
- %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
- %640 = thick_to_objc_metatype %638 : $@thick NSKeyedArchiver.Type to $@objc_metatype NSKeyedArchiver.Type, loc "AddClassesController.swift":123:39, scope 71 // user: %649
- %641 = metatype $@thick Information.Type, loc "AddClassesController.swift":123:84, scope 71
- // function_ref Information.classesAndGrades.unsafeMutableAddressor
- %642 = function_ref @_TFC3gpa11Informationau16classesAndGradesGSaS0__ : $@convention(thin) () -> Builtin.RawPointer, loc "AddClassesController.swift":123:96, scope 71 // user: %643
- %643 = apply %642() : $@convention(thin) () -> Builtin.RawPointer, loc "AddClassesController.swift":123:96, scope 71 // user: %644
- %644 = pointer_to_address %643 : $Builtin.RawPointer to [strict] $*Array<Information>, loc "AddClassesController.swift":123:96, scope 71 // user: %645
- %645 = load [copy] %644 : $*Array<Information>, loc "AddClassesController.swift":123:96, scope 71 // users: %680, %647
- // function_ref Array._bridgeToObjectiveC() -> NSArray
- %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
- %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
- %648 = init_existential_ref %647 : $NSArray : $NSArray, $AnyObject, loc "AddClassesController.swift":123:96, scope 71 // user: %649
- %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
- // function_ref static Data._unconditionallyBridgeFromObjectiveC(NSData?) -> Data
- %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
- %651 = metatype $@thin Data.Type, loc "AddClassesController.swift":123:112, scope 71 // user: %652
- %652 = apply %650(%649, %651) : $@convention(method) (@owned Optional<NSData>, @thin Data.Type) -> @owned Data, loc "AddClassesController.swift":123:112, scope 71 // user: %653
- %653 = enum $Optional<Data>, #Optional.some!enumelt.1, %652 : $Data, loc "AddClassesController.swift":123:55, scope 71 // users: %658, %656
- %654 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":123:55, scope 71 // user: %656
- %655 = integer_literal $Builtin.Int1, 0, loc "AddClassesController.swift":123:55, scope 71 // user: %656
- %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
- cond_br %656, bb73, bb74, loc "AddClassesController.swift":123:55, scope 71 // id: %657
- bb73: // Preds: bb72
- %658 = unchecked_enum_data %653 : $Optional<Data>, #Optional.some!enumelt.1, loc "AddClassesController.swift":123:55, scope 71 // users: %662, %660
- // function_ref Data._bridgeToObjectiveC() -> NSData
- %659 = function_ref @_TFV10Foundation4Data19_bridgeToObjectiveCfT_CSo6NSData : $@convention(method) (@guaranteed Data) -> @owned NSData, loc "AddClassesController.swift":123:55, scope 71 // user: %660
- %660 = apply %659(%658) : $@convention(method) (@guaranteed Data) -> @owned NSData, loc "AddClassesController.swift":123:55, scope 71 // user: %661
- %661 = enum $Optional<NSData>, #Optional.some!enumelt.1, %660 : $NSData, loc "AddClassesController.swift":123:55, scope 71 // user: %663
- destroy_value %658 : $Data, loc "AddClassesController.swift":123:112, scope 71 // id: %662
- br bb75(%661 : $Optional<NSData>), loc "AddClassesController.swift":123:55, scope 71 // id: %663
- bb74: // Preds: bb72
- %664 = enum $Optional<NSData>, #Optional.none!enumelt, loc "AddClassesController.swift":123:55, scope 71 // user: %665
- br bb75(%664 : $Optional<NSData>), loc "AddClassesController.swift":123:55, scope 71 // id: %665
- // %666 // users: %678, %675
- bb75(%666 : $Optional<NSData>): // Preds: bb74 bb73
- %667 = string_literal utf8 "savedList", loc "AddClassesController.swift":123:123, scope 71 // user: %672
- %668 = integer_literal $Builtin.Word, 9, loc "AddClassesController.swift":123:123, scope 71 // user: %672
- %669 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":123:123, scope 71 // user: %672
- %670 = metatype $@thin String.Type, loc "AddClassesController.swift":123:123, scope 71 // user: %672
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- // function_ref String._bridgeToObjectiveC() -> NSString
- %673 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "AddClassesController.swift":123:123, scope 71 // user: %674
- %674 = apply %673(%672) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "AddClassesController.swift":123:123, scope 71 // users: %676, %675
- %675 = apply %637(%666, %674, %636) : $@convention(objc_method) (Optional<NSData>, NSString, NSUbiquitousKeyValueStore) -> (), loc "AddClassesController.swift":123:134, scope 71
- destroy_value %674 : $NSString, loc "AddClassesController.swift":123:134, scope 71 // id: %676
- destroy_value %672 : $String, loc "AddClassesController.swift":123:134, scope 71 // id: %677
- destroy_value %666 : $Optional<NSData>, loc "AddClassesController.swift":123:134, scope 71 // id: %678
- destroy_value %647 : $NSArray, loc "AddClassesController.swift":123:134, scope 71 // id: %679
- destroy_value %645 : $Array<Information>, loc "AddClassesController.swift":123:134, scope 71 // id: %680
- destroy_value %636 : $NSUbiquitousKeyValueStore, loc "AddClassesController.swift":123:134, scope 71 // id: %681
- %682 = alloc_stack $Optional<UITextField>, loc "AddClassesController.swift":125:9, scope 71 // users: %721, %694, %686, %685
- %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
- %684 = apply %683(%1) : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UITextField>, loc "AddClassesController.swift":125:9, scope 71 // user: %685
- store %684 to [init] %682 : $*Optional<UITextField>, loc "AddClassesController.swift":125:9, scope 71 // id: %685
- switch_enum_addr %682 : $*Optional<UITextField>, case #Optional.none!enumelt: bb76, default bb77, loc "AddClassesController.swift":125:9, scope 71 // id: %686
- bb76: // Preds: bb75
- %687 = string_literal utf8 "AddClassesController.swift", loc "AddClassesController.swift":125:9, scope 71 // user: %692
- %688 = integer_literal $Builtin.Word, 26, loc "AddClassesController.swift":125:9, scope 71 // user: %692
- %689 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":125:9, scope 71 // user: %692
- %690 = integer_literal $Builtin.Word, 125, loc "AddClassesController.swift":125:9, scope 71 // user: %692
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %692 = apply %691(%687, %688, %689, %690) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":125:9, scope 71
- unreachable , loc "AddClassesController.swift":125:9, scope 71 // id: %693
- bb77: // Preds: bb75
- %694 = unchecked_take_enum_data_addr %682 : $*Optional<UITextField>, #Optional.some!enumelt.1, loc "AddClassesController.swift":125:9, scope 71 // users: %720, %695
- %695 = load [copy] %694 : $*UITextField, loc "AddClassesController.swift":125:9, scope 71 // users: %719, %717, %703
- %696 = string_literal utf8 "", loc "AddClassesController.swift":125:31, scope 71 // user: %701
- %697 = integer_literal $Builtin.Word, 0, loc "AddClassesController.swift":125:31, scope 71 // user: %701
- %698 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":125:31, scope 71 // user: %701
- %699 = metatype $@thin String.Type, loc "AddClassesController.swift":125:31, scope 71 // user: %701
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- %702 = enum $Optional<String>, #Optional.some!enumelt.1, %701 : $String, loc "AddClassesController.swift":125:31, scope 71 // users: %708, %706
- %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
- %704 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":125:29, scope 71 // user: %706
- %705 = integer_literal $Builtin.Int1, 0, loc "AddClassesController.swift":125:29, scope 71 // user: %706
- %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
- cond_br %706, bb78, bb79, loc "AddClassesController.swift":125:29, scope 71 // id: %707
- bb78: // Preds: bb77
- %708 = unchecked_enum_data %702 : $Optional<String>, #Optional.some!enumelt.1, loc "AddClassesController.swift":125:29, scope 71 // users: %712, %710
- // function_ref String._bridgeToObjectiveC() -> NSString
- %709 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "AddClassesController.swift":125:29, scope 71 // user: %710
- %710 = apply %709(%708) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "AddClassesController.swift":125:29, scope 71 // user: %711
- %711 = enum $Optional<NSString>, #Optional.some!enumelt.1, %710 : $NSString, loc "AddClassesController.swift":125:29, scope 71 // user: %713
- destroy_value %708 : $String, loc "AddClassesController.swift":125:31, scope 71 // id: %712
- br bb80(%711 : $Optional<NSString>), loc "AddClassesController.swift":125:29, scope 71 // id: %713
- bb79: // Preds: bb77
- %714 = enum $Optional<NSString>, #Optional.none!enumelt, loc "AddClassesController.swift":125:29, scope 71 // user: %715
- br bb80(%714 : $Optional<NSString>), loc "AddClassesController.swift":125:29, scope 71 // id: %715
- // %716 // users: %718, %717
- bb80(%716 : $Optional<NSString>): // Preds: bb79 bb78
- %717 = apply %703(%716, %695) : $@convention(objc_method) (Optional<NSString>, UITextField) -> (), loc "AddClassesController.swift":125:29, scope 71
- destroy_value %716 : $Optional<NSString>, loc "AddClassesController.swift":125:31, scope 71 // id: %718
- destroy_value %695 : $UITextField, loc "AddClassesController.swift":125:31, scope 71 // id: %719
- destroy_addr %694 : $*UITextField, loc "AddClassesController.swift":125:31, scope 71 // id: %720
- dealloc_stack %682 : $*Optional<UITextField>, loc "AddClassesController.swift":125:31, scope 71 // id: %721
- %722 = alloc_stack $Optional<UITextField>, loc "AddClassesController.swift":126:9, scope 71 // users: %761, %734, %726, %725
- %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
- %724 = apply %723(%1) : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UITextField>, loc "AddClassesController.swift":126:9, scope 71 // user: %725
- store %724 to [init] %722 : $*Optional<UITextField>, loc "AddClassesController.swift":126:9, scope 71 // id: %725
- switch_enum_addr %722 : $*Optional<UITextField>, case #Optional.none!enumelt: bb81, default bb82, loc "AddClassesController.swift":126:9, scope 71 // id: %726
- bb81: // Preds: bb80
- %727 = string_literal utf8 "AddClassesController.swift", loc "AddClassesController.swift":126:9, scope 71 // user: %732
- %728 = integer_literal $Builtin.Word, 26, loc "AddClassesController.swift":126:9, scope 71 // user: %732
- %729 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":126:9, scope 71 // user: %732
- %730 = integer_literal $Builtin.Word, 126, loc "AddClassesController.swift":126:9, scope 71 // user: %732
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %732 = apply %731(%727, %728, %729, %730) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":126:9, scope 71
- unreachable , loc "AddClassesController.swift":126:9, scope 71 // id: %733
- bb82: // Preds: bb80
- %734 = unchecked_take_enum_data_addr %722 : $*Optional<UITextField>, #Optional.some!enumelt.1, loc "AddClassesController.swift":126:9, scope 71 // users: %760, %735
- %735 = load [copy] %734 : $*UITextField, loc "AddClassesController.swift":126:9, scope 71 // users: %759, %757, %743
- %736 = string_literal utf8 "", loc "AddClassesController.swift":126:32, scope 71 // user: %741
- %737 = integer_literal $Builtin.Word, 0, loc "AddClassesController.swift":126:32, scope 71 // user: %741
- %738 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":126:32, scope 71 // user: %741
- %739 = metatype $@thin String.Type, loc "AddClassesController.swift":126:32, scope 71 // user: %741
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- %742 = enum $Optional<String>, #Optional.some!enumelt.1, %741 : $String, loc "AddClassesController.swift":126:32, scope 71 // users: %748, %746
- %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
- %744 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":126:30, scope 71 // user: %746
- %745 = integer_literal $Builtin.Int1, 0, loc "AddClassesController.swift":126:30, scope 71 // user: %746
- %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
- cond_br %746, bb83, bb84, loc "AddClassesController.swift":126:30, scope 71 // id: %747
- bb83: // Preds: bb82
- %748 = unchecked_enum_data %742 : $Optional<String>, #Optional.some!enumelt.1, loc "AddClassesController.swift":126:30, scope 71 // users: %752, %750
- // function_ref String._bridgeToObjectiveC() -> NSString
- %749 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "AddClassesController.swift":126:30, scope 71 // user: %750
- %750 = apply %749(%748) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "AddClassesController.swift":126:30, scope 71 // user: %751
- %751 = enum $Optional<NSString>, #Optional.some!enumelt.1, %750 : $NSString, loc "AddClassesController.swift":126:30, scope 71 // user: %753
- destroy_value %748 : $String, loc "AddClassesController.swift":126:32, scope 71 // id: %752
- br bb85(%751 : $Optional<NSString>), loc "AddClassesController.swift":126:30, scope 71 // id: %753
- bb84: // Preds: bb82
- %754 = enum $Optional<NSString>, #Optional.none!enumelt, loc "AddClassesController.swift":126:30, scope 71 // user: %755
- br bb85(%754 : $Optional<NSString>), loc "AddClassesController.swift":126:30, scope 71 // id: %755
- // %756 // users: %758, %757
- bb85(%756 : $Optional<NSString>): // Preds: bb84 bb83
- %757 = apply %743(%756, %735) : $@convention(objc_method) (Optional<NSString>, UITextField) -> (), loc "AddClassesController.swift":126:30, scope 71
- destroy_value %756 : $Optional<NSString>, loc "AddClassesController.swift":126:32, scope 71 // id: %758
- destroy_value %735 : $UITextField, loc "AddClassesController.swift":126:32, scope 71 // id: %759
- destroy_addr %734 : $*UITextField, loc "AddClassesController.swift":126:32, scope 71 // id: %760
- dealloc_stack %722 : $*Optional<UITextField>, loc "AddClassesController.swift":126:32, scope 71 // id: %761
- %762 = alloc_stack $Optional<UISegmentedControl>, loc "AddClassesController.swift":127:9, scope 71 // users: %784, %774, %766, %765
- %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
- %764 = apply %763(%1) : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UISegmentedControl>, loc "AddClassesController.swift":127:9, scope 71 // user: %765
- store %764 to [init] %762 : $*Optional<UISegmentedControl>, loc "AddClassesController.swift":127:9, scope 71 // id: %765
- switch_enum_addr %762 : $*Optional<UISegmentedControl>, case #Optional.none!enumelt: bb86, default bb87, loc "AddClassesController.swift":127:9, scope 71 // id: %766
- bb86: // Preds: bb85
- %767 = string_literal utf8 "AddClassesController.swift", loc "AddClassesController.swift":127:9, scope 71 // user: %772
- %768 = integer_literal $Builtin.Word, 26, loc "AddClassesController.swift":127:9, scope 71 // user: %772
- %769 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":127:9, scope 71 // user: %772
- %770 = integer_literal $Builtin.Word, 127, loc "AddClassesController.swift":127:9, scope 71 // user: %772
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %772 = apply %771(%767, %768, %769, %770) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":127:9, scope 71
- unreachable , loc "AddClassesController.swift":127:9, scope 71 // id: %773
- bb87: // Preds: bb85
- %774 = unchecked_take_enum_data_addr %762 : $*Optional<UISegmentedControl>, #Optional.some!enumelt.1, loc "AddClassesController.swift":127:9, scope 71 // users: %783, %775
- %775 = load [copy] %774 : $*UISegmentedControl, loc "AddClassesController.swift":127:9, scope 71 // users: %782, %781, %780
- // function_ref Int.init(_builtinIntegerLiteral : Builtin.Int2048) -> Int
- %776 = function_ref @_TFSiCfT22_builtinIntegerLiteralBi2048__Si : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "AddClassesController.swift":127:46, scope 71 // user: %779
- %777 = metatype $@thin Int.Type, loc "AddClassesController.swift":127:46, scope 71 // user: %779
- %778 = integer_literal $Builtin.Int2048, 0, loc "AddClassesController.swift":127:46, scope 71 // user: %779
- %779 = apply %776(%778, %777) : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "AddClassesController.swift":127:46, scope 71 // user: %781
- %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
- %781 = apply %780(%779, %775) : $@convention(objc_method) (Int, UISegmentedControl) -> (), loc "AddClassesController.swift":127:44, scope 71
- destroy_value %775 : $UISegmentedControl, loc "AddClassesController.swift":127:46, scope 71 // id: %782
- destroy_addr %774 : $*UISegmentedControl, loc "AddClassesController.swift":127:46, scope 71 // id: %783
- dealloc_stack %762 : $*Optional<UISegmentedControl>, loc "AddClassesController.swift":127:46, scope 71 // id: %784
- %785 = alloc_stack $Optional<UITextField>, loc "AddClassesController.swift":128:9, scope 71 // users: %824, %797, %789, %788
- %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
- %787 = apply %786(%1) : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UITextField>, loc "AddClassesController.swift":128:9, scope 71 // user: %788
- store %787 to [init] %785 : $*Optional<UITextField>, loc "AddClassesController.swift":128:9, scope 71 // id: %788
- switch_enum_addr %785 : $*Optional<UITextField>, case #Optional.none!enumelt: bb88, default bb89, loc "AddClassesController.swift":128:9, scope 71 // id: %789
- bb88: // Preds: bb87
- %790 = string_literal utf8 "AddClassesController.swift", loc "AddClassesController.swift":128:9, scope 71 // user: %795
- %791 = integer_literal $Builtin.Word, 26, loc "AddClassesController.swift":128:9, scope 71 // user: %795
- %792 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":128:9, scope 71 // user: %795
- %793 = integer_literal $Builtin.Word, 128, loc "AddClassesController.swift":128:9, scope 71 // user: %795
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %795 = apply %794(%790, %791, %792, %793) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":128:9, scope 71
- unreachable , loc "AddClassesController.swift":128:9, scope 71 // id: %796
- bb89: // Preds: bb87
- %797 = unchecked_take_enum_data_addr %785 : $*Optional<UITextField>, #Optional.some!enumelt.1, loc "AddClassesController.swift":128:9, scope 71 // users: %823, %798
- %798 = load [copy] %797 : $*UITextField, loc "AddClassesController.swift":128:9, scope 71 // users: %822, %820, %806
- %799 = string_literal utf8 "", loc "AddClassesController.swift":128:34, scope 71 // user: %804
- %800 = integer_literal $Builtin.Word, 0, loc "AddClassesController.swift":128:34, scope 71 // user: %804
- %801 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":128:34, scope 71 // user: %804
- %802 = metatype $@thin String.Type, loc "AddClassesController.swift":128:34, scope 71 // user: %804
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- %805 = enum $Optional<String>, #Optional.some!enumelt.1, %804 : $String, loc "AddClassesController.swift":128:34, scope 71 // users: %811, %809
- %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
- %807 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":128:32, scope 71 // user: %809
- %808 = integer_literal $Builtin.Int1, 0, loc "AddClassesController.swift":128:32, scope 71 // user: %809
- %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
- cond_br %809, bb90, bb91, loc "AddClassesController.swift":128:32, scope 71 // id: %810
- bb90: // Preds: bb89
- %811 = unchecked_enum_data %805 : $Optional<String>, #Optional.some!enumelt.1, loc "AddClassesController.swift":128:32, scope 71 // users: %815, %813
- // function_ref String._bridgeToObjectiveC() -> NSString
- %812 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "AddClassesController.swift":128:32, scope 71 // user: %813
- %813 = apply %812(%811) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "AddClassesController.swift":128:32, scope 71 // user: %814
- %814 = enum $Optional<NSString>, #Optional.some!enumelt.1, %813 : $NSString, loc "AddClassesController.swift":128:32, scope 71 // user: %816
- destroy_value %811 : $String, loc "AddClassesController.swift":128:34, scope 71 // id: %815
- br bb92(%814 : $Optional<NSString>), loc "AddClassesController.swift":128:32, scope 71 // id: %816
- bb91: // Preds: bb89
- %817 = enum $Optional<NSString>, #Optional.none!enumelt, loc "AddClassesController.swift":128:32, scope 71 // user: %818
- br bb92(%817 : $Optional<NSString>), loc "AddClassesController.swift":128:32, scope 71 // id: %818
- // %819 // users: %821, %820
- bb92(%819 : $Optional<NSString>): // Preds: bb91 bb90
- %820 = apply %806(%819, %798) : $@convention(objc_method) (Optional<NSString>, UITextField) -> (), loc "AddClassesController.swift":128:32, scope 71
- destroy_value %819 : $Optional<NSString>, loc "AddClassesController.swift":128:34, scope 71 // id: %821
- destroy_value %798 : $UITextField, loc "AddClassesController.swift":128:34, scope 71 // id: %822
- destroy_addr %797 : $*UITextField, loc "AddClassesController.swift":128:34, scope 71 // id: %823
- dealloc_stack %785 : $*Optional<UITextField>, loc "AddClassesController.swift":128:34, scope 71 // id: %824
- %825 = alloc_stack $Optional<UITextField>, loc "AddClassesController.swift":129:9, scope 71 // users: %864, %837, %829, %828
- %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
- %827 = apply %826(%1) : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UITextField>, loc "AddClassesController.swift":129:9, scope 71 // user: %828
- store %827 to [init] %825 : $*Optional<UITextField>, loc "AddClassesController.swift":129:9, scope 71 // id: %828
- switch_enum_addr %825 : $*Optional<UITextField>, case #Optional.none!enumelt: bb93, default bb94, loc "AddClassesController.swift":129:9, scope 71 // id: %829
- bb93: // Preds: bb92
- %830 = string_literal utf8 "AddClassesController.swift", loc "AddClassesController.swift":129:9, scope 71 // user: %835
- %831 = integer_literal $Builtin.Word, 26, loc "AddClassesController.swift":129:9, scope 71 // user: %835
- %832 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":129:9, scope 71 // user: %835
- %833 = integer_literal $Builtin.Word, 129, loc "AddClassesController.swift":129:9, scope 71 // user: %835
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %835 = apply %834(%830, %831, %832, %833) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":129:9, scope 71
- unreachable , loc "AddClassesController.swift":129:9, scope 71 // id: %836
- bb94: // Preds: bb92
- %837 = unchecked_take_enum_data_addr %825 : $*Optional<UITextField>, #Optional.some!enumelt.1, loc "AddClassesController.swift":129:9, scope 71 // users: %863, %838
- %838 = load [copy] %837 : $*UITextField, loc "AddClassesController.swift":129:9, scope 71 // users: %862, %860, %846
- %839 = string_literal utf8 "", loc "AddClassesController.swift":129:29, scope 71 // user: %844
- %840 = integer_literal $Builtin.Word, 0, loc "AddClassesController.swift":129:29, scope 71 // user: %844
- %841 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":129:29, scope 71 // user: %844
- %842 = metatype $@thin String.Type, loc "AddClassesController.swift":129:29, scope 71 // user: %844
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- %845 = enum $Optional<String>, #Optional.some!enumelt.1, %844 : $String, loc "AddClassesController.swift":129:29, scope 71 // users: %851, %849
- %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
- %847 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":129:27, scope 71 // user: %849
- %848 = integer_literal $Builtin.Int1, 0, loc "AddClassesController.swift":129:27, scope 71 // user: %849
- %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
- cond_br %849, bb95, bb96, loc "AddClassesController.swift":129:27, scope 71 // id: %850
- bb95: // Preds: bb94
- %851 = unchecked_enum_data %845 : $Optional<String>, #Optional.some!enumelt.1, loc "AddClassesController.swift":129:27, scope 71 // users: %855, %853
- // function_ref String._bridgeToObjectiveC() -> NSString
- %852 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "AddClassesController.swift":129:27, scope 71 // user: %853
- %853 = apply %852(%851) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "AddClassesController.swift":129:27, scope 71 // user: %854
- %854 = enum $Optional<NSString>, #Optional.some!enumelt.1, %853 : $NSString, loc "AddClassesController.swift":129:27, scope 71 // user: %856
- destroy_value %851 : $String, loc "AddClassesController.swift":129:29, scope 71 // id: %855
- br bb97(%854 : $Optional<NSString>), loc "AddClassesController.swift":129:27, scope 71 // id: %856
- bb96: // Preds: bb94
- %857 = enum $Optional<NSString>, #Optional.none!enumelt, loc "AddClassesController.swift":129:27, scope 71 // user: %858
- br bb97(%857 : $Optional<NSString>), loc "AddClassesController.swift":129:27, scope 71 // id: %858
- // %859 // users: %861, %860
- bb97(%859 : $Optional<NSString>): // Preds: bb96 bb95
- %860 = apply %846(%859, %838) : $@convention(objc_method) (Optional<NSString>, UITextField) -> (), loc "AddClassesController.swift":129:27, scope 71
- destroy_value %859 : $Optional<NSString>, loc "AddClassesController.swift":129:29, scope 71 // id: %861
- destroy_value %838 : $UITextField, loc "AddClassesController.swift":129:29, scope 71 // id: %862
- destroy_addr %837 : $*UITextField, loc "AddClassesController.swift":129:29, scope 71 // id: %863
- dealloc_stack %825 : $*Optional<UITextField>, loc "AddClassesController.swift":129:29, scope 71 // id: %864
- %865 = alloc_stack $Optional<UISegmentedControl>, loc "AddClassesController.swift":130:9, scope 71 // users: %887, %877, %869, %868
- %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
- %867 = apply %866(%1) : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UISegmentedControl>, loc "AddClassesController.swift":130:9, scope 71 // user: %868
- store %867 to [init] %865 : $*Optional<UISegmentedControl>, loc "AddClassesController.swift":130:9, scope 71 // id: %868
- switch_enum_addr %865 : $*Optional<UISegmentedControl>, case #Optional.none!enumelt: bb98, default bb99, loc "AddClassesController.swift":130:9, scope 71 // id: %869
- bb98: // Preds: bb97
- %870 = string_literal utf8 "AddClassesController.swift", loc "AddClassesController.swift":130:9, scope 71 // user: %875
- %871 = integer_literal $Builtin.Word, 26, loc "AddClassesController.swift":130:9, scope 71 // user: %875
- %872 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":130:9, scope 71 // user: %875
- %873 = integer_literal $Builtin.Word, 130, loc "AddClassesController.swift":130:9, scope 71 // user: %875
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %875 = apply %874(%870, %871, %872, %873) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":130:9, scope 71
- unreachable , loc "AddClassesController.swift":130:9, scope 71 // id: %876
- bb99: // Preds: bb97
- %877 = unchecked_take_enum_data_addr %865 : $*Optional<UISegmentedControl>, #Optional.some!enumelt.1, loc "AddClassesController.swift":130:9, scope 71 // users: %886, %878
- %878 = load [copy] %877 : $*UISegmentedControl, loc "AddClassesController.swift":130:9, scope 71 // users: %885, %884, %883
- // function_ref Int.init(_builtinIntegerLiteral : Builtin.Int2048) -> Int
- %879 = function_ref @_TFSiCfT22_builtinIntegerLiteralBi2048__Si : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "AddClassesController.swift":130:43, scope 71 // user: %882
- %880 = metatype $@thin Int.Type, loc "AddClassesController.swift":130:43, scope 71 // user: %882
- %881 = integer_literal $Builtin.Int2048, 0, loc "AddClassesController.swift":130:43, scope 71 // user: %882
- %882 = apply %879(%881, %880) : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "AddClassesController.swift":130:43, scope 71 // user: %884
- %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
- %884 = apply %883(%882, %878) : $@convention(objc_method) (Int, UISegmentedControl) -> (), loc "AddClassesController.swift":130:41, scope 71
- destroy_value %878 : $UISegmentedControl, loc "AddClassesController.swift":130:43, scope 71 // id: %885
- destroy_addr %877 : $*UISegmentedControl, loc "AddClassesController.swift":130:43, scope 71 // id: %886
- dealloc_stack %865 : $*Optional<UISegmentedControl>, loc "AddClassesController.swift":130:43, scope 71 // id: %887
- %888 = alloc_stack $Optional<UILabel>, loc "AddClassesController.swift":132:9, scope 71 // users: %913, %900, %892, %891
- %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
- %890 = apply %889(%1) : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UILabel>, loc "AddClassesController.swift":132:9, scope 71 // user: %891
- store %890 to [init] %888 : $*Optional<UILabel>, loc "AddClassesController.swift":132:9, scope 71 // id: %891
- switch_enum_addr %888 : $*Optional<UILabel>, case #Optional.none!enumelt: bb100, default bb101, loc "AddClassesController.swift":132:9, scope 71 // id: %892
- bb100: // Preds: bb99
- %893 = string_literal utf8 "AddClassesController.swift", loc "AddClassesController.swift":132:9, scope 71 // user: %898
- %894 = integer_literal $Builtin.Word, 26, loc "AddClassesController.swift":132:9, scope 71 // user: %898
- %895 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":132:9, scope 71 // user: %898
- %896 = integer_literal $Builtin.Word, 132, loc "AddClassesController.swift":132:9, scope 71 // user: %898
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %898 = apply %897(%893, %894, %895, %896) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":132:9, scope 71
- unreachable , loc "AddClassesController.swift":132:9, scope 71 // id: %899
- bb101: // Preds: bb99
- %900 = unchecked_take_enum_data_addr %888 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "AddClassesController.swift":132:9, scope 71 // users: %912, %901
- %901 = load [copy] %900 : $*UILabel, loc "AddClassesController.swift":132:9, scope 71 // users: %911, %902
- %902 = upcast %901 : $UILabel to $UIView, loc "AddClassesController.swift":132:9, scope 71 // users: %910, %907
- // function_ref Bool.init(_builtinBooleanLiteral : Builtin.Int1) -> Bool
- %903 = function_ref @_TFSbCfT22_builtinBooleanLiteralBi1__Sb : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":132:33, scope 71 // user: %906
- %904 = metatype $@thin Bool.Type, loc "AddClassesController.swift":132:33, scope 71 // user: %906
- %905 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":132:33, scope 71 // user: %906
- %906 = apply %903(%905, %904) : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":132:33, scope 71 // user: %909
- %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
- // function_ref _convertBoolToObjCBool(Bool) -> ObjCBool
- %908 = function_ref @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool, loc "AddClassesController.swift":132:31, scope 71 // user: %909
- %909 = apply %908(%906) : $@convention(thin) (Bool) -> ObjCBool, loc "AddClassesController.swift":132:31, scope 71 // user: %910
- %910 = apply %907(%909, %902) : $@convention(objc_method) (ObjCBool, UIView) -> (), loc "AddClassesController.swift":132:31, scope 71
- destroy_value %901 : $UILabel, loc "AddClassesController.swift":132:33, scope 71 // id: %911
- destroy_addr %900 : $*UILabel, loc "AddClassesController.swift":132:33, scope 71 // id: %912
- dealloc_stack %888 : $*Optional<UILabel>, loc "AddClassesController.swift":132:33, scope 71 // id: %913
- %914 = alloc_stack $Optional<UIBarButtonItem>, loc "AddClassesController.swift":133:9, scope 71 // users: %939, %926, %918, %917
- %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
- %916 = apply %915(%1) : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UIBarButtonItem>, loc "AddClassesController.swift":133:9, scope 71 // user: %917
- store %916 to [init] %914 : $*Optional<UIBarButtonItem>, loc "AddClassesController.swift":133:9, scope 71 // id: %917
- switch_enum_addr %914 : $*Optional<UIBarButtonItem>, case #Optional.none!enumelt: bb102, default bb103, loc "AddClassesController.swift":133:9, scope 71 // id: %918
- bb102: // Preds: bb101
- %919 = string_literal utf8 "AddClassesController.swift", loc "AddClassesController.swift":133:9, scope 71 // user: %924
- %920 = integer_literal $Builtin.Word, 26, loc "AddClassesController.swift":133:9, scope 71 // user: %924
- %921 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":133:9, scope 71 // user: %924
- %922 = integer_literal $Builtin.Word, 133, loc "AddClassesController.swift":133:9, scope 71 // user: %924
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %924 = apply %923(%919, %920, %921, %922) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":133:9, scope 71
- unreachable , loc "AddClassesController.swift":133:9, scope 71 // id: %925
- bb103: // Preds: bb101
- %926 = unchecked_take_enum_data_addr %914 : $*Optional<UIBarButtonItem>, #Optional.some!enumelt.1, loc "AddClassesController.swift":133:9, scope 71 // users: %938, %927
- %927 = load [copy] %926 : $*UIBarButtonItem, loc "AddClassesController.swift":133:9, scope 71 // users: %937, %928
- %928 = upcast %927 : $UIBarButtonItem to $UIBarItem, loc "AddClassesController.swift":133:9, scope 71 // users: %936, %933
- // function_ref Bool.init(_builtinBooleanLiteral : Builtin.Int1) -> Bool
- %929 = function_ref @_TFSbCfT22_builtinBooleanLiteralBi1__Sb : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":133:34, scope 71 // user: %932
- %930 = metatype $@thin Bool.Type, loc "AddClassesController.swift":133:34, scope 71 // user: %932
- %931 = integer_literal $Builtin.Int1, 0, loc "AddClassesController.swift":133:34, scope 71 // user: %932
- %932 = apply %929(%931, %930) : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":133:34, scope 71 // user: %935
- %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
- // function_ref _convertBoolToObjCBool(Bool) -> ObjCBool
- %934 = function_ref @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool, loc "AddClassesController.swift":133:32, scope 71 // user: %935
- %935 = apply %934(%932) : $@convention(thin) (Bool) -> ObjCBool, loc "AddClassesController.swift":133:32, scope 71 // user: %936
- %936 = apply %933(%935, %928) : $@convention(objc_method) (ObjCBool, UIBarItem) -> (), loc "AddClassesController.swift":133:32, scope 71
- destroy_value %927 : $UIBarButtonItem, loc "AddClassesController.swift":133:34, scope 71 // id: %937
- destroy_addr %926 : $*UIBarButtonItem, loc "AddClassesController.swift":133:34, scope 71 // id: %938
- dealloc_stack %914 : $*Optional<UIBarButtonItem>, loc "AddClassesController.swift":133:34, scope 71 // id: %939
- // function_ref DispatchQueue.async(group : DispatchGroup?, qos : DispatchQoS, flags : DispatchWorkItemFlags, execute : @convention(block) () -> ()) -> ()
- %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
- %941 = metatype $@thick DispatchQueue.Type, loc "AddClassesController.swift":136:9, scope 71 // user: %943
- // function_ref static DispatchQueue.main.getter
- %942 = function_ref @_TZFE8DispatchCSo13DispatchQueueg4mainS0_ : $@convention(method) (@thick DispatchQueue.Type) -> @owned DispatchQueue, loc "AddClassesController.swift":136:23, scope 71 // user: %943
- %943 = apply %942(%941) : $@convention(method) (@thick DispatchQueue.Type) -> @owned DispatchQueue, loc "AddClassesController.swift":136:23, scope 71 // users: %960, %959
- // function_ref AddClassesController.(addNewClass(Any) -> ()).(closure #1)
- %944 = function_ref @_TFFC3gpa20AddClassesController11addNewClassFP_T_U_FT_T_ : $@convention(thin) (@owned AddClassesController) -> (), loc "AddClassesController.swift":136:34, scope 71 // user: %946
- %945 = copy_value %1 : $AddClassesController, loc "AddClassesController.swift":136:34, scope 71 // user: %946
- %946 = partial_apply %944(%945) : $@convention(thin) (@owned AddClassesController) -> (), loc "AddClassesController.swift":136:34, scope 71 // users: %962, %949
- %947 = alloc_stack $@block_storage @callee_owned () -> (), loc "AddClassesController.swift":136:34, scope 71 // users: %961, %951, %948
- %948 = project_block_storage %947 : $*@block_storage @callee_owned () -> (), loc "AddClassesController.swift":136:34, scope 71 // user: %949
- store %946 to [init] %948 : $*@callee_owned () -> (), loc "AddClassesController.swift":136:34, scope 71 // id: %949
- // function_ref thunk
- %950 = function_ref @_TTRXFo___XFdCb___ : $@convention(c) (@inout_aliasable @block_storage @callee_owned () -> ()) -> (), loc "AddClassesController.swift":136:34, scope 71 // user: %951
- %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
- %952 = copy_block %951 : $@convention(block) () -> (), loc "AddClassesController.swift":136:34, scope 71 // user: %959
- // function_ref DispatchQueue.(async(group : DispatchGroup?, qos : DispatchQoS, flags : DispatchWorkItemFlags, execute : @convention(block) () -> ()) -> ()).(default argument 0)
- %953 = function_ref @_TIFE8DispatchCSo13DispatchQueue5asyncFT5groupGSqCSo13DispatchGroup_3qosVS_11DispatchQoS5flagsVS_21DispatchWorkItemFlags7executebT_T__T_A_ : $@convention(thin) () -> @owned Optional<DispatchGroup>, loc "AddClassesController.swift":136:34, scope 71 // user: %954
- %954 = apply %953() : $@convention(thin) () -> @owned Optional<DispatchGroup>, loc "AddClassesController.swift":136:34, scope 71 // user: %959
- // function_ref DispatchQueue.(async(group : DispatchGroup?, qos : DispatchQoS, flags : DispatchWorkItemFlags, execute : @convention(block) () -> ()) -> ()).(default argument 1)
- %955 = function_ref @_TIFE8DispatchCSo13DispatchQueue5asyncFT5groupGSqCSo13DispatchGroup_3qosVS_11DispatchQoS5flagsVS_21DispatchWorkItemFlags7executebT_T__T_A0_ : $@convention(thin) () -> DispatchQoS, loc "AddClassesController.swift":136:34, scope 71 // user: %956
- %956 = apply %955() : $@convention(thin) () -> DispatchQoS, loc "AddClassesController.swift":136:34, scope 71 // user: %959
- // function_ref DispatchQueue.(async(group : DispatchGroup?, qos : DispatchQoS, flags : DispatchWorkItemFlags, execute : @convention(block) () -> ()) -> ()).(default argument 2)
- %957 = function_ref @_TIFE8DispatchCSo13DispatchQueue5asyncFT5groupGSqCSo13DispatchGroup_3qosVS_11DispatchQoS5flagsVS_21DispatchWorkItemFlags7executebT_T__T_A1_ : $@convention(thin) () -> DispatchWorkItemFlags, loc "AddClassesController.swift":136:34, scope 71 // user: %958
- %958 = apply %957() : $@convention(thin) () -> DispatchWorkItemFlags, loc "AddClassesController.swift":136:34, scope 71 // user: %959
- %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
- destroy_value %943 : $DispatchQueue, loc "AddClassesController.swift":141:9, scope 71 // id: %960
- dealloc_stack %947 : $*@block_storage @callee_owned () -> (), loc "AddClassesController.swift":141:9, scope 71 // id: %961
- destroy_value %946 : $@callee_owned () -> (), loc "AddClassesController.swift":141:9, scope 71 // id: %962
- destroy_value %376 : ${ var Double }, loc "AddClassesController.swift":142:5, scope 71 // id: %963
- destroy_value %352 : $String, loc "AddClassesController.swift":142:5, scope 71 // id: %964
- destroy_value %54 : ${ var Double }, loc "AddClassesController.swift":142:5, scope 71 // id: %965
- destroy_value %39 : $String, loc "AddClassesController.swift":142:5, scope 71 // id: %966
- br bb113, loc "AddClassesController.swift":142:5, scope 71 // id: %967
- bb104: // Preds: bb46
- %968 = alloc_stack $Optional<UILabel>, loc "AddClassesController.swift":92:13, scope 90 // users: %993, %980, %972, %971
- %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
- %970 = apply %969(%1) : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UILabel>, loc "AddClassesController.swift":92:13, scope 90 // user: %971
- store %970 to [init] %968 : $*Optional<UILabel>, loc "AddClassesController.swift":92:13, scope 90 // id: %971
- switch_enum_addr %968 : $*Optional<UILabel>, case #Optional.none!enumelt: bb105, default bb106, loc "AddClassesController.swift":92:13, scope 90 // id: %972
- bb105: // Preds: bb104
- %973 = string_literal utf8 "AddClassesController.swift", loc "AddClassesController.swift":92:13, scope 90 // user: %978
- %974 = integer_literal $Builtin.Word, 26, loc "AddClassesController.swift":92:13, scope 90 // user: %978
- %975 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":92:13, scope 90 // user: %978
- %976 = integer_literal $Builtin.Word, 92, loc "AddClassesController.swift":92:13, scope 90 // user: %978
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %978 = apply %977(%973, %974, %975, %976) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":92:13, scope 90
- unreachable , loc "AddClassesController.swift":92:13, scope 90 // id: %979
- bb106: // Preds: bb104
- %980 = unchecked_take_enum_data_addr %968 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "AddClassesController.swift":92:13, scope 90 // users: %992, %981
- %981 = load [copy] %980 : $*UILabel, loc "AddClassesController.swift":92:13, scope 90 // users: %991, %982
- %982 = upcast %981 : $UILabel to $UIView, loc "AddClassesController.swift":92:13, scope 90 // users: %990, %987
- // function_ref Bool.init(_builtinBooleanLiteral : Builtin.Int1) -> Bool
- %983 = function_ref @_TFSbCfT22_builtinBooleanLiteralBi1__Sb : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":92:37, scope 90 // user: %986
- %984 = metatype $@thin Bool.Type, loc "AddClassesController.swift":92:37, scope 90 // user: %986
- %985 = integer_literal $Builtin.Int1, 0, loc "AddClassesController.swift":92:37, scope 90 // user: %986
- %986 = apply %983(%985, %984) : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":92:37, scope 90 // user: %989
- %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
- // function_ref _convertBoolToObjCBool(Bool) -> ObjCBool
- %988 = function_ref @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool, loc "AddClassesController.swift":92:35, scope 90 // user: %989
- %989 = apply %988(%986) : $@convention(thin) (Bool) -> ObjCBool, loc "AddClassesController.swift":92:35, scope 90 // user: %990
- %990 = apply %987(%989, %982) : $@convention(objc_method) (ObjCBool, UIView) -> (), loc "AddClassesController.swift":92:35, scope 90
- destroy_value %981 : $UILabel, loc "AddClassesController.swift":92:37, scope 90 // id: %991
- destroy_addr %980 : $*UILabel, loc "AddClassesController.swift":92:37, scope 90 // id: %992
- dealloc_stack %968 : $*Optional<UILabel>, loc "AddClassesController.swift":92:37, scope 90 // id: %993
- // function_ref print([Any], separator : String, terminator : String) -> ()
- %994 = function_ref @_TFs5printFTGSaP__9separatorSS10terminatorSS_T_ : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> (), loc "AddClassesController.swift":93:13, scope 90 // user: %1013
- %995 = integer_literal $Builtin.Word, 1, loc "AddClassesController.swift":93:19, scope 90 // user: %997
- // function_ref _allocateUninitializedArray<A> (Builtin.Word) -> ([A], Builtin.RawPointer)
- %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
- %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
- %998 = tuple_extract %997 : $(Array<Any>, Builtin.RawPointer), 0, loc "AddClassesController.swift":93:19, scope 90 // user: %1013
- %999 = tuple_extract %997 : $(Array<Any>, Builtin.RawPointer), 1, loc "AddClassesController.swift":93:19, scope 90 // user: %1000
- %1000 = pointer_to_address %999 : $Builtin.RawPointer to [strict] $*Any, loc "AddClassesController.swift":93:19, scope 90 // user: %1001
- %1001 = init_existential_addr %1000 : $*Any, $String, loc "AddClassesController.swift":93:19, scope 90 // user: %1008
- %1002 = string_literal utf8 "Malformed current grade.", loc "AddClassesController.swift":93:19, scope 90 // user: %1007
- %1003 = integer_literal $Builtin.Word, 24, loc "AddClassesController.swift":93:19, scope 90 // user: %1007
- %1004 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":93:19, scope 90 // user: %1007
- %1005 = metatype $@thin String.Type, loc "AddClassesController.swift":93:19, scope 90 // user: %1007
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- store %1007 to [init] %1001 : $*String, loc "AddClassesController.swift":93:19, scope 90 // id: %1008
- // function_ref (print([Any], separator : String, terminator : String) -> ()).(default argument 1)
- %1009 = function_ref @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A0_ : $@convention(thin) () -> @owned String, loc "AddClassesController.swift":93:19, scope 90 // user: %1010
- %1010 = apply %1009() : $@convention(thin) () -> @owned String, loc "AddClassesController.swift":93:19, scope 90 // user: %1013
- // function_ref (print([Any], separator : String, terminator : String) -> ()).(default argument 2)
- %1011 = function_ref @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A1_ : $@convention(thin) () -> @owned String, loc "AddClassesController.swift":93:19, scope 90 // user: %1012
- %1012 = apply %1011() : $@convention(thin) () -> @owned String, loc "AddClassesController.swift":93:19, scope 90 // user: %1013
- %1013 = apply %994(%998, %1010, %1012) : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> (), loc "AddClassesController.swift":93:45, scope 90
- destroy_value %352 : $String, loc "AddClassesController.swift":142:5, scope 90 // id: %1014
- destroy_value %54 : ${ var Double }, loc "AddClassesController.swift":142:5, scope 90 // id: %1015
- destroy_value %39 : $String, loc "AddClassesController.swift":142:5, scope 90 // id: %1016
- br bb113, loc "AddClassesController.swift":94:13, scope 90 // id: %1017
- bb107: // Preds: bb45 bb43
- %1018 = alloc_stack $Optional<UILabel>, loc "AddClassesController.swift":87:13, scope 91 // users: %1043, %1030, %1022, %1021
- %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
- %1020 = apply %1019(%1) : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UILabel>, loc "AddClassesController.swift":87:13, scope 91 // user: %1021
- store %1020 to [init] %1018 : $*Optional<UILabel>, loc "AddClassesController.swift":87:13, scope 91 // id: %1021
- switch_enum_addr %1018 : $*Optional<UILabel>, case #Optional.none!enumelt: bb108, default bb109, loc "AddClassesController.swift":87:13, scope 91 // id: %1022
- bb108: // Preds: bb107
- %1023 = string_literal utf8 "AddClassesController.swift", loc "AddClassesController.swift":87:13, scope 91 // user: %1028
- %1024 = integer_literal $Builtin.Word, 26, loc "AddClassesController.swift":87:13, scope 91 // user: %1028
- %1025 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":87:13, scope 91 // user: %1028
- %1026 = integer_literal $Builtin.Word, 87, loc "AddClassesController.swift":87:13, scope 91 // user: %1028
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %1028 = apply %1027(%1023, %1024, %1025, %1026) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":87:13, scope 91
- unreachable , loc "AddClassesController.swift":87:13, scope 91 // id: %1029
- bb109: // Preds: bb107
- %1030 = unchecked_take_enum_data_addr %1018 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "AddClassesController.swift":87:13, scope 91 // users: %1042, %1031
- %1031 = load [copy] %1030 : $*UILabel, loc "AddClassesController.swift":87:13, scope 91 // users: %1041, %1032
- %1032 = upcast %1031 : $UILabel to $UIView, loc "AddClassesController.swift":87:13, scope 91 // users: %1040, %1037
- // function_ref Bool.init(_builtinBooleanLiteral : Builtin.Int1) -> Bool
- %1033 = function_ref @_TFSbCfT22_builtinBooleanLiteralBi1__Sb : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":87:37, scope 91 // user: %1036
- %1034 = metatype $@thin Bool.Type, loc "AddClassesController.swift":87:37, scope 91 // user: %1036
- %1035 = integer_literal $Builtin.Int1, 0, loc "AddClassesController.swift":87:37, scope 91 // user: %1036
- %1036 = apply %1033(%1035, %1034) : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":87:37, scope 91 // user: %1039
- %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
- // function_ref _convertBoolToObjCBool(Bool) -> ObjCBool
- %1038 = function_ref @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool, loc "AddClassesController.swift":87:35, scope 91 // user: %1039
- %1039 = apply %1038(%1036) : $@convention(thin) (Bool) -> ObjCBool, loc "AddClassesController.swift":87:35, scope 91 // user: %1040
- %1040 = apply %1037(%1039, %1032) : $@convention(objc_method) (ObjCBool, UIView) -> (), loc "AddClassesController.swift":87:35, scope 91
- destroy_value %1031 : $UILabel, loc "AddClassesController.swift":87:37, scope 91 // id: %1041
- destroy_addr %1030 : $*UILabel, loc "AddClassesController.swift":87:37, scope 91 // id: %1042
- dealloc_stack %1018 : $*Optional<UILabel>, loc "AddClassesController.swift":87:37, scope 91 // id: %1043
- // function_ref print([Any], separator : String, terminator : String) -> ()
- %1044 = function_ref @_TFs5printFTGSaP__9separatorSS10terminatorSS_T_ : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> (), loc "AddClassesController.swift":88:13, scope 91 // user: %1063
- %1045 = integer_literal $Builtin.Word, 1, loc "AddClassesController.swift":88:19, scope 91 // user: %1047
- // function_ref _allocateUninitializedArray<A> (Builtin.Word) -> ([A], Builtin.RawPointer)
- %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
- %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
- %1048 = tuple_extract %1047 : $(Array<Any>, Builtin.RawPointer), 0, loc "AddClassesController.swift":88:19, scope 91 // user: %1063
- %1049 = tuple_extract %1047 : $(Array<Any>, Builtin.RawPointer), 1, loc "AddClassesController.swift":88:19, scope 91 // user: %1050
- %1050 = pointer_to_address %1049 : $Builtin.RawPointer to [strict] $*Any, loc "AddClassesController.swift":88:19, scope 91 // user: %1051
- %1051 = init_existential_addr %1050 : $*Any, $String, loc "AddClassesController.swift":88:19, scope 91 // user: %1058
- %1052 = string_literal utf8 "No current grade specified.", loc "AddClassesController.swift":88:19, scope 91 // user: %1057
- %1053 = integer_literal $Builtin.Word, 27, loc "AddClassesController.swift":88:19, scope 91 // user: %1057
- %1054 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":88:19, scope 91 // user: %1057
- %1055 = metatype $@thin String.Type, loc "AddClassesController.swift":88:19, scope 91 // user: %1057
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- store %1057 to [init] %1051 : $*String, loc "AddClassesController.swift":88:19, scope 91 // id: %1058
- // function_ref (print([Any], separator : String, terminator : String) -> ()).(default argument 1)
- %1059 = function_ref @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A0_ : $@convention(thin) () -> @owned String, loc "AddClassesController.swift":88:19, scope 91 // user: %1060
- %1060 = apply %1059() : $@convention(thin) () -> @owned String, loc "AddClassesController.swift":88:19, scope 91 // user: %1063
- // function_ref (print([Any], separator : String, terminator : String) -> ()).(default argument 2)
- %1061 = function_ref @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A1_ : $@convention(thin) () -> @owned String, loc "AddClassesController.swift":88:19, scope 91 // user: %1062
- %1062 = apply %1061() : $@convention(thin) () -> @owned String, loc "AddClassesController.swift":88:19, scope 91 // user: %1063
- %1063 = apply %1044(%1048, %1060, %1062) : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> (), loc "AddClassesController.swift":88:48, scope 91
- destroy_value %54 : ${ var Double }, loc "AddClassesController.swift":142:5, scope 91 // id: %1064
- destroy_value %39 : $String, loc "AddClassesController.swift":142:5, scope 91 // id: %1065
- br bb113, loc "AddClassesController.swift":89:13, scope 91 // id: %1066
- bb110: // Preds: bb8 bb6
- %1067 = alloc_stack $Optional<UILabel>, loc "AddClassesController.swift":54:13, scope 92 // users: %1092, %1079, %1071, %1070
- %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
- %1069 = apply %1068(%1) : $@convention(method) (@guaranteed AddClassesController) -> @owned Optional<UILabel>, loc "AddClassesController.swift":54:13, scope 92 // user: %1070
- store %1069 to [init] %1067 : $*Optional<UILabel>, loc "AddClassesController.swift":54:13, scope 92 // id: %1070
- switch_enum_addr %1067 : $*Optional<UILabel>, case #Optional.none!enumelt: bb111, default bb112, loc "AddClassesController.swift":54:13, scope 92 // id: %1071
- bb111: // Preds: bb110
- %1072 = string_literal utf8 "AddClassesController.swift", loc "AddClassesController.swift":54:13, scope 92 // user: %1077
- %1073 = integer_literal $Builtin.Word, 26, loc "AddClassesController.swift":54:13, scope 92 // user: %1077
- %1074 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":54:13, scope 92 // user: %1077
- %1075 = integer_literal $Builtin.Word, 54, loc "AddClassesController.swift":54:13, scope 92 // user: %1077
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %1077 = apply %1076(%1072, %1073, %1074, %1075) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":54:13, scope 92
- unreachable , loc "AddClassesController.swift":54:13, scope 92 // id: %1078
- bb112: // Preds: bb110
- %1079 = unchecked_take_enum_data_addr %1067 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "AddClassesController.swift":54:13, scope 92 // users: %1091, %1080
- %1080 = load [copy] %1079 : $*UILabel, loc "AddClassesController.swift":54:13, scope 92 // users: %1090, %1081
- %1081 = upcast %1080 : $UILabel to $UIView, loc "AddClassesController.swift":54:13, scope 92 // users: %1089, %1086
- // function_ref Bool.init(_builtinBooleanLiteral : Builtin.Int1) -> Bool
- %1082 = function_ref @_TFSbCfT22_builtinBooleanLiteralBi1__Sb : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":54:37, scope 92 // user: %1085
- %1083 = metatype $@thin Bool.Type, loc "AddClassesController.swift":54:37, scope 92 // user: %1085
- %1084 = integer_literal $Builtin.Int1, 0, loc "AddClassesController.swift":54:37, scope 92 // user: %1085
- %1085 = apply %1082(%1084, %1083) : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":54:37, scope 92 // user: %1088
- %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
- // function_ref _convertBoolToObjCBool(Bool) -> ObjCBool
- %1087 = function_ref @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool, loc "AddClassesController.swift":54:35, scope 92 // user: %1088
- %1088 = apply %1087(%1085) : $@convention(thin) (Bool) -> ObjCBool, loc "AddClassesController.swift":54:35, scope 92 // user: %1089
- %1089 = apply %1086(%1088, %1081) : $@convention(objc_method) (ObjCBool, UIView) -> (), loc "AddClassesController.swift":54:35, scope 92
- destroy_value %1080 : $UILabel, loc "AddClassesController.swift":54:37, scope 92 // id: %1090
- destroy_addr %1079 : $*UILabel, loc "AddClassesController.swift":54:37, scope 92 // id: %1091
- dealloc_stack %1067 : $*Optional<UILabel>, loc "AddClassesController.swift":54:37, scope 92 // id: %1092
- // function_ref print([Any], separator : String, terminator : String) -> ()
- %1093 = function_ref @_TFs5printFTGSaP__9separatorSS10terminatorSS_T_ : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> (), loc "AddClassesController.swift":55:13, scope 92 // user: %1112
- %1094 = integer_literal $Builtin.Word, 1, loc "AddClassesController.swift":55:19, scope 92 // user: %1096
- // function_ref _allocateUninitializedArray<A> (Builtin.Word) -> ([A], Builtin.RawPointer)
- %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
- %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
- %1097 = tuple_extract %1096 : $(Array<Any>, Builtin.RawPointer), 0, loc "AddClassesController.swift":55:19, scope 92 // user: %1112
- %1098 = tuple_extract %1096 : $(Array<Any>, Builtin.RawPointer), 1, loc "AddClassesController.swift":55:19, scope 92 // user: %1099
- %1099 = pointer_to_address %1098 : $Builtin.RawPointer to [strict] $*Any, loc "AddClassesController.swift":55:19, scope 92 // user: %1100
- %1100 = init_existential_addr %1099 : $*Any, $String, loc "AddClassesController.swift":55:19, scope 92 // user: %1107
- %1101 = string_literal utf8 "No class name specified.", loc "AddClassesController.swift":55:19, scope 92 // user: %1106
- %1102 = integer_literal $Builtin.Word, 24, loc "AddClassesController.swift":55:19, scope 92 // user: %1106
- %1103 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":55:19, scope 92 // user: %1106
- %1104 = metatype $@thin String.Type, loc "AddClassesController.swift":55:19, scope 92 // user: %1106
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- store %1106 to [init] %1100 : $*String, loc "AddClassesController.swift":55:19, scope 92 // id: %1107
- // function_ref (print([Any], separator : String, terminator : String) -> ()).(default argument 1)
- %1108 = function_ref @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A0_ : $@convention(thin) () -> @owned String, loc "AddClassesController.swift":55:19, scope 92 // user: %1109
- %1109 = apply %1108() : $@convention(thin) () -> @owned String, loc "AddClassesController.swift":55:19, scope 92 // user: %1112
- // function_ref (print([Any], separator : String, terminator : String) -> ()).(default argument 2)
- %1110 = function_ref @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A1_ : $@convention(thin) () -> @owned String, loc "AddClassesController.swift":55:19, scope 92 // user: %1111
- %1111 = apply %1110() : $@convention(thin) () -> @owned String, loc "AddClassesController.swift":55:19, scope 92 // user: %1112
- %1112 = apply %1093(%1097, %1109, %1111) : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> (), loc "AddClassesController.swift":55:45, scope 92
- br bb113, loc "AddClassesController.swift":56:13, scope 92 // id: %1113
- bb113: // Preds: bb103 bb68 bb71 bb106 bb109 bb33 bb36 bb112
- destroy_addr %0 : $*Any, loc "AddClassesController.swift":142:5, scope 71 // id: %1114
- %1115 = tuple (), loc "AddClassesController.swift":142:5, scope 71 // user: %1116
- return %1115 : $(), loc "AddClassesController.swift":142:5, scope 71 // id: %1116
- } // end sil function '_TFC3gpa20AddClassesController11addNewClassfP_T_'
- // print([Any], separator : String, terminator : String) -> ()
- sil [noinline] [_semantics "stdlib_binary_only"] @_TFs5printFTGSaP__9separatorSS10terminatorSS_T_ : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> ()
- // _allocateUninitializedArray<A> (Builtin.Word) -> ([A], Builtin.RawPointer)
- sil [fragile] [always_inline] @_TFs27_allocateUninitializedArrayurFBwTGSax_Bp_ : $@convention(thin) <τ_0_0> (Builtin.Word) -> (@owned Array<τ_0_0>, Builtin.RawPointer)
- // String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- sil [readonly] [_semantics "string.makeUTF8"] @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String
- // (print([Any], separator : String, terminator : String) -> ()).(default argument 1)
- sil [noinline] [_semantics "stdlib_binary_only"] @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A0_ : $@convention(thin) () -> @owned String
- // (print([Any], separator : String, terminator : String) -> ()).(default argument 2)
- sil [noinline] [_semantics "stdlib_binary_only"] @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A1_ : $@convention(thin) () -> @owned String
- // static String._unconditionallyBridgeFromObjectiveC(NSString?) -> String
- sil @_TZFE10FoundationSS36_unconditionallyBridgeFromObjectiveCfGSqCSo8NSString_SS : $@convention(method) (@owned Optional<NSString>, @thin String.Type) -> @owned String
- // Bool._getBuiltinLogicValue() -> Builtin.Int1
- sil [transparent] [fragile] @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1
- // static Bool.! prefix(Bool) -> Bool
- sil [transparent] [fragile] @_TZFSbop1nfSbSb : $@convention(method) (Bool, @thin Bool.Type) -> Bool
- // String.isEmpty.getter
- sil @_TFSSg7isEmptySb : $@convention(method) (@guaranteed String) -> Bool
- // Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
- sil [transparent] [fragile] @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double
- // ~= infix<A where ...> (A, A) -> Bool
- sil [transparent] [fragile] @_TFsoi2teuRxs9EquatablerFTxx_Sb : $@convention(thin) <τ_0_0 where τ_0_0 : Equatable> (@in τ_0_0, @in τ_0_0) -> Bool
- // Int.init(_builtinIntegerLiteral : Builtin.Int2048) -> Int
- sil [transparent] [fragile] @_TFSiCfT22_builtinIntegerLiteralBi2048__Si : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int
- // Double.init(_builtinFloatLiteral : Builtin.Float64) -> Double
- sil [transparent] [fragile] @_TFSdCfT20_builtinFloatLiteralBf64__Sd : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double
- // Double.init(String) -> Double?
- sil @_TFSdCfSSGSqSd_ : $@convention(method) (@owned String, @thin Double.Type) -> Optional<Double>
- // Int.init(String, radix : Int) -> Int?
- sil @_TFSiCfTSS5radixSi_GSqSi_ : $@convention(method) (@owned String, Int, @thin Int.Type) -> Optional<Int>
- // Int.(init(String, radix : Int) -> Int?).(default argument 1)
- sil @_TIFSicFTSS5radixSi_GSqSi_A0_ : $@convention(thin) () -> Int
- // Array.append(A) -> ()
- sil @_TFSa6appendfxT_ : $@convention(method) <τ_0_0> (@in τ_0_0, @inout Array<τ_0_0>) -> ()
- // Information.classesAndGrades.unsafeMutableAddressor
- sil hidden_external [global_init] @_TFC3gpa11Informationau16classesAndGradesGSaS0__ : $@convention(thin) () -> Builtin.RawPointer
- // Information.__allocating_init(String, grade : Int, multiplier : Double, credits : Double) -> Information
- sil hidden_external @_TFC3gpa11InformationCfTSS5gradeSi10multiplierSd7creditsSd_S0_ : $@convention(method) (@owned String, Int, Double, Double, @thick Information.Type) -> @owned Information
- // Information.keyValueStore.unsafeMutableAddressor
- sil hidden_external [global_init] @_TFC3gpa11Informationau13keyValueStoreCSo25NSUbiquitousKeyValueStore : $@convention(thin) () -> Builtin.RawPointer
- // Array._bridgeToObjectiveC() -> NSArray
- sil [_semantics "convertToObjectiveC"] @_TFE10FoundationSa19_bridgeToObjectiveCfT_CSo7NSArray : $@convention(method) <τ_0_0> (@guaranteed Array<τ_0_0>) -> @owned NSArray
- // static Data._unconditionallyBridgeFromObjectiveC(NSData?) -> Data
- sil @_TZFV10Foundation4Data36_unconditionallyBridgeFromObjectiveCfGSqCSo6NSData_S0_ : $@convention(method) (@owned Optional<NSData>, @thin Data.Type) -> @owned Data
- // Data._bridgeToObjectiveC() -> NSData
- sil [_semantics "convertToObjectiveC"] @_TFV10Foundation4Data19_bridgeToObjectiveCfT_CSo6NSData : $@convention(method) (@guaranteed Data) -> @owned NSData
- // String._bridgeToObjectiveC() -> NSString
- sil [_semantics "convertToObjectiveC"] @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString
- // DispatchQueue.async(group : DispatchGroup?, qos : DispatchQoS, flags : DispatchWorkItemFlags, execute : @convention(block) () -> ()) -> ()
- sil @_TFE8DispatchCSo13DispatchQueue5asyncfT5groupGSqCSo13DispatchGroup_3qosVS_11DispatchQoS5flagsVS_21DispatchWorkItemFlags7executebT_T__T_ : $@convention(method) (@owned Optional<DispatchGroup>, DispatchQoS, DispatchWorkItemFlags, @owned @convention(block) () -> (), @guaranteed DispatchQueue) -> ()
- // static DispatchQueue.main.getter
- sil @_TZFE8DispatchCSo13DispatchQueueg4mainS0_ : $@convention(method) (@thick DispatchQueue.Type) -> @owned DispatchQueue
- sil_scope 93 { loc "AddClassesController.swift":136:34 parent @_TFFC3gpa20AddClassesController11addNewClassFP_T_U_FT_T_ : $@convention(thin) (@owned AddClassesController) -> () }
- sil_scope 94 { loc "AddClassesController.swift":141:9 parent 93 }
- // AddClassesController.(addNewClass(Any) -> ()).(closure #1)
- sil shared @_TFFC3gpa20AddClassesController11addNewClassFP_T_U_FT_T_ : $@convention(thin) (@owned AddClassesController) -> () {
- // %0 // users: %57, %49, %38, %2, %1
- bb0(%0 : $AddClassesController):
- debug_value %0 : $AddClassesController, let, name "self", argno 1, loc "AddClassesController.swift":51:20, scope 93 // id: %1
- %2 = copy_value %0 : $AddClassesController, loc "AddClassesController.swift":137:13, scope 94 // users: %31, %3
- %3 = upcast %2 : $AddClassesController to $UIViewController, loc "AddClassesController.swift":137:13, scope 94 // users: %6, %5
- %4 = alloc_stack $Optional<UIView>, loc "AddClassesController.swift":137:18, scope 94 // users: %30, %16, %8, %7
- %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
- %6 = apply %5(%3) : $@convention(objc_method) (UIViewController) -> @autoreleased Optional<UIView>, loc "AddClassesController.swift":137:18, scope 94 // user: %7
- store %6 to [init] %4 : $*Optional<UIView>, loc "AddClassesController.swift":137:18, scope 94 // id: %7
- switch_enum_addr %4 : $*Optional<UIView>, case #Optional.none!enumelt: bb1, default bb2, loc "AddClassesController.swift":137:18, scope 94 // id: %8
- bb1: // Preds: bb0
- %9 = string_literal utf8 "AddClassesController.swift", loc "AddClassesController.swift":137:18, scope 94 // user: %14
- %10 = integer_literal $Builtin.Word, 26, loc "AddClassesController.swift":137:18, scope 94 // user: %14
- %11 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":137:18, scope 94 // user: %14
- %12 = integer_literal $Builtin.Word, 137, loc "AddClassesController.swift":137:18, scope 94 // user: %14
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %14 = apply %13(%9, %10, %11, %12) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":137:18, scope 94
- unreachable , loc "AddClassesController.swift":137:18, scope 94 // id: %15
- bb2: // Preds: bb0
- %16 = unchecked_take_enum_data_addr %4 : $*Optional<UIView>, #Optional.some!enumelt.1, loc "AddClassesController.swift":137:18, scope 94 // users: %29, %17
- %17 = load [copy] %16 : $*UIView, loc "AddClassesController.swift":137:18, scope 94 // users: %28, %25, %18
- %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
- // function_ref Bool.init(_builtinBooleanLiteral : Builtin.Int1) -> Bool
- %19 = function_ref @_TFSbCfT22_builtinBooleanLiteralBi1__Sb : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":137:34, scope 94 // user: %22
- %20 = metatype $@thin Bool.Type, loc "AddClassesController.swift":137:34, scope 94 // user: %22
- %21 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":137:34, scope 94 // user: %22
- %22 = apply %19(%21, %20) : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":137:34, scope 94 // user: %24
- // function_ref _convertBoolToObjCBool(Bool) -> ObjCBool
- %23 = function_ref @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool, loc "AddClassesController.swift":137:34, scope 94 // user: %24
- %24 = apply %23(%22) : $@convention(thin) (Bool) -> ObjCBool, loc "AddClassesController.swift":137:34, scope 94 // user: %25
- %25 = apply %18(%24, %17) : $@convention(objc_method) (ObjCBool, UIView) -> ObjCBool, loc "AddClassesController.swift":137:38, scope 94 // user: %27
- // function_ref _convertObjCBoolToBool(ObjCBool) -> Bool
- %26 = function_ref @_TF10ObjectiveC22_convertObjCBoolToBoolFVS_8ObjCBoolSb : $@convention(thin) (ObjCBool) -> Bool, loc "AddClassesController.swift":137:38, scope 94 // user: %27
- %27 = apply %26(%25) : $@convention(thin) (ObjCBool) -> Bool, loc "AddClassesController.swift":137:38, scope 94
- destroy_value %17 : $UIView, loc "AddClassesController.swift":137:38, scope 94 // id: %28
- destroy_addr %16 : $*UIView, loc "AddClassesController.swift":137:38, scope 94 // id: %29
- dealloc_stack %4 : $*Optional<UIView>, loc "AddClassesController.swift":137:38, scope 94 // id: %30
- destroy_value %2 : $AddClassesController, loc "AddClassesController.swift":137:38, scope 94 // id: %31
- // function_ref _usleep
- %32 = function_ref @_usleep : $@convention(c) (UInt32) -> Int32, loc "AddClassesController.swift":139:13, scope 94 // user: %37
- // function_ref UInt32.init(_builtinIntegerLiteral : Builtin.Int2048) -> UInt32
- %33 = function_ref @_TFVs6UInt32CfT22_builtinIntegerLiteralBi2048__S_ : $@convention(method) (Builtin.Int2048, @thin UInt32.Type) -> UInt32, loc "AddClassesController.swift":139:20, scope 94 // user: %36
- %34 = metatype $@thin UInt32.Type, loc "AddClassesController.swift":139:20, scope 94 // user: %36
- %35 = integer_literal $Builtin.Int2048, 10000, loc "AddClassesController.swift":139:20, scope 94 // user: %36
- %36 = apply %33(%35, %34) : $@convention(method) (Builtin.Int2048, @thin UInt32.Type) -> UInt32, loc "AddClassesController.swift":139:20, scope 94 // user: %37
- %37 = apply %32(%36) : $@convention(c) (UInt32) -> Int32, loc "AddClassesController.swift":139:25, scope 94
- %38 = copy_value %0 : $AddClassesController, loc "AddClassesController.swift":140:13, scope 94 // users: %56, %39
- %39 = upcast %38 : $AddClassesController to $UIViewController, loc "AddClassesController.swift":140:13, scope 94 // users: %52, %40
- %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
- %41 = string_literal utf8 "ExitAddClassSegue", loc "AddClassesController.swift":140:47, scope 94 // user: %46
- %42 = integer_literal $Builtin.Word, 17, loc "AddClassesController.swift":140:47, scope 94 // user: %46
- %43 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":140:47, scope 94 // user: %46
- %44 = metatype $@thin String.Type, loc "AddClassesController.swift":140:47, scope 94 // user: %46
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- // function_ref String._bridgeToObjectiveC() -> NSString
- %47 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "AddClassesController.swift":140:47, scope 94 // user: %48
- %48 = apply %47(%46) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "AddClassesController.swift":140:47, scope 94 // users: %54, %52
- %49 = copy_value %0 : $AddClassesController, loc "AddClassesController.swift":140:76, scope 94 // users: %53, %50
- %50 = init_existential_ref %49 : $AddClassesController : $AddClassesController, $AnyObject, loc "AddClassesController.swift":140:76, scope 94 // user: %51
- %51 = enum $Optional<AnyObject>, #Optional.some!enumelt.1, %50 : $AnyObject, loc "AddClassesController.swift":140:76, scope 94 // user: %52
- %52 = apply %40(%48, %51, %39) : $@convention(objc_method) (NSString, Optional<AnyObject>, UIViewController) -> (), loc "AddClassesController.swift":140:80, scope 94
- destroy_value %49 : $AddClassesController, loc "AddClassesController.swift":140:80, scope 94 // id: %53
- destroy_value %48 : $NSString, loc "AddClassesController.swift":140:80, scope 94 // id: %54
- destroy_value %46 : $String, loc "AddClassesController.swift":140:80, scope 94 // id: %55
- destroy_value %38 : $AddClassesController, loc "AddClassesController.swift":140:80, scope 94 // id: %56
- destroy_value %0 : $AddClassesController, loc "AddClassesController.swift":141:9, scope 94 // id: %57
- %58 = tuple (), loc "AddClassesController.swift":141:9, scope 94 // user: %59
- return %58 : $(), loc "AddClassesController.swift":141:9, scope 94 // id: %59
- } // end sil function '_TFFC3gpa20AddClassesController11addNewClassFP_T_U_FT_T_'
- // _convertObjCBoolToBool(ObjCBool) -> Bool
- sil @_TF10ObjectiveC22_convertObjCBoolToBoolFVS_8ObjCBoolSb : $@convention(thin) (ObjCBool) -> Bool
- // _usleep
- sil [clang usleep] @_usleep : $@convention(c) (UInt32) -> Int32
- // UInt32.init(_builtinIntegerLiteral : Builtin.Int2048) -> UInt32
- sil [transparent] [fragile] @_TFVs6UInt32CfT22_builtinIntegerLiteralBi2048__S_ : $@convention(method) (Builtin.Int2048, @thin UInt32.Type) -> UInt32
- sil_scope 95 { parent @_TTRXFo___XFdCb___ : $@convention(c) (@inout_aliasable @block_storage @callee_owned () -> ()) -> () }
- // thunk
- sil shared [transparent] [reabstraction_thunk] @_TTRXFo___XFdCb___ : $@convention(c) (@inout_aliasable @block_storage @callee_owned () -> ()) -> () {
- // %0 // user: %1
- bb0(%0 : $*@block_storage @callee_owned () -> ()):
- %1 = project_block_storage %0 : $*@block_storage @callee_owned () -> (), scope 95 // user: %2
- %2 = load [copy] %1 : $*@callee_owned () -> (), scope 95 // user: %3
- %3 = apply %2() : $@callee_owned () -> (), scope 95
- %4 = tuple (), scope 95 // user: %5
- return %4 : $(), scope 95 // id: %5
- } // end sil function '_TTRXFo___XFdCb___'
- // DispatchQueue.(async(group : DispatchGroup?, qos : DispatchQoS, flags : DispatchWorkItemFlags, execute : @convention(block) () -> ()) -> ()).(default argument 0)
- sil @_TIFE8DispatchCSo13DispatchQueue5asyncFT5groupGSqCSo13DispatchGroup_3qosVS_11DispatchQoS5flagsVS_21DispatchWorkItemFlags7executebT_T__T_A_ : $@convention(thin) () -> @owned Optional<DispatchGroup>
- // DispatchQueue.(async(group : DispatchGroup?, qos : DispatchQoS, flags : DispatchWorkItemFlags, execute : @convention(block) () -> ()) -> ()).(default argument 1)
- sil @_TIFE8DispatchCSo13DispatchQueue5asyncFT5groupGSqCSo13DispatchGroup_3qosVS_11DispatchQoS5flagsVS_21DispatchWorkItemFlags7executebT_T__T_A0_ : $@convention(thin) () -> DispatchQoS
- // DispatchQueue.(async(group : DispatchGroup?, qos : DispatchQoS, flags : DispatchWorkItemFlags, execute : @convention(block) () -> ()) -> ()).(default argument 2)
- sil @_TIFE8DispatchCSo13DispatchQueue5asyncFT5groupGSqCSo13DispatchGroup_3qosVS_11DispatchQoS5flagsVS_21DispatchWorkItemFlags7executebT_T__T_A1_ : $@convention(thin) () -> DispatchWorkItemFlags
- sil_scope 96 { loc "AddClassesController.swift":51:20 parent @_TToFC3gpa20AddClassesController11addNewClassfP_T_ : $@convention(objc_method) (AnyObject, AddClassesController) -> () }
- // @objc AddClassesController.addNewClass(Any) -> ()
- sil hidden [thunk] @_TToFC3gpa20AddClassesController11addNewClassfP_T_ : $@convention(objc_method) (AnyObject, AddClassesController) -> () {
- // %0 // user: %2
- // %1 // user: %3
- bb0(%0 : $AnyObject, %1 : $AddClassesController):
- %2 = copy_value %0 : $AnyObject, scope 96 // user: %4
- %3 = copy_value %1 : $AddClassesController, scope 96 // users: %11, %9
- %4 = unchecked_ref_cast %2 : $AnyObject to $Optional<AnyObject>, scope 96 // user: %7
- // function_ref _bridgeAnyObjectToAny(AnyObject?) -> Any
- %5 = function_ref @_TFs21_bridgeAnyObjectToAnyFGSqPs9AnyObject__P_ : $@convention(thin) (@owned Optional<AnyObject>) -> @out Any, scope 96 // user: %7
- %6 = alloc_stack $Any, scope 96 // users: %10, %9, %7
- %7 = apply %5(%6, %4) : $@convention(thin) (@owned Optional<AnyObject>) -> @out Any, scope 96
- // function_ref AddClassesController.addNewClass(Any) -> ()
- %8 = function_ref @_TFC3gpa20AddClassesController11addNewClassfP_T_ : $@convention(method) (@in Any, @guaranteed AddClassesController) -> (), scope 96 // user: %9
- %9 = apply %8(%6, %3) : $@convention(method) (@in Any, @guaranteed AddClassesController) -> (), scope 96 // user: %12
- dealloc_stack %6 : $*Any, scope 96 // id: %10
- destroy_value %3 : $AddClassesController, scope 96 // id: %11
- return %9 : $(), scope 96 // id: %12
- } // end sil function '_TToFC3gpa20AddClassesController11addNewClassfP_T_'
- // _bridgeAnyObjectToAny(AnyObject?) -> Any
- sil @_TFs21_bridgeAnyObjectToAnyFGSqPs9AnyObject__P_ : $@convention(thin) (@owned Optional<AnyObject>) -> @out Any
- sil_scope 97 { loc "AddClassesController.swift":144:19 parent @_TFC3gpa20AddClassesController12touchesBeganfTGVs3SetCSo7UITouch_4withGSqCSo7UIEvent__T_ : $@convention(method) (@owned Set<UITouch>, @owned Optional<UIEvent>, @guaranteed AddClassesController) -> () }
- sil_scope 98 { loc "AddClassesController.swift":146:5 parent 97 }
- // AddClassesController.touchesBegan(Set<UITouch>, with : UIEvent?) -> ()
- sil hidden @_TFC3gpa20AddClassesController12touchesBeganfTGVs3SetCSo7UITouch_4withGSqCSo7UIEvent__T_ : $@convention(method) (@owned Set<UITouch>, @owned Optional<UIEvent>, @guaranteed AddClassesController) -> () {
- // %0 // users: %37, %3
- // %1 // users: %36, %4
- // %2 // users: %6, %5
- bb0(%0 : $Set<UITouch>, %1 : $Optional<UIEvent>, %2 : $AddClassesController):
- debug_value %0 : $Set<UITouch>, let, name "touches", argno 1, loc "AddClassesController.swift":144:34, scope 97 // id: %3
- debug_value %1 : $Optional<UIEvent>, let, name "event", argno 2, loc "AddClassesController.swift":144:62, scope 97 // id: %4
- debug_value %2 : $AddClassesController, let, name "self", argno 3, loc "AddClassesController.swift":144:19, scope 97 // id: %5
- %6 = copy_value %2 : $AddClassesController, loc "AddClassesController.swift":145:9, scope 98 // users: %35, %7
- %7 = upcast %6 : $AddClassesController to $UIViewController, loc "AddClassesController.swift":145:9, scope 98 // users: %10, %9
- %8 = alloc_stack $Optional<UIView>, loc "AddClassesController.swift":145:14, scope 98 // users: %34, %20, %12, %11
- %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
- %10 = apply %9(%7) : $@convention(objc_method) (UIViewController) -> @autoreleased Optional<UIView>, loc "AddClassesController.swift":145:14, scope 98 // user: %11
- store %10 to [init] %8 : $*Optional<UIView>, loc "AddClassesController.swift":145:14, scope 98 // id: %11
- switch_enum_addr %8 : $*Optional<UIView>, case #Optional.none!enumelt: bb1, default bb2, loc "AddClassesController.swift":145:14, scope 98 // id: %12
- bb1: // Preds: bb0
- %13 = string_literal utf8 "AddClassesController.swift", loc "AddClassesController.swift":145:14, scope 98 // user: %18
- %14 = integer_literal $Builtin.Word, 26, loc "AddClassesController.swift":145:14, scope 98 // user: %18
- %15 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":145:14, scope 98 // user: %18
- %16 = integer_literal $Builtin.Word, 145, loc "AddClassesController.swift":145:14, scope 98 // user: %18
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %18 = apply %17(%13, %14, %15, %16) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "AddClassesController.swift":145:14, scope 98
- unreachable , loc "AddClassesController.swift":145:14, scope 98 // id: %19
- bb2: // Preds: bb0
- %20 = unchecked_take_enum_data_addr %8 : $*Optional<UIView>, #Optional.some!enumelt.1, loc "AddClassesController.swift":145:14, scope 98 // users: %33, %21
- %21 = load [copy] %20 : $*UIView, loc "AddClassesController.swift":145:14, scope 98 // users: %32, %29, %22
- %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
- // function_ref Bool.init(_builtinBooleanLiteral : Builtin.Int1) -> Bool
- %23 = function_ref @_TFSbCfT22_builtinBooleanLiteralBi1__Sb : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":145:30, scope 98 // user: %26
- %24 = metatype $@thin Bool.Type, loc "AddClassesController.swift":145:30, scope 98 // user: %26
- %25 = integer_literal $Builtin.Int1, -1, loc "AddClassesController.swift":145:30, scope 98 // user: %26
- %26 = apply %23(%25, %24) : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "AddClassesController.swift":145:30, scope 98 // user: %28
- // function_ref _convertBoolToObjCBool(Bool) -> ObjCBool
- %27 = function_ref @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool, loc "AddClassesController.swift":145:30, scope 98 // user: %28
- %28 = apply %27(%26) : $@convention(thin) (Bool) -> ObjCBool, loc "AddClassesController.swift":145:30, scope 98 // user: %29
- %29 = apply %22(%28, %21) : $@convention(objc_method) (ObjCBool, UIView) -> ObjCBool, loc "AddClassesController.swift":145:34, scope 98 // user: %31
- // function_ref _convertObjCBoolToBool(ObjCBool) -> Bool
- %30 = function_ref @_TF10ObjectiveC22_convertObjCBoolToBoolFVS_8ObjCBoolSb : $@convention(thin) (ObjCBool) -> Bool, loc "AddClassesController.swift":145:34, scope 98 // user: %31
- %31 = apply %30(%29) : $@convention(thin) (ObjCBool) -> Bool, loc "AddClassesController.swift":145:34, scope 98
- destroy_value %21 : $UIView, loc "AddClassesController.swift":145:34, scope 98 // id: %32
- destroy_addr %20 : $*UIView, loc "AddClassesController.swift":145:34, scope 98 // id: %33
- dealloc_stack %8 : $*Optional<UIView>, loc "AddClassesController.swift":145:34, scope 98 // id: %34
- destroy_value %6 : $AddClassesController, loc "AddClassesController.swift":145:34, scope 98 // id: %35
- destroy_value %1 : $Optional<UIEvent>, loc "AddClassesController.swift":146:5, scope 98 // id: %36
- destroy_value %0 : $Set<UITouch>, loc "AddClassesController.swift":146:5, scope 98 // id: %37
- %38 = tuple (), loc "AddClassesController.swift":146:5, scope 98 // user: %39
- return %38 : $(), loc "AddClassesController.swift":146:5, scope 98 // id: %39
- } // end sil function '_TFC3gpa20AddClassesController12touchesBeganfTGVs3SetCSo7UITouch_4withGSqCSo7UIEvent__T_'
- sil_scope 99 { loc "AddClassesController.swift":144:19 parent @_TToFC3gpa20AddClassesController12touchesBeganfTGVs3SetCSo7UITouch_4withGSqCSo7UIEvent__T_ : $@convention(objc_method) (NSSet, Optional<UIEvent>, AddClassesController) -> () }
- // @objc AddClassesController.touchesBegan(Set<UITouch>, with : UIEvent?) -> ()
- sil hidden [thunk] @_TToFC3gpa20AddClassesController12touchesBeganfTGVs3SetCSo7UITouch_4withGSqCSo7UIEvent__T_ : $@convention(objc_method) (NSSet, Optional<UIEvent>, AddClassesController) -> () {
- // %0 // user: %3
- // %1 // user: %4
- // %2 // user: %5
- bb0(%0 : $NSSet, %1 : $Optional<UIEvent>, %2 : $AddClassesController):
- %3 = copy_value %0 : $NSSet, scope 99 // user: %7
- %4 = copy_value %1 : $Optional<UIEvent>, scope 99 // user: %11
- %5 = copy_value %2 : $AddClassesController, scope 99 // users: %12, %11
- // function_ref static Set._unconditionallyBridgeFromObjectiveC(NSSet?) -> Set<A>
- %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
- %7 = enum $Optional<NSSet>, #Optional.some!enumelt.1, %3 : $NSSet, scope 99 // user: %9
- %8 = metatype $@thin Set<UITouch>.Type, scope 99 // user: %9
- %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
- // function_ref AddClassesController.touchesBegan(Set<UITouch>, with : UIEvent?) -> ()
- %10 = function_ref @_TFC3gpa20AddClassesController12touchesBeganfTGVs3SetCSo7UITouch_4withGSqCSo7UIEvent__T_ : $@convention(method) (@owned Set<UITouch>, @owned Optional<UIEvent>, @guaranteed AddClassesController) -> (), scope 99 // user: %11
- %11 = apply %10(%9, %4, %5) : $@convention(method) (@owned Set<UITouch>, @owned Optional<UIEvent>, @guaranteed AddClassesController) -> (), scope 99 // user: %13
- destroy_value %5 : $AddClassesController, scope 99 // id: %12
- return %11 : $(), scope 99 // id: %13
- } // end sil function '_TToFC3gpa20AddClassesController12touchesBeganfTGVs3SetCSo7UITouch_4withGSqCSo7UIEvent__T_'
- // static Set._unconditionallyBridgeFromObjectiveC(NSSet?) -> Set<A>
- 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>
- sil_scope 100 { loc "AddClassesController.swift":25:7 parent @_TFC3gpa20AddClassesControllerD : $@convention(method) (@owned AddClassesController) -> () }
- sil_scope 101 { loc "AddClassesController.swift":25:7 parent 100 }
- // AddClassesController.__deallocating_deinit
- sil hidden @_TFC3gpa20AddClassesControllerD : $@convention(method) (@owned AddClassesController) -> () {
- // %0 // users: %3, %2, %1
- bb0(%0 : $AddClassesController):
- debug_value %0 : $AddClassesController, let, name "self", argno 1, loc "AddClassesController.swift":25:7, scope 100 // id: %1
- %2 = super_method %0 : $AddClassesController, #UIViewController.deinit!deallocator.foreign : (UIViewController) -> () -> () , $@convention(objc_method) (UIViewController) -> (), scope 101 // user: %4
- %3 = upcast %0 : $AddClassesController to $UIViewController, scope 101 // user: %4
- %4 = apply %2(%3) : $@convention(objc_method) (UIViewController) -> (), scope 101
- %5 = tuple (), scope 101 // user: %6
- return %5 : $(), scope 101 // id: %6
- } // end sil function '_TFC3gpa20AddClassesControllerD'
- sil_scope 102 { loc "AddClassesController.swift":25:7 parent @_TToFC3gpa20AddClassesControllerE : $@convention(objc_method) (AddClassesController) -> () }
- // @objc AddClassesController.__ivar_destroyer
- sil hidden @_TToFC3gpa20AddClassesControllerE : $@convention(objc_method) (AddClassesController) -> () {
- // %0 // users: %18, %16, %14, %12, %10, %8, %6, %4, %2, %1
- bb0(%0 : $AddClassesController):
- debug_value %0 : $AddClassesController, let, name "self", argno 1, loc "AddClassesController.swift":25:7, scope 102 // id: %1
- %2 = ref_element_addr %0 : $AddClassesController, #AddClassesController.classNameField, scope 102 // user: %3
- destroy_addr %2 : $*Optional<UITextField>, scope 102 // id: %3
- %4 = ref_element_addr %0 : $AddClassesController, #AddClassesController.multiplierField, scope 102 // user: %5
- destroy_addr %4 : $*Optional<UITextField>, scope 102 // id: %5
- %6 = ref_element_addr %0 : $AddClassesController, #AddClassesController.currentGradeField, scope 102 // user: %7
- destroy_addr %6 : $*Optional<UITextField>, scope 102 // id: %7
- %8 = ref_element_addr %0 : $AddClassesController, #AddClassesController.creditsField, scope 102 // user: %9
- destroy_addr %8 : $*Optional<UITextField>, scope 102 // id: %9
- %10 = ref_element_addr %0 : $AddClassesController, #AddClassesController.multiplierBar, scope 102 // user: %11
- destroy_addr %10 : $*Optional<UISegmentedControl>, scope 102 // id: %11
- %12 = ref_element_addr %0 : $AddClassesController, #AddClassesController.creditsBar, scope 102 // user: %13
- destroy_addr %12 : $*Optional<UISegmentedControl>, scope 102 // id: %13
- %14 = ref_element_addr %0 : $AddClassesController, #AddClassesController.warningLabel, scope 102 // user: %15
- destroy_addr %14 : $*Optional<UILabel>, scope 102 // id: %15
- %16 = ref_element_addr %0 : $AddClassesController, #AddClassesController.addClassButton, scope 102 // user: %17
- destroy_addr %16 : $*Optional<UIButton>, scope 102 // id: %17
- %18 = ref_element_addr %0 : $AddClassesController, #AddClassesController.cancelButton, scope 102 // user: %19
- destroy_addr %18 : $*Optional<UIBarButtonItem>, scope 102 // id: %19
- %20 = tuple (), scope 102 // user: %21
- return %20 : $(), scope 102 // id: %21
- } // end sil function '_TToFC3gpa20AddClassesControllerE'
- sil_scope 103 { loc "AddClassesController.swift":27:19 parent @_TFC3gpa20AddClassesControllerm14classNameFieldGSQCSo11UITextField_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed AddClassesController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) }
- // AddClassesController.classNameField.materializeForSet
- sil hidden @_TFC3gpa20AddClassesControllerm14classNameFieldGSQCSo11UITextField_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed AddClassesController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) {
- // %2 // user: %3
- bb0(%0 : $Builtin.RawPointer, %1 : $*Builtin.UnsafeValueBuffer, %2 : $AddClassesController):
- %3 = ref_element_addr %2 : $AddClassesController, #AddClassesController.classNameField, scope 103 // user: %4
- %4 = address_to_pointer %3 : $*Optional<UITextField> to $Builtin.RawPointer, scope 103 // user: %6
- %5 = enum $Optional<Builtin.RawPointer>, #Optional.none!enumelt, scope 103 // user: %6
- %6 = tuple (%4 : $Builtin.RawPointer, %5 : $Optional<Builtin.RawPointer>), scope 103 // user: %7
- return %6 : $(Builtin.RawPointer, Optional<Builtin.RawPointer>), scope 103 // id: %7
- } // end sil function '_TFC3gpa20AddClassesControllerm14classNameFieldGSQCSo11UITextField_'
- sil_scope 104 { loc "AddClassesController.swift":28:19 parent @_TFC3gpa20AddClassesControllerm15multiplierFieldGSQCSo11UITextField_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed AddClassesController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) }
- // AddClassesController.multiplierField.materializeForSet
- sil hidden @_TFC3gpa20AddClassesControllerm15multiplierFieldGSQCSo11UITextField_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed AddClassesController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) {
- // %2 // user: %3
- bb0(%0 : $Builtin.RawPointer, %1 : $*Builtin.UnsafeValueBuffer, %2 : $AddClassesController):
- %3 = ref_element_addr %2 : $AddClassesController, #AddClassesController.multiplierField, scope 104 // user: %4
- %4 = address_to_pointer %3 : $*Optional<UITextField> to $Builtin.RawPointer, scope 104 // user: %6
- %5 = enum $Optional<Builtin.RawPointer>, #Optional.none!enumelt, scope 104 // user: %6
- %6 = tuple (%4 : $Builtin.RawPointer, %5 : $Optional<Builtin.RawPointer>), scope 104 // user: %7
- return %6 : $(Builtin.RawPointer, Optional<Builtin.RawPointer>), scope 104 // id: %7
- } // end sil function '_TFC3gpa20AddClassesControllerm15multiplierFieldGSQCSo11UITextField_'
- sil_scope 105 { loc "AddClassesController.swift":29:19 parent @_TFC3gpa20AddClassesControllerm17currentGradeFieldGSQCSo11UITextField_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed AddClassesController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) }
- // AddClassesController.currentGradeField.materializeForSet
- sil hidden @_TFC3gpa20AddClassesControllerm17currentGradeFieldGSQCSo11UITextField_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed AddClassesController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) {
- // %2 // user: %3
- bb0(%0 : $Builtin.RawPointer, %1 : $*Builtin.UnsafeValueBuffer, %2 : $AddClassesController):
- %3 = ref_element_addr %2 : $AddClassesController, #AddClassesController.currentGradeField, scope 105 // user: %4
- %4 = address_to_pointer %3 : $*Optional<UITextField> to $Builtin.RawPointer, scope 105 // user: %6
- %5 = enum $Optional<Builtin.RawPointer>, #Optional.none!enumelt, scope 105 // user: %6
- %6 = tuple (%4 : $Builtin.RawPointer, %5 : $Optional<Builtin.RawPointer>), scope 105 // user: %7
- return %6 : $(Builtin.RawPointer, Optional<Builtin.RawPointer>), scope 105 // id: %7
- } // end sil function '_TFC3gpa20AddClassesControllerm17currentGradeFieldGSQCSo11UITextField_'
- sil_scope 106 { loc "AddClassesController.swift":30:19 parent @_TFC3gpa20AddClassesControllerm12creditsFieldGSQCSo11UITextField_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed AddClassesController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) }
- // AddClassesController.creditsField.materializeForSet
- sil hidden @_TFC3gpa20AddClassesControllerm12creditsFieldGSQCSo11UITextField_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed AddClassesController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) {
- // %2 // user: %3
- bb0(%0 : $Builtin.RawPointer, %1 : $*Builtin.UnsafeValueBuffer, %2 : $AddClassesController):
- %3 = ref_element_addr %2 : $AddClassesController, #AddClassesController.creditsField, scope 106 // user: %4
- %4 = address_to_pointer %3 : $*Optional<UITextField> to $Builtin.RawPointer, scope 106 // user: %6
- %5 = enum $Optional<Builtin.RawPointer>, #Optional.none!enumelt, scope 106 // user: %6
- %6 = tuple (%4 : $Builtin.RawPointer, %5 : $Optional<Builtin.RawPointer>), scope 106 // user: %7
- return %6 : $(Builtin.RawPointer, Optional<Builtin.RawPointer>), scope 106 // id: %7
- } // end sil function '_TFC3gpa20AddClassesControllerm12creditsFieldGSQCSo11UITextField_'
- sil_scope 107 { loc "AddClassesController.swift":32:19 parent @_TFC3gpa20AddClassesControllerm13multiplierBarGSQCSo18UISegmentedControl_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed AddClassesController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) }
- // AddClassesController.multiplierBar.materializeForSet
- sil hidden @_TFC3gpa20AddClassesControllerm13multiplierBarGSQCSo18UISegmentedControl_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed AddClassesController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) {
- // %2 // user: %3
- bb0(%0 : $Builtin.RawPointer, %1 : $*Builtin.UnsafeValueBuffer, %2 : $AddClassesController):
- %3 = ref_element_addr %2 : $AddClassesController, #AddClassesController.multiplierBar, scope 107 // user: %4
- %4 = address_to_pointer %3 : $*Optional<UISegmentedControl> to $Builtin.RawPointer, scope 107 // user: %6
- %5 = enum $Optional<Builtin.RawPointer>, #Optional.none!enumelt, scope 107 // user: %6
- %6 = tuple (%4 : $Builtin.RawPointer, %5 : $Optional<Builtin.RawPointer>), scope 107 // user: %7
- return %6 : $(Builtin.RawPointer, Optional<Builtin.RawPointer>), scope 107 // id: %7
- } // end sil function '_TFC3gpa20AddClassesControllerm13multiplierBarGSQCSo18UISegmentedControl_'
- sil_scope 108 { loc "AddClassesController.swift":33:19 parent @_TFC3gpa20AddClassesControllerm10creditsBarGSQCSo18UISegmentedControl_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed AddClassesController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) }
- // AddClassesController.creditsBar.materializeForSet
- sil hidden @_TFC3gpa20AddClassesControllerm10creditsBarGSQCSo18UISegmentedControl_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed AddClassesController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) {
- // %2 // user: %3
- bb0(%0 : $Builtin.RawPointer, %1 : $*Builtin.UnsafeValueBuffer, %2 : $AddClassesController):
- %3 = ref_element_addr %2 : $AddClassesController, #AddClassesController.creditsBar, scope 108 // user: %4
- %4 = address_to_pointer %3 : $*Optional<UISegmentedControl> to $Builtin.RawPointer, scope 108 // user: %6
- %5 = enum $Optional<Builtin.RawPointer>, #Optional.none!enumelt, scope 108 // user: %6
- %6 = tuple (%4 : $Builtin.RawPointer, %5 : $Optional<Builtin.RawPointer>), scope 108 // user: %7
- return %6 : $(Builtin.RawPointer, Optional<Builtin.RawPointer>), scope 108 // id: %7
- } // end sil function '_TFC3gpa20AddClassesControllerm10creditsBarGSQCSo18UISegmentedControl_'
- sil_scope 109 { loc "AddClassesController.swift":35:19 parent @_TFC3gpa20AddClassesControllerm12warningLabelGSQCSo7UILabel_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed AddClassesController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) }
- // AddClassesController.warningLabel.materializeForSet
- sil hidden @_TFC3gpa20AddClassesControllerm12warningLabelGSQCSo7UILabel_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed AddClassesController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) {
- // %2 // user: %3
- bb0(%0 : $Builtin.RawPointer, %1 : $*Builtin.UnsafeValueBuffer, %2 : $AddClassesController):
- %3 = ref_element_addr %2 : $AddClassesController, #AddClassesController.warningLabel, scope 109 // user: %4
- %4 = address_to_pointer %3 : $*Optional<UILabel> to $Builtin.RawPointer, scope 109 // user: %6
- %5 = enum $Optional<Builtin.RawPointer>, #Optional.none!enumelt, scope 109 // user: %6
- %6 = tuple (%4 : $Builtin.RawPointer, %5 : $Optional<Builtin.RawPointer>), scope 109 // user: %7
- return %6 : $(Builtin.RawPointer, Optional<Builtin.RawPointer>), scope 109 // id: %7
- } // end sil function '_TFC3gpa20AddClassesControllerm12warningLabelGSQCSo7UILabel_'
- sil_scope 110 { loc "AddClassesController.swift":37:19 parent @_TFC3gpa20AddClassesControllerm14addClassButtonGSQCSo8UIButton_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed AddClassesController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) }
- // AddClassesController.addClassButton.materializeForSet
- sil hidden @_TFC3gpa20AddClassesControllerm14addClassButtonGSQCSo8UIButton_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed AddClassesController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) {
- // %2 // user: %3
- bb0(%0 : $Builtin.RawPointer, %1 : $*Builtin.UnsafeValueBuffer, %2 : $AddClassesController):
- %3 = ref_element_addr %2 : $AddClassesController, #AddClassesController.addClassButton, scope 110 // user: %4
- %4 = address_to_pointer %3 : $*Optional<UIButton> to $Builtin.RawPointer, scope 110 // user: %6
- %5 = enum $Optional<Builtin.RawPointer>, #Optional.none!enumelt, scope 110 // user: %6
- %6 = tuple (%4 : $Builtin.RawPointer, %5 : $Optional<Builtin.RawPointer>), scope 110 // user: %7
- return %6 : $(Builtin.RawPointer, Optional<Builtin.RawPointer>), scope 110 // id: %7
- } // end sil function '_TFC3gpa20AddClassesControllerm14addClassButtonGSQCSo8UIButton_'
- sil_scope 111 { loc "AddClassesController.swift":38:19 parent @_TFC3gpa20AddClassesControllerm12cancelButtonGSQCSo15UIBarButtonItem_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed AddClassesController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) }
- // AddClassesController.cancelButton.materializeForSet
- sil hidden @_TFC3gpa20AddClassesControllerm12cancelButtonGSQCSo15UIBarButtonItem_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed AddClassesController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) {
- // %2 // user: %3
- bb0(%0 : $Builtin.RawPointer, %1 : $*Builtin.UnsafeValueBuffer, %2 : $AddClassesController):
- %3 = ref_element_addr %2 : $AddClassesController, #AddClassesController.cancelButton, scope 111 // user: %4
- %4 = address_to_pointer %3 : $*Optional<UIBarButtonItem> to $Builtin.RawPointer, scope 111 // user: %6
- %5 = enum $Optional<Builtin.RawPointer>, #Optional.none!enumelt, scope 111 // user: %6
- %6 = tuple (%4 : $Builtin.RawPointer, %5 : $Optional<Builtin.RawPointer>), scope 111 // user: %7
- return %6 : $(Builtin.RawPointer, Optional<Builtin.RawPointer>), scope 111 // id: %7
- } // end sil function '_TFC3gpa20AddClassesControllerm12cancelButtonGSQCSo15UIBarButtonItem_'
- sil_scope 112 { loc "AddClassesController.swift":25:46 parent @_TFC3gpa20AddClassesControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ : $@convention(method) (@owned Optional<String>, @owned Optional<Bundle>, @owned AddClassesController) -> @owned AddClassesController }
- sil_scope 113 { parent 112 }
- // AddClassesController.init(nibName : String?, bundle : Bundle?) -> AddClassesController
- sil hidden @_TFC3gpa20AddClassesControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ : $@convention(method) (@owned Optional<String>, @owned Optional<Bundle>, @owned AddClassesController) -> @owned AddClassesController {
- // %0 // users: %77, %57, %6
- // %1 // users: %76, %71, %7
- // %2 // user: %8
- bb0(%0 : $Optional<String>, %1 : $Optional<Bundle>, %2 : $AddClassesController):
- %3 = alloc_box ${ var AddClassesController }, let, name "self", scope 112 // users: %78, %4
- %4 = project_box %3 : ${ var AddClassesController }, 0, scope 112 // user: %5
- %5 = mark_uninitialized [derivedself] %4 : $*AddClassesController, scope 112 // users: %75, %73, %54, %51, %46, %41, %36, %31, %26, %21, %16, %11, %8
- debug_value %0 : $Optional<String>, let, name "nibNameOrNil", argno 1, scope 112 // id: %6
- debug_value %1 : $Optional<Bundle>, let, name "nibBundleOrNil", argno 2, scope 112 // id: %7
- store %2 to [init] %5 : $*AddClassesController, loc "AddClassesController.swift":25:46, scope 112 // id: %8
- // function_ref AddClassesController.(classNameField).(variable initialization expression)
- %9 = function_ref @_TIvC3gpa20AddClassesController14classNameFieldGSQCSo11UITextField_i : $@convention(thin) () -> @owned Optional<UITextField>, scope 112 // user: %10
- %10 = apply %9() : $@convention(thin) () -> @owned Optional<UITextField>, scope 112 // user: %13
- %11 = load_borrow %5 : $*AddClassesController, loc "AddClassesController.swift":27:19, scope 112 // user: %12
- %12 = ref_element_addr %11 : $AddClassesController, #AddClassesController.classNameField, loc "AddClassesController.swift":27:19, scope 112 // user: %13
- assign %10 to %12 : $*Optional<UITextField>, loc "AddClassesController.swift":27:19, scope 112 // id: %13
- // function_ref AddClassesController.(multiplierField).(variable initialization expression)
- %14 = function_ref @_TIvC3gpa20AddClassesController15multiplierFieldGSQCSo11UITextField_i : $@convention(thin) () -> @owned Optional<UITextField>, scope 112 // user: %15
- %15 = apply %14() : $@convention(thin) () -> @owned Optional<UITextField>, scope 112 // user: %18
- %16 = load_borrow %5 : $*AddClassesController, loc "AddClassesController.swift":28:19, scope 112 // user: %17
- %17 = ref_element_addr %16 : $AddClassesController, #AddClassesController.multiplierField, loc "AddClassesController.swift":28:19, scope 112 // user: %18
- assign %15 to %17 : $*Optional<UITextField>, loc "AddClassesController.swift":28:19, scope 112 // id: %18
- // function_ref AddClassesController.(currentGradeField).(variable initialization expression)
- %19 = function_ref @_TIvC3gpa20AddClassesController17currentGradeFieldGSQCSo11UITextField_i : $@convention(thin) () -> @owned Optional<UITextField>, scope 112 // user: %20
- %20 = apply %19() : $@convention(thin) () -> @owned Optional<UITextField>, scope 112 // user: %23
- %21 = load_borrow %5 : $*AddClassesController, loc "AddClassesController.swift":29:19, scope 112 // user: %22
- %22 = ref_element_addr %21 : $AddClassesController, #AddClassesController.currentGradeField, loc "AddClassesController.swift":29:19, scope 112 // user: %23
- assign %20 to %22 : $*Optional<UITextField>, loc "AddClassesController.swift":29:19, scope 112 // id: %23
- // function_ref AddClassesController.(creditsField).(variable initialization expression)
- %24 = function_ref @_TIvC3gpa20AddClassesController12creditsFieldGSQCSo11UITextField_i : $@convention(thin) () -> @owned Optional<UITextField>, scope 112 // user: %25
- %25 = apply %24() : $@convention(thin) () -> @owned Optional<UITextField>, scope 112 // user: %28
- %26 = load_borrow %5 : $*AddClassesController, loc "AddClassesController.swift":30:19, scope 112 // user: %27
- %27 = ref_element_addr %26 : $AddClassesController, #AddClassesController.creditsField, loc "AddClassesController.swift":30:19, scope 112 // user: %28
- assign %25 to %27 : $*Optional<UITextField>, loc "AddClassesController.swift":30:19, scope 112 // id: %28
- // function_ref AddClassesController.(multiplierBar).(variable initialization expression)
- %29 = function_ref @_TIvC3gpa20AddClassesController13multiplierBarGSQCSo18UISegmentedControl_i : $@convention(thin) () -> @owned Optional<UISegmentedControl>, scope 112 // user: %30
- %30 = apply %29() : $@convention(thin) () -> @owned Optional<UISegmentedControl>, scope 112 // user: %33
- %31 = load_borrow %5 : $*AddClassesController, loc "AddClassesController.swift":32:19, scope 112 // user: %32
- %32 = ref_element_addr %31 : $AddClassesController, #AddClassesController.multiplierBar, loc "AddClassesController.swift":32:19, scope 112 // user: %33
- assign %30 to %32 : $*Optional<UISegmentedControl>, loc "AddClassesController.swift":32:19, scope 112 // id: %33
- // function_ref AddClassesController.(creditsBar).(variable initialization expression)
- %34 = function_ref @_TIvC3gpa20AddClassesController10creditsBarGSQCSo18UISegmentedControl_i : $@convention(thin) () -> @owned Optional<UISegmentedControl>, scope 112 // user: %35
- %35 = apply %34() : $@convention(thin) () -> @owned Optional<UISegmentedControl>, scope 112 // user: %38
- %36 = load_borrow %5 : $*AddClassesController, loc "AddClassesController.swift":33:19, scope 112 // user: %37
- %37 = ref_element_addr %36 : $AddClassesController, #AddClassesController.creditsBar, loc "AddClassesController.swift":33:19, scope 112 // user: %38
- assign %35 to %37 : $*Optional<UISegmentedControl>, loc "AddClassesController.swift":33:19, scope 112 // id: %38
- // function_ref AddClassesController.(warningLabel).(variable initialization expression)
- %39 = function_ref @_TIvC3gpa20AddClassesController12warningLabelGSQCSo7UILabel_i : $@convention(thin) () -> @owned Optional<UILabel>, scope 112 // user: %40
- %40 = apply %39() : $@convention(thin) () -> @owned Optional<UILabel>, scope 112 // user: %43
- %41 = load_borrow %5 : $*AddClassesController, loc "AddClassesController.swift":35:19, scope 112 // user: %42
- %42 = ref_element_addr %41 : $AddClassesController, #AddClassesController.warningLabel, loc "AddClassesController.swift":35:19, scope 112 // user: %43
- assign %40 to %42 : $*Optional<UILabel>, loc "AddClassesController.swift":35:19, scope 112 // id: %43
- // function_ref AddClassesController.(addClassButton).(variable initialization expression)
- %44 = function_ref @_TIvC3gpa20AddClassesController14addClassButtonGSQCSo8UIButton_i : $@convention(thin) () -> @owned Optional<UIButton>, scope 112 // user: %45
- %45 = apply %44() : $@convention(thin) () -> @owned Optional<UIButton>, scope 112 // user: %48
- %46 = load_borrow %5 : $*AddClassesController, loc "AddClassesController.swift":37:19, scope 112 // user: %47
- %47 = ref_element_addr %46 : $AddClassesController, #AddClassesController.addClassButton, loc "AddClassesController.swift":37:19, scope 112 // user: %48
- assign %45 to %47 : $*Optional<UIButton>, loc "AddClassesController.swift":37:19, scope 112 // id: %48
- // function_ref AddClassesController.(cancelButton).(variable initialization expression)
- %49 = function_ref @_TIvC3gpa20AddClassesController12cancelButtonGSQCSo15UIBarButtonItem_i : $@convention(thin) () -> @owned Optional<UIBarButtonItem>, scope 112 // user: %50
- %50 = apply %49() : $@convention(thin) () -> @owned Optional<UIBarButtonItem>, scope 112 // user: %53
- %51 = load_borrow %5 : $*AddClassesController, loc "AddClassesController.swift":38:19, scope 112 // user: %52
- %52 = ref_element_addr %51 : $AddClassesController, #AddClassesController.cancelButton, loc "AddClassesController.swift":38:19, scope 112 // user: %53
- assign %50 to %52 : $*Optional<UIBarButtonItem>, loc "AddClassesController.swift":38:19, scope 112 // id: %53
- %54 = load_borrow %5 : $*AddClassesController, scope 113 // users: %56, %55
- %55 = upcast %54 : $AddClassesController to $UIViewController, scope 113 // user: %71
- %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
- %57 = copy_value %0 : $Optional<String>, scope 113 // users: %62, %60
- %58 = integer_literal $Builtin.Int1, -1, scope 113 // user: %60
- %59 = integer_literal $Builtin.Int1, 0, scope 113 // user: %60
- %60 = select_enum %57 : $Optional<String>, case #Optional.some!enumelt.1: %58, default %59 : $Builtin.Int1, scope 113 // user: %61
- cond_br %60, bb1, bb2, scope 113 // id: %61
- bb1: // Preds: bb0
- %62 = unchecked_enum_data %57 : $Optional<String>, #Optional.some!enumelt.1, scope 113 // users: %66, %64
- // function_ref String._bridgeToObjectiveC() -> NSString
- %63 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, scope 113 // user: %64
- %64 = apply %63(%62) : $@convention(method) (@guaranteed String) -> @owned NSString, scope 113 // user: %65
- %65 = enum $Optional<NSString>, #Optional.some!enumelt.1, %64 : $NSString, scope 113 // user: %67
- destroy_value %62 : $String, scope 113 // id: %66
- br bb3(%65 : $Optional<NSString>), scope 113 // id: %67
- bb2: // Preds: bb0
- %68 = enum $Optional<NSString>, #Optional.none!enumelt, scope 113 // user: %69
- br bb3(%68 : $Optional<NSString>), scope 113 // id: %69
- // %70 // users: %74, %71
- bb3(%70 : $Optional<NSString>): // Preds: bb2 bb1
- %71 = apply %56(%70, %1, %55) : $@convention(objc_method) (Optional<NSString>, Optional<Bundle>, @owned UIViewController) -> @owned UIViewController, scope 113 // user: %72
- %72 = unchecked_ref_cast %71 : $UIViewController to $AddClassesController, scope 113 // user: %73
- store %72 to [init] %5 : $*AddClassesController, scope 113 // id: %73
- destroy_value %70 : $Optional<NSString>, scope 113 // id: %74
- %75 = load [copy] %5 : $*AddClassesController, loc "AddClassesController.swift":25:46, scope 113 // user: %79
- destroy_value %1 : $Optional<Bundle>, loc "AddClassesController.swift":25:46, scope 113 // id: %76
- destroy_value %0 : $Optional<String>, loc "AddClassesController.swift":25:46, scope 113 // id: %77
- destroy_value %3 : ${ var AddClassesController }, loc "AddClassesController.swift":25:46, scope 113 // id: %78
- return %75 : $AddClassesController, loc "AddClassesController.swift":25:46, scope 113 // id: %79
- } // end sil function '_TFC3gpa20AddClassesControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_'
- 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 }
- // AddClassesController.__allocating_init(nibName : String?, bundle : Bundle?) -> AddClassesController
- sil hidden @_TFC3gpa20AddClassesControllerCfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ : $@convention(method) (@owned Optional<String>, @owned Optional<Bundle>, @thick AddClassesController.Type) -> @owned AddClassesController {
- // %0 // user: %5
- // %1 // user: %5
- bb0(%0 : $Optional<String>, %1 : $Optional<Bundle>, %2 : $@thick AddClassesController.Type):
- %3 = alloc_ref [objc] $AddClassesController, scope 114 // user: %5
- // function_ref AddClassesController.init(nibName : String?, bundle : Bundle?) -> AddClassesController
- %4 = function_ref @_TFC3gpa20AddClassesControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ : $@convention(method) (@owned Optional<String>, @owned Optional<Bundle>, @owned AddClassesController) -> @owned AddClassesController, scope 114 // user: %5
- %5 = apply %4(%0, %1, %3) : $@convention(method) (@owned Optional<String>, @owned Optional<Bundle>, @owned AddClassesController) -> @owned AddClassesController, scope 114 // user: %6
- return %5 : $AddClassesController, scope 114 // id: %6
- } // end sil function '_TFC3gpa20AddClassesControllerCfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_'
- sil_scope 115 { loc "AddClassesController.swift":25:46 parent @_TToFC3gpa20AddClassesControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ : $@convention(objc_method) (Optional<NSString>, Optional<Bundle>, @owned AddClassesController) -> @owned AddClassesController }
- // @objc AddClassesController.init(nibName : String?, bundle : Bundle?) -> AddClassesController
- sil hidden [thunk] @_TToFC3gpa20AddClassesControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ : $@convention(objc_method) (Optional<NSString>, Optional<Bundle>, @owned AddClassesController) -> @owned AddClassesController {
- // %0 // user: %3
- // %1 // user: %4
- // %2 // user: %20
- bb0(%0 : $Optional<NSString>, %1 : $Optional<Bundle>, %2 : $AddClassesController):
- %3 = copy_value %0 : $Optional<NSString>, scope 115 // users: %9, %7
- %4 = copy_value %1 : $Optional<Bundle>, scope 115 // user: %20
- %5 = integer_literal $Builtin.Int1, -1, scope 115 // user: %7
- %6 = integer_literal $Builtin.Int1, 0, scope 115 // user: %7
- %7 = select_enum %3 : $Optional<NSString>, case #Optional.some!enumelt.1: %5, default %6 : $Builtin.Int1, scope 115 // user: %8
- cond_br %7, bb1, bb2, scope 115 // id: %8
- bb1: // Preds: bb0
- %9 = unchecked_enum_data %3 : $Optional<NSString>, #Optional.some!enumelt.1, scope 115 // user: %11
- // function_ref static String._unconditionallyBridgeFromObjectiveC(NSString?) -> String
- %10 = function_ref @_TZFE10FoundationSS36_unconditionallyBridgeFromObjectiveCfGSqCSo8NSString_SS : $@convention(method) (@owned Optional<NSString>, @thin String.Type) -> @owned String, scope 115 // user: %13
- %11 = enum $Optional<NSString>, #Optional.some!enumelt.1, %9 : $NSString, scope 115 // user: %13
- %12 = metatype $@thin String.Type, scope 115 // user: %13
- %13 = apply %10(%11, %12) : $@convention(method) (@owned Optional<NSString>, @thin String.Type) -> @owned String, scope 115 // user: %14
- %14 = enum $Optional<String>, #Optional.some!enumelt.1, %13 : $String, scope 115 // user: %15
- br bb3(%14 : $Optional<String>), scope 115 // id: %15
- bb2: // Preds: bb0
- %16 = enum $Optional<String>, #Optional.none!enumelt, scope 115 // user: %17
- br bb3(%16 : $Optional<String>), scope 115 // id: %17
- // %18 // user: %20
- bb3(%18 : $Optional<String>): // Preds: bb2 bb1
- // function_ref AddClassesController.init(nibName : String?, bundle : Bundle?) -> AddClassesController
- %19 = function_ref @_TFC3gpa20AddClassesControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ : $@convention(method) (@owned Optional<String>, @owned Optional<Bundle>, @owned AddClassesController) -> @owned AddClassesController, scope 115 // user: %20
- %20 = apply %19(%18, %4, %2) : $@convention(method) (@owned Optional<String>, @owned Optional<Bundle>, @owned AddClassesController) -> @owned AddClassesController, scope 115 // user: %21
- return %20 : $AddClassesController, scope 115 // id: %21
- } // end sil function '_TToFC3gpa20AddClassesControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_'
- sil_scope 116 { loc "AddClassesController.swift":25:46 parent @_TFC3gpa20AddClassesControllerCfT5coderCSo7NSCoder_GSqS0__ : $@convention(method) (@owned NSCoder, @thick AddClassesController.Type) -> @owned Optional<AddClassesController> }
- // AddClassesController.__allocating_init(coder : NSCoder) -> AddClassesController?
- sil hidden @_TFC3gpa20AddClassesControllerCfT5coderCSo7NSCoder_GSqS0__ : $@convention(method) (@owned NSCoder, @thick AddClassesController.Type) -> @owned Optional<AddClassesController> {
- // %0 // user: %4
- bb0(%0 : $NSCoder, %1 : $@thick AddClassesController.Type):
- %2 = alloc_ref [objc] $AddClassesController, scope 116 // user: %4
- // function_ref AddClassesController.init(coder : NSCoder) -> AddClassesController?
- %3 = function_ref @_TFC3gpa20AddClassesControllercfT5coderCSo7NSCoder_GSqS0__ : $@convention(method) (@owned NSCoder, @owned AddClassesController) -> @owned Optional<AddClassesController>, scope 116 // user: %4
- %4 = apply %3(%0, %2) : $@convention(method) (@owned NSCoder, @owned AddClassesController) -> @owned Optional<AddClassesController>, scope 116 // user: %5
- return %4 : $Optional<AddClassesController>, scope 116 // id: %5
- } // end sil function '_TFC3gpa20AddClassesControllerCfT5coderCSo7NSCoder_GSqS0__'
- sil_scope 117 { loc "AddClassesController.swift":25:46 parent @_TFC3gpa20AddClassesControllercfT5coderCSo7NSCoder_GSqS0__ : $@convention(method) (@owned NSCoder, @owned AddClassesController) -> @owned Optional<AddClassesController> }
- sil_scope 118 { parent 117 }
- // AddClassesController.init(coder : NSCoder) -> AddClassesController?
- sil hidden @_TFC3gpa20AddClassesControllercfT5coderCSo7NSCoder_GSqS0__ : $@convention(method) (@owned NSCoder, @owned AddClassesController) -> @owned Optional<AddClassesController> {
- // %0 // users: %65, %55, %68, %5
- // %1 // user: %6
- bb0(%0 : $NSCoder, %1 : $AddClassesController):
- %2 = alloc_box ${ var AddClassesController }, let, name "self", scope 117 // users: %66, %69, %3
- %3 = project_box %2 : ${ var AddClassesController }, 0, scope 117 // user: %4
- %4 = mark_uninitialized [derivedself] %3 : $*AddClassesController, scope 117 // users: %63, %62, %52, %49, %44, %39, %34, %29, %24, %19, %14, %9, %6
- debug_value %0 : $NSCoder, let, name "aDecoder", argno 1, scope 117 // id: %5
- store %1 to [init] %4 : $*AddClassesController, loc "AddClassesController.swift":25:46, scope 117 // id: %6
- // function_ref AddClassesController.(classNameField).(variable initialization expression)
- %7 = function_ref @_TIvC3gpa20AddClassesController14classNameFieldGSQCSo11UITextField_i : $@convention(thin) () -> @owned Optional<UITextField>, scope 117 // user: %8
- %8 = apply %7() : $@convention(thin) () -> @owned Optional<UITextField>, scope 117 // user: %11
- %9 = load_borrow %4 : $*AddClassesController, loc "AddClassesController.swift":27:19, scope 117 // user: %10
- %10 = ref_element_addr %9 : $AddClassesController, #AddClassesController.classNameField, loc "AddClassesController.swift":27:19, scope 117 // user: %11
- assign %8 to %10 : $*Optional<UITextField>, loc "AddClassesController.swift":27:19, scope 117 // id: %11
- // function_ref AddClassesController.(multiplierField).(variable initialization expression)
- %12 = function_ref @_TIvC3gpa20AddClassesController15multiplierFieldGSQCSo11UITextField_i : $@convention(thin) () -> @owned Optional<UITextField>, scope 117 // user: %13
- %13 = apply %12() : $@convention(thin) () -> @owned Optional<UITextField>, scope 117 // user: %16
- %14 = load_borrow %4 : $*AddClassesController, loc "AddClassesController.swift":28:19, scope 117 // user: %15
- %15 = ref_element_addr %14 : $AddClassesController, #AddClassesController.multiplierField, loc "AddClassesController.swift":28:19, scope 117 // user: %16
- assign %13 to %15 : $*Optional<UITextField>, loc "AddClassesController.swift":28:19, scope 117 // id: %16
- // function_ref AddClassesController.(currentGradeField).(variable initialization expression)
- %17 = function_ref @_TIvC3gpa20AddClassesController17currentGradeFieldGSQCSo11UITextField_i : $@convention(thin) () -> @owned Optional<UITextField>, scope 117 // user: %18
- %18 = apply %17() : $@convention(thin) () -> @owned Optional<UITextField>, scope 117 // user: %21
- %19 = load_borrow %4 : $*AddClassesController, loc "AddClassesController.swift":29:19, scope 117 // user: %20
- %20 = ref_element_addr %19 : $AddClassesController, #AddClassesController.currentGradeField, loc "AddClassesController.swift":29:19, scope 117 // user: %21
- assign %18 to %20 : $*Optional<UITextField>, loc "AddClassesController.swift":29:19, scope 117 // id: %21
- // function_ref AddClassesController.(creditsField).(variable initialization expression)
- %22 = function_ref @_TIvC3gpa20AddClassesController12creditsFieldGSQCSo11UITextField_i : $@convention(thin) () -> @owned Optional<UITextField>, scope 117 // user: %23
- %23 = apply %22() : $@convention(thin) () -> @owned Optional<UITextField>, scope 117 // user: %26
- %24 = load_borrow %4 : $*AddClassesController, loc "AddClassesController.swift":30:19, scope 117 // user: %25
- %25 = ref_element_addr %24 : $AddClassesController, #AddClassesController.creditsField, loc "AddClassesController.swift":30:19, scope 117 // user: %26
- assign %23 to %25 : $*Optional<UITextField>, loc "AddClassesController.swift":30:19, scope 117 // id: %26
- // function_ref AddClassesController.(multiplierBar).(variable initialization expression)
- %27 = function_ref @_TIvC3gpa20AddClassesController13multiplierBarGSQCSo18UISegmentedControl_i : $@convention(thin) () -> @owned Optional<UISegmentedControl>, scope 117 // user: %28
- %28 = apply %27() : $@convention(thin) () -> @owned Optional<UISegmentedControl>, scope 117 // user: %31
- %29 = load_borrow %4 : $*AddClassesController, loc "AddClassesController.swift":32:19, scope 117 // user: %30
- %30 = ref_element_addr %29 : $AddClassesController, #AddClassesController.multiplierBar, loc "AddClassesController.swift":32:19, scope 117 // user: %31
- assign %28 to %30 : $*Optional<UISegmentedControl>, loc "AddClassesController.swift":32:19, scope 117 // id: %31
- // function_ref AddClassesController.(creditsBar).(variable initialization expression)
- %32 = function_ref @_TIvC3gpa20AddClassesController10creditsBarGSQCSo18UISegmentedControl_i : $@convention(thin) () -> @owned Optional<UISegmentedControl>, scope 117 // user: %33
- %33 = apply %32() : $@convention(thin) () -> @owned Optional<UISegmentedControl>, scope 117 // user: %36
- %34 = load_borrow %4 : $*AddClassesController, loc "AddClassesController.swift":33:19, scope 117 // user: %35
- %35 = ref_element_addr %34 : $AddClassesController, #AddClassesController.creditsBar, loc "AddClassesController.swift":33:19, scope 117 // user: %36
- assign %33 to %35 : $*Optional<UISegmentedControl>, loc "AddClassesController.swift":33:19, scope 117 // id: %36
- // function_ref AddClassesController.(warningLabel).(variable initialization expression)
- %37 = function_ref @_TIvC3gpa20AddClassesController12warningLabelGSQCSo7UILabel_i : $@convention(thin) () -> @owned Optional<UILabel>, scope 117 // user: %38
- %38 = apply %37() : $@convention(thin) () -> @owned Optional<UILabel>, scope 117 // user: %41
- %39 = load_borrow %4 : $*AddClassesController, loc "AddClassesController.swift":35:19, scope 117 // user: %40
- %40 = ref_element_addr %39 : $AddClassesController, #AddClassesController.warningLabel, loc "AddClassesController.swift":35:19, scope 117 // user: %41
- assign %38 to %40 : $*Optional<UILabel>, loc "AddClassesController.swift":35:19, scope 117 // id: %41
- // function_ref AddClassesController.(addClassButton).(variable initialization expression)
- %42 = function_ref @_TIvC3gpa20AddClassesController14addClassButtonGSQCSo8UIButton_i : $@convention(thin) () -> @owned Optional<UIButton>, scope 117 // user: %43
- %43 = apply %42() : $@convention(thin) () -> @owned Optional<UIButton>, scope 117 // user: %46
- %44 = load_borrow %4 : $*AddClassesController, loc "AddClassesController.swift":37:19, scope 117 // user: %45
- %45 = ref_element_addr %44 : $AddClassesController, #AddClassesController.addClassButton, loc "AddClassesController.swift":37:19, scope 117 // user: %46
- assign %43 to %45 : $*Optional<UIButton>, loc "AddClassesController.swift":37:19, scope 117 // id: %46
- // function_ref AddClassesController.(cancelButton).(variable initialization expression)
- %47 = function_ref @_TIvC3gpa20AddClassesController12cancelButtonGSQCSo15UIBarButtonItem_i : $@convention(thin) () -> @owned Optional<UIBarButtonItem>, scope 117 // user: %48
- %48 = apply %47() : $@convention(thin) () -> @owned Optional<UIBarButtonItem>, scope 117 // user: %51
- %49 = load_borrow %4 : $*AddClassesController, loc "AddClassesController.swift":38:19, scope 117 // user: %50
- %50 = ref_element_addr %49 : $AddClassesController, #AddClassesController.cancelButton, loc "AddClassesController.swift":38:19, scope 117 // user: %51
- assign %48 to %50 : $*Optional<UIBarButtonItem>, loc "AddClassesController.swift":38:19, scope 117 // id: %51
- %52 = load_borrow %4 : $*AddClassesController, scope 118 // users: %54, %53
- %53 = upcast %52 : $AddClassesController to $UIViewController, scope 118 // user: %55
- %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
- %55 = apply %54(%0, %53) : $@convention(objc_method) (NSCoder, @owned UIViewController) -> @owned Optional<UIViewController>, scope 118 // users: %60, %58
- %56 = integer_literal $Builtin.Int1, -1, scope 118 // user: %58
- %57 = integer_literal $Builtin.Int1, 0, scope 118 // user: %58
- %58 = select_enum %55 : $Optional<UIViewController>, case #Optional.some!enumelt.1: %56, default %57 : $Builtin.Int1, scope 118 // user: %59
- cond_br %58, bb1, bb2, scope 118 // id: %59
- bb1: // Preds: bb0
- %60 = unchecked_enum_data %55 : $Optional<UIViewController>, #Optional.some!enumelt.1, scope 118 // user: %61
- %61 = unchecked_ref_cast %60 : $UIViewController to $AddClassesController, scope 118 // user: %62
- store %61 to [init] %4 : $*AddClassesController, scope 118 // id: %62
- %63 = load [copy] %4 : $*AddClassesController, loc "AddClassesController.swift":25:46, scope 118 // user: %64
- %64 = enum $Optional<AddClassesController>, #Optional.some!enumelt.1, %63 : $AddClassesController, scope 118 // user: %67
- destroy_value %0 : $NSCoder, loc "AddClassesController.swift":25:46, scope 118 // id: %65
- destroy_value %2 : ${ var AddClassesController }, loc "AddClassesController.swift":25:46, scope 118 // id: %66
- br bb3(%64 : $Optional<AddClassesController>), loc "AddClassesController.swift":25:46, scope 118 // id: %67
- bb2: // Preds: bb0
- destroy_value %0 : $NSCoder, loc "AddClassesController.swift":25:46, scope 117 // id: %68
- destroy_value %2 : ${ var AddClassesController }, loc "AddClassesController.swift":25:46, scope 117 // id: %69
- %70 = enum $Optional<AddClassesController>, #Optional.none!enumelt, scope 117 // user: %71
- br bb3(%70 : $Optional<AddClassesController>), scope 117 // id: %71
- // %72 // user: %73
- bb3(%72 : $Optional<AddClassesController>): // Preds: bb1 bb2
- return %72 : $Optional<AddClassesController>, scope 117 // id: %73
- } // end sil function '_TFC3gpa20AddClassesControllercfT5coderCSo7NSCoder_GSqS0__'
- sil_scope 119 { loc "AddClassesController.swift":25:46 parent @_TToFC3gpa20AddClassesControllercfT5coderCSo7NSCoder_GSqS0__ : $@convention(objc_method) (NSCoder, @owned AddClassesController) -> @owned Optional<AddClassesController> }
- // @objc AddClassesController.init(coder : NSCoder) -> AddClassesController?
- sil hidden [thunk] @_TToFC3gpa20AddClassesControllercfT5coderCSo7NSCoder_GSqS0__ : $@convention(objc_method) (NSCoder, @owned AddClassesController) -> @owned Optional<AddClassesController> {
- // %0 // user: %2
- // %1 // user: %4
- bb0(%0 : $NSCoder, %1 : $AddClassesController):
- %2 = copy_value %0 : $NSCoder, scope 119 // user: %4
- // function_ref AddClassesController.init(coder : NSCoder) -> AddClassesController?
- %3 = function_ref @_TFC3gpa20AddClassesControllercfT5coderCSo7NSCoder_GSqS0__ : $@convention(method) (@owned NSCoder, @owned AddClassesController) -> @owned Optional<AddClassesController>, scope 119 // user: %4
- %4 = apply %3(%2, %1) : $@convention(method) (@owned NSCoder, @owned AddClassesController) -> @owned Optional<AddClassesController>, scope 119 // user: %5
- return %4 : $Optional<AddClassesController>, scope 119 // id: %5
- } // end sil function '_TToFC3gpa20AddClassesControllercfT5coderCSo7NSCoder_GSqS0__'
- sil_vtable AddClassesController {
- #AddClassesController.viewDidLoad!1: _TFC3gpa20AddClassesController11viewDidLoadfT_T_ // AddClassesController.viewDidLoad() -> ()
- #AddClassesController.didReceiveMemoryWarning!1: _TFC3gpa20AddClassesController23didReceiveMemoryWarningfT_T_ // AddClassesController.didReceiveMemoryWarning() -> ()
- #AddClassesController.addNewClass!1: _TFC3gpa20AddClassesController11addNewClassfP_T_ // AddClassesController.addNewClass(Any) -> ()
- #AddClassesController.touchesBegan!1: _TFC3gpa20AddClassesController12touchesBeganfTGVs3SetCSo7UITouch_4withGSqCSo7UIEvent__T_ // AddClassesController.touchesBegan(Set<UITouch>, with : UIEvent?) -> ()
- #AddClassesController.deinit!deallocator: _TFC3gpa20AddClassesControllerD // AddClassesController.__deallocating_deinit
- #AddClassesController.classNameField!getter.1: _TFC3gpa20AddClassesControllerg14classNameFieldGSQCSo11UITextField_ // AddClassesController.classNameField.getter
- #AddClassesController.classNameField!setter.1: _TFC3gpa20AddClassesControllers14classNameFieldGSQCSo11UITextField_ // AddClassesController.classNameField.setter
- #AddClassesController.classNameField!materializeForSet.1: _TFC3gpa20AddClassesControllerm14classNameFieldGSQCSo11UITextField_ // AddClassesController.classNameField.materializeForSet
- #AddClassesController.multiplierField!getter.1: _TFC3gpa20AddClassesControllerg15multiplierFieldGSQCSo11UITextField_ // AddClassesController.multiplierField.getter
- #AddClassesController.multiplierField!setter.1: _TFC3gpa20AddClassesControllers15multiplierFieldGSQCSo11UITextField_ // AddClassesController.multiplierField.setter
- #AddClassesController.multiplierField!materializeForSet.1: _TFC3gpa20AddClassesControllerm15multiplierFieldGSQCSo11UITextField_ // AddClassesController.multiplierField.materializeForSet
- #AddClassesController.currentGradeField!getter.1: _TFC3gpa20AddClassesControllerg17currentGradeFieldGSQCSo11UITextField_ // AddClassesController.currentGradeField.getter
- #AddClassesController.currentGradeField!setter.1: _TFC3gpa20AddClassesControllers17currentGradeFieldGSQCSo11UITextField_ // AddClassesController.currentGradeField.setter
- #AddClassesController.currentGradeField!materializeForSet.1: _TFC3gpa20AddClassesControllerm17currentGradeFieldGSQCSo11UITextField_ // AddClassesController.currentGradeField.materializeForSet
- #AddClassesController.creditsField!getter.1: _TFC3gpa20AddClassesControllerg12creditsFieldGSQCSo11UITextField_ // AddClassesController.creditsField.getter
- #AddClassesController.creditsField!setter.1: _TFC3gpa20AddClassesControllers12creditsFieldGSQCSo11UITextField_ // AddClassesController.creditsField.setter
- #AddClassesController.creditsField!materializeForSet.1: _TFC3gpa20AddClassesControllerm12creditsFieldGSQCSo11UITextField_ // AddClassesController.creditsField.materializeForSet
- #AddClassesController.multiplierBar!getter.1: _TFC3gpa20AddClassesControllerg13multiplierBarGSQCSo18UISegmentedControl_ // AddClassesController.multiplierBar.getter
- #AddClassesController.multiplierBar!setter.1: _TFC3gpa20AddClassesControllers13multiplierBarGSQCSo18UISegmentedControl_ // AddClassesController.multiplierBar.setter
- #AddClassesController.multiplierBar!materializeForSet.1: _TFC3gpa20AddClassesControllerm13multiplierBarGSQCSo18UISegmentedControl_ // AddClassesController.multiplierBar.materializeForSet
- #AddClassesController.creditsBar!getter.1: _TFC3gpa20AddClassesControllerg10creditsBarGSQCSo18UISegmentedControl_ // AddClassesController.creditsBar.getter
- #AddClassesController.creditsBar!setter.1: _TFC3gpa20AddClassesControllers10creditsBarGSQCSo18UISegmentedControl_ // AddClassesController.creditsBar.setter
- #AddClassesController.creditsBar!materializeForSet.1: _TFC3gpa20AddClassesControllerm10creditsBarGSQCSo18UISegmentedControl_ // AddClassesController.creditsBar.materializeForSet
- #AddClassesController.warningLabel!getter.1: _TFC3gpa20AddClassesControllerg12warningLabelGSQCSo7UILabel_ // AddClassesController.warningLabel.getter
- #AddClassesController.warningLabel!setter.1: _TFC3gpa20AddClassesControllers12warningLabelGSQCSo7UILabel_ // AddClassesController.warningLabel.setter
- #AddClassesController.warningLabel!materializeForSet.1: _TFC3gpa20AddClassesControllerm12warningLabelGSQCSo7UILabel_ // AddClassesController.warningLabel.materializeForSet
- #AddClassesController.addClassButton!getter.1: _TFC3gpa20AddClassesControllerg14addClassButtonGSQCSo8UIButton_ // AddClassesController.addClassButton.getter
- #AddClassesController.addClassButton!setter.1: _TFC3gpa20AddClassesControllers14addClassButtonGSQCSo8UIButton_ // AddClassesController.addClassButton.setter
- #AddClassesController.addClassButton!materializeForSet.1: _TFC3gpa20AddClassesControllerm14addClassButtonGSQCSo8UIButton_ // AddClassesController.addClassButton.materializeForSet
- #AddClassesController.cancelButton!getter.1: _TFC3gpa20AddClassesControllerg12cancelButtonGSQCSo15UIBarButtonItem_ // AddClassesController.cancelButton.getter
- #AddClassesController.cancelButton!setter.1: _TFC3gpa20AddClassesControllers12cancelButtonGSQCSo15UIBarButtonItem_ // AddClassesController.cancelButton.setter
- #AddClassesController.cancelButton!materializeForSet.1: _TFC3gpa20AddClassesControllerm12cancelButtonGSQCSo15UIBarButtonItem_ // AddClassesController.cancelButton.materializeForSet
- #AddClassesController.init!initializer.1: _TFC3gpa20AddClassesControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ // AddClassesController.init(nibName : String?, bundle : Bundle?) -> AddClassesController
- #AddClassesController.init!allocator.1: _TFC3gpa20AddClassesControllerCfT5coderCSo7NSCoder_GSqS0__ // AddClassesController.__allocating_init(coder : NSCoder) -> AddClassesController?
- #AddClassesController.init!initializer.1: _TFC3gpa20AddClassesControllercfT5coderCSo7NSCoder_GSqS0__ // AddClassesController.init(coder : NSCoder) -> AddClassesController?
- }
- sil_witness_table shared NSObject: AnyObject module ObjectiveC
- sil_stage raw
- import Builtin
- import Swift
- import SwiftShims
- sil_scope 1 { parent @_TIvC3gpa11AppDelegate6windowGSqCSo8UIWindow_i : $@convention(thin) () -> @owned Optional<UIWindow> }
- // AppDelegate.(window).(variable initialization expression)
- sil hidden [transparent] @_TIvC3gpa11AppDelegate6windowGSqCSo8UIWindow_i : $@convention(thin) () -> @owned Optional<UIWindow> {
- bb0:
- // function_ref Optional.init(nilLiteral : ()) -> A?
- %0 = function_ref @_TFSqCfT10nilLiteralT__GSqx_ : $@convention(method) <τ_0_0> (@thin Optional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 1 // user: %3
- %1 = metatype $@thin Optional<UIWindow>.Type, scope 1 // user: %3
- %2 = alloc_stack $Optional<UIWindow>, scope 1 // users: %5, %4, %3
- %3 = apply %0<UIWindow>(%2, %1) : $@convention(method) <τ_0_0> (@thin Optional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 1
- %4 = load [take] %2 : $*Optional<UIWindow>, scope 1 // user: %6
- dealloc_stack %2 : $*Optional<UIWindow>, scope 1 // id: %5
- return %4 : $Optional<UIWindow>, scope 1 // id: %6
- } // end sil function '_TIvC3gpa11AppDelegate6windowGSqCSo8UIWindow_i'
- // Optional.init(nilLiteral : ()) -> A?
- sil [transparent] [fragile] @_TFSqCfT10nilLiteralT__GSqx_ : $@convention(method) <τ_0_0> (@thin Optional<τ_0_0>.Type) -> @out Optional<τ_0_0>
- sil_scope 2 { parent @_TToFC3gpa11AppDelegateg6windowGSqCSo8UIWindow_ : $@convention(objc_method) (AppDelegate) -> @autoreleased Optional<UIWindow> }
- // @objc AppDelegate.window.getter
- sil hidden [thunk] @_TToFC3gpa11AppDelegateg6windowGSqCSo8UIWindow_ : $@convention(objc_method) (AppDelegate) -> @autoreleased Optional<UIWindow> {
- // %0 // user: %1
- bb0(%0 : $AppDelegate):
- %1 = copy_value %0 : $AppDelegate, scope 2 // users: %4, %3
- // function_ref AppDelegate.window.getter
- %2 = function_ref @_TFC3gpa11AppDelegateg6windowGSqCSo8UIWindow_ : $@convention(method) (@guaranteed AppDelegate) -> @owned Optional<UIWindow>, scope 2 // user: %3
- %3 = apply %2(%1) : $@convention(method) (@guaranteed AppDelegate) -> @owned Optional<UIWindow>, scope 2 // user: %5
- destroy_value %1 : $AppDelegate, scope 2 // id: %4
- return %3 : $Optional<UIWindow>, scope 2 // id: %5
- } // end sil function '_TToFC3gpa11AppDelegateg6windowGSqCSo8UIWindow_'
- sil_scope 3 { loc "AppDelegate.swift":28:9 parent @_TFC3gpa11AppDelegateg6windowGSqCSo8UIWindow_ : $@convention(method) (@guaranteed AppDelegate) -> @owned Optional<UIWindow> }
- sil_scope 4 { loc "AppDelegate.swift":28:9 parent 3 }
- // AppDelegate.window.getter
- sil hidden @_TFC3gpa11AppDelegateg6windowGSqCSo8UIWindow_ : $@convention(method) (@guaranteed AppDelegate) -> @owned Optional<UIWindow> {
- // %0 // users: %2, %1
- bb0(%0 : $AppDelegate):
- debug_value %0 : $AppDelegate, let, name "self", argno 1, loc "AppDelegate.swift":28:9, scope 3 // id: %1
- %2 = ref_element_addr %0 : $AppDelegate, #AppDelegate.window, scope 4 // user: %3
- %3 = load [copy] %2 : $*Optional<UIWindow>, scope 4 // user: %4
- return %3 : $Optional<UIWindow>, loc "AppDelegate.swift":28:9, scope 4 // id: %4
- } // end sil function '_TFC3gpa11AppDelegateg6windowGSqCSo8UIWindow_'
- sil_scope 5 { parent @_TToFC3gpa11AppDelegates6windowGSqCSo8UIWindow_ : $@convention(objc_method) (Optional<UIWindow>, AppDelegate) -> () }
- // @objc AppDelegate.window.setter
- sil hidden [thunk] @_TToFC3gpa11AppDelegates6windowGSqCSo8UIWindow_ : $@convention(objc_method) (Optional<UIWindow>, AppDelegate) -> () {
- // %0 // user: %2
- // %1 // user: %3
- bb0(%0 : $Optional<UIWindow>, %1 : $AppDelegate):
- %2 = copy_value %0 : $Optional<UIWindow>, scope 5 // user: %5
- %3 = copy_value %1 : $AppDelegate, scope 5 // users: %6, %5
- // function_ref AppDelegate.window.setter
- %4 = function_ref @_TFC3gpa11AppDelegates6windowGSqCSo8UIWindow_ : $@convention(method) (@owned Optional<UIWindow>, @guaranteed AppDelegate) -> (), scope 5 // user: %5
- %5 = apply %4(%2, %3) : $@convention(method) (@owned Optional<UIWindow>, @guaranteed AppDelegate) -> (), scope 5 // user: %7
- destroy_value %3 : $AppDelegate, scope 5 // id: %6
- return %5 : $(), scope 5 // id: %7
- } // end sil function '_TToFC3gpa11AppDelegates6windowGSqCSo8UIWindow_'
- sil_scope 6 { loc "AppDelegate.swift":28:9 parent @_TFC3gpa11AppDelegates6windowGSqCSo8UIWindow_ : $@convention(method) (@owned Optional<UIWindow>, @guaranteed AppDelegate) -> () }
- sil_scope 7 { loc "AppDelegate.swift":28:9 parent 6 }
- // AppDelegate.window.setter
- sil hidden @_TFC3gpa11AppDelegates6windowGSqCSo8UIWindow_ : $@convention(method) (@owned Optional<UIWindow>, @guaranteed AppDelegate) -> () {
- // %0 // users: %7, %4, %2
- // %1 // users: %5, %3
- bb0(%0 : $Optional<UIWindow>, %1 : $AppDelegate):
- debug_value %0 : $Optional<UIWindow>, let, name "value", argno 1, loc "AppDelegate.swift":28:9, scope 6 // id: %2
- debug_value %1 : $AppDelegate, let, name "self", argno 2, loc "AppDelegate.swift":28:9, scope 6 // id: %3
- %4 = copy_value %0 : $Optional<UIWindow>, scope 7 // user: %6
- %5 = ref_element_addr %1 : $AppDelegate, #AppDelegate.window, scope 7 // user: %6
- assign %4 to %5 : $*Optional<UIWindow>, scope 7 // id: %6
- destroy_value %0 : $Optional<UIWindow>, loc "AppDelegate.swift":28:9, scope 7 // id: %7
- %8 = tuple (), loc "AppDelegate.swift":28:9, scope 7 // user: %9
- return %8 : $(), loc "AppDelegate.swift":28:9, scope 7 // id: %9
- } // end sil function '_TFC3gpa11AppDelegates6windowGSqCSo8UIWindow_'
- sil_scope 8 { loc "AppDelegate.swift":30:10 parent @_TFC3gpa11AppDelegate11applicationfTCSo13UIApplication29didFinishLaunchingWithOptionsGSqGVs10DictionaryVSC29UIApplicationLaunchOptionsKeyP____Sb : $@convention(method) (@owned UIApplication, @owned Optional<Dictionary<UIApplicationLaunchOptionsKey, Any>>, @guaranteed AppDelegate) -> Bool }
- sil_scope 9 { loc "AppDelegate.swift":33:5 parent 8 }
- // AppDelegate.application(UIApplication, didFinishLaunchingWithOptions : [UIApplicationLaunchOptionsKey : Any]?) -> Bool
- sil hidden @_TFC3gpa11AppDelegate11applicationfTCSo13UIApplication29didFinishLaunchingWithOptionsGSqGVs10DictionaryVSC29UIApplicationLaunchOptionsKeyP____Sb : $@convention(method) (@owned UIApplication, @owned Optional<Dictionary<UIApplicationLaunchOptionsKey, Any>>, @guaranteed AppDelegate) -> Bool {
- // %0 // users: %11, %3
- // %1 // users: %10, %4
- // %2 // user: %5
- bb0(%0 : $UIApplication, %1 : $Optional<Dictionary<UIApplicationLaunchOptionsKey, Any>>, %2 : $AppDelegate):
- debug_value %0 : $UIApplication, let, name "application", argno 1, loc "AppDelegate.swift":30:24, scope 8 // id: %3
- debug_value %1 : $Optional<Dictionary<UIApplicationLaunchOptionsKey, Any>>, let, name "launchOptions", argno 2, loc "AppDelegate.swift":30:82, scope 8 // id: %4
- debug_value %2 : $AppDelegate, let, name "self", argno 3, loc "AppDelegate.swift":30:10, scope 8 // id: %5
- // function_ref Bool.init(_builtinBooleanLiteral : Builtin.Int1) -> Bool
- %6 = function_ref @_TFSbCfT22_builtinBooleanLiteralBi1__Sb : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "AppDelegate.swift":32:16, scope 9 // user: %9
- %7 = metatype $@thin Bool.Type, loc "AppDelegate.swift":32:16, scope 9 // user: %9
- %8 = integer_literal $Builtin.Int1, -1, loc "AppDelegate.swift":32:16, scope 9 // user: %9
- %9 = apply %6(%8, %7) : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "AppDelegate.swift":32:16, scope 9 // user: %12
- destroy_value %1 : $Optional<Dictionary<UIApplicationLaunchOptionsKey, Any>>, loc "AppDelegate.swift":33:5, scope 9 // id: %10
- destroy_value %0 : $UIApplication, loc "AppDelegate.swift":33:5, scope 9 // id: %11
- return %9 : $Bool, loc "AppDelegate.swift":32:9, scope 9 // id: %12
- } // end sil function '_TFC3gpa11AppDelegate11applicationfTCSo13UIApplication29didFinishLaunchingWithOptionsGSqGVs10DictionaryVSC29UIApplicationLaunchOptionsKeyP____Sb'
- // Bool.init(_builtinBooleanLiteral : Builtin.Int1) -> Bool
- sil [transparent] [fragile] @_TFSbCfT22_builtinBooleanLiteralBi1__Sb : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool
- sil_scope 10 { loc "AppDelegate.swift":30:10 parent @_TToFC3gpa11AppDelegate11applicationfTCSo13UIApplication29didFinishLaunchingWithOptionsGSqGVs10DictionaryVSC29UIApplicationLaunchOptionsKeyP____Sb : $@convention(objc_method) (UIApplication, Optional<NSDictionary>, AppDelegate) -> ObjCBool }
- // @objc AppDelegate.application(UIApplication, didFinishLaunchingWithOptions : [UIApplicationLaunchOptionsKey : Any]?) -> Bool
- sil hidden [thunk] @_TToFC3gpa11AppDelegate11applicationfTCSo13UIApplication29didFinishLaunchingWithOptionsGSqGVs10DictionaryVSC29UIApplicationLaunchOptionsKeyP____Sb : $@convention(objc_method) (UIApplication, Optional<NSDictionary>, AppDelegate) -> ObjCBool {
- // %0 // user: %3
- // %1 // user: %4
- // %2 // user: %5
- bb0(%0 : $UIApplication, %1 : $Optional<NSDictionary>, %2 : $AppDelegate):
- %3 = copy_value %0 : $UIApplication, scope 10 // user: %21
- %4 = copy_value %1 : $Optional<NSDictionary>, scope 10 // users: %10, %8
- %5 = copy_value %2 : $AppDelegate, scope 10 // users: %22, %21
- %6 = integer_literal $Builtin.Int1, -1, scope 10 // user: %8
- %7 = integer_literal $Builtin.Int1, 0, scope 10 // user: %8
- %8 = select_enum %4 : $Optional<NSDictionary>, case #Optional.some!enumelt.1: %6, default %7 : $Builtin.Int1, scope 10 // user: %9
- cond_br %8, bb1, bb2, scope 10 // id: %9
- bb1: // Preds: bb0
- %10 = unchecked_enum_data %4 : $Optional<NSDictionary>, #Optional.some!enumelt.1, scope 10 // user: %12
- // function_ref static Dictionary._unconditionallyBridgeFromObjectiveC(NSDictionary?) -> [A : B]
- %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
- %12 = enum $Optional<NSDictionary>, #Optional.some!enumelt.1, %10 : $NSDictionary, scope 10 // user: %14
- %13 = metatype $@thin Dictionary<UIApplicationLaunchOptionsKey, Any>.Type, scope 10 // user: %14
- %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
- %15 = enum $Optional<Dictionary<UIApplicationLaunchOptionsKey, Any>>, #Optional.some!enumelt.1, %14 : $Dictionary<UIApplicationLaunchOptionsKey, Any>, scope 10 // user: %16
- br bb3(%15 : $Optional<Dictionary<UIApplicationLaunchOptionsKey, Any>>), scope 10 // id: %16
- bb2: // Preds: bb0
- %17 = enum $Optional<Dictionary<UIApplicationLaunchOptionsKey, Any>>, #Optional.none!enumelt, scope 10 // user: %18
- br bb3(%17 : $Optional<Dictionary<UIApplicationLaunchOptionsKey, Any>>), scope 10 // id: %18
- // %19 // user: %21
- bb3(%19 : $Optional<Dictionary<UIApplicationLaunchOptionsKey, Any>>): // Preds: bb2 bb1
- // function_ref AppDelegate.application(UIApplication, didFinishLaunchingWithOptions : [UIApplicationLaunchOptionsKey : Any]?) -> Bool
- %20 = function_ref @_TFC3gpa11AppDelegate11applicationfTCSo13UIApplication29didFinishLaunchingWithOptionsGSqGVs10DictionaryVSC29UIApplicationLaunchOptionsKeyP____Sb : $@convention(method) (@owned UIApplication, @owned Optional<Dictionary<UIApplicationLaunchOptionsKey, Any>>, @guaranteed AppDelegate) -> Bool, scope 10 // user: %21
- %21 = apply %20(%3, %19, %5) : $@convention(method) (@owned UIApplication, @owned Optional<Dictionary<UIApplicationLaunchOptionsKey, Any>>, @guaranteed AppDelegate) -> Bool, scope 10 // user: %24
- destroy_value %5 : $AppDelegate, scope 10 // id: %22
- // function_ref _convertBoolToObjCBool(Bool) -> ObjCBool
- %23 = function_ref @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool, scope 10 // user: %24
- %24 = apply %23(%21) : $@convention(thin) (Bool) -> ObjCBool, scope 10 // user: %25
- return %24 : $ObjCBool, scope 10 // id: %25
- } // end sil function '_TToFC3gpa11AppDelegate11applicationfTCSo13UIApplication29didFinishLaunchingWithOptionsGSqGVs10DictionaryVSC29UIApplicationLaunchOptionsKeyP____Sb'
- // static Dictionary._unconditionallyBridgeFromObjectiveC(NSDictionary?) -> [A : B]
- 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>
- // _convertBoolToObjCBool(Bool) -> ObjCBool
- sil @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool
- sil_scope 11 { loc "AppDelegate.swift":35:10 parent @_TFC3gpa11AppDelegate27applicationWillResignActivefCSo13UIApplicationT_ : $@convention(method) (@owned UIApplication, @guaranteed AppDelegate) -> () }
- sil_scope 12 { loc "AppDelegate.swift":38:5 parent 11 }
- // AppDelegate.applicationWillResignActive(UIApplication) -> ()
- sil hidden @_TFC3gpa11AppDelegate27applicationWillResignActivefCSo13UIApplicationT_ : $@convention(method) (@owned UIApplication, @guaranteed AppDelegate) -> () {
- // %0 // users: %4, %2
- // %1 // user: %3
- bb0(%0 : $UIApplication, %1 : $AppDelegate):
- debug_value %0 : $UIApplication, let, name "application", argno 1, loc "AppDelegate.swift":35:40, scope 11 // id: %2
- debug_value %1 : $AppDelegate, let, name "self", argno 2, loc "AppDelegate.swift":35:10, scope 11 // id: %3
- destroy_value %0 : $UIApplication, loc "AppDelegate.swift":38:5, scope 12 // id: %4
- %5 = tuple (), loc "AppDelegate.swift":38:5, scope 12 // user: %6
- return %5 : $(), loc "AppDelegate.swift":38:5, scope 12 // id: %6
- } // end sil function '_TFC3gpa11AppDelegate27applicationWillResignActivefCSo13UIApplicationT_'
- sil_scope 13 { loc "AppDelegate.swift":35:10 parent @_TToFC3gpa11AppDelegate27applicationWillResignActivefCSo13UIApplicationT_ : $@convention(objc_method) (UIApplication, AppDelegate) -> () }
- // @objc AppDelegate.applicationWillResignActive(UIApplication) -> ()
- sil hidden [thunk] @_TToFC3gpa11AppDelegate27applicationWillResignActivefCSo13UIApplicationT_ : $@convention(objc_method) (UIApplication, AppDelegate) -> () {
- // %0 // user: %2
- // %1 // user: %3
- bb0(%0 : $UIApplication, %1 : $AppDelegate):
- %2 = copy_value %0 : $UIApplication, scope 13 // user: %5
- %3 = copy_value %1 : $AppDelegate, scope 13 // users: %6, %5
- // function_ref AppDelegate.applicationWillResignActive(UIApplication) -> ()
- %4 = function_ref @_TFC3gpa11AppDelegate27applicationWillResignActivefCSo13UIApplicationT_ : $@convention(method) (@owned UIApplication, @guaranteed AppDelegate) -> (), scope 13 // user: %5
- %5 = apply %4(%2, %3) : $@convention(method) (@owned UIApplication, @guaranteed AppDelegate) -> (), scope 13 // user: %7
- destroy_value %3 : $AppDelegate, scope 13 // id: %6
- return %5 : $(), scope 13 // id: %7
- } // end sil function '_TToFC3gpa11AppDelegate27applicationWillResignActivefCSo13UIApplicationT_'
- sil_scope 14 { loc "AppDelegate.swift":40:10 parent @_TFC3gpa11AppDelegate29applicationDidEnterBackgroundfCSo13UIApplicationT_ : $@convention(method) (@owned UIApplication, @guaranteed AppDelegate) -> () }
- sil_scope 15 { loc "AppDelegate.swift":43:5 parent 14 }
- // AppDelegate.applicationDidEnterBackground(UIApplication) -> ()
- sil hidden @_TFC3gpa11AppDelegate29applicationDidEnterBackgroundfCSo13UIApplicationT_ : $@convention(method) (@owned UIApplication, @guaranteed AppDelegate) -> () {
- // %0 // users: %4, %2
- // %1 // user: %3
- bb0(%0 : $UIApplication, %1 : $AppDelegate):
- debug_value %0 : $UIApplication, let, name "application", argno 1, loc "AppDelegate.swift":40:42, scope 14 // id: %2
- debug_value %1 : $AppDelegate, let, name "self", argno 2, loc "AppDelegate.swift":40:10, scope 14 // id: %3
- destroy_value %0 : $UIApplication, loc "AppDelegate.swift":43:5, scope 15 // id: %4
- %5 = tuple (), loc "AppDelegate.swift":43:5, scope 15 // user: %6
- return %5 : $(), loc "AppDelegate.swift":43:5, scope 15 // id: %6
- } // end sil function '_TFC3gpa11AppDelegate29applicationDidEnterBackgroundfCSo13UIApplicationT_'
- sil_scope 16 { loc "AppDelegate.swift":40:10 parent @_TToFC3gpa11AppDelegate29applicationDidEnterBackgroundfCSo13UIApplicationT_ : $@convention(objc_method) (UIApplication, AppDelegate) -> () }
- // @objc AppDelegate.applicationDidEnterBackground(UIApplication) -> ()
- sil hidden [thunk] @_TToFC3gpa11AppDelegate29applicationDidEnterBackgroundfCSo13UIApplicationT_ : $@convention(objc_method) (UIApplication, AppDelegate) -> () {
- // %0 // user: %2
- // %1 // user: %3
- bb0(%0 : $UIApplication, %1 : $AppDelegate):
- %2 = copy_value %0 : $UIApplication, scope 16 // user: %5
- %3 = copy_value %1 : $AppDelegate, scope 16 // users: %6, %5
- // function_ref AppDelegate.applicationDidEnterBackground(UIApplication) -> ()
- %4 = function_ref @_TFC3gpa11AppDelegate29applicationDidEnterBackgroundfCSo13UIApplicationT_ : $@convention(method) (@owned UIApplication, @guaranteed AppDelegate) -> (), scope 16 // user: %5
- %5 = apply %4(%2, %3) : $@convention(method) (@owned UIApplication, @guaranteed AppDelegate) -> (), scope 16 // user: %7
- destroy_value %3 : $AppDelegate, scope 16 // id: %6
- return %5 : $(), scope 16 // id: %7
- } // end sil function '_TToFC3gpa11AppDelegate29applicationDidEnterBackgroundfCSo13UIApplicationT_'
- sil_scope 17 { loc "AppDelegate.swift":45:10 parent @_TFC3gpa11AppDelegate30applicationWillEnterForegroundfCSo13UIApplicationT_ : $@convention(method) (@owned UIApplication, @guaranteed AppDelegate) -> () }
- sil_scope 18 { loc "AppDelegate.swift":47:5 parent 17 }
- // AppDelegate.applicationWillEnterForeground(UIApplication) -> ()
- sil hidden @_TFC3gpa11AppDelegate30applicationWillEnterForegroundfCSo13UIApplicationT_ : $@convention(method) (@owned UIApplication, @guaranteed AppDelegate) -> () {
- // %0 // users: %4, %2
- // %1 // user: %3
- bb0(%0 : $UIApplication, %1 : $AppDelegate):
- debug_value %0 : $UIApplication, let, name "application", argno 1, loc "AppDelegate.swift":45:43, scope 17 // id: %2
- debug_value %1 : $AppDelegate, let, name "self", argno 2, loc "AppDelegate.swift":45:10, scope 17 // id: %3
- destroy_value %0 : $UIApplication, loc "AppDelegate.swift":47:5, scope 18 // id: %4
- %5 = tuple (), loc "AppDelegate.swift":47:5, scope 18 // user: %6
- return %5 : $(), loc "AppDelegate.swift":47:5, scope 18 // id: %6
- } // end sil function '_TFC3gpa11AppDelegate30applicationWillEnterForegroundfCSo13UIApplicationT_'
- sil_scope 19 { loc "AppDelegate.swift":45:10 parent @_TToFC3gpa11AppDelegate30applicationWillEnterForegroundfCSo13UIApplicationT_ : $@convention(objc_method) (UIApplication, AppDelegate) -> () }
- // @objc AppDelegate.applicationWillEnterForeground(UIApplication) -> ()
- sil hidden [thunk] @_TToFC3gpa11AppDelegate30applicationWillEnterForegroundfCSo13UIApplicationT_ : $@convention(objc_method) (UIApplication, AppDelegate) -> () {
- // %0 // user: %2
- // %1 // user: %3
- bb0(%0 : $UIApplication, %1 : $AppDelegate):
- %2 = copy_value %0 : $UIApplication, scope 19 // user: %5
- %3 = copy_value %1 : $AppDelegate, scope 19 // users: %6, %5
- // function_ref AppDelegate.applicationWillEnterForeground(UIApplication) -> ()
- %4 = function_ref @_TFC3gpa11AppDelegate30applicationWillEnterForegroundfCSo13UIApplicationT_ : $@convention(method) (@owned UIApplication, @guaranteed AppDelegate) -> (), scope 19 // user: %5
- %5 = apply %4(%2, %3) : $@convention(method) (@owned UIApplication, @guaranteed AppDelegate) -> (), scope 19 // user: %7
- destroy_value %3 : $AppDelegate, scope 19 // id: %6
- return %5 : $(), scope 19 // id: %7
- } // end sil function '_TToFC3gpa11AppDelegate30applicationWillEnterForegroundfCSo13UIApplicationT_'
- sil_scope 20 { loc "AppDelegate.swift":49:10 parent @_TFC3gpa11AppDelegate26applicationDidBecomeActivefCSo13UIApplicationT_ : $@convention(method) (@owned UIApplication, @guaranteed AppDelegate) -> () }
- sil_scope 21 { loc "AppDelegate.swift":51:5 parent 20 }
- // AppDelegate.applicationDidBecomeActive(UIApplication) -> ()
- sil hidden @_TFC3gpa11AppDelegate26applicationDidBecomeActivefCSo13UIApplicationT_ : $@convention(method) (@owned UIApplication, @guaranteed AppDelegate) -> () {
- // %0 // users: %4, %2
- // %1 // user: %3
- bb0(%0 : $UIApplication, %1 : $AppDelegate):
- debug_value %0 : $UIApplication, let, name "application", argno 1, loc "AppDelegate.swift":49:39, scope 20 // id: %2
- debug_value %1 : $AppDelegate, let, name "self", argno 2, loc "AppDelegate.swift":49:10, scope 20 // id: %3
- destroy_value %0 : $UIApplication, loc "AppDelegate.swift":51:5, scope 21 // id: %4
- %5 = tuple (), loc "AppDelegate.swift":51:5, scope 21 // user: %6
- return %5 : $(), loc "AppDelegate.swift":51:5, scope 21 // id: %6
- } // end sil function '_TFC3gpa11AppDelegate26applicationDidBecomeActivefCSo13UIApplicationT_'
- sil_scope 22 { loc "AppDelegate.swift":49:10 parent @_TToFC3gpa11AppDelegate26applicationDidBecomeActivefCSo13UIApplicationT_ : $@convention(objc_method) (UIApplication, AppDelegate) -> () }
- // @objc AppDelegate.applicationDidBecomeActive(UIApplication) -> ()
- sil hidden [thunk] @_TToFC3gpa11AppDelegate26applicationDidBecomeActivefCSo13UIApplicationT_ : $@convention(objc_method) (UIApplication, AppDelegate) -> () {
- // %0 // user: %2
- // %1 // user: %3
- bb0(%0 : $UIApplication, %1 : $AppDelegate):
- %2 = copy_value %0 : $UIApplication, scope 22 // user: %5
- %3 = copy_value %1 : $AppDelegate, scope 22 // users: %6, %5
- // function_ref AppDelegate.applicationDidBecomeActive(UIApplication) -> ()
- %4 = function_ref @_TFC3gpa11AppDelegate26applicationDidBecomeActivefCSo13UIApplicationT_ : $@convention(method) (@owned UIApplication, @guaranteed AppDelegate) -> (), scope 22 // user: %5
- %5 = apply %4(%2, %3) : $@convention(method) (@owned UIApplication, @guaranteed AppDelegate) -> (), scope 22 // user: %7
- destroy_value %3 : $AppDelegate, scope 22 // id: %6
- return %5 : $(), scope 22 // id: %7
- } // end sil function '_TToFC3gpa11AppDelegate26applicationDidBecomeActivefCSo13UIApplicationT_'
- sil_scope 23 { loc "AppDelegate.swift":53:10 parent @_TFC3gpa11AppDelegate24applicationWillTerminatefCSo13UIApplicationT_ : $@convention(method) (@owned UIApplication, @guaranteed AppDelegate) -> () }
- sil_scope 24 { loc "AppDelegate.swift":55:5 parent 23 }
- // AppDelegate.applicationWillTerminate(UIApplication) -> ()
- sil hidden @_TFC3gpa11AppDelegate24applicationWillTerminatefCSo13UIApplicationT_ : $@convention(method) (@owned UIApplication, @guaranteed AppDelegate) -> () {
- // %0 // users: %4, %2
- // %1 // user: %3
- bb0(%0 : $UIApplication, %1 : $AppDelegate):
- debug_value %0 : $UIApplication, let, name "application", argno 1, loc "AppDelegate.swift":53:37, scope 23 // id: %2
- debug_value %1 : $AppDelegate, let, name "self", argno 2, loc "AppDelegate.swift":53:10, scope 23 // id: %3
- destroy_value %0 : $UIApplication, loc "AppDelegate.swift":55:5, scope 24 // id: %4
- %5 = tuple (), loc "AppDelegate.swift":55:5, scope 24 // user: %6
- return %5 : $(), loc "AppDelegate.swift":55:5, scope 24 // id: %6
- } // end sil function '_TFC3gpa11AppDelegate24applicationWillTerminatefCSo13UIApplicationT_'
- sil_scope 25 { loc "AppDelegate.swift":53:10 parent @_TToFC3gpa11AppDelegate24applicationWillTerminatefCSo13UIApplicationT_ : $@convention(objc_method) (UIApplication, AppDelegate) -> () }
- // @objc AppDelegate.applicationWillTerminate(UIApplication) -> ()
- sil hidden [thunk] @_TToFC3gpa11AppDelegate24applicationWillTerminatefCSo13UIApplicationT_ : $@convention(objc_method) (UIApplication, AppDelegate) -> () {
- // %0 // user: %2
- // %1 // user: %3
- bb0(%0 : $UIApplication, %1 : $AppDelegate):
- %2 = copy_value %0 : $UIApplication, scope 25 // user: %5
- %3 = copy_value %1 : $AppDelegate, scope 25 // users: %6, %5
- // function_ref AppDelegate.applicationWillTerminate(UIApplication) -> ()
- %4 = function_ref @_TFC3gpa11AppDelegate24applicationWillTerminatefCSo13UIApplicationT_ : $@convention(method) (@owned UIApplication, @guaranteed AppDelegate) -> (), scope 25 // user: %5
- %5 = apply %4(%2, %3) : $@convention(method) (@owned UIApplication, @guaranteed AppDelegate) -> (), scope 25 // user: %7
- destroy_value %3 : $AppDelegate, scope 25 // id: %6
- return %5 : $(), scope 25 // id: %7
- } // end sil function '_TToFC3gpa11AppDelegate24applicationWillTerminatefCSo13UIApplicationT_'
- sil_scope 26 { loc "AppDelegate.swift":26:7 parent @_TFC3gpa11AppDelegateD : $@convention(method) (@owned AppDelegate) -> () }
- sil_scope 27 { loc "AppDelegate.swift":26:7 parent 26 }
- // AppDelegate.__deallocating_deinit
- sil hidden @_TFC3gpa11AppDelegateD : $@convention(method) (@owned AppDelegate) -> () {
- // %0 // users: %3, %2, %1
- bb0(%0 : $AppDelegate):
- debug_value %0 : $AppDelegate, let, name "self", argno 1, loc "AppDelegate.swift":26:7, scope 26 // id: %1
- %2 = super_method %0 : $AppDelegate, #UIResponder.deinit!deallocator.foreign : (UIResponder) -> () -> () , $@convention(objc_method) (UIResponder) -> (), scope 27 // user: %4
- %3 = upcast %0 : $AppDelegate to $UIResponder, scope 27 // user: %4
- %4 = apply %2(%3) : $@convention(objc_method) (UIResponder) -> (), scope 27
- %5 = tuple (), scope 27 // user: %6
- return %5 : $(), scope 27 // id: %6
- } // end sil function '_TFC3gpa11AppDelegateD'
- sil_scope 28 { loc "AppDelegate.swift":26:7 parent @_TToFC3gpa11AppDelegateE : $@convention(objc_method) (AppDelegate) -> () }
- // @objc AppDelegate.__ivar_destroyer
- sil hidden @_TToFC3gpa11AppDelegateE : $@convention(objc_method) (AppDelegate) -> () {
- // %0 // users: %2, %1
- bb0(%0 : $AppDelegate):
- debug_value %0 : $AppDelegate, let, name "self", argno 1, loc "AppDelegate.swift":26:7, scope 28 // id: %1
- %2 = ref_element_addr %0 : $AppDelegate, #AppDelegate.window, scope 28 // user: %3
- destroy_addr %2 : $*Optional<UIWindow>, scope 28 // id: %3
- %4 = tuple (), scope 28 // user: %5
- return %4 : $(), scope 28 // id: %5
- } // end sil function '_TToFC3gpa11AppDelegateE'
- sil_scope 29 { loc "AppDelegate.swift":28:9 parent @_TFC3gpa11AppDelegatem6windowGSqCSo8UIWindow_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed AppDelegate) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) }
- // AppDelegate.window.materializeForSet
- sil hidden @_TFC3gpa11AppDelegatem6windowGSqCSo8UIWindow_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed AppDelegate) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) {
- // %2 // user: %3
- bb0(%0 : $Builtin.RawPointer, %1 : $*Builtin.UnsafeValueBuffer, %2 : $AppDelegate):
- %3 = ref_element_addr %2 : $AppDelegate, #AppDelegate.window, scope 29 // user: %4
- %4 = address_to_pointer %3 : $*Optional<UIWindow> to $Builtin.RawPointer, scope 29 // user: %6
- %5 = enum $Optional<Builtin.RawPointer>, #Optional.none!enumelt, scope 29 // user: %6
- %6 = tuple (%4 : $Builtin.RawPointer, %5 : $Optional<Builtin.RawPointer>), scope 29 // user: %7
- return %6 : $(Builtin.RawPointer, Optional<Builtin.RawPointer>), scope 29 // id: %7
- } // end sil function '_TFC3gpa11AppDelegatem6windowGSqCSo8UIWindow_'
- sil_scope 30 { loc "AppDelegate.swift":26:55 parent @_TFC3gpa11AppDelegatecfT_S0_ : $@convention(method) (@owned AppDelegate) -> @owned AppDelegate }
- sil_scope 31 { parent 30 }
- // AppDelegate.init() -> AppDelegate
- sil hidden @_TFC3gpa11AppDelegatecfT_S0_ : $@convention(method) (@owned AppDelegate) -> @owned AppDelegate {
- // %0 // user: %4
- bb0(%0 : $AppDelegate):
- %1 = alloc_box ${ var AppDelegate }, let, name "self", scope 30 // users: %17, %2
- %2 = project_box %1 : ${ var AppDelegate }, 0, scope 30 // user: %3
- %3 = mark_uninitialized [derivedself] %2 : $*AppDelegate, scope 30 // users: %16, %15, %10, %7, %4
- store %0 to [init] %3 : $*AppDelegate, loc "AppDelegate.swift":26:55, scope 30 // id: %4
- // function_ref AppDelegate.(window).(variable initialization expression)
- %5 = function_ref @_TIvC3gpa11AppDelegate6windowGSqCSo8UIWindow_i : $@convention(thin) () -> @owned Optional<UIWindow>, scope 30 // user: %6
- %6 = apply %5() : $@convention(thin) () -> @owned Optional<UIWindow>, scope 30 // user: %9
- %7 = load_borrow %3 : $*AppDelegate, loc "AppDelegate.swift":28:9, scope 30 // user: %8
- %8 = ref_element_addr %7 : $AppDelegate, #AppDelegate.window, loc "AppDelegate.swift":28:9, scope 30 // user: %9
- assign %6 to %8 : $*Optional<UIWindow>, loc "AppDelegate.swift":28:9, scope 30 // id: %9
- %10 = load_borrow %3 : $*AppDelegate, scope 31 // users: %12, %11
- %11 = upcast %10 : $AppDelegate to $UIResponder, scope 31 // user: %13
- %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
- %13 = apply %12(%11) : $@convention(objc_method) (@owned UIResponder) -> @owned UIResponder, scope 31 // user: %14
- %14 = unchecked_ref_cast %13 : $UIResponder to $AppDelegate, scope 31 // user: %15
- store %14 to [init] %3 : $*AppDelegate, scope 31 // id: %15
- %16 = load [copy] %3 : $*AppDelegate, loc "AppDelegate.swift":26:55, scope 31 // user: %18
- destroy_value %1 : ${ var AppDelegate }, loc "AppDelegate.swift":26:55, scope 31 // id: %17
- return %16 : $AppDelegate, loc "AppDelegate.swift":26:55, scope 31 // id: %18
- } // end sil function '_TFC3gpa11AppDelegatecfT_S0_'
- sil_scope 32 { loc "AppDelegate.swift":26:55 parent @_TFC3gpa11AppDelegateCfT_S0_ : $@convention(method) (@thick AppDelegate.Type) -> @owned AppDelegate }
- // AppDelegate.__allocating_init() -> AppDelegate
- sil hidden @_TFC3gpa11AppDelegateCfT_S0_ : $@convention(method) (@thick AppDelegate.Type) -> @owned AppDelegate {
- bb0(%0 : $@thick AppDelegate.Type):
- %1 = alloc_ref [objc] $AppDelegate, scope 32 // user: %3
- // function_ref AppDelegate.init() -> AppDelegate
- %2 = function_ref @_TFC3gpa11AppDelegatecfT_S0_ : $@convention(method) (@owned AppDelegate) -> @owned AppDelegate, scope 32 // user: %3
- %3 = apply %2(%1) : $@convention(method) (@owned AppDelegate) -> @owned AppDelegate, scope 32 // user: %4
- return %3 : $AppDelegate, scope 32 // id: %4
- } // end sil function '_TFC3gpa11AppDelegateCfT_S0_'
- sil_scope 33 { loc "AppDelegate.swift":26:55 parent @_TToFC3gpa11AppDelegatecfT_S0_ : $@convention(objc_method) (@owned AppDelegate) -> @owned AppDelegate }
- // @objc AppDelegate.init() -> AppDelegate
- sil hidden [thunk] @_TToFC3gpa11AppDelegatecfT_S0_ : $@convention(objc_method) (@owned AppDelegate) -> @owned AppDelegate {
- // %0 // user: %2
- bb0(%0 : $AppDelegate):
- // function_ref AppDelegate.init() -> AppDelegate
- %1 = function_ref @_TFC3gpa11AppDelegatecfT_S0_ : $@convention(method) (@owned AppDelegate) -> @owned AppDelegate, scope 33 // user: %2
- %2 = apply %1(%0) : $@convention(method) (@owned AppDelegate) -> @owned AppDelegate, scope 33 // user: %3
- return %2 : $AppDelegate, scope 33 // id: %3
- } // end sil function '_TToFC3gpa11AppDelegatecfT_S0_'
- sil_scope 34 { parent @main : $@convention(c) (Int32, UnsafeMutablePointer<Optional<UnsafeMutablePointer<Int8>>>) -> Int32 }
- // main
- sil @main : $@convention(c) (Int32, UnsafeMutablePointer<Optional<UnsafeMutablePointer<Int8>>>) -> Int32 {
- // %0 // user: %15
- // %1 // user: %8
- bb0(%0 : $Int32, %1 : $UnsafeMutablePointer<Optional<UnsafeMutablePointer<Int8>>>):
- // function_ref NSStringFromClass
- %2 = function_ref @NSStringFromClass : $@convention(c) (@objc_metatype AnyObject.Type) -> @autoreleased Optional<NSString>, loc "AppDelegate.swift":26:7, scope 34 // user: %5
- %3 = metatype $@objc_metatype AppDelegate.Type, loc "AppDelegate.swift":26:7, scope 34 // user: %4
- %4 = init_existential_metatype %3 : $@objc_metatype AppDelegate.Type, $@objc_metatype AnyObject.Type, loc "AppDelegate.swift":26:7, scope 34 // user: %5
- %5 = apply %2(%4) : $@convention(c) (@objc_metatype AnyObject.Type) -> @autoreleased Optional<NSString>, loc "AppDelegate.swift":26:7, scope 34 // user: %15
- %6 = enum $Optional<NSString>, #Optional.none!enumelt, loc "AppDelegate.swift":26:7, scope 34 // user: %15
- %7 = alloc_stack $UnsafeMutablePointer<Optional<UnsafeMutablePointer<Int8>>>, loc "AppDelegate.swift":26:7, scope 34 // users: %19, %11, %8
- store %1 to [trivial] %7 : $*UnsafeMutablePointer<Optional<UnsafeMutablePointer<Int8>>>, loc "AppDelegate.swift":26:7, scope 34 // id: %8
- // function_ref _convertPointerToPointerArgument<A, B where ...> (A) -> B
- %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
- %10 = alloc_stack $UnsafeMutablePointer<UnsafeMutablePointer<Int8>>, loc "AppDelegate.swift":26:7, scope 34 // users: %18, %12, %11
- %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
- %12 = load [trivial] %10 : $*UnsafeMutablePointer<UnsafeMutablePointer<Int8>>, loc "AppDelegate.swift":26:7, scope 34 // user: %13
- %13 = enum $Optional<UnsafeMutablePointer<UnsafeMutablePointer<Int8>>>, #Optional.some!enumelt.1, %12 : $UnsafeMutablePointer<UnsafeMutablePointer<Int8>>, loc "AppDelegate.swift":26:7, scope 34 // user: %15
- // function_ref UIApplicationMain
- %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
- %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
- %16 = integer_literal $Builtin.Int32, 0, loc "AppDelegate.swift":26:7, scope 34 // user: %17
- %17 = struct $Int32 (%16 : $Builtin.Int32), loc "AppDelegate.swift":26:7, scope 34 // user: %20
- dealloc_stack %10 : $*UnsafeMutablePointer<UnsafeMutablePointer<Int8>>, loc "AppDelegate.swift":56:1, scope 34 // id: %18
- dealloc_stack %7 : $*UnsafeMutablePointer<Optional<UnsafeMutablePointer<Int8>>>, loc "AppDelegate.swift":56:1, scope 34 // id: %19
- return %17 : $Int32, loc "AppDelegate.swift":26:7, scope 34 // id: %20
- } // end sil function 'main'
- // UIApplicationMain
- sil [clang UIApplicationMain] @UIApplicationMain : $@convention(c) (Int32, Optional<UnsafeMutablePointer<UnsafeMutablePointer<Int8>>>, Optional<NSString>, Optional<NSString>) -> Int32
- // NSStringFromClass
- sil [transparent] @NSStringFromClass : $@convention(c) (@objc_metatype AnyObject.Type) -> @autoreleased Optional<NSString>
- // _convertPointerToPointerArgument<A, B where ...> (A) -> B
- 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
- sil_scope 35 { parent @_TFVSC29UIApplicationLaunchOptionsKeyg8rawValueSS : $@convention(method) (@guaranteed UIApplicationLaunchOptionsKey) -> @owned String }
- sil_scope 36 { parent 35 }
- // UIApplicationLaunchOptionsKey.rawValue.getter
- sil shared @_TFVSC29UIApplicationLaunchOptionsKeyg8rawValueSS : $@convention(method) (@guaranteed UIApplicationLaunchOptionsKey) -> @owned String {
- // %0 // users: %3, %1
- bb0(%0 : $UIApplicationLaunchOptionsKey):
- debug_value %0 : $UIApplicationLaunchOptionsKey, let, name "self", argno 1, scope 35 // id: %1
- // function_ref _forceBridgeFromObjectiveC_bridgeable
- %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
- %3 = struct_extract %0 : $UIApplicationLaunchOptionsKey, #UIApplicationLaunchOptionsKey._rawValue, scope 36 // user: %4
- %4 = copy_value %3 : $NSString, scope 36 // user: %8
- %5 = metatype $@thin String.Type, scope 36
- %6 = metatype $@thick String.Type, scope 36 // user: %8
- %7 = alloc_stack $String, scope 36 // users: %10, %9, %8
- %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
- %9 = load [take] %7 : $*String, scope 36 // user: %11
- dealloc_stack %7 : $*String, scope 36 // id: %10
- return %9 : $String, scope 36 // id: %11
- } // end sil function '_TFVSC29UIApplicationLaunchOptionsKeyg8rawValueSS'
- sil_scope 37 { parent @_TTWVSC29UIApplicationLaunchOptionsKeys9_Hashable5UIKitFS0_14_toAnyHashablefT_Vs11AnyHashable : $@convention(witness_method) (@in_guaranteed UIApplicationLaunchOptionsKey) -> @out AnyHashable }
- // protocol witness for _Hashable._toAnyHashable() -> AnyHashable in conformance UIApplicationLaunchOptionsKey
- sil shared [transparent] [thunk] @_TTWVSC29UIApplicationLaunchOptionsKeys9_Hashable5UIKitFS0_14_toAnyHashablefT_Vs11AnyHashable : $@convention(witness_method) (@in_guaranteed UIApplicationLaunchOptionsKey) -> @out AnyHashable {
- // %0 // user: %5
- // %1 // user: %3
- bb0(%0 : $*AnyHashable, %1 : $*UIApplicationLaunchOptionsKey):
- %2 = alloc_stack $UIApplicationLaunchOptionsKey, scope 37 // users: %8, %7, %5, %3
- copy_addr %1 to [initialization] %2 : $*UIApplicationLaunchOptionsKey, scope 37 // id: %3
- // function_ref Hashable._toAnyHashable() -> AnyHashable
- %4 = function_ref @_TFEsPs8Hashable14_toAnyHashablefT_Vs11AnyHashable : $@convention(method) <τ_0_0 where τ_0_0 : Hashable> (@in_guaranteed τ_0_0) -> @out AnyHashable, scope 37 // user: %5
- %5 = apply %4<UIApplicationLaunchOptionsKey>(%0, %2) : $@convention(method) <τ_0_0 where τ_0_0 : Hashable> (@in_guaranteed τ_0_0) -> @out AnyHashable, scope 37
- %6 = tuple (), scope 37 // user: %9
- destroy_addr %2 : $*UIApplicationLaunchOptionsKey, scope 37 // id: %7
- dealloc_stack %2 : $*UIApplicationLaunchOptionsKey, scope 37 // id: %8
- return %6 : $(), scope 37 // id: %9
- } // end sil function '_TTWVSC29UIApplicationLaunchOptionsKeys9_Hashable5UIKitFS0_14_toAnyHashablefT_Vs11AnyHashable'
- // Hashable._toAnyHashable() -> AnyHashable
- sil @_TFEsPs8Hashable14_toAnyHashablefT_Vs11AnyHashable : $@convention(method) <τ_0_0 where τ_0_0 : Hashable> (@in_guaranteed τ_0_0) -> @out AnyHashable
- sil_scope 38 { parent @_TTWVSC29UIApplicationLaunchOptionsKeys9Equatable5UIKitZFS0_oi2eefTxx_Sb : $@convention(witness_method) (@in UIApplicationLaunchOptionsKey, @in UIApplicationLaunchOptionsKey, @thick UIApplicationLaunchOptionsKey.Type) -> Bool }
- // protocol witness for static Equatable.== infix(A, A) -> Bool in conformance UIApplicationLaunchOptionsKey
- sil shared [transparent] [thunk] @_TTWVSC29UIApplicationLaunchOptionsKeys9Equatable5UIKitZFS0_oi2eefTxx_Sb : $@convention(witness_method) (@in UIApplicationLaunchOptionsKey, @in UIApplicationLaunchOptionsKey, @thick UIApplicationLaunchOptionsKey.Type) -> Bool {
- // %0 // user: %4
- // %1 // user: %4
- bb0(%0 : $*UIApplicationLaunchOptionsKey, %1 : $*UIApplicationLaunchOptionsKey, %2 : $@thick UIApplicationLaunchOptionsKey.Type):
- // function_ref == infix<A where ...> (A, A) -> Bool
- %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
- %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
- return %4 : $Bool, scope 38 // id: %5
- } // end sil function '_TTWVSC29UIApplicationLaunchOptionsKeys9Equatable5UIKitZFS0_oi2eefTxx_Sb'
- // == infix<A where ...> (A, A) -> Bool
- sil @_TFsoi2eeuRxs16RawRepresentablewx8RawValues9EquatablerFTxx_Sb : $@convention(thin) <τ_0_0 where τ_0_0 : RawRepresentable, τ_0_0.RawValue : Equatable> (@in τ_0_0, @in τ_0_0) -> Bool
- sil_scope 39 { parent @_TTWVSC29UIApplicationLaunchOptionsKeys8Hashable5UIKitFS0_g9hashValueSi : $@convention(witness_method) (@in_guaranteed UIApplicationLaunchOptionsKey) -> Int }
- // protocol witness for Hashable.hashValue.getter in conformance UIApplicationLaunchOptionsKey
- sil shared [transparent] [thunk] @_TTWVSC29UIApplicationLaunchOptionsKeys8Hashable5UIKitFS0_g9hashValueSi : $@convention(witness_method) (@in_guaranteed UIApplicationLaunchOptionsKey) -> Int {
- // %0 // user: %2
- bb0(%0 : $*UIApplicationLaunchOptionsKey):
- %1 = alloc_stack $UIApplicationLaunchOptionsKey, scope 39 // users: %6, %5, %4, %2
- copy_addr %0 to [initialization] %1 : $*UIApplicationLaunchOptionsKey, scope 39 // id: %2
- // function_ref _SwiftNewtypeWrapper<A where ...>.hashValue.getter
- %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
- %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
- destroy_addr %1 : $*UIApplicationLaunchOptionsKey, scope 39 // id: %5
- dealloc_stack %1 : $*UIApplicationLaunchOptionsKey, scope 39 // id: %6
- return %4 : $Int, scope 39 // id: %7
- } // end sil function '_TTWVSC29UIApplicationLaunchOptionsKeys8Hashable5UIKitFS0_g9hashValueSi'
- // _SwiftNewtypeWrapper<A where ...>.hashValue.getter
- sil @_TFesRxs20_SwiftNewtypeWrapperwx8RawValues8HashablerS_g9hashValueSi : $@convention(method) <τ_0_0 where τ_0_0 : _SwiftNewtypeWrapper, τ_0_0.RawValue : Hashable> (@in_guaranteed τ_0_0) -> Int
- sil_scope 40 { parent @_TTWVSC29UIApplicationLaunchOptionsKeys16RawRepresentable5UIKitFS0_CfT8rawValuewx8RawValue_GSqx_ : $@convention(witness_method) (@in String, @thick UIApplicationLaunchOptionsKey.Type) -> @out Optional<UIApplicationLaunchOptionsKey> }
- // protocol witness for RawRepresentable.init(rawValue : A.RawValue) -> A? in conformance UIApplicationLaunchOptionsKey
- sil shared [transparent] [fragile] [thunk] @_TTWVSC29UIApplicationLaunchOptionsKeys16RawRepresentable5UIKitFS0_CfT8rawValuewx8RawValue_GSqx_ : $@convention(witness_method) (@in String, @thick UIApplicationLaunchOptionsKey.Type) -> @out Optional<UIApplicationLaunchOptionsKey> {
- // %0 // user: %8
- // %1 // user: %3
- bb0(%0 : $*Optional<UIApplicationLaunchOptionsKey>, %1 : $*String, %2 : $@thick UIApplicationLaunchOptionsKey.Type):
- %3 = load [take] %1 : $*String, scope 40 // user: %6
- %4 = metatype $@thin UIApplicationLaunchOptionsKey.Type, scope 40 // user: %6
- // function_ref UIApplicationLaunchOptionsKey.init(rawValue : String) -> UIApplicationLaunchOptionsKey
- %5 = function_ref @_TFVSC29UIApplicationLaunchOptionsKeyCfT8rawValueSS_S_ : $@convention(method) (@owned String, @thin UIApplicationLaunchOptionsKey.Type) -> @owned UIApplicationLaunchOptionsKey, scope 40 // user: %6
- %6 = apply %5(%3, %4) : $@convention(method) (@owned String, @thin UIApplicationLaunchOptionsKey.Type) -> @owned UIApplicationLaunchOptionsKey, scope 40 // user: %7
- %7 = enum $Optional<UIApplicationLaunchOptionsKey>, #Optional.some!enumelt.1, %6 : $UIApplicationLaunchOptionsKey, scope 40 // user: %8
- store %7 to [init] %0 : $*Optional<UIApplicationLaunchOptionsKey>, scope 40 // id: %8
- %9 = tuple (), scope 40 // user: %10
- return %9 : $(), scope 40 // id: %10
- } // end sil function '_TTWVSC29UIApplicationLaunchOptionsKeys16RawRepresentable5UIKitFS0_CfT8rawValuewx8RawValue_GSqx_'
- sil_scope 41 { parent @_TFVSC29UIApplicationLaunchOptionsKeyCfT8rawValueSS_S_ : $@convention(method) (@owned String, @thin UIApplicationLaunchOptionsKey.Type) -> @owned UIApplicationLaunchOptionsKey }
- sil_scope 42 { parent 41 }
- // UIApplicationLaunchOptionsKey.init(rawValue : String) -> UIApplicationLaunchOptionsKey
- sil shared [transparent] [fragile] @_TFVSC29UIApplicationLaunchOptionsKeyCfT8rawValueSS_S_ : $@convention(method) (@owned String, @thin UIApplicationLaunchOptionsKey.Type) -> @owned UIApplicationLaunchOptionsKey {
- // %0 // users: %11, %7, %5
- bb0(%0 : $String, %1 : $@thin UIApplicationLaunchOptionsKey.Type):
- %2 = alloc_box ${ var UIApplicationLaunchOptionsKey }, var, name "self", scope 41 // users: %12, %3
- %3 = project_box %2 : ${ var UIApplicationLaunchOptionsKey }, 0, scope 41 // user: %4
- %4 = mark_uninitialized [rootself] %3 : $*UIApplicationLaunchOptionsKey, scope 41 // users: %10, %8
- debug_value %0 : $String, let, name "rawValue", argno 1, scope 41 // id: %5
- // function_ref String._bridgeToObjectiveC() -> NSString
- %6 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, scope 42 // user: %7
- %7 = apply %6(%0) : $@convention(method) (@guaranteed String) -> @owned NSString, scope 42 // user: %9
- %8 = struct_element_addr %4 : $*UIApplicationLaunchOptionsKey, #UIApplicationLaunchOptionsKey._rawValue, scope 42 // user: %9
- assign %7 to %8 : $*NSString, scope 42 // id: %9
- %10 = load [copy] %4 : $*UIApplicationLaunchOptionsKey, scope 42 // user: %13
- destroy_value %0 : $String, scope 42 // id: %11
- destroy_value %2 : ${ var UIApplicationLaunchOptionsKey }, scope 42 // id: %12
- return %10 : $UIApplicationLaunchOptionsKey, scope 42 // id: %13
- } // end sil function '_TFVSC29UIApplicationLaunchOptionsKeyCfT8rawValueSS_S_'
- sil_scope 43 { parent @_TTWVSC29UIApplicationLaunchOptionsKeys16RawRepresentable5UIKitFS0_g8rawValuewx8RawValue : $@convention(witness_method) (@in_guaranteed UIApplicationLaunchOptionsKey) -> @out String }
- // protocol witness for RawRepresentable.rawValue.getter in conformance UIApplicationLaunchOptionsKey
- sil shared [transparent] [thunk] @_TTWVSC29UIApplicationLaunchOptionsKeys16RawRepresentable5UIKitFS0_g8rawValuewx8RawValue : $@convention(witness_method) (@in_guaranteed UIApplicationLaunchOptionsKey) -> @out String {
- // %0 // user: %7
- // %1 // user: %3
- bb0(%0 : $*String, %1 : $*UIApplicationLaunchOptionsKey):
- %2 = alloc_stack $UIApplicationLaunchOptionsKey, scope 43 // users: %10, %4, %3
- copy_addr %1 to [initialization] %2 : $*UIApplicationLaunchOptionsKey, scope 43 // id: %3
- %4 = load [take] %2 : $*UIApplicationLaunchOptionsKey, scope 43 // users: %9, %6
- // function_ref UIApplicationLaunchOptionsKey.rawValue.getter
- %5 = function_ref @_TFVSC29UIApplicationLaunchOptionsKeyg8rawValueSS : $@convention(method) (@guaranteed UIApplicationLaunchOptionsKey) -> @owned String, scope 43 // user: %6
- %6 = apply %5(%4) : $@convention(method) (@guaranteed UIApplicationLaunchOptionsKey) -> @owned String, scope 43 // user: %7
- store %6 to [init] %0 : $*String, scope 43 // id: %7
- %8 = tuple (), scope 43 // user: %11
- destroy_value %4 : $UIApplicationLaunchOptionsKey, scope 43 // id: %9
- dealloc_stack %2 : $*UIApplicationLaunchOptionsKey, scope 43 // id: %10
- return %8 : $(), scope 43 // id: %11
- } // end sil function '_TTWVSC29UIApplicationLaunchOptionsKeys16RawRepresentable5UIKitFS0_g8rawValuewx8RawValue'
- sil_scope 44 { parent @_TTWVSC29UIApplicationLaunchOptionsKeys21_ObjectiveCBridgeable5UIKitFS0_19_bridgeToObjectiveCfT_wx15_ObjectiveCType : $@convention(witness_method) (@in_guaranteed UIApplicationLaunchOptionsKey) -> @owned NSString }
- // protocol witness for _ObjectiveCBridgeable._bridgeToObjectiveC() -> A._ObjectiveCType in conformance UIApplicationLaunchOptionsKey
- sil shared [transparent] [thunk] @_TTWVSC29UIApplicationLaunchOptionsKeys21_ObjectiveCBridgeable5UIKitFS0_19_bridgeToObjectiveCfT_wx15_ObjectiveCType : $@convention(witness_method) (@in_guaranteed UIApplicationLaunchOptionsKey) -> @owned NSString {
- // %0 // user: %2
- bb0(%0 : $*UIApplicationLaunchOptionsKey):
- %1 = alloc_stack $UIApplicationLaunchOptionsKey, scope 44 // users: %6, %5, %4, %2
- copy_addr %0 to [initialization] %1 : $*UIApplicationLaunchOptionsKey, scope 44 // id: %2
- // function_ref _SwiftNewtypeWrapper<A where ...>._bridgeToObjectiveC() -> A.RawValue._ObjectiveCType
- %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
- %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
- destroy_addr %1 : $*UIApplicationLaunchOptionsKey, scope 44 // id: %5
- dealloc_stack %1 : $*UIApplicationLaunchOptionsKey, scope 44 // id: %6
- return %4 : $NSString, scope 44 // id: %7
- } // end sil function '_TTWVSC29UIApplicationLaunchOptionsKeys21_ObjectiveCBridgeable5UIKitFS0_19_bridgeToObjectiveCfT_wx15_ObjectiveCType'
- // _SwiftNewtypeWrapper<A where ...>._bridgeToObjectiveC() -> A.RawValue._ObjectiveCType
- 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
- sil_scope 45 { parent @_TTWVSC29UIApplicationLaunchOptionsKeys21_ObjectiveCBridgeable5UIKitZFS0_26_forceBridgeFromObjectiveCfTwx15_ObjectiveCType6resultRGSqx__T_ : $@convention(witness_method) (@owned NSString, @inout Optional<UIApplicationLaunchOptionsKey>, @thick UIApplicationLaunchOptionsKey.Type) -> () }
- // protocol witness for static _ObjectiveCBridgeable._forceBridgeFromObjectiveC(A._ObjectiveCType, result : inout A?) -> () in conformance UIApplicationLaunchOptionsKey
- sil shared [transparent] [thunk] @_TTWVSC29UIApplicationLaunchOptionsKeys21_ObjectiveCBridgeable5UIKitZFS0_26_forceBridgeFromObjectiveCfTwx15_ObjectiveCType6resultRGSqx__T_ : $@convention(witness_method) (@owned NSString, @inout Optional<UIApplicationLaunchOptionsKey>, @thick UIApplicationLaunchOptionsKey.Type) -> () {
- // %0 // user: %4
- // %1 // user: %4
- // %2 // user: %4
- bb0(%0 : $NSString, %1 : $*Optional<UIApplicationLaunchOptionsKey>, %2 : $@thick UIApplicationLaunchOptionsKey.Type):
- // function_ref static _SwiftNewtypeWrapper<A where ...>._forceBridgeFromObjectiveC(A.RawValue._ObjectiveCType, result : inout A?) -> ()
- %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
- %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
- %5 = tuple (), scope 45 // user: %6
- return %5 : $(), scope 45 // id: %6
- } // end sil function '_TTWVSC29UIApplicationLaunchOptionsKeys21_ObjectiveCBridgeable5UIKitZFS0_26_forceBridgeFromObjectiveCfTwx15_ObjectiveCType6resultRGSqx__T_'
- // static _SwiftNewtypeWrapper<A where ...>._forceBridgeFromObjectiveC(A.RawValue._ObjectiveCType, result : inout A?) -> ()
- 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) -> ()
- sil_scope 46 { parent @_TTWVSC29UIApplicationLaunchOptionsKeys21_ObjectiveCBridgeable5UIKitZFS0_34_conditionallyBridgeFromObjectiveCfTwx15_ObjectiveCType6resultRGSqx__Sb : $@convention(witness_method) (@owned NSString, @inout Optional<UIApplicationLaunchOptionsKey>, @thick UIApplicationLaunchOptionsKey.Type) -> Bool }
- // protocol witness for static _ObjectiveCBridgeable._conditionallyBridgeFromObjectiveC(A._ObjectiveCType, result : inout A?) -> Bool in conformance UIApplicationLaunchOptionsKey
- sil shared [transparent] [thunk] @_TTWVSC29UIApplicationLaunchOptionsKeys21_ObjectiveCBridgeable5UIKitZFS0_34_conditionallyBridgeFromObjectiveCfTwx15_ObjectiveCType6resultRGSqx__Sb : $@convention(witness_method) (@owned NSString, @inout Optional<UIApplicationLaunchOptionsKey>, @thick UIApplicationLaunchOptionsKey.Type) -> Bool {
- // %0 // user: %4
- // %1 // user: %4
- // %2 // user: %4
- bb0(%0 : $NSString, %1 : $*Optional<UIApplicationLaunchOptionsKey>, %2 : $@thick UIApplicationLaunchOptionsKey.Type):
- // function_ref static _SwiftNewtypeWrapper<A where ...>._conditionallyBridgeFromObjectiveC(A.RawValue._ObjectiveCType, result : inout A?) -> Bool
- %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
- %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
- return %4 : $Bool, scope 46 // id: %5
- } // end sil function '_TTWVSC29UIApplicationLaunchOptionsKeys21_ObjectiveCBridgeable5UIKitZFS0_34_conditionallyBridgeFromObjectiveCfTwx15_ObjectiveCType6resultRGSqx__Sb'
- // static _SwiftNewtypeWrapper<A where ...>._conditionallyBridgeFromObjectiveC(A.RawValue._ObjectiveCType, result : inout A?) -> Bool
- 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
- sil_scope 47 { parent @_TTWVSC29UIApplicationLaunchOptionsKeys21_ObjectiveCBridgeable5UIKitZFS0_36_unconditionallyBridgeFromObjectiveCfGSqwx15_ObjectiveCType_x : $@convention(witness_method) (@owned Optional<NSString>, @thick UIApplicationLaunchOptionsKey.Type) -> @out UIApplicationLaunchOptionsKey }
- // protocol witness for static _ObjectiveCBridgeable._unconditionallyBridgeFromObjectiveC(A._ObjectiveCType?) -> A in conformance UIApplicationLaunchOptionsKey
- sil shared [transparent] [thunk] @_TTWVSC29UIApplicationLaunchOptionsKeys21_ObjectiveCBridgeable5UIKitZFS0_36_unconditionallyBridgeFromObjectiveCfGSqwx15_ObjectiveCType_x : $@convention(witness_method) (@owned Optional<NSString>, @thick UIApplicationLaunchOptionsKey.Type) -> @out UIApplicationLaunchOptionsKey {
- // %0 // user: %4
- // %1 // user: %4
- // %2 // user: %4
- bb0(%0 : $*UIApplicationLaunchOptionsKey, %1 : $Optional<NSString>, %2 : $@thick UIApplicationLaunchOptionsKey.Type):
- // function_ref static _SwiftNewtypeWrapper<A where ...>._unconditionallyBridgeFromObjectiveC(A.RawValue._ObjectiveCType?) -> A
- %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
- %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
- %5 = tuple (), scope 47 // user: %6
- return %5 : $(), scope 47 // id: %6
- } // end sil function '_TTWVSC29UIApplicationLaunchOptionsKeys21_ObjectiveCBridgeable5UIKitZFS0_36_unconditionallyBridgeFromObjectiveCfGSqwx15_ObjectiveCType_x'
- // static _SwiftNewtypeWrapper<A where ...>._unconditionallyBridgeFromObjectiveC(A.RawValue._ObjectiveCType?) -> A
- 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
- // String._bridgeToObjectiveC() -> NSString
- sil [_semantics "convertToObjectiveC"] @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString
- // _forceBridgeFromObjectiveC_bridgeable
- sil @_forceBridgeFromObjectiveC_bridgeable : $@convention(thin) <τ_0_0 where τ_0_0 : _ObjectiveCBridgeable> (@owned τ_0_0._ObjectiveCType, @thick τ_0_0.Type) -> @out τ_0_0
- sil_vtable AppDelegate {
- #AppDelegate.application!1: _TFC3gpa11AppDelegate11applicationfTCSo13UIApplication29didFinishLaunchingWithOptionsGSqGVs10DictionaryVSC29UIApplicationLaunchOptionsKeyP____Sb // AppDelegate.application(UIApplication, didFinishLaunchingWithOptions : [UIApplicationLaunchOptionsKey : Any]?) -> Bool
- #AppDelegate.applicationWillResignActive!1: _TFC3gpa11AppDelegate27applicationWillResignActivefCSo13UIApplicationT_ // AppDelegate.applicationWillResignActive(UIApplication) -> ()
- #AppDelegate.applicationDidEnterBackground!1: _TFC3gpa11AppDelegate29applicationDidEnterBackgroundfCSo13UIApplicationT_ // AppDelegate.applicationDidEnterBackground(UIApplication) -> ()
- #AppDelegate.applicationWillEnterForeground!1: _TFC3gpa11AppDelegate30applicationWillEnterForegroundfCSo13UIApplicationT_ // AppDelegate.applicationWillEnterForeground(UIApplication) -> ()
- #AppDelegate.applicationDidBecomeActive!1: _TFC3gpa11AppDelegate26applicationDidBecomeActivefCSo13UIApplicationT_ // AppDelegate.applicationDidBecomeActive(UIApplication) -> ()
- #AppDelegate.applicationWillTerminate!1: _TFC3gpa11AppDelegate24applicationWillTerminatefCSo13UIApplicationT_ // AppDelegate.applicationWillTerminate(UIApplication) -> ()
- #AppDelegate.deinit!deallocator: _TFC3gpa11AppDelegateD // AppDelegate.__deallocating_deinit
- #AppDelegate.window!getter.1: _TFC3gpa11AppDelegateg6windowGSqCSo8UIWindow_ // AppDelegate.window.getter
- #AppDelegate.window!setter.1: _TFC3gpa11AppDelegates6windowGSqCSo8UIWindow_ // AppDelegate.window.setter
- #AppDelegate.window!materializeForSet.1: _TFC3gpa11AppDelegatem6windowGSqCSo8UIWindow_ // AppDelegate.window.materializeForSet
- #AppDelegate.init!initializer.1: _TFC3gpa11AppDelegatecfT_S0_ // AppDelegate.init() -> AppDelegate
- }
- sil_witness_table shared [fragile] UIApplicationLaunchOptionsKey: Equatable module UIKit {
- method #Equatable."=="!1: @_TTWVSC29UIApplicationLaunchOptionsKeys9Equatable5UIKitZFS0_oi2eefTxx_Sb // protocol witness for static Equatable.== infix(A, A) -> Bool in conformance UIApplicationLaunchOptionsKey
- }
- sil_witness_table shared NSObject: AnyObject module ObjectiveC
- sil_witness_table shared [fragile] UIApplicationLaunchOptionsKey: _Hashable module UIKit {
- method #_Hashable._toAnyHashable!1: @_TTWVSC29UIApplicationLaunchOptionsKeys9_Hashable5UIKitFS0_14_toAnyHashablefT_Vs11AnyHashable // protocol witness for _Hashable._toAnyHashable() -> AnyHashable in conformance UIApplicationLaunchOptionsKey
- }
- sil_witness_table shared [fragile] UIApplicationLaunchOptionsKey: Hashable module UIKit {
- base_protocol _Hashable: UIApplicationLaunchOptionsKey: _Hashable module UIKit
- base_protocol Equatable: UIApplicationLaunchOptionsKey: Equatable module UIKit
- method #Hashable.hashValue!getter.1: @_TTWVSC29UIApplicationLaunchOptionsKeys8Hashable5UIKitFS0_g9hashValueSi // protocol witness for Hashable.hashValue.getter in conformance UIApplicationLaunchOptionsKey
- }
- sil_witness_table shared [fragile] UIApplicationLaunchOptionsKey: RawRepresentable module UIKit {
- associated_type RawValue: String
- method #RawRepresentable.init!allocator.1: @_TTWVSC29UIApplicationLaunchOptionsKeys16RawRepresentable5UIKitFS0_CfT8rawValuewx8RawValue_GSqx_ // protocol witness for RawRepresentable.init(rawValue : A.RawValue) -> A? in conformance UIApplicationLaunchOptionsKey
- method #RawRepresentable.rawValue!getter.1: @_TTWVSC29UIApplicationLaunchOptionsKeys16RawRepresentable5UIKitFS0_g8rawValuewx8RawValue // protocol witness for RawRepresentable.rawValue.getter in conformance UIApplicationLaunchOptionsKey
- }
- sil_witness_table shared [fragile] UIApplicationLaunchOptionsKey: _ObjectiveCBridgeable module UIKit {
- associated_type _ObjectiveCType: NSString
- method #_ObjectiveCBridgeable._bridgeToObjectiveC!1: @_TTWVSC29UIApplicationLaunchOptionsKeys21_ObjectiveCBridgeable5UIKitFS0_19_bridgeToObjectiveCfT_wx15_ObjectiveCType // protocol witness for _ObjectiveCBridgeable._bridgeToObjectiveC() -> A._ObjectiveCType in conformance UIApplicationLaunchOptionsKey
- method #_ObjectiveCBridgeable._forceBridgeFromObjectiveC!1: @_TTWVSC29UIApplicationLaunchOptionsKeys21_ObjectiveCBridgeable5UIKitZFS0_26_forceBridgeFromObjectiveCfTwx15_ObjectiveCType6resultRGSqx__T_ // protocol witness for static _ObjectiveCBridgeable._forceBridgeFromObjectiveC(A._ObjectiveCType, result : inout A?) -> () in conformance UIApplicationLaunchOptionsKey
- 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
- method #_ObjectiveCBridgeable._unconditionallyBridgeFromObjectiveC!1: @_TTWVSC29UIApplicationLaunchOptionsKeys21_ObjectiveCBridgeable5UIKitZFS0_36_unconditionallyBridgeFromObjectiveCfGSqwx15_ObjectiveCType_x // protocol witness for static _ObjectiveCBridgeable._unconditionallyBridgeFromObjectiveC(A._ObjectiveCType?) -> A in conformance UIApplicationLaunchOptionsKey
- }
- sil_witness_table shared [fragile] UIApplicationLaunchOptionsKey: _SwiftNewtypeWrapper module UIKit {
- base_protocol RawRepresentable: UIApplicationLaunchOptionsKey: RawRepresentable module UIKit
- }
- sil_stage raw
- import Builtin
- import Swift
- import SwiftShims
- sil_scope 1 { parent @_TIvC3gpa19ClassListController10classTableGSQCSo11UITableView_i : $@convention(thin) () -> @owned Optional<UITableView> }
- // ClassListController.(classTable).(variable initialization expression)
- sil hidden [transparent] @_TIvC3gpa19ClassListController10classTableGSQCSo11UITableView_i : $@convention(thin) () -> @owned Optional<UITableView> {
- bb0:
- // function_ref ImplicitlyUnwrappedOptional.init(nilLiteral : ()) -> A!
- %0 = function_ref @_TFSQCfT10nilLiteralT__GSQx_ : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 1 // user: %3
- %1 = metatype $@thin ImplicitlyUnwrappedOptional<UITableView>.Type, scope 1 // user: %3
- %2 = alloc_stack $Optional<UITableView>, scope 1 // users: %5, %4, %3
- %3 = apply %0<UITableView>(%2, %1) : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 1
- %4 = load [take] %2 : $*Optional<UITableView>, scope 1 // user: %6
- dealloc_stack %2 : $*Optional<UITableView>, scope 1 // id: %5
- return %4 : $Optional<UITableView>, scope 1 // id: %6
- } // end sil function '_TIvC3gpa19ClassListController10classTableGSQCSo11UITableView_i'
- // ImplicitlyUnwrappedOptional.init(nilLiteral : ()) -> A!
- sil [transparent] [fragile] @_TFSQCfT10nilLiteralT__GSQx_ : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>
- sil_scope 2 { parent @_TToFC3gpa19ClassListControllerg10classTableGSQCSo11UITableView_ : $@convention(objc_method) (ClassListController) -> @autoreleased Optional<UITableView> }
- // @objc ClassListController.classTable.getter
- sil hidden [thunk] @_TToFC3gpa19ClassListControllerg10classTableGSQCSo11UITableView_ : $@convention(objc_method) (ClassListController) -> @autoreleased Optional<UITableView> {
- // %0 // user: %1
- bb0(%0 : $ClassListController):
- %1 = copy_value %0 : $ClassListController, scope 2 // users: %4, %3
- // function_ref ClassListController.classTable.getter
- %2 = function_ref @_TFC3gpa19ClassListControllerg10classTableGSQCSo11UITableView_ : $@convention(method) (@guaranteed ClassListController) -> @owned Optional<UITableView>, scope 2 // user: %3
- %3 = apply %2(%1) : $@convention(method) (@guaranteed ClassListController) -> @owned Optional<UITableView>, scope 2 // user: %5
- destroy_value %1 : $ClassListController, scope 2 // id: %4
- return %3 : $Optional<UITableView>, scope 2 // id: %5
- } // end sil function '_TToFC3gpa19ClassListControllerg10classTableGSQCSo11UITableView_'
- sil_scope 3 { loc "ClassListController.swift":28:19 parent @_TFC3gpa19ClassListControllerg10classTableGSQCSo11UITableView_ : $@convention(method) (@guaranteed ClassListController) -> @owned Optional<UITableView> }
- sil_scope 4 { loc "ClassListController.swift":28:19 parent 3 }
- // ClassListController.classTable.getter
- sil hidden @_TFC3gpa19ClassListControllerg10classTableGSQCSo11UITableView_ : $@convention(method) (@guaranteed ClassListController) -> @owned Optional<UITableView> {
- // %0 // users: %2, %1
- bb0(%0 : $ClassListController):
- debug_value %0 : $ClassListController, let, name "self", argno 1, loc "ClassListController.swift":28:19, scope 3 // id: %1
- %2 = ref_element_addr %0 : $ClassListController, #ClassListController.classTable, scope 4 // user: %3
- %3 = load [copy] %2 : $*Optional<UITableView>, scope 4 // user: %4
- return %3 : $Optional<UITableView>, loc "ClassListController.swift":28:19, scope 4 // id: %4
- } // end sil function '_TFC3gpa19ClassListControllerg10classTableGSQCSo11UITableView_'
- sil_scope 5 { parent @_TToFC3gpa19ClassListControllers10classTableGSQCSo11UITableView_ : $@convention(objc_method) (Optional<UITableView>, ClassListController) -> () }
- // @objc ClassListController.classTable.setter
- sil hidden [thunk] @_TToFC3gpa19ClassListControllers10classTableGSQCSo11UITableView_ : $@convention(objc_method) (Optional<UITableView>, ClassListController) -> () {
- // %0 // user: %2
- // %1 // user: %3
- bb0(%0 : $Optional<UITableView>, %1 : $ClassListController):
- %2 = copy_value %0 : $Optional<UITableView>, scope 5 // user: %5
- %3 = copy_value %1 : $ClassListController, scope 5 // users: %6, %5
- // function_ref ClassListController.classTable.setter
- %4 = function_ref @_TFC3gpa19ClassListControllers10classTableGSQCSo11UITableView_ : $@convention(method) (@owned Optional<UITableView>, @guaranteed ClassListController) -> (), scope 5 // user: %5
- %5 = apply %4(%2, %3) : $@convention(method) (@owned Optional<UITableView>, @guaranteed ClassListController) -> (), scope 5 // user: %7
- destroy_value %3 : $ClassListController, scope 5 // id: %6
- return %5 : $(), scope 5 // id: %7
- } // end sil function '_TToFC3gpa19ClassListControllers10classTableGSQCSo11UITableView_'
- sil_scope 6 { loc "ClassListController.swift":28:19 parent @_TFC3gpa19ClassListControllers10classTableGSQCSo11UITableView_ : $@convention(method) (@owned Optional<UITableView>, @guaranteed ClassListController) -> () }
- sil_scope 7 { loc "ClassListController.swift":28:19 parent 6 }
- // ClassListController.classTable.setter
- sil hidden @_TFC3gpa19ClassListControllers10classTableGSQCSo11UITableView_ : $@convention(method) (@owned Optional<UITableView>, @guaranteed ClassListController) -> () {
- // %0 // users: %7, %4, %2
- // %1 // users: %5, %3
- bb0(%0 : $Optional<UITableView>, %1 : $ClassListController):
- debug_value %0 : $Optional<UITableView>, let, name "value", argno 1, loc "ClassListController.swift":28:19, scope 6 // id: %2
- debug_value %1 : $ClassListController, let, name "self", argno 2, loc "ClassListController.swift":28:19, scope 6 // id: %3
- %4 = copy_value %0 : $Optional<UITableView>, scope 7 // user: %6
- %5 = ref_element_addr %1 : $ClassListController, #ClassListController.classTable, scope 7 // user: %6
- assign %4 to %5 : $*Optional<UITableView>, scope 7 // id: %6
- destroy_value %0 : $Optional<UITableView>, loc "ClassListController.swift":28:19, scope 7 // id: %7
- %8 = tuple (), loc "ClassListController.swift":28:19, scope 7 // user: %9
- return %8 : $(), loc "ClassListController.swift":28:19, scope 7 // id: %9
- } // end sil function '_TFC3gpa19ClassListControllers10classTableGSQCSo11UITableView_'
- sil_scope 8 { parent @_TIvC3gpa19ClassListController10editOptionGSQCSo15UIBarButtonItem_i : $@convention(thin) () -> @owned Optional<UIBarButtonItem> }
- // ClassListController.(editOption).(variable initialization expression)
- sil hidden [transparent] @_TIvC3gpa19ClassListController10editOptionGSQCSo15UIBarButtonItem_i : $@convention(thin) () -> @owned Optional<UIBarButtonItem> {
- bb0:
- // function_ref ImplicitlyUnwrappedOptional.init(nilLiteral : ()) -> A!
- %0 = function_ref @_TFSQCfT10nilLiteralT__GSQx_ : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 8 // user: %3
- %1 = metatype $@thin ImplicitlyUnwrappedOptional<UIBarButtonItem>.Type, scope 8 // user: %3
- %2 = alloc_stack $Optional<UIBarButtonItem>, scope 8 // users: %5, %4, %3
- %3 = apply %0<UIBarButtonItem>(%2, %1) : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 8
- %4 = load [take] %2 : $*Optional<UIBarButtonItem>, scope 8 // user: %6
- dealloc_stack %2 : $*Optional<UIBarButtonItem>, scope 8 // id: %5
- return %4 : $Optional<UIBarButtonItem>, scope 8 // id: %6
- } // end sil function '_TIvC3gpa19ClassListController10editOptionGSQCSo15UIBarButtonItem_i'
- sil_scope 9 { parent @_TToFC3gpa19ClassListControllerg10editOptionGSQCSo15UIBarButtonItem_ : $@convention(objc_method) (ClassListController) -> @autoreleased Optional<UIBarButtonItem> }
- // @objc ClassListController.editOption.getter
- sil hidden [thunk] @_TToFC3gpa19ClassListControllerg10editOptionGSQCSo15UIBarButtonItem_ : $@convention(objc_method) (ClassListController) -> @autoreleased Optional<UIBarButtonItem> {
- // %0 // user: %1
- bb0(%0 : $ClassListController):
- %1 = copy_value %0 : $ClassListController, scope 9 // users: %4, %3
- // function_ref ClassListController.editOption.getter
- %2 = function_ref @_TFC3gpa19ClassListControllerg10editOptionGSQCSo15UIBarButtonItem_ : $@convention(method) (@guaranteed ClassListController) -> @owned Optional<UIBarButtonItem>, scope 9 // user: %3
- %3 = apply %2(%1) : $@convention(method) (@guaranteed ClassListController) -> @owned Optional<UIBarButtonItem>, scope 9 // user: %5
- destroy_value %1 : $ClassListController, scope 9 // id: %4
- return %3 : $Optional<UIBarButtonItem>, scope 9 // id: %5
- } // end sil function '_TToFC3gpa19ClassListControllerg10editOptionGSQCSo15UIBarButtonItem_'
- sil_scope 10 { loc "ClassListController.swift":29:19 parent @_TFC3gpa19ClassListControllerg10editOptionGSQCSo15UIBarButtonItem_ : $@convention(method) (@guaranteed ClassListController) -> @owned Optional<UIBarButtonItem> }
- sil_scope 11 { loc "ClassListController.swift":29:19 parent 10 }
- // ClassListController.editOption.getter
- sil hidden @_TFC3gpa19ClassListControllerg10editOptionGSQCSo15UIBarButtonItem_ : $@convention(method) (@guaranteed ClassListController) -> @owned Optional<UIBarButtonItem> {
- // %0 // users: %2, %1
- bb0(%0 : $ClassListController):
- debug_value %0 : $ClassListController, let, name "self", argno 1, loc "ClassListController.swift":29:19, scope 10 // id: %1
- %2 = ref_element_addr %0 : $ClassListController, #ClassListController.editOption, scope 11 // user: %3
- %3 = load [copy] %2 : $*Optional<UIBarButtonItem>, scope 11 // user: %4
- return %3 : $Optional<UIBarButtonItem>, loc "ClassListController.swift":29:19, scope 11 // id: %4
- } // end sil function '_TFC3gpa19ClassListControllerg10editOptionGSQCSo15UIBarButtonItem_'
- sil_scope 12 { parent @_TToFC3gpa19ClassListControllers10editOptionGSQCSo15UIBarButtonItem_ : $@convention(objc_method) (Optional<UIBarButtonItem>, ClassListController) -> () }
- // @objc ClassListController.editOption.setter
- sil hidden [thunk] @_TToFC3gpa19ClassListControllers10editOptionGSQCSo15UIBarButtonItem_ : $@convention(objc_method) (Optional<UIBarButtonItem>, ClassListController) -> () {
- // %0 // user: %2
- // %1 // user: %3
- bb0(%0 : $Optional<UIBarButtonItem>, %1 : $ClassListController):
- %2 = copy_value %0 : $Optional<UIBarButtonItem>, scope 12 // user: %5
- %3 = copy_value %1 : $ClassListController, scope 12 // users: %6, %5
- // function_ref ClassListController.editOption.setter
- %4 = function_ref @_TFC3gpa19ClassListControllers10editOptionGSQCSo15UIBarButtonItem_ : $@convention(method) (@owned Optional<UIBarButtonItem>, @guaranteed ClassListController) -> (), scope 12 // user: %5
- %5 = apply %4(%2, %3) : $@convention(method) (@owned Optional<UIBarButtonItem>, @guaranteed ClassListController) -> (), scope 12 // user: %7
- destroy_value %3 : $ClassListController, scope 12 // id: %6
- return %5 : $(), scope 12 // id: %7
- } // end sil function '_TToFC3gpa19ClassListControllers10editOptionGSQCSo15UIBarButtonItem_'
- sil_scope 13 { loc "ClassListController.swift":29:19 parent @_TFC3gpa19ClassListControllers10editOptionGSQCSo15UIBarButtonItem_ : $@convention(method) (@owned Optional<UIBarButtonItem>, @guaranteed ClassListController) -> () }
- sil_scope 14 { loc "ClassListController.swift":29:19 parent 13 }
- // ClassListController.editOption.setter
- sil hidden @_TFC3gpa19ClassListControllers10editOptionGSQCSo15UIBarButtonItem_ : $@convention(method) (@owned Optional<UIBarButtonItem>, @guaranteed ClassListController) -> () {
- // %0 // users: %7, %4, %2
- // %1 // users: %5, %3
- bb0(%0 : $Optional<UIBarButtonItem>, %1 : $ClassListController):
- debug_value %0 : $Optional<UIBarButtonItem>, let, name "value", argno 1, loc "ClassListController.swift":29:19, scope 13 // id: %2
- debug_value %1 : $ClassListController, let, name "self", argno 2, loc "ClassListController.swift":29:19, scope 13 // id: %3
- %4 = copy_value %0 : $Optional<UIBarButtonItem>, scope 14 // user: %6
- %5 = ref_element_addr %1 : $ClassListController, #ClassListController.editOption, scope 14 // user: %6
- assign %4 to %5 : $*Optional<UIBarButtonItem>, scope 14 // id: %6
- destroy_value %0 : $Optional<UIBarButtonItem>, loc "ClassListController.swift":29:19, scope 14 // id: %7
- %8 = tuple (), loc "ClassListController.swift":29:19, scope 14 // user: %9
- return %8 : $(), loc "ClassListController.swift":29:19, scope 14 // id: %9
- } // end sil function '_TFC3gpa19ClassListControllers10editOptionGSQCSo15UIBarButtonItem_'
- sil_scope 15 { loc "ClassListController.swift":31:19 parent @_TFC3gpa19ClassListController11viewDidLoadfT_T_ : $@convention(method) (@guaranteed ClassListController) -> () }
- sil_scope 16 { loc "ClassListController.swift":34:5 parent 15 }
- // ClassListController.viewDidLoad() -> ()
- sil hidden @_TFC3gpa19ClassListController11viewDidLoadfT_T_ : $@convention(method) (@guaranteed ClassListController) -> () {
- // %0 // users: %2, %1
- bb0(%0 : $ClassListController):
- debug_value %0 : $ClassListController, let, name "self", argno 1, loc "ClassListController.swift":31:19, scope 15 // id: %1
- %2 = copy_value %0 : $ClassListController, loc "ClassListController.swift":32:9, scope 16 // users: %6, %4, %3
- %3 = upcast %2 : $ClassListController to $UIViewController, loc "ClassListController.swift":32:9, scope 16 // user: %5
- %4 = super_method [volatile] %2 : $ClassListController, #UIViewController.viewDidLoad!1.foreign : (UIViewController) -> () -> () , $@convention(objc_method) (UIViewController) -> (), loc "ClassListController.swift":32:15, scope 16 // user: %5
- %5 = apply %4(%3) : $@convention(objc_method) (UIViewController) -> (), loc "ClassListController.swift":32:27, scope 16
- destroy_value %2 : $ClassListController, loc "ClassListController.swift":32:27, scope 16 // id: %6
- // function_ref static Information.initializeArray() -> ()
- %7 = function_ref @_TZFC3gpa11Information15initializeArrayfT_T_ : $@convention(method) (@thick Information.Type) -> (), loc "ClassListController.swift":33:21, scope 16 // user: %9
- %8 = metatype $@thick Information.Type, loc "ClassListController.swift":33:9, scope 16 // user: %9
- %9 = apply %7(%8) : $@convention(method) (@thick Information.Type) -> (), loc "ClassListController.swift":33:37, scope 16
- %10 = tuple (), loc "ClassListController.swift":34:5, scope 16 // user: %11
- return %10 : $(), loc "ClassListController.swift":34:5, scope 16 // id: %11
- } // end sil function '_TFC3gpa19ClassListController11viewDidLoadfT_T_'
- // static Information.initializeArray() -> ()
- sil hidden_external @_TZFC3gpa11Information15initializeArrayfT_T_ : $@convention(method) (@thick Information.Type) -> ()
- sil_scope 17 { loc "ClassListController.swift":31:19 parent @_TToFC3gpa19ClassListController11viewDidLoadfT_T_ : $@convention(objc_method) (ClassListController) -> () }
- // @objc ClassListController.viewDidLoad() -> ()
- sil hidden [thunk] @_TToFC3gpa19ClassListController11viewDidLoadfT_T_ : $@convention(objc_method) (ClassListController) -> () {
- // %0 // user: %1
- bb0(%0 : $ClassListController):
- %1 = copy_value %0 : $ClassListController, scope 17 // users: %4, %3
- // function_ref ClassListController.viewDidLoad() -> ()
- %2 = function_ref @_TFC3gpa19ClassListController11viewDidLoadfT_T_ : $@convention(method) (@guaranteed ClassListController) -> (), scope 17 // user: %3
- %3 = apply %2(%1) : $@convention(method) (@guaranteed ClassListController) -> (), scope 17 // user: %5
- destroy_value %1 : $ClassListController, scope 17 // id: %4
- return %3 : $(), scope 17 // id: %5
- } // end sil function '_TToFC3gpa19ClassListController11viewDidLoadfT_T_'
- sil_scope 18 { loc "ClassListController.swift":36:19 parent @_TFC3gpa19ClassListController14viewWillAppearfSbT_ : $@convention(method) (Bool, @guaranteed ClassListController) -> () }
- sil_scope 19 { loc "ClassListController.swift":42:5 parent 18 }
- // ClassListController.viewWillAppear(Bool) -> ()
- sil hidden @_TFC3gpa19ClassListController14viewWillAppearfSbT_ : $@convention(method) (Bool, @guaranteed ClassListController) -> () {
- // %0 // users: %8, %2
- // %1 // users: %31, %30, %13, %12, %4, %3
- bb0(%0 : $Bool, %1 : $ClassListController):
- debug_value %0 : $Bool, let, name "animated", argno 1, loc "ClassListController.swift":36:36, scope 18 // id: %2
- debug_value %1 : $ClassListController, let, name "self", argno 2, loc "ClassListController.swift":36:19, scope 18 // id: %3
- %4 = copy_value %1 : $ClassListController, loc "ClassListController.swift":37:9, scope 19 // users: %10, %6, %5
- %5 = upcast %4 : $ClassListController to $UIViewController, loc "ClassListController.swift":37:9, scope 19 // user: %9
- %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
- // function_ref _convertBoolToObjCBool(Bool) -> ObjCBool
- %7 = function_ref @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool, loc "ClassListController.swift":37:30, scope 19 // user: %8
- %8 = apply %7(%0) : $@convention(thin) (Bool) -> ObjCBool, loc "ClassListController.swift":37:30, scope 19 // user: %9
- %9 = apply %6(%8, %5) : $@convention(objc_method) (ObjCBool, UIViewController) -> (), loc "ClassListController.swift":37:38, scope 19
- destroy_value %4 : $ClassListController, loc "ClassListController.swift":37:38, scope 19 // id: %10
- %11 = alloc_stack $Optional<UITableView>, loc "ClassListController.swift":40:9, scope 19 // users: %29, %23, %15, %14
- %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
- %13 = apply %12(%1) : $@convention(method) (@guaranteed ClassListController) -> @owned Optional<UITableView>, loc "ClassListController.swift":40:9, scope 19 // user: %14
- store %13 to [init] %11 : $*Optional<UITableView>, loc "ClassListController.swift":40:9, scope 19 // id: %14
- switch_enum_addr %11 : $*Optional<UITableView>, case #Optional.none!enumelt: bb1, default bb2, loc "ClassListController.swift":40:9, scope 19 // id: %15
- bb1: // Preds: bb0
- %16 = string_literal utf8 "ClassListController.swift", loc "ClassListController.swift":40:9, scope 19 // user: %21
- %17 = integer_literal $Builtin.Word, 25, loc "ClassListController.swift":40:9, scope 19 // user: %21
- %18 = integer_literal $Builtin.Int1, -1, loc "ClassListController.swift":40:9, scope 19 // user: %21
- %19 = integer_literal $Builtin.Word, 40, loc "ClassListController.swift":40:9, scope 19 // user: %21
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %21 = apply %20(%16, %17, %18, %19) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassListController.swift":40:9, scope 19
- unreachable , loc "ClassListController.swift":40:9, scope 19 // id: %22
- bb2: // Preds: bb0
- %23 = unchecked_take_enum_data_addr %11 : $*Optional<UITableView>, #Optional.some!enumelt.1, loc "ClassListController.swift":40:9, scope 19 // users: %28, %24
- %24 = load [copy] %23 : $*UITableView, loc "ClassListController.swift":40:9, scope 19 // users: %27, %26, %25
- %25 = class_method [volatile] %24 : $UITableView, #UITableView.reloadData!1.foreign : (UITableView) -> () -> () , $@convention(objc_method) (UITableView) -> (), loc "ClassListController.swift":40:20, scope 19 // user: %26
- %26 = apply %25(%24) : $@convention(objc_method) (UITableView) -> (), loc "ClassListController.swift":40:31, scope 19
- destroy_value %24 : $UITableView, loc "ClassListController.swift":40:31, scope 19 // id: %27
- destroy_addr %23 : $*UITableView, loc "ClassListController.swift":40:31, scope 19 // id: %28
- dealloc_stack %11 : $*Optional<UITableView>, loc "ClassListController.swift":40:31, scope 19 // id: %29
- %30 = class_method %1 : $ClassListController, #ClassListController.setEditOptionEnabled!1 : (ClassListController) -> () -> () , $@convention(method) (@guaranteed ClassListController) -> (), loc "ClassListController.swift":41:9, scope 19 // user: %31
- %31 = apply %30(%1) : $@convention(method) (@guaranteed ClassListController) -> (), loc "ClassListController.swift":41:30, scope 19
- %32 = tuple (), loc "ClassListController.swift":42:5, scope 19 // user: %33
- return %32 : $(), loc "ClassListController.swift":42:5, scope 19 // id: %33
- } // end sil function '_TFC3gpa19ClassListController14viewWillAppearfSbT_'
- // _convertBoolToObjCBool(Bool) -> ObjCBool
- sil @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool
- // _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- sil [transparent] [fragile] @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> ()
- sil_scope 20 { loc "ClassListController.swift":36:19 parent @_TToFC3gpa19ClassListController14viewWillAppearfSbT_ : $@convention(objc_method) (ObjCBool, ClassListController) -> () }
- // @objc ClassListController.viewWillAppear(Bool) -> ()
- sil hidden [thunk] @_TToFC3gpa19ClassListController14viewWillAppearfSbT_ : $@convention(objc_method) (ObjCBool, ClassListController) -> () {
- // %0 // user: %4
- // %1 // user: %2
- bb0(%0 : $ObjCBool, %1 : $ClassListController):
- %2 = copy_value %1 : $ClassListController, scope 20 // users: %7, %6
- // function_ref _convertObjCBoolToBool(ObjCBool) -> Bool
- %3 = function_ref @_TF10ObjectiveC22_convertObjCBoolToBoolFVS_8ObjCBoolSb : $@convention(thin) (ObjCBool) -> Bool, scope 20 // user: %4
- %4 = apply %3(%0) : $@convention(thin) (ObjCBool) -> Bool, scope 20 // user: %6
- // function_ref ClassListController.viewWillAppear(Bool) -> ()
- %5 = function_ref @_TFC3gpa19ClassListController14viewWillAppearfSbT_ : $@convention(method) (Bool, @guaranteed ClassListController) -> (), scope 20 // user: %6
- %6 = apply %5(%4, %2) : $@convention(method) (Bool, @guaranteed ClassListController) -> (), scope 20 // user: %8
- destroy_value %2 : $ClassListController, scope 20 // id: %7
- return %6 : $(), scope 20 // id: %8
- } // end sil function '_TToFC3gpa19ClassListController14viewWillAppearfSbT_'
- // _convertObjCBoolToBool(ObjCBool) -> Bool
- sil @_TF10ObjectiveC22_convertObjCBoolToBoolFVS_8ObjCBoolSb : $@convention(thin) (ObjCBool) -> Bool
- sil_scope 21 { loc "ClassListController.swift":44:10 parent @_TFC3gpa19ClassListController9tableViewfTCSo11UITableView21numberOfRowsInSectionSi_Si : $@convention(method) (@owned UITableView, Int, @guaranteed ClassListController) -> Int }
- sil_scope 22 { loc "ClassListController.swift":46:5 parent 21 }
- // ClassListController.tableView(UITableView, numberOfRowsInSection : Int) -> Int
- sil hidden @_TFC3gpa19ClassListController9tableViewfTCSo11UITableView21numberOfRowsInSectionSi_Si : $@convention(method) (@owned UITableView, Int, @guaranteed ClassListController) -> Int {
- // %0 // users: %14, %3
- // %1 // user: %4
- // %2 // user: %5
- bb0(%0 : $UITableView, %1 : $Int, %2 : $ClassListController):
- debug_value %0 : $UITableView, let, name "tableView", argno 1, loc "ClassListController.swift":44:22, scope 21 // id: %3
- debug_value %1 : $Int, let, name "section", argno 2, loc "ClassListController.swift":44:68, scope 21 // id: %4
- debug_value %2 : $ClassListController, let, name "self", argno 3, loc "ClassListController.swift":44:10, scope 21 // id: %5
- %6 = metatype $@thick Information.Type, loc "ClassListController.swift":45:16, scope 22
- // function_ref Information.classesAndGrades.unsafeMutableAddressor
- %7 = function_ref @_TFC3gpa11Informationau16classesAndGradesGSaS0__ : $@convention(thin) () -> Builtin.RawPointer, loc "ClassListController.swift":45:28, scope 22 // user: %8
- %8 = apply %7() : $@convention(thin) () -> Builtin.RawPointer, loc "ClassListController.swift":45:28, scope 22 // user: %9
- %9 = pointer_to_address %8 : $Builtin.RawPointer to [strict] $*Array<Information>, loc "ClassListController.swift":45:28, scope 22 // user: %10
- %10 = load [copy] %9 : $*Array<Information>, loc "ClassListController.swift":45:28, scope 22 // users: %13, %12
- // function_ref Array.count.getter
- %11 = function_ref @_TFSag5countSi : $@convention(method) <τ_0_0> (@guaranteed Array<τ_0_0>) -> Int, loc "ClassListController.swift":45:45, scope 22 // user: %12
- %12 = apply %11<Information>(%10) : $@convention(method) <τ_0_0> (@guaranteed Array<τ_0_0>) -> Int, loc "ClassListController.swift":45:45, scope 22 // user: %15
- destroy_value %10 : $Array<Information>, loc "ClassListController.swift":45:45, scope 22 // id: %13
- destroy_value %0 : $UITableView, loc "ClassListController.swift":46:5, scope 22 // id: %14
- return %12 : $Int, loc "ClassListController.swift":45:9, scope 22 // id: %15
- } // end sil function '_TFC3gpa19ClassListController9tableViewfTCSo11UITableView21numberOfRowsInSectionSi_Si'
- // Information.classesAndGrades.unsafeMutableAddressor
- sil hidden_external [global_init] @_TFC3gpa11Informationau16classesAndGradesGSaS0__ : $@convention(thin) () -> Builtin.RawPointer
- // Array.count.getter
- sil @_TFSag5countSi : $@convention(method) <τ_0_0> (@guaranteed Array<τ_0_0>) -> Int
- sil_scope 23 { loc "ClassListController.swift":44:10 parent @_TToFC3gpa19ClassListController9tableViewfTCSo11UITableView21numberOfRowsInSectionSi_Si : $@convention(objc_method) (UITableView, Int, ClassListController) -> Int }
- // @objc ClassListController.tableView(UITableView, numberOfRowsInSection : Int) -> Int
- sil hidden [thunk] @_TToFC3gpa19ClassListController9tableViewfTCSo11UITableView21numberOfRowsInSectionSi_Si : $@convention(objc_method) (UITableView, Int, ClassListController) -> Int {
- // %0 // user: %3
- // %1 // user: %6
- // %2 // user: %4
- bb0(%0 : $UITableView, %1 : $Int, %2 : $ClassListController):
- %3 = copy_value %0 : $UITableView, scope 23 // user: %6
- %4 = copy_value %2 : $ClassListController, scope 23 // users: %7, %6
- // function_ref ClassListController.tableView(UITableView, numberOfRowsInSection : Int) -> Int
- %5 = function_ref @_TFC3gpa19ClassListController9tableViewfTCSo11UITableView21numberOfRowsInSectionSi_Si : $@convention(method) (@owned UITableView, Int, @guaranteed ClassListController) -> Int, scope 23 // user: %6
- %6 = apply %5(%3, %1, %4) : $@convention(method) (@owned UITableView, Int, @guaranteed ClassListController) -> Int, scope 23 // user: %8
- destroy_value %4 : $ClassListController, scope 23 // id: %7
- return %6 : $Int, scope 23 // id: %8
- } // end sil function '_TToFC3gpa19ClassListController9tableViewfTCSo11UITableView21numberOfRowsInSectionSi_Si'
- sil_scope 24 { loc "ClassListController.swift":48:10 parent @_TFC3gpa19ClassListController20setEditOptionEnabledfT_T_ : $@convention(method) (@guaranteed ClassListController) -> () }
- sil_scope 25 { loc "ClassListController.swift":54:5 parent 24 }
- sil_scope 26 { loc "ClassListController.swift":53:9 parent 25 }
- sil_scope 27 { loc "ClassListController.swift":51:9 parent 26 }
- sil_scope 28 { loc "ClassListController.swift":53:9 parent 25 }
- // ClassListController.setEditOptionEnabled() -> ()
- sil hidden @_TFC3gpa19ClassListController20setEditOptionEnabledfT_T_ : $@convention(method) (@guaranteed ClassListController) -> () {
- // %0 // users: %48, %47, %21, %20, %1
- bb0(%0 : $ClassListController):
- debug_value %0 : $ClassListController, let, name "self", argno 1, loc "ClassListController.swift":48:10, scope 24 // id: %1
- // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
- %2 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "ClassListController.swift":49:47, scope 26 // user: %17
- // function_ref == infix(Int, Int) -> Bool
- %3 = function_ref @_TFsoi2eeFTSiSi_Sb : $@convention(thin) (Int, Int) -> Bool, loc "ClassListController.swift":49:47, scope 26 // user: %16
- %4 = metatype $@thick Information.Type, loc "ClassListController.swift":49:12, scope 26
- // function_ref Information.classesAndGrades.unsafeMutableAddressor
- %5 = function_ref @_TFC3gpa11Informationau16classesAndGradesGSaS0__ : $@convention(thin) () -> Builtin.RawPointer, loc "ClassListController.swift":49:24, scope 26 // user: %6
- %6 = apply %5() : $@convention(thin) () -> Builtin.RawPointer, loc "ClassListController.swift":49:24, scope 26 // user: %7
- %7 = pointer_to_address %6 : $Builtin.RawPointer to [strict] $*Array<Information>, loc "ClassListController.swift":49:24, scope 26 // user: %8
- %8 = load [copy] %7 : $*Array<Information>, loc "ClassListController.swift":49:24, scope 26 // users: %11, %10
- // function_ref Array.count.getter
- %9 = function_ref @_TFSag5countSi : $@convention(method) <τ_0_0> (@guaranteed Array<τ_0_0>) -> Int, loc "ClassListController.swift":49:41, scope 26 // user: %10
- %10 = apply %9<Information>(%8) : $@convention(method) <τ_0_0> (@guaranteed Array<τ_0_0>) -> Int, loc "ClassListController.swift":49:41, scope 26 // user: %16
- destroy_value %8 : $Array<Information>, loc "ClassListController.swift":49:41, scope 26 // id: %11
- // function_ref Int.init(_builtinIntegerLiteral : Builtin.Int2048) -> Int
- %12 = function_ref @_TFSiCfT22_builtinIntegerLiteralBi2048__Si : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassListController.swift":49:50, scope 26 // user: %15
- %13 = metatype $@thin Int.Type, loc "ClassListController.swift":49:50, scope 26 // user: %15
- %14 = integer_literal $Builtin.Int2048, 0, loc "ClassListController.swift":49:50, scope 26 // user: %15
- %15 = apply %12(%14, %13) : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassListController.swift":49:50, scope 26 // user: %16
- %16 = apply %3(%10, %15) : $@convention(thin) (Int, Int) -> Bool, loc "ClassListController.swift":49:47, scope 26 // user: %17
- %17 = apply %2(%16) : $@convention(method) (Bool) -> Builtin.Int1, loc "ClassListController.swift":49:50, scope 26 // user: %18
- cond_br %17, bb1, bb4, loc "ClassListController.swift":49:50, scope 26 // id: %18
- bb1: // Preds: bb0
- %19 = alloc_stack $Optional<UIBarButtonItem>, loc "ClassListController.swift":50:13, scope 27 // users: %44, %31, %23, %22
- %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
- %21 = apply %20(%0) : $@convention(method) (@guaranteed ClassListController) -> @owned Optional<UIBarButtonItem>, loc "ClassListController.swift":50:13, scope 27 // user: %22
- store %21 to [init] %19 : $*Optional<UIBarButtonItem>, loc "ClassListController.swift":50:13, scope 27 // id: %22
- switch_enum_addr %19 : $*Optional<UIBarButtonItem>, case #Optional.none!enumelt: bb2, default bb3, loc "ClassListController.swift":50:13, scope 27 // id: %23
- bb2: // Preds: bb1
- %24 = string_literal utf8 "ClassListController.swift", loc "ClassListController.swift":50:13, scope 27 // user: %29
- %25 = integer_literal $Builtin.Word, 25, loc "ClassListController.swift":50:13, scope 27 // user: %29
- %26 = integer_literal $Builtin.Int1, -1, loc "ClassListController.swift":50:13, scope 27 // user: %29
- %27 = integer_literal $Builtin.Word, 50, loc "ClassListController.swift":50:13, scope 27 // user: %29
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %29 = apply %28(%24, %25, %26, %27) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassListController.swift":50:13, scope 27
- unreachable , loc "ClassListController.swift":50:13, scope 27 // id: %30
- bb3: // Preds: bb1
- %31 = unchecked_take_enum_data_addr %19 : $*Optional<UIBarButtonItem>, #Optional.some!enumelt.1, loc "ClassListController.swift":50:13, scope 27 // users: %43, %32
- %32 = load [copy] %31 : $*UIBarButtonItem, loc "ClassListController.swift":50:13, scope 27 // users: %42, %33
- %33 = upcast %32 : $UIBarButtonItem to $UIBarItem, loc "ClassListController.swift":50:13, scope 27 // users: %41, %38
- // function_ref Bool.init(_builtinBooleanLiteral : Builtin.Int1) -> Bool
- %34 = function_ref @_TFSbCfT22_builtinBooleanLiteralBi1__Sb : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "ClassListController.swift":50:36, scope 27 // user: %37
- %35 = metatype $@thin Bool.Type, loc "ClassListController.swift":50:36, scope 27 // user: %37
- %36 = integer_literal $Builtin.Int1, 0, loc "ClassListController.swift":50:36, scope 27 // user: %37
- %37 = apply %34(%36, %35) : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "ClassListController.swift":50:36, scope 27 // user: %40
- %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
- // function_ref _convertBoolToObjCBool(Bool) -> ObjCBool
- %39 = function_ref @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool, loc "ClassListController.swift":50:34, scope 27 // user: %40
- %40 = apply %39(%37) : $@convention(thin) (Bool) -> ObjCBool, loc "ClassListController.swift":50:34, scope 27 // user: %41
- %41 = apply %38(%40, %33) : $@convention(objc_method) (ObjCBool, UIBarItem) -> (), loc "ClassListController.swift":50:34, scope 27
- destroy_value %32 : $UIBarButtonItem, loc "ClassListController.swift":50:36, scope 27 // id: %42
- destroy_addr %31 : $*UIBarButtonItem, loc "ClassListController.swift":50:36, scope 27 // id: %43
- dealloc_stack %19 : $*Optional<UIBarButtonItem>, loc "ClassListController.swift":50:36, scope 27 // id: %44
- br bb7, loc "ClassListController.swift":51:9, scope 26 // id: %45
- bb4: // Preds: bb0
- %46 = alloc_stack $Optional<UIBarButtonItem>, loc "ClassListController.swift":52:13, scope 28 // users: %71, %58, %50, %49
- %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
- %48 = apply %47(%0) : $@convention(method) (@guaranteed ClassListController) -> @owned Optional<UIBarButtonItem>, loc "ClassListController.swift":52:13, scope 28 // user: %49
- store %48 to [init] %46 : $*Optional<UIBarButtonItem>, loc "ClassListController.swift":52:13, scope 28 // id: %49
- switch_enum_addr %46 : $*Optional<UIBarButtonItem>, case #Optional.none!enumelt: bb5, default bb6, loc "ClassListController.swift":52:13, scope 28 // id: %50
- bb5: // Preds: bb4
- %51 = string_literal utf8 "ClassListController.swift", loc "ClassListController.swift":52:13, scope 28 // user: %56
- %52 = integer_literal $Builtin.Word, 25, loc "ClassListController.swift":52:13, scope 28 // user: %56
- %53 = integer_literal $Builtin.Int1, -1, loc "ClassListController.swift":52:13, scope 28 // user: %56
- %54 = integer_literal $Builtin.Word, 52, loc "ClassListController.swift":52:13, scope 28 // user: %56
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %56 = apply %55(%51, %52, %53, %54) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassListController.swift":52:13, scope 28
- unreachable , loc "ClassListController.swift":52:13, scope 28 // id: %57
- bb6: // Preds: bb4
- %58 = unchecked_take_enum_data_addr %46 : $*Optional<UIBarButtonItem>, #Optional.some!enumelt.1, loc "ClassListController.swift":52:13, scope 28 // users: %70, %59
- %59 = load [copy] %58 : $*UIBarButtonItem, loc "ClassListController.swift":52:13, scope 28 // users: %69, %60
- %60 = upcast %59 : $UIBarButtonItem to $UIBarItem, loc "ClassListController.swift":52:13, scope 28 // users: %68, %65
- // function_ref Bool.init(_builtinBooleanLiteral : Builtin.Int1) -> Bool
- %61 = function_ref @_TFSbCfT22_builtinBooleanLiteralBi1__Sb : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "ClassListController.swift":52:36, scope 28 // user: %64
- %62 = metatype $@thin Bool.Type, loc "ClassListController.swift":52:36, scope 28 // user: %64
- %63 = integer_literal $Builtin.Int1, -1, loc "ClassListController.swift":52:36, scope 28 // user: %64
- %64 = apply %61(%63, %62) : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "ClassListController.swift":52:36, scope 28 // user: %67
- %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
- // function_ref _convertBoolToObjCBool(Bool) -> ObjCBool
- %66 = function_ref @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool, loc "ClassListController.swift":52:34, scope 28 // user: %67
- %67 = apply %66(%64) : $@convention(thin) (Bool) -> ObjCBool, loc "ClassListController.swift":52:34, scope 28 // user: %68
- %68 = apply %65(%67, %60) : $@convention(objc_method) (ObjCBool, UIBarItem) -> (), loc "ClassListController.swift":52:34, scope 28
- destroy_value %59 : $UIBarButtonItem, loc "ClassListController.swift":52:36, scope 28 // id: %69
- destroy_addr %58 : $*UIBarButtonItem, loc "ClassListController.swift":52:36, scope 28 // id: %70
- dealloc_stack %46 : $*Optional<UIBarButtonItem>, loc "ClassListController.swift":52:36, scope 28 // id: %71
- br bb7, loc "ClassListController.swift":53:9, scope 25 // id: %72
- bb7: // Preds: bb6 bb3
- %73 = tuple (), loc "ClassListController.swift":54:5, scope 25 // user: %74
- return %73 : $(), loc "ClassListController.swift":54:5, scope 25 // id: %74
- } // end sil function '_TFC3gpa19ClassListController20setEditOptionEnabledfT_T_'
- // Bool._getBuiltinLogicValue() -> Builtin.Int1
- sil [transparent] [fragile] @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1
- // == infix(Int, Int) -> Bool
- sil [transparent] [fragile] @_TFsoi2eeFTSiSi_Sb : $@convention(thin) (Int, Int) -> Bool
- // Int.init(_builtinIntegerLiteral : Builtin.Int2048) -> Int
- sil [transparent] [fragile] @_TFSiCfT22_builtinIntegerLiteralBi2048__Si : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int
- // Bool.init(_builtinBooleanLiteral : Builtin.Int1) -> Bool
- sil [transparent] [fragile] @_TFSbCfT22_builtinBooleanLiteralBi1__Sb : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool
- sil_scope 29 { loc "ClassListController.swift":48:10 parent @_TToFC3gpa19ClassListController20setEditOptionEnabledfT_T_ : $@convention(objc_method) (ClassListController) -> () }
- // @objc ClassListController.setEditOptionEnabled() -> ()
- sil hidden [thunk] @_TToFC3gpa19ClassListController20setEditOptionEnabledfT_T_ : $@convention(objc_method) (ClassListController) -> () {
- // %0 // user: %1
- bb0(%0 : $ClassListController):
- %1 = copy_value %0 : $ClassListController, scope 29 // users: %4, %3
- // function_ref ClassListController.setEditOptionEnabled() -> ()
- %2 = function_ref @_TFC3gpa19ClassListController20setEditOptionEnabledfT_T_ : $@convention(method) (@guaranteed ClassListController) -> (), scope 29 // user: %3
- %3 = apply %2(%1) : $@convention(method) (@guaranteed ClassListController) -> (), scope 29 // user: %5
- destroy_value %1 : $ClassListController, scope 29 // id: %4
- return %3 : $(), scope 29 // id: %5
- } // end sil function '_TToFC3gpa19ClassListController20setEditOptionEnabledfT_T_'
- sil_scope 30 { loc "ClassListController.swift":56:19 parent @_TFC3gpa19ClassListController23didReceiveMemoryWarningfT_T_ : $@convention(method) (@guaranteed ClassListController) -> () }
- sil_scope 31 { loc "ClassListController.swift":59:5 parent 30 }
- // ClassListController.didReceiveMemoryWarning() -> ()
- sil hidden @_TFC3gpa19ClassListController23didReceiveMemoryWarningfT_T_ : $@convention(method) (@guaranteed ClassListController) -> () {
- // %0 // users: %2, %1
- bb0(%0 : $ClassListController):
- debug_value %0 : $ClassListController, let, name "self", argno 1, loc "ClassListController.swift":56:19, scope 30 // id: %1
- %2 = copy_value %0 : $ClassListController, loc "ClassListController.swift":57:9, scope 31 // users: %6, %4, %3
- %3 = upcast %2 : $ClassListController to $UIViewController, loc "ClassListController.swift":57:9, scope 31 // user: %5
- %4 = super_method [volatile] %2 : $ClassListController, #UIViewController.didReceiveMemoryWarning!1.foreign : (UIViewController) -> () -> () , $@convention(objc_method) (UIViewController) -> (), loc "ClassListController.swift":57:15, scope 31 // user: %5
- %5 = apply %4(%3) : $@convention(objc_method) (UIViewController) -> (), loc "ClassListController.swift":57:39, scope 31
- destroy_value %2 : $ClassListController, loc "ClassListController.swift":57:39, scope 31 // id: %6
- %7 = tuple (), loc "ClassListController.swift":59:5, scope 31 // user: %8
- return %7 : $(), loc "ClassListController.swift":59:5, scope 31 // id: %8
- } // end sil function '_TFC3gpa19ClassListController23didReceiveMemoryWarningfT_T_'
- sil_scope 32 { loc "ClassListController.swift":56:19 parent @_TToFC3gpa19ClassListController23didReceiveMemoryWarningfT_T_ : $@convention(objc_method) (ClassListController) -> () }
- // @objc ClassListController.didReceiveMemoryWarning() -> ()
- sil hidden [thunk] @_TToFC3gpa19ClassListController23didReceiveMemoryWarningfT_T_ : $@convention(objc_method) (ClassListController) -> () {
- // %0 // user: %1
- bb0(%0 : $ClassListController):
- %1 = copy_value %0 : $ClassListController, scope 32 // users: %4, %3
- // function_ref ClassListController.didReceiveMemoryWarning() -> ()
- %2 = function_ref @_TFC3gpa19ClassListController23didReceiveMemoryWarningfT_T_ : $@convention(method) (@guaranteed ClassListController) -> (), scope 32 // user: %3
- %3 = apply %2(%1) : $@convention(method) (@guaranteed ClassListController) -> (), scope 32 // user: %5
- destroy_value %1 : $ClassListController, scope 32 // id: %4
- return %3 : $(), scope 32 // id: %5
- } // end sil function '_TToFC3gpa19ClassListController23didReceiveMemoryWarningfT_T_'
- sil_scope 33 { loc "ClassListController.swift":26:7 parent @_TFC3gpa19ClassListControllerD : $@convention(method) (@owned ClassListController) -> () }
- sil_scope 34 { loc "ClassListController.swift":26:7 parent 33 }
- // ClassListController.__deallocating_deinit
- sil hidden @_TFC3gpa19ClassListControllerD : $@convention(method) (@owned ClassListController) -> () {
- // %0 // users: %3, %2, %1
- bb0(%0 : $ClassListController):
- debug_value %0 : $ClassListController, let, name "self", argno 1, loc "ClassListController.swift":26:7, scope 33 // id: %1
- %2 = super_method %0 : $ClassListController, #UIViewController.deinit!deallocator.foreign : (UIViewController) -> () -> () , $@convention(objc_method) (UIViewController) -> (), scope 34 // user: %4
- %3 = upcast %0 : $ClassListController to $UIViewController, scope 34 // user: %4
- %4 = apply %2(%3) : $@convention(objc_method) (UIViewController) -> (), scope 34
- %5 = tuple (), scope 34 // user: %6
- return %5 : $(), scope 34 // id: %6
- } // end sil function '_TFC3gpa19ClassListControllerD'
- sil_scope 35 { loc "ClassListController.swift":26:7 parent @_TToFC3gpa19ClassListControllerE : $@convention(objc_method) (ClassListController) -> () }
- // @objc ClassListController.__ivar_destroyer
- sil hidden @_TToFC3gpa19ClassListControllerE : $@convention(objc_method) (ClassListController) -> () {
- // %0 // users: %4, %2, %1
- bb0(%0 : $ClassListController):
- debug_value %0 : $ClassListController, let, name "self", argno 1, loc "ClassListController.swift":26:7, scope 35 // id: %1
- %2 = ref_element_addr %0 : $ClassListController, #ClassListController.classTable, scope 35 // user: %3
- destroy_addr %2 : $*Optional<UITableView>, scope 35 // id: %3
- %4 = ref_element_addr %0 : $ClassListController, #ClassListController.editOption, scope 35 // user: %5
- destroy_addr %4 : $*Optional<UIBarButtonItem>, scope 35 // id: %5
- %6 = tuple (), scope 35 // user: %7
- return %6 : $(), scope 35 // id: %7
- } // end sil function '_TToFC3gpa19ClassListControllerE'
- sil_scope 36 { loc "ClassListController.swift":28:19 parent @_TFC3gpa19ClassListControllerm10classTableGSQCSo11UITableView_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed ClassListController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) }
- // ClassListController.classTable.materializeForSet
- sil hidden @_TFC3gpa19ClassListControllerm10classTableGSQCSo11UITableView_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed ClassListController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) {
- // %2 // user: %3
- bb0(%0 : $Builtin.RawPointer, %1 : $*Builtin.UnsafeValueBuffer, %2 : $ClassListController):
- %3 = ref_element_addr %2 : $ClassListController, #ClassListController.classTable, scope 36 // user: %4
- %4 = address_to_pointer %3 : $*Optional<UITableView> to $Builtin.RawPointer, scope 36 // user: %6
- %5 = enum $Optional<Builtin.RawPointer>, #Optional.none!enumelt, scope 36 // user: %6
- %6 = tuple (%4 : $Builtin.RawPointer, %5 : $Optional<Builtin.RawPointer>), scope 36 // user: %7
- return %6 : $(Builtin.RawPointer, Optional<Builtin.RawPointer>), scope 36 // id: %7
- } // end sil function '_TFC3gpa19ClassListControllerm10classTableGSQCSo11UITableView_'
- sil_scope 37 { loc "ClassListController.swift":29:19 parent @_TFC3gpa19ClassListControllerm10editOptionGSQCSo15UIBarButtonItem_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed ClassListController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) }
- // ClassListController.editOption.materializeForSet
- sil hidden @_TFC3gpa19ClassListControllerm10editOptionGSQCSo15UIBarButtonItem_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed ClassListController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) {
- // %2 // user: %3
- bb0(%0 : $Builtin.RawPointer, %1 : $*Builtin.UnsafeValueBuffer, %2 : $ClassListController):
- %3 = ref_element_addr %2 : $ClassListController, #ClassListController.editOption, scope 37 // user: %4
- %4 = address_to_pointer %3 : $*Optional<UIBarButtonItem> to $Builtin.RawPointer, scope 37 // user: %6
- %5 = enum $Optional<Builtin.RawPointer>, #Optional.none!enumelt, scope 37 // user: %6
- %6 = tuple (%4 : $Builtin.RawPointer, %5 : $Optional<Builtin.RawPointer>), scope 37 // user: %7
- return %6 : $(Builtin.RawPointer, Optional<Builtin.RawPointer>), scope 37 // id: %7
- } // end sil function '_TFC3gpa19ClassListControllerm10editOptionGSQCSo15UIBarButtonItem_'
- sil_scope 38 { loc "ClassListController.swift":26:66 parent @_TFC3gpa19ClassListControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ : $@convention(method) (@owned Optional<String>, @owned Optional<Bundle>, @owned ClassListController) -> @owned ClassListController }
- sil_scope 39 { parent 38 }
- // ClassListController.init(nibName : String?, bundle : Bundle?) -> ClassListController
- sil hidden @_TFC3gpa19ClassListControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ : $@convention(method) (@owned Optional<String>, @owned Optional<Bundle>, @owned ClassListController) -> @owned ClassListController {
- // %0 // users: %42, %22, %6
- // %1 // users: %41, %36, %7
- // %2 // user: %8
- bb0(%0 : $Optional<String>, %1 : $Optional<Bundle>, %2 : $ClassListController):
- %3 = alloc_box ${ var ClassListController }, let, name "self", scope 38 // users: %43, %4
- %4 = project_box %3 : ${ var ClassListController }, 0, scope 38 // user: %5
- %5 = mark_uninitialized [derivedself] %4 : $*ClassListController, scope 38 // users: %40, %38, %19, %16, %11, %8
- debug_value %0 : $Optional<String>, let, name "nibNameOrNil", argno 1, scope 38 // id: %6
- debug_value %1 : $Optional<Bundle>, let, name "nibBundleOrNil", argno 2, scope 38 // id: %7
- store %2 to [init] %5 : $*ClassListController, loc "ClassListController.swift":26:66, scope 38 // id: %8
- // function_ref ClassListController.(classTable).(variable initialization expression)
- %9 = function_ref @_TIvC3gpa19ClassListController10classTableGSQCSo11UITableView_i : $@convention(thin) () -> @owned Optional<UITableView>, scope 38 // user: %10
- %10 = apply %9() : $@convention(thin) () -> @owned Optional<UITableView>, scope 38 // user: %13
- %11 = load_borrow %5 : $*ClassListController, loc "ClassListController.swift":28:19, scope 38 // user: %12
- %12 = ref_element_addr %11 : $ClassListController, #ClassListController.classTable, loc "ClassListController.swift":28:19, scope 38 // user: %13
- assign %10 to %12 : $*Optional<UITableView>, loc "ClassListController.swift":28:19, scope 38 // id: %13
- // function_ref ClassListController.(editOption).(variable initialization expression)
- %14 = function_ref @_TIvC3gpa19ClassListController10editOptionGSQCSo15UIBarButtonItem_i : $@convention(thin) () -> @owned Optional<UIBarButtonItem>, scope 38 // user: %15
- %15 = apply %14() : $@convention(thin) () -> @owned Optional<UIBarButtonItem>, scope 38 // user: %18
- %16 = load_borrow %5 : $*ClassListController, loc "ClassListController.swift":29:19, scope 38 // user: %17
- %17 = ref_element_addr %16 : $ClassListController, #ClassListController.editOption, loc "ClassListController.swift":29:19, scope 38 // user: %18
- assign %15 to %17 : $*Optional<UIBarButtonItem>, loc "ClassListController.swift":29:19, scope 38 // id: %18
- %19 = load_borrow %5 : $*ClassListController, scope 39 // users: %21, %20
- %20 = upcast %19 : $ClassListController to $UIViewController, scope 39 // user: %36
- %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
- %22 = copy_value %0 : $Optional<String>, scope 39 // users: %27, %25
- %23 = integer_literal $Builtin.Int1, -1, scope 39 // user: %25
- %24 = integer_literal $Builtin.Int1, 0, scope 39 // user: %25
- %25 = select_enum %22 : $Optional<String>, case #Optional.some!enumelt.1: %23, default %24 : $Builtin.Int1, scope 39 // user: %26
- cond_br %25, bb1, bb2, scope 39 // id: %26
- bb1: // Preds: bb0
- %27 = unchecked_enum_data %22 : $Optional<String>, #Optional.some!enumelt.1, scope 39 // users: %31, %29
- // function_ref String._bridgeToObjectiveC() -> NSString
- %28 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, scope 39 // user: %29
- %29 = apply %28(%27) : $@convention(method) (@guaranteed String) -> @owned NSString, scope 39 // user: %30
- %30 = enum $Optional<NSString>, #Optional.some!enumelt.1, %29 : $NSString, scope 39 // user: %32
- destroy_value %27 : $String, scope 39 // id: %31
- br bb3(%30 : $Optional<NSString>), scope 39 // id: %32
- bb2: // Preds: bb0
- %33 = enum $Optional<NSString>, #Optional.none!enumelt, scope 39 // user: %34
- br bb3(%33 : $Optional<NSString>), scope 39 // id: %34
- // %35 // users: %39, %36
- bb3(%35 : $Optional<NSString>): // Preds: bb2 bb1
- %36 = apply %21(%35, %1, %20) : $@convention(objc_method) (Optional<NSString>, Optional<Bundle>, @owned UIViewController) -> @owned UIViewController, scope 39 // user: %37
- %37 = unchecked_ref_cast %36 : $UIViewController to $ClassListController, scope 39 // user: %38
- store %37 to [init] %5 : $*ClassListController, scope 39 // id: %38
- destroy_value %35 : $Optional<NSString>, scope 39 // id: %39
- %40 = load [copy] %5 : $*ClassListController, loc "ClassListController.swift":26:66, scope 39 // user: %44
- destroy_value %1 : $Optional<Bundle>, loc "ClassListController.swift":26:66, scope 39 // id: %41
- destroy_value %0 : $Optional<String>, loc "ClassListController.swift":26:66, scope 39 // id: %42
- destroy_value %3 : ${ var ClassListController }, loc "ClassListController.swift":26:66, scope 39 // id: %43
- return %40 : $ClassListController, loc "ClassListController.swift":26:66, scope 39 // id: %44
- } // end sil function '_TFC3gpa19ClassListControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_'
- 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 }
- // ClassListController.__allocating_init(nibName : String?, bundle : Bundle?) -> ClassListController
- sil hidden @_TFC3gpa19ClassListControllerCfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ : $@convention(method) (@owned Optional<String>, @owned Optional<Bundle>, @thick ClassListController.Type) -> @owned ClassListController {
- // %0 // user: %5
- // %1 // user: %5
- bb0(%0 : $Optional<String>, %1 : $Optional<Bundle>, %2 : $@thick ClassListController.Type):
- %3 = alloc_ref [objc] $ClassListController, scope 40 // user: %5
- // function_ref ClassListController.init(nibName : String?, bundle : Bundle?) -> ClassListController
- %4 = function_ref @_TFC3gpa19ClassListControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ : $@convention(method) (@owned Optional<String>, @owned Optional<Bundle>, @owned ClassListController) -> @owned ClassListController, scope 40 // user: %5
- %5 = apply %4(%0, %1, %3) : $@convention(method) (@owned Optional<String>, @owned Optional<Bundle>, @owned ClassListController) -> @owned ClassListController, scope 40 // user: %6
- return %5 : $ClassListController, scope 40 // id: %6
- } // end sil function '_TFC3gpa19ClassListControllerCfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_'
- // String._bridgeToObjectiveC() -> NSString
- sil [_semantics "convertToObjectiveC"] @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString
- sil_scope 41 { loc "ClassListController.swift":26:66 parent @_TToFC3gpa19ClassListControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ : $@convention(objc_method) (Optional<NSString>, Optional<Bundle>, @owned ClassListController) -> @owned ClassListController }
- // @objc ClassListController.init(nibName : String?, bundle : Bundle?) -> ClassListController
- sil hidden [thunk] @_TToFC3gpa19ClassListControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ : $@convention(objc_method) (Optional<NSString>, Optional<Bundle>, @owned ClassListController) -> @owned ClassListController {
- // %0 // user: %3
- // %1 // user: %4
- // %2 // user: %20
- bb0(%0 : $Optional<NSString>, %1 : $Optional<Bundle>, %2 : $ClassListController):
- %3 = copy_value %0 : $Optional<NSString>, scope 41 // users: %9, %7
- %4 = copy_value %1 : $Optional<Bundle>, scope 41 // user: %20
- %5 = integer_literal $Builtin.Int1, -1, scope 41 // user: %7
- %6 = integer_literal $Builtin.Int1, 0, scope 41 // user: %7
- %7 = select_enum %3 : $Optional<NSString>, case #Optional.some!enumelt.1: %5, default %6 : $Builtin.Int1, scope 41 // user: %8
- cond_br %7, bb1, bb2, scope 41 // id: %8
- bb1: // Preds: bb0
- %9 = unchecked_enum_data %3 : $Optional<NSString>, #Optional.some!enumelt.1, scope 41 // user: %11
- // function_ref static String._unconditionallyBridgeFromObjectiveC(NSString?) -> String
- %10 = function_ref @_TZFE10FoundationSS36_unconditionallyBridgeFromObjectiveCfGSqCSo8NSString_SS : $@convention(method) (@owned Optional<NSString>, @thin String.Type) -> @owned String, scope 41 // user: %13
- %11 = enum $Optional<NSString>, #Optional.some!enumelt.1, %9 : $NSString, scope 41 // user: %13
- %12 = metatype $@thin String.Type, scope 41 // user: %13
- %13 = apply %10(%11, %12) : $@convention(method) (@owned Optional<NSString>, @thin String.Type) -> @owned String, scope 41 // user: %14
- %14 = enum $Optional<String>, #Optional.some!enumelt.1, %13 : $String, scope 41 // user: %15
- br bb3(%14 : $Optional<String>), scope 41 // id: %15
- bb2: // Preds: bb0
- %16 = enum $Optional<String>, #Optional.none!enumelt, scope 41 // user: %17
- br bb3(%16 : $Optional<String>), scope 41 // id: %17
- // %18 // user: %20
- bb3(%18 : $Optional<String>): // Preds: bb2 bb1
- // function_ref ClassListController.init(nibName : String?, bundle : Bundle?) -> ClassListController
- %19 = function_ref @_TFC3gpa19ClassListControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ : $@convention(method) (@owned Optional<String>, @owned Optional<Bundle>, @owned ClassListController) -> @owned ClassListController, scope 41 // user: %20
- %20 = apply %19(%18, %4, %2) : $@convention(method) (@owned Optional<String>, @owned Optional<Bundle>, @owned ClassListController) -> @owned ClassListController, scope 41 // user: %21
- return %20 : $ClassListController, scope 41 // id: %21
- } // end sil function '_TToFC3gpa19ClassListControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_'
- // static String._unconditionallyBridgeFromObjectiveC(NSString?) -> String
- sil @_TZFE10FoundationSS36_unconditionallyBridgeFromObjectiveCfGSqCSo8NSString_SS : $@convention(method) (@owned Optional<NSString>, @thin String.Type) -> @owned String
- sil_scope 42 { loc "ClassListController.swift":26:66 parent @_TFC3gpa19ClassListControllerCfT5coderCSo7NSCoder_GSqS0__ : $@convention(method) (@owned NSCoder, @thick ClassListController.Type) -> @owned Optional<ClassListController> }
- // ClassListController.__allocating_init(coder : NSCoder) -> ClassListController?
- sil hidden @_TFC3gpa19ClassListControllerCfT5coderCSo7NSCoder_GSqS0__ : $@convention(method) (@owned NSCoder, @thick ClassListController.Type) -> @owned Optional<ClassListController> {
- // %0 // user: %4
- bb0(%0 : $NSCoder, %1 : $@thick ClassListController.Type):
- %2 = alloc_ref [objc] $ClassListController, scope 42 // user: %4
- // function_ref ClassListController.init(coder : NSCoder) -> ClassListController?
- %3 = function_ref @_TFC3gpa19ClassListControllercfT5coderCSo7NSCoder_GSqS0__ : $@convention(method) (@owned NSCoder, @owned ClassListController) -> @owned Optional<ClassListController>, scope 42 // user: %4
- %4 = apply %3(%0, %2) : $@convention(method) (@owned NSCoder, @owned ClassListController) -> @owned Optional<ClassListController>, scope 42 // user: %5
- return %4 : $Optional<ClassListController>, scope 42 // id: %5
- } // end sil function '_TFC3gpa19ClassListControllerCfT5coderCSo7NSCoder_GSqS0__'
- sil_scope 43 { loc "ClassListController.swift":26:66 parent @_TFC3gpa19ClassListControllercfT5coderCSo7NSCoder_GSqS0__ : $@convention(method) (@owned NSCoder, @owned ClassListController) -> @owned Optional<ClassListController> }
- sil_scope 44 { parent 43 }
- // ClassListController.init(coder : NSCoder) -> ClassListController?
- sil hidden @_TFC3gpa19ClassListControllercfT5coderCSo7NSCoder_GSqS0__ : $@convention(method) (@owned NSCoder, @owned ClassListController) -> @owned Optional<ClassListController> {
- // %0 // users: %30, %20, %33, %5
- // %1 // user: %6
- bb0(%0 : $NSCoder, %1 : $ClassListController):
- %2 = alloc_box ${ var ClassListController }, let, name "self", scope 43 // users: %31, %34, %3
- %3 = project_box %2 : ${ var ClassListController }, 0, scope 43 // user: %4
- %4 = mark_uninitialized [derivedself] %3 : $*ClassListController, scope 43 // users: %28, %27, %17, %14, %9, %6
- debug_value %0 : $NSCoder, let, name "aDecoder", argno 1, scope 43 // id: %5
- store %1 to [init] %4 : $*ClassListController, loc "ClassListController.swift":26:66, scope 43 // id: %6
- // function_ref ClassListController.(classTable).(variable initialization expression)
- %7 = function_ref @_TIvC3gpa19ClassListController10classTableGSQCSo11UITableView_i : $@convention(thin) () -> @owned Optional<UITableView>, scope 43 // user: %8
- %8 = apply %7() : $@convention(thin) () -> @owned Optional<UITableView>, scope 43 // user: %11
- %9 = load_borrow %4 : $*ClassListController, loc "ClassListController.swift":28:19, scope 43 // user: %10
- %10 = ref_element_addr %9 : $ClassListController, #ClassListController.classTable, loc "ClassListController.swift":28:19, scope 43 // user: %11
- assign %8 to %10 : $*Optional<UITableView>, loc "ClassListController.swift":28:19, scope 43 // id: %11
- // function_ref ClassListController.(editOption).(variable initialization expression)
- %12 = function_ref @_TIvC3gpa19ClassListController10editOptionGSQCSo15UIBarButtonItem_i : $@convention(thin) () -> @owned Optional<UIBarButtonItem>, scope 43 // user: %13
- %13 = apply %12() : $@convention(thin) () -> @owned Optional<UIBarButtonItem>, scope 43 // user: %16
- %14 = load_borrow %4 : $*ClassListController, loc "ClassListController.swift":29:19, scope 43 // user: %15
- %15 = ref_element_addr %14 : $ClassListController, #ClassListController.editOption, loc "ClassListController.swift":29:19, scope 43 // user: %16
- assign %13 to %15 : $*Optional<UIBarButtonItem>, loc "ClassListController.swift":29:19, scope 43 // id: %16
- %17 = load_borrow %4 : $*ClassListController, scope 44 // users: %19, %18
- %18 = upcast %17 : $ClassListController to $UIViewController, scope 44 // user: %20
- %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
- %20 = apply %19(%0, %18) : $@convention(objc_method) (NSCoder, @owned UIViewController) -> @owned Optional<UIViewController>, scope 44 // users: %25, %23
- %21 = integer_literal $Builtin.Int1, -1, scope 44 // user: %23
- %22 = integer_literal $Builtin.Int1, 0, scope 44 // user: %23
- %23 = select_enum %20 : $Optional<UIViewController>, case #Optional.some!enumelt.1: %21, default %22 : $Builtin.Int1, scope 44 // user: %24
- cond_br %23, bb1, bb2, scope 44 // id: %24
- bb1: // Preds: bb0
- %25 = unchecked_enum_data %20 : $Optional<UIViewController>, #Optional.some!enumelt.1, scope 44 // user: %26
- %26 = unchecked_ref_cast %25 : $UIViewController to $ClassListController, scope 44 // user: %27
- store %26 to [init] %4 : $*ClassListController, scope 44 // id: %27
- %28 = load [copy] %4 : $*ClassListController, loc "ClassListController.swift":26:66, scope 44 // user: %29
- %29 = enum $Optional<ClassListController>, #Optional.some!enumelt.1, %28 : $ClassListController, scope 44 // user: %32
- destroy_value %0 : $NSCoder, loc "ClassListController.swift":26:66, scope 44 // id: %30
- destroy_value %2 : ${ var ClassListController }, loc "ClassListController.swift":26:66, scope 44 // id: %31
- br bb3(%29 : $Optional<ClassListController>), loc "ClassListController.swift":26:66, scope 44 // id: %32
- bb2: // Preds: bb0
- destroy_value %0 : $NSCoder, loc "ClassListController.swift":26:66, scope 43 // id: %33
- destroy_value %2 : ${ var ClassListController }, loc "ClassListController.swift":26:66, scope 43 // id: %34
- %35 = enum $Optional<ClassListController>, #Optional.none!enumelt, scope 43 // user: %36
- br bb3(%35 : $Optional<ClassListController>), scope 43 // id: %36
- // %37 // user: %38
- bb3(%37 : $Optional<ClassListController>): // Preds: bb1 bb2
- return %37 : $Optional<ClassListController>, scope 43 // id: %38
- } // end sil function '_TFC3gpa19ClassListControllercfT5coderCSo7NSCoder_GSqS0__'
- sil_scope 45 { loc "ClassListController.swift":26:66 parent @_TToFC3gpa19ClassListControllercfT5coderCSo7NSCoder_GSqS0__ : $@convention(objc_method) (NSCoder, @owned ClassListController) -> @owned Optional<ClassListController> }
- // @objc ClassListController.init(coder : NSCoder) -> ClassListController?
- sil hidden [thunk] @_TToFC3gpa19ClassListControllercfT5coderCSo7NSCoder_GSqS0__ : $@convention(objc_method) (NSCoder, @owned ClassListController) -> @owned Optional<ClassListController> {
- // %0 // user: %2
- // %1 // user: %4
- bb0(%0 : $NSCoder, %1 : $ClassListController):
- %2 = copy_value %0 : $NSCoder, scope 45 // user: %4
- // function_ref ClassListController.init(coder : NSCoder) -> ClassListController?
- %3 = function_ref @_TFC3gpa19ClassListControllercfT5coderCSo7NSCoder_GSqS0__ : $@convention(method) (@owned NSCoder, @owned ClassListController) -> @owned Optional<ClassListController>, scope 45 // user: %4
- %4 = apply %3(%2, %1) : $@convention(method) (@owned NSCoder, @owned ClassListController) -> @owned Optional<ClassListController>, scope 45 // user: %5
- return %4 : $Optional<ClassListController>, scope 45 // id: %5
- } // end sil function '_TToFC3gpa19ClassListControllercfT5coderCSo7NSCoder_GSqS0__'
- sil_scope 46 { loc "ClassListController.swift":64:10 parent @_TFC3gpa19ClassListController9tableViewfTCSo11UITableView18commitEditingStyleOSC27UITableViewCellEditingStyle17forRowAtIndexPathV10Foundation9IndexPath_T_ : $@convention(method) (@owned UITableView, UITableViewCellEditingStyle, @owned IndexPath, @guaranteed ClassListController) -> () }
- sil_scope 47 { loc "ClassListController.swift":72:5 parent 46 }
- sil_scope 48 { loc "ClassListController.swift":71:9 parent 47 }
- sil_scope 49 { loc "ClassListController.swift":71:9 parent 48 }
- // ClassListController.tableView(UITableView, commitEditingStyle : UITableViewCellEditingStyle, forRowAtIndexPath : IndexPath) -> ()
- sil hidden @_TFC3gpa19ClassListController9tableViewfTCSo11UITableView18commitEditingStyleOSC27UITableViewCellEditingStyle17forRowAtIndexPathV10Foundation9IndexPath_T_ : $@convention(method) (@owned UITableView, UITableViewCellEditingStyle, @owned IndexPath, @guaranteed ClassListController) -> () {
- // %0 // users: %106, %4
- // %1 // users: %11, %5
- // %2 // users: %105, %27, %6
- // %3 // users: %103, %102, %85, %84, %7
- bb0(%0 : $UITableView, %1 : $UITableViewCellEditingStyle, %2 : $IndexPath, %3 : $ClassListController):
- debug_value %0 : $UITableView, let, name "tableView", argno 1, loc "ClassListController.swift":64:22, scope 46 // id: %4
- debug_value %1 : $UITableViewCellEditingStyle, let, name "editingStyle", argno 2, loc "ClassListController.swift":64:65, scope 46 // id: %5
- debug_value %2 : $IndexPath, let, name "indexPath", argno 3, loc "ClassListController.swift":64:126, scope 46 // id: %6
- debug_value %3 : $ClassListController, let, name "self", argno 4, loc "ClassListController.swift":64:10, scope 46 // id: %7
- // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
- %8 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "ClassListController.swift":65:25, scope 48 // user: %17
- // function_ref == infix<A where ...> (A, A) -> Bool
- %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
- %10 = alloc_stack $UITableViewCellEditingStyle, loc "ClassListController.swift":65:12, scope 48 // users: %19, %16, %11
- store %1 to [trivial] %10 : $*UITableViewCellEditingStyle, loc "ClassListController.swift":65:12, scope 48 // id: %11
- %12 = metatype $@thin UITableViewCellEditingStyle.Type, loc "ClassListController.swift":65:28, scope 48
- %13 = enum $UITableViewCellEditingStyle, #UITableViewCellEditingStyle.delete!enumelt, loc "ClassListController.swift":65:29, scope 48 // user: %15
- %14 = alloc_stack $UITableViewCellEditingStyle, loc "ClassListController.swift":65:29, scope 48 // users: %18, %16, %15
- store %13 to [trivial] %14 : $*UITableViewCellEditingStyle, loc "ClassListController.swift":65:29, scope 48 // id: %15
- %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
- %17 = apply %8(%16) : $@convention(method) (Bool) -> Builtin.Int1, loc "ClassListController.swift":65:29, scope 48 // user: %20
- dealloc_stack %14 : $*UITableViewCellEditingStyle, loc "ClassListController.swift":65:29, scope 48 // id: %18
- dealloc_stack %10 : $*UITableViewCellEditingStyle, loc "ClassListController.swift":65:29, scope 48 // id: %19
- cond_br %17, bb1, bb7, loc "ClassListController.swift":65:29, scope 48 // id: %20
- bb1: // Preds: bb0
- // function_ref Array.remove(at : Int) -> A
- %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
- %22 = metatype $@thick Information.Type, loc "ClassListController.swift":66:13, scope 49
- // function_ref Information.classesAndGrades.unsafeMutableAddressor
- %23 = function_ref @_TFC3gpa11Informationau16classesAndGradesGSaS0__ : $@convention(thin) () -> Builtin.RawPointer, loc "ClassListController.swift":66:25, scope 49 // user: %24
- %24 = apply %23() : $@convention(thin) () -> Builtin.RawPointer, loc "ClassListController.swift":66:25, scope 49 // user: %25
- %25 = pointer_to_address %24 : $Builtin.RawPointer to [strict] $*Array<Information>, loc "ClassListController.swift":66:25, scope 49 // user: %29
- // function_ref IndexPath.row.getter
- %26 = function_ref @_TFE5UIKitV10Foundation9IndexPathg3rowSi : $@convention(method) (@guaranteed IndexPath) -> Int, loc "ClassListController.swift":66:63, scope 49 // user: %27
- %27 = apply %26(%2) : $@convention(method) (@guaranteed IndexPath) -> Int, loc "ClassListController.swift":66:63, scope 49 // user: %29
- %28 = alloc_stack $Information, loc "ClassListController.swift":66:66, scope 49 // users: %32, %30, %29
- %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
- %30 = load [take] %28 : $*Information, loc "ClassListController.swift":66:66, scope 49 // user: %31
- destroy_value %30 : $Information, loc "ClassListController.swift":66:66, scope 49 // id: %31
- dealloc_stack %28 : $*Information, loc "ClassListController.swift":66:66, scope 49 // id: %32
- %33 = metatype $@thick Information.Type, loc "ClassListController.swift":67:13, scope 49
- // function_ref Information.keyValueStore.unsafeMutableAddressor
- %34 = function_ref @_TFC3gpa11Informationau13keyValueStoreCSo25NSUbiquitousKeyValueStore : $@convention(thin) () -> Builtin.RawPointer, loc "ClassListController.swift":67:25, scope 49 // user: %35
- %35 = apply %34() : $@convention(thin) () -> Builtin.RawPointer, loc "ClassListController.swift":67:25, scope 49 // user: %36
- %36 = pointer_to_address %35 : $Builtin.RawPointer to [strict] $*NSUbiquitousKeyValueStore, loc "ClassListController.swift":67:25, scope 49 // user: %37
- %37 = load [copy] %36 : $*NSUbiquitousKeyValueStore, loc "ClassListController.swift":67:25, scope 49 // users: %82, %76, %38
- %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
- %39 = metatype $@thick NSKeyedArchiver.Type, loc "ClassListController.swift":67:43, scope 49 // users: %41, %40
- %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
- %41 = thick_to_objc_metatype %39 : $@thick NSKeyedArchiver.Type to $@objc_metatype NSKeyedArchiver.Type, loc "ClassListController.swift":67:43, scope 49 // user: %50
- %42 = metatype $@thick Information.Type, loc "ClassListController.swift":67:88, scope 49
- // function_ref Information.classesAndGrades.unsafeMutableAddressor
- %43 = function_ref @_TFC3gpa11Informationau16classesAndGradesGSaS0__ : $@convention(thin) () -> Builtin.RawPointer, loc "ClassListController.swift":67:100, scope 49 // user: %44
- %44 = apply %43() : $@convention(thin) () -> Builtin.RawPointer, loc "ClassListController.swift":67:100, scope 49 // user: %45
- %45 = pointer_to_address %44 : $Builtin.RawPointer to [strict] $*Array<Information>, loc "ClassListController.swift":67:100, scope 49 // user: %46
- %46 = load [copy] %45 : $*Array<Information>, loc "ClassListController.swift":67:100, scope 49 // users: %81, %48
- // function_ref Array._bridgeToObjectiveC() -> NSArray
- %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
- %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
- %49 = init_existential_ref %48 : $NSArray : $NSArray, $AnyObject, loc "ClassListController.swift":67:100, scope 49 // user: %50
- %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
- // function_ref static Data._unconditionallyBridgeFromObjectiveC(NSData?) -> Data
- %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
- %52 = metatype $@thin Data.Type, loc "ClassListController.swift":67:116, scope 49 // user: %53
- %53 = apply %51(%50, %52) : $@convention(method) (@owned Optional<NSData>, @thin Data.Type) -> @owned Data, loc "ClassListController.swift":67:116, scope 49 // user: %54
- %54 = enum $Optional<Data>, #Optional.some!enumelt.1, %53 : $Data, loc "ClassListController.swift":67:59, scope 49 // users: %59, %57
- %55 = integer_literal $Builtin.Int1, -1, loc "ClassListController.swift":67:59, scope 49 // user: %57
- %56 = integer_literal $Builtin.Int1, 0, loc "ClassListController.swift":67:59, scope 49 // user: %57
- %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
- cond_br %57, bb2, bb3, loc "ClassListController.swift":67:59, scope 49 // id: %58
- bb2: // Preds: bb1
- %59 = unchecked_enum_data %54 : $Optional<Data>, #Optional.some!enumelt.1, loc "ClassListController.swift":67:59, scope 49 // users: %63, %61
- // function_ref Data._bridgeToObjectiveC() -> NSData
- %60 = function_ref @_TFV10Foundation4Data19_bridgeToObjectiveCfT_CSo6NSData : $@convention(method) (@guaranteed Data) -> @owned NSData, loc "ClassListController.swift":67:59, scope 49 // user: %61
- %61 = apply %60(%59) : $@convention(method) (@guaranteed Data) -> @owned NSData, loc "ClassListController.swift":67:59, scope 49 // user: %62
- %62 = enum $Optional<NSData>, #Optional.some!enumelt.1, %61 : $NSData, loc "ClassListController.swift":67:59, scope 49 // user: %64
- destroy_value %59 : $Data, loc "ClassListController.swift":67:116, scope 49 // id: %63
- br bb4(%62 : $Optional<NSData>), loc "ClassListController.swift":67:59, scope 49 // id: %64
- bb3: // Preds: bb1
- %65 = enum $Optional<NSData>, #Optional.none!enumelt, loc "ClassListController.swift":67:59, scope 49 // user: %66
- br bb4(%65 : $Optional<NSData>), loc "ClassListController.swift":67:59, scope 49 // id: %66
- // %67 // users: %79, %76
- bb4(%67 : $Optional<NSData>): // Preds: bb3 bb2
- %68 = string_literal utf8 "savedList", loc "ClassListController.swift":67:127, scope 49 // user: %73
- %69 = integer_literal $Builtin.Word, 9, loc "ClassListController.swift":67:127, scope 49 // user: %73
- %70 = integer_literal $Builtin.Int1, -1, loc "ClassListController.swift":67:127, scope 49 // user: %73
- %71 = metatype $@thin String.Type, loc "ClassListController.swift":67:127, scope 49 // user: %73
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- // function_ref String._bridgeToObjectiveC() -> NSString
- %74 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassListController.swift":67:127, scope 49 // user: %75
- %75 = apply %74(%73) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassListController.swift":67:127, scope 49 // users: %77, %76
- %76 = apply %38(%67, %75, %37) : $@convention(objc_method) (Optional<NSData>, NSString, NSUbiquitousKeyValueStore) -> (), loc "ClassListController.swift":67:138, scope 49
- destroy_value %75 : $NSString, loc "ClassListController.swift":67:138, scope 49 // id: %77
- destroy_value %73 : $String, loc "ClassListController.swift":67:138, scope 49 // id: %78
- destroy_value %67 : $Optional<NSData>, loc "ClassListController.swift":67:138, scope 49 // id: %79
- destroy_value %48 : $NSArray, loc "ClassListController.swift":67:138, scope 49 // id: %80
- destroy_value %46 : $Array<Information>, loc "ClassListController.swift":67:138, scope 49 // id: %81
- destroy_value %37 : $NSUbiquitousKeyValueStore, loc "ClassListController.swift":67:138, scope 49 // id: %82
- %83 = alloc_stack $Optional<UITableView>, loc "ClassListController.swift":69:13, scope 49 // users: %101, %95, %87, %86
- %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
- %85 = apply %84(%3) : $@convention(method) (@guaranteed ClassListController) -> @owned Optional<UITableView>, loc "ClassListController.swift":69:13, scope 49 // user: %86
- store %85 to [init] %83 : $*Optional<UITableView>, loc "ClassListController.swift":69:13, scope 49 // id: %86
- switch_enum_addr %83 : $*Optional<UITableView>, case #Optional.none!enumelt: bb5, default bb6, loc "ClassListController.swift":69:13, scope 49 // id: %87
- bb5: // Preds: bb4
- %88 = string_literal utf8 "ClassListController.swift", loc "ClassListController.swift":69:13, scope 49 // user: %93
- %89 = integer_literal $Builtin.Word, 25, loc "ClassListController.swift":69:13, scope 49 // user: %93
- %90 = integer_literal $Builtin.Int1, -1, loc "ClassListController.swift":69:13, scope 49 // user: %93
- %91 = integer_literal $Builtin.Word, 69, loc "ClassListController.swift":69:13, scope 49 // user: %93
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %93 = apply %92(%88, %89, %90, %91) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassListController.swift":69:13, scope 49
- unreachable , loc "ClassListController.swift":69:13, scope 49 // id: %94
- bb6: // Preds: bb4
- %95 = unchecked_take_enum_data_addr %83 : $*Optional<UITableView>, #Optional.some!enumelt.1, loc "ClassListController.swift":69:13, scope 49 // users: %100, %96
- %96 = load [copy] %95 : $*UITableView, loc "ClassListController.swift":69:13, scope 49 // users: %99, %98, %97
- %97 = class_method [volatile] %96 : $UITableView, #UITableView.reloadData!1.foreign : (UITableView) -> () -> () , $@convention(objc_method) (UITableView) -> (), loc "ClassListController.swift":69:24, scope 49 // user: %98
- %98 = apply %97(%96) : $@convention(objc_method) (UITableView) -> (), loc "ClassListController.swift":69:35, scope 49
- destroy_value %96 : $UITableView, loc "ClassListController.swift":69:35, scope 49 // id: %99
- destroy_addr %95 : $*UITableView, loc "ClassListController.swift":69:35, scope 49 // id: %100
- dealloc_stack %83 : $*Optional<UITableView>, loc "ClassListController.swift":69:35, scope 49 // id: %101
- %102 = class_method %3 : $ClassListController, #ClassListController.setEditOptionEnabled!1 : (ClassListController) -> () -> () , $@convention(method) (@guaranteed ClassListController) -> (), loc "ClassListController.swift":70:13, scope 49 // user: %103
- %103 = apply %102(%3) : $@convention(method) (@guaranteed ClassListController) -> (), loc "ClassListController.swift":70:34, scope 49
- br bb7, loc "ClassListController.swift":71:9, scope 48 // id: %104
- bb7: // Preds: bb6 bb0
- destroy_value %2 : $IndexPath, loc "ClassListController.swift":72:5, scope 47 // id: %105
- destroy_value %0 : $UITableView, loc "ClassListController.swift":72:5, scope 47 // id: %106
- %107 = tuple (), loc "ClassListController.swift":72:5, scope 47 // user: %108
- return %107 : $(), loc "ClassListController.swift":72:5, scope 47 // id: %108
- } // end sil function '_TFC3gpa19ClassListController9tableViewfTCSo11UITableView18commitEditingStyleOSC27UITableViewCellEditingStyle17forRowAtIndexPathV10Foundation9IndexPath_T_'
- // == infix<A where ...> (A, A) -> Bool
- sil @_TFsoi2eeuRxs16RawRepresentablewx8RawValues9EquatablerFTxx_Sb : $@convention(thin) <τ_0_0 where τ_0_0 : RawRepresentable, τ_0_0.RawValue : Equatable> (@in τ_0_0, @in τ_0_0) -> Bool
- // Array.remove(at : Int) -> A
- sil @_TFSa6removefT2atSi_x : $@convention(method) <τ_0_0> (Int, @inout Array<τ_0_0>) -> @out τ_0_0
- // IndexPath.row.getter
- sil @_TFE5UIKitV10Foundation9IndexPathg3rowSi : $@convention(method) (@guaranteed IndexPath) -> Int
- // Information.keyValueStore.unsafeMutableAddressor
- sil hidden_external [global_init] @_TFC3gpa11Informationau13keyValueStoreCSo25NSUbiquitousKeyValueStore : $@convention(thin) () -> Builtin.RawPointer
- // Array._bridgeToObjectiveC() -> NSArray
- sil [_semantics "convertToObjectiveC"] @_TFE10FoundationSa19_bridgeToObjectiveCfT_CSo7NSArray : $@convention(method) <τ_0_0> (@guaranteed Array<τ_0_0>) -> @owned NSArray
- // static Data._unconditionallyBridgeFromObjectiveC(NSData?) -> Data
- sil @_TZFV10Foundation4Data36_unconditionallyBridgeFromObjectiveCfGSqCSo6NSData_S0_ : $@convention(method) (@owned Optional<NSData>, @thin Data.Type) -> @owned Data
- // Data._bridgeToObjectiveC() -> NSData
- sil [_semantics "convertToObjectiveC"] @_TFV10Foundation4Data19_bridgeToObjectiveCfT_CSo6NSData : $@convention(method) (@guaranteed Data) -> @owned NSData
- // String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- sil [readonly] [_semantics "string.makeUTF8"] @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String
- sil_scope 50 { loc "ClassListController.swift":64:10 parent @_TToFC3gpa19ClassListController9tableViewfTCSo11UITableView18commitEditingStyleOSC27UITableViewCellEditingStyle17forRowAtIndexPathV10Foundation9IndexPath_T_ : $@convention(objc_method) (UITableView, UITableViewCellEditingStyle, NSIndexPath, ClassListController) -> () }
- // @objc ClassListController.tableView(UITableView, commitEditingStyle : UITableViewCellEditingStyle, forRowAtIndexPath : IndexPath) -> ()
- sil hidden [thunk] @_TToFC3gpa19ClassListController9tableViewfTCSo11UITableView18commitEditingStyleOSC27UITableViewCellEditingStyle17forRowAtIndexPathV10Foundation9IndexPath_T_ : $@convention(objc_method) (UITableView, UITableViewCellEditingStyle, NSIndexPath, ClassListController) -> () {
- // %0 // user: %4
- // %1 // user: %12
- // %2 // user: %5
- // %3 // user: %6
- bb0(%0 : $UITableView, %1 : $UITableViewCellEditingStyle, %2 : $NSIndexPath, %3 : $ClassListController):
- %4 = copy_value %0 : $UITableView, scope 50 // user: %12
- %5 = copy_value %2 : $NSIndexPath, scope 50 // user: %8
- %6 = copy_value %3 : $ClassListController, scope 50 // users: %13, %12
- // function_ref static IndexPath._unconditionallyBridgeFromObjectiveC(NSIndexPath?) -> IndexPath
- %7 = function_ref @_TZFV10Foundation9IndexPath36_unconditionallyBridgeFromObjectiveCfGSqCSo11NSIndexPath_S0_ : $@convention(method) (@owned Optional<NSIndexPath>, @thin IndexPath.Type) -> @owned IndexPath, scope 50 // user: %10
- %8 = enum $Optional<NSIndexPath>, #Optional.some!enumelt.1, %5 : $NSIndexPath, scope 50 // user: %10
- %9 = metatype $@thin IndexPath.Type, scope 50 // user: %10
- %10 = apply %7(%8, %9) : $@convention(method) (@owned Optional<NSIndexPath>, @thin IndexPath.Type) -> @owned IndexPath, scope 50 // user: %12
- // function_ref ClassListController.tableView(UITableView, commitEditingStyle : UITableViewCellEditingStyle, forRowAtIndexPath : IndexPath) -> ()
- %11 = function_ref @_TFC3gpa19ClassListController9tableViewfTCSo11UITableView18commitEditingStyleOSC27UITableViewCellEditingStyle17forRowAtIndexPathV10Foundation9IndexPath_T_ : $@convention(method) (@owned UITableView, UITableViewCellEditingStyle, @owned IndexPath, @guaranteed ClassListController) -> (), scope 50 // user: %12
- %12 = apply %11(%4, %1, %10, %6) : $@convention(method) (@owned UITableView, UITableViewCellEditingStyle, @owned IndexPath, @guaranteed ClassListController) -> (), scope 50 // user: %14
- destroy_value %6 : $ClassListController, scope 50 // id: %13
- return %12 : $(), scope 50 // id: %14
- } // end sil function '_TToFC3gpa19ClassListController9tableViewfTCSo11UITableView18commitEditingStyleOSC27UITableViewCellEditingStyle17forRowAtIndexPathV10Foundation9IndexPath_T_'
- // static IndexPath._unconditionallyBridgeFromObjectiveC(NSIndexPath?) -> IndexPath
- sil @_TZFV10Foundation9IndexPath36_unconditionallyBridgeFromObjectiveCfGSqCSo11NSIndexPath_S0_ : $@convention(method) (@owned Optional<NSIndexPath>, @thin IndexPath.Type) -> @owned IndexPath
- sil_scope 51 { loc "ClassListController.swift":74:10 parent @_TFC3gpa19ClassListController9tableViewfTCSo11UITableView21cellForRowAtIndexPathV10Foundation9IndexPath_CSo15UITableViewCell : $@convention(method) (@owned UITableView, @owned IndexPath, @guaranteed ClassListController) -> @owned UITableViewCell }
- sil_scope 52 { loc "ClassListController.swift":80:5 parent 51 }
- // ClassListController.tableView(UITableView, cellForRowAtIndexPath : IndexPath) -> UITableViewCell
- sil hidden @_TFC3gpa19ClassListController9tableViewfTCSo11UITableView21cellForRowAtIndexPathV10Foundation9IndexPath_CSo15UITableViewCell : $@convention(method) (@owned UITableView, @owned IndexPath, @guaranteed ClassListController) -> @owned UITableViewCell {
- // %0 // users: %138, %3
- // %1 // users: %137, %86, %53, %4
- // %2 // user: %5
- bb0(%0 : $UITableView, %1 : $IndexPath, %2 : $ClassListController):
- debug_value %0 : $UITableView, let, name "tableView", argno 1, loc "ClassListController.swift":74:22, scope 51 // id: %3
- debug_value %1 : $IndexPath, let, name "indexPath", argno 2, loc "ClassListController.swift":74:68, scope 51 // id: %4
- debug_value %2 : $ClassListController, let, name "self", argno 3, loc "ClassListController.swift":74:10, scope 51 // id: %5
- // function_ref UITableViewCell.__allocating_init(style : UITableViewCellStyle, reuseIdentifier : String?) -> UITableViewCell
- %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
- %7 = metatype $@thick UITableViewCell.Type, loc "ClassListController.swift":75:20, scope 52 // user: %17
- %8 = metatype $@thin UITableViewCellStyle.Type, loc "ClassListController.swift":75:43, scope 52
- %9 = enum $UITableViewCellStyle, #UITableViewCellStyle.default!enumelt, loc "ClassListController.swift":75:64, scope 52 // user: %17
- %10 = string_literal utf8 "Cell", loc "ClassListController.swift":75:90, scope 52 // user: %15
- %11 = integer_literal $Builtin.Word, 4, loc "ClassListController.swift":75:90, scope 52 // user: %15
- %12 = integer_literal $Builtin.Int1, -1, loc "ClassListController.swift":75:90, scope 52 // user: %15
- %13 = metatype $@thin String.Type, loc "ClassListController.swift":75:90, scope 52 // user: %15
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- %16 = enum $Optional<String>, #Optional.some!enumelt.1, %15 : $String, loc "ClassListController.swift":75:90, scope 52 // user: %17
- %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
- debug_value %17 : $UITableViewCell, let, name "cell", loc "ClassListController.swift":75:13, scope 52 // id: %18
- %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
- %20 = apply %19(%17) : $@convention(objc_method) (UITableViewCell) -> @autoreleased Optional<UILabel>, loc "ClassListController.swift":77:14, scope 52 // users: %25, %23
- %21 = integer_literal $Builtin.Int1, -1, loc "ClassListController.swift":77:23, scope 52 // user: %23
- %22 = integer_literal $Builtin.Int1, 0, loc "ClassListController.swift":77:23, scope 52 // user: %23
- %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
- cond_br %23, bb1, bb6, loc "ClassListController.swift":77:23, scope 52 // id: %24
- bb1: // Preds: bb0
- %25 = unchecked_enum_data %20 : $Optional<UILabel>, #Optional.some!enumelt.1, loc "ClassListController.swift":77:23, scope 52 // users: %130, %126, %112
- // function_ref String.init(stringInterpolation : [String]...) -> String
- %26 = function_ref @_TFSSCft19stringInterpolationGSaSS__SS : $@convention(method) (@owned Array<String>, @thin String.Type) -> @owned String, loc "ClassListController.swift":77:32, scope 52 // user: %110
- %27 = metatype $@thin String.Type, loc "ClassListController.swift":77:32, scope 52 // user: %110
- %28 = integer_literal $Builtin.Word, 5, loc "ClassListController.swift":77:32, scope 52 // user: %30
- // function_ref _allocateUninitializedArray<A> (Builtin.Word) -> ([A], Builtin.RawPointer)
- %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
- %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
- %31 = tuple_extract %30 : $(Array<String>, Builtin.RawPointer), 0, loc "ClassListController.swift":77:32, scope 52 // user: %110
- %32 = tuple_extract %30 : $(Array<String>, Builtin.RawPointer), 1, loc "ClassListController.swift":77:32, scope 52 // user: %33
- %33 = pointer_to_address %32 : $Builtin.RawPointer to [strict] $*String, loc "ClassListController.swift":77:32, scope 52 // users: %99, %78, %66, %45, %43
- // function_ref String.init(stringInterpolationSegment : String) -> String
- %34 = function_ref @_TFSSCfT26stringInterpolationSegmentSS_SS : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "ClassListController.swift":77:32, scope 52 // user: %42
- %35 = metatype $@thin String.Type, loc "ClassListController.swift":77:32, scope 52 // user: %42
- %36 = string_literal utf8 "", loc "ClassListController.swift":77:32, scope 52 // user: %41
- %37 = integer_literal $Builtin.Word, 0, loc "ClassListController.swift":77:32, scope 52 // user: %41
- %38 = integer_literal $Builtin.Int1, -1, loc "ClassListController.swift":77:32, scope 52 // user: %41
- %39 = metatype $@thin String.Type, loc "ClassListController.swift":77:32, scope 52 // user: %41
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- %42 = apply %34(%41, %35) : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "ClassListController.swift":77:32, scope 52 // user: %43
- store %42 to [init] %33 : $*String, loc "ClassListController.swift":77:32, scope 52 // id: %43
- %44 = integer_literal $Builtin.Word, 1, loc "ClassListController.swift":77:83, scope 52 // user: %45
- %45 = index_addr %33 : $*String, %44 : $Builtin.Word, loc "ClassListController.swift":77:83, scope 52 // user: %64
- // function_ref String.init(stringInterpolationSegment : String) -> String
- %46 = function_ref @_TFSSCfT26stringInterpolationSegmentSS_SS : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "ClassListController.swift":77:32, scope 52 // user: %63
- %47 = metatype $@thin String.Type, loc "ClassListController.swift":77:32, scope 52 // user: %63
- %48 = metatype $@thick Information.Type, loc "ClassListController.swift":77:35, scope 52
- // function_ref Information.classesAndGrades.unsafeMutableAddressor
- %49 = function_ref @_TFC3gpa11Informationau16classesAndGradesGSaS0__ : $@convention(thin) () -> Builtin.RawPointer, loc "ClassListController.swift":77:47, scope 52 // user: %50
- %50 = apply %49() : $@convention(thin) () -> Builtin.RawPointer, loc "ClassListController.swift":77:47, scope 52 // user: %51
- %51 = pointer_to_address %50 : $Builtin.RawPointer to [strict] $*Array<Information>, loc "ClassListController.swift":77:47, scope 52 // user: %54
- // function_ref IndexPath.row.getter
- %52 = function_ref @_TFE5UIKitV10Foundation9IndexPathg3rowSi : $@convention(method) (@guaranteed IndexPath) -> Int, loc "ClassListController.swift":77:74, scope 52 // user: %53
- %53 = apply %52(%1) : $@convention(method) (@guaranteed IndexPath) -> Int, loc "ClassListController.swift":77:74, scope 52 // user: %57
- %54 = load [copy] %51 : $*Array<Information>, loc "ClassListController.swift":77:63, scope 52 // users: %58, %57
- // function_ref Array.subscript.getter
- %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
- %56 = alloc_stack $Information, loc "ClassListController.swift":77:63, scope 52 // users: %129, %59, %57
- %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
- destroy_value %54 : $Array<Information>, loc "ClassListController.swift":77:77, scope 52 // id: %58
- %59 = load [take] %56 : $*Information, loc "ClassListController.swift":77:63, scope 52 // users: %62, %61, %60
- %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
- %61 = apply %60(%59) : $@convention(method) (@guaranteed Information) -> @owned String, loc "ClassListController.swift":77:79, scope 52 // user: %63
- destroy_value %59 : $Information, loc "ClassListController.swift":77:83, scope 52 // id: %62
- %63 = apply %46(%61, %47) : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "ClassListController.swift":77:83, scope 52 // user: %64
- store %63 to [init] %45 : $*String, loc "ClassListController.swift":77:83, scope 52 // id: %64
- %65 = integer_literal $Builtin.Word, 2, loc "ClassListController.swift":77:84, scope 52 // user: %66
- %66 = index_addr %33 : $*String, %65 : $Builtin.Word, loc "ClassListController.swift":77:84, scope 52 // user: %76
- // function_ref String.init(stringInterpolationSegment : String) -> String
- %67 = function_ref @_TFSSCfT26stringInterpolationSegmentSS_SS : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "ClassListController.swift":77:32, scope 52 // user: %75
- %68 = metatype $@thin String.Type, loc "ClassListController.swift":77:32, scope 52 // user: %75
- %69 = string_literal utf8 ": ", loc "ClassListController.swift":77:84, scope 52 // user: %74
- %70 = integer_literal $Builtin.Word, 2, loc "ClassListController.swift":77:84, scope 52 // user: %74
- %71 = integer_literal $Builtin.Int1, -1, loc "ClassListController.swift":77:84, scope 52 // user: %74
- %72 = metatype $@thin String.Type, loc "ClassListController.swift":77:84, scope 52 // user: %74
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- %75 = apply %67(%74, %68) : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "ClassListController.swift":77:84, scope 52 // user: %76
- store %75 to [init] %66 : $*String, loc "ClassListController.swift":77:84, scope 52 // id: %76
- %77 = integer_literal $Builtin.Word, 3, loc "ClassListController.swift":77:137, scope 52 // user: %78
- %78 = index_addr %33 : $*String, %77 : $Builtin.Word, loc "ClassListController.swift":77:137, scope 52 // user: %97
- // function_ref String.init(stringInterpolationSegment : Int) -> String
- %79 = function_ref @_TFSSCfT26stringInterpolationSegmentSi_SS : $@convention(method) (Int, @thin String.Type) -> @owned String, loc "ClassListController.swift":77:32, scope 52 // user: %96
- %80 = metatype $@thin String.Type, loc "ClassListController.swift":77:32, scope 52 // user: %96
- %81 = metatype $@thick Information.Type, loc "ClassListController.swift":77:88, scope 52
- // function_ref Information.classesAndGrades.unsafeMutableAddressor
- %82 = function_ref @_TFC3gpa11Informationau16classesAndGradesGSaS0__ : $@convention(thin) () -> Builtin.RawPointer, loc "ClassListController.swift":77:100, scope 52 // user: %83
- %83 = apply %82() : $@convention(thin) () -> Builtin.RawPointer, loc "ClassListController.swift":77:100, scope 52 // user: %84
- %84 = pointer_to_address %83 : $Builtin.RawPointer to [strict] $*Array<Information>, loc "ClassListController.swift":77:100, scope 52 // user: %87
- // function_ref IndexPath.row.getter
- %85 = function_ref @_TFE5UIKitV10Foundation9IndexPathg3rowSi : $@convention(method) (@guaranteed IndexPath) -> Int, loc "ClassListController.swift":77:127, scope 52 // user: %86
- %86 = apply %85(%1) : $@convention(method) (@guaranteed IndexPath) -> Int, loc "ClassListController.swift":77:127, scope 52 // user: %90
- %87 = load [copy] %84 : $*Array<Information>, loc "ClassListController.swift":77:116, scope 52 // users: %91, %90
- // function_ref Array.subscript.getter
- %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
- %89 = alloc_stack $Information, loc "ClassListController.swift":77:116, scope 52 // users: %128, %92, %90
- %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
- destroy_value %87 : $Array<Information>, loc "ClassListController.swift":77:130, scope 52 // id: %91
- %92 = load [take] %89 : $*Information, loc "ClassListController.swift":77:116, scope 52 // users: %95, %94, %93
- %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
- %94 = apply %93(%92) : $@convention(method) (@guaranteed Information) -> Int, loc "ClassListController.swift":77:132, scope 52 // user: %96
- destroy_value %92 : $Information, loc "ClassListController.swift":77:137, scope 52 // id: %95
- %96 = apply %79(%94, %80) : $@convention(method) (Int, @thin String.Type) -> @owned String, loc "ClassListController.swift":77:137, scope 52 // user: %97
- store %96 to [init] %78 : $*String, loc "ClassListController.swift":77:137, scope 52 // id: %97
- %98 = integer_literal $Builtin.Word, 4, loc "ClassListController.swift":77:138, scope 52 // user: %99
- %99 = index_addr %33 : $*String, %98 : $Builtin.Word, loc "ClassListController.swift":77:138, scope 52 // user: %109
- // function_ref String.init(stringInterpolationSegment : String) -> String
- %100 = function_ref @_TFSSCfT26stringInterpolationSegmentSS_SS : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "ClassListController.swift":77:32, scope 52 // user: %108
- %101 = metatype $@thin String.Type, loc "ClassListController.swift":77:32, scope 52 // user: %108
- %102 = string_literal utf8 "", loc "ClassListController.swift":77:138, scope 52 // user: %107
- %103 = integer_literal $Builtin.Word, 0, loc "ClassListController.swift":77:138, scope 52 // user: %107
- %104 = integer_literal $Builtin.Int1, -1, loc "ClassListController.swift":77:138, scope 52 // user: %107
- %105 = metatype $@thin String.Type, loc "ClassListController.swift":77:138, scope 52 // user: %107
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- %108 = apply %100(%107, %101) : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "ClassListController.swift":77:138, scope 52 // user: %109
- store %108 to [init] %99 : $*String, loc "ClassListController.swift":77:138, scope 52 // id: %109
- %110 = apply %26(%31, %27) : $@convention(method) (@owned Array<String>, @thin String.Type) -> @owned String, loc "ClassListController.swift":77:138, scope 52 // user: %111
- %111 = enum $Optional<String>, #Optional.some!enumelt.1, %110 : $String, loc "ClassListController.swift":77:32, scope 52 // users: %117, %115
- %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
- %113 = integer_literal $Builtin.Int1, -1, loc "ClassListController.swift":77:30, scope 52 // user: %115
- %114 = integer_literal $Builtin.Int1, 0, loc "ClassListController.swift":77:30, scope 52 // user: %115
- %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
- cond_br %115, bb2, bb3, loc "ClassListController.swift":77:30, scope 52 // id: %116
- bb2: // Preds: bb1
- %117 = unchecked_enum_data %111 : $Optional<String>, #Optional.some!enumelt.1, loc "ClassListController.swift":77:30, scope 52 // users: %121, %119
- // function_ref String._bridgeToObjectiveC() -> NSString
- %118 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassListController.swift":77:30, scope 52 // user: %119
- %119 = apply %118(%117) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassListController.swift":77:30, scope 52 // user: %120
- %120 = enum $Optional<NSString>, #Optional.some!enumelt.1, %119 : $NSString, loc "ClassListController.swift":77:30, scope 52 // user: %122
- destroy_value %117 : $String, loc "ClassListController.swift":77:32, scope 52 // id: %121
- br bb4(%120 : $Optional<NSString>), loc "ClassListController.swift":77:30, scope 52 // id: %122
- bb3: // Preds: bb1
- %123 = enum $Optional<NSString>, #Optional.none!enumelt, loc "ClassListController.swift":77:30, scope 52 // user: %124
- br bb4(%123 : $Optional<NSString>), loc "ClassListController.swift":77:30, scope 52 // id: %124
- // %125 // users: %127, %126
- bb4(%125 : $Optional<NSString>): // Preds: bb3 bb2
- %126 = apply %112(%125, %25) : $@convention(objc_method) (Optional<NSString>, UILabel) -> (), loc "ClassListController.swift":77:30, scope 52
- destroy_value %125 : $Optional<NSString>, loc "ClassListController.swift":77:32, scope 52 // id: %127
- dealloc_stack %89 : $*Information, loc "ClassListController.swift":77:32, scope 52 // id: %128
- dealloc_stack %56 : $*Information, loc "ClassListController.swift":77:32, scope 52 // id: %129
- destroy_value %25 : $UILabel, loc "ClassListController.swift":77:32, scope 52 // id: %130
- %131 = tuple (), loc "ClassListController.swift":77:30, scope 52 // user: %132
- %132 = enum $Optional<()>, #Optional.some!enumelt.1, %131 : $(), loc "ClassListController.swift":77:30, scope 52 // user: %133
- br bb5(%132 : $Optional<()>), loc "ClassListController.swift":77:30, scope 52 // id: %133
- bb5(%134 : $Optional<()>): // Preds: bb6 bb4
- %135 = copy_value %17 : $UITableViewCell, loc "ClassListController.swift":79:16, scope 52 // user: %139
- destroy_value %17 : $UITableViewCell, loc "ClassListController.swift":80:5, scope 52 // id: %136
- destroy_value %1 : $IndexPath, loc "ClassListController.swift":80:5, scope 52 // id: %137
- destroy_value %0 : $UITableView, loc "ClassListController.swift":80:5, scope 52 // id: %138
- return %135 : $UITableViewCell, loc "ClassListController.swift":79:9, scope 52 // id: %139
- bb6: // Preds: bb0
- %140 = enum $Optional<()>, #Optional.none!enumelt, loc "ClassListController.swift":77:30, scope 52 // user: %141
- br bb5(%140 : $Optional<()>), loc "ClassListController.swift":77:30, scope 52 // id: %141
- } // end sil function '_TFC3gpa19ClassListController9tableViewfTCSo11UITableView21cellForRowAtIndexPathV10Foundation9IndexPath_CSo15UITableViewCell'
- sil_scope 53 { parent @_TFCSo15UITableViewCellCfT5styleOSC20UITableViewCellStyle15reuseIdentifierGSqSS__S_ : $@convention(method) (UITableViewCellStyle, @owned Optional<String>, @thick UITableViewCell.Type) -> @owned UITableViewCell }
- // UITableViewCell.__allocating_init(style : UITableViewCellStyle, reuseIdentifier : String?) -> UITableViewCell
- sil shared @_TFCSo15UITableViewCellCfT5styleOSC20UITableViewCellStyle15reuseIdentifierGSqSS__S_ : $@convention(method) (UITableViewCellStyle, @owned Optional<String>, @thick UITableViewCell.Type) -> @owned UITableViewCell {
- // %0 // user: %6
- // %1 // user: %6
- // %2 // user: %3
- bb0(%0 : $UITableViewCellStyle, %1 : $Optional<String>, %2 : $@thick UITableViewCell.Type):
- %3 = thick_to_objc_metatype %2 : $@thick UITableViewCell.Type to $@objc_metatype UITableViewCell.Type, scope 53 // user: %4
- %4 = alloc_ref_dynamic [objc] %3 : $@objc_metatype UITableViewCell.Type, $UITableViewCell, scope 53 // user: %6
- // function_ref @nonobjc UITableViewCell.init(style : UITableViewCellStyle, reuseIdentifier : String?) -> UITableViewCell
- %5 = function_ref @_TTOFCSo15UITableViewCellcfT5styleOSC20UITableViewCellStyle15reuseIdentifierGSqSS__S_ : $@convention(method) (UITableViewCellStyle, @owned Optional<String>, @owned UITableViewCell) -> @owned UITableViewCell, scope 53 // user: %6
- %6 = apply %5(%0, %1, %4) : $@convention(method) (UITableViewCellStyle, @owned Optional<String>, @owned UITableViewCell) -> @owned UITableViewCell, scope 53 // user: %7
- return %6 : $UITableViewCell, scope 53 // id: %7
- } // end sil function '_TFCSo15UITableViewCellCfT5styleOSC20UITableViewCellStyle15reuseIdentifierGSqSS__S_'
- // String.init(stringInterpolation : [String]...) -> String
- sil [readonly] @_TFSSCft19stringInterpolationGSaSS__SS : $@convention(method) (@owned Array<String>, @thin String.Type) -> @owned String
- // _allocateUninitializedArray<A> (Builtin.Word) -> ([A], Builtin.RawPointer)
- sil [fragile] [always_inline] @_TFs27_allocateUninitializedArrayurFBwTGSax_Bp_ : $@convention(thin) <τ_0_0> (Builtin.Word) -> (@owned Array<τ_0_0>, Builtin.RawPointer)
- // String.init(stringInterpolationSegment : String) -> String
- sil @_TFSSCfT26stringInterpolationSegmentSS_SS : $@convention(method) (@owned String, @thin String.Type) -> @owned String
- // Array.subscript.getter
- sil @_TFSag9subscriptFSix : $@convention(method) <τ_0_0> (Int, @guaranteed Array<τ_0_0>) -> @out τ_0_0
- // String.init(stringInterpolationSegment : Int) -> String
- sil @_TFSSCfT26stringInterpolationSegmentSi_SS : $@convention(method) (Int, @thin String.Type) -> @owned String
- sil_scope 54 { loc "ClassListController.swift":74:10 parent @_TToFC3gpa19ClassListController9tableViewfTCSo11UITableView21cellForRowAtIndexPathV10Foundation9IndexPath_CSo15UITableViewCell : $@convention(objc_method) (UITableView, NSIndexPath, ClassListController) -> @autoreleased UITableViewCell }
- // @objc ClassListController.tableView(UITableView, cellForRowAtIndexPath : IndexPath) -> UITableViewCell
- sil hidden [thunk] @_TToFC3gpa19ClassListController9tableViewfTCSo11UITableView21cellForRowAtIndexPathV10Foundation9IndexPath_CSo15UITableViewCell : $@convention(objc_method) (UITableView, NSIndexPath, ClassListController) -> @autoreleased UITableViewCell {
- // %0 // user: %3
- // %1 // user: %4
- // %2 // user: %5
- bb0(%0 : $UITableView, %1 : $NSIndexPath, %2 : $ClassListController):
- %3 = copy_value %0 : $UITableView, scope 54 // user: %11
- %4 = copy_value %1 : $NSIndexPath, scope 54 // user: %7
- %5 = copy_value %2 : $ClassListController, scope 54 // users: %12, %11
- // function_ref static IndexPath._unconditionallyBridgeFromObjectiveC(NSIndexPath?) -> IndexPath
- %6 = function_ref @_TZFV10Foundation9IndexPath36_unconditionallyBridgeFromObjectiveCfGSqCSo11NSIndexPath_S0_ : $@convention(method) (@owned Optional<NSIndexPath>, @thin IndexPath.Type) -> @owned IndexPath, scope 54 // user: %9
- %7 = enum $Optional<NSIndexPath>, #Optional.some!enumelt.1, %4 : $NSIndexPath, scope 54 // user: %9
- %8 = metatype $@thin IndexPath.Type, scope 54 // user: %9
- %9 = apply %6(%7, %8) : $@convention(method) (@owned Optional<NSIndexPath>, @thin IndexPath.Type) -> @owned IndexPath, scope 54 // user: %11
- // function_ref ClassListController.tableView(UITableView, cellForRowAtIndexPath : IndexPath) -> UITableViewCell
- %10 = function_ref @_TFC3gpa19ClassListController9tableViewfTCSo11UITableView21cellForRowAtIndexPathV10Foundation9IndexPath_CSo15UITableViewCell : $@convention(method) (@owned UITableView, @owned IndexPath, @guaranteed ClassListController) -> @owned UITableViewCell, scope 54 // user: %11
- %11 = apply %10(%3, %9, %5) : $@convention(method) (@owned UITableView, @owned IndexPath, @guaranteed ClassListController) -> @owned UITableViewCell, scope 54 // user: %13
- destroy_value %5 : $ClassListController, scope 54 // id: %12
- return %11 : $UITableViewCell, scope 54 // id: %13
- } // end sil function '_TToFC3gpa19ClassListController9tableViewfTCSo11UITableView21cellForRowAtIndexPathV10Foundation9IndexPath_CSo15UITableViewCell'
- sil_scope 55 { parent @_TFOSC27UITableViewCellEditingStyleCfT8rawValueSi_GSqS__ : $@convention(method) (Int, @thin UITableViewCellEditingStyle.Type) -> Optional<UITableViewCellEditingStyle> }
- sil_scope 56 { parent 55 }
- // UITableViewCellEditingStyle.init(rawValue : Int) -> UITableViewCellEditingStyle?
- sil shared @_TFOSC27UITableViewCellEditingStyleCfT8rawValueSi_GSqS__ : $@convention(method) (Int, @thin UITableViewCellEditingStyle.Type) -> Optional<UITableViewCellEditingStyle> {
- // %0 // users: %6, %5
- bb0(%0 : $Int, %1 : $@thin UITableViewCellEditingStyle.Type):
- %2 = alloc_box ${ var UITableViewCellEditingStyle }, var, name "self", scope 55 // users: %10, %12, %3
- %3 = project_box %2 : ${ var UITableViewCellEditingStyle }, 0, scope 55 // user: %4
- %4 = mark_uninitialized [rootself] %3 : $*UITableViewCellEditingStyle, scope 55 // users: %8, %7
- debug_value %0 : $Int, let, name "rawValue", argno 1, scope 55 // id: %5
- %6 = unchecked_trivial_bit_cast %0 : $Int to $UITableViewCellEditingStyle, scope 56 // user: %7
- assign %6 to %4 : $*UITableViewCellEditingStyle, scope 56 // id: %7
- %8 = load [trivial] %4 : $*UITableViewCellEditingStyle, scope 56 // user: %9
- %9 = enum $Optional<UITableViewCellEditingStyle>, #Optional.some!enumelt.1, %8 : $UITableViewCellEditingStyle, scope 56 // user: %11
- destroy_value %2 : ${ var UITableViewCellEditingStyle }, scope 56 // id: %10
- br bb2(%9 : $Optional<UITableViewCellEditingStyle>), scope 56 // id: %11
- bb1:
- destroy_value %2 : ${ var UITableViewCellEditingStyle }, scope 55 // id: %12
- %13 = enum $Optional<UITableViewCellEditingStyle>, #Optional.none!enumelt, scope 55 // user: %14
- br bb2(%13 : $Optional<UITableViewCellEditingStyle>), scope 55 // id: %14
- // %15 // user: %16
- bb2(%15 : $Optional<UITableViewCellEditingStyle>): // Preds: bb0 bb1
- return %15 : $Optional<UITableViewCellEditingStyle>, scope 55 // id: %16
- } // end sil function '_TFOSC27UITableViewCellEditingStyleCfT8rawValueSi_GSqS__'
- sil_scope 57 { parent @_TFOSC27UITableViewCellEditingStyleg8rawValueSi : $@convention(method) (UITableViewCellEditingStyle) -> Int }
- sil_scope 58 { parent 57 }
- // UITableViewCellEditingStyle.rawValue.getter
- sil shared @_TFOSC27UITableViewCellEditingStyleg8rawValueSi : $@convention(method) (UITableViewCellEditingStyle) -> Int {
- // %0 // users: %2, %1
- bb0(%0 : $UITableViewCellEditingStyle):
- debug_value %0 : $UITableViewCellEditingStyle, let, name "self", argno 1, scope 57 // id: %1
- %2 = unchecked_trivial_bit_cast %0 : $UITableViewCellEditingStyle to $Int, scope 58 // user: %3
- return %2 : $Int, scope 58 // id: %3
- } // end sil function '_TFOSC27UITableViewCellEditingStyleg8rawValueSi'
- sil_scope 59 { parent @_TTWOSC27UITableViewCellEditingStyles9Equatable5UIKitZFS0_oi2eefTxx_Sb : $@convention(witness_method) (@in UITableViewCellEditingStyle, @in UITableViewCellEditingStyle, @thick UITableViewCellEditingStyle.Type) -> Bool }
- // protocol witness for static Equatable.== infix(A, A) -> Bool in conformance UITableViewCellEditingStyle
- sil shared [transparent] [thunk] @_TTWOSC27UITableViewCellEditingStyles9Equatable5UIKitZFS0_oi2eefTxx_Sb : $@convention(witness_method) (@in UITableViewCellEditingStyle, @in UITableViewCellEditingStyle, @thick UITableViewCellEditingStyle.Type) -> Bool {
- // %0 // user: %4
- // %1 // user: %4
- bb0(%0 : $*UITableViewCellEditingStyle, %1 : $*UITableViewCellEditingStyle, %2 : $@thick UITableViewCellEditingStyle.Type):
- // function_ref == infix<A where ...> (A, A) -> Bool
- %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
- %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
- return %4 : $Bool, scope 59 // id: %5
- } // end sil function '_TTWOSC27UITableViewCellEditingStyles9Equatable5UIKitZFS0_oi2eefTxx_Sb'
- sil_scope 60 { parent @_TTWOSC27UITableViewCellEditingStyles16RawRepresentable5UIKitFS0_CfT8rawValuewx8RawValue_GSqx_ : $@convention(witness_method) (@in Int, @thick UITableViewCellEditingStyle.Type) -> @out Optional<UITableViewCellEditingStyle> }
- // protocol witness for RawRepresentable.init(rawValue : A.RawValue) -> A? in conformance UITableViewCellEditingStyle
- sil shared [transparent] [thunk] @_TTWOSC27UITableViewCellEditingStyles16RawRepresentable5UIKitFS0_CfT8rawValuewx8RawValue_GSqx_ : $@convention(witness_method) (@in Int, @thick UITableViewCellEditingStyle.Type) -> @out Optional<UITableViewCellEditingStyle> {
- // %0 // user: %7
- // %1 // user: %3
- bb0(%0 : $*Optional<UITableViewCellEditingStyle>, %1 : $*Int, %2 : $@thick UITableViewCellEditingStyle.Type):
- %3 = load [trivial] %1 : $*Int, scope 60 // user: %6
- %4 = metatype $@thin UITableViewCellEditingStyle.Type, scope 60 // user: %6
- // function_ref UITableViewCellEditingStyle.init(rawValue : Int) -> UITableViewCellEditingStyle?
- %5 = function_ref @_TFOSC27UITableViewCellEditingStyleCfT8rawValueSi_GSqS__ : $@convention(method) (Int, @thin UITableViewCellEditingStyle.Type) -> Optional<UITableViewCellEditingStyle>, scope 60 // user: %6
- %6 = apply %5(%3, %4) : $@convention(method) (Int, @thin UITableViewCellEditingStyle.Type) -> Optional<UITableViewCellEditingStyle>, scope 60 // user: %7
- store %6 to [trivial] %0 : $*Optional<UITableViewCellEditingStyle>, scope 60 // id: %7
- %8 = tuple (), scope 60 // user: %9
- return %8 : $(), scope 60 // id: %9
- } // end sil function '_TTWOSC27UITableViewCellEditingStyles16RawRepresentable5UIKitFS0_CfT8rawValuewx8RawValue_GSqx_'
- sil_scope 61 { parent @_TTWOSC27UITableViewCellEditingStyles16RawRepresentable5UIKitFS0_g8rawValuewx8RawValue : $@convention(witness_method) (@in_guaranteed UITableViewCellEditingStyle) -> @out Int }
- // protocol witness for RawRepresentable.rawValue.getter in conformance UITableViewCellEditingStyle
- sil shared [transparent] [thunk] @_TTWOSC27UITableViewCellEditingStyles16RawRepresentable5UIKitFS0_g8rawValuewx8RawValue : $@convention(witness_method) (@in_guaranteed UITableViewCellEditingStyle) -> @out Int {
- // %0 // user: %7
- // %1 // user: %3
- bb0(%0 : $*Int, %1 : $*UITableViewCellEditingStyle):
- %2 = alloc_stack $UITableViewCellEditingStyle, scope 61 // users: %9, %4, %3
- copy_addr %1 to [initialization] %2 : $*UITableViewCellEditingStyle, scope 61 // id: %3
- %4 = load [trivial] %2 : $*UITableViewCellEditingStyle, scope 61 // user: %6
- // function_ref UITableViewCellEditingStyle.rawValue.getter
- %5 = function_ref @_TFOSC27UITableViewCellEditingStyleg8rawValueSi : $@convention(method) (UITableViewCellEditingStyle) -> Int, scope 61 // user: %6
- %6 = apply %5(%4) : $@convention(method) (UITableViewCellEditingStyle) -> Int, scope 61 // user: %7
- store %6 to [trivial] %0 : $*Int, scope 61 // id: %7
- %8 = tuple (), scope 61 // user: %10
- dealloc_stack %2 : $*UITableViewCellEditingStyle, scope 61 // id: %9
- return %8 : $(), scope 61 // id: %10
- } // end sil function '_TTWOSC27UITableViewCellEditingStyles16RawRepresentable5UIKitFS0_g8rawValuewx8RawValue'
- sil_scope 62 { parent @_TTOFCSo15UITableViewCellcfT5styleOSC20UITableViewCellStyle15reuseIdentifierGSqSS__S_ : $@convention(method) (UITableViewCellStyle, @owned Optional<String>, @owned UITableViewCell) -> @owned UITableViewCell }
- // @nonobjc UITableViewCell.init(style : UITableViewCellStyle, reuseIdentifier : String?) -> UITableViewCell
- sil shared [thunk] @_TTOFCSo15UITableViewCellcfT5styleOSC20UITableViewCellStyle15reuseIdentifierGSqSS__S_ : $@convention(method) (UITableViewCellStyle, @owned Optional<String>, @owned UITableViewCell) -> @owned UITableViewCell {
- // %0 // user: %17
- // %1 // users: %7, %5
- // %2 // users: %17, %16
- bb0(%0 : $UITableViewCellStyle, %1 : $Optional<String>, %2 : $UITableViewCell):
- %3 = integer_literal $Builtin.Int1, -1, scope 62 // user: %5
- %4 = integer_literal $Builtin.Int1, 0, scope 62 // user: %5
- %5 = select_enum %1 : $Optional<String>, case #Optional.some!enumelt.1: %3, default %4 : $Builtin.Int1, scope 62 // user: %6
- cond_br %5, bb1, bb2, scope 62 // id: %6
- bb1: // Preds: bb0
- %7 = unchecked_enum_data %1 : $Optional<String>, #Optional.some!enumelt.1, scope 62 // users: %11, %9
- // function_ref String._bridgeToObjectiveC() -> NSString
- %8 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, scope 62 // user: %9
- %9 = apply %8(%7) : $@convention(method) (@guaranteed String) -> @owned NSString, scope 62 // user: %10
- %10 = enum $Optional<NSString>, #Optional.some!enumelt.1, %9 : $NSString, scope 62 // user: %12
- destroy_value %7 : $String, scope 62 // id: %11
- br bb3(%10 : $Optional<NSString>), scope 62 // id: %12
- bb2: // Preds: bb0
- %13 = enum $Optional<NSString>, #Optional.none!enumelt, scope 62 // user: %14
- br bb3(%13 : $Optional<NSString>), scope 62 // id: %14
- // %15 // users: %18, %17
- bb3(%15 : $Optional<NSString>): // Preds: bb2 bb1
- %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
- %17 = apply %16(%0, %15, %2) : $@convention(objc_method) (UITableViewCellStyle, Optional<NSString>, @owned UITableViewCell) -> @owned UITableViewCell, scope 62 // user: %19
- destroy_value %15 : $Optional<NSString>, scope 62 // id: %18
- return %17 : $UITableViewCell, scope 62 // id: %19
- } // end sil function '_TTOFCSo15UITableViewCellcfT5styleOSC20UITableViewCellStyle15reuseIdentifierGSqSS__S_'
- sil_vtable ClassListController {
- #ClassListController.viewDidLoad!1: _TFC3gpa19ClassListController11viewDidLoadfT_T_ // ClassListController.viewDidLoad() -> ()
- #ClassListController.viewWillAppear!1: _TFC3gpa19ClassListController14viewWillAppearfSbT_ // ClassListController.viewWillAppear(Bool) -> ()
- #ClassListController.tableView!1: _TFC3gpa19ClassListController9tableViewfTCSo11UITableView21numberOfRowsInSectionSi_Si // ClassListController.tableView(UITableView, numberOfRowsInSection : Int) -> Int
- #ClassListController.setEditOptionEnabled!1: _TFC3gpa19ClassListController20setEditOptionEnabledfT_T_ // ClassListController.setEditOptionEnabled() -> ()
- #ClassListController.didReceiveMemoryWarning!1: _TFC3gpa19ClassListController23didReceiveMemoryWarningfT_T_ // ClassListController.didReceiveMemoryWarning() -> ()
- #ClassListController.deinit!deallocator: _TFC3gpa19ClassListControllerD // ClassListController.__deallocating_deinit
- #ClassListController.classTable!getter.1: _TFC3gpa19ClassListControllerg10classTableGSQCSo11UITableView_ // ClassListController.classTable.getter
- #ClassListController.classTable!setter.1: _TFC3gpa19ClassListControllers10classTableGSQCSo11UITableView_ // ClassListController.classTable.setter
- #ClassListController.classTable!materializeForSet.1: _TFC3gpa19ClassListControllerm10classTableGSQCSo11UITableView_ // ClassListController.classTable.materializeForSet
- #ClassListController.editOption!getter.1: _TFC3gpa19ClassListControllerg10editOptionGSQCSo15UIBarButtonItem_ // ClassListController.editOption.getter
- #ClassListController.editOption!setter.1: _TFC3gpa19ClassListControllers10editOptionGSQCSo15UIBarButtonItem_ // ClassListController.editOption.setter
- #ClassListController.editOption!materializeForSet.1: _TFC3gpa19ClassListControllerm10editOptionGSQCSo15UIBarButtonItem_ // ClassListController.editOption.materializeForSet
- #ClassListController.init!initializer.1: _TFC3gpa19ClassListControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ // ClassListController.init(nibName : String?, bundle : Bundle?) -> ClassListController
- #ClassListController.init!allocator.1: _TFC3gpa19ClassListControllerCfT5coderCSo7NSCoder_GSqS0__ // ClassListController.__allocating_init(coder : NSCoder) -> ClassListController?
- #ClassListController.init!initializer.1: _TFC3gpa19ClassListControllercfT5coderCSo7NSCoder_GSqS0__ // ClassListController.init(coder : NSCoder) -> ClassListController?
- }
- sil_witness_table shared NSObject: AnyObject module ObjectiveC
- sil_witness_table shared [fragile] UITableViewCellEditingStyle: Equatable module UIKit {
- method #Equatable."=="!1: @_TTWOSC27UITableViewCellEditingStyles9Equatable5UIKitZFS0_oi2eefTxx_Sb // protocol witness for static Equatable.== infix(A, A) -> Bool in conformance UITableViewCellEditingStyle
- }
- sil_witness_table shared [fragile] UITableViewCellEditingStyle: RawRepresentable module UIKit {
- associated_type RawValue: Int
- method #RawRepresentable.init!allocator.1: @_TTWOSC27UITableViewCellEditingStyles16RawRepresentable5UIKitFS0_CfT8rawValuewx8RawValue_GSqx_ // protocol witness for RawRepresentable.init(rawValue : A.RawValue) -> A? in conformance UITableViewCellEditingStyle
- method #RawRepresentable.rawValue!getter.1: @_TTWOSC27UITableViewCellEditingStyles16RawRepresentable5UIKitFS0_g8rawValuewx8RawValue // protocol witness for RawRepresentable.rawValue.getter in conformance UITableViewCellEditingStyle
- }
- sil_stage raw
- import Builtin
- import Swift
- import SwiftShims
- sil_scope 1 { loc "ClassSelectorController.swift":27:20 parent @_TIvC3gpa23ClassSelectorController8selectedSii : $@convention(thin) () -> Int }
- // ClassSelectorController.(selected).(variable initialization expression)
- sil hidden [transparent] @_TIvC3gpa23ClassSelectorController8selectedSii : $@convention(thin) () -> Int {
- bb0:
- // function_ref Int.init(_builtinIntegerLiteral : Builtin.Int2048) -> Int
- %0 = function_ref @_TFSiCfT22_builtinIntegerLiteralBi2048__Si : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":27:20, scope 1 // user: %3
- %1 = metatype $@thin Int.Type, loc "ClassSelectorController.swift":27:20, scope 1 // user: %3
- %2 = integer_literal $Builtin.Int2048, 0, loc "ClassSelectorController.swift":27:20, scope 1 // user: %3
- %3 = apply %0(%2, %1) : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":27:20, scope 1 // user: %4
- return %3 : $Int, scope 1 // id: %4
- } // end sil function '_TIvC3gpa23ClassSelectorController8selectedSii'
- // Int.init(_builtinIntegerLiteral : Builtin.Int2048) -> Int
- sil [transparent] [fragile] @_TFSiCfT22_builtinIntegerLiteralBi2048__Si : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int
- sil_scope 2 { parent @_TToFC3gpa23ClassSelectorControllerg8selectedSi : $@convention(objc_method) (ClassSelectorController) -> Int }
- // @objc ClassSelectorController.selected.getter
- sil hidden [thunk] @_TToFC3gpa23ClassSelectorControllerg8selectedSi : $@convention(objc_method) (ClassSelectorController) -> Int {
- // %0 // user: %1
- bb0(%0 : $ClassSelectorController):
- %1 = copy_value %0 : $ClassSelectorController, scope 2 // users: %4, %3
- // function_ref ClassSelectorController.selected.getter
- %2 = function_ref @_TFC3gpa23ClassSelectorControllerg8selectedSi : $@convention(method) (@guaranteed ClassSelectorController) -> Int, scope 2 // user: %3
- %3 = apply %2(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> Int, scope 2 // user: %5
- destroy_value %1 : $ClassSelectorController, scope 2 // id: %4
- return %3 : $Int, scope 2 // id: %5
- } // end sil function '_TToFC3gpa23ClassSelectorControllerg8selectedSi'
- sil_scope 3 { loc "ClassSelectorController.swift":27:9 parent @_TFC3gpa23ClassSelectorControllerg8selectedSi : $@convention(method) (@guaranteed ClassSelectorController) -> Int }
- sil_scope 4 { loc "ClassSelectorController.swift":27:9 parent 3 }
- // ClassSelectorController.selected.getter
- sil hidden @_TFC3gpa23ClassSelectorControllerg8selectedSi : $@convention(method) (@guaranteed ClassSelectorController) -> Int {
- // %0 // users: %2, %1
- bb0(%0 : $ClassSelectorController):
- debug_value %0 : $ClassSelectorController, let, name "self", argno 1, loc "ClassSelectorController.swift":27:9, scope 3 // id: %1
- %2 = ref_element_addr %0 : $ClassSelectorController, #ClassSelectorController.selected, scope 4 // user: %3
- %3 = load [trivial] %2 : $*Int, scope 4 // user: %4
- return %3 : $Int, loc "ClassSelectorController.swift":27:9, scope 4 // id: %4
- } // end sil function '_TFC3gpa23ClassSelectorControllerg8selectedSi'
- sil_scope 5 { parent @_TToFC3gpa23ClassSelectorControllers8selectedSi : $@convention(objc_method) (Int, ClassSelectorController) -> () }
- // @objc ClassSelectorController.selected.setter
- sil hidden [thunk] @_TToFC3gpa23ClassSelectorControllers8selectedSi : $@convention(objc_method) (Int, ClassSelectorController) -> () {
- // %0 // user: %4
- // %1 // user: %2
- bb0(%0 : $Int, %1 : $ClassSelectorController):
- %2 = copy_value %1 : $ClassSelectorController, scope 5 // users: %5, %4
- // function_ref ClassSelectorController.selected.setter
- %3 = function_ref @_TFC3gpa23ClassSelectorControllers8selectedSi : $@convention(method) (Int, @guaranteed ClassSelectorController) -> (), scope 5 // user: %4
- %4 = apply %3(%0, %2) : $@convention(method) (Int, @guaranteed ClassSelectorController) -> (), scope 5 // user: %6
- destroy_value %2 : $ClassSelectorController, scope 5 // id: %5
- return %4 : $(), scope 5 // id: %6
- } // end sil function '_TToFC3gpa23ClassSelectorControllers8selectedSi'
- sil_scope 6 { loc "ClassSelectorController.swift":27:9 parent @_TFC3gpa23ClassSelectorControllers8selectedSi : $@convention(method) (Int, @guaranteed ClassSelectorController) -> () }
- sil_scope 7 { loc "ClassSelectorController.swift":27:9 parent 6 }
- // ClassSelectorController.selected.setter
- sil hidden @_TFC3gpa23ClassSelectorControllers8selectedSi : $@convention(method) (Int, @guaranteed ClassSelectorController) -> () {
- // %0 // users: %5, %2
- // %1 // users: %4, %3
- bb0(%0 : $Int, %1 : $ClassSelectorController):
- debug_value %0 : $Int, let, name "value", argno 1, loc "ClassSelectorController.swift":27:9, scope 6 // id: %2
- debug_value %1 : $ClassSelectorController, let, name "self", argno 2, loc "ClassSelectorController.swift":27:9, scope 6 // id: %3
- %4 = ref_element_addr %1 : $ClassSelectorController, #ClassSelectorController.selected, scope 7 // user: %5
- assign %0 to %4 : $*Int, scope 7 // id: %5
- %6 = tuple (), loc "ClassSelectorController.swift":27:9, scope 7 // user: %7
- return %6 : $(), loc "ClassSelectorController.swift":27:9, scope 7 // id: %7
- } // end sil function '_TFC3gpa23ClassSelectorControllers8selectedSi'
- sil_scope 8 { parent @_TIvC3gpa23ClassSelectorController14classNameFieldGSQCSo11UITextField_i : $@convention(thin) () -> @owned Optional<UITextField> }
- // ClassSelectorController.(classNameField).(variable initialization expression)
- sil hidden [transparent] @_TIvC3gpa23ClassSelectorController14classNameFieldGSQCSo11UITextField_i : $@convention(thin) () -> @owned Optional<UITextField> {
- bb0:
- // function_ref ImplicitlyUnwrappedOptional.init(nilLiteral : ()) -> A!
- %0 = function_ref @_TFSQCfT10nilLiteralT__GSQx_ : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 8 // user: %3
- %1 = metatype $@thin ImplicitlyUnwrappedOptional<UITextField>.Type, scope 8 // user: %3
- %2 = alloc_stack $Optional<UITextField>, scope 8 // users: %5, %4, %3
- %3 = apply %0<UITextField>(%2, %1) : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 8
- %4 = load [take] %2 : $*Optional<UITextField>, scope 8 // user: %6
- dealloc_stack %2 : $*Optional<UITextField>, scope 8 // id: %5
- return %4 : $Optional<UITextField>, scope 8 // id: %6
- } // end sil function '_TIvC3gpa23ClassSelectorController14classNameFieldGSQCSo11UITextField_i'
- // ImplicitlyUnwrappedOptional.init(nilLiteral : ()) -> A!
- sil [transparent] [fragile] @_TFSQCfT10nilLiteralT__GSQx_ : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>
- sil_scope 9 { parent @_TToFC3gpa23ClassSelectorControllerg14classNameFieldGSQCSo11UITextField_ : $@convention(objc_method) (ClassSelectorController) -> @autoreleased Optional<UITextField> }
- // @objc ClassSelectorController.classNameField.getter
- sil hidden [thunk] @_TToFC3gpa23ClassSelectorControllerg14classNameFieldGSQCSo11UITextField_ : $@convention(objc_method) (ClassSelectorController) -> @autoreleased Optional<UITextField> {
- // %0 // user: %1
- bb0(%0 : $ClassSelectorController):
- %1 = copy_value %0 : $ClassSelectorController, scope 9 // users: %4, %3
- // function_ref ClassSelectorController.classNameField.getter
- %2 = function_ref @_TFC3gpa23ClassSelectorControllerg14classNameFieldGSQCSo11UITextField_ : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, scope 9 // user: %3
- %3 = apply %2(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, scope 9 // user: %5
- destroy_value %1 : $ClassSelectorController, scope 9 // id: %4
- return %3 : $Optional<UITextField>, scope 9 // id: %5
- } // end sil function '_TToFC3gpa23ClassSelectorControllerg14classNameFieldGSQCSo11UITextField_'
- sil_scope 10 { loc "ClassSelectorController.swift":29:19 parent @_TFC3gpa23ClassSelectorControllerg14classNameFieldGSQCSo11UITextField_ : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField> }
- sil_scope 11 { loc "ClassSelectorController.swift":29:19 parent 10 }
- // ClassSelectorController.classNameField.getter
- sil hidden @_TFC3gpa23ClassSelectorControllerg14classNameFieldGSQCSo11UITextField_ : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField> {
- // %0 // users: %2, %1
- bb0(%0 : $ClassSelectorController):
- debug_value %0 : $ClassSelectorController, let, name "self", argno 1, loc "ClassSelectorController.swift":29:19, scope 10 // id: %1
- %2 = ref_element_addr %0 : $ClassSelectorController, #ClassSelectorController.classNameField, scope 11 // user: %3
- %3 = load [copy] %2 : $*Optional<UITextField>, scope 11 // user: %4
- return %3 : $Optional<UITextField>, loc "ClassSelectorController.swift":29:19, scope 11 // id: %4
- } // end sil function '_TFC3gpa23ClassSelectorControllerg14classNameFieldGSQCSo11UITextField_'
- sil_scope 12 { parent @_TToFC3gpa23ClassSelectorControllers14classNameFieldGSQCSo11UITextField_ : $@convention(objc_method) (Optional<UITextField>, ClassSelectorController) -> () }
- // @objc ClassSelectorController.classNameField.setter
- sil hidden [thunk] @_TToFC3gpa23ClassSelectorControllers14classNameFieldGSQCSo11UITextField_ : $@convention(objc_method) (Optional<UITextField>, ClassSelectorController) -> () {
- // %0 // user: %2
- // %1 // user: %3
- bb0(%0 : $Optional<UITextField>, %1 : $ClassSelectorController):
- %2 = copy_value %0 : $Optional<UITextField>, scope 12 // user: %5
- %3 = copy_value %1 : $ClassSelectorController, scope 12 // users: %6, %5
- // function_ref ClassSelectorController.classNameField.setter
- %4 = function_ref @_TFC3gpa23ClassSelectorControllers14classNameFieldGSQCSo11UITextField_ : $@convention(method) (@owned Optional<UITextField>, @guaranteed ClassSelectorController) -> (), scope 12 // user: %5
- %5 = apply %4(%2, %3) : $@convention(method) (@owned Optional<UITextField>, @guaranteed ClassSelectorController) -> (), scope 12 // user: %7
- destroy_value %3 : $ClassSelectorController, scope 12 // id: %6
- return %5 : $(), scope 12 // id: %7
- } // end sil function '_TToFC3gpa23ClassSelectorControllers14classNameFieldGSQCSo11UITextField_'
- sil_scope 13 { loc "ClassSelectorController.swift":29:19 parent @_TFC3gpa23ClassSelectorControllers14classNameFieldGSQCSo11UITextField_ : $@convention(method) (@owned Optional<UITextField>, @guaranteed ClassSelectorController) -> () }
- sil_scope 14 { loc "ClassSelectorController.swift":29:19 parent 13 }
- // ClassSelectorController.classNameField.setter
- sil hidden @_TFC3gpa23ClassSelectorControllers14classNameFieldGSQCSo11UITextField_ : $@convention(method) (@owned Optional<UITextField>, @guaranteed ClassSelectorController) -> () {
- // %0 // users: %7, %4, %2
- // %1 // users: %5, %3
- bb0(%0 : $Optional<UITextField>, %1 : $ClassSelectorController):
- debug_value %0 : $Optional<UITextField>, let, name "value", argno 1, loc "ClassSelectorController.swift":29:19, scope 13 // id: %2
- debug_value %1 : $ClassSelectorController, let, name "self", argno 2, loc "ClassSelectorController.swift":29:19, scope 13 // id: %3
- %4 = copy_value %0 : $Optional<UITextField>, scope 14 // user: %6
- %5 = ref_element_addr %1 : $ClassSelectorController, #ClassSelectorController.classNameField, scope 14 // user: %6
- assign %4 to %5 : $*Optional<UITextField>, scope 14 // id: %6
- destroy_value %0 : $Optional<UITextField>, loc "ClassSelectorController.swift":29:19, scope 14 // id: %7
- %8 = tuple (), loc "ClassSelectorController.swift":29:19, scope 14 // user: %9
- return %8 : $(), loc "ClassSelectorController.swift":29:19, scope 14 // id: %9
- } // end sil function '_TFC3gpa23ClassSelectorControllers14classNameFieldGSQCSo11UITextField_'
- sil_scope 15 { parent @_TIvC3gpa23ClassSelectorController15multiplierFieldGSQCSo11UITextField_i : $@convention(thin) () -> @owned Optional<UITextField> }
- // ClassSelectorController.(multiplierField).(variable initialization expression)
- sil hidden [transparent] @_TIvC3gpa23ClassSelectorController15multiplierFieldGSQCSo11UITextField_i : $@convention(thin) () -> @owned Optional<UITextField> {
- bb0:
- // function_ref ImplicitlyUnwrappedOptional.init(nilLiteral : ()) -> A!
- %0 = function_ref @_TFSQCfT10nilLiteralT__GSQx_ : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 15 // user: %3
- %1 = metatype $@thin ImplicitlyUnwrappedOptional<UITextField>.Type, scope 15 // user: %3
- %2 = alloc_stack $Optional<UITextField>, scope 15 // users: %5, %4, %3
- %3 = apply %0<UITextField>(%2, %1) : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 15
- %4 = load [take] %2 : $*Optional<UITextField>, scope 15 // user: %6
- dealloc_stack %2 : $*Optional<UITextField>, scope 15 // id: %5
- return %4 : $Optional<UITextField>, scope 15 // id: %6
- } // end sil function '_TIvC3gpa23ClassSelectorController15multiplierFieldGSQCSo11UITextField_i'
- sil_scope 16 { parent @_TToFC3gpa23ClassSelectorControllerg15multiplierFieldGSQCSo11UITextField_ : $@convention(objc_method) (ClassSelectorController) -> @autoreleased Optional<UITextField> }
- // @objc ClassSelectorController.multiplierField.getter
- sil hidden [thunk] @_TToFC3gpa23ClassSelectorControllerg15multiplierFieldGSQCSo11UITextField_ : $@convention(objc_method) (ClassSelectorController) -> @autoreleased Optional<UITextField> {
- // %0 // user: %1
- bb0(%0 : $ClassSelectorController):
- %1 = copy_value %0 : $ClassSelectorController, scope 16 // users: %4, %3
- // function_ref ClassSelectorController.multiplierField.getter
- %2 = function_ref @_TFC3gpa23ClassSelectorControllerg15multiplierFieldGSQCSo11UITextField_ : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, scope 16 // user: %3
- %3 = apply %2(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, scope 16 // user: %5
- destroy_value %1 : $ClassSelectorController, scope 16 // id: %4
- return %3 : $Optional<UITextField>, scope 16 // id: %5
- } // end sil function '_TToFC3gpa23ClassSelectorControllerg15multiplierFieldGSQCSo11UITextField_'
- sil_scope 17 { loc "ClassSelectorController.swift":30:19 parent @_TFC3gpa23ClassSelectorControllerg15multiplierFieldGSQCSo11UITextField_ : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField> }
- sil_scope 18 { loc "ClassSelectorController.swift":30:19 parent 17 }
- // ClassSelectorController.multiplierField.getter
- sil hidden @_TFC3gpa23ClassSelectorControllerg15multiplierFieldGSQCSo11UITextField_ : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField> {
- // %0 // users: %2, %1
- bb0(%0 : $ClassSelectorController):
- debug_value %0 : $ClassSelectorController, let, name "self", argno 1, loc "ClassSelectorController.swift":30:19, scope 17 // id: %1
- %2 = ref_element_addr %0 : $ClassSelectorController, #ClassSelectorController.multiplierField, scope 18 // user: %3
- %3 = load [copy] %2 : $*Optional<UITextField>, scope 18 // user: %4
- return %3 : $Optional<UITextField>, loc "ClassSelectorController.swift":30:19, scope 18 // id: %4
- } // end sil function '_TFC3gpa23ClassSelectorControllerg15multiplierFieldGSQCSo11UITextField_'
- sil_scope 19 { parent @_TToFC3gpa23ClassSelectorControllers15multiplierFieldGSQCSo11UITextField_ : $@convention(objc_method) (Optional<UITextField>, ClassSelectorController) -> () }
- // @objc ClassSelectorController.multiplierField.setter
- sil hidden [thunk] @_TToFC3gpa23ClassSelectorControllers15multiplierFieldGSQCSo11UITextField_ : $@convention(objc_method) (Optional<UITextField>, ClassSelectorController) -> () {
- // %0 // user: %2
- // %1 // user: %3
- bb0(%0 : $Optional<UITextField>, %1 : $ClassSelectorController):
- %2 = copy_value %0 : $Optional<UITextField>, scope 19 // user: %5
- %3 = copy_value %1 : $ClassSelectorController, scope 19 // users: %6, %5
- // function_ref ClassSelectorController.multiplierField.setter
- %4 = function_ref @_TFC3gpa23ClassSelectorControllers15multiplierFieldGSQCSo11UITextField_ : $@convention(method) (@owned Optional<UITextField>, @guaranteed ClassSelectorController) -> (), scope 19 // user: %5
- %5 = apply %4(%2, %3) : $@convention(method) (@owned Optional<UITextField>, @guaranteed ClassSelectorController) -> (), scope 19 // user: %7
- destroy_value %3 : $ClassSelectorController, scope 19 // id: %6
- return %5 : $(), scope 19 // id: %7
- } // end sil function '_TToFC3gpa23ClassSelectorControllers15multiplierFieldGSQCSo11UITextField_'
- sil_scope 20 { loc "ClassSelectorController.swift":30:19 parent @_TFC3gpa23ClassSelectorControllers15multiplierFieldGSQCSo11UITextField_ : $@convention(method) (@owned Optional<UITextField>, @guaranteed ClassSelectorController) -> () }
- sil_scope 21 { loc "ClassSelectorController.swift":30:19 parent 20 }
- // ClassSelectorController.multiplierField.setter
- sil hidden @_TFC3gpa23ClassSelectorControllers15multiplierFieldGSQCSo11UITextField_ : $@convention(method) (@owned Optional<UITextField>, @guaranteed ClassSelectorController) -> () {
- // %0 // users: %7, %4, %2
- // %1 // users: %5, %3
- bb0(%0 : $Optional<UITextField>, %1 : $ClassSelectorController):
- debug_value %0 : $Optional<UITextField>, let, name "value", argno 1, loc "ClassSelectorController.swift":30:19, scope 20 // id: %2
- debug_value %1 : $ClassSelectorController, let, name "self", argno 2, loc "ClassSelectorController.swift":30:19, scope 20 // id: %3
- %4 = copy_value %0 : $Optional<UITextField>, scope 21 // user: %6
- %5 = ref_element_addr %1 : $ClassSelectorController, #ClassSelectorController.multiplierField, scope 21 // user: %6
- assign %4 to %5 : $*Optional<UITextField>, scope 21 // id: %6
- destroy_value %0 : $Optional<UITextField>, loc "ClassSelectorController.swift":30:19, scope 21 // id: %7
- %8 = tuple (), loc "ClassSelectorController.swift":30:19, scope 21 // user: %9
- return %8 : $(), loc "ClassSelectorController.swift":30:19, scope 21 // id: %9
- } // end sil function '_TFC3gpa23ClassSelectorControllers15multiplierFieldGSQCSo11UITextField_'
- sil_scope 22 { parent @_TIvC3gpa23ClassSelectorController17currentGradeFieldGSQCSo11UITextField_i : $@convention(thin) () -> @owned Optional<UITextField> }
- // ClassSelectorController.(currentGradeField).(variable initialization expression)
- sil hidden [transparent] @_TIvC3gpa23ClassSelectorController17currentGradeFieldGSQCSo11UITextField_i : $@convention(thin) () -> @owned Optional<UITextField> {
- bb0:
- // function_ref ImplicitlyUnwrappedOptional.init(nilLiteral : ()) -> A!
- %0 = function_ref @_TFSQCfT10nilLiteralT__GSQx_ : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 22 // user: %3
- %1 = metatype $@thin ImplicitlyUnwrappedOptional<UITextField>.Type, scope 22 // user: %3
- %2 = alloc_stack $Optional<UITextField>, scope 22 // users: %5, %4, %3
- %3 = apply %0<UITextField>(%2, %1) : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 22
- %4 = load [take] %2 : $*Optional<UITextField>, scope 22 // user: %6
- dealloc_stack %2 : $*Optional<UITextField>, scope 22 // id: %5
- return %4 : $Optional<UITextField>, scope 22 // id: %6
- } // end sil function '_TIvC3gpa23ClassSelectorController17currentGradeFieldGSQCSo11UITextField_i'
- sil_scope 23 { parent @_TToFC3gpa23ClassSelectorControllerg17currentGradeFieldGSQCSo11UITextField_ : $@convention(objc_method) (ClassSelectorController) -> @autoreleased Optional<UITextField> }
- // @objc ClassSelectorController.currentGradeField.getter
- sil hidden [thunk] @_TToFC3gpa23ClassSelectorControllerg17currentGradeFieldGSQCSo11UITextField_ : $@convention(objc_method) (ClassSelectorController) -> @autoreleased Optional<UITextField> {
- // %0 // user: %1
- bb0(%0 : $ClassSelectorController):
- %1 = copy_value %0 : $ClassSelectorController, scope 23 // users: %4, %3
- // function_ref ClassSelectorController.currentGradeField.getter
- %2 = function_ref @_TFC3gpa23ClassSelectorControllerg17currentGradeFieldGSQCSo11UITextField_ : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, scope 23 // user: %3
- %3 = apply %2(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, scope 23 // user: %5
- destroy_value %1 : $ClassSelectorController, scope 23 // id: %4
- return %3 : $Optional<UITextField>, scope 23 // id: %5
- } // end sil function '_TToFC3gpa23ClassSelectorControllerg17currentGradeFieldGSQCSo11UITextField_'
- sil_scope 24 { loc "ClassSelectorController.swift":31:19 parent @_TFC3gpa23ClassSelectorControllerg17currentGradeFieldGSQCSo11UITextField_ : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField> }
- sil_scope 25 { loc "ClassSelectorController.swift":31:19 parent 24 }
- // ClassSelectorController.currentGradeField.getter
- sil hidden @_TFC3gpa23ClassSelectorControllerg17currentGradeFieldGSQCSo11UITextField_ : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField> {
- // %0 // users: %2, %1
- bb0(%0 : $ClassSelectorController):
- debug_value %0 : $ClassSelectorController, let, name "self", argno 1, loc "ClassSelectorController.swift":31:19, scope 24 // id: %1
- %2 = ref_element_addr %0 : $ClassSelectorController, #ClassSelectorController.currentGradeField, scope 25 // user: %3
- %3 = load [copy] %2 : $*Optional<UITextField>, scope 25 // user: %4
- return %3 : $Optional<UITextField>, loc "ClassSelectorController.swift":31:19, scope 25 // id: %4
- } // end sil function '_TFC3gpa23ClassSelectorControllerg17currentGradeFieldGSQCSo11UITextField_'
- sil_scope 26 { parent @_TToFC3gpa23ClassSelectorControllers17currentGradeFieldGSQCSo11UITextField_ : $@convention(objc_method) (Optional<UITextField>, ClassSelectorController) -> () }
- // @objc ClassSelectorController.currentGradeField.setter
- sil hidden [thunk] @_TToFC3gpa23ClassSelectorControllers17currentGradeFieldGSQCSo11UITextField_ : $@convention(objc_method) (Optional<UITextField>, ClassSelectorController) -> () {
- // %0 // user: %2
- // %1 // user: %3
- bb0(%0 : $Optional<UITextField>, %1 : $ClassSelectorController):
- %2 = copy_value %0 : $Optional<UITextField>, scope 26 // user: %5
- %3 = copy_value %1 : $ClassSelectorController, scope 26 // users: %6, %5
- // function_ref ClassSelectorController.currentGradeField.setter
- %4 = function_ref @_TFC3gpa23ClassSelectorControllers17currentGradeFieldGSQCSo11UITextField_ : $@convention(method) (@owned Optional<UITextField>, @guaranteed ClassSelectorController) -> (), scope 26 // user: %5
- %5 = apply %4(%2, %3) : $@convention(method) (@owned Optional<UITextField>, @guaranteed ClassSelectorController) -> (), scope 26 // user: %7
- destroy_value %3 : $ClassSelectorController, scope 26 // id: %6
- return %5 : $(), scope 26 // id: %7
- } // end sil function '_TToFC3gpa23ClassSelectorControllers17currentGradeFieldGSQCSo11UITextField_'
- sil_scope 27 { loc "ClassSelectorController.swift":31:19 parent @_TFC3gpa23ClassSelectorControllers17currentGradeFieldGSQCSo11UITextField_ : $@convention(method) (@owned Optional<UITextField>, @guaranteed ClassSelectorController) -> () }
- sil_scope 28 { loc "ClassSelectorController.swift":31:19 parent 27 }
- // ClassSelectorController.currentGradeField.setter
- sil hidden @_TFC3gpa23ClassSelectorControllers17currentGradeFieldGSQCSo11UITextField_ : $@convention(method) (@owned Optional<UITextField>, @guaranteed ClassSelectorController) -> () {
- // %0 // users: %7, %4, %2
- // %1 // users: %5, %3
- bb0(%0 : $Optional<UITextField>, %1 : $ClassSelectorController):
- debug_value %0 : $Optional<UITextField>, let, name "value", argno 1, loc "ClassSelectorController.swift":31:19, scope 27 // id: %2
- debug_value %1 : $ClassSelectorController, let, name "self", argno 2, loc "ClassSelectorController.swift":31:19, scope 27 // id: %3
- %4 = copy_value %0 : $Optional<UITextField>, scope 28 // user: %6
- %5 = ref_element_addr %1 : $ClassSelectorController, #ClassSelectorController.currentGradeField, scope 28 // user: %6
- assign %4 to %5 : $*Optional<UITextField>, scope 28 // id: %6
- destroy_value %0 : $Optional<UITextField>, loc "ClassSelectorController.swift":31:19, scope 28 // id: %7
- %8 = tuple (), loc "ClassSelectorController.swift":31:19, scope 28 // user: %9
- return %8 : $(), loc "ClassSelectorController.swift":31:19, scope 28 // id: %9
- } // end sil function '_TFC3gpa23ClassSelectorControllers17currentGradeFieldGSQCSo11UITextField_'
- sil_scope 29 { parent @_TIvC3gpa23ClassSelectorController12creditsFieldGSQCSo11UITextField_i : $@convention(thin) () -> @owned Optional<UITextField> }
- // ClassSelectorController.(creditsField).(variable initialization expression)
- sil hidden [transparent] @_TIvC3gpa23ClassSelectorController12creditsFieldGSQCSo11UITextField_i : $@convention(thin) () -> @owned Optional<UITextField> {
- bb0:
- // function_ref ImplicitlyUnwrappedOptional.init(nilLiteral : ()) -> A!
- %0 = function_ref @_TFSQCfT10nilLiteralT__GSQx_ : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 29 // user: %3
- %1 = metatype $@thin ImplicitlyUnwrappedOptional<UITextField>.Type, scope 29 // user: %3
- %2 = alloc_stack $Optional<UITextField>, scope 29 // users: %5, %4, %3
- %3 = apply %0<UITextField>(%2, %1) : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 29
- %4 = load [take] %2 : $*Optional<UITextField>, scope 29 // user: %6
- dealloc_stack %2 : $*Optional<UITextField>, scope 29 // id: %5
- return %4 : $Optional<UITextField>, scope 29 // id: %6
- } // end sil function '_TIvC3gpa23ClassSelectorController12creditsFieldGSQCSo11UITextField_i'
- sil_scope 30 { parent @_TToFC3gpa23ClassSelectorControllerg12creditsFieldGSQCSo11UITextField_ : $@convention(objc_method) (ClassSelectorController) -> @autoreleased Optional<UITextField> }
- // @objc ClassSelectorController.creditsField.getter
- sil hidden [thunk] @_TToFC3gpa23ClassSelectorControllerg12creditsFieldGSQCSo11UITextField_ : $@convention(objc_method) (ClassSelectorController) -> @autoreleased Optional<UITextField> {
- // %0 // user: %1
- bb0(%0 : $ClassSelectorController):
- %1 = copy_value %0 : $ClassSelectorController, scope 30 // users: %4, %3
- // function_ref ClassSelectorController.creditsField.getter
- %2 = function_ref @_TFC3gpa23ClassSelectorControllerg12creditsFieldGSQCSo11UITextField_ : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, scope 30 // user: %3
- %3 = apply %2(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, scope 30 // user: %5
- destroy_value %1 : $ClassSelectorController, scope 30 // id: %4
- return %3 : $Optional<UITextField>, scope 30 // id: %5
- } // end sil function '_TToFC3gpa23ClassSelectorControllerg12creditsFieldGSQCSo11UITextField_'
- sil_scope 31 { loc "ClassSelectorController.swift":32:19 parent @_TFC3gpa23ClassSelectorControllerg12creditsFieldGSQCSo11UITextField_ : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField> }
- sil_scope 32 { loc "ClassSelectorController.swift":32:19 parent 31 }
- // ClassSelectorController.creditsField.getter
- sil hidden @_TFC3gpa23ClassSelectorControllerg12creditsFieldGSQCSo11UITextField_ : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField> {
- // %0 // users: %2, %1
- bb0(%0 : $ClassSelectorController):
- debug_value %0 : $ClassSelectorController, let, name "self", argno 1, loc "ClassSelectorController.swift":32:19, scope 31 // id: %1
- %2 = ref_element_addr %0 : $ClassSelectorController, #ClassSelectorController.creditsField, scope 32 // user: %3
- %3 = load [copy] %2 : $*Optional<UITextField>, scope 32 // user: %4
- return %3 : $Optional<UITextField>, loc "ClassSelectorController.swift":32:19, scope 32 // id: %4
- } // end sil function '_TFC3gpa23ClassSelectorControllerg12creditsFieldGSQCSo11UITextField_'
- sil_scope 33 { parent @_TToFC3gpa23ClassSelectorControllers12creditsFieldGSQCSo11UITextField_ : $@convention(objc_method) (Optional<UITextField>, ClassSelectorController) -> () }
- // @objc ClassSelectorController.creditsField.setter
- sil hidden [thunk] @_TToFC3gpa23ClassSelectorControllers12creditsFieldGSQCSo11UITextField_ : $@convention(objc_method) (Optional<UITextField>, ClassSelectorController) -> () {
- // %0 // user: %2
- // %1 // user: %3
- bb0(%0 : $Optional<UITextField>, %1 : $ClassSelectorController):
- %2 = copy_value %0 : $Optional<UITextField>, scope 33 // user: %5
- %3 = copy_value %1 : $ClassSelectorController, scope 33 // users: %6, %5
- // function_ref ClassSelectorController.creditsField.setter
- %4 = function_ref @_TFC3gpa23ClassSelectorControllers12creditsFieldGSQCSo11UITextField_ : $@convention(method) (@owned Optional<UITextField>, @guaranteed ClassSelectorController) -> (), scope 33 // user: %5
- %5 = apply %4(%2, %3) : $@convention(method) (@owned Optional<UITextField>, @guaranteed ClassSelectorController) -> (), scope 33 // user: %7
- destroy_value %3 : $ClassSelectorController, scope 33 // id: %6
- return %5 : $(), scope 33 // id: %7
- } // end sil function '_TToFC3gpa23ClassSelectorControllers12creditsFieldGSQCSo11UITextField_'
- sil_scope 34 { loc "ClassSelectorController.swift":32:19 parent @_TFC3gpa23ClassSelectorControllers12creditsFieldGSQCSo11UITextField_ : $@convention(method) (@owned Optional<UITextField>, @guaranteed ClassSelectorController) -> () }
- sil_scope 35 { loc "ClassSelectorController.swift":32:19 parent 34 }
- // ClassSelectorController.creditsField.setter
- sil hidden @_TFC3gpa23ClassSelectorControllers12creditsFieldGSQCSo11UITextField_ : $@convention(method) (@owned Optional<UITextField>, @guaranteed ClassSelectorController) -> () {
- // %0 // users: %7, %4, %2
- // %1 // users: %5, %3
- bb0(%0 : $Optional<UITextField>, %1 : $ClassSelectorController):
- debug_value %0 : $Optional<UITextField>, let, name "value", argno 1, loc "ClassSelectorController.swift":32:19, scope 34 // id: %2
- debug_value %1 : $ClassSelectorController, let, name "self", argno 2, loc "ClassSelectorController.swift":32:19, scope 34 // id: %3
- %4 = copy_value %0 : $Optional<UITextField>, scope 35 // user: %6
- %5 = ref_element_addr %1 : $ClassSelectorController, #ClassSelectorController.creditsField, scope 35 // user: %6
- assign %4 to %5 : $*Optional<UITextField>, scope 35 // id: %6
- destroy_value %0 : $Optional<UITextField>, loc "ClassSelectorController.swift":32:19, scope 35 // id: %7
- %8 = tuple (), loc "ClassSelectorController.swift":32:19, scope 35 // user: %9
- return %8 : $(), loc "ClassSelectorController.swift":32:19, scope 35 // id: %9
- } // end sil function '_TFC3gpa23ClassSelectorControllers12creditsFieldGSQCSo11UITextField_'
- sil_scope 36 { parent @_TIvC3gpa23ClassSelectorController13multiplierBarGSQCSo18UISegmentedControl_i : $@convention(thin) () -> @owned Optional<UISegmentedControl> }
- // ClassSelectorController.(multiplierBar).(variable initialization expression)
- sil hidden [transparent] @_TIvC3gpa23ClassSelectorController13multiplierBarGSQCSo18UISegmentedControl_i : $@convention(thin) () -> @owned Optional<UISegmentedControl> {
- bb0:
- // function_ref ImplicitlyUnwrappedOptional.init(nilLiteral : ()) -> A!
- %0 = function_ref @_TFSQCfT10nilLiteralT__GSQx_ : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 36 // user: %3
- %1 = metatype $@thin ImplicitlyUnwrappedOptional<UISegmentedControl>.Type, scope 36 // user: %3
- %2 = alloc_stack $Optional<UISegmentedControl>, scope 36 // users: %5, %4, %3
- %3 = apply %0<UISegmentedControl>(%2, %1) : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 36
- %4 = load [take] %2 : $*Optional<UISegmentedControl>, scope 36 // user: %6
- dealloc_stack %2 : $*Optional<UISegmentedControl>, scope 36 // id: %5
- return %4 : $Optional<UISegmentedControl>, scope 36 // id: %6
- } // end sil function '_TIvC3gpa23ClassSelectorController13multiplierBarGSQCSo18UISegmentedControl_i'
- sil_scope 37 { parent @_TToFC3gpa23ClassSelectorControllerg13multiplierBarGSQCSo18UISegmentedControl_ : $@convention(objc_method) (ClassSelectorController) -> @autoreleased Optional<UISegmentedControl> }
- // @objc ClassSelectorController.multiplierBar.getter
- sil hidden [thunk] @_TToFC3gpa23ClassSelectorControllerg13multiplierBarGSQCSo18UISegmentedControl_ : $@convention(objc_method) (ClassSelectorController) -> @autoreleased Optional<UISegmentedControl> {
- // %0 // user: %1
- bb0(%0 : $ClassSelectorController):
- %1 = copy_value %0 : $ClassSelectorController, scope 37 // users: %4, %3
- // function_ref ClassSelectorController.multiplierBar.getter
- %2 = function_ref @_TFC3gpa23ClassSelectorControllerg13multiplierBarGSQCSo18UISegmentedControl_ : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UISegmentedControl>, scope 37 // user: %3
- %3 = apply %2(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UISegmentedControl>, scope 37 // user: %5
- destroy_value %1 : $ClassSelectorController, scope 37 // id: %4
- return %3 : $Optional<UISegmentedControl>, scope 37 // id: %5
- } // end sil function '_TToFC3gpa23ClassSelectorControllerg13multiplierBarGSQCSo18UISegmentedControl_'
- sil_scope 38 { loc "ClassSelectorController.swift":34:19 parent @_TFC3gpa23ClassSelectorControllerg13multiplierBarGSQCSo18UISegmentedControl_ : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UISegmentedControl> }
- sil_scope 39 { loc "ClassSelectorController.swift":34:19 parent 38 }
- // ClassSelectorController.multiplierBar.getter
- sil hidden @_TFC3gpa23ClassSelectorControllerg13multiplierBarGSQCSo18UISegmentedControl_ : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UISegmentedControl> {
- // %0 // users: %2, %1
- bb0(%0 : $ClassSelectorController):
- debug_value %0 : $ClassSelectorController, let, name "self", argno 1, loc "ClassSelectorController.swift":34:19, scope 38 // id: %1
- %2 = ref_element_addr %0 : $ClassSelectorController, #ClassSelectorController.multiplierBar, scope 39 // user: %3
- %3 = load [copy] %2 : $*Optional<UISegmentedControl>, scope 39 // user: %4
- return %3 : $Optional<UISegmentedControl>, loc "ClassSelectorController.swift":34:19, scope 39 // id: %4
- } // end sil function '_TFC3gpa23ClassSelectorControllerg13multiplierBarGSQCSo18UISegmentedControl_'
- sil_scope 40 { parent @_TToFC3gpa23ClassSelectorControllers13multiplierBarGSQCSo18UISegmentedControl_ : $@convention(objc_method) (Optional<UISegmentedControl>, ClassSelectorController) -> () }
- // @objc ClassSelectorController.multiplierBar.setter
- sil hidden [thunk] @_TToFC3gpa23ClassSelectorControllers13multiplierBarGSQCSo18UISegmentedControl_ : $@convention(objc_method) (Optional<UISegmentedControl>, ClassSelectorController) -> () {
- // %0 // user: %2
- // %1 // user: %3
- bb0(%0 : $Optional<UISegmentedControl>, %1 : $ClassSelectorController):
- %2 = copy_value %0 : $Optional<UISegmentedControl>, scope 40 // user: %5
- %3 = copy_value %1 : $ClassSelectorController, scope 40 // users: %6, %5
- // function_ref ClassSelectorController.multiplierBar.setter
- %4 = function_ref @_TFC3gpa23ClassSelectorControllers13multiplierBarGSQCSo18UISegmentedControl_ : $@convention(method) (@owned Optional<UISegmentedControl>, @guaranteed ClassSelectorController) -> (), scope 40 // user: %5
- %5 = apply %4(%2, %3) : $@convention(method) (@owned Optional<UISegmentedControl>, @guaranteed ClassSelectorController) -> (), scope 40 // user: %7
- destroy_value %3 : $ClassSelectorController, scope 40 // id: %6
- return %5 : $(), scope 40 // id: %7
- } // end sil function '_TToFC3gpa23ClassSelectorControllers13multiplierBarGSQCSo18UISegmentedControl_'
- sil_scope 41 { loc "ClassSelectorController.swift":34:19 parent @_TFC3gpa23ClassSelectorControllers13multiplierBarGSQCSo18UISegmentedControl_ : $@convention(method) (@owned Optional<UISegmentedControl>, @guaranteed ClassSelectorController) -> () }
- sil_scope 42 { loc "ClassSelectorController.swift":34:19 parent 41 }
- // ClassSelectorController.multiplierBar.setter
- sil hidden @_TFC3gpa23ClassSelectorControllers13multiplierBarGSQCSo18UISegmentedControl_ : $@convention(method) (@owned Optional<UISegmentedControl>, @guaranteed ClassSelectorController) -> () {
- // %0 // users: %7, %4, %2
- // %1 // users: %5, %3
- bb0(%0 : $Optional<UISegmentedControl>, %1 : $ClassSelectorController):
- debug_value %0 : $Optional<UISegmentedControl>, let, name "value", argno 1, loc "ClassSelectorController.swift":34:19, scope 41 // id: %2
- debug_value %1 : $ClassSelectorController, let, name "self", argno 2, loc "ClassSelectorController.swift":34:19, scope 41 // id: %3
- %4 = copy_value %0 : $Optional<UISegmentedControl>, scope 42 // user: %6
- %5 = ref_element_addr %1 : $ClassSelectorController, #ClassSelectorController.multiplierBar, scope 42 // user: %6
- assign %4 to %5 : $*Optional<UISegmentedControl>, scope 42 // id: %6
- destroy_value %0 : $Optional<UISegmentedControl>, loc "ClassSelectorController.swift":34:19, scope 42 // id: %7
- %8 = tuple (), loc "ClassSelectorController.swift":34:19, scope 42 // user: %9
- return %8 : $(), loc "ClassSelectorController.swift":34:19, scope 42 // id: %9
- } // end sil function '_TFC3gpa23ClassSelectorControllers13multiplierBarGSQCSo18UISegmentedControl_'
- sil_scope 43 { parent @_TIvC3gpa23ClassSelectorController10creditsBarGSQCSo18UISegmentedControl_i : $@convention(thin) () -> @owned Optional<UISegmentedControl> }
- // ClassSelectorController.(creditsBar).(variable initialization expression)
- sil hidden [transparent] @_TIvC3gpa23ClassSelectorController10creditsBarGSQCSo18UISegmentedControl_i : $@convention(thin) () -> @owned Optional<UISegmentedControl> {
- bb0:
- // function_ref ImplicitlyUnwrappedOptional.init(nilLiteral : ()) -> A!
- %0 = function_ref @_TFSQCfT10nilLiteralT__GSQx_ : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 43 // user: %3
- %1 = metatype $@thin ImplicitlyUnwrappedOptional<UISegmentedControl>.Type, scope 43 // user: %3
- %2 = alloc_stack $Optional<UISegmentedControl>, scope 43 // users: %5, %4, %3
- %3 = apply %0<UISegmentedControl>(%2, %1) : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 43
- %4 = load [take] %2 : $*Optional<UISegmentedControl>, scope 43 // user: %6
- dealloc_stack %2 : $*Optional<UISegmentedControl>, scope 43 // id: %5
- return %4 : $Optional<UISegmentedControl>, scope 43 // id: %6
- } // end sil function '_TIvC3gpa23ClassSelectorController10creditsBarGSQCSo18UISegmentedControl_i'
- sil_scope 44 { parent @_TToFC3gpa23ClassSelectorControllerg10creditsBarGSQCSo18UISegmentedControl_ : $@convention(objc_method) (ClassSelectorController) -> @autoreleased Optional<UISegmentedControl> }
- // @objc ClassSelectorController.creditsBar.getter
- sil hidden [thunk] @_TToFC3gpa23ClassSelectorControllerg10creditsBarGSQCSo18UISegmentedControl_ : $@convention(objc_method) (ClassSelectorController) -> @autoreleased Optional<UISegmentedControl> {
- // %0 // user: %1
- bb0(%0 : $ClassSelectorController):
- %1 = copy_value %0 : $ClassSelectorController, scope 44 // users: %4, %3
- // function_ref ClassSelectorController.creditsBar.getter
- %2 = function_ref @_TFC3gpa23ClassSelectorControllerg10creditsBarGSQCSo18UISegmentedControl_ : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UISegmentedControl>, scope 44 // user: %3
- %3 = apply %2(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UISegmentedControl>, scope 44 // user: %5
- destroy_value %1 : $ClassSelectorController, scope 44 // id: %4
- return %3 : $Optional<UISegmentedControl>, scope 44 // id: %5
- } // end sil function '_TToFC3gpa23ClassSelectorControllerg10creditsBarGSQCSo18UISegmentedControl_'
- sil_scope 45 { loc "ClassSelectorController.swift":35:19 parent @_TFC3gpa23ClassSelectorControllerg10creditsBarGSQCSo18UISegmentedControl_ : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UISegmentedControl> }
- sil_scope 46 { loc "ClassSelectorController.swift":35:19 parent 45 }
- // ClassSelectorController.creditsBar.getter
- sil hidden @_TFC3gpa23ClassSelectorControllerg10creditsBarGSQCSo18UISegmentedControl_ : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UISegmentedControl> {
- // %0 // users: %2, %1
- bb0(%0 : $ClassSelectorController):
- debug_value %0 : $ClassSelectorController, let, name "self", argno 1, loc "ClassSelectorController.swift":35:19, scope 45 // id: %1
- %2 = ref_element_addr %0 : $ClassSelectorController, #ClassSelectorController.creditsBar, scope 46 // user: %3
- %3 = load [copy] %2 : $*Optional<UISegmentedControl>, scope 46 // user: %4
- return %3 : $Optional<UISegmentedControl>, loc "ClassSelectorController.swift":35:19, scope 46 // id: %4
- } // end sil function '_TFC3gpa23ClassSelectorControllerg10creditsBarGSQCSo18UISegmentedControl_'
- sil_scope 47 { parent @_TToFC3gpa23ClassSelectorControllers10creditsBarGSQCSo18UISegmentedControl_ : $@convention(objc_method) (Optional<UISegmentedControl>, ClassSelectorController) -> () }
- // @objc ClassSelectorController.creditsBar.setter
- sil hidden [thunk] @_TToFC3gpa23ClassSelectorControllers10creditsBarGSQCSo18UISegmentedControl_ : $@convention(objc_method) (Optional<UISegmentedControl>, ClassSelectorController) -> () {
- // %0 // user: %2
- // %1 // user: %3
- bb0(%0 : $Optional<UISegmentedControl>, %1 : $ClassSelectorController):
- %2 = copy_value %0 : $Optional<UISegmentedControl>, scope 47 // user: %5
- %3 = copy_value %1 : $ClassSelectorController, scope 47 // users: %6, %5
- // function_ref ClassSelectorController.creditsBar.setter
- %4 = function_ref @_TFC3gpa23ClassSelectorControllers10creditsBarGSQCSo18UISegmentedControl_ : $@convention(method) (@owned Optional<UISegmentedControl>, @guaranteed ClassSelectorController) -> (), scope 47 // user: %5
- %5 = apply %4(%2, %3) : $@convention(method) (@owned Optional<UISegmentedControl>, @guaranteed ClassSelectorController) -> (), scope 47 // user: %7
- destroy_value %3 : $ClassSelectorController, scope 47 // id: %6
- return %5 : $(), scope 47 // id: %7
- } // end sil function '_TToFC3gpa23ClassSelectorControllers10creditsBarGSQCSo18UISegmentedControl_'
- sil_scope 48 { loc "ClassSelectorController.swift":35:19 parent @_TFC3gpa23ClassSelectorControllers10creditsBarGSQCSo18UISegmentedControl_ : $@convention(method) (@owned Optional<UISegmentedControl>, @guaranteed ClassSelectorController) -> () }
- sil_scope 49 { loc "ClassSelectorController.swift":35:19 parent 48 }
- // ClassSelectorController.creditsBar.setter
- sil hidden @_TFC3gpa23ClassSelectorControllers10creditsBarGSQCSo18UISegmentedControl_ : $@convention(method) (@owned Optional<UISegmentedControl>, @guaranteed ClassSelectorController) -> () {
- // %0 // users: %7, %4, %2
- // %1 // users: %5, %3
- bb0(%0 : $Optional<UISegmentedControl>, %1 : $ClassSelectorController):
- debug_value %0 : $Optional<UISegmentedControl>, let, name "value", argno 1, loc "ClassSelectorController.swift":35:19, scope 48 // id: %2
- debug_value %1 : $ClassSelectorController, let, name "self", argno 2, loc "ClassSelectorController.swift":35:19, scope 48 // id: %3
- %4 = copy_value %0 : $Optional<UISegmentedControl>, scope 49 // user: %6
- %5 = ref_element_addr %1 : $ClassSelectorController, #ClassSelectorController.creditsBar, scope 49 // user: %6
- assign %4 to %5 : $*Optional<UISegmentedControl>, scope 49 // id: %6
- destroy_value %0 : $Optional<UISegmentedControl>, loc "ClassSelectorController.swift":35:19, scope 49 // id: %7
- %8 = tuple (), loc "ClassSelectorController.swift":35:19, scope 49 // user: %9
- return %8 : $(), loc "ClassSelectorController.swift":35:19, scope 49 // id: %9
- } // end sil function '_TFC3gpa23ClassSelectorControllers10creditsBarGSQCSo18UISegmentedControl_'
- sil_scope 50 { parent @_TIvC3gpa23ClassSelectorController12warningLabelGSQCSo7UILabel_i : $@convention(thin) () -> @owned Optional<UILabel> }
- // ClassSelectorController.(warningLabel).(variable initialization expression)
- sil hidden [transparent] @_TIvC3gpa23ClassSelectorController12warningLabelGSQCSo7UILabel_i : $@convention(thin) () -> @owned Optional<UILabel> {
- bb0:
- // function_ref ImplicitlyUnwrappedOptional.init(nilLiteral : ()) -> A!
- %0 = function_ref @_TFSQCfT10nilLiteralT__GSQx_ : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 50 // user: %3
- %1 = metatype $@thin ImplicitlyUnwrappedOptional<UILabel>.Type, scope 50 // user: %3
- %2 = alloc_stack $Optional<UILabel>, scope 50 // users: %5, %4, %3
- %3 = apply %0<UILabel>(%2, %1) : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 50
- %4 = load [take] %2 : $*Optional<UILabel>, scope 50 // user: %6
- dealloc_stack %2 : $*Optional<UILabel>, scope 50 // id: %5
- return %4 : $Optional<UILabel>, scope 50 // id: %6
- } // end sil function '_TIvC3gpa23ClassSelectorController12warningLabelGSQCSo7UILabel_i'
- sil_scope 51 { parent @_TToFC3gpa23ClassSelectorControllerg12warningLabelGSQCSo7UILabel_ : $@convention(objc_method) (ClassSelectorController) -> @autoreleased Optional<UILabel> }
- // @objc ClassSelectorController.warningLabel.getter
- sil hidden [thunk] @_TToFC3gpa23ClassSelectorControllerg12warningLabelGSQCSo7UILabel_ : $@convention(objc_method) (ClassSelectorController) -> @autoreleased Optional<UILabel> {
- // %0 // user: %1
- bb0(%0 : $ClassSelectorController):
- %1 = copy_value %0 : $ClassSelectorController, scope 51 // users: %4, %3
- // function_ref ClassSelectorController.warningLabel.getter
- %2 = function_ref @_TFC3gpa23ClassSelectorControllerg12warningLabelGSQCSo7UILabel_ : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UILabel>, scope 51 // user: %3
- %3 = apply %2(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UILabel>, scope 51 // user: %5
- destroy_value %1 : $ClassSelectorController, scope 51 // id: %4
- return %3 : $Optional<UILabel>, scope 51 // id: %5
- } // end sil function '_TToFC3gpa23ClassSelectorControllerg12warningLabelGSQCSo7UILabel_'
- sil_scope 52 { loc "ClassSelectorController.swift":37:19 parent @_TFC3gpa23ClassSelectorControllerg12warningLabelGSQCSo7UILabel_ : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UILabel> }
- sil_scope 53 { loc "ClassSelectorController.swift":37:19 parent 52 }
- // ClassSelectorController.warningLabel.getter
- sil hidden @_TFC3gpa23ClassSelectorControllerg12warningLabelGSQCSo7UILabel_ : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UILabel> {
- // %0 // users: %2, %1
- bb0(%0 : $ClassSelectorController):
- debug_value %0 : $ClassSelectorController, let, name "self", argno 1, loc "ClassSelectorController.swift":37:19, scope 52 // id: %1
- %2 = ref_element_addr %0 : $ClassSelectorController, #ClassSelectorController.warningLabel, scope 53 // user: %3
- %3 = load [copy] %2 : $*Optional<UILabel>, scope 53 // user: %4
- return %3 : $Optional<UILabel>, loc "ClassSelectorController.swift":37:19, scope 53 // id: %4
- } // end sil function '_TFC3gpa23ClassSelectorControllerg12warningLabelGSQCSo7UILabel_'
- sil_scope 54 { parent @_TToFC3gpa23ClassSelectorControllers12warningLabelGSQCSo7UILabel_ : $@convention(objc_method) (Optional<UILabel>, ClassSelectorController) -> () }
- // @objc ClassSelectorController.warningLabel.setter
- sil hidden [thunk] @_TToFC3gpa23ClassSelectorControllers12warningLabelGSQCSo7UILabel_ : $@convention(objc_method) (Optional<UILabel>, ClassSelectorController) -> () {
- // %0 // user: %2
- // %1 // user: %3
- bb0(%0 : $Optional<UILabel>, %1 : $ClassSelectorController):
- %2 = copy_value %0 : $Optional<UILabel>, scope 54 // user: %5
- %3 = copy_value %1 : $ClassSelectorController, scope 54 // users: %6, %5
- // function_ref ClassSelectorController.warningLabel.setter
- %4 = function_ref @_TFC3gpa23ClassSelectorControllers12warningLabelGSQCSo7UILabel_ : $@convention(method) (@owned Optional<UILabel>, @guaranteed ClassSelectorController) -> (), scope 54 // user: %5
- %5 = apply %4(%2, %3) : $@convention(method) (@owned Optional<UILabel>, @guaranteed ClassSelectorController) -> (), scope 54 // user: %7
- destroy_value %3 : $ClassSelectorController, scope 54 // id: %6
- return %5 : $(), scope 54 // id: %7
- } // end sil function '_TToFC3gpa23ClassSelectorControllers12warningLabelGSQCSo7UILabel_'
- sil_scope 55 { loc "ClassSelectorController.swift":37:19 parent @_TFC3gpa23ClassSelectorControllers12warningLabelGSQCSo7UILabel_ : $@convention(method) (@owned Optional<UILabel>, @guaranteed ClassSelectorController) -> () }
- sil_scope 56 { loc "ClassSelectorController.swift":37:19 parent 55 }
- // ClassSelectorController.warningLabel.setter
- sil hidden @_TFC3gpa23ClassSelectorControllers12warningLabelGSQCSo7UILabel_ : $@convention(method) (@owned Optional<UILabel>, @guaranteed ClassSelectorController) -> () {
- // %0 // users: %7, %4, %2
- // %1 // users: %5, %3
- bb0(%0 : $Optional<UILabel>, %1 : $ClassSelectorController):
- debug_value %0 : $Optional<UILabel>, let, name "value", argno 1, loc "ClassSelectorController.swift":37:19, scope 55 // id: %2
- debug_value %1 : $ClassSelectorController, let, name "self", argno 2, loc "ClassSelectorController.swift":37:19, scope 55 // id: %3
- %4 = copy_value %0 : $Optional<UILabel>, scope 56 // user: %6
- %5 = ref_element_addr %1 : $ClassSelectorController, #ClassSelectorController.warningLabel, scope 56 // user: %6
- assign %4 to %5 : $*Optional<UILabel>, scope 56 // id: %6
- destroy_value %0 : $Optional<UILabel>, loc "ClassSelectorController.swift":37:19, scope 56 // id: %7
- %8 = tuple (), loc "ClassSelectorController.swift":37:19, scope 56 // user: %9
- return %8 : $(), loc "ClassSelectorController.swift":37:19, scope 56 // id: %9
- } // end sil function '_TFC3gpa23ClassSelectorControllers12warningLabelGSQCSo7UILabel_'
- sil_scope 57 { parent @_TIvC3gpa23ClassSelectorController14addClassButtonGSQCSo8UIButton_i : $@convention(thin) () -> @owned Optional<UIButton> }
- // ClassSelectorController.(addClassButton).(variable initialization expression)
- sil hidden [transparent] @_TIvC3gpa23ClassSelectorController14addClassButtonGSQCSo8UIButton_i : $@convention(thin) () -> @owned Optional<UIButton> {
- bb0:
- // function_ref ImplicitlyUnwrappedOptional.init(nilLiteral : ()) -> A!
- %0 = function_ref @_TFSQCfT10nilLiteralT__GSQx_ : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 57 // user: %3
- %1 = metatype $@thin ImplicitlyUnwrappedOptional<UIButton>.Type, scope 57 // user: %3
- %2 = alloc_stack $Optional<UIButton>, scope 57 // users: %5, %4, %3
- %3 = apply %0<UIButton>(%2, %1) : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 57
- %4 = load [take] %2 : $*Optional<UIButton>, scope 57 // user: %6
- dealloc_stack %2 : $*Optional<UIButton>, scope 57 // id: %5
- return %4 : $Optional<UIButton>, scope 57 // id: %6
- } // end sil function '_TIvC3gpa23ClassSelectorController14addClassButtonGSQCSo8UIButton_i'
- sil_scope 58 { parent @_TToFC3gpa23ClassSelectorControllerg14addClassButtonGSQCSo8UIButton_ : $@convention(objc_method) (ClassSelectorController) -> @autoreleased Optional<UIButton> }
- // @objc ClassSelectorController.addClassButton.getter
- sil hidden [thunk] @_TToFC3gpa23ClassSelectorControllerg14addClassButtonGSQCSo8UIButton_ : $@convention(objc_method) (ClassSelectorController) -> @autoreleased Optional<UIButton> {
- // %0 // user: %1
- bb0(%0 : $ClassSelectorController):
- %1 = copy_value %0 : $ClassSelectorController, scope 58 // users: %4, %3
- // function_ref ClassSelectorController.addClassButton.getter
- %2 = function_ref @_TFC3gpa23ClassSelectorControllerg14addClassButtonGSQCSo8UIButton_ : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UIButton>, scope 58 // user: %3
- %3 = apply %2(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UIButton>, scope 58 // user: %5
- destroy_value %1 : $ClassSelectorController, scope 58 // id: %4
- return %3 : $Optional<UIButton>, scope 58 // id: %5
- } // end sil function '_TToFC3gpa23ClassSelectorControllerg14addClassButtonGSQCSo8UIButton_'
- sil_scope 59 { loc "ClassSelectorController.swift":39:19 parent @_TFC3gpa23ClassSelectorControllerg14addClassButtonGSQCSo8UIButton_ : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UIButton> }
- sil_scope 60 { loc "ClassSelectorController.swift":39:19 parent 59 }
- // ClassSelectorController.addClassButton.getter
- sil hidden @_TFC3gpa23ClassSelectorControllerg14addClassButtonGSQCSo8UIButton_ : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UIButton> {
- // %0 // users: %2, %1
- bb0(%0 : $ClassSelectorController):
- debug_value %0 : $ClassSelectorController, let, name "self", argno 1, loc "ClassSelectorController.swift":39:19, scope 59 // id: %1
- %2 = ref_element_addr %0 : $ClassSelectorController, #ClassSelectorController.addClassButton, scope 60 // user: %3
- %3 = load [copy] %2 : $*Optional<UIButton>, scope 60 // user: %4
- return %3 : $Optional<UIButton>, loc "ClassSelectorController.swift":39:19, scope 60 // id: %4
- } // end sil function '_TFC3gpa23ClassSelectorControllerg14addClassButtonGSQCSo8UIButton_'
- sil_scope 61 { parent @_TToFC3gpa23ClassSelectorControllers14addClassButtonGSQCSo8UIButton_ : $@convention(objc_method) (Optional<UIButton>, ClassSelectorController) -> () }
- // @objc ClassSelectorController.addClassButton.setter
- sil hidden [thunk] @_TToFC3gpa23ClassSelectorControllers14addClassButtonGSQCSo8UIButton_ : $@convention(objc_method) (Optional<UIButton>, ClassSelectorController) -> () {
- // %0 // user: %2
- // %1 // user: %3
- bb0(%0 : $Optional<UIButton>, %1 : $ClassSelectorController):
- %2 = copy_value %0 : $Optional<UIButton>, scope 61 // user: %5
- %3 = copy_value %1 : $ClassSelectorController, scope 61 // users: %6, %5
- // function_ref ClassSelectorController.addClassButton.setter
- %4 = function_ref @_TFC3gpa23ClassSelectorControllers14addClassButtonGSQCSo8UIButton_ : $@convention(method) (@owned Optional<UIButton>, @guaranteed ClassSelectorController) -> (), scope 61 // user: %5
- %5 = apply %4(%2, %3) : $@convention(method) (@owned Optional<UIButton>, @guaranteed ClassSelectorController) -> (), scope 61 // user: %7
- destroy_value %3 : $ClassSelectorController, scope 61 // id: %6
- return %5 : $(), scope 61 // id: %7
- } // end sil function '_TToFC3gpa23ClassSelectorControllers14addClassButtonGSQCSo8UIButton_'
- sil_scope 62 { loc "ClassSelectorController.swift":39:19 parent @_TFC3gpa23ClassSelectorControllers14addClassButtonGSQCSo8UIButton_ : $@convention(method) (@owned Optional<UIButton>, @guaranteed ClassSelectorController) -> () }
- sil_scope 63 { loc "ClassSelectorController.swift":39:19 parent 62 }
- // ClassSelectorController.addClassButton.setter
- sil hidden @_TFC3gpa23ClassSelectorControllers14addClassButtonGSQCSo8UIButton_ : $@convention(method) (@owned Optional<UIButton>, @guaranteed ClassSelectorController) -> () {
- // %0 // users: %7, %4, %2
- // %1 // users: %5, %3
- bb0(%0 : $Optional<UIButton>, %1 : $ClassSelectorController):
- debug_value %0 : $Optional<UIButton>, let, name "value", argno 1, loc "ClassSelectorController.swift":39:19, scope 62 // id: %2
- debug_value %1 : $ClassSelectorController, let, name "self", argno 2, loc "ClassSelectorController.swift":39:19, scope 62 // id: %3
- %4 = copy_value %0 : $Optional<UIButton>, scope 63 // user: %6
- %5 = ref_element_addr %1 : $ClassSelectorController, #ClassSelectorController.addClassButton, scope 63 // user: %6
- assign %4 to %5 : $*Optional<UIButton>, scope 63 // id: %6
- destroy_value %0 : $Optional<UIButton>, loc "ClassSelectorController.swift":39:19, scope 63 // id: %7
- %8 = tuple (), loc "ClassSelectorController.swift":39:19, scope 63 // user: %9
- return %8 : $(), loc "ClassSelectorController.swift":39:19, scope 63 // id: %9
- } // end sil function '_TFC3gpa23ClassSelectorControllers14addClassButtonGSQCSo8UIButton_'
- sil_scope 64 { parent @_TIvC3gpa23ClassSelectorController12cancelButtonGSQCSo15UIBarButtonItem_i : $@convention(thin) () -> @owned Optional<UIBarButtonItem> }
- // ClassSelectorController.(cancelButton).(variable initialization expression)
- sil hidden [transparent] @_TIvC3gpa23ClassSelectorController12cancelButtonGSQCSo15UIBarButtonItem_i : $@convention(thin) () -> @owned Optional<UIBarButtonItem> {
- bb0:
- // function_ref ImplicitlyUnwrappedOptional.init(nilLiteral : ()) -> A!
- %0 = function_ref @_TFSQCfT10nilLiteralT__GSQx_ : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 64 // user: %3
- %1 = metatype $@thin ImplicitlyUnwrappedOptional<UIBarButtonItem>.Type, scope 64 // user: %3
- %2 = alloc_stack $Optional<UIBarButtonItem>, scope 64 // users: %5, %4, %3
- %3 = apply %0<UIBarButtonItem>(%2, %1) : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 64
- %4 = load [take] %2 : $*Optional<UIBarButtonItem>, scope 64 // user: %6
- dealloc_stack %2 : $*Optional<UIBarButtonItem>, scope 64 // id: %5
- return %4 : $Optional<UIBarButtonItem>, scope 64 // id: %6
- } // end sil function '_TIvC3gpa23ClassSelectorController12cancelButtonGSQCSo15UIBarButtonItem_i'
- sil_scope 65 { parent @_TToFC3gpa23ClassSelectorControllerg12cancelButtonGSQCSo15UIBarButtonItem_ : $@convention(objc_method) (ClassSelectorController) -> @autoreleased Optional<UIBarButtonItem> }
- // @objc ClassSelectorController.cancelButton.getter
- sil hidden [thunk] @_TToFC3gpa23ClassSelectorControllerg12cancelButtonGSQCSo15UIBarButtonItem_ : $@convention(objc_method) (ClassSelectorController) -> @autoreleased Optional<UIBarButtonItem> {
- // %0 // user: %1
- bb0(%0 : $ClassSelectorController):
- %1 = copy_value %0 : $ClassSelectorController, scope 65 // users: %4, %3
- // function_ref ClassSelectorController.cancelButton.getter
- %2 = function_ref @_TFC3gpa23ClassSelectorControllerg12cancelButtonGSQCSo15UIBarButtonItem_ : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UIBarButtonItem>, scope 65 // user: %3
- %3 = apply %2(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UIBarButtonItem>, scope 65 // user: %5
- destroy_value %1 : $ClassSelectorController, scope 65 // id: %4
- return %3 : $Optional<UIBarButtonItem>, scope 65 // id: %5
- } // end sil function '_TToFC3gpa23ClassSelectorControllerg12cancelButtonGSQCSo15UIBarButtonItem_'
- sil_scope 66 { loc "ClassSelectorController.swift":40:19 parent @_TFC3gpa23ClassSelectorControllerg12cancelButtonGSQCSo15UIBarButtonItem_ : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UIBarButtonItem> }
- sil_scope 67 { loc "ClassSelectorController.swift":40:19 parent 66 }
- // ClassSelectorController.cancelButton.getter
- sil hidden @_TFC3gpa23ClassSelectorControllerg12cancelButtonGSQCSo15UIBarButtonItem_ : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UIBarButtonItem> {
- // %0 // users: %2, %1
- bb0(%0 : $ClassSelectorController):
- debug_value %0 : $ClassSelectorController, let, name "self", argno 1, loc "ClassSelectorController.swift":40:19, scope 66 // id: %1
- %2 = ref_element_addr %0 : $ClassSelectorController, #ClassSelectorController.cancelButton, scope 67 // user: %3
- %3 = load [copy] %2 : $*Optional<UIBarButtonItem>, scope 67 // user: %4
- return %3 : $Optional<UIBarButtonItem>, loc "ClassSelectorController.swift":40:19, scope 67 // id: %4
- } // end sil function '_TFC3gpa23ClassSelectorControllerg12cancelButtonGSQCSo15UIBarButtonItem_'
- sil_scope 68 { parent @_TToFC3gpa23ClassSelectorControllers12cancelButtonGSQCSo15UIBarButtonItem_ : $@convention(objc_method) (Optional<UIBarButtonItem>, ClassSelectorController) -> () }
- // @objc ClassSelectorController.cancelButton.setter
- sil hidden [thunk] @_TToFC3gpa23ClassSelectorControllers12cancelButtonGSQCSo15UIBarButtonItem_ : $@convention(objc_method) (Optional<UIBarButtonItem>, ClassSelectorController) -> () {
- // %0 // user: %2
- // %1 // user: %3
- bb0(%0 : $Optional<UIBarButtonItem>, %1 : $ClassSelectorController):
- %2 = copy_value %0 : $Optional<UIBarButtonItem>, scope 68 // user: %5
- %3 = copy_value %1 : $ClassSelectorController, scope 68 // users: %6, %5
- // function_ref ClassSelectorController.cancelButton.setter
- %4 = function_ref @_TFC3gpa23ClassSelectorControllers12cancelButtonGSQCSo15UIBarButtonItem_ : $@convention(method) (@owned Optional<UIBarButtonItem>, @guaranteed ClassSelectorController) -> (), scope 68 // user: %5
- %5 = apply %4(%2, %3) : $@convention(method) (@owned Optional<UIBarButtonItem>, @guaranteed ClassSelectorController) -> (), scope 68 // user: %7
- destroy_value %3 : $ClassSelectorController, scope 68 // id: %6
- return %5 : $(), scope 68 // id: %7
- } // end sil function '_TToFC3gpa23ClassSelectorControllers12cancelButtonGSQCSo15UIBarButtonItem_'
- sil_scope 69 { loc "ClassSelectorController.swift":40:19 parent @_TFC3gpa23ClassSelectorControllers12cancelButtonGSQCSo15UIBarButtonItem_ : $@convention(method) (@owned Optional<UIBarButtonItem>, @guaranteed ClassSelectorController) -> () }
- sil_scope 70 { loc "ClassSelectorController.swift":40:19 parent 69 }
- // ClassSelectorController.cancelButton.setter
- sil hidden @_TFC3gpa23ClassSelectorControllers12cancelButtonGSQCSo15UIBarButtonItem_ : $@convention(method) (@owned Optional<UIBarButtonItem>, @guaranteed ClassSelectorController) -> () {
- // %0 // users: %7, %4, %2
- // %1 // users: %5, %3
- bb0(%0 : $Optional<UIBarButtonItem>, %1 : $ClassSelectorController):
- debug_value %0 : $Optional<UIBarButtonItem>, let, name "value", argno 1, loc "ClassSelectorController.swift":40:19, scope 69 // id: %2
- debug_value %1 : $ClassSelectorController, let, name "self", argno 2, loc "ClassSelectorController.swift":40:19, scope 69 // id: %3
- %4 = copy_value %0 : $Optional<UIBarButtonItem>, scope 70 // user: %6
- %5 = ref_element_addr %1 : $ClassSelectorController, #ClassSelectorController.cancelButton, scope 70 // user: %6
- assign %4 to %5 : $*Optional<UIBarButtonItem>, scope 70 // id: %6
- destroy_value %0 : $Optional<UIBarButtonItem>, loc "ClassSelectorController.swift":40:19, scope 70 // id: %7
- %8 = tuple (), loc "ClassSelectorController.swift":40:19, scope 70 // user: %9
- return %8 : $(), loc "ClassSelectorController.swift":40:19, scope 70 // id: %9
- } // end sil function '_TFC3gpa23ClassSelectorControllers12cancelButtonGSQCSo15UIBarButtonItem_'
- sil_scope 71 { parent @_TIvC3gpa23ClassSelectorController6pickerGSQCSo12UIPickerView_i : $@convention(thin) () -> @owned Optional<UIPickerView> }
- // ClassSelectorController.(picker).(variable initialization expression)
- sil hidden [transparent] @_TIvC3gpa23ClassSelectorController6pickerGSQCSo12UIPickerView_i : $@convention(thin) () -> @owned Optional<UIPickerView> {
- bb0:
- // function_ref ImplicitlyUnwrappedOptional.init(nilLiteral : ()) -> A!
- %0 = function_ref @_TFSQCfT10nilLiteralT__GSQx_ : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 71 // user: %3
- %1 = metatype $@thin ImplicitlyUnwrappedOptional<UIPickerView>.Type, scope 71 // user: %3
- %2 = alloc_stack $Optional<UIPickerView>, scope 71 // users: %5, %4, %3
- %3 = apply %0<UIPickerView>(%2, %1) : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 71
- %4 = load [take] %2 : $*Optional<UIPickerView>, scope 71 // user: %6
- dealloc_stack %2 : $*Optional<UIPickerView>, scope 71 // id: %5
- return %4 : $Optional<UIPickerView>, scope 71 // id: %6
- } // end sil function '_TIvC3gpa23ClassSelectorController6pickerGSQCSo12UIPickerView_i'
- sil_scope 72 { parent @_TToFC3gpa23ClassSelectorControllerg6pickerGSQCSo12UIPickerView_ : $@convention(objc_method) (ClassSelectorController) -> @autoreleased Optional<UIPickerView> }
- // @objc ClassSelectorController.picker.getter
- sil hidden [thunk] @_TToFC3gpa23ClassSelectorControllerg6pickerGSQCSo12UIPickerView_ : $@convention(objc_method) (ClassSelectorController) -> @autoreleased Optional<UIPickerView> {
- // %0 // user: %1
- bb0(%0 : $ClassSelectorController):
- %1 = copy_value %0 : $ClassSelectorController, scope 72 // users: %4, %3
- // function_ref ClassSelectorController.picker.getter
- %2 = function_ref @_TFC3gpa23ClassSelectorControllerg6pickerGSQCSo12UIPickerView_ : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UIPickerView>, scope 72 // user: %3
- %3 = apply %2(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UIPickerView>, scope 72 // user: %5
- destroy_value %1 : $ClassSelectorController, scope 72 // id: %4
- return %3 : $Optional<UIPickerView>, scope 72 // id: %5
- } // end sil function '_TToFC3gpa23ClassSelectorControllerg6pickerGSQCSo12UIPickerView_'
- sil_scope 73 { loc "ClassSelectorController.swift":42:19 parent @_TFC3gpa23ClassSelectorControllerg6pickerGSQCSo12UIPickerView_ : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UIPickerView> }
- sil_scope 74 { loc "ClassSelectorController.swift":42:19 parent 73 }
- // ClassSelectorController.picker.getter
- sil hidden @_TFC3gpa23ClassSelectorControllerg6pickerGSQCSo12UIPickerView_ : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UIPickerView> {
- // %0 // users: %2, %1
- bb0(%0 : $ClassSelectorController):
- debug_value %0 : $ClassSelectorController, let, name "self", argno 1, loc "ClassSelectorController.swift":42:19, scope 73 // id: %1
- %2 = ref_element_addr %0 : $ClassSelectorController, #ClassSelectorController.picker, scope 74 // user: %3
- %3 = load [copy] %2 : $*Optional<UIPickerView>, scope 74 // user: %4
- return %3 : $Optional<UIPickerView>, loc "ClassSelectorController.swift":42:19, scope 74 // id: %4
- } // end sil function '_TFC3gpa23ClassSelectorControllerg6pickerGSQCSo12UIPickerView_'
- sil_scope 75 { parent @_TToFC3gpa23ClassSelectorControllers6pickerGSQCSo12UIPickerView_ : $@convention(objc_method) (Optional<UIPickerView>, ClassSelectorController) -> () }
- // @objc ClassSelectorController.picker.setter
- sil hidden [thunk] @_TToFC3gpa23ClassSelectorControllers6pickerGSQCSo12UIPickerView_ : $@convention(objc_method) (Optional<UIPickerView>, ClassSelectorController) -> () {
- // %0 // user: %2
- // %1 // user: %3
- bb0(%0 : $Optional<UIPickerView>, %1 : $ClassSelectorController):
- %2 = copy_value %0 : $Optional<UIPickerView>, scope 75 // user: %5
- %3 = copy_value %1 : $ClassSelectorController, scope 75 // users: %6, %5
- // function_ref ClassSelectorController.picker.setter
- %4 = function_ref @_TFC3gpa23ClassSelectorControllers6pickerGSQCSo12UIPickerView_ : $@convention(method) (@owned Optional<UIPickerView>, @guaranteed ClassSelectorController) -> (), scope 75 // user: %5
- %5 = apply %4(%2, %3) : $@convention(method) (@owned Optional<UIPickerView>, @guaranteed ClassSelectorController) -> (), scope 75 // user: %7
- destroy_value %3 : $ClassSelectorController, scope 75 // id: %6
- return %5 : $(), scope 75 // id: %7
- } // end sil function '_TToFC3gpa23ClassSelectorControllers6pickerGSQCSo12UIPickerView_'
- sil_scope 76 { loc "ClassSelectorController.swift":42:19 parent @_TFC3gpa23ClassSelectorControllers6pickerGSQCSo12UIPickerView_ : $@convention(method) (@owned Optional<UIPickerView>, @guaranteed ClassSelectorController) -> () }
- sil_scope 77 { loc "ClassSelectorController.swift":42:19 parent 76 }
- // ClassSelectorController.picker.setter
- sil hidden @_TFC3gpa23ClassSelectorControllers6pickerGSQCSo12UIPickerView_ : $@convention(method) (@owned Optional<UIPickerView>, @guaranteed ClassSelectorController) -> () {
- // %0 // users: %7, %4, %2
- // %1 // users: %5, %3
- bb0(%0 : $Optional<UIPickerView>, %1 : $ClassSelectorController):
- debug_value %0 : $Optional<UIPickerView>, let, name "value", argno 1, loc "ClassSelectorController.swift":42:19, scope 76 // id: %2
- debug_value %1 : $ClassSelectorController, let, name "self", argno 2, loc "ClassSelectorController.swift":42:19, scope 76 // id: %3
- %4 = copy_value %0 : $Optional<UIPickerView>, scope 77 // user: %6
- %5 = ref_element_addr %1 : $ClassSelectorController, #ClassSelectorController.picker, scope 77 // user: %6
- assign %4 to %5 : $*Optional<UIPickerView>, scope 77 // id: %6
- destroy_value %0 : $Optional<UIPickerView>, loc "ClassSelectorController.swift":42:19, scope 77 // id: %7
- %8 = tuple (), loc "ClassSelectorController.swift":42:19, scope 77 // user: %9
- return %8 : $(), loc "ClassSelectorController.swift":42:19, scope 77 // id: %9
- } // end sil function '_TFC3gpa23ClassSelectorControllers6pickerGSQCSo12UIPickerView_'
- sil_scope 78 { loc "ClassSelectorController.swift":44:19 parent @_TFC3gpa23ClassSelectorController11viewDidLoadfT_T_ : $@convention(method) (@guaranteed ClassSelectorController) -> () }
- sil_scope 79 { loc "ClassSelectorController.swift":55:5 parent 78 }
- // ClassSelectorController.viewDidLoad() -> ()
- sil hidden @_TFC3gpa23ClassSelectorController11viewDidLoadfT_T_ : $@convention(method) (@guaranteed ClassSelectorController) -> () {
- // %0 // users: %128, %110, %109, %108, %84, %83, %58, %57, %47, %35, %34, %24, %12, %11, %2, %1
- bb0(%0 : $ClassSelectorController):
- debug_value %0 : $ClassSelectorController, let, name "self", argno 1, loc "ClassSelectorController.swift":44:19, scope 78 // id: %1
- %2 = copy_value %0 : $ClassSelectorController, loc "ClassSelectorController.swift":45:9, scope 79 // users: %6, %4, %3
- %3 = upcast %2 : $ClassSelectorController to $UIViewController, loc "ClassSelectorController.swift":45:9, scope 79 // user: %5
- %4 = super_method [volatile] %2 : $ClassSelectorController, #UIViewController.viewDidLoad!1.foreign : (UIViewController) -> () -> () , $@convention(objc_method) (UIViewController) -> (), loc "ClassSelectorController.swift":45:15, scope 79 // user: %5
- %5 = apply %4(%3) : $@convention(objc_method) (UIViewController) -> (), loc "ClassSelectorController.swift":45:27, scope 79
- destroy_value %2 : $ClassSelectorController, loc "ClassSelectorController.swift":45:27, scope 79 // id: %6
- // function_ref static Information.initializeArray() -> ()
- %7 = function_ref @_TZFC3gpa11Information15initializeArrayfT_T_ : $@convention(method) (@thick Information.Type) -> (), loc "ClassSelectorController.swift":46:21, scope 79 // user: %9
- %8 = metatype $@thick Information.Type, loc "ClassSelectorController.swift":46:9, scope 79 // user: %9
- %9 = apply %7(%8) : $@convention(method) (@thick Information.Type) -> (), loc "ClassSelectorController.swift":46:37, scope 79
- %10 = alloc_stack $Optional<UIPickerView>, loc "ClassSelectorController.swift":48:9, scope 79 // users: %32, %22, %14, %13
- %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
- %12 = apply %11(%0) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UIPickerView>, loc "ClassSelectorController.swift":48:9, scope 79 // user: %13
- store %12 to [init] %10 : $*Optional<UIPickerView>, loc "ClassSelectorController.swift":48:9, scope 79 // id: %13
- switch_enum_addr %10 : $*Optional<UIPickerView>, case #Optional.none!enumelt: bb1, default bb2, loc "ClassSelectorController.swift":48:9, scope 79 // id: %14
- bb1: // Preds: bb0
- %15 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":48:9, scope 79 // user: %20
- %16 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":48:9, scope 79 // user: %20
- %17 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":48:9, scope 79 // user: %20
- %18 = integer_literal $Builtin.Word, 48, loc "ClassSelectorController.swift":48:9, scope 79 // user: %20
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %20 = apply %19(%15, %16, %17, %18) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":48:9, scope 79
- unreachable , loc "ClassSelectorController.swift":48:9, scope 79 // id: %21
- bb2: // Preds: bb0
- %22 = unchecked_take_enum_data_addr %10 : $*Optional<UIPickerView>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":48:9, scope 79 // users: %31, %23
- %23 = load [copy] %22 : $*UIPickerView, loc "ClassSelectorController.swift":48:9, scope 79 // users: %30, %28, %27
- %24 = copy_value %0 : $ClassSelectorController, loc "ClassSelectorController.swift":48:27, scope 79 // user: %25
- %25 = init_existential_ref %24 : $ClassSelectorController : $ClassSelectorController, $UIPickerViewDelegate, loc "ClassSelectorController.swift":48:27, scope 79 // user: %26
- %26 = enum $Optional<UIPickerViewDelegate>, #Optional.some!enumelt.1, %25 : $UIPickerViewDelegate, loc "ClassSelectorController.swift":48:27, scope 79 // users: %29, %28
- %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
- %28 = apply %27(%26, %23) : $@convention(objc_method) (Optional<UIPickerViewDelegate>, UIPickerView) -> (), loc "ClassSelectorController.swift":48:25, scope 79
- destroy_value %26 : $Optional<UIPickerViewDelegate>, loc "ClassSelectorController.swift":48:27, scope 79 // id: %29
- destroy_value %23 : $UIPickerView, loc "ClassSelectorController.swift":48:27, scope 79 // id: %30
- destroy_addr %22 : $*UIPickerView, loc "ClassSelectorController.swift":48:27, scope 79 // id: %31
- dealloc_stack %10 : $*Optional<UIPickerView>, loc "ClassSelectorController.swift":48:27, scope 79 // id: %32
- %33 = alloc_stack $Optional<UIPickerView>, loc "ClassSelectorController.swift":49:9, scope 79 // users: %55, %45, %37, %36
- %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
- %35 = apply %34(%0) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UIPickerView>, loc "ClassSelectorController.swift":49:9, scope 79 // user: %36
- store %35 to [init] %33 : $*Optional<UIPickerView>, loc "ClassSelectorController.swift":49:9, scope 79 // id: %36
- switch_enum_addr %33 : $*Optional<UIPickerView>, case #Optional.none!enumelt: bb3, default bb4, loc "ClassSelectorController.swift":49:9, scope 79 // id: %37
- bb3: // Preds: bb2
- %38 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":49:9, scope 79 // user: %43
- %39 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":49:9, scope 79 // user: %43
- %40 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":49:9, scope 79 // user: %43
- %41 = integer_literal $Builtin.Word, 49, loc "ClassSelectorController.swift":49:9, scope 79 // user: %43
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %43 = apply %42(%38, %39, %40, %41) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":49:9, scope 79
- unreachable , loc "ClassSelectorController.swift":49:9, scope 79 // id: %44
- bb4: // Preds: bb2
- %45 = unchecked_take_enum_data_addr %33 : $*Optional<UIPickerView>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":49:9, scope 79 // users: %54, %46
- %46 = load [copy] %45 : $*UIPickerView, loc "ClassSelectorController.swift":49:9, scope 79 // users: %53, %51, %50
- %47 = copy_value %0 : $ClassSelectorController, loc "ClassSelectorController.swift":49:29, scope 79 // user: %48
- %48 = init_existential_ref %47 : $ClassSelectorController : $ClassSelectorController, $UIPickerViewDataSource, loc "ClassSelectorController.swift":49:29, scope 79 // user: %49
- %49 = enum $Optional<UIPickerViewDataSource>, #Optional.some!enumelt.1, %48 : $UIPickerViewDataSource, loc "ClassSelectorController.swift":49:29, scope 79 // users: %52, %51
- %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
- %51 = apply %50(%49, %46) : $@convention(objc_method) (Optional<UIPickerViewDataSource>, UIPickerView) -> (), loc "ClassSelectorController.swift":49:27, scope 79
- destroy_value %49 : $Optional<UIPickerViewDataSource>, loc "ClassSelectorController.swift":49:29, scope 79 // id: %52
- destroy_value %46 : $UIPickerView, loc "ClassSelectorController.swift":49:29, scope 79 // id: %53
- destroy_addr %45 : $*UIPickerView, loc "ClassSelectorController.swift":49:29, scope 79 // id: %54
- dealloc_stack %33 : $*Optional<UIPickerView>, loc "ClassSelectorController.swift":49:29, scope 79 // id: %55
- %56 = alloc_stack $Optional<UILabel>, loc "ClassSelectorController.swift":51:9, scope 79 // users: %81, %68, %60, %59
- %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
- %58 = apply %57(%0) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UILabel>, loc "ClassSelectorController.swift":51:9, scope 79 // user: %59
- store %58 to [init] %56 : $*Optional<UILabel>, loc "ClassSelectorController.swift":51:9, scope 79 // id: %59
- switch_enum_addr %56 : $*Optional<UILabel>, case #Optional.none!enumelt: bb5, default bb6, loc "ClassSelectorController.swift":51:9, scope 79 // id: %60
- bb5: // Preds: bb4
- %61 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":51:9, scope 79 // user: %66
- %62 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":51:9, scope 79 // user: %66
- %63 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":51:9, scope 79 // user: %66
- %64 = integer_literal $Builtin.Word, 51, loc "ClassSelectorController.swift":51:9, scope 79 // user: %66
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %66 = apply %65(%61, %62, %63, %64) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":51:9, scope 79
- unreachable , loc "ClassSelectorController.swift":51:9, scope 79 // id: %67
- bb6: // Preds: bb4
- %68 = unchecked_take_enum_data_addr %56 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":51:9, scope 79 // users: %80, %69
- %69 = load [copy] %68 : $*UILabel, loc "ClassSelectorController.swift":51:9, scope 79 // users: %79, %70
- %70 = upcast %69 : $UILabel to $UIView, loc "ClassSelectorController.swift":51:9, scope 79 // users: %78, %75
- // function_ref Bool.init(_builtinBooleanLiteral : Builtin.Int1) -> Bool
- %71 = function_ref @_TFSbCfT22_builtinBooleanLiteralBi1__Sb : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":51:33, scope 79 // user: %74
- %72 = metatype $@thin Bool.Type, loc "ClassSelectorController.swift":51:33, scope 79 // user: %74
- %73 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":51:33, scope 79 // user: %74
- %74 = apply %71(%73, %72) : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":51:33, scope 79 // user: %77
- %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
- // function_ref _convertBoolToObjCBool(Bool) -> ObjCBool
- %76 = function_ref @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool, loc "ClassSelectorController.swift":51:31, scope 79 // user: %77
- %77 = apply %76(%74) : $@convention(thin) (Bool) -> ObjCBool, loc "ClassSelectorController.swift":51:31, scope 79 // user: %78
- %78 = apply %75(%77, %70) : $@convention(objc_method) (ObjCBool, UIView) -> (), loc "ClassSelectorController.swift":51:31, scope 79
- destroy_value %69 : $UILabel, loc "ClassSelectorController.swift":51:33, scope 79 // id: %79
- destroy_addr %68 : $*UILabel, loc "ClassSelectorController.swift":51:33, scope 79 // id: %80
- dealloc_stack %56 : $*Optional<UILabel>, loc "ClassSelectorController.swift":51:33, scope 79 // id: %81
- %82 = alloc_stack $Optional<UIBarButtonItem>, loc "ClassSelectorController.swift":52:9, scope 79 // users: %107, %94, %86, %85
- %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
- %84 = apply %83(%0) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UIBarButtonItem>, loc "ClassSelectorController.swift":52:9, scope 79 // user: %85
- store %84 to [init] %82 : $*Optional<UIBarButtonItem>, loc "ClassSelectorController.swift":52:9, scope 79 // id: %85
- switch_enum_addr %82 : $*Optional<UIBarButtonItem>, case #Optional.none!enumelt: bb7, default bb8, loc "ClassSelectorController.swift":52:9, scope 79 // id: %86
- bb7: // Preds: bb6
- %87 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":52:9, scope 79 // user: %92
- %88 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":52:9, scope 79 // user: %92
- %89 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":52:9, scope 79 // user: %92
- %90 = integer_literal $Builtin.Word, 52, loc "ClassSelectorController.swift":52:9, scope 79 // user: %92
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %92 = apply %91(%87, %88, %89, %90) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":52:9, scope 79
- unreachable , loc "ClassSelectorController.swift":52:9, scope 79 // id: %93
- bb8: // Preds: bb6
- %94 = unchecked_take_enum_data_addr %82 : $*Optional<UIBarButtonItem>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":52:9, scope 79 // users: %106, %95
- %95 = load [copy] %94 : $*UIBarButtonItem, loc "ClassSelectorController.swift":52:9, scope 79 // users: %105, %96
- %96 = upcast %95 : $UIBarButtonItem to $UIBarItem, loc "ClassSelectorController.swift":52:9, scope 79 // users: %104, %101
- // function_ref Bool.init(_builtinBooleanLiteral : Builtin.Int1) -> Bool
- %97 = function_ref @_TFSbCfT22_builtinBooleanLiteralBi1__Sb : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":52:34, scope 79 // user: %100
- %98 = metatype $@thin Bool.Type, loc "ClassSelectorController.swift":52:34, scope 79 // user: %100
- %99 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":52:34, scope 79 // user: %100
- %100 = apply %97(%99, %98) : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":52:34, scope 79 // user: %103
- %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
- // function_ref _convertBoolToObjCBool(Bool) -> ObjCBool
- %102 = function_ref @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool, loc "ClassSelectorController.swift":52:32, scope 79 // user: %103
- %103 = apply %102(%100) : $@convention(thin) (Bool) -> ObjCBool, loc "ClassSelectorController.swift":52:32, scope 79 // user: %104
- %104 = apply %101(%103, %96) : $@convention(objc_method) (ObjCBool, UIBarItem) -> (), loc "ClassSelectorController.swift":52:32, scope 79
- destroy_value %95 : $UIBarButtonItem, loc "ClassSelectorController.swift":52:34, scope 79 // id: %105
- destroy_addr %94 : $*UIBarButtonItem, loc "ClassSelectorController.swift":52:34, scope 79 // id: %106
- dealloc_stack %82 : $*Optional<UIBarButtonItem>, loc "ClassSelectorController.swift":52:34, scope 79 // id: %107
- %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
- %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
- %110 = apply %109(%0) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UIPickerView>, loc "ClassSelectorController.swift":54:20, scope 79 // users: %119, %111
- switch_enum %110 : $Optional<UIPickerView>, case #Optional.none!enumelt: bb9, default bb10, loc "ClassSelectorController.swift":54:20, scope 79 // id: %111
- bb9: // Preds: bb8
- %112 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":54:20, scope 79 // user: %117
- %113 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":54:20, scope 79 // user: %117
- %114 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":54:20, scope 79 // user: %117
- %115 = integer_literal $Builtin.Word, 54, loc "ClassSelectorController.swift":54:20, scope 79 // user: %117
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %117 = apply %116(%112, %113, %114, %115) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":54:20, scope 79
- unreachable , loc "ClassSelectorController.swift":54:20, scope 79 // id: %118
- bb10: // Preds: bb8
- %119 = unchecked_enum_data %110 : $Optional<UIPickerView>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":54:20, scope 79 // user: %128
- // function_ref Int.init(_builtinIntegerLiteral : Builtin.Int2048) -> Int
- %120 = function_ref @_TFSiCfT22_builtinIntegerLiteralBi2048__Si : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":54:42, scope 79 // user: %123
- %121 = metatype $@thin Int.Type, loc "ClassSelectorController.swift":54:42, scope 79 // user: %123
- %122 = integer_literal $Builtin.Int2048, 0, loc "ClassSelectorController.swift":54:42, scope 79 // user: %123
- %123 = apply %120(%122, %121) : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":54:42, scope 79 // user: %128
- // function_ref Int.init(_builtinIntegerLiteral : Builtin.Int2048) -> Int
- %124 = function_ref @_TFSiCfT22_builtinIntegerLiteralBi2048__Si : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":54:58, scope 79 // user: %127
- %125 = metatype $@thin Int.Type, loc "ClassSelectorController.swift":54:58, scope 79 // user: %127
- %126 = integer_literal $Builtin.Int2048, 0, loc "ClassSelectorController.swift":54:58, scope 79 // user: %127
- %127 = apply %124(%126, %125) : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":54:58, scope 79 // user: %128
- %128 = apply %108(%119, %123, %127, %0) : $@convention(method) (@owned UIPickerView, Int, Int, @guaranteed ClassSelectorController) -> (), loc "ClassSelectorController.swift":54:59, scope 79
- %129 = tuple (), loc "ClassSelectorController.swift":55:5, scope 79 // user: %130
- return %129 : $(), loc "ClassSelectorController.swift":55:5, scope 79 // id: %130
- } // end sil function '_TFC3gpa23ClassSelectorController11viewDidLoadfT_T_'
- // static Information.initializeArray() -> ()
- sil hidden_external @_TZFC3gpa11Information15initializeArrayfT_T_ : $@convention(method) (@thick Information.Type) -> ()
- // _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- sil [transparent] [fragile] @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> ()
- // Bool.init(_builtinBooleanLiteral : Builtin.Int1) -> Bool
- sil [transparent] [fragile] @_TFSbCfT22_builtinBooleanLiteralBi1__Sb : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool
- // _convertBoolToObjCBool(Bool) -> ObjCBool
- sil @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool
- sil_scope 80 { loc "ClassSelectorController.swift":44:19 parent @_TToFC3gpa23ClassSelectorController11viewDidLoadfT_T_ : $@convention(objc_method) (ClassSelectorController) -> () }
- // @objc ClassSelectorController.viewDidLoad() -> ()
- sil hidden [thunk] @_TToFC3gpa23ClassSelectorController11viewDidLoadfT_T_ : $@convention(objc_method) (ClassSelectorController) -> () {
- // %0 // user: %1
- bb0(%0 : $ClassSelectorController):
- %1 = copy_value %0 : $ClassSelectorController, scope 80 // users: %4, %3
- // function_ref ClassSelectorController.viewDidLoad() -> ()
- %2 = function_ref @_TFC3gpa23ClassSelectorController11viewDidLoadfT_T_ : $@convention(method) (@guaranteed ClassSelectorController) -> (), scope 80 // user: %3
- %3 = apply %2(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> (), scope 80 // user: %5
- destroy_value %1 : $ClassSelectorController, scope 80 // id: %4
- return %3 : $(), scope 80 // id: %5
- } // end sil function '_TToFC3gpa23ClassSelectorController11viewDidLoadfT_T_'
- sil_scope 81 { loc "ClassSelectorController.swift":57:19 parent @_TFC3gpa23ClassSelectorController23didReceiveMemoryWarningfT_T_ : $@convention(method) (@guaranteed ClassSelectorController) -> () }
- sil_scope 82 { loc "ClassSelectorController.swift":60:5 parent 81 }
- // ClassSelectorController.didReceiveMemoryWarning() -> ()
- sil hidden @_TFC3gpa23ClassSelectorController23didReceiveMemoryWarningfT_T_ : $@convention(method) (@guaranteed ClassSelectorController) -> () {
- // %0 // users: %2, %1
- bb0(%0 : $ClassSelectorController):
- debug_value %0 : $ClassSelectorController, let, name "self", argno 1, loc "ClassSelectorController.swift":57:19, scope 81 // id: %1
- %2 = copy_value %0 : $ClassSelectorController, loc "ClassSelectorController.swift":58:9, scope 82 // users: %6, %4, %3
- %3 = upcast %2 : $ClassSelectorController to $UIViewController, loc "ClassSelectorController.swift":58:9, scope 82 // user: %5
- %4 = super_method [volatile] %2 : $ClassSelectorController, #UIViewController.didReceiveMemoryWarning!1.foreign : (UIViewController) -> () -> () , $@convention(objc_method) (UIViewController) -> (), loc "ClassSelectorController.swift":58:15, scope 82 // user: %5
- %5 = apply %4(%3) : $@convention(objc_method) (UIViewController) -> (), loc "ClassSelectorController.swift":58:39, scope 82
- destroy_value %2 : $ClassSelectorController, loc "ClassSelectorController.swift":58:39, scope 82 // id: %6
- %7 = tuple (), loc "ClassSelectorController.swift":60:5, scope 82 // user: %8
- return %7 : $(), loc "ClassSelectorController.swift":60:5, scope 82 // id: %8
- } // end sil function '_TFC3gpa23ClassSelectorController23didReceiveMemoryWarningfT_T_'
- sil_scope 83 { loc "ClassSelectorController.swift":57:19 parent @_TToFC3gpa23ClassSelectorController23didReceiveMemoryWarningfT_T_ : $@convention(objc_method) (ClassSelectorController) -> () }
- // @objc ClassSelectorController.didReceiveMemoryWarning() -> ()
- sil hidden [thunk] @_TToFC3gpa23ClassSelectorController23didReceiveMemoryWarningfT_T_ : $@convention(objc_method) (ClassSelectorController) -> () {
- // %0 // user: %1
- bb0(%0 : $ClassSelectorController):
- %1 = copy_value %0 : $ClassSelectorController, scope 83 // users: %4, %3
- // function_ref ClassSelectorController.didReceiveMemoryWarning() -> ()
- %2 = function_ref @_TFC3gpa23ClassSelectorController23didReceiveMemoryWarningfT_T_ : $@convention(method) (@guaranteed ClassSelectorController) -> (), scope 83 // user: %3
- %3 = apply %2(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> (), scope 83 // user: %5
- destroy_value %1 : $ClassSelectorController, scope 83 // id: %4
- return %3 : $(), scope 83 // id: %5
- } // end sil function '_TToFC3gpa23ClassSelectorController23didReceiveMemoryWarningfT_T_'
- sil_scope 84 { loc "ClassSelectorController.swift":62:10 parent @_TFC3gpa23ClassSelectorController10pickerViewfTCSo12UIPickerView11titleForRowSi12forComponentSi_GSqSS_ : $@convention(method) (@owned UIPickerView, Int, Int, @guaranteed ClassSelectorController) -> @owned Optional<String> }
- sil_scope 85 { loc "ClassSelectorController.swift":64:5 parent 84 }
- // ClassSelectorController.pickerView(UIPickerView, titleForRow : Int, forComponent : Int) -> String?
- sil hidden @_TFC3gpa23ClassSelectorController10pickerViewfTCSo12UIPickerView11titleForRowSi12forComponentSi_GSqSS_ : $@convention(method) (@owned UIPickerView, Int, Int, @guaranteed ClassSelectorController) -> @owned Optional<String> {
- // %0 // users: %23, %4
- // %1 // users: %15, %5
- // %2 // user: %6
- // %3 // user: %7
- bb0(%0 : $UIPickerView, %1 : $Int, %2 : $Int, %3 : $ClassSelectorController):
- debug_value %0 : $UIPickerView, let, name "pickerView", argno 1, loc "ClassSelectorController.swift":62:23, scope 84 // id: %4
- debug_value %1 : $Int, let, name "row", argno 2, loc "ClassSelectorController.swift":62:61, scope 84 // id: %5
- debug_value %2 : $Int, let, name "component", argno 3, loc "ClassSelectorController.swift":62:84, scope 84 // id: %6
- debug_value %3 : $ClassSelectorController, let, name "self", argno 4, loc "ClassSelectorController.swift":62:10, scope 84 // id: %7
- %8 = metatype $@thick Information.Type, loc "ClassSelectorController.swift":63:16, scope 85
- // function_ref Information.classesAndGrades.unsafeMutableAddressor
- %9 = function_ref @_TFC3gpa11Informationau16classesAndGradesGSaS0__ : $@convention(thin) () -> Builtin.RawPointer, loc "ClassSelectorController.swift":63:28, scope 85 // user: %10
- %10 = apply %9() : $@convention(thin) () -> Builtin.RawPointer, loc "ClassSelectorController.swift":63:28, scope 85 // user: %11
- %11 = pointer_to_address %10 : $Builtin.RawPointer to [strict] $*Array<Information>, loc "ClassSelectorController.swift":63:28, scope 85 // user: %12
- %12 = load [copy] %11 : $*Array<Information>, loc "ClassSelectorController.swift":63:44, scope 85 // users: %16, %15
- // function_ref Array.subscript.getter
- %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
- %14 = alloc_stack $Information, loc "ClassSelectorController.swift":63:44, scope 85 // users: %22, %17, %15
- %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
- destroy_value %12 : $Array<Information>, loc "ClassSelectorController.swift":63:48, scope 85 // id: %16
- %17 = load [take] %14 : $*Information, loc "ClassSelectorController.swift":63:44, scope 85 // users: %20, %19, %18
- %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
- %19 = apply %18(%17) : $@convention(method) (@guaranteed Information) -> @owned String, loc "ClassSelectorController.swift":63:50, scope 85 // user: %21
- destroy_value %17 : $Information, loc "ClassSelectorController.swift":63:50, scope 85 // id: %20
- %21 = enum $Optional<String>, #Optional.some!enumelt.1, %19 : $String, loc "ClassSelectorController.swift":63:50, scope 85 // user: %24
- dealloc_stack %14 : $*Information, loc "ClassSelectorController.swift":63:50, scope 85 // id: %22
- destroy_value %0 : $UIPickerView, loc "ClassSelectorController.swift":64:5, scope 85 // id: %23
- return %21 : $Optional<String>, loc "ClassSelectorController.swift":63:9, scope 85 // id: %24
- } // end sil function '_TFC3gpa23ClassSelectorController10pickerViewfTCSo12UIPickerView11titleForRowSi12forComponentSi_GSqSS_'
- // Information.classesAndGrades.unsafeMutableAddressor
- sil hidden_external [global_init] @_TFC3gpa11Informationau16classesAndGradesGSaS0__ : $@convention(thin) () -> Builtin.RawPointer
- // Array.subscript.getter
- sil @_TFSag9subscriptFSix : $@convention(method) <τ_0_0> (Int, @guaranteed Array<τ_0_0>) -> @out τ_0_0
- sil_scope 86 { loc "ClassSelectorController.swift":62:10 parent @_TToFC3gpa23ClassSelectorController10pickerViewfTCSo12UIPickerView11titleForRowSi12forComponentSi_GSqSS_ : $@convention(objc_method) (UIPickerView, Int, Int, ClassSelectorController) -> @autoreleased Optional<NSString> }
- // @objc ClassSelectorController.pickerView(UIPickerView, titleForRow : Int, forComponent : Int) -> String?
- sil hidden [thunk] @_TToFC3gpa23ClassSelectorController10pickerViewfTCSo12UIPickerView11titleForRowSi12forComponentSi_GSqSS_ : $@convention(objc_method) (UIPickerView, Int, Int, ClassSelectorController) -> @autoreleased Optional<NSString> {
- // %0 // user: %4
- // %1 // user: %7
- // %2 // user: %7
- // %3 // user: %5
- bb0(%0 : $UIPickerView, %1 : $Int, %2 : $Int, %3 : $ClassSelectorController):
- %4 = copy_value %0 : $UIPickerView, scope 86 // user: %7
- %5 = copy_value %3 : $ClassSelectorController, scope 86 // users: %8, %7
- // function_ref ClassSelectorController.pickerView(UIPickerView, titleForRow : Int, forComponent : Int) -> String?
- %6 = function_ref @_TFC3gpa23ClassSelectorController10pickerViewfTCSo12UIPickerView11titleForRowSi12forComponentSi_GSqSS_ : $@convention(method) (@owned UIPickerView, Int, Int, @guaranteed ClassSelectorController) -> @owned Optional<String>, scope 86 // user: %7
- %7 = apply %6(%4, %1, %2, %5) : $@convention(method) (@owned UIPickerView, Int, Int, @guaranteed ClassSelectorController) -> @owned Optional<String>, scope 86 // users: %13, %11
- destroy_value %5 : $ClassSelectorController, scope 86 // id: %8
- %9 = integer_literal $Builtin.Int1, -1, scope 86 // user: %11
- %10 = integer_literal $Builtin.Int1, 0, scope 86 // user: %11
- %11 = select_enum %7 : $Optional<String>, case #Optional.some!enumelt.1: %9, default %10 : $Builtin.Int1, scope 86 // user: %12
- cond_br %11, bb1, bb2, scope 86 // id: %12
- bb1: // Preds: bb0
- %13 = unchecked_enum_data %7 : $Optional<String>, #Optional.some!enumelt.1, scope 86 // users: %17, %15
- // function_ref String._bridgeToObjectiveC() -> NSString
- %14 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, scope 86 // user: %15
- %15 = apply %14(%13) : $@convention(method) (@guaranteed String) -> @owned NSString, scope 86 // user: %16
- %16 = enum $Optional<NSString>, #Optional.some!enumelt.1, %15 : $NSString, scope 86 // user: %18
- destroy_value %13 : $String, scope 86 // id: %17
- br bb3(%16 : $Optional<NSString>), scope 86 // id: %18
- bb2: // Preds: bb0
- %19 = enum $Optional<NSString>, #Optional.none!enumelt, scope 86 // user: %20
- br bb3(%19 : $Optional<NSString>), scope 86 // id: %20
- // %21 // user: %22
- bb3(%21 : $Optional<NSString>): // Preds: bb2 bb1
- return %21 : $Optional<NSString>, scope 86 // id: %22
- } // end sil function '_TToFC3gpa23ClassSelectorController10pickerViewfTCSo12UIPickerView11titleForRowSi12forComponentSi_GSqSS_'
- // String._bridgeToObjectiveC() -> NSString
- sil [_semantics "convertToObjectiveC"] @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString
- sil_scope 87 { loc "ClassSelectorController.swift":66:10 parent @_TFC3gpa23ClassSelectorController18numberOfComponentsfT2inCSo12UIPickerView_Si : $@convention(method) (@owned UIPickerView, @guaranteed ClassSelectorController) -> Int }
- sil_scope 88 { loc "ClassSelectorController.swift":68:5 parent 87 }
- // ClassSelectorController.numberOfComponents(in : UIPickerView) -> Int
- sil hidden @_TFC3gpa23ClassSelectorController18numberOfComponentsfT2inCSo12UIPickerView_Si : $@convention(method) (@owned UIPickerView, @guaranteed ClassSelectorController) -> Int {
- // %0 // users: %8, %2
- // %1 // user: %3
- bb0(%0 : $UIPickerView, %1 : $ClassSelectorController):
- debug_value %0 : $UIPickerView, let, name "pickerView", argno 1, loc "ClassSelectorController.swift":66:32, scope 87 // id: %2
- debug_value %1 : $ClassSelectorController, let, name "self", argno 2, loc "ClassSelectorController.swift":66:10, scope 87 // id: %3
- // function_ref Int.init(_builtinIntegerLiteral : Builtin.Int2048) -> Int
- %4 = function_ref @_TFSiCfT22_builtinIntegerLiteralBi2048__Si : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":67:16, scope 88 // user: %7
- %5 = metatype $@thin Int.Type, loc "ClassSelectorController.swift":67:16, scope 88 // user: %7
- %6 = integer_literal $Builtin.Int2048, 1, loc "ClassSelectorController.swift":67:16, scope 88 // user: %7
- %7 = apply %4(%6, %5) : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":67:16, scope 88 // user: %9
- destroy_value %0 : $UIPickerView, loc "ClassSelectorController.swift":68:5, scope 88 // id: %8
- return %7 : $Int, loc "ClassSelectorController.swift":67:9, scope 88 // id: %9
- } // end sil function '_TFC3gpa23ClassSelectorController18numberOfComponentsfT2inCSo12UIPickerView_Si'
- sil_scope 89 { loc "ClassSelectorController.swift":66:10 parent @_TToFC3gpa23ClassSelectorController18numberOfComponentsfT2inCSo12UIPickerView_Si : $@convention(objc_method) (UIPickerView, ClassSelectorController) -> Int }
- // @objc ClassSelectorController.numberOfComponents(in : UIPickerView) -> Int
- sil hidden [thunk] @_TToFC3gpa23ClassSelectorController18numberOfComponentsfT2inCSo12UIPickerView_Si : $@convention(objc_method) (UIPickerView, ClassSelectorController) -> Int {
- // %0 // user: %2
- // %1 // user: %3
- bb0(%0 : $UIPickerView, %1 : $ClassSelectorController):
- %2 = copy_value %0 : $UIPickerView, scope 89 // user: %5
- %3 = copy_value %1 : $ClassSelectorController, scope 89 // users: %6, %5
- // function_ref ClassSelectorController.numberOfComponents(in : UIPickerView) -> Int
- %4 = function_ref @_TFC3gpa23ClassSelectorController18numberOfComponentsfT2inCSo12UIPickerView_Si : $@convention(method) (@owned UIPickerView, @guaranteed ClassSelectorController) -> Int, scope 89 // user: %5
- %5 = apply %4(%2, %3) : $@convention(method) (@owned UIPickerView, @guaranteed ClassSelectorController) -> Int, scope 89 // user: %7
- destroy_value %3 : $ClassSelectorController, scope 89 // id: %6
- return %5 : $Int, scope 89 // id: %7
- } // end sil function '_TToFC3gpa23ClassSelectorController18numberOfComponentsfT2inCSo12UIPickerView_Si'
- sil_scope 90 { loc "ClassSelectorController.swift":70:10 parent @_TFC3gpa23ClassSelectorController10pickerViewfTCSo12UIPickerView23numberOfRowsInComponentSi_Si : $@convention(method) (@owned UIPickerView, Int, @guaranteed ClassSelectorController) -> Int }
- sil_scope 91 { loc "ClassSelectorController.swift":72:5 parent 90 }
- // ClassSelectorController.pickerView(UIPickerView, numberOfRowsInComponent : Int) -> Int
- sil hidden @_TFC3gpa23ClassSelectorController10pickerViewfTCSo12UIPickerView23numberOfRowsInComponentSi_Si : $@convention(method) (@owned UIPickerView, Int, @guaranteed ClassSelectorController) -> Int {
- // %0 // users: %14, %3
- // %1 // user: %4
- // %2 // user: %5
- bb0(%0 : $UIPickerView, %1 : $Int, %2 : $ClassSelectorController):
- debug_value %0 : $UIPickerView, let, name "pickerView", argno 1, loc "ClassSelectorController.swift":70:23, scope 90 // id: %3
- debug_value %1 : $Int, let, name "component", argno 2, loc "ClassSelectorController.swift":70:73, scope 90 // id: %4
- debug_value %2 : $ClassSelectorController, let, name "self", argno 3, loc "ClassSelectorController.swift":70:10, scope 90 // id: %5
- %6 = metatype $@thick Information.Type, loc "ClassSelectorController.swift":71:16, scope 91
- // function_ref Information.classesAndGrades.unsafeMutableAddressor
- %7 = function_ref @_TFC3gpa11Informationau16classesAndGradesGSaS0__ : $@convention(thin) () -> Builtin.RawPointer, loc "ClassSelectorController.swift":71:28, scope 91 // user: %8
- %8 = apply %7() : $@convention(thin) () -> Builtin.RawPointer, loc "ClassSelectorController.swift":71:28, scope 91 // user: %9
- %9 = pointer_to_address %8 : $Builtin.RawPointer to [strict] $*Array<Information>, loc "ClassSelectorController.swift":71:28, scope 91 // user: %10
- %10 = load [copy] %9 : $*Array<Information>, loc "ClassSelectorController.swift":71:28, scope 91 // users: %13, %12
- // function_ref Array.count.getter
- %11 = function_ref @_TFSag5countSi : $@convention(method) <τ_0_0> (@guaranteed Array<τ_0_0>) -> Int, loc "ClassSelectorController.swift":71:45, scope 91 // user: %12
- %12 = apply %11<Information>(%10) : $@convention(method) <τ_0_0> (@guaranteed Array<τ_0_0>) -> Int, loc "ClassSelectorController.swift":71:45, scope 91 // user: %15
- destroy_value %10 : $Array<Information>, loc "ClassSelectorController.swift":71:45, scope 91 // id: %13
- destroy_value %0 : $UIPickerView, loc "ClassSelectorController.swift":72:5, scope 91 // id: %14
- return %12 : $Int, loc "ClassSelectorController.swift":71:9, scope 91 // id: %15
- } // end sil function '_TFC3gpa23ClassSelectorController10pickerViewfTCSo12UIPickerView23numberOfRowsInComponentSi_Si'
- // Array.count.getter
- sil @_TFSag5countSi : $@convention(method) <τ_0_0> (@guaranteed Array<τ_0_0>) -> Int
- sil_scope 92 { loc "ClassSelectorController.swift":70:10 parent @_TToFC3gpa23ClassSelectorController10pickerViewfTCSo12UIPickerView23numberOfRowsInComponentSi_Si : $@convention(objc_method) (UIPickerView, Int, ClassSelectorController) -> Int }
- // @objc ClassSelectorController.pickerView(UIPickerView, numberOfRowsInComponent : Int) -> Int
- sil hidden [thunk] @_TToFC3gpa23ClassSelectorController10pickerViewfTCSo12UIPickerView23numberOfRowsInComponentSi_Si : $@convention(objc_method) (UIPickerView, Int, ClassSelectorController) -> Int {
- // %0 // user: %3
- // %1 // user: %6
- // %2 // user: %4
- bb0(%0 : $UIPickerView, %1 : $Int, %2 : $ClassSelectorController):
- %3 = copy_value %0 : $UIPickerView, scope 92 // user: %6
- %4 = copy_value %2 : $ClassSelectorController, scope 92 // users: %7, %6
- // function_ref ClassSelectorController.pickerView(UIPickerView, numberOfRowsInComponent : Int) -> Int
- %5 = function_ref @_TFC3gpa23ClassSelectorController10pickerViewfTCSo12UIPickerView23numberOfRowsInComponentSi_Si : $@convention(method) (@owned UIPickerView, Int, @guaranteed ClassSelectorController) -> Int, scope 92 // user: %6
- %6 = apply %5(%3, %1, %4) : $@convention(method) (@owned UIPickerView, Int, @guaranteed ClassSelectorController) -> Int, scope 92 // user: %8
- destroy_value %4 : $ClassSelectorController, scope 92 // id: %7
- return %6 : $Int, scope 92 // id: %8
- } // end sil function '_TToFC3gpa23ClassSelectorController10pickerViewfTCSo12UIPickerView23numberOfRowsInComponentSi_Si'
- sil_scope 93 { loc "ClassSelectorController.swift":74:10 parent @_TFC3gpa23ClassSelectorController10pickerViewfTCSo12UIPickerView12didSelectRowSi11inComponentSi_T_ : $@convention(method) (@owned UIPickerView, Int, Int, @guaranteed ClassSelectorController) -> () }
- sil_scope 94 { loc "ClassSelectorController.swift":106:5 parent 93 }
- sil_scope 95 { loc "ClassSelectorController.swift":93:9 parent 94 }
- sil_scope 96 { loc "ClassSelectorController.swift":83:40 parent 94 }
- sil_scope 97 { loc "ClassSelectorController.swift":93:9 parent 94 }
- sil_scope 98 { loc "ClassSelectorController.swift":86:40 parent 94 }
- sil_scope 99 { loc "ClassSelectorController.swift":93:9 parent 94 }
- sil_scope 100 { loc "ClassSelectorController.swift":89:40 parent 94 }
- sil_scope 101 { loc "ClassSelectorController.swift":93:9 parent 94 }
- sil_scope 102 { loc "ClassSelectorController.swift":92:93 parent 94 }
- sil_scope 103 { loc "ClassSelectorController.swift":105:9 parent 94 }
- sil_scope 104 { loc "ClassSelectorController.swift":98:37 parent 94 }
- sil_scope 105 { loc "ClassSelectorController.swift":105:9 parent 94 }
- sil_scope 106 { loc "ClassSelectorController.swift":101:37 parent 94 }
- sil_scope 107 { loc "ClassSelectorController.swift":105:9 parent 94 }
- sil_scope 108 { loc "ClassSelectorController.swift":104:87 parent 94 }
- // ClassSelectorController.pickerView(UIPickerView, didSelectRow : Int, inComponent : Int) -> ()
- sil hidden @_TFC3gpa23ClassSelectorController10pickerViewfTCSo12UIPickerView12didSelectRowSi11inComponentSi_T_ : $@convention(method) (@owned UIPickerView, Int, Int, @guaranteed ClassSelectorController) -> () {
- // %0 // users: %811, %4
- // %1 // users: %9, %5
- // %2 // user: %6
- // %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
- bb0(%0 : $UIPickerView, %1 : $Int, %2 : $Int, %3 : $ClassSelectorController):
- debug_value %0 : $UIPickerView, let, name "pickerView", argno 1, loc "ClassSelectorController.swift":74:23, scope 93 // id: %4
- debug_value %1 : $Int, let, name "row", argno 2, loc "ClassSelectorController.swift":74:62, scope 93 // id: %5
- debug_value %2 : $Int, let, name "component", argno 3, loc "ClassSelectorController.swift":74:84, scope 93 // id: %6
- debug_value %3 : $ClassSelectorController, let, name "self", argno 4, loc "ClassSelectorController.swift":74:10, scope 93 // id: %7
- %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
- %9 = apply %8(%1, %3) : $@convention(method) (Int, @guaranteed ClassSelectorController) -> (), loc "ClassSelectorController.swift":75:18, scope 94
- %10 = alloc_stack $Optional<UITextField>, loc "ClassSelectorController.swift":77:9, scope 94 // users: %59, %22, %14, %13
- %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
- %12 = apply %11(%3) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, loc "ClassSelectorController.swift":77:9, scope 94 // user: %13
- store %12 to [init] %10 : $*Optional<UITextField>, loc "ClassSelectorController.swift":77:9, scope 94 // id: %13
- switch_enum_addr %10 : $*Optional<UITextField>, case #Optional.none!enumelt: bb1, default bb2, loc "ClassSelectorController.swift":77:9, scope 94 // id: %14
- bb1: // Preds: bb0
- %15 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":77:9, scope 94 // user: %20
- %16 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":77:9, scope 94 // user: %20
- %17 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":77:9, scope 94 // user: %20
- %18 = integer_literal $Builtin.Word, 77, loc "ClassSelectorController.swift":77:9, scope 94 // user: %20
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %20 = apply %19(%15, %16, %17, %18) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":77:9, scope 94
- unreachable , loc "ClassSelectorController.swift":77:9, scope 94 // id: %21
- bb2: // Preds: bb0
- %22 = unchecked_take_enum_data_addr %10 : $*Optional<UITextField>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":77:9, scope 94 // users: %58, %23
- %23 = load [copy] %22 : $*UITextField, loc "ClassSelectorController.swift":77:9, scope 94 // users: %57, %54, %40
- %24 = metatype $@thick Information.Type, loc "ClassSelectorController.swift":77:31, scope 94
- // function_ref Information.classesAndGrades.unsafeMutableAddressor
- %25 = function_ref @_TFC3gpa11Informationau16classesAndGradesGSaS0__ : $@convention(thin) () -> Builtin.RawPointer, loc "ClassSelectorController.swift":77:43, scope 94 // user: %26
- %26 = apply %25() : $@convention(thin) () -> Builtin.RawPointer, loc "ClassSelectorController.swift":77:43, scope 94 // user: %27
- %27 = pointer_to_address %26 : $Builtin.RawPointer to [strict] $*Array<Information>, loc "ClassSelectorController.swift":77:43, scope 94 // user: %30
- %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
- %29 = apply %28(%3) : $@convention(method) (@guaranteed ClassSelectorController) -> Int, loc "ClassSelectorController.swift":77:60, scope 94 // user: %33
- %30 = load [copy] %27 : $*Array<Information>, loc "ClassSelectorController.swift":77:59, scope 94 // users: %34, %33
- // function_ref Array.subscript.getter
- %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
- %32 = alloc_stack $Information, loc "ClassSelectorController.swift":77:59, scope 94 // users: %56, %35, %33
- %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
- destroy_value %30 : $Array<Information>, loc "ClassSelectorController.swift":77:68, scope 94 // id: %34
- %35 = load [take] %32 : $*Information, loc "ClassSelectorController.swift":77:59, scope 94 // users: %38, %37, %36
- %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
- %37 = apply %36(%35) : $@convention(method) (@guaranteed Information) -> @owned String, loc "ClassSelectorController.swift":77:70, scope 94 // user: %39
- destroy_value %35 : $Information, loc "ClassSelectorController.swift":77:70, scope 94 // id: %38
- %39 = enum $Optional<String>, #Optional.some!enumelt.1, %37 : $String, loc "ClassSelectorController.swift":77:70, scope 94 // users: %45, %43
- %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
- %41 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":77:29, scope 94 // user: %43
- %42 = integer_literal $Builtin.Int1, 0, loc "ClassSelectorController.swift":77:29, scope 94 // user: %43
- %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
- cond_br %43, bb3, bb4, loc "ClassSelectorController.swift":77:29, scope 94 // id: %44
- bb3: // Preds: bb2
- %45 = unchecked_enum_data %39 : $Optional<String>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":77:29, scope 94 // users: %49, %47
- // function_ref String._bridgeToObjectiveC() -> NSString
- %46 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassSelectorController.swift":77:29, scope 94 // user: %47
- %47 = apply %46(%45) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassSelectorController.swift":77:29, scope 94 // user: %48
- %48 = enum $Optional<NSString>, #Optional.some!enumelt.1, %47 : $NSString, loc "ClassSelectorController.swift":77:29, scope 94 // user: %50
- destroy_value %45 : $String, loc "ClassSelectorController.swift":77:70, scope 94 // id: %49
- br bb5(%48 : $Optional<NSString>), loc "ClassSelectorController.swift":77:29, scope 94 // id: %50
- bb4: // Preds: bb2
- %51 = enum $Optional<NSString>, #Optional.none!enumelt, loc "ClassSelectorController.swift":77:29, scope 94 // user: %52
- br bb5(%51 : $Optional<NSString>), loc "ClassSelectorController.swift":77:29, scope 94 // id: %52
- // %53 // users: %55, %54
- bb5(%53 : $Optional<NSString>): // Preds: bb4 bb3
- %54 = apply %40(%53, %23) : $@convention(objc_method) (Optional<NSString>, UITextField) -> (), loc "ClassSelectorController.swift":77:29, scope 94
- destroy_value %53 : $Optional<NSString>, loc "ClassSelectorController.swift":77:70, scope 94 // id: %55
- dealloc_stack %32 : $*Information, loc "ClassSelectorController.swift":77:70, scope 94 // id: %56
- destroy_value %23 : $UITextField, loc "ClassSelectorController.swift":77:70, scope 94 // id: %57
- destroy_addr %22 : $*UITextField, loc "ClassSelectorController.swift":77:70, scope 94 // id: %58
- dealloc_stack %10 : $*Optional<UITextField>, loc "ClassSelectorController.swift":77:70, scope 94 // id: %59
- %60 = alloc_stack $Optional<UITextField>, loc "ClassSelectorController.swift":78:9, scope 94 // users: %146, %72, %64, %63
- %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
- %62 = apply %61(%3) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, loc "ClassSelectorController.swift":78:9, scope 94 // user: %63
- store %62 to [init] %60 : $*Optional<UITextField>, loc "ClassSelectorController.swift":78:9, scope 94 // id: %63
- switch_enum_addr %60 : $*Optional<UITextField>, case #Optional.none!enumelt: bb6, default bb7, loc "ClassSelectorController.swift":78:9, scope 94 // id: %64
- bb6: // Preds: bb5
- %65 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":78:9, scope 94 // user: %70
- %66 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":78:9, scope 94 // user: %70
- %67 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":78:9, scope 94 // user: %70
- %68 = integer_literal $Builtin.Word, 78, loc "ClassSelectorController.swift":78:9, scope 94 // user: %70
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %70 = apply %69(%65, %66, %67, %68) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":78:9, scope 94
- unreachable , loc "ClassSelectorController.swift":78:9, scope 94 // id: %71
- bb7: // Preds: bb5
- %72 = unchecked_take_enum_data_addr %60 : $*Optional<UITextField>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":78:9, scope 94 // users: %145, %73
- %73 = load [copy] %72 : $*UITextField, loc "ClassSelectorController.swift":78:9, scope 94 // users: %144, %141, %127
- // function_ref String.init(stringInterpolation : [String]...) -> String
- %74 = function_ref @_TFSSCft19stringInterpolationGSaSS__SS : $@convention(method) (@owned Array<String>, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":78:34, scope 94 // user: %125
- %75 = metatype $@thin String.Type, loc "ClassSelectorController.swift":78:34, scope 94 // user: %125
- %76 = integer_literal $Builtin.Word, 3, loc "ClassSelectorController.swift":78:34, scope 94 // user: %78
- // function_ref _allocateUninitializedArray<A> (Builtin.Word) -> ([A], Builtin.RawPointer)
- %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
- %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
- %79 = tuple_extract %78 : $(Array<String>, Builtin.RawPointer), 0, loc "ClassSelectorController.swift":78:34, scope 94 // user: %125
- %80 = tuple_extract %78 : $(Array<String>, Builtin.RawPointer), 1, loc "ClassSelectorController.swift":78:34, scope 94 // user: %81
- %81 = pointer_to_address %80 : $Builtin.RawPointer to [strict] $*String, loc "ClassSelectorController.swift":78:34, scope 94 // users: %114, %93, %91
- // function_ref String.init(stringInterpolationSegment : String) -> String
- %82 = function_ref @_TFSSCfT26stringInterpolationSegmentSS_SS : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":78:34, scope 94 // user: %90
- %83 = metatype $@thin String.Type, loc "ClassSelectorController.swift":78:34, scope 94 // user: %90
- %84 = string_literal utf8 "", loc "ClassSelectorController.swift":78:34, scope 94 // user: %89
- %85 = integer_literal $Builtin.Word, 0, loc "ClassSelectorController.swift":78:34, scope 94 // user: %89
- %86 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":78:34, scope 94 // user: %89
- %87 = metatype $@thin String.Type, loc "ClassSelectorController.swift":78:34, scope 94 // user: %89
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- %90 = apply %82(%89, %83) : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":78:34, scope 94 // user: %91
- store %90 to [init] %81 : $*String, loc "ClassSelectorController.swift":78:34, scope 94 // id: %91
- %92 = integer_literal $Builtin.Word, 1, loc "ClassSelectorController.swift":78:81, scope 94 // user: %93
- %93 = index_addr %81 : $*String, %92 : $Builtin.Word, loc "ClassSelectorController.swift":78:81, scope 94 // user: %112
- // function_ref String.init(stringInterpolationSegment : Int) -> String
- %94 = function_ref @_TFSSCfT26stringInterpolationSegmentSi_SS : $@convention(method) (Int, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":78:34, scope 94 // user: %111
- %95 = metatype $@thin String.Type, loc "ClassSelectorController.swift":78:34, scope 94 // user: %111
- %96 = metatype $@thick Information.Type, loc "ClassSelectorController.swift":78:37, scope 94
- // function_ref Information.classesAndGrades.unsafeMutableAddressor
- %97 = function_ref @_TFC3gpa11Informationau16classesAndGradesGSaS0__ : $@convention(thin) () -> Builtin.RawPointer, loc "ClassSelectorController.swift":78:49, scope 94 // user: %98
- %98 = apply %97() : $@convention(thin) () -> Builtin.RawPointer, loc "ClassSelectorController.swift":78:49, scope 94 // user: %99
- %99 = pointer_to_address %98 : $Builtin.RawPointer to [strict] $*Array<Information>, loc "ClassSelectorController.swift":78:49, scope 94 // user: %102
- %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
- %101 = apply %100(%3) : $@convention(method) (@guaranteed ClassSelectorController) -> Int, loc "ClassSelectorController.swift":78:66, scope 94 // user: %105
- %102 = load [copy] %99 : $*Array<Information>, loc "ClassSelectorController.swift":78:65, scope 94 // users: %106, %105
- // function_ref Array.subscript.getter
- %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
- %104 = alloc_stack $Information, loc "ClassSelectorController.swift":78:65, scope 94 // users: %143, %107, %105
- %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
- destroy_value %102 : $Array<Information>, loc "ClassSelectorController.swift":78:74, scope 94 // id: %106
- %107 = load [take] %104 : $*Information, loc "ClassSelectorController.swift":78:65, scope 94 // users: %110, %109, %108
- %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
- %109 = apply %108(%107) : $@convention(method) (@guaranteed Information) -> Int, loc "ClassSelectorController.swift":78:76, scope 94 // user: %111
- destroy_value %107 : $Information, loc "ClassSelectorController.swift":78:81, scope 94 // id: %110
- %111 = apply %94(%109, %95) : $@convention(method) (Int, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":78:81, scope 94 // user: %112
- store %111 to [init] %93 : $*String, loc "ClassSelectorController.swift":78:81, scope 94 // id: %112
- %113 = integer_literal $Builtin.Word, 2, loc "ClassSelectorController.swift":78:82, scope 94 // user: %114
- %114 = index_addr %81 : $*String, %113 : $Builtin.Word, loc "ClassSelectorController.swift":78:82, scope 94 // user: %124
- // function_ref String.init(stringInterpolationSegment : String) -> String
- %115 = function_ref @_TFSSCfT26stringInterpolationSegmentSS_SS : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":78:34, scope 94 // user: %123
- %116 = metatype $@thin String.Type, loc "ClassSelectorController.swift":78:34, scope 94 // user: %123
- %117 = string_literal utf8 "", loc "ClassSelectorController.swift":78:82, scope 94 // user: %122
- %118 = integer_literal $Builtin.Word, 0, loc "ClassSelectorController.swift":78:82, scope 94 // user: %122
- %119 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":78:82, scope 94 // user: %122
- %120 = metatype $@thin String.Type, loc "ClassSelectorController.swift":78:82, scope 94 // user: %122
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- %123 = apply %115(%122, %116) : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":78:82, scope 94 // user: %124
- store %123 to [init] %114 : $*String, loc "ClassSelectorController.swift":78:82, scope 94 // id: %124
- %125 = apply %74(%79, %75) : $@convention(method) (@owned Array<String>, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":78:82, scope 94 // user: %126
- %126 = enum $Optional<String>, #Optional.some!enumelt.1, %125 : $String, loc "ClassSelectorController.swift":78:34, scope 94 // users: %132, %130
- %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
- %128 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":78:32, scope 94 // user: %130
- %129 = integer_literal $Builtin.Int1, 0, loc "ClassSelectorController.swift":78:32, scope 94 // user: %130
- %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
- cond_br %130, bb8, bb9, loc "ClassSelectorController.swift":78:32, scope 94 // id: %131
- bb8: // Preds: bb7
- %132 = unchecked_enum_data %126 : $Optional<String>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":78:32, scope 94 // users: %136, %134
- // function_ref String._bridgeToObjectiveC() -> NSString
- %133 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassSelectorController.swift":78:32, scope 94 // user: %134
- %134 = apply %133(%132) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassSelectorController.swift":78:32, scope 94 // user: %135
- %135 = enum $Optional<NSString>, #Optional.some!enumelt.1, %134 : $NSString, loc "ClassSelectorController.swift":78:32, scope 94 // user: %137
- destroy_value %132 : $String, loc "ClassSelectorController.swift":78:34, scope 94 // id: %136
- br bb10(%135 : $Optional<NSString>), loc "ClassSelectorController.swift":78:32, scope 94 // id: %137
- bb9: // Preds: bb7
- %138 = enum $Optional<NSString>, #Optional.none!enumelt, loc "ClassSelectorController.swift":78:32, scope 94 // user: %139
- br bb10(%138 : $Optional<NSString>), loc "ClassSelectorController.swift":78:32, scope 94 // id: %139
- // %140 // users: %142, %141
- bb10(%140 : $Optional<NSString>): // Preds: bb9 bb8
- %141 = apply %127(%140, %73) : $@convention(objc_method) (Optional<NSString>, UITextField) -> (), loc "ClassSelectorController.swift":78:32, scope 94
- destroy_value %140 : $Optional<NSString>, loc "ClassSelectorController.swift":78:34, scope 94 // id: %142
- dealloc_stack %104 : $*Information, loc "ClassSelectorController.swift":78:34, scope 94 // id: %143
- destroy_value %73 : $UITextField, loc "ClassSelectorController.swift":78:34, scope 94 // id: %144
- destroy_addr %72 : $*UITextField, loc "ClassSelectorController.swift":78:34, scope 94 // id: %145
- dealloc_stack %60 : $*Optional<UITextField>, loc "ClassSelectorController.swift":78:34, scope 94 // id: %146
- %147 = metatype $@thick Information.Type, loc "ClassSelectorController.swift":80:16, scope 94
- // function_ref Information.classesAndGrades.unsafeMutableAddressor
- %148 = function_ref @_TFC3gpa11Informationau16classesAndGradesGSaS0__ : $@convention(thin) () -> Builtin.RawPointer, loc "ClassSelectorController.swift":80:28, scope 94 // user: %149
- %149 = apply %148() : $@convention(thin) () -> Builtin.RawPointer, loc "ClassSelectorController.swift":80:28, scope 94 // user: %150
- %150 = pointer_to_address %149 : $Builtin.RawPointer to [strict] $*Array<Information>, loc "ClassSelectorController.swift":80:28, scope 94 // user: %153
- %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
- %152 = apply %151(%3) : $@convention(method) (@guaranteed ClassSelectorController) -> Int, loc "ClassSelectorController.swift":80:45, scope 94 // user: %156
- %153 = load [copy] %150 : $*Array<Information>, loc "ClassSelectorController.swift":80:44, scope 94 // users: %157, %156
- // function_ref Array.subscript.getter
- %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
- %155 = alloc_stack $Information, loc "ClassSelectorController.swift":80:44, scope 94 // users: %408, %342, %260, %178, %158, %156
- %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
- destroy_value %153 : $Array<Information>, loc "ClassSelectorController.swift":80:53, scope 94 // id: %157
- %158 = load [take] %155 : $*Information, loc "ClassSelectorController.swift":80:44, scope 94 // users: %161, %160, %159
- %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
- %160 = apply %159(%158) : $@convention(method) (@guaranteed Information) -> Double, loc "ClassSelectorController.swift":80:55, scope 94 // users: %336, %326, %254, %244, %172, %162
- destroy_value %158 : $Information, loc "ClassSelectorController.swift":80:55, scope 94 // id: %161
- debug_value %160 : $Double, let, name "$match", loc "ClassSelectorController.swift":81:18, scope 95 // id: %162
- // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
- %163 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "ClassSelectorController.swift":81:18, scope 95 // user: %174
- // function_ref ~= infix<A where ...> (A, A) -> Bool
- %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
- // function_ref Double.init(_builtinFloatLiteral : Builtin.Float64) -> Double
- %165 = function_ref @_TFSdCfT20_builtinFloatLiteralBf64__Sd : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "ClassSelectorController.swift":81:18, scope 95 // user: %168
- %166 = metatype $@thin Double.Type, loc "ClassSelectorController.swift":81:18, scope 95 // user: %168
- %167 = float_literal $Builtin.FPIEEE64, 0x3FF0000000000000 // 1, loc "ClassSelectorController.swift":81:18, scope 95 // user: %168
- %168 = apply %165(%167, %166) : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "ClassSelectorController.swift":81:18, scope 95 // user: %170
- %169 = alloc_stack $Double, loc "ClassSelectorController.swift":81:18, scope 95 // users: %176, %173, %170
- store %168 to [trivial] %169 : $*Double, loc "ClassSelectorController.swift":81:18, scope 95 // id: %170
- %171 = alloc_stack $Double, loc "ClassSelectorController.swift":81:18, scope 95 // users: %175, %173, %172
- store %160 to [trivial] %171 : $*Double, loc "ClassSelectorController.swift":81:18, scope 95 // id: %172
- %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
- %174 = apply %163(%173) : $@convention(method) (Bool) -> Builtin.Int1, loc "ClassSelectorController.swift":81:18, scope 95 // user: %177
- dealloc_stack %171 : $*Double, loc "ClassSelectorController.swift":81:18, scope 95 // id: %175
- dealloc_stack %169 : $*Double, loc "ClassSelectorController.swift":81:18, scope 95 // id: %176
- cond_br %174, bb11, bb19, loc "ClassSelectorController.swift":81:18, scope 95 // id: %177
- bb11: // Preds: bb10
- dealloc_stack %155 : $*Information, loc "ClassSelectorController.swift":93:9, scope 95 // id: %178
- %179 = alloc_stack $Optional<UISegmentedControl>, loc "ClassSelectorController.swift":82:17, scope 96 // users: %201, %191, %183, %182
- %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
- %181 = apply %180(%3) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UISegmentedControl>, loc "ClassSelectorController.swift":82:17, scope 96 // user: %182
- store %181 to [init] %179 : $*Optional<UISegmentedControl>, loc "ClassSelectorController.swift":82:17, scope 96 // id: %182
- switch_enum_addr %179 : $*Optional<UISegmentedControl>, case #Optional.none!enumelt: bb12, default bb13, loc "ClassSelectorController.swift":82:17, scope 96 // id: %183
- bb12: // Preds: bb11
- %184 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":82:17, scope 96 // user: %189
- %185 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":82:17, scope 96 // user: %189
- %186 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":82:17, scope 96 // user: %189
- %187 = integer_literal $Builtin.Word, 82, loc "ClassSelectorController.swift":82:17, scope 96 // user: %189
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %189 = apply %188(%184, %185, %186, %187) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":82:17, scope 96
- unreachable , loc "ClassSelectorController.swift":82:17, scope 96 // id: %190
- bb13: // Preds: bb11
- %191 = unchecked_take_enum_data_addr %179 : $*Optional<UISegmentedControl>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":82:17, scope 96 // users: %200, %192
- %192 = load [copy] %191 : $*UISegmentedControl, loc "ClassSelectorController.swift":82:17, scope 96 // users: %199, %198, %197
- // function_ref Int.init(_builtinIntegerLiteral : Builtin.Int2048) -> Int
- %193 = function_ref @_TFSiCfT22_builtinIntegerLiteralBi2048__Si : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":82:54, scope 96 // user: %196
- %194 = metatype $@thin Int.Type, loc "ClassSelectorController.swift":82:54, scope 96 // user: %196
- %195 = integer_literal $Builtin.Int2048, 0, loc "ClassSelectorController.swift":82:54, scope 96 // user: %196
- %196 = apply %193(%195, %194) : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":82:54, scope 96 // user: %198
- %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
- %198 = apply %197(%196, %192) : $@convention(objc_method) (Int, UISegmentedControl) -> (), loc "ClassSelectorController.swift":82:52, scope 96
- destroy_value %192 : $UISegmentedControl, loc "ClassSelectorController.swift":82:54, scope 96 // id: %199
- destroy_addr %191 : $*UISegmentedControl, loc "ClassSelectorController.swift":82:54, scope 96 // id: %200
- dealloc_stack %179 : $*Optional<UISegmentedControl>, loc "ClassSelectorController.swift":82:54, scope 96 // id: %201
- %202 = alloc_stack $Optional<UITextField>, loc "ClassSelectorController.swift":83:17, scope 96 // users: %241, %214, %206, %205
- %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
- %204 = apply %203(%3) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, loc "ClassSelectorController.swift":83:17, scope 96 // user: %205
- store %204 to [init] %202 : $*Optional<UITextField>, loc "ClassSelectorController.swift":83:17, scope 96 // id: %205
- switch_enum_addr %202 : $*Optional<UITextField>, case #Optional.none!enumelt: bb14, default bb15, loc "ClassSelectorController.swift":83:17, scope 96 // id: %206
- bb14: // Preds: bb13
- %207 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":83:17, scope 96 // user: %212
- %208 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":83:17, scope 96 // user: %212
- %209 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":83:17, scope 96 // user: %212
- %210 = integer_literal $Builtin.Word, 83, loc "ClassSelectorController.swift":83:17, scope 96 // user: %212
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %212 = apply %211(%207, %208, %209, %210) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":83:17, scope 96
- unreachable , loc "ClassSelectorController.swift":83:17, scope 96 // id: %213
- bb15: // Preds: bb13
- %214 = unchecked_take_enum_data_addr %202 : $*Optional<UITextField>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":83:17, scope 96 // users: %240, %215
- %215 = load [copy] %214 : $*UITextField, loc "ClassSelectorController.swift":83:17, scope 96 // users: %239, %237, %223
- %216 = string_literal utf8 "", loc "ClassSelectorController.swift":83:40, scope 96 // user: %221
- %217 = integer_literal $Builtin.Word, 0, loc "ClassSelectorController.swift":83:40, scope 96 // user: %221
- %218 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":83:40, scope 96 // user: %221
- %219 = metatype $@thin String.Type, loc "ClassSelectorController.swift":83:40, scope 96 // user: %221
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- %222 = enum $Optional<String>, #Optional.some!enumelt.1, %221 : $String, loc "ClassSelectorController.swift":83:40, scope 96 // users: %228, %226
- %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
- %224 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":83:38, scope 96 // user: %226
- %225 = integer_literal $Builtin.Int1, 0, loc "ClassSelectorController.swift":83:38, scope 96 // user: %226
- %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
- cond_br %226, bb16, bb17, loc "ClassSelectorController.swift":83:38, scope 96 // id: %227
- bb16: // Preds: bb15
- %228 = unchecked_enum_data %222 : $Optional<String>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":83:38, scope 96 // users: %232, %230
- // function_ref String._bridgeToObjectiveC() -> NSString
- %229 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassSelectorController.swift":83:38, scope 96 // user: %230
- %230 = apply %229(%228) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassSelectorController.swift":83:38, scope 96 // user: %231
- %231 = enum $Optional<NSString>, #Optional.some!enumelt.1, %230 : $NSString, loc "ClassSelectorController.swift":83:38, scope 96 // user: %233
- destroy_value %228 : $String, loc "ClassSelectorController.swift":83:40, scope 96 // id: %232
- br bb18(%231 : $Optional<NSString>), loc "ClassSelectorController.swift":83:38, scope 96 // id: %233
- bb17: // Preds: bb15
- %234 = enum $Optional<NSString>, #Optional.none!enumelt, loc "ClassSelectorController.swift":83:38, scope 96 // user: %235
- br bb18(%234 : $Optional<NSString>), loc "ClassSelectorController.swift":83:38, scope 96 // id: %235
- // %236 // users: %238, %237
- bb18(%236 : $Optional<NSString>): // Preds: bb17 bb16
- %237 = apply %223(%236, %215) : $@convention(objc_method) (Optional<NSString>, UITextField) -> (), loc "ClassSelectorController.swift":83:38, scope 96
- destroy_value %236 : $Optional<NSString>, loc "ClassSelectorController.swift":83:40, scope 96 // id: %238
- destroy_value %215 : $UITextField, loc "ClassSelectorController.swift":83:40, scope 96 // id: %239
- destroy_addr %214 : $*UITextField, loc "ClassSelectorController.swift":83:40, scope 96 // id: %240
- dealloc_stack %202 : $*Optional<UITextField>, loc "ClassSelectorController.swift":83:40, scope 96 // id: %241
- br bb48, loc "ClassSelectorController.swift":83:40, scope 94 // id: %242
- bb19: // Preds: bb10
- br bb20, loc "ClassSelectorController.swift":81:18, scope 95 // id: %243
- bb20: // Preds: bb19
- debug_value %160 : $Double, let, name "$match", loc "ClassSelectorController.swift":84:18, scope 97 // id: %244
- // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
- %245 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "ClassSelectorController.swift":84:18, scope 97 // user: %256
- // function_ref ~= infix<A where ...> (A, A) -> Bool
- %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
- // function_ref Double.init(_builtinFloatLiteral : Builtin.Float64) -> Double
- %247 = function_ref @_TFSdCfT20_builtinFloatLiteralBf64__Sd : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "ClassSelectorController.swift":84:18, scope 97 // user: %250
- %248 = metatype $@thin Double.Type, loc "ClassSelectorController.swift":84:18, scope 97 // user: %250
- %249 = float_literal $Builtin.FPIEEE64, 0x3FF199999999999A // 1.1000000000000001, loc "ClassSelectorController.swift":84:18, scope 97 // user: %250
- %250 = apply %247(%249, %248) : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "ClassSelectorController.swift":84:18, scope 97 // user: %252
- %251 = alloc_stack $Double, loc "ClassSelectorController.swift":84:18, scope 97 // users: %258, %255, %252
- store %250 to [trivial] %251 : $*Double, loc "ClassSelectorController.swift":84:18, scope 97 // id: %252
- %253 = alloc_stack $Double, loc "ClassSelectorController.swift":84:18, scope 97 // users: %257, %255, %254
- store %160 to [trivial] %253 : $*Double, loc "ClassSelectorController.swift":84:18, scope 97 // id: %254
- %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
- %256 = apply %245(%255) : $@convention(method) (Bool) -> Builtin.Int1, loc "ClassSelectorController.swift":84:18, scope 97 // user: %259
- dealloc_stack %253 : $*Double, loc "ClassSelectorController.swift":84:18, scope 97 // id: %257
- dealloc_stack %251 : $*Double, loc "ClassSelectorController.swift":84:18, scope 97 // id: %258
- cond_br %256, bb21, bb29, loc "ClassSelectorController.swift":84:18, scope 97 // id: %259
- bb21: // Preds: bb20
- dealloc_stack %155 : $*Information, loc "ClassSelectorController.swift":93:9, scope 97 // id: %260
- %261 = alloc_stack $Optional<UISegmentedControl>, loc "ClassSelectorController.swift":85:17, scope 98 // users: %283, %273, %265, %264
- %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
- %263 = apply %262(%3) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UISegmentedControl>, loc "ClassSelectorController.swift":85:17, scope 98 // user: %264
- store %263 to [init] %261 : $*Optional<UISegmentedControl>, loc "ClassSelectorController.swift":85:17, scope 98 // id: %264
- switch_enum_addr %261 : $*Optional<UISegmentedControl>, case #Optional.none!enumelt: bb22, default bb23, loc "ClassSelectorController.swift":85:17, scope 98 // id: %265
- bb22: // Preds: bb21
- %266 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":85:17, scope 98 // user: %271
- %267 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":85:17, scope 98 // user: %271
- %268 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":85:17, scope 98 // user: %271
- %269 = integer_literal $Builtin.Word, 85, loc "ClassSelectorController.swift":85:17, scope 98 // user: %271
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %271 = apply %270(%266, %267, %268, %269) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":85:17, scope 98
- unreachable , loc "ClassSelectorController.swift":85:17, scope 98 // id: %272
- bb23: // Preds: bb21
- %273 = unchecked_take_enum_data_addr %261 : $*Optional<UISegmentedControl>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":85:17, scope 98 // users: %282, %274
- %274 = load [copy] %273 : $*UISegmentedControl, loc "ClassSelectorController.swift":85:17, scope 98 // users: %281, %280, %279
- // function_ref Int.init(_builtinIntegerLiteral : Builtin.Int2048) -> Int
- %275 = function_ref @_TFSiCfT22_builtinIntegerLiteralBi2048__Si : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":85:54, scope 98 // user: %278
- %276 = metatype $@thin Int.Type, loc "ClassSelectorController.swift":85:54, scope 98 // user: %278
- %277 = integer_literal $Builtin.Int2048, 1, loc "ClassSelectorController.swift":85:54, scope 98 // user: %278
- %278 = apply %275(%277, %276) : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":85:54, scope 98 // user: %280
- %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
- %280 = apply %279(%278, %274) : $@convention(objc_method) (Int, UISegmentedControl) -> (), loc "ClassSelectorController.swift":85:52, scope 98
- destroy_value %274 : $UISegmentedControl, loc "ClassSelectorController.swift":85:54, scope 98 // id: %281
- destroy_addr %273 : $*UISegmentedControl, loc "ClassSelectorController.swift":85:54, scope 98 // id: %282
- dealloc_stack %261 : $*Optional<UISegmentedControl>, loc "ClassSelectorController.swift":85:54, scope 98 // id: %283
- %284 = alloc_stack $Optional<UITextField>, loc "ClassSelectorController.swift":86:17, scope 98 // users: %323, %296, %288, %287
- %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
- %286 = apply %285(%3) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, loc "ClassSelectorController.swift":86:17, scope 98 // user: %287
- store %286 to [init] %284 : $*Optional<UITextField>, loc "ClassSelectorController.swift":86:17, scope 98 // id: %287
- switch_enum_addr %284 : $*Optional<UITextField>, case #Optional.none!enumelt: bb24, default bb25, loc "ClassSelectorController.swift":86:17, scope 98 // id: %288
- bb24: // Preds: bb23
- %289 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":86:17, scope 98 // user: %294
- %290 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":86:17, scope 98 // user: %294
- %291 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":86:17, scope 98 // user: %294
- %292 = integer_literal $Builtin.Word, 86, loc "ClassSelectorController.swift":86:17, scope 98 // user: %294
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %294 = apply %293(%289, %290, %291, %292) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":86:17, scope 98
- unreachable , loc "ClassSelectorController.swift":86:17, scope 98 // id: %295
- bb25: // Preds: bb23
- %296 = unchecked_take_enum_data_addr %284 : $*Optional<UITextField>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":86:17, scope 98 // users: %322, %297
- %297 = load [copy] %296 : $*UITextField, loc "ClassSelectorController.swift":86:17, scope 98 // users: %321, %319, %305
- %298 = string_literal utf8 "", loc "ClassSelectorController.swift":86:40, scope 98 // user: %303
- %299 = integer_literal $Builtin.Word, 0, loc "ClassSelectorController.swift":86:40, scope 98 // user: %303
- %300 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":86:40, scope 98 // user: %303
- %301 = metatype $@thin String.Type, loc "ClassSelectorController.swift":86:40, scope 98 // user: %303
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- %304 = enum $Optional<String>, #Optional.some!enumelt.1, %303 : $String, loc "ClassSelectorController.swift":86:40, scope 98 // users: %310, %308
- %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
- %306 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":86:38, scope 98 // user: %308
- %307 = integer_literal $Builtin.Int1, 0, loc "ClassSelectorController.swift":86:38, scope 98 // user: %308
- %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
- cond_br %308, bb26, bb27, loc "ClassSelectorController.swift":86:38, scope 98 // id: %309
- bb26: // Preds: bb25
- %310 = unchecked_enum_data %304 : $Optional<String>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":86:38, scope 98 // users: %314, %312
- // function_ref String._bridgeToObjectiveC() -> NSString
- %311 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassSelectorController.swift":86:38, scope 98 // user: %312
- %312 = apply %311(%310) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassSelectorController.swift":86:38, scope 98 // user: %313
- %313 = enum $Optional<NSString>, #Optional.some!enumelt.1, %312 : $NSString, loc "ClassSelectorController.swift":86:38, scope 98 // user: %315
- destroy_value %310 : $String, loc "ClassSelectorController.swift":86:40, scope 98 // id: %314
- br bb28(%313 : $Optional<NSString>), loc "ClassSelectorController.swift":86:38, scope 98 // id: %315
- bb27: // Preds: bb25
- %316 = enum $Optional<NSString>, #Optional.none!enumelt, loc "ClassSelectorController.swift":86:38, scope 98 // user: %317
- br bb28(%316 : $Optional<NSString>), loc "ClassSelectorController.swift":86:38, scope 98 // id: %317
- // %318 // users: %320, %319
- bb28(%318 : $Optional<NSString>): // Preds: bb27 bb26
- %319 = apply %305(%318, %297) : $@convention(objc_method) (Optional<NSString>, UITextField) -> (), loc "ClassSelectorController.swift":86:38, scope 98
- destroy_value %318 : $Optional<NSString>, loc "ClassSelectorController.swift":86:40, scope 98 // id: %320
- destroy_value %297 : $UITextField, loc "ClassSelectorController.swift":86:40, scope 98 // id: %321
- destroy_addr %296 : $*UITextField, loc "ClassSelectorController.swift":86:40, scope 98 // id: %322
- dealloc_stack %284 : $*Optional<UITextField>, loc "ClassSelectorController.swift":86:40, scope 98 // id: %323
- br bb48, loc "ClassSelectorController.swift":86:40, scope 94 // id: %324
- bb29: // Preds: bb20
- br bb30, loc "ClassSelectorController.swift":84:18, scope 97 // id: %325
- bb30: // Preds: bb29
- debug_value %160 : $Double, let, name "$match", loc "ClassSelectorController.swift":87:18, scope 99 // id: %326
- // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
- %327 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "ClassSelectorController.swift":87:18, scope 99 // user: %338
- // function_ref ~= infix<A where ...> (A, A) -> Bool
- %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
- // function_ref Double.init(_builtinFloatLiteral : Builtin.Float64) -> Double
- %329 = function_ref @_TFSdCfT20_builtinFloatLiteralBf64__Sd : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "ClassSelectorController.swift":87:18, scope 99 // user: %332
- %330 = metatype $@thin Double.Type, loc "ClassSelectorController.swift":87:18, scope 99 // user: %332
- %331 = float_literal $Builtin.FPIEEE64, 0x3FF3333333333333 // 1.2, loc "ClassSelectorController.swift":87:18, scope 99 // user: %332
- %332 = apply %329(%331, %330) : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "ClassSelectorController.swift":87:18, scope 99 // user: %334
- %333 = alloc_stack $Double, loc "ClassSelectorController.swift":87:18, scope 99 // users: %340, %337, %334
- store %332 to [trivial] %333 : $*Double, loc "ClassSelectorController.swift":87:18, scope 99 // id: %334
- %335 = alloc_stack $Double, loc "ClassSelectorController.swift":87:18, scope 99 // users: %339, %337, %336
- store %160 to [trivial] %335 : $*Double, loc "ClassSelectorController.swift":87:18, scope 99 // id: %336
- %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
- %338 = apply %327(%337) : $@convention(method) (Bool) -> Builtin.Int1, loc "ClassSelectorController.swift":87:18, scope 99 // user: %341
- dealloc_stack %335 : $*Double, loc "ClassSelectorController.swift":87:18, scope 99 // id: %339
- dealloc_stack %333 : $*Double, loc "ClassSelectorController.swift":87:18, scope 99 // id: %340
- cond_br %338, bb31, bb39, loc "ClassSelectorController.swift":87:18, scope 99 // id: %341
- bb31: // Preds: bb30
- dealloc_stack %155 : $*Information, loc "ClassSelectorController.swift":93:9, scope 99 // id: %342
- %343 = alloc_stack $Optional<UISegmentedControl>, loc "ClassSelectorController.swift":88:17, scope 100 // users: %365, %355, %347, %346
- %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
- %345 = apply %344(%3) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UISegmentedControl>, loc "ClassSelectorController.swift":88:17, scope 100 // user: %346
- store %345 to [init] %343 : $*Optional<UISegmentedControl>, loc "ClassSelectorController.swift":88:17, scope 100 // id: %346
- switch_enum_addr %343 : $*Optional<UISegmentedControl>, case #Optional.none!enumelt: bb32, default bb33, loc "ClassSelectorController.swift":88:17, scope 100 // id: %347
- bb32: // Preds: bb31
- %348 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":88:17, scope 100 // user: %353
- %349 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":88:17, scope 100 // user: %353
- %350 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":88:17, scope 100 // user: %353
- %351 = integer_literal $Builtin.Word, 88, loc "ClassSelectorController.swift":88:17, scope 100 // user: %353
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %353 = apply %352(%348, %349, %350, %351) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":88:17, scope 100
- unreachable , loc "ClassSelectorController.swift":88:17, scope 100 // id: %354
- bb33: // Preds: bb31
- %355 = unchecked_take_enum_data_addr %343 : $*Optional<UISegmentedControl>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":88:17, scope 100 // users: %364, %356
- %356 = load [copy] %355 : $*UISegmentedControl, loc "ClassSelectorController.swift":88:17, scope 100 // users: %363, %362, %361
- // function_ref Int.init(_builtinIntegerLiteral : Builtin.Int2048) -> Int
- %357 = function_ref @_TFSiCfT22_builtinIntegerLiteralBi2048__Si : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":88:54, scope 100 // user: %360
- %358 = metatype $@thin Int.Type, loc "ClassSelectorController.swift":88:54, scope 100 // user: %360
- %359 = integer_literal $Builtin.Int2048, 2, loc "ClassSelectorController.swift":88:54, scope 100 // user: %360
- %360 = apply %357(%359, %358) : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":88:54, scope 100 // user: %362
- %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
- %362 = apply %361(%360, %356) : $@convention(objc_method) (Int, UISegmentedControl) -> (), loc "ClassSelectorController.swift":88:52, scope 100
- destroy_value %356 : $UISegmentedControl, loc "ClassSelectorController.swift":88:54, scope 100 // id: %363
- destroy_addr %355 : $*UISegmentedControl, loc "ClassSelectorController.swift":88:54, scope 100 // id: %364
- dealloc_stack %343 : $*Optional<UISegmentedControl>, loc "ClassSelectorController.swift":88:54, scope 100 // id: %365
- %366 = alloc_stack $Optional<UITextField>, loc "ClassSelectorController.swift":89:17, scope 100 // users: %405, %378, %370, %369
- %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
- %368 = apply %367(%3) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, loc "ClassSelectorController.swift":89:17, scope 100 // user: %369
- store %368 to [init] %366 : $*Optional<UITextField>, loc "ClassSelectorController.swift":89:17, scope 100 // id: %369
- switch_enum_addr %366 : $*Optional<UITextField>, case #Optional.none!enumelt: bb34, default bb35, loc "ClassSelectorController.swift":89:17, scope 100 // id: %370
- bb34: // Preds: bb33
- %371 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":89:17, scope 100 // user: %376
- %372 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":89:17, scope 100 // user: %376
- %373 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":89:17, scope 100 // user: %376
- %374 = integer_literal $Builtin.Word, 89, loc "ClassSelectorController.swift":89:17, scope 100 // user: %376
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %376 = apply %375(%371, %372, %373, %374) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":89:17, scope 100
- unreachable , loc "ClassSelectorController.swift":89:17, scope 100 // id: %377
- bb35: // Preds: bb33
- %378 = unchecked_take_enum_data_addr %366 : $*Optional<UITextField>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":89:17, scope 100 // users: %404, %379
- %379 = load [copy] %378 : $*UITextField, loc "ClassSelectorController.swift":89:17, scope 100 // users: %403, %401, %387
- %380 = string_literal utf8 "", loc "ClassSelectorController.swift":89:40, scope 100 // user: %385
- %381 = integer_literal $Builtin.Word, 0, loc "ClassSelectorController.swift":89:40, scope 100 // user: %385
- %382 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":89:40, scope 100 // user: %385
- %383 = metatype $@thin String.Type, loc "ClassSelectorController.swift":89:40, scope 100 // user: %385
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- %386 = enum $Optional<String>, #Optional.some!enumelt.1, %385 : $String, loc "ClassSelectorController.swift":89:40, scope 100 // users: %392, %390
- %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
- %388 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":89:38, scope 100 // user: %390
- %389 = integer_literal $Builtin.Int1, 0, loc "ClassSelectorController.swift":89:38, scope 100 // user: %390
- %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
- cond_br %390, bb36, bb37, loc "ClassSelectorController.swift":89:38, scope 100 // id: %391
- bb36: // Preds: bb35
- %392 = unchecked_enum_data %386 : $Optional<String>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":89:38, scope 100 // users: %396, %394
- // function_ref String._bridgeToObjectiveC() -> NSString
- %393 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassSelectorController.swift":89:38, scope 100 // user: %394
- %394 = apply %393(%392) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassSelectorController.swift":89:38, scope 100 // user: %395
- %395 = enum $Optional<NSString>, #Optional.some!enumelt.1, %394 : $NSString, loc "ClassSelectorController.swift":89:38, scope 100 // user: %397
- destroy_value %392 : $String, loc "ClassSelectorController.swift":89:40, scope 100 // id: %396
- br bb38(%395 : $Optional<NSString>), loc "ClassSelectorController.swift":89:38, scope 100 // id: %397
- bb37: // Preds: bb35
- %398 = enum $Optional<NSString>, #Optional.none!enumelt, loc "ClassSelectorController.swift":89:38, scope 100 // user: %399
- br bb38(%398 : $Optional<NSString>), loc "ClassSelectorController.swift":89:38, scope 100 // id: %399
- // %400 // users: %402, %401
- bb38(%400 : $Optional<NSString>): // Preds: bb37 bb36
- %401 = apply %387(%400, %379) : $@convention(objc_method) (Optional<NSString>, UITextField) -> (), loc "ClassSelectorController.swift":89:38, scope 100
- destroy_value %400 : $Optional<NSString>, loc "ClassSelectorController.swift":89:40, scope 100 // id: %402
- destroy_value %379 : $UITextField, loc "ClassSelectorController.swift":89:40, scope 100 // id: %403
- destroy_addr %378 : $*UITextField, loc "ClassSelectorController.swift":89:40, scope 100 // id: %404
- dealloc_stack %366 : $*Optional<UITextField>, loc "ClassSelectorController.swift":89:40, scope 100 // id: %405
- br bb48, loc "ClassSelectorController.swift":89:40, scope 94 // id: %406
- bb39: // Preds: bb30
- br bb40, loc "ClassSelectorController.swift":87:18, scope 99 // id: %407
- bb40: // Preds: bb39
- dealloc_stack %155 : $*Information, loc "ClassSelectorController.swift":93:9, scope 101 // id: %408
- %409 = alloc_stack $Optional<UISegmentedControl>, loc "ClassSelectorController.swift":91:17, scope 102 // users: %431, %421, %413, %412
- %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
- %411 = apply %410(%3) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UISegmentedControl>, loc "ClassSelectorController.swift":91:17, scope 102 // user: %412
- store %411 to [init] %409 : $*Optional<UISegmentedControl>, loc "ClassSelectorController.swift":91:17, scope 102 // id: %412
- switch_enum_addr %409 : $*Optional<UISegmentedControl>, case #Optional.none!enumelt: bb41, default bb42, loc "ClassSelectorController.swift":91:17, scope 102 // id: %413
- bb41: // Preds: bb40
- %414 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":91:17, scope 102 // user: %419
- %415 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":91:17, scope 102 // user: %419
- %416 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":91:17, scope 102 // user: %419
- %417 = integer_literal $Builtin.Word, 91, loc "ClassSelectorController.swift":91:17, scope 102 // user: %419
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %419 = apply %418(%414, %415, %416, %417) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":91:17, scope 102
- unreachable , loc "ClassSelectorController.swift":91:17, scope 102 // id: %420
- bb42: // Preds: bb40
- %421 = unchecked_take_enum_data_addr %409 : $*Optional<UISegmentedControl>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":91:17, scope 102 // users: %430, %422
- %422 = load [copy] %421 : $*UISegmentedControl, loc "ClassSelectorController.swift":91:17, scope 102 // users: %429, %428, %427
- // function_ref Int.init(_builtinIntegerLiteral : Builtin.Int2048) -> Int
- %423 = function_ref @_TFSiCfT22_builtinIntegerLiteralBi2048__Si : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":91:54, scope 102 // user: %426
- %424 = metatype $@thin Int.Type, loc "ClassSelectorController.swift":91:54, scope 102 // user: %426
- %425 = integer_literal $Builtin.Int2048, 3, loc "ClassSelectorController.swift":91:54, scope 102 // user: %426
- %426 = apply %423(%425, %424) : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":91:54, scope 102 // user: %428
- %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
- %428 = apply %427(%426, %422) : $@convention(objc_method) (Int, UISegmentedControl) -> (), loc "ClassSelectorController.swift":91:52, scope 102
- destroy_value %422 : $UISegmentedControl, loc "ClassSelectorController.swift":91:54, scope 102 // id: %429
- destroy_addr %421 : $*UISegmentedControl, loc "ClassSelectorController.swift":91:54, scope 102 // id: %430
- dealloc_stack %409 : $*Optional<UISegmentedControl>, loc "ClassSelectorController.swift":91:54, scope 102 // id: %431
- %432 = alloc_stack $Optional<UITextField>, loc "ClassSelectorController.swift":92:17, scope 102 // users: %518, %444, %436, %435
- %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
- %434 = apply %433(%3) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, loc "ClassSelectorController.swift":92:17, scope 102 // user: %435
- store %434 to [init] %432 : $*Optional<UITextField>, loc "ClassSelectorController.swift":92:17, scope 102 // id: %435
- switch_enum_addr %432 : $*Optional<UITextField>, case #Optional.none!enumelt: bb43, default bb44, loc "ClassSelectorController.swift":92:17, scope 102 // id: %436
- bb43: // Preds: bb42
- %437 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":92:17, scope 102 // user: %442
- %438 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":92:17, scope 102 // user: %442
- %439 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":92:17, scope 102 // user: %442
- %440 = integer_literal $Builtin.Word, 92, loc "ClassSelectorController.swift":92:17, scope 102 // user: %442
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %442 = apply %441(%437, %438, %439, %440) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":92:17, scope 102
- unreachable , loc "ClassSelectorController.swift":92:17, scope 102 // id: %443
- bb44: // Preds: bb42
- %444 = unchecked_take_enum_data_addr %432 : $*Optional<UITextField>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":92:17, scope 102 // users: %517, %445
- %445 = load [copy] %444 : $*UITextField, loc "ClassSelectorController.swift":92:17, scope 102 // users: %516, %513, %499
- // function_ref String.init(stringInterpolation : [String]...) -> String
- %446 = function_ref @_TFSSCft19stringInterpolationGSaSS__SS : $@convention(method) (@owned Array<String>, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":92:40, scope 102 // user: %497
- %447 = metatype $@thin String.Type, loc "ClassSelectorController.swift":92:40, scope 102 // user: %497
- %448 = integer_literal $Builtin.Word, 3, loc "ClassSelectorController.swift":92:40, scope 102 // user: %450
- // function_ref _allocateUninitializedArray<A> (Builtin.Word) -> ([A], Builtin.RawPointer)
- %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
- %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
- %451 = tuple_extract %450 : $(Array<String>, Builtin.RawPointer), 0, loc "ClassSelectorController.swift":92:40, scope 102 // user: %497
- %452 = tuple_extract %450 : $(Array<String>, Builtin.RawPointer), 1, loc "ClassSelectorController.swift":92:40, scope 102 // user: %453
- %453 = pointer_to_address %452 : $Builtin.RawPointer to [strict] $*String, loc "ClassSelectorController.swift":92:40, scope 102 // users: %486, %465, %463
- // function_ref String.init(stringInterpolationSegment : String) -> String
- %454 = function_ref @_TFSSCfT26stringInterpolationSegmentSS_SS : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":92:40, scope 102 // user: %462
- %455 = metatype $@thin String.Type, loc "ClassSelectorController.swift":92:40, scope 102 // user: %462
- %456 = string_literal utf8 "", loc "ClassSelectorController.swift":92:40, scope 102 // user: %461
- %457 = integer_literal $Builtin.Word, 0, loc "ClassSelectorController.swift":92:40, scope 102 // user: %461
- %458 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":92:40, scope 102 // user: %461
- %459 = metatype $@thin String.Type, loc "ClassSelectorController.swift":92:40, scope 102 // user: %461
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- %462 = apply %454(%461, %455) : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":92:40, scope 102 // user: %463
- store %462 to [init] %453 : $*String, loc "ClassSelectorController.swift":92:40, scope 102 // id: %463
- %464 = integer_literal $Builtin.Word, 1, loc "ClassSelectorController.swift":92:92, scope 102 // user: %465
- %465 = index_addr %453 : $*String, %464 : $Builtin.Word, loc "ClassSelectorController.swift":92:92, scope 102 // user: %484
- // function_ref String.init(stringInterpolationSegment : Double) -> String
- %466 = function_ref @_TFSSCfT26stringInterpolationSegmentSd_SS : $@convention(method) (Double, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":92:40, scope 102 // user: %483
- %467 = metatype $@thin String.Type, loc "ClassSelectorController.swift":92:40, scope 102 // user: %483
- %468 = metatype $@thick Information.Type, loc "ClassSelectorController.swift":92:43, scope 102
- // function_ref Information.classesAndGrades.unsafeMutableAddressor
- %469 = function_ref @_TFC3gpa11Informationau16classesAndGradesGSaS0__ : $@convention(thin) () -> Builtin.RawPointer, loc "ClassSelectorController.swift":92:55, scope 102 // user: %470
- %470 = apply %469() : $@convention(thin) () -> Builtin.RawPointer, loc "ClassSelectorController.swift":92:55, scope 102 // user: %471
- %471 = pointer_to_address %470 : $Builtin.RawPointer to [strict] $*Array<Information>, loc "ClassSelectorController.swift":92:55, scope 102 // user: %474
- %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
- %473 = apply %472(%3) : $@convention(method) (@guaranteed ClassSelectorController) -> Int, loc "ClassSelectorController.swift":92:72, scope 102 // user: %477
- %474 = load [copy] %471 : $*Array<Information>, loc "ClassSelectorController.swift":92:71, scope 102 // users: %478, %477
- // function_ref Array.subscript.getter
- %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
- %476 = alloc_stack $Information, loc "ClassSelectorController.swift":92:71, scope 102 // users: %515, %479, %477
- %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
- destroy_value %474 : $Array<Information>, loc "ClassSelectorController.swift":92:80, scope 102 // id: %478
- %479 = load [take] %476 : $*Information, loc "ClassSelectorController.swift":92:71, scope 102 // users: %482, %481, %480
- %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
- %481 = apply %480(%479) : $@convention(method) (@guaranteed Information) -> Double, loc "ClassSelectorController.swift":92:82, scope 102 // user: %483
- destroy_value %479 : $Information, loc "ClassSelectorController.swift":92:92, scope 102 // id: %482
- %483 = apply %466(%481, %467) : $@convention(method) (Double, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":92:92, scope 102 // user: %484
- store %483 to [init] %465 : $*String, loc "ClassSelectorController.swift":92:92, scope 102 // id: %484
- %485 = integer_literal $Builtin.Word, 2, loc "ClassSelectorController.swift":92:93, scope 102 // user: %486
- %486 = index_addr %453 : $*String, %485 : $Builtin.Word, loc "ClassSelectorController.swift":92:93, scope 102 // user: %496
- // function_ref String.init(stringInterpolationSegment : String) -> String
- %487 = function_ref @_TFSSCfT26stringInterpolationSegmentSS_SS : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":92:40, scope 102 // user: %495
- %488 = metatype $@thin String.Type, loc "ClassSelectorController.swift":92:40, scope 102 // user: %495
- %489 = string_literal utf8 "", loc "ClassSelectorController.swift":92:93, scope 102 // user: %494
- %490 = integer_literal $Builtin.Word, 0, loc "ClassSelectorController.swift":92:93, scope 102 // user: %494
- %491 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":92:93, scope 102 // user: %494
- %492 = metatype $@thin String.Type, loc "ClassSelectorController.swift":92:93, scope 102 // user: %494
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- %495 = apply %487(%494, %488) : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":92:93, scope 102 // user: %496
- store %495 to [init] %486 : $*String, loc "ClassSelectorController.swift":92:93, scope 102 // id: %496
- %497 = apply %446(%451, %447) : $@convention(method) (@owned Array<String>, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":92:93, scope 102 // user: %498
- %498 = enum $Optional<String>, #Optional.some!enumelt.1, %497 : $String, loc "ClassSelectorController.swift":92:40, scope 102 // users: %504, %502
- %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
- %500 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":92:38, scope 102 // user: %502
- %501 = integer_literal $Builtin.Int1, 0, loc "ClassSelectorController.swift":92:38, scope 102 // user: %502
- %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
- cond_br %502, bb45, bb46, loc "ClassSelectorController.swift":92:38, scope 102 // id: %503
- bb45: // Preds: bb44
- %504 = unchecked_enum_data %498 : $Optional<String>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":92:38, scope 102 // users: %508, %506
- // function_ref String._bridgeToObjectiveC() -> NSString
- %505 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassSelectorController.swift":92:38, scope 102 // user: %506
- %506 = apply %505(%504) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassSelectorController.swift":92:38, scope 102 // user: %507
- %507 = enum $Optional<NSString>, #Optional.some!enumelt.1, %506 : $NSString, loc "ClassSelectorController.swift":92:38, scope 102 // user: %509
- destroy_value %504 : $String, loc "ClassSelectorController.swift":92:40, scope 102 // id: %508
- br bb47(%507 : $Optional<NSString>), loc "ClassSelectorController.swift":92:38, scope 102 // id: %509
- bb46: // Preds: bb44
- %510 = enum $Optional<NSString>, #Optional.none!enumelt, loc "ClassSelectorController.swift":92:38, scope 102 // user: %511
- br bb47(%510 : $Optional<NSString>), loc "ClassSelectorController.swift":92:38, scope 102 // id: %511
- // %512 // users: %514, %513
- bb47(%512 : $Optional<NSString>): // Preds: bb46 bb45
- %513 = apply %499(%512, %445) : $@convention(objc_method) (Optional<NSString>, UITextField) -> (), loc "ClassSelectorController.swift":92:38, scope 102
- destroy_value %512 : $Optional<NSString>, loc "ClassSelectorController.swift":92:40, scope 102 // id: %514
- dealloc_stack %476 : $*Information, loc "ClassSelectorController.swift":92:40, scope 102 // id: %515
- destroy_value %445 : $UITextField, loc "ClassSelectorController.swift":92:40, scope 102 // id: %516
- destroy_addr %444 : $*UITextField, loc "ClassSelectorController.swift":92:40, scope 102 // id: %517
- dealloc_stack %432 : $*Optional<UITextField>, loc "ClassSelectorController.swift":92:40, scope 102 // id: %518
- br bb48, loc "ClassSelectorController.swift":92:93, scope 94 // id: %519
- bb48: // Preds: bb47 bb38 bb28 bb18
- %520 = metatype $@thick Information.Type, loc "ClassSelectorController.swift":95:16, scope 94
- // function_ref Information.classesAndGrades.unsafeMutableAddressor
- %521 = function_ref @_TFC3gpa11Informationau16classesAndGradesGSaS0__ : $@convention(thin) () -> Builtin.RawPointer, loc "ClassSelectorController.swift":95:28, scope 94 // user: %522
- %522 = apply %521() : $@convention(thin) () -> Builtin.RawPointer, loc "ClassSelectorController.swift":95:28, scope 94 // user: %523
- %523 = pointer_to_address %522 : $Builtin.RawPointer to [strict] $*Array<Information>, loc "ClassSelectorController.swift":95:28, scope 94 // user: %526
- %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
- %525 = apply %524(%3) : $@convention(method) (@guaranteed ClassSelectorController) -> Int, loc "ClassSelectorController.swift":95:45, scope 94 // user: %529
- %526 = load [copy] %523 : $*Array<Information>, loc "ClassSelectorController.swift":95:44, scope 94 // users: %530, %529
- // function_ref Array.subscript.getter
- %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
- %528 = alloc_stack $Information, loc "ClassSelectorController.swift":95:44, scope 94 // users: %699, %633, %551, %531, %529
- %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
- destroy_value %526 : $Array<Information>, loc "ClassSelectorController.swift":95:53, scope 94 // id: %530
- %531 = load [take] %528 : $*Information, loc "ClassSelectorController.swift":95:44, scope 94 // users: %534, %533, %532
- %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
- %533 = apply %532(%531) : $@convention(method) (@guaranteed Information) -> Double, loc "ClassSelectorController.swift":95:55, scope 94 // users: %627, %617, %545, %535
- destroy_value %531 : $Information, loc "ClassSelectorController.swift":95:55, scope 94 // id: %534
- debug_value %533 : $Double, let, name "$match", loc "ClassSelectorController.swift":96:18, scope 103 // id: %535
- // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
- %536 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "ClassSelectorController.swift":96:18, scope 103 // user: %547
- // function_ref ~= infix<A where ...> (A, A) -> Bool
- %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
- // function_ref Double.init(_builtinFloatLiteral : Builtin.Float64) -> Double
- %538 = function_ref @_TFSdCfT20_builtinFloatLiteralBf64__Sd : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "ClassSelectorController.swift":96:18, scope 103 // user: %541
- %539 = metatype $@thin Double.Type, loc "ClassSelectorController.swift":96:18, scope 103 // user: %541
- %540 = float_literal $Builtin.FPIEEE64, 0x3FE0000000000000 // 0.5, loc "ClassSelectorController.swift":96:18, scope 103 // user: %541
- %541 = apply %538(%540, %539) : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "ClassSelectorController.swift":96:18, scope 103 // user: %543
- %542 = alloc_stack $Double, loc "ClassSelectorController.swift":96:18, scope 103 // users: %549, %546, %543
- store %541 to [trivial] %542 : $*Double, loc "ClassSelectorController.swift":96:18, scope 103 // id: %543
- %544 = alloc_stack $Double, loc "ClassSelectorController.swift":96:18, scope 103 // users: %548, %546, %545
- store %533 to [trivial] %544 : $*Double, loc "ClassSelectorController.swift":96:18, scope 103 // id: %545
- %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
- %547 = apply %536(%546) : $@convention(method) (Bool) -> Builtin.Int1, loc "ClassSelectorController.swift":96:18, scope 103 // user: %550
- dealloc_stack %544 : $*Double, loc "ClassSelectorController.swift":96:18, scope 103 // id: %548
- dealloc_stack %542 : $*Double, loc "ClassSelectorController.swift":96:18, scope 103 // id: %549
- cond_br %547, bb49, bb57, loc "ClassSelectorController.swift":96:18, scope 103 // id: %550
- bb49: // Preds: bb48
- dealloc_stack %528 : $*Information, loc "ClassSelectorController.swift":105:9, scope 103 // id: %551
- %552 = alloc_stack $Optional<UISegmentedControl>, loc "ClassSelectorController.swift":97:17, scope 104 // users: %574, %564, %556, %555
- %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
- %554 = apply %553(%3) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UISegmentedControl>, loc "ClassSelectorController.swift":97:17, scope 104 // user: %555
- store %554 to [init] %552 : $*Optional<UISegmentedControl>, loc "ClassSelectorController.swift":97:17, scope 104 // id: %555
- switch_enum_addr %552 : $*Optional<UISegmentedControl>, case #Optional.none!enumelt: bb50, default bb51, loc "ClassSelectorController.swift":97:17, scope 104 // id: %556
- bb50: // Preds: bb49
- %557 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":97:17, scope 104 // user: %562
- %558 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":97:17, scope 104 // user: %562
- %559 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":97:17, scope 104 // user: %562
- %560 = integer_literal $Builtin.Word, 97, loc "ClassSelectorController.swift":97:17, scope 104 // user: %562
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %562 = apply %561(%557, %558, %559, %560) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":97:17, scope 104
- unreachable , loc "ClassSelectorController.swift":97:17, scope 104 // id: %563
- bb51: // Preds: bb49
- %564 = unchecked_take_enum_data_addr %552 : $*Optional<UISegmentedControl>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":97:17, scope 104 // users: %573, %565
- %565 = load [copy] %564 : $*UISegmentedControl, loc "ClassSelectorController.swift":97:17, scope 104 // users: %572, %571, %570
- // function_ref Int.init(_builtinIntegerLiteral : Builtin.Int2048) -> Int
- %566 = function_ref @_TFSiCfT22_builtinIntegerLiteralBi2048__Si : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":97:51, scope 104 // user: %569
- %567 = metatype $@thin Int.Type, loc "ClassSelectorController.swift":97:51, scope 104 // user: %569
- %568 = integer_literal $Builtin.Int2048, 0, loc "ClassSelectorController.swift":97:51, scope 104 // user: %569
- %569 = apply %566(%568, %567) : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":97:51, scope 104 // user: %571
- %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
- %571 = apply %570(%569, %565) : $@convention(objc_method) (Int, UISegmentedControl) -> (), loc "ClassSelectorController.swift":97:49, scope 104
- destroy_value %565 : $UISegmentedControl, loc "ClassSelectorController.swift":97:51, scope 104 // id: %572
- destroy_addr %564 : $*UISegmentedControl, loc "ClassSelectorController.swift":97:51, scope 104 // id: %573
- dealloc_stack %552 : $*Optional<UISegmentedControl>, loc "ClassSelectorController.swift":97:51, scope 104 // id: %574
- %575 = alloc_stack $Optional<UITextField>, loc "ClassSelectorController.swift":98:17, scope 104 // users: %614, %587, %579, %578
- %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
- %577 = apply %576(%3) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, loc "ClassSelectorController.swift":98:17, scope 104 // user: %578
- store %577 to [init] %575 : $*Optional<UITextField>, loc "ClassSelectorController.swift":98:17, scope 104 // id: %578
- switch_enum_addr %575 : $*Optional<UITextField>, case #Optional.none!enumelt: bb52, default bb53, loc "ClassSelectorController.swift":98:17, scope 104 // id: %579
- bb52: // Preds: bb51
- %580 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":98:17, scope 104 // user: %585
- %581 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":98:17, scope 104 // user: %585
- %582 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":98:17, scope 104 // user: %585
- %583 = integer_literal $Builtin.Word, 98, loc "ClassSelectorController.swift":98:17, scope 104 // user: %585
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %585 = apply %584(%580, %581, %582, %583) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":98:17, scope 104
- unreachable , loc "ClassSelectorController.swift":98:17, scope 104 // id: %586
- bb53: // Preds: bb51
- %587 = unchecked_take_enum_data_addr %575 : $*Optional<UITextField>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":98:17, scope 104 // users: %613, %588
- %588 = load [copy] %587 : $*UITextField, loc "ClassSelectorController.swift":98:17, scope 104 // users: %612, %610, %596
- %589 = string_literal utf8 "", loc "ClassSelectorController.swift":98:37, scope 104 // user: %594
- %590 = integer_literal $Builtin.Word, 0, loc "ClassSelectorController.swift":98:37, scope 104 // user: %594
- %591 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":98:37, scope 104 // user: %594
- %592 = metatype $@thin String.Type, loc "ClassSelectorController.swift":98:37, scope 104 // user: %594
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- %595 = enum $Optional<String>, #Optional.some!enumelt.1, %594 : $String, loc "ClassSelectorController.swift":98:37, scope 104 // users: %601, %599
- %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
- %597 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":98:35, scope 104 // user: %599
- %598 = integer_literal $Builtin.Int1, 0, loc "ClassSelectorController.swift":98:35, scope 104 // user: %599
- %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
- cond_br %599, bb54, bb55, loc "ClassSelectorController.swift":98:35, scope 104 // id: %600
- bb54: // Preds: bb53
- %601 = unchecked_enum_data %595 : $Optional<String>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":98:35, scope 104 // users: %605, %603
- // function_ref String._bridgeToObjectiveC() -> NSString
- %602 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassSelectorController.swift":98:35, scope 104 // user: %603
- %603 = apply %602(%601) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassSelectorController.swift":98:35, scope 104 // user: %604
- %604 = enum $Optional<NSString>, #Optional.some!enumelt.1, %603 : $NSString, loc "ClassSelectorController.swift":98:35, scope 104 // user: %606
- destroy_value %601 : $String, loc "ClassSelectorController.swift":98:37, scope 104 // id: %605
- br bb56(%604 : $Optional<NSString>), loc "ClassSelectorController.swift":98:35, scope 104 // id: %606
- bb55: // Preds: bb53
- %607 = enum $Optional<NSString>, #Optional.none!enumelt, loc "ClassSelectorController.swift":98:35, scope 104 // user: %608
- br bb56(%607 : $Optional<NSString>), loc "ClassSelectorController.swift":98:35, scope 104 // id: %608
- // %609 // users: %611, %610
- bb56(%609 : $Optional<NSString>): // Preds: bb55 bb54
- %610 = apply %596(%609, %588) : $@convention(objc_method) (Optional<NSString>, UITextField) -> (), loc "ClassSelectorController.swift":98:35, scope 104
- destroy_value %609 : $Optional<NSString>, loc "ClassSelectorController.swift":98:37, scope 104 // id: %611
- destroy_value %588 : $UITextField, loc "ClassSelectorController.swift":98:37, scope 104 // id: %612
- destroy_addr %587 : $*UITextField, loc "ClassSelectorController.swift":98:37, scope 104 // id: %613
- dealloc_stack %575 : $*Optional<UITextField>, loc "ClassSelectorController.swift":98:37, scope 104 // id: %614
- br bb76, loc "ClassSelectorController.swift":98:37, scope 94 // id: %615
- bb57: // Preds: bb48
- br bb58, loc "ClassSelectorController.swift":96:18, scope 103 // id: %616
- bb58: // Preds: bb57
- debug_value %533 : $Double, let, name "$match", loc "ClassSelectorController.swift":99:18, scope 105 // id: %617
- // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
- %618 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "ClassSelectorController.swift":99:18, scope 105 // user: %629
- // function_ref ~= infix<A where ...> (A, A) -> Bool
- %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
- // function_ref Double.init(_builtinFloatLiteral : Builtin.Float64) -> Double
- %620 = function_ref @_TFSdCfT20_builtinFloatLiteralBf64__Sd : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "ClassSelectorController.swift":99:18, scope 105 // user: %623
- %621 = metatype $@thin Double.Type, loc "ClassSelectorController.swift":99:18, scope 105 // user: %623
- %622 = float_literal $Builtin.FPIEEE64, 0x3FF0000000000000 // 1, loc "ClassSelectorController.swift":99:18, scope 105 // user: %623
- %623 = apply %620(%622, %621) : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "ClassSelectorController.swift":99:18, scope 105 // user: %625
- %624 = alloc_stack $Double, loc "ClassSelectorController.swift":99:18, scope 105 // users: %631, %628, %625
- store %623 to [trivial] %624 : $*Double, loc "ClassSelectorController.swift":99:18, scope 105 // id: %625
- %626 = alloc_stack $Double, loc "ClassSelectorController.swift":99:18, scope 105 // users: %630, %628, %627
- store %533 to [trivial] %626 : $*Double, loc "ClassSelectorController.swift":99:18, scope 105 // id: %627
- %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
- %629 = apply %618(%628) : $@convention(method) (Bool) -> Builtin.Int1, loc "ClassSelectorController.swift":99:18, scope 105 // user: %632
- dealloc_stack %626 : $*Double, loc "ClassSelectorController.swift":99:18, scope 105 // id: %630
- dealloc_stack %624 : $*Double, loc "ClassSelectorController.swift":99:18, scope 105 // id: %631
- cond_br %629, bb59, bb67, loc "ClassSelectorController.swift":99:18, scope 105 // id: %632
- bb59: // Preds: bb58
- dealloc_stack %528 : $*Information, loc "ClassSelectorController.swift":105:9, scope 105 // id: %633
- %634 = alloc_stack $Optional<UISegmentedControl>, loc "ClassSelectorController.swift":100:17, scope 106 // users: %656, %646, %638, %637
- %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
- %636 = apply %635(%3) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UISegmentedControl>, loc "ClassSelectorController.swift":100:17, scope 106 // user: %637
- store %636 to [init] %634 : $*Optional<UISegmentedControl>, loc "ClassSelectorController.swift":100:17, scope 106 // id: %637
- switch_enum_addr %634 : $*Optional<UISegmentedControl>, case #Optional.none!enumelt: bb60, default bb61, loc "ClassSelectorController.swift":100:17, scope 106 // id: %638
- bb60: // Preds: bb59
- %639 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":100:17, scope 106 // user: %644
- %640 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":100:17, scope 106 // user: %644
- %641 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":100:17, scope 106 // user: %644
- %642 = integer_literal $Builtin.Word, 100, loc "ClassSelectorController.swift":100:17, scope 106 // user: %644
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %644 = apply %643(%639, %640, %641, %642) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":100:17, scope 106
- unreachable , loc "ClassSelectorController.swift":100:17, scope 106 // id: %645
- bb61: // Preds: bb59
- %646 = unchecked_take_enum_data_addr %634 : $*Optional<UISegmentedControl>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":100:17, scope 106 // users: %655, %647
- %647 = load [copy] %646 : $*UISegmentedControl, loc "ClassSelectorController.swift":100:17, scope 106 // users: %654, %653, %652
- // function_ref Int.init(_builtinIntegerLiteral : Builtin.Int2048) -> Int
- %648 = function_ref @_TFSiCfT22_builtinIntegerLiteralBi2048__Si : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":100:51, scope 106 // user: %651
- %649 = metatype $@thin Int.Type, loc "ClassSelectorController.swift":100:51, scope 106 // user: %651
- %650 = integer_literal $Builtin.Int2048, 1, loc "ClassSelectorController.swift":100:51, scope 106 // user: %651
- %651 = apply %648(%650, %649) : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":100:51, scope 106 // user: %653
- %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
- %653 = apply %652(%651, %647) : $@convention(objc_method) (Int, UISegmentedControl) -> (), loc "ClassSelectorController.swift":100:49, scope 106
- destroy_value %647 : $UISegmentedControl, loc "ClassSelectorController.swift":100:51, scope 106 // id: %654
- destroy_addr %646 : $*UISegmentedControl, loc "ClassSelectorController.swift":100:51, scope 106 // id: %655
- dealloc_stack %634 : $*Optional<UISegmentedControl>, loc "ClassSelectorController.swift":100:51, scope 106 // id: %656
- %657 = alloc_stack $Optional<UITextField>, loc "ClassSelectorController.swift":101:17, scope 106 // users: %696, %669, %661, %660
- %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
- %659 = apply %658(%3) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, loc "ClassSelectorController.swift":101:17, scope 106 // user: %660
- store %659 to [init] %657 : $*Optional<UITextField>, loc "ClassSelectorController.swift":101:17, scope 106 // id: %660
- switch_enum_addr %657 : $*Optional<UITextField>, case #Optional.none!enumelt: bb62, default bb63, loc "ClassSelectorController.swift":101:17, scope 106 // id: %661
- bb62: // Preds: bb61
- %662 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":101:17, scope 106 // user: %667
- %663 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":101:17, scope 106 // user: %667
- %664 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":101:17, scope 106 // user: %667
- %665 = integer_literal $Builtin.Word, 101, loc "ClassSelectorController.swift":101:17, scope 106 // user: %667
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %667 = apply %666(%662, %663, %664, %665) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":101:17, scope 106
- unreachable , loc "ClassSelectorController.swift":101:17, scope 106 // id: %668
- bb63: // Preds: bb61
- %669 = unchecked_take_enum_data_addr %657 : $*Optional<UITextField>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":101:17, scope 106 // users: %695, %670
- %670 = load [copy] %669 : $*UITextField, loc "ClassSelectorController.swift":101:17, scope 106 // users: %694, %692, %678
- %671 = string_literal utf8 "", loc "ClassSelectorController.swift":101:37, scope 106 // user: %676
- %672 = integer_literal $Builtin.Word, 0, loc "ClassSelectorController.swift":101:37, scope 106 // user: %676
- %673 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":101:37, scope 106 // user: %676
- %674 = metatype $@thin String.Type, loc "ClassSelectorController.swift":101:37, scope 106 // user: %676
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- %677 = enum $Optional<String>, #Optional.some!enumelt.1, %676 : $String, loc "ClassSelectorController.swift":101:37, scope 106 // users: %683, %681
- %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
- %679 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":101:35, scope 106 // user: %681
- %680 = integer_literal $Builtin.Int1, 0, loc "ClassSelectorController.swift":101:35, scope 106 // user: %681
- %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
- cond_br %681, bb64, bb65, loc "ClassSelectorController.swift":101:35, scope 106 // id: %682
- bb64: // Preds: bb63
- %683 = unchecked_enum_data %677 : $Optional<String>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":101:35, scope 106 // users: %687, %685
- // function_ref String._bridgeToObjectiveC() -> NSString
- %684 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassSelectorController.swift":101:35, scope 106 // user: %685
- %685 = apply %684(%683) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassSelectorController.swift":101:35, scope 106 // user: %686
- %686 = enum $Optional<NSString>, #Optional.some!enumelt.1, %685 : $NSString, loc "ClassSelectorController.swift":101:35, scope 106 // user: %688
- destroy_value %683 : $String, loc "ClassSelectorController.swift":101:37, scope 106 // id: %687
- br bb66(%686 : $Optional<NSString>), loc "ClassSelectorController.swift":101:35, scope 106 // id: %688
- bb65: // Preds: bb63
- %689 = enum $Optional<NSString>, #Optional.none!enumelt, loc "ClassSelectorController.swift":101:35, scope 106 // user: %690
- br bb66(%689 : $Optional<NSString>), loc "ClassSelectorController.swift":101:35, scope 106 // id: %690
- // %691 // users: %693, %692
- bb66(%691 : $Optional<NSString>): // Preds: bb65 bb64
- %692 = apply %678(%691, %670) : $@convention(objc_method) (Optional<NSString>, UITextField) -> (), loc "ClassSelectorController.swift":101:35, scope 106
- destroy_value %691 : $Optional<NSString>, loc "ClassSelectorController.swift":101:37, scope 106 // id: %693
- destroy_value %670 : $UITextField, loc "ClassSelectorController.swift":101:37, scope 106 // id: %694
- destroy_addr %669 : $*UITextField, loc "ClassSelectorController.swift":101:37, scope 106 // id: %695
- dealloc_stack %657 : $*Optional<UITextField>, loc "ClassSelectorController.swift":101:37, scope 106 // id: %696
- br bb76, loc "ClassSelectorController.swift":101:37, scope 94 // id: %697
- bb67: // Preds: bb58
- br bb68, loc "ClassSelectorController.swift":99:18, scope 105 // id: %698
- bb68: // Preds: bb67
- dealloc_stack %528 : $*Information, loc "ClassSelectorController.swift":105:9, scope 107 // id: %699
- %700 = alloc_stack $Optional<UISegmentedControl>, loc "ClassSelectorController.swift":103:17, scope 108 // users: %722, %712, %704, %703
- %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
- %702 = apply %701(%3) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UISegmentedControl>, loc "ClassSelectorController.swift":103:17, scope 108 // user: %703
- store %702 to [init] %700 : $*Optional<UISegmentedControl>, loc "ClassSelectorController.swift":103:17, scope 108 // id: %703
- switch_enum_addr %700 : $*Optional<UISegmentedControl>, case #Optional.none!enumelt: bb69, default bb70, loc "ClassSelectorController.swift":103:17, scope 108 // id: %704
- bb69: // Preds: bb68
- %705 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":103:17, scope 108 // user: %710
- %706 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":103:17, scope 108 // user: %710
- %707 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":103:17, scope 108 // user: %710
- %708 = integer_literal $Builtin.Word, 103, loc "ClassSelectorController.swift":103:17, scope 108 // user: %710
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %710 = apply %709(%705, %706, %707, %708) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":103:17, scope 108
- unreachable , loc "ClassSelectorController.swift":103:17, scope 108 // id: %711
- bb70: // Preds: bb68
- %712 = unchecked_take_enum_data_addr %700 : $*Optional<UISegmentedControl>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":103:17, scope 108 // users: %721, %713
- %713 = load [copy] %712 : $*UISegmentedControl, loc "ClassSelectorController.swift":103:17, scope 108 // users: %720, %719, %718
- // function_ref Int.init(_builtinIntegerLiteral : Builtin.Int2048) -> Int
- %714 = function_ref @_TFSiCfT22_builtinIntegerLiteralBi2048__Si : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":103:51, scope 108 // user: %717
- %715 = metatype $@thin Int.Type, loc "ClassSelectorController.swift":103:51, scope 108 // user: %717
- %716 = integer_literal $Builtin.Int2048, 2, loc "ClassSelectorController.swift":103:51, scope 108 // user: %717
- %717 = apply %714(%716, %715) : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":103:51, scope 108 // user: %719
- %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
- %719 = apply %718(%717, %713) : $@convention(objc_method) (Int, UISegmentedControl) -> (), loc "ClassSelectorController.swift":103:49, scope 108
- destroy_value %713 : $UISegmentedControl, loc "ClassSelectorController.swift":103:51, scope 108 // id: %720
- destroy_addr %712 : $*UISegmentedControl, loc "ClassSelectorController.swift":103:51, scope 108 // id: %721
- dealloc_stack %700 : $*Optional<UISegmentedControl>, loc "ClassSelectorController.swift":103:51, scope 108 // id: %722
- %723 = alloc_stack $Optional<UITextField>, loc "ClassSelectorController.swift":104:17, scope 108 // users: %809, %735, %727, %726
- %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
- %725 = apply %724(%3) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, loc "ClassSelectorController.swift":104:17, scope 108 // user: %726
- store %725 to [init] %723 : $*Optional<UITextField>, loc "ClassSelectorController.swift":104:17, scope 108 // id: %726
- switch_enum_addr %723 : $*Optional<UITextField>, case #Optional.none!enumelt: bb71, default bb72, loc "ClassSelectorController.swift":104:17, scope 108 // id: %727
- bb71: // Preds: bb70
- %728 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":104:17, scope 108 // user: %733
- %729 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":104:17, scope 108 // user: %733
- %730 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":104:17, scope 108 // user: %733
- %731 = integer_literal $Builtin.Word, 104, loc "ClassSelectorController.swift":104:17, scope 108 // user: %733
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %733 = apply %732(%728, %729, %730, %731) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":104:17, scope 108
- unreachable , loc "ClassSelectorController.swift":104:17, scope 108 // id: %734
- bb72: // Preds: bb70
- %735 = unchecked_take_enum_data_addr %723 : $*Optional<UITextField>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":104:17, scope 108 // users: %808, %736
- %736 = load [copy] %735 : $*UITextField, loc "ClassSelectorController.swift":104:17, scope 108 // users: %807, %804, %790
- // function_ref String.init(stringInterpolation : [String]...) -> String
- %737 = function_ref @_TFSSCft19stringInterpolationGSaSS__SS : $@convention(method) (@owned Array<String>, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":104:37, scope 108 // user: %788
- %738 = metatype $@thin String.Type, loc "ClassSelectorController.swift":104:37, scope 108 // user: %788
- %739 = integer_literal $Builtin.Word, 3, loc "ClassSelectorController.swift":104:37, scope 108 // user: %741
- // function_ref _allocateUninitializedArray<A> (Builtin.Word) -> ([A], Builtin.RawPointer)
- %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
- %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
- %742 = tuple_extract %741 : $(Array<String>, Builtin.RawPointer), 0, loc "ClassSelectorController.swift":104:37, scope 108 // user: %788
- %743 = tuple_extract %741 : $(Array<String>, Builtin.RawPointer), 1, loc "ClassSelectorController.swift":104:37, scope 108 // user: %744
- %744 = pointer_to_address %743 : $Builtin.RawPointer to [strict] $*String, loc "ClassSelectorController.swift":104:37, scope 108 // users: %777, %756, %754
- // function_ref String.init(stringInterpolationSegment : String) -> String
- %745 = function_ref @_TFSSCfT26stringInterpolationSegmentSS_SS : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":104:37, scope 108 // user: %753
- %746 = metatype $@thin String.Type, loc "ClassSelectorController.swift":104:37, scope 108 // user: %753
- %747 = string_literal utf8 "", loc "ClassSelectorController.swift":104:37, scope 108 // user: %752
- %748 = integer_literal $Builtin.Word, 0, loc "ClassSelectorController.swift":104:37, scope 108 // user: %752
- %749 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":104:37, scope 108 // user: %752
- %750 = metatype $@thin String.Type, loc "ClassSelectorController.swift":104:37, scope 108 // user: %752
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- %753 = apply %745(%752, %746) : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":104:37, scope 108 // user: %754
- store %753 to [init] %744 : $*String, loc "ClassSelectorController.swift":104:37, scope 108 // id: %754
- %755 = integer_literal $Builtin.Word, 1, loc "ClassSelectorController.swift":104:86, scope 108 // user: %756
- %756 = index_addr %744 : $*String, %755 : $Builtin.Word, loc "ClassSelectorController.swift":104:86, scope 108 // user: %775
- // function_ref String.init(stringInterpolationSegment : Double) -> String
- %757 = function_ref @_TFSSCfT26stringInterpolationSegmentSd_SS : $@convention(method) (Double, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":104:37, scope 108 // user: %774
- %758 = metatype $@thin String.Type, loc "ClassSelectorController.swift":104:37, scope 108 // user: %774
- %759 = metatype $@thick Information.Type, loc "ClassSelectorController.swift":104:40, scope 108
- // function_ref Information.classesAndGrades.unsafeMutableAddressor
- %760 = function_ref @_TFC3gpa11Informationau16classesAndGradesGSaS0__ : $@convention(thin) () -> Builtin.RawPointer, loc "ClassSelectorController.swift":104:52, scope 108 // user: %761
- %761 = apply %760() : $@convention(thin) () -> Builtin.RawPointer, loc "ClassSelectorController.swift":104:52, scope 108 // user: %762
- %762 = pointer_to_address %761 : $Builtin.RawPointer to [strict] $*Array<Information>, loc "ClassSelectorController.swift":104:52, scope 108 // user: %765
- %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
- %764 = apply %763(%3) : $@convention(method) (@guaranteed ClassSelectorController) -> Int, loc "ClassSelectorController.swift":104:69, scope 108 // user: %768
- %765 = load [copy] %762 : $*Array<Information>, loc "ClassSelectorController.swift":104:68, scope 108 // users: %769, %768
- // function_ref Array.subscript.getter
- %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
- %767 = alloc_stack $Information, loc "ClassSelectorController.swift":104:68, scope 108 // users: %806, %770, %768
- %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
- destroy_value %765 : $Array<Information>, loc "ClassSelectorController.swift":104:77, scope 108 // id: %769
- %770 = load [take] %767 : $*Information, loc "ClassSelectorController.swift":104:68, scope 108 // users: %773, %772, %771
- %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
- %772 = apply %771(%770) : $@convention(method) (@guaranteed Information) -> Double, loc "ClassSelectorController.swift":104:79, scope 108 // user: %774
- destroy_value %770 : $Information, loc "ClassSelectorController.swift":104:86, scope 108 // id: %773
- %774 = apply %757(%772, %758) : $@convention(method) (Double, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":104:86, scope 108 // user: %775
- store %774 to [init] %756 : $*String, loc "ClassSelectorController.swift":104:86, scope 108 // id: %775
- %776 = integer_literal $Builtin.Word, 2, loc "ClassSelectorController.swift":104:87, scope 108 // user: %777
- %777 = index_addr %744 : $*String, %776 : $Builtin.Word, loc "ClassSelectorController.swift":104:87, scope 108 // user: %787
- // function_ref String.init(stringInterpolationSegment : String) -> String
- %778 = function_ref @_TFSSCfT26stringInterpolationSegmentSS_SS : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":104:37, scope 108 // user: %786
- %779 = metatype $@thin String.Type, loc "ClassSelectorController.swift":104:37, scope 108 // user: %786
- %780 = string_literal utf8 "", loc "ClassSelectorController.swift":104:87, scope 108 // user: %785
- %781 = integer_literal $Builtin.Word, 0, loc "ClassSelectorController.swift":104:87, scope 108 // user: %785
- %782 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":104:87, scope 108 // user: %785
- %783 = metatype $@thin String.Type, loc "ClassSelectorController.swift":104:87, scope 108 // user: %785
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- %786 = apply %778(%785, %779) : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":104:87, scope 108 // user: %787
- store %786 to [init] %777 : $*String, loc "ClassSelectorController.swift":104:87, scope 108 // id: %787
- %788 = apply %737(%742, %738) : $@convention(method) (@owned Array<String>, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":104:87, scope 108 // user: %789
- %789 = enum $Optional<String>, #Optional.some!enumelt.1, %788 : $String, loc "ClassSelectorController.swift":104:37, scope 108 // users: %795, %793
- %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
- %791 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":104:35, scope 108 // user: %793
- %792 = integer_literal $Builtin.Int1, 0, loc "ClassSelectorController.swift":104:35, scope 108 // user: %793
- %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
- cond_br %793, bb73, bb74, loc "ClassSelectorController.swift":104:35, scope 108 // id: %794
- bb73: // Preds: bb72
- %795 = unchecked_enum_data %789 : $Optional<String>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":104:35, scope 108 // users: %799, %797
- // function_ref String._bridgeToObjectiveC() -> NSString
- %796 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassSelectorController.swift":104:35, scope 108 // user: %797
- %797 = apply %796(%795) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassSelectorController.swift":104:35, scope 108 // user: %798
- %798 = enum $Optional<NSString>, #Optional.some!enumelt.1, %797 : $NSString, loc "ClassSelectorController.swift":104:35, scope 108 // user: %800
- destroy_value %795 : $String, loc "ClassSelectorController.swift":104:37, scope 108 // id: %799
- br bb75(%798 : $Optional<NSString>), loc "ClassSelectorController.swift":104:35, scope 108 // id: %800
- bb74: // Preds: bb72
- %801 = enum $Optional<NSString>, #Optional.none!enumelt, loc "ClassSelectorController.swift":104:35, scope 108 // user: %802
- br bb75(%801 : $Optional<NSString>), loc "ClassSelectorController.swift":104:35, scope 108 // id: %802
- // %803 // users: %805, %804
- bb75(%803 : $Optional<NSString>): // Preds: bb74 bb73
- %804 = apply %790(%803, %736) : $@convention(objc_method) (Optional<NSString>, UITextField) -> (), loc "ClassSelectorController.swift":104:35, scope 108
- destroy_value %803 : $Optional<NSString>, loc "ClassSelectorController.swift":104:37, scope 108 // id: %805
- dealloc_stack %767 : $*Information, loc "ClassSelectorController.swift":104:37, scope 108 // id: %806
- destroy_value %736 : $UITextField, loc "ClassSelectorController.swift":104:37, scope 108 // id: %807
- destroy_addr %735 : $*UITextField, loc "ClassSelectorController.swift":104:37, scope 108 // id: %808
- dealloc_stack %723 : $*Optional<UITextField>, loc "ClassSelectorController.swift":104:37, scope 108 // id: %809
- br bb76, loc "ClassSelectorController.swift":104:87, scope 94 // id: %810
- bb76: // Preds: bb75 bb66 bb56
- destroy_value %0 : $UIPickerView, loc "ClassSelectorController.swift":106:5, scope 94 // id: %811
- %812 = tuple (), loc "ClassSelectorController.swift":106:5, scope 94 // user: %813
- return %812 : $(), loc "ClassSelectorController.swift":106:5, scope 94 // id: %813
- } // end sil function '_TFC3gpa23ClassSelectorController10pickerViewfTCSo12UIPickerView12didSelectRowSi11inComponentSi_T_'
- // String.init(stringInterpolation : [String]...) -> String
- sil [readonly] @_TFSSCft19stringInterpolationGSaSS__SS : $@convention(method) (@owned Array<String>, @thin String.Type) -> @owned String
- // _allocateUninitializedArray<A> (Builtin.Word) -> ([A], Builtin.RawPointer)
- sil [fragile] [always_inline] @_TFs27_allocateUninitializedArrayurFBwTGSax_Bp_ : $@convention(thin) <τ_0_0> (Builtin.Word) -> (@owned Array<τ_0_0>, Builtin.RawPointer)
- // String.init(stringInterpolationSegment : String) -> String
- sil @_TFSSCfT26stringInterpolationSegmentSS_SS : $@convention(method) (@owned String, @thin String.Type) -> @owned String
- // String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- sil [readonly] [_semantics "string.makeUTF8"] @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String
- // String.init(stringInterpolationSegment : Int) -> String
- sil @_TFSSCfT26stringInterpolationSegmentSi_SS : $@convention(method) (Int, @thin String.Type) -> @owned String
- // Bool._getBuiltinLogicValue() -> Builtin.Int1
- sil [transparent] [fragile] @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1
- // ~= infix<A where ...> (A, A) -> Bool
- sil [transparent] [fragile] @_TFsoi2teuRxs9EquatablerFTxx_Sb : $@convention(thin) <τ_0_0 where τ_0_0 : Equatable> (@in τ_0_0, @in τ_0_0) -> Bool
- // Double.init(_builtinFloatLiteral : Builtin.Float64) -> Double
- sil [transparent] [fragile] @_TFSdCfT20_builtinFloatLiteralBf64__Sd : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double
- // String.init(stringInterpolationSegment : Double) -> String
- sil @_TFSSCfT26stringInterpolationSegmentSd_SS : $@convention(method) (Double, @thin String.Type) -> @owned String
- sil_scope 109 { loc "ClassSelectorController.swift":74:10 parent @_TToFC3gpa23ClassSelectorController10pickerViewfTCSo12UIPickerView12didSelectRowSi11inComponentSi_T_ : $@convention(objc_method) (UIPickerView, Int, Int, ClassSelectorController) -> () }
- // @objc ClassSelectorController.pickerView(UIPickerView, didSelectRow : Int, inComponent : Int) -> ()
- sil hidden [thunk] @_TToFC3gpa23ClassSelectorController10pickerViewfTCSo12UIPickerView12didSelectRowSi11inComponentSi_T_ : $@convention(objc_method) (UIPickerView, Int, Int, ClassSelectorController) -> () {
- // %0 // user: %4
- // %1 // user: %7
- // %2 // user: %7
- // %3 // user: %5
- bb0(%0 : $UIPickerView, %1 : $Int, %2 : $Int, %3 : $ClassSelectorController):
- %4 = copy_value %0 : $UIPickerView, scope 109 // user: %7
- %5 = copy_value %3 : $ClassSelectorController, scope 109 // users: %8, %7
- // function_ref ClassSelectorController.pickerView(UIPickerView, didSelectRow : Int, inComponent : Int) -> ()
- %6 = function_ref @_TFC3gpa23ClassSelectorController10pickerViewfTCSo12UIPickerView12didSelectRowSi11inComponentSi_T_ : $@convention(method) (@owned UIPickerView, Int, Int, @guaranteed ClassSelectorController) -> (), scope 109 // user: %7
- %7 = apply %6(%4, %1, %2, %5) : $@convention(method) (@owned UIPickerView, Int, Int, @guaranteed ClassSelectorController) -> (), scope 109 // user: %9
- destroy_value %5 : $ClassSelectorController, scope 109 // id: %8
- return %7 : $(), scope 109 // id: %9
- } // end sil function '_TToFC3gpa23ClassSelectorController10pickerViewfTCSo12UIPickerView12didSelectRowSi11inComponentSi_T_'
- sil_scope 110 { loc "ClassSelectorController.swift":108:20 parent @_TFC3gpa23ClassSelectorController11updateClassfP_T_ : $@convention(method) (@in Any, @guaranteed ClassSelectorController) -> () }
- sil_scope 111 { loc "ClassSelectorController.swift":199:5 parent 110 }
- sil_scope 112 { loc "ClassSelectorController.swift":140:9 parent 111 }
- sil_scope 113 { loc "ClassSelectorController.swift":121:30 parent 111 }
- sil_scope 114 { loc "ClassSelectorController.swift":140:9 parent 111 }
- sil_scope 115 { loc "ClassSelectorController.swift":123:30 parent 111 }
- sil_scope 116 { loc "ClassSelectorController.swift":140:9 parent 111 }
- sil_scope 117 { loc "ClassSelectorController.swift":125:30 parent 111 }
- sil_scope 118 { loc "ClassSelectorController.swift":140:9 parent 111 }
- sil_scope 119 { loc "ClassSelectorController.swift":139:30 parent 111 }
- sil_scope 120 { loc "ClassSelectorController.swift":138:17 parent 119 }
- sil_scope 121 { loc "ClassSelectorController.swift":131:17 parent 119 }
- sil_scope 122 { loc "ClassSelectorController.swift":176:9 parent 111 }
- sil_scope 123 { loc "ClassSelectorController.swift":159:27 parent 111 }
- sil_scope 124 { loc "ClassSelectorController.swift":176:9 parent 111 }
- sil_scope 125 { loc "ClassSelectorController.swift":161:27 parent 111 }
- sil_scope 126 { loc "ClassSelectorController.swift":176:9 parent 111 }
- sil_scope 127 { loc "ClassSelectorController.swift":175:27 parent 111 }
- sil_scope 128 { loc "ClassSelectorController.swift":174:17 parent 127 }
- sil_scope 129 { loc "ClassSelectorController.swift":167:17 parent 127 }
- sil_scope 130 { loc "ClassSelectorController.swift":152:9 parent 111 }
- sil_scope 131 { loc "ClassSelectorController.swift":147:9 parent 111 }
- sil_scope 132 { loc "ClassSelectorController.swift":114:9 parent 111 }
- // ClassSelectorController.updateClass(Any) -> ()
- sil hidden @_TFC3gpa23ClassSelectorController11updateClassfP_T_ : $@convention(method) (@in Any, @guaranteed ClassSelectorController) -> () {
- // %0 // users: %1120, %2
- // %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
- bb0(%0 : $*Any, %1 : $ClassSelectorController):
- debug_value_addr %0 : $*Any, let, name "sender", argno 1, loc "ClassSelectorController.swift":108:34, scope 110 // id: %2
- debug_value %1 : $ClassSelectorController, let, name "self", argno 2, loc "ClassSelectorController.swift":108:20, scope 110 // id: %3
- %4 = alloc_stack $Optional<UITextField>, loc "ClassSelectorController.swift":110:31, scope 111 // users: %43, %37, %16, %8, %7
- %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
- %6 = apply %5(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, loc "ClassSelectorController.swift":110:31, scope 111 // user: %7
- store %6 to [init] %4 : $*Optional<UITextField>, loc "ClassSelectorController.swift":110:31, scope 111 // id: %7
- switch_enum_addr %4 : $*Optional<UITextField>, case #Optional.none!enumelt: bb1, default bb2, loc "ClassSelectorController.swift":110:31, scope 111 // id: %8
- bb1: // Preds: bb0
- %9 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":110:31, scope 111 // user: %14
- %10 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":110:31, scope 111 // user: %14
- %11 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":110:31, scope 111 // user: %14
- %12 = integer_literal $Builtin.Word, 110, loc "ClassSelectorController.swift":110:31, scope 111 // user: %14
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %14 = apply %13(%9, %10, %11, %12) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":110:31, scope 111
- unreachable , loc "ClassSelectorController.swift":110:31, scope 111 // id: %15
- bb2: // Preds: bb0
- %16 = unchecked_take_enum_data_addr %4 : $*Optional<UITextField>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":110:31, scope 111 // users: %42, %36, %17
- %17 = load [copy] %16 : $*UITextField, loc "ClassSelectorController.swift":110:31, scope 111 // users: %41, %35, %19, %18
- %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
- %19 = apply %18(%17) : $@convention(objc_method) (UITextField) -> @autoreleased Optional<NSString>, loc "ClassSelectorController.swift":110:46, scope 111 // users: %24, %22
- %20 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":110:46, scope 111 // user: %22
- %21 = integer_literal $Builtin.Int1, 0, loc "ClassSelectorController.swift":110:46, scope 111 // user: %22
- %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
- cond_br %22, bb3, bb4, loc "ClassSelectorController.swift":110:46, scope 111 // id: %23
- bb3: // Preds: bb2
- %24 = unchecked_enum_data %19 : $Optional<NSString>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":110:46, scope 111 // user: %26
- // function_ref static String._unconditionallyBridgeFromObjectiveC(NSString?) -> String
- %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
- %26 = enum $Optional<NSString>, #Optional.some!enumelt.1, %24 : $NSString, loc "ClassSelectorController.swift":110:46, scope 111 // user: %28
- %27 = metatype $@thin String.Type, loc "ClassSelectorController.swift":110:46, scope 111 // user: %28
- %28 = apply %25(%26, %27) : $@convention(method) (@owned Optional<NSString>, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":110:46, scope 111 // user: %29
- %29 = enum $Optional<String>, #Optional.some!enumelt.1, %28 : $String, loc "ClassSelectorController.swift":110:46, scope 111 // user: %30
- br bb5(%29 : $Optional<String>), loc "ClassSelectorController.swift":110:46, scope 111 // id: %30
- bb4: // Preds: bb2
- %31 = enum $Optional<String>, #Optional.none!enumelt, loc "ClassSelectorController.swift":110:46, scope 111 // user: %32
- br bb5(%31 : $Optional<String>), loc "ClassSelectorController.swift":110:46, scope 111 // id: %32
- // %33 // user: %34
- bb5(%33 : $Optional<String>): // Preds: bb4 bb3
- switch_enum %33 : $Optional<String>, case #Optional.some!enumelt.1: bb7, default bb6, loc "ClassSelectorController.swift":110:46, scope 111 // id: %34
- bb6: // Preds: bb5
- destroy_value %17 : $UITextField, loc "ClassSelectorController.swift":114:9, scope 111 // id: %35
- destroy_addr %16 : $*UITextField, loc "ClassSelectorController.swift":114:9, scope 111 // id: %36
- dealloc_stack %4 : $*Optional<UITextField>, loc "ClassSelectorController.swift":114:9, scope 111 // id: %37
- br bb110, loc "ClassSelectorController.swift":110:46, scope 111 // id: %38
- // %39 // users: %972, %625, %564, %615, %1022, %1071, %266, %315, %52, %48, %40
- bb7(%39 : $String): // Preds: bb5
- debug_value %39 : $String, let, name "className", loc "ClassSelectorController.swift":110:19, scope 111 // id: %40
- destroy_value %17 : $UITextField, loc "ClassSelectorController.swift":110:46, scope 111 // id: %41
- destroy_addr %16 : $*UITextField, loc "ClassSelectorController.swift":110:46, scope 111 // id: %42
- dealloc_stack %4 : $*Optional<UITextField>, loc "ClassSelectorController.swift":110:46, scope 111 // id: %43
- // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
- %44 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "ClassSelectorController.swift":110:52, scope 111 // user: %50
- // function_ref static Bool.! prefix(Bool) -> Bool
- %45 = function_ref @_TZFSbop1nfSbSb : $@convention(method) (Bool, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":110:52, scope 111 // user: %49
- %46 = metatype $@thin Bool.Type, loc "ClassSelectorController.swift":110:52, scope 111 // user: %49
- // function_ref String.isEmpty.getter
- %47 = function_ref @_TFSSg7isEmptySb : $@convention(method) (@guaranteed String) -> Bool, loc "ClassSelectorController.swift":110:63, scope 111 // user: %48
- %48 = apply %47(%39) : $@convention(method) (@guaranteed String) -> Bool, loc "ClassSelectorController.swift":110:63, scope 111 // user: %49
- %49 = apply %45(%48, %46) : $@convention(method) (Bool, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":110:52, scope 111 // user: %50
- %50 = apply %44(%49) : $@convention(method) (Bool) -> Builtin.Int1, loc "ClassSelectorController.swift":110:63, scope 111 // user: %51
- cond_br %50, bb9, bb8, loc "ClassSelectorController.swift":110:63, scope 111 // id: %51
- bb8: // Preds: bb7
- destroy_value %39 : $String, loc "ClassSelectorController.swift":114:9, scope 111 // id: %52
- br bb110, loc "ClassSelectorController.swift":110:9, scope 111 // id: %53
- bb9: // Preds: bb7
- %54 = alloc_box ${ var Double }, var, name "multiplier", loc "ClassSelectorController.swift":117:13, scope 111 // users: %971, %563, %614, %1021, %1070, %265, %314, %55
- %55 = project_box %54 : ${ var Double }, 0, loc "ClassSelectorController.swift":117:13, scope 111 // users: %626, %215, %152, %126, %100, %60
- // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
- %56 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "ClassSelectorController.swift":117:34, scope 111 // user: %59
- %57 = metatype $@thin Double.Type, loc "ClassSelectorController.swift":117:34, scope 111 // user: %59
- %58 = integer_literal $Builtin.Int2048, -1, loc "ClassSelectorController.swift":117:34, scope 111 // user: %59
- %59 = apply %56(%58, %57) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "ClassSelectorController.swift":117:35, scope 111 // user: %60
- store %59 to [trivial] %55 : $*Double, loc "ClassSelectorController.swift":117:35, scope 111 // id: %60
- %61 = alloc_stack $Optional<UISegmentedControl>, loc "ClassSelectorController.swift":119:16, scope 111 // users: %157, %147, %121, %95, %73, %65, %64
- %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
- %63 = apply %62(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UISegmentedControl>, loc "ClassSelectorController.swift":119:16, scope 111 // user: %64
- store %63 to [init] %61 : $*Optional<UISegmentedControl>, loc "ClassSelectorController.swift":119:16, scope 111 // id: %64
- switch_enum_addr %61 : $*Optional<UISegmentedControl>, case #Optional.none!enumelt: bb10, default bb11, loc "ClassSelectorController.swift":119:16, scope 111 // id: %65
- bb10: // Preds: bb9
- %66 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":119:16, scope 111 // user: %71
- %67 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":119:16, scope 111 // user: %71
- %68 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":119:16, scope 111 // user: %71
- %69 = integer_literal $Builtin.Word, 119, loc "ClassSelectorController.swift":119:16, scope 111 // user: %71
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %71 = apply %70(%66, %67, %68, %69) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":119:16, scope 111
- unreachable , loc "ClassSelectorController.swift":119:16, scope 111 // id: %72
- bb11: // Preds: bb9
- %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
- %74 = load [copy] %73 : $*UISegmentedControl, loc "ClassSelectorController.swift":119:16, scope 111 // users: %155, %145, %119, %93, %76, %75
- %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
- %76 = apply %75(%74) : $@convention(objc_method) (UISegmentedControl) -> Int, loc "ClassSelectorController.swift":119:30, scope 111 // users: %139, %129, %113, %103, %87, %77
- debug_value %76 : $Int, let, name "$match", loc "ClassSelectorController.swift":120:18, scope 112 // id: %77
- // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
- %78 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "ClassSelectorController.swift":120:18, scope 112 // user: %89
- // function_ref ~= infix<A where ...> (A, A) -> Bool
- %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
- // function_ref Int.init(_builtinIntegerLiteral : Builtin.Int2048) -> Int
- %80 = function_ref @_TFSiCfT22_builtinIntegerLiteralBi2048__Si : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":120:18, scope 112 // user: %83
- %81 = metatype $@thin Int.Type, loc "ClassSelectorController.swift":120:18, scope 112 // user: %83
- %82 = integer_literal $Builtin.Int2048, 0, loc "ClassSelectorController.swift":120:18, scope 112 // user: %83
- %83 = apply %80(%82, %81) : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":120:18, scope 112 // user: %85
- %84 = alloc_stack $Int, loc "ClassSelectorController.swift":120:18, scope 112 // users: %91, %88, %85
- store %83 to [trivial] %84 : $*Int, loc "ClassSelectorController.swift":120:18, scope 112 // id: %85
- %86 = alloc_stack $Int, loc "ClassSelectorController.swift":120:18, scope 112 // users: %90, %88, %87
- store %76 to [trivial] %86 : $*Int, loc "ClassSelectorController.swift":120:18, scope 112 // id: %87
- %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
- %89 = apply %78(%88) : $@convention(method) (Bool) -> Builtin.Int1, loc "ClassSelectorController.swift":120:18, scope 112 // user: %92
- dealloc_stack %86 : $*Int, loc "ClassSelectorController.swift":120:18, scope 112 // id: %90
- dealloc_stack %84 : $*Int, loc "ClassSelectorController.swift":120:18, scope 112 // id: %91
- cond_br %89, bb12, bb13, loc "ClassSelectorController.swift":120:18, scope 112 // id: %92
- bb12: // Preds: bb11
- destroy_value %74 : $UISegmentedControl, loc "ClassSelectorController.swift":140:9, scope 112 // id: %93
- destroy_addr %73 : $*UISegmentedControl, loc "ClassSelectorController.swift":140:9, scope 112 // id: %94
- dealloc_stack %61 : $*Optional<UISegmentedControl>, loc "ClassSelectorController.swift":140:9, scope 112 // id: %95
- // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
- %96 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "ClassSelectorController.swift":121:30, scope 113 // user: %99
- %97 = metatype $@thin Double.Type, loc "ClassSelectorController.swift":121:30, scope 113 // user: %99
- %98 = integer_literal $Builtin.Int2048, 1, loc "ClassSelectorController.swift":121:30, scope 113 // user: %99
- %99 = apply %96(%98, %97) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "ClassSelectorController.swift":121:30, scope 113 // user: %100
- assign %99 to %55 : $*Double, loc "ClassSelectorController.swift":121:28, scope 113 // id: %100
- br bb37, loc "ClassSelectorController.swift":121:30, scope 111 // id: %101
- bb13: // Preds: bb11
- br bb14, loc "ClassSelectorController.swift":120:18, scope 112 // id: %102
- bb14: // Preds: bb13
- debug_value %76 : $Int, let, name "$match", loc "ClassSelectorController.swift":122:18, scope 114 // id: %103
- // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
- %104 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "ClassSelectorController.swift":122:18, scope 114 // user: %115
- // function_ref ~= infix<A where ...> (A, A) -> Bool
- %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
- // function_ref Int.init(_builtinIntegerLiteral : Builtin.Int2048) -> Int
- %106 = function_ref @_TFSiCfT22_builtinIntegerLiteralBi2048__Si : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":122:18, scope 114 // user: %109
- %107 = metatype $@thin Int.Type, loc "ClassSelectorController.swift":122:18, scope 114 // user: %109
- %108 = integer_literal $Builtin.Int2048, 1, loc "ClassSelectorController.swift":122:18, scope 114 // user: %109
- %109 = apply %106(%108, %107) : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":122:18, scope 114 // user: %111
- %110 = alloc_stack $Int, loc "ClassSelectorController.swift":122:18, scope 114 // users: %117, %114, %111
- store %109 to [trivial] %110 : $*Int, loc "ClassSelectorController.swift":122:18, scope 114 // id: %111
- %112 = alloc_stack $Int, loc "ClassSelectorController.swift":122:18, scope 114 // users: %116, %114, %113
- store %76 to [trivial] %112 : $*Int, loc "ClassSelectorController.swift":122:18, scope 114 // id: %113
- %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
- %115 = apply %104(%114) : $@convention(method) (Bool) -> Builtin.Int1, loc "ClassSelectorController.swift":122:18, scope 114 // user: %118
- dealloc_stack %112 : $*Int, loc "ClassSelectorController.swift":122:18, scope 114 // id: %116
- dealloc_stack %110 : $*Int, loc "ClassSelectorController.swift":122:18, scope 114 // id: %117
- cond_br %115, bb15, bb16, loc "ClassSelectorController.swift":122:18, scope 114 // id: %118
- bb15: // Preds: bb14
- destroy_value %74 : $UISegmentedControl, loc "ClassSelectorController.swift":140:9, scope 114 // id: %119
- destroy_addr %73 : $*UISegmentedControl, loc "ClassSelectorController.swift":140:9, scope 114 // id: %120
- dealloc_stack %61 : $*Optional<UISegmentedControl>, loc "ClassSelectorController.swift":140:9, scope 114 // id: %121
- // function_ref Double.init(_builtinFloatLiteral : Builtin.Float64) -> Double
- %122 = function_ref @_TFSdCfT20_builtinFloatLiteralBf64__Sd : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "ClassSelectorController.swift":123:30, scope 115 // user: %125
- %123 = metatype $@thin Double.Type, loc "ClassSelectorController.swift":123:30, scope 115 // user: %125
- %124 = float_literal $Builtin.FPIEEE64, 0x3FF199999999999A // 1.1000000000000001, loc "ClassSelectorController.swift":123:30, scope 115 // user: %125
- %125 = apply %122(%124, %123) : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "ClassSelectorController.swift":123:30, scope 115 // user: %126
- assign %125 to %55 : $*Double, loc "ClassSelectorController.swift":123:28, scope 115 // id: %126
- br bb37, loc "ClassSelectorController.swift":123:30, scope 111 // id: %127
- bb16: // Preds: bb14
- br bb17, loc "ClassSelectorController.swift":122:18, scope 114 // id: %128
- bb17: // Preds: bb16
- debug_value %76 : $Int, let, name "$match", loc "ClassSelectorController.swift":124:18, scope 116 // id: %129
- // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
- %130 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "ClassSelectorController.swift":124:18, scope 116 // user: %141
- // function_ref ~= infix<A where ...> (A, A) -> Bool
- %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
- // function_ref Int.init(_builtinIntegerLiteral : Builtin.Int2048) -> Int
- %132 = function_ref @_TFSiCfT22_builtinIntegerLiteralBi2048__Si : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":124:18, scope 116 // user: %135
- %133 = metatype $@thin Int.Type, loc "ClassSelectorController.swift":124:18, scope 116 // user: %135
- %134 = integer_literal $Builtin.Int2048, 2, loc "ClassSelectorController.swift":124:18, scope 116 // user: %135
- %135 = apply %132(%134, %133) : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":124:18, scope 116 // user: %137
- %136 = alloc_stack $Int, loc "ClassSelectorController.swift":124:18, scope 116 // users: %143, %140, %137
- store %135 to [trivial] %136 : $*Int, loc "ClassSelectorController.swift":124:18, scope 116 // id: %137
- %138 = alloc_stack $Int, loc "ClassSelectorController.swift":124:18, scope 116 // users: %142, %140, %139
- store %76 to [trivial] %138 : $*Int, loc "ClassSelectorController.swift":124:18, scope 116 // id: %139
- %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
- %141 = apply %130(%140) : $@convention(method) (Bool) -> Builtin.Int1, loc "ClassSelectorController.swift":124:18, scope 116 // user: %144
- dealloc_stack %138 : $*Int, loc "ClassSelectorController.swift":124:18, scope 116 // id: %142
- dealloc_stack %136 : $*Int, loc "ClassSelectorController.swift":124:18, scope 116 // id: %143
- cond_br %141, bb18, bb19, loc "ClassSelectorController.swift":124:18, scope 116 // id: %144
- bb18: // Preds: bb17
- destroy_value %74 : $UISegmentedControl, loc "ClassSelectorController.swift":140:9, scope 116 // id: %145
- destroy_addr %73 : $*UISegmentedControl, loc "ClassSelectorController.swift":140:9, scope 116 // id: %146
- dealloc_stack %61 : $*Optional<UISegmentedControl>, loc "ClassSelectorController.swift":140:9, scope 116 // id: %147
- // function_ref Double.init(_builtinFloatLiteral : Builtin.Float64) -> Double
- %148 = function_ref @_TFSdCfT20_builtinFloatLiteralBf64__Sd : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "ClassSelectorController.swift":125:30, scope 117 // user: %151
- %149 = metatype $@thin Double.Type, loc "ClassSelectorController.swift":125:30, scope 117 // user: %151
- %150 = float_literal $Builtin.FPIEEE64, 0x3FF3333333333333 // 1.2, loc "ClassSelectorController.swift":125:30, scope 117 // user: %151
- %151 = apply %148(%150, %149) : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "ClassSelectorController.swift":125:30, scope 117 // user: %152
- assign %151 to %55 : $*Double, loc "ClassSelectorController.swift":125:28, scope 117 // id: %152
- br bb37, loc "ClassSelectorController.swift":125:30, scope 111 // id: %153
- bb19: // Preds: bb17
- br bb20, loc "ClassSelectorController.swift":124:18, scope 116 // id: %154
- bb20: // Preds: bb19
- destroy_value %74 : $UISegmentedControl, loc "ClassSelectorController.swift":140:9, scope 118 // id: %155
- destroy_addr %73 : $*UISegmentedControl, loc "ClassSelectorController.swift":140:9, scope 118 // id: %156
- dealloc_stack %61 : $*Optional<UISegmentedControl>, loc "ClassSelectorController.swift":140:9, scope 118 // id: %157
- %158 = alloc_stack $Optional<UITextField>, loc "ClassSelectorController.swift":127:44, scope 119 // users: %197, %191, %170, %162, %161
- %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
- %160 = apply %159(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, loc "ClassSelectorController.swift":127:44, scope 119 // user: %161
- store %160 to [init] %158 : $*Optional<UITextField>, loc "ClassSelectorController.swift":127:44, scope 119 // id: %161
- switch_enum_addr %158 : $*Optional<UITextField>, case #Optional.none!enumelt: bb21, default bb22, loc "ClassSelectorController.swift":127:44, scope 119 // id: %162
- bb21: // Preds: bb20
- %163 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":127:44, scope 119 // user: %168
- %164 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":127:44, scope 119 // user: %168
- %165 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":127:44, scope 119 // user: %168
- %166 = integer_literal $Builtin.Word, 127, loc "ClassSelectorController.swift":127:44, scope 119 // user: %168
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %168 = apply %167(%163, %164, %165, %166) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":127:44, scope 119
- unreachable , loc "ClassSelectorController.swift":127:44, scope 119 // id: %169
- bb22: // Preds: bb20
- %170 = unchecked_take_enum_data_addr %158 : $*Optional<UITextField>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":127:44, scope 119 // users: %196, %190, %171
- %171 = load [copy] %170 : $*UITextField, loc "ClassSelectorController.swift":127:44, scope 119 // users: %195, %189, %173, %172
- %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
- %173 = apply %172(%171) : $@convention(objc_method) (UITextField) -> @autoreleased Optional<NSString>, loc "ClassSelectorController.swift":127:60, scope 119 // users: %178, %176
- %174 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":127:60, scope 119 // user: %176
- %175 = integer_literal $Builtin.Int1, 0, loc "ClassSelectorController.swift":127:60, scope 119 // user: %176
- %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
- cond_br %176, bb23, bb24, loc "ClassSelectorController.swift":127:60, scope 119 // id: %177
- bb23: // Preds: bb22
- %178 = unchecked_enum_data %173 : $Optional<NSString>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":127:60, scope 119 // user: %180
- // function_ref static String._unconditionallyBridgeFromObjectiveC(NSString?) -> String
- %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
- %180 = enum $Optional<NSString>, #Optional.some!enumelt.1, %178 : $NSString, loc "ClassSelectorController.swift":127:60, scope 119 // user: %182
- %181 = metatype $@thin String.Type, loc "ClassSelectorController.swift":127:60, scope 119 // user: %182
- %182 = apply %179(%180, %181) : $@convention(method) (@owned Optional<NSString>, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":127:60, scope 119 // user: %183
- %183 = enum $Optional<String>, #Optional.some!enumelt.1, %182 : $String, loc "ClassSelectorController.swift":127:60, scope 119 // user: %184
- br bb25(%183 : $Optional<String>), loc "ClassSelectorController.swift":127:60, scope 119 // id: %184
- bb24: // Preds: bb22
- %185 = enum $Optional<String>, #Optional.none!enumelt, loc "ClassSelectorController.swift":127:60, scope 119 // user: %186
- br bb25(%185 : $Optional<String>), loc "ClassSelectorController.swift":127:60, scope 119 // id: %186
- // %187 // user: %188
- bb25(%187 : $Optional<String>): // Preds: bb24 bb23
- switch_enum %187 : $Optional<String>, case #Optional.some!enumelt.1: bb27, default bb26, loc "ClassSelectorController.swift":127:60, scope 119 // id: %188
- bb26: // Preds: bb25
- destroy_value %171 : $UITextField, loc "ClassSelectorController.swift":131:17, scope 119 // id: %189
- destroy_addr %170 : $*UITextField, loc "ClassSelectorController.swift":131:17, scope 119 // id: %190
- dealloc_stack %158 : $*Optional<UITextField>, loc "ClassSelectorController.swift":131:17, scope 119 // id: %191
- br bb34, loc "ClassSelectorController.swift":127:60, scope 119 // id: %192
- // %193 // users: %216, %210, %264, %206, %202, %194
- bb27(%193 : $String): // Preds: bb25
- debug_value %193 : $String, let, name "multiplierText", loc "ClassSelectorController.swift":127:27, scope 119 // id: %194
- destroy_value %171 : $UITextField, loc "ClassSelectorController.swift":127:60, scope 119 // id: %195
- destroy_addr %170 : $*UITextField, loc "ClassSelectorController.swift":127:60, scope 119 // id: %196
- dealloc_stack %158 : $*Optional<UITextField>, loc "ClassSelectorController.swift":127:60, scope 119 // id: %197
- // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
- %198 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "ClassSelectorController.swift":127:66, scope 119 // user: %204
- // function_ref static Bool.! prefix(Bool) -> Bool
- %199 = function_ref @_TZFSbop1nfSbSb : $@convention(method) (Bool, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":127:66, scope 119 // user: %203
- %200 = metatype $@thin Bool.Type, loc "ClassSelectorController.swift":127:66, scope 119 // user: %203
- // function_ref String.isEmpty.getter
- %201 = function_ref @_TFSSg7isEmptySb : $@convention(method) (@guaranteed String) -> Bool, loc "ClassSelectorController.swift":127:82, scope 119 // user: %202
- %202 = apply %201(%193) : $@convention(method) (@guaranteed String) -> Bool, loc "ClassSelectorController.swift":127:82, scope 119 // user: %203
- %203 = apply %199(%202, %200) : $@convention(method) (Bool, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":127:66, scope 119 // user: %204
- %204 = apply %198(%203) : $@convention(method) (Bool) -> Builtin.Int1, loc "ClassSelectorController.swift":127:82, scope 119 // user: %205
- cond_br %204, bb29, bb28, loc "ClassSelectorController.swift":127:82, scope 119 // id: %205
- bb28: // Preds: bb27
- destroy_value %193 : $String, loc "ClassSelectorController.swift":131:17, scope 119 // id: %206
- br bb34, loc "ClassSelectorController.swift":127:17, scope 119 // id: %207
- bb29: // Preds: bb27
- // function_ref Double.init(String) -> Double?
- %208 = function_ref @_TFSdCfSSGSqSd_ : $@convention(method) (@owned String, @thin Double.Type) -> Optional<Double>, loc "ClassSelectorController.swift":134:41, scope 119 // user: %211
- %209 = metatype $@thin Double.Type, loc "ClassSelectorController.swift":134:41, scope 119 // user: %211
- %210 = copy_value %193 : $String, loc "ClassSelectorController.swift":134:48, scope 119 // user: %211
- %211 = apply %208(%210, %209) : $@convention(method) (@owned String, @thin Double.Type) -> Optional<Double>, loc "ClassSelectorController.swift":134:62, scope 119 // user: %212
- switch_enum %211 : $Optional<Double>, case #Optional.some!enumelt.1: bb30, default bb31, loc "ClassSelectorController.swift":134:62, scope 119 // id: %212
- // %213 // users: %215, %214
- bb30(%213 : $Double): // Preds: bb29
- debug_value %213 : $Double, let, name "_multiplier", loc "ClassSelectorController.swift":134:27, scope 119 // id: %214
- assign %213 to %55 : $*Double, loc "ClassSelectorController.swift":139:28, scope 119 // id: %215
- destroy_value %193 : $String, loc "ClassSelectorController.swift":139:30, scope 111 // id: %216
- br bb37, loc "ClassSelectorController.swift":139:30, scope 111 // id: %217
- bb31: // Preds: bb29
- %218 = alloc_stack $Optional<UILabel>, loc "ClassSelectorController.swift":135:21, scope 120 // users: %243, %230, %222, %221
- %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
- %220 = apply %219(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UILabel>, loc "ClassSelectorController.swift":135:21, scope 120 // user: %221
- store %220 to [init] %218 : $*Optional<UILabel>, loc "ClassSelectorController.swift":135:21, scope 120 // id: %221
- switch_enum_addr %218 : $*Optional<UILabel>, case #Optional.none!enumelt: bb32, default bb33, loc "ClassSelectorController.swift":135:21, scope 120 // id: %222
- bb32: // Preds: bb31
- %223 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":135:21, scope 120 // user: %228
- %224 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":135:21, scope 120 // user: %228
- %225 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":135:21, scope 120 // user: %228
- %226 = integer_literal $Builtin.Word, 135, loc "ClassSelectorController.swift":135:21, scope 120 // user: %228
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %228 = apply %227(%223, %224, %225, %226) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":135:21, scope 120
- unreachable , loc "ClassSelectorController.swift":135:21, scope 120 // id: %229
- bb33: // Preds: bb31
- %230 = unchecked_take_enum_data_addr %218 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":135:21, scope 120 // users: %242, %231
- %231 = load [copy] %230 : $*UILabel, loc "ClassSelectorController.swift":135:21, scope 120 // users: %241, %232
- %232 = upcast %231 : $UILabel to $UIView, loc "ClassSelectorController.swift":135:21, scope 120 // users: %240, %237
- // function_ref Bool.init(_builtinBooleanLiteral : Builtin.Int1) -> Bool
- %233 = function_ref @_TFSbCfT22_builtinBooleanLiteralBi1__Sb : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":135:45, scope 120 // user: %236
- %234 = metatype $@thin Bool.Type, loc "ClassSelectorController.swift":135:45, scope 120 // user: %236
- %235 = integer_literal $Builtin.Int1, 0, loc "ClassSelectorController.swift":135:45, scope 120 // user: %236
- %236 = apply %233(%235, %234) : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":135:45, scope 120 // user: %239
- %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
- // function_ref _convertBoolToObjCBool(Bool) -> ObjCBool
- %238 = function_ref @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool, loc "ClassSelectorController.swift":135:43, scope 120 // user: %239
- %239 = apply %238(%236) : $@convention(thin) (Bool) -> ObjCBool, loc "ClassSelectorController.swift":135:43, scope 120 // user: %240
- %240 = apply %237(%239, %232) : $@convention(objc_method) (ObjCBool, UIView) -> (), loc "ClassSelectorController.swift":135:43, scope 120
- destroy_value %231 : $UILabel, loc "ClassSelectorController.swift":135:45, scope 120 // id: %241
- destroy_addr %230 : $*UILabel, loc "ClassSelectorController.swift":135:45, scope 120 // id: %242
- dealloc_stack %218 : $*Optional<UILabel>, loc "ClassSelectorController.swift":135:45, scope 120 // id: %243
- // function_ref print([Any], separator : String, terminator : String) -> ()
- %244 = function_ref @_TFs5printFTGSaP__9separatorSS10terminatorSS_T_ : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> (), loc "ClassSelectorController.swift":136:21, scope 120 // user: %263
- %245 = integer_literal $Builtin.Word, 1, loc "ClassSelectorController.swift":136:27, scope 120 // user: %247
- // function_ref _allocateUninitializedArray<A> (Builtin.Word) -> ([A], Builtin.RawPointer)
- %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
- %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
- %248 = tuple_extract %247 : $(Array<Any>, Builtin.RawPointer), 0, loc "ClassSelectorController.swift":136:27, scope 120 // user: %263
- %249 = tuple_extract %247 : $(Array<Any>, Builtin.RawPointer), 1, loc "ClassSelectorController.swift":136:27, scope 120 // user: %250
- %250 = pointer_to_address %249 : $Builtin.RawPointer to [strict] $*Any, loc "ClassSelectorController.swift":136:27, scope 120 // user: %251
- %251 = init_existential_addr %250 : $*Any, $String, loc "ClassSelectorController.swift":136:27, scope 120 // user: %258
- %252 = string_literal utf8 "Malformed multiplier.", loc "ClassSelectorController.swift":136:27, scope 120 // user: %257
- %253 = integer_literal $Builtin.Word, 21, loc "ClassSelectorController.swift":136:27, scope 120 // user: %257
- %254 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":136:27, scope 120 // user: %257
- %255 = metatype $@thin String.Type, loc "ClassSelectorController.swift":136:27, scope 120 // user: %257
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- store %257 to [init] %251 : $*String, loc "ClassSelectorController.swift":136:27, scope 120 // id: %258
- // function_ref (print([Any], separator : String, terminator : String) -> ()).(default argument 1)
- %259 = function_ref @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A0_ : $@convention(thin) () -> @owned String, loc "ClassSelectorController.swift":136:27, scope 120 // user: %260
- %260 = apply %259() : $@convention(thin) () -> @owned String, loc "ClassSelectorController.swift":136:27, scope 120 // user: %263
- // function_ref (print([Any], separator : String, terminator : String) -> ()).(default argument 2)
- %261 = function_ref @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A1_ : $@convention(thin) () -> @owned String, loc "ClassSelectorController.swift":136:27, scope 120 // user: %262
- %262 = apply %261() : $@convention(thin) () -> @owned String, loc "ClassSelectorController.swift":136:27, scope 120 // user: %263
- %263 = apply %244(%248, %260, %262) : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> (), loc "ClassSelectorController.swift":136:50, scope 120
- destroy_value %193 : $String, loc "ClassSelectorController.swift":199:5, scope 120 // id: %264
- destroy_value %54 : ${ var Double }, loc "ClassSelectorController.swift":199:5, scope 120 // id: %265
- destroy_value %39 : $String, loc "ClassSelectorController.swift":199:5, scope 120 // id: %266
- br bb113, loc "ClassSelectorController.swift":137:21, scope 120 // id: %267
- bb34: // Preds: bb28 bb26
- %268 = alloc_stack $Optional<UILabel>, loc "ClassSelectorController.swift":128:21, scope 121 // users: %293, %280, %272, %271
- %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
- %270 = apply %269(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UILabel>, loc "ClassSelectorController.swift":128:21, scope 121 // user: %271
- store %270 to [init] %268 : $*Optional<UILabel>, loc "ClassSelectorController.swift":128:21, scope 121 // id: %271
- switch_enum_addr %268 : $*Optional<UILabel>, case #Optional.none!enumelt: bb35, default bb36, loc "ClassSelectorController.swift":128:21, scope 121 // id: %272
- bb35: // Preds: bb34
- %273 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":128:21, scope 121 // user: %278
- %274 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":128:21, scope 121 // user: %278
- %275 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":128:21, scope 121 // user: %278
- %276 = integer_literal $Builtin.Word, 128, loc "ClassSelectorController.swift":128:21, scope 121 // user: %278
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %278 = apply %277(%273, %274, %275, %276) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":128:21, scope 121
- unreachable , loc "ClassSelectorController.swift":128:21, scope 121 // id: %279
- bb36: // Preds: bb34
- %280 = unchecked_take_enum_data_addr %268 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":128:21, scope 121 // users: %292, %281
- %281 = load [copy] %280 : $*UILabel, loc "ClassSelectorController.swift":128:21, scope 121 // users: %291, %282
- %282 = upcast %281 : $UILabel to $UIView, loc "ClassSelectorController.swift":128:21, scope 121 // users: %290, %287
- // function_ref Bool.init(_builtinBooleanLiteral : Builtin.Int1) -> Bool
- %283 = function_ref @_TFSbCfT22_builtinBooleanLiteralBi1__Sb : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":128:45, scope 121 // user: %286
- %284 = metatype $@thin Bool.Type, loc "ClassSelectorController.swift":128:45, scope 121 // user: %286
- %285 = integer_literal $Builtin.Int1, 0, loc "ClassSelectorController.swift":128:45, scope 121 // user: %286
- %286 = apply %283(%285, %284) : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":128:45, scope 121 // user: %289
- %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
- // function_ref _convertBoolToObjCBool(Bool) -> ObjCBool
- %288 = function_ref @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool, loc "ClassSelectorController.swift":128:43, scope 121 // user: %289
- %289 = apply %288(%286) : $@convention(thin) (Bool) -> ObjCBool, loc "ClassSelectorController.swift":128:43, scope 121 // user: %290
- %290 = apply %287(%289, %282) : $@convention(objc_method) (ObjCBool, UIView) -> (), loc "ClassSelectorController.swift":128:43, scope 121
- destroy_value %281 : $UILabel, loc "ClassSelectorController.swift":128:45, scope 121 // id: %291
- destroy_addr %280 : $*UILabel, loc "ClassSelectorController.swift":128:45, scope 121 // id: %292
- dealloc_stack %268 : $*Optional<UILabel>, loc "ClassSelectorController.swift":128:45, scope 121 // id: %293
- // function_ref print([Any], separator : String, terminator : String) -> ()
- %294 = function_ref @_TFs5printFTGSaP__9separatorSS10terminatorSS_T_ : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> (), loc "ClassSelectorController.swift":129:21, scope 121 // user: %313
- %295 = integer_literal $Builtin.Word, 1, loc "ClassSelectorController.swift":129:27, scope 121 // user: %297
- // function_ref _allocateUninitializedArray<A> (Builtin.Word) -> ([A], Builtin.RawPointer)
- %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
- %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
- %298 = tuple_extract %297 : $(Array<Any>, Builtin.RawPointer), 0, loc "ClassSelectorController.swift":129:27, scope 121 // user: %313
- %299 = tuple_extract %297 : $(Array<Any>, Builtin.RawPointer), 1, loc "ClassSelectorController.swift":129:27, scope 121 // user: %300
- %300 = pointer_to_address %299 : $Builtin.RawPointer to [strict] $*Any, loc "ClassSelectorController.swift":129:27, scope 121 // user: %301
- %301 = init_existential_addr %300 : $*Any, $String, loc "ClassSelectorController.swift":129:27, scope 121 // user: %308
- %302 = string_literal utf8 "No multiplier specified.", loc "ClassSelectorController.swift":129:27, scope 121 // user: %307
- %303 = integer_literal $Builtin.Word, 24, loc "ClassSelectorController.swift":129:27, scope 121 // user: %307
- %304 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":129:27, scope 121 // user: %307
- %305 = metatype $@thin String.Type, loc "ClassSelectorController.swift":129:27, scope 121 // user: %307
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- store %307 to [init] %301 : $*String, loc "ClassSelectorController.swift":129:27, scope 121 // id: %308
- // function_ref (print([Any], separator : String, terminator : String) -> ()).(default argument 1)
- %309 = function_ref @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A0_ : $@convention(thin) () -> @owned String, loc "ClassSelectorController.swift":129:27, scope 121 // user: %310
- %310 = apply %309() : $@convention(thin) () -> @owned String, loc "ClassSelectorController.swift":129:27, scope 121 // user: %313
- // function_ref (print([Any], separator : String, terminator : String) -> ()).(default argument 2)
- %311 = function_ref @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A1_ : $@convention(thin) () -> @owned String, loc "ClassSelectorController.swift":129:27, scope 121 // user: %312
- %312 = apply %311() : $@convention(thin) () -> @owned String, loc "ClassSelectorController.swift":129:27, scope 121 // user: %313
- %313 = apply %294(%298, %310, %312) : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> (), loc "ClassSelectorController.swift":129:53, scope 121
- destroy_value %54 : ${ var Double }, loc "ClassSelectorController.swift":199:5, scope 121 // id: %314
- destroy_value %39 : $String, loc "ClassSelectorController.swift":199:5, scope 121 // id: %315
- br bb113, loc "ClassSelectorController.swift":130:21, scope 121 // id: %316
- bb37: // Preds: bb30 bb18 bb15 bb12
- %317 = alloc_stack $Optional<UITextField>, loc "ClassSelectorController.swift":143:38, scope 111 // users: %356, %350, %329, %321, %320
- %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
- %319 = apply %318(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, loc "ClassSelectorController.swift":143:38, scope 111 // user: %320
- store %319 to [init] %317 : $*Optional<UITextField>, loc "ClassSelectorController.swift":143:38, scope 111 // id: %320
- switch_enum_addr %317 : $*Optional<UITextField>, case #Optional.none!enumelt: bb38, default bb39, loc "ClassSelectorController.swift":143:38, scope 111 // id: %321
- bb38: // Preds: bb37
- %322 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":143:38, scope 111 // user: %327
- %323 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":143:38, scope 111 // user: %327
- %324 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":143:38, scope 111 // user: %327
- %325 = integer_literal $Builtin.Word, 143, loc "ClassSelectorController.swift":143:38, scope 111 // user: %327
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %327 = apply %326(%322, %323, %324, %325) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":143:38, scope 111
- unreachable , loc "ClassSelectorController.swift":143:38, scope 111 // id: %328
- bb39: // Preds: bb37
- %329 = unchecked_take_enum_data_addr %317 : $*Optional<UITextField>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":143:38, scope 111 // users: %355, %349, %330
- %330 = load [copy] %329 : $*UITextField, loc "ClassSelectorController.swift":143:38, scope 111 // users: %354, %348, %332, %331
- %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
- %332 = apply %331(%330) : $@convention(objc_method) (UITextField) -> @autoreleased Optional<NSString>, loc "ClassSelectorController.swift":143:56, scope 111 // users: %337, %335
- %333 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":143:56, scope 111 // user: %335
- %334 = integer_literal $Builtin.Int1, 0, loc "ClassSelectorController.swift":143:56, scope 111 // user: %335
- %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
- cond_br %335, bb40, bb41, loc "ClassSelectorController.swift":143:56, scope 111 // id: %336
- bb40: // Preds: bb39
- %337 = unchecked_enum_data %332 : $Optional<NSString>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":143:56, scope 111 // user: %339
- // function_ref static String._unconditionallyBridgeFromObjectiveC(NSString?) -> String
- %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
- %339 = enum $Optional<NSString>, #Optional.some!enumelt.1, %337 : $NSString, loc "ClassSelectorController.swift":143:56, scope 111 // user: %341
- %340 = metatype $@thin String.Type, loc "ClassSelectorController.swift":143:56, scope 111 // user: %341
- %341 = apply %338(%339, %340) : $@convention(method) (@owned Optional<NSString>, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":143:56, scope 111 // user: %342
- %342 = enum $Optional<String>, #Optional.some!enumelt.1, %341 : $String, loc "ClassSelectorController.swift":143:56, scope 111 // user: %343
- br bb42(%342 : $Optional<String>), loc "ClassSelectorController.swift":143:56, scope 111 // id: %343
- bb41: // Preds: bb39
- %344 = enum $Optional<String>, #Optional.none!enumelt, loc "ClassSelectorController.swift":143:56, scope 111 // user: %345
- br bb42(%344 : $Optional<String>), loc "ClassSelectorController.swift":143:56, scope 111 // id: %345
- // %346 // user: %347
- bb42(%346 : $Optional<String>): // Preds: bb41 bb40
- switch_enum %346 : $Optional<String>, case #Optional.some!enumelt.1: bb44, default bb43, loc "ClassSelectorController.swift":143:56, scope 111 // id: %347
- bb43: // Preds: bb42
- destroy_value %330 : $UITextField, loc "ClassSelectorController.swift":147:9, scope 111 // id: %348
- destroy_addr %329 : $*UITextField, loc "ClassSelectorController.swift":147:9, scope 111 // id: %349
- dealloc_stack %317 : $*Optional<UITextField>, loc "ClassSelectorController.swift":147:9, scope 111 // id: %350
- br bb107, loc "ClassSelectorController.swift":143:56, scope 111 // id: %351
- // %352 // users: %970, %562, %613, %369, %1020, %365, %361, %353
- bb44(%352 : $String): // Preds: bb42
- debug_value %352 : $String, let, name "currentGradeText", loc "ClassSelectorController.swift":143:19, scope 111 // id: %353
- destroy_value %330 : $UITextField, loc "ClassSelectorController.swift":143:56, scope 111 // id: %354
- destroy_addr %329 : $*UITextField, loc "ClassSelectorController.swift":143:56, scope 111 // id: %355
- dealloc_stack %317 : $*Optional<UITextField>, loc "ClassSelectorController.swift":143:56, scope 111 // id: %356
- // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
- %357 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "ClassSelectorController.swift":143:62, scope 111 // user: %363
- // function_ref static Bool.! prefix(Bool) -> Bool
- %358 = function_ref @_TZFSbop1nfSbSb : $@convention(method) (Bool, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":143:62, scope 111 // user: %362
- %359 = metatype $@thin Bool.Type, loc "ClassSelectorController.swift":143:62, scope 111 // user: %362
- // function_ref String.isEmpty.getter
- %360 = function_ref @_TFSSg7isEmptySb : $@convention(method) (@guaranteed String) -> Bool, loc "ClassSelectorController.swift":143:80, scope 111 // user: %361
- %361 = apply %360(%352) : $@convention(method) (@guaranteed String) -> Bool, loc "ClassSelectorController.swift":143:80, scope 111 // user: %362
- %362 = apply %358(%361, %359) : $@convention(method) (Bool, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":143:62, scope 111 // user: %363
- %363 = apply %357(%362) : $@convention(method) (Bool) -> Builtin.Int1, loc "ClassSelectorController.swift":143:80, scope 111 // user: %364
- cond_br %363, bb46, bb45, loc "ClassSelectorController.swift":143:80, scope 111 // id: %364
- bb45: // Preds: bb44
- destroy_value %352 : $String, loc "ClassSelectorController.swift":147:9, scope 111 // id: %365
- br bb107, loc "ClassSelectorController.swift":143:9, scope 111 // id: %366
- bb46: // Preds: bb44
- // function_ref Int.init(String, radix : Int) -> Int?
- %367 = function_ref @_TFSiCfTSS5radixSi_GSqSi_ : $@convention(method) (@owned String, Int, @thin Int.Type) -> Optional<Int>, loc "ClassSelectorController.swift":148:34, scope 111 // user: %372
- %368 = metatype $@thin Int.Type, loc "ClassSelectorController.swift":148:34, scope 111 // user: %372
- %369 = copy_value %352 : $String, loc "ClassSelectorController.swift":148:38, scope 111 // user: %372
- // function_ref Int.(init(String, radix : Int) -> Int?).(default argument 1)
- %370 = function_ref @_TIFSicFTSS5radixSi_GSqSi_A0_ : $@convention(thin) () -> Int, loc "ClassSelectorController.swift":148:38, scope 111 // user: %371
- %371 = apply %370() : $@convention(thin) () -> Int, loc "ClassSelectorController.swift":148:38, scope 111 // user: %372
- %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
- switch_enum %372 : $Optional<Int>, case #Optional.some!enumelt.1: bb47, default bb104, loc "ClassSelectorController.swift":148:54, scope 111 // id: %373
- // %374 // users: %628, %375
- bb47(%374 : $Int): // Preds: bb46
- debug_value %374 : $Int, let, name "currentGrade", loc "ClassSelectorController.swift":148:19, scope 111 // id: %375
- %376 = alloc_box ${ var Double }, var, name "credits", loc "ClassSelectorController.swift":155:13, scope 111 // users: %969, %561, %612, %377
- %377 = project_box %376 : ${ var Double }, 0, loc "ClassSelectorController.swift":155:13, scope 111 // users: %627, %511, %448, %422, %382
- // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
- %378 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "ClassSelectorController.swift":155:31, scope 111 // user: %381
- %379 = metatype $@thin Double.Type, loc "ClassSelectorController.swift":155:31, scope 111 // user: %381
- %380 = integer_literal $Builtin.Int2048, -1, loc "ClassSelectorController.swift":155:31, scope 111 // user: %381
- %381 = apply %378(%380, %379) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "ClassSelectorController.swift":155:32, scope 111 // user: %382
- store %381 to [trivial] %377 : $*Double, loc "ClassSelectorController.swift":155:32, scope 111 // id: %382
- %383 = alloc_stack $Optional<UISegmentedControl>, loc "ClassSelectorController.swift":157:16, scope 111 // users: %453, %443, %417, %395, %387, %386
- %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
- %385 = apply %384(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UISegmentedControl>, loc "ClassSelectorController.swift":157:16, scope 111 // user: %386
- store %385 to [init] %383 : $*Optional<UISegmentedControl>, loc "ClassSelectorController.swift":157:16, scope 111 // id: %386
- switch_enum_addr %383 : $*Optional<UISegmentedControl>, case #Optional.none!enumelt: bb48, default bb49, loc "ClassSelectorController.swift":157:16, scope 111 // id: %387
- bb48: // Preds: bb47
- %388 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":157:16, scope 111 // user: %393
- %389 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":157:16, scope 111 // user: %393
- %390 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":157:16, scope 111 // user: %393
- %391 = integer_literal $Builtin.Word, 157, loc "ClassSelectorController.swift":157:16, scope 111 // user: %393
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %393 = apply %392(%388, %389, %390, %391) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":157:16, scope 111
- unreachable , loc "ClassSelectorController.swift":157:16, scope 111 // id: %394
- bb49: // Preds: bb47
- %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
- %396 = load [copy] %395 : $*UISegmentedControl, loc "ClassSelectorController.swift":157:16, scope 111 // users: %451, %441, %415, %398, %397
- %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
- %398 = apply %397(%396) : $@convention(objc_method) (UISegmentedControl) -> Int, loc "ClassSelectorController.swift":157:27, scope 111 // users: %435, %425, %409, %399
- debug_value %398 : $Int, let, name "$match", loc "ClassSelectorController.swift":158:18, scope 122 // id: %399
- // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
- %400 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "ClassSelectorController.swift":158:18, scope 122 // user: %411
- // function_ref ~= infix<A where ...> (A, A) -> Bool
- %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
- // function_ref Int.init(_builtinIntegerLiteral : Builtin.Int2048) -> Int
- %402 = function_ref @_TFSiCfT22_builtinIntegerLiteralBi2048__Si : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":158:18, scope 122 // user: %405
- %403 = metatype $@thin Int.Type, loc "ClassSelectorController.swift":158:18, scope 122 // user: %405
- %404 = integer_literal $Builtin.Int2048, 0, loc "ClassSelectorController.swift":158:18, scope 122 // user: %405
- %405 = apply %402(%404, %403) : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":158:18, scope 122 // user: %407
- %406 = alloc_stack $Int, loc "ClassSelectorController.swift":158:18, scope 122 // users: %413, %410, %407
- store %405 to [trivial] %406 : $*Int, loc "ClassSelectorController.swift":158:18, scope 122 // id: %407
- %408 = alloc_stack $Int, loc "ClassSelectorController.swift":158:18, scope 122 // users: %412, %410, %409
- store %398 to [trivial] %408 : $*Int, loc "ClassSelectorController.swift":158:18, scope 122 // id: %409
- %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
- %411 = apply %400(%410) : $@convention(method) (Bool) -> Builtin.Int1, loc "ClassSelectorController.swift":158:18, scope 122 // user: %414
- dealloc_stack %408 : $*Int, loc "ClassSelectorController.swift":158:18, scope 122 // id: %412
- dealloc_stack %406 : $*Int, loc "ClassSelectorController.swift":158:18, scope 122 // id: %413
- cond_br %411, bb50, bb51, loc "ClassSelectorController.swift":158:18, scope 122 // id: %414
- bb50: // Preds: bb49
- destroy_value %396 : $UISegmentedControl, loc "ClassSelectorController.swift":176:9, scope 122 // id: %415
- destroy_addr %395 : $*UISegmentedControl, loc "ClassSelectorController.swift":176:9, scope 122 // id: %416
- dealloc_stack %383 : $*Optional<UISegmentedControl>, loc "ClassSelectorController.swift":176:9, scope 122 // id: %417
- // function_ref Double.init(_builtinFloatLiteral : Builtin.Float64) -> Double
- %418 = function_ref @_TFSdCfT20_builtinFloatLiteralBf64__Sd : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "ClassSelectorController.swift":159:27, scope 123 // user: %421
- %419 = metatype $@thin Double.Type, loc "ClassSelectorController.swift":159:27, scope 123 // user: %421
- %420 = float_literal $Builtin.FPIEEE64, 0x3FE0000000000000 // 0.5, loc "ClassSelectorController.swift":159:27, scope 123 // user: %421
- %421 = apply %418(%420, %419) : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "ClassSelectorController.swift":159:27, scope 123 // user: %422
- assign %421 to %377 : $*Double, loc "ClassSelectorController.swift":159:25, scope 123 // id: %422
- br bb72, loc "ClassSelectorController.swift":159:27, scope 111 // id: %423
- bb51: // Preds: bb49
- br bb52, loc "ClassSelectorController.swift":158:18, scope 122 // id: %424
- bb52: // Preds: bb51
- debug_value %398 : $Int, let, name "$match", loc "ClassSelectorController.swift":160:18, scope 124 // id: %425
- // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
- %426 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "ClassSelectorController.swift":160:18, scope 124 // user: %437
- // function_ref ~= infix<A where ...> (A, A) -> Bool
- %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
- // function_ref Int.init(_builtinIntegerLiteral : Builtin.Int2048) -> Int
- %428 = function_ref @_TFSiCfT22_builtinIntegerLiteralBi2048__Si : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":160:18, scope 124 // user: %431
- %429 = metatype $@thin Int.Type, loc "ClassSelectorController.swift":160:18, scope 124 // user: %431
- %430 = integer_literal $Builtin.Int2048, 1, loc "ClassSelectorController.swift":160:18, scope 124 // user: %431
- %431 = apply %428(%430, %429) : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":160:18, scope 124 // user: %433
- %432 = alloc_stack $Int, loc "ClassSelectorController.swift":160:18, scope 124 // users: %439, %436, %433
- store %431 to [trivial] %432 : $*Int, loc "ClassSelectorController.swift":160:18, scope 124 // id: %433
- %434 = alloc_stack $Int, loc "ClassSelectorController.swift":160:18, scope 124 // users: %438, %436, %435
- store %398 to [trivial] %434 : $*Int, loc "ClassSelectorController.swift":160:18, scope 124 // id: %435
- %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
- %437 = apply %426(%436) : $@convention(method) (Bool) -> Builtin.Int1, loc "ClassSelectorController.swift":160:18, scope 124 // user: %440
- dealloc_stack %434 : $*Int, loc "ClassSelectorController.swift":160:18, scope 124 // id: %438
- dealloc_stack %432 : $*Int, loc "ClassSelectorController.swift":160:18, scope 124 // id: %439
- cond_br %437, bb53, bb54, loc "ClassSelectorController.swift":160:18, scope 124 // id: %440
- bb53: // Preds: bb52
- destroy_value %396 : $UISegmentedControl, loc "ClassSelectorController.swift":176:9, scope 124 // id: %441
- destroy_addr %395 : $*UISegmentedControl, loc "ClassSelectorController.swift":176:9, scope 124 // id: %442
- dealloc_stack %383 : $*Optional<UISegmentedControl>, loc "ClassSelectorController.swift":176:9, scope 124 // id: %443
- // function_ref Double.init(_builtinFloatLiteral : Builtin.Float64) -> Double
- %444 = function_ref @_TFSdCfT20_builtinFloatLiteralBf64__Sd : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "ClassSelectorController.swift":161:27, scope 125 // user: %447
- %445 = metatype $@thin Double.Type, loc "ClassSelectorController.swift":161:27, scope 125 // user: %447
- %446 = float_literal $Builtin.FPIEEE64, 0x3FF0000000000000 // 1, loc "ClassSelectorController.swift":161:27, scope 125 // user: %447
- %447 = apply %444(%446, %445) : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "ClassSelectorController.swift":161:27, scope 125 // user: %448
- assign %447 to %377 : $*Double, loc "ClassSelectorController.swift":161:25, scope 125 // id: %448
- br bb72, loc "ClassSelectorController.swift":161:27, scope 111 // id: %449
- bb54: // Preds: bb52
- br bb55, loc "ClassSelectorController.swift":160:18, scope 124 // id: %450
- bb55: // Preds: bb54
- destroy_value %396 : $UISegmentedControl, loc "ClassSelectorController.swift":176:9, scope 126 // id: %451
- destroy_addr %395 : $*UISegmentedControl, loc "ClassSelectorController.swift":176:9, scope 126 // id: %452
- dealloc_stack %383 : $*Optional<UISegmentedControl>, loc "ClassSelectorController.swift":176:9, scope 126 // id: %453
- %454 = alloc_stack $Optional<UITextField>, loc "ClassSelectorController.swift":163:41, scope 127 // users: %493, %487, %466, %458, %457
- %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
- %456 = apply %455(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, loc "ClassSelectorController.swift":163:41, scope 127 // user: %457
- store %456 to [init] %454 : $*Optional<UITextField>, loc "ClassSelectorController.swift":163:41, scope 127 // id: %457
- switch_enum_addr %454 : $*Optional<UITextField>, case #Optional.none!enumelt: bb56, default bb57, loc "ClassSelectorController.swift":163:41, scope 127 // id: %458
- bb56: // Preds: bb55
- %459 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":163:41, scope 127 // user: %464
- %460 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":163:41, scope 127 // user: %464
- %461 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":163:41, scope 127 // user: %464
- %462 = integer_literal $Builtin.Word, 163, loc "ClassSelectorController.swift":163:41, scope 127 // user: %464
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %464 = apply %463(%459, %460, %461, %462) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":163:41, scope 127
- unreachable , loc "ClassSelectorController.swift":163:41, scope 127 // id: %465
- bb57: // Preds: bb55
- %466 = unchecked_take_enum_data_addr %454 : $*Optional<UITextField>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":163:41, scope 127 // users: %492, %486, %467
- %467 = load [copy] %466 : $*UITextField, loc "ClassSelectorController.swift":163:41, scope 127 // users: %491, %485, %469, %468
- %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
- %469 = apply %468(%467) : $@convention(objc_method) (UITextField) -> @autoreleased Optional<NSString>, loc "ClassSelectorController.swift":163:54, scope 127 // users: %474, %472
- %470 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":163:54, scope 127 // user: %472
- %471 = integer_literal $Builtin.Int1, 0, loc "ClassSelectorController.swift":163:54, scope 127 // user: %472
- %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
- cond_br %472, bb58, bb59, loc "ClassSelectorController.swift":163:54, scope 127 // id: %473
- bb58: // Preds: bb57
- %474 = unchecked_enum_data %469 : $Optional<NSString>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":163:54, scope 127 // user: %476
- // function_ref static String._unconditionallyBridgeFromObjectiveC(NSString?) -> String
- %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
- %476 = enum $Optional<NSString>, #Optional.some!enumelt.1, %474 : $NSString, loc "ClassSelectorController.swift":163:54, scope 127 // user: %478
- %477 = metatype $@thin String.Type, loc "ClassSelectorController.swift":163:54, scope 127 // user: %478
- %478 = apply %475(%476, %477) : $@convention(method) (@owned Optional<NSString>, @thin String.Type) -> @owned String, loc "ClassSelectorController.swift":163:54, scope 127 // user: %479
- %479 = enum $Optional<String>, #Optional.some!enumelt.1, %478 : $String, loc "ClassSelectorController.swift":163:54, scope 127 // user: %480
- br bb60(%479 : $Optional<String>), loc "ClassSelectorController.swift":163:54, scope 127 // id: %480
- bb59: // Preds: bb57
- %481 = enum $Optional<String>, #Optional.none!enumelt, loc "ClassSelectorController.swift":163:54, scope 127 // user: %482
- br bb60(%481 : $Optional<String>), loc "ClassSelectorController.swift":163:54, scope 127 // id: %482
- // %483 // user: %484
- bb60(%483 : $Optional<String>): // Preds: bb59 bb58
- switch_enum %483 : $Optional<String>, case #Optional.some!enumelt.1: bb62, default bb61, loc "ClassSelectorController.swift":163:54, scope 127 // id: %484
- bb61: // Preds: bb60
- destroy_value %467 : $UITextField, loc "ClassSelectorController.swift":167:17, scope 127 // id: %485
- destroy_addr %466 : $*UITextField, loc "ClassSelectorController.swift":167:17, scope 127 // id: %486
- dealloc_stack %454 : $*Optional<UITextField>, loc "ClassSelectorController.swift":167:17, scope 127 // id: %487
- br bb69, loc "ClassSelectorController.swift":163:54, scope 127 // id: %488
- // %489 // users: %512, %506, %560, %502, %498, %490
- bb62(%489 : $String): // Preds: bb60
- debug_value %489 : $String, let, name "creditsText", loc "ClassSelectorController.swift":163:27, scope 127 // id: %490
- destroy_value %467 : $UITextField, loc "ClassSelectorController.swift":163:54, scope 127 // id: %491
- destroy_addr %466 : $*UITextField, loc "ClassSelectorController.swift":163:54, scope 127 // id: %492
- dealloc_stack %454 : $*Optional<UITextField>, loc "ClassSelectorController.swift":163:54, scope 127 // id: %493
- // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
- %494 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "ClassSelectorController.swift":163:60, scope 127 // user: %500
- // function_ref static Bool.! prefix(Bool) -> Bool
- %495 = function_ref @_TZFSbop1nfSbSb : $@convention(method) (Bool, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":163:60, scope 127 // user: %499
- %496 = metatype $@thin Bool.Type, loc "ClassSelectorController.swift":163:60, scope 127 // user: %499
- // function_ref String.isEmpty.getter
- %497 = function_ref @_TFSSg7isEmptySb : $@convention(method) (@guaranteed String) -> Bool, loc "ClassSelectorController.swift":163:73, scope 127 // user: %498
- %498 = apply %497(%489) : $@convention(method) (@guaranteed String) -> Bool, loc "ClassSelectorController.swift":163:73, scope 127 // user: %499
- %499 = apply %495(%498, %496) : $@convention(method) (Bool, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":163:60, scope 127 // user: %500
- %500 = apply %494(%499) : $@convention(method) (Bool) -> Builtin.Int1, loc "ClassSelectorController.swift":163:73, scope 127 // user: %501
- cond_br %500, bb64, bb63, loc "ClassSelectorController.swift":163:73, scope 127 // id: %501
- bb63: // Preds: bb62
- destroy_value %489 : $String, loc "ClassSelectorController.swift":167:17, scope 127 // id: %502
- br bb69, loc "ClassSelectorController.swift":163:17, scope 127 // id: %503
- bb64: // Preds: bb62
- // function_ref Double.init(String) -> Double?
- %504 = function_ref @_TFSdCfSSGSqSd_ : $@convention(method) (@owned String, @thin Double.Type) -> Optional<Double>, loc "ClassSelectorController.swift":170:38, scope 127 // user: %507
- %505 = metatype $@thin Double.Type, loc "ClassSelectorController.swift":170:38, scope 127 // user: %507
- %506 = copy_value %489 : $String, loc "ClassSelectorController.swift":170:45, scope 127 // user: %507
- %507 = apply %504(%506, %505) : $@convention(method) (@owned String, @thin Double.Type) -> Optional<Double>, loc "ClassSelectorController.swift":170:56, scope 127 // user: %508
- switch_enum %507 : $Optional<Double>, case #Optional.some!enumelt.1: bb65, default bb66, loc "ClassSelectorController.swift":170:56, scope 127 // id: %508
- // %509 // users: %511, %510
- bb65(%509 : $Double): // Preds: bb64
- debug_value %509 : $Double, let, name "_credits", loc "ClassSelectorController.swift":170:27, scope 127 // id: %510
- assign %509 to %377 : $*Double, loc "ClassSelectorController.swift":175:25, scope 127 // id: %511
- destroy_value %489 : $String, loc "ClassSelectorController.swift":175:27, scope 111 // id: %512
- br bb72, loc "ClassSelectorController.swift":175:27, scope 111 // id: %513
- bb66: // Preds: bb64
- %514 = alloc_stack $Optional<UILabel>, loc "ClassSelectorController.swift":171:21, scope 128 // users: %539, %526, %518, %517
- %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
- %516 = apply %515(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UILabel>, loc "ClassSelectorController.swift":171:21, scope 128 // user: %517
- store %516 to [init] %514 : $*Optional<UILabel>, loc "ClassSelectorController.swift":171:21, scope 128 // id: %517
- switch_enum_addr %514 : $*Optional<UILabel>, case #Optional.none!enumelt: bb67, default bb68, loc "ClassSelectorController.swift":171:21, scope 128 // id: %518
- bb67: // Preds: bb66
- %519 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":171:21, scope 128 // user: %524
- %520 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":171:21, scope 128 // user: %524
- %521 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":171:21, scope 128 // user: %524
- %522 = integer_literal $Builtin.Word, 171, loc "ClassSelectorController.swift":171:21, scope 128 // user: %524
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %524 = apply %523(%519, %520, %521, %522) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":171:21, scope 128
- unreachable , loc "ClassSelectorController.swift":171:21, scope 128 // id: %525
- bb68: // Preds: bb66
- %526 = unchecked_take_enum_data_addr %514 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":171:21, scope 128 // users: %538, %527
- %527 = load [copy] %526 : $*UILabel, loc "ClassSelectorController.swift":171:21, scope 128 // users: %537, %528
- %528 = upcast %527 : $UILabel to $UIView, loc "ClassSelectorController.swift":171:21, scope 128 // users: %536, %533
- // function_ref Bool.init(_builtinBooleanLiteral : Builtin.Int1) -> Bool
- %529 = function_ref @_TFSbCfT22_builtinBooleanLiteralBi1__Sb : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":171:45, scope 128 // user: %532
- %530 = metatype $@thin Bool.Type, loc "ClassSelectorController.swift":171:45, scope 128 // user: %532
- %531 = integer_literal $Builtin.Int1, 0, loc "ClassSelectorController.swift":171:45, scope 128 // user: %532
- %532 = apply %529(%531, %530) : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":171:45, scope 128 // user: %535
- %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
- // function_ref _convertBoolToObjCBool(Bool) -> ObjCBool
- %534 = function_ref @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool, loc "ClassSelectorController.swift":171:43, scope 128 // user: %535
- %535 = apply %534(%532) : $@convention(thin) (Bool) -> ObjCBool, loc "ClassSelectorController.swift":171:43, scope 128 // user: %536
- %536 = apply %533(%535, %528) : $@convention(objc_method) (ObjCBool, UIView) -> (), loc "ClassSelectorController.swift":171:43, scope 128
- destroy_value %527 : $UILabel, loc "ClassSelectorController.swift":171:45, scope 128 // id: %537
- destroy_addr %526 : $*UILabel, loc "ClassSelectorController.swift":171:45, scope 128 // id: %538
- dealloc_stack %514 : $*Optional<UILabel>, loc "ClassSelectorController.swift":171:45, scope 128 // id: %539
- // function_ref print([Any], separator : String, terminator : String) -> ()
- %540 = function_ref @_TFs5printFTGSaP__9separatorSS10terminatorSS_T_ : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> (), loc "ClassSelectorController.swift":172:21, scope 128 // user: %559
- %541 = integer_literal $Builtin.Word, 1, loc "ClassSelectorController.swift":172:27, scope 128 // user: %543
- // function_ref _allocateUninitializedArray<A> (Builtin.Word) -> ([A], Builtin.RawPointer)
- %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
- %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
- %544 = tuple_extract %543 : $(Array<Any>, Builtin.RawPointer), 0, loc "ClassSelectorController.swift":172:27, scope 128 // user: %559
- %545 = tuple_extract %543 : $(Array<Any>, Builtin.RawPointer), 1, loc "ClassSelectorController.swift":172:27, scope 128 // user: %546
- %546 = pointer_to_address %545 : $Builtin.RawPointer to [strict] $*Any, loc "ClassSelectorController.swift":172:27, scope 128 // user: %547
- %547 = init_existential_addr %546 : $*Any, $String, loc "ClassSelectorController.swift":172:27, scope 128 // user: %554
- %548 = string_literal utf8 "Malformed credits.", loc "ClassSelectorController.swift":172:27, scope 128 // user: %553
- %549 = integer_literal $Builtin.Word, 18, loc "ClassSelectorController.swift":172:27, scope 128 // user: %553
- %550 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":172:27, scope 128 // user: %553
- %551 = metatype $@thin String.Type, loc "ClassSelectorController.swift":172:27, scope 128 // user: %553
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- store %553 to [init] %547 : $*String, loc "ClassSelectorController.swift":172:27, scope 128 // id: %554
- // function_ref (print([Any], separator : String, terminator : String) -> ()).(default argument 1)
- %555 = function_ref @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A0_ : $@convention(thin) () -> @owned String, loc "ClassSelectorController.swift":172:27, scope 128 // user: %556
- %556 = apply %555() : $@convention(thin) () -> @owned String, loc "ClassSelectorController.swift":172:27, scope 128 // user: %559
- // function_ref (print([Any], separator : String, terminator : String) -> ()).(default argument 2)
- %557 = function_ref @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A1_ : $@convention(thin) () -> @owned String, loc "ClassSelectorController.swift":172:27, scope 128 // user: %558
- %558 = apply %557() : $@convention(thin) () -> @owned String, loc "ClassSelectorController.swift":172:27, scope 128 // user: %559
- %559 = apply %540(%544, %556, %558) : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> (), loc "ClassSelectorController.swift":172:47, scope 128
- destroy_value %489 : $String, loc "ClassSelectorController.swift":199:5, scope 128 // id: %560
- destroy_value %376 : ${ var Double }, loc "ClassSelectorController.swift":199:5, scope 128 // id: %561
- destroy_value %352 : $String, loc "ClassSelectorController.swift":199:5, scope 128 // id: %562
- destroy_value %54 : ${ var Double }, loc "ClassSelectorController.swift":199:5, scope 128 // id: %563
- destroy_value %39 : $String, loc "ClassSelectorController.swift":199:5, scope 128 // id: %564
- br bb113, loc "ClassSelectorController.swift":173:21, scope 128 // id: %565
- bb69: // Preds: bb63 bb61
- %566 = alloc_stack $Optional<UILabel>, loc "ClassSelectorController.swift":164:21, scope 129 // users: %591, %578, %570, %569
- %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
- %568 = apply %567(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UILabel>, loc "ClassSelectorController.swift":164:21, scope 129 // user: %569
- store %568 to [init] %566 : $*Optional<UILabel>, loc "ClassSelectorController.swift":164:21, scope 129 // id: %569
- switch_enum_addr %566 : $*Optional<UILabel>, case #Optional.none!enumelt: bb70, default bb71, loc "ClassSelectorController.swift":164:21, scope 129 // id: %570
- bb70: // Preds: bb69
- %571 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":164:21, scope 129 // user: %576
- %572 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":164:21, scope 129 // user: %576
- %573 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":164:21, scope 129 // user: %576
- %574 = integer_literal $Builtin.Word, 164, loc "ClassSelectorController.swift":164:21, scope 129 // user: %576
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %576 = apply %575(%571, %572, %573, %574) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":164:21, scope 129
- unreachable , loc "ClassSelectorController.swift":164:21, scope 129 // id: %577
- bb71: // Preds: bb69
- %578 = unchecked_take_enum_data_addr %566 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":164:21, scope 129 // users: %590, %579
- %579 = load [copy] %578 : $*UILabel, loc "ClassSelectorController.swift":164:21, scope 129 // users: %589, %580
- %580 = upcast %579 : $UILabel to $UIView, loc "ClassSelectorController.swift":164:21, scope 129 // users: %588, %585
- // function_ref Bool.init(_builtinBooleanLiteral : Builtin.Int1) -> Bool
- %581 = function_ref @_TFSbCfT22_builtinBooleanLiteralBi1__Sb : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":164:45, scope 129 // user: %584
- %582 = metatype $@thin Bool.Type, loc "ClassSelectorController.swift":164:45, scope 129 // user: %584
- %583 = integer_literal $Builtin.Int1, 0, loc "ClassSelectorController.swift":164:45, scope 129 // user: %584
- %584 = apply %581(%583, %582) : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":164:45, scope 129 // user: %587
- %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
- // function_ref _convertBoolToObjCBool(Bool) -> ObjCBool
- %586 = function_ref @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool, loc "ClassSelectorController.swift":164:43, scope 129 // user: %587
- %587 = apply %586(%584) : $@convention(thin) (Bool) -> ObjCBool, loc "ClassSelectorController.swift":164:43, scope 129 // user: %588
- %588 = apply %585(%587, %580) : $@convention(objc_method) (ObjCBool, UIView) -> (), loc "ClassSelectorController.swift":164:43, scope 129
- destroy_value %579 : $UILabel, loc "ClassSelectorController.swift":164:45, scope 129 // id: %589
- destroy_addr %578 : $*UILabel, loc "ClassSelectorController.swift":164:45, scope 129 // id: %590
- dealloc_stack %566 : $*Optional<UILabel>, loc "ClassSelectorController.swift":164:45, scope 129 // id: %591
- // function_ref print([Any], separator : String, terminator : String) -> ()
- %592 = function_ref @_TFs5printFTGSaP__9separatorSS10terminatorSS_T_ : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> (), loc "ClassSelectorController.swift":165:21, scope 129 // user: %611
- %593 = integer_literal $Builtin.Word, 1, loc "ClassSelectorController.swift":165:27, scope 129 // user: %595
- // function_ref _allocateUninitializedArray<A> (Builtin.Word) -> ([A], Builtin.RawPointer)
- %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
- %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
- %596 = tuple_extract %595 : $(Array<Any>, Builtin.RawPointer), 0, loc "ClassSelectorController.swift":165:27, scope 129 // user: %611
- %597 = tuple_extract %595 : $(Array<Any>, Builtin.RawPointer), 1, loc "ClassSelectorController.swift":165:27, scope 129 // user: %598
- %598 = pointer_to_address %597 : $Builtin.RawPointer to [strict] $*Any, loc "ClassSelectorController.swift":165:27, scope 129 // user: %599
- %599 = init_existential_addr %598 : $*Any, $String, loc "ClassSelectorController.swift":165:27, scope 129 // user: %606
- %600 = string_literal utf8 "No credits specified.", loc "ClassSelectorController.swift":165:27, scope 129 // user: %605
- %601 = integer_literal $Builtin.Word, 21, loc "ClassSelectorController.swift":165:27, scope 129 // user: %605
- %602 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":165:27, scope 129 // user: %605
- %603 = metatype $@thin String.Type, loc "ClassSelectorController.swift":165:27, scope 129 // user: %605
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- store %605 to [init] %599 : $*String, loc "ClassSelectorController.swift":165:27, scope 129 // id: %606
- // function_ref (print([Any], separator : String, terminator : String) -> ()).(default argument 1)
- %607 = function_ref @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A0_ : $@convention(thin) () -> @owned String, loc "ClassSelectorController.swift":165:27, scope 129 // user: %608
- %608 = apply %607() : $@convention(thin) () -> @owned String, loc "ClassSelectorController.swift":165:27, scope 129 // user: %611
- // function_ref (print([Any], separator : String, terminator : String) -> ()).(default argument 2)
- %609 = function_ref @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A1_ : $@convention(thin) () -> @owned String, loc "ClassSelectorController.swift":165:27, scope 129 // user: %610
- %610 = apply %609() : $@convention(thin) () -> @owned String, loc "ClassSelectorController.swift":165:27, scope 129 // user: %611
- %611 = apply %592(%596, %608, %610) : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> (), loc "ClassSelectorController.swift":165:50, scope 129
- destroy_value %376 : ${ var Double }, loc "ClassSelectorController.swift":199:5, scope 129 // id: %612
- destroy_value %352 : $String, loc "ClassSelectorController.swift":199:5, scope 129 // id: %613
- destroy_value %54 : ${ var Double }, loc "ClassSelectorController.swift":199:5, scope 129 // id: %614
- destroy_value %39 : $String, loc "ClassSelectorController.swift":199:5, scope 129 // id: %615
- br bb113, loc "ClassSelectorController.swift":166:21, scope 129 // id: %616
- bb72: // Preds: bb65 bb53 bb50
- %617 = metatype $@thick Information.Type, loc "ClassSelectorController.swift":179:9, scope 111
- // function_ref Information.classesAndGrades.unsafeMutableAddressor
- %618 = function_ref @_TFC3gpa11Informationau16classesAndGradesGSaS0__ : $@convention(thin) () -> Builtin.RawPointer, loc "ClassSelectorController.swift":179:21, scope 111 // user: %619
- %619 = apply %618() : $@convention(thin) () -> Builtin.RawPointer, loc "ClassSelectorController.swift":179:21, scope 111 // user: %620
- %620 = pointer_to_address %619 : $Builtin.RawPointer to [strict] $*Array<Information>, loc "ClassSelectorController.swift":179:21, scope 111 // user: %630
- %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
- %622 = apply %621(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> Int, loc "ClassSelectorController.swift":179:38, scope 111 // user: %630
- // function_ref Information.__allocating_init(String, grade : Int, multiplier : Double, credits : Double) -> Information
- %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
- %624 = metatype $@thick Information.Type, loc "ClassSelectorController.swift":179:50, scope 111 // user: %628
- %625 = copy_value %39 : $String, loc "ClassSelectorController.swift":179:62, scope 111 // user: %628
- %626 = load [trivial] %55 : $*Double, loc "ClassSelectorController.swift":179:106, scope 111 // user: %628
- %627 = load [trivial] %377 : $*Double, loc "ClassSelectorController.swift":179:127, scope 111 // user: %628
- %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
- // function_ref Array.subscript.nativePinningMutableAddressor
- %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
- %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
- %631 = tuple_extract %630 : $(UnsafeMutablePointer<Information>, Optional<Builtin.NativeObject>), 0, loc "ClassSelectorController.swift":179:48, scope 111 // user: %633
- %632 = tuple_extract %630 : $(UnsafeMutablePointer<Information>, Optional<Builtin.NativeObject>), 1, loc "ClassSelectorController.swift":179:48, scope 111 // users: %637, %635
- %633 = struct_extract %631 : $UnsafeMutablePointer<Information>, #UnsafeMutablePointer._rawValue, loc "ClassSelectorController.swift":179:48, scope 111 // user: %634
- %634 = pointer_to_address %633 : $Builtin.RawPointer to [strict] $*Information, loc "ClassSelectorController.swift":179:48, scope 111 // user: %635
- %635 = mark_dependence %634 : $*Information on %632 : $Optional<Builtin.NativeObject>, loc "ClassSelectorController.swift":179:48, scope 111 // user: %636
- assign %628 to %635 : $*Information, loc "ClassSelectorController.swift":179:48, scope 111 // id: %636
- strong_unpin %632 : $Optional<Builtin.NativeObject>, loc "ClassSelectorController.swift":179:48, scope 111 // id: %637
- %638 = metatype $@thick Information.Type, loc "ClassSelectorController.swift":180:9, scope 111
- // function_ref Information.keyValueStore.unsafeMutableAddressor
- %639 = function_ref @_TFC3gpa11Informationau13keyValueStoreCSo25NSUbiquitousKeyValueStore : $@convention(thin) () -> Builtin.RawPointer, loc "ClassSelectorController.swift":180:21, scope 111 // user: %640
- %640 = apply %639() : $@convention(thin) () -> Builtin.RawPointer, loc "ClassSelectorController.swift":180:21, scope 111 // user: %641
- %641 = pointer_to_address %640 : $Builtin.RawPointer to [strict] $*NSUbiquitousKeyValueStore, loc "ClassSelectorController.swift":180:21, scope 111 // user: %642
- %642 = load [copy] %641 : $*NSUbiquitousKeyValueStore, loc "ClassSelectorController.swift":180:21, scope 111 // users: %687, %681, %643
- %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
- %644 = metatype $@thick NSKeyedArchiver.Type, loc "ClassSelectorController.swift":180:39, scope 111 // users: %646, %645
- %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
- %646 = thick_to_objc_metatype %644 : $@thick NSKeyedArchiver.Type to $@objc_metatype NSKeyedArchiver.Type, loc "ClassSelectorController.swift":180:39, scope 111 // user: %655
- %647 = metatype $@thick Information.Type, loc "ClassSelectorController.swift":180:84, scope 111
- // function_ref Information.classesAndGrades.unsafeMutableAddressor
- %648 = function_ref @_TFC3gpa11Informationau16classesAndGradesGSaS0__ : $@convention(thin) () -> Builtin.RawPointer, loc "ClassSelectorController.swift":180:96, scope 111 // user: %649
- %649 = apply %648() : $@convention(thin) () -> Builtin.RawPointer, loc "ClassSelectorController.swift":180:96, scope 111 // user: %650
- %650 = pointer_to_address %649 : $Builtin.RawPointer to [strict] $*Array<Information>, loc "ClassSelectorController.swift":180:96, scope 111 // user: %651
- %651 = load [copy] %650 : $*Array<Information>, loc "ClassSelectorController.swift":180:96, scope 111 // users: %686, %653
- // function_ref Array._bridgeToObjectiveC() -> NSArray
- %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
- %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
- %654 = init_existential_ref %653 : $NSArray : $NSArray, $AnyObject, loc "ClassSelectorController.swift":180:96, scope 111 // user: %655
- %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
- // function_ref static Data._unconditionallyBridgeFromObjectiveC(NSData?) -> Data
- %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
- %657 = metatype $@thin Data.Type, loc "ClassSelectorController.swift":180:112, scope 111 // user: %658
- %658 = apply %656(%655, %657) : $@convention(method) (@owned Optional<NSData>, @thin Data.Type) -> @owned Data, loc "ClassSelectorController.swift":180:112, scope 111 // user: %659
- %659 = enum $Optional<Data>, #Optional.some!enumelt.1, %658 : $Data, loc "ClassSelectorController.swift":180:55, scope 111 // users: %664, %662
- %660 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":180:55, scope 111 // user: %662
- %661 = integer_literal $Builtin.Int1, 0, loc "ClassSelectorController.swift":180:55, scope 111 // user: %662
- %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
- cond_br %662, bb73, bb74, loc "ClassSelectorController.swift":180:55, scope 111 // id: %663
- bb73: // Preds: bb72
- %664 = unchecked_enum_data %659 : $Optional<Data>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":180:55, scope 111 // users: %668, %666
- // function_ref Data._bridgeToObjectiveC() -> NSData
- %665 = function_ref @_TFV10Foundation4Data19_bridgeToObjectiveCfT_CSo6NSData : $@convention(method) (@guaranteed Data) -> @owned NSData, loc "ClassSelectorController.swift":180:55, scope 111 // user: %666
- %666 = apply %665(%664) : $@convention(method) (@guaranteed Data) -> @owned NSData, loc "ClassSelectorController.swift":180:55, scope 111 // user: %667
- %667 = enum $Optional<NSData>, #Optional.some!enumelt.1, %666 : $NSData, loc "ClassSelectorController.swift":180:55, scope 111 // user: %669
- destroy_value %664 : $Data, loc "ClassSelectorController.swift":180:112, scope 111 // id: %668
- br bb75(%667 : $Optional<NSData>), loc "ClassSelectorController.swift":180:55, scope 111 // id: %669
- bb74: // Preds: bb72
- %670 = enum $Optional<NSData>, #Optional.none!enumelt, loc "ClassSelectorController.swift":180:55, scope 111 // user: %671
- br bb75(%670 : $Optional<NSData>), loc "ClassSelectorController.swift":180:55, scope 111 // id: %671
- // %672 // users: %684, %681
- bb75(%672 : $Optional<NSData>): // Preds: bb74 bb73
- %673 = string_literal utf8 "savedList", loc "ClassSelectorController.swift":180:123, scope 111 // user: %678
- %674 = integer_literal $Builtin.Word, 9, loc "ClassSelectorController.swift":180:123, scope 111 // user: %678
- %675 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":180:123, scope 111 // user: %678
- %676 = metatype $@thin String.Type, loc "ClassSelectorController.swift":180:123, scope 111 // user: %678
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- // function_ref String._bridgeToObjectiveC() -> NSString
- %679 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassSelectorController.swift":180:123, scope 111 // user: %680
- %680 = apply %679(%678) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassSelectorController.swift":180:123, scope 111 // users: %682, %681
- %681 = apply %643(%672, %680, %642) : $@convention(objc_method) (Optional<NSData>, NSString, NSUbiquitousKeyValueStore) -> (), loc "ClassSelectorController.swift":180:134, scope 111
- destroy_value %680 : $NSString, loc "ClassSelectorController.swift":180:134, scope 111 // id: %682
- destroy_value %678 : $String, loc "ClassSelectorController.swift":180:134, scope 111 // id: %683
- destroy_value %672 : $Optional<NSData>, loc "ClassSelectorController.swift":180:134, scope 111 // id: %684
- destroy_value %653 : $NSArray, loc "ClassSelectorController.swift":180:134, scope 111 // id: %685
- destroy_value %651 : $Array<Information>, loc "ClassSelectorController.swift":180:134, scope 111 // id: %686
- destroy_value %642 : $NSUbiquitousKeyValueStore, loc "ClassSelectorController.swift":180:134, scope 111 // id: %687
- %688 = alloc_stack $Optional<UITextField>, loc "ClassSelectorController.swift":182:9, scope 111 // users: %727, %700, %692, %691
- %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
- %690 = apply %689(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, loc "ClassSelectorController.swift":182:9, scope 111 // user: %691
- store %690 to [init] %688 : $*Optional<UITextField>, loc "ClassSelectorController.swift":182:9, scope 111 // id: %691
- switch_enum_addr %688 : $*Optional<UITextField>, case #Optional.none!enumelt: bb76, default bb77, loc "ClassSelectorController.swift":182:9, scope 111 // id: %692
- bb76: // Preds: bb75
- %693 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":182:9, scope 111 // user: %698
- %694 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":182:9, scope 111 // user: %698
- %695 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":182:9, scope 111 // user: %698
- %696 = integer_literal $Builtin.Word, 182, loc "ClassSelectorController.swift":182:9, scope 111 // user: %698
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %698 = apply %697(%693, %694, %695, %696) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":182:9, scope 111
- unreachable , loc "ClassSelectorController.swift":182:9, scope 111 // id: %699
- bb77: // Preds: bb75
- %700 = unchecked_take_enum_data_addr %688 : $*Optional<UITextField>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":182:9, scope 111 // users: %726, %701
- %701 = load [copy] %700 : $*UITextField, loc "ClassSelectorController.swift":182:9, scope 111 // users: %725, %723, %709
- %702 = string_literal utf8 "", loc "ClassSelectorController.swift":182:31, scope 111 // user: %707
- %703 = integer_literal $Builtin.Word, 0, loc "ClassSelectorController.swift":182:31, scope 111 // user: %707
- %704 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":182:31, scope 111 // user: %707
- %705 = metatype $@thin String.Type, loc "ClassSelectorController.swift":182:31, scope 111 // user: %707
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- %708 = enum $Optional<String>, #Optional.some!enumelt.1, %707 : $String, loc "ClassSelectorController.swift":182:31, scope 111 // users: %714, %712
- %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
- %710 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":182:29, scope 111 // user: %712
- %711 = integer_literal $Builtin.Int1, 0, loc "ClassSelectorController.swift":182:29, scope 111 // user: %712
- %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
- cond_br %712, bb78, bb79, loc "ClassSelectorController.swift":182:29, scope 111 // id: %713
- bb78: // Preds: bb77
- %714 = unchecked_enum_data %708 : $Optional<String>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":182:29, scope 111 // users: %718, %716
- // function_ref String._bridgeToObjectiveC() -> NSString
- %715 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassSelectorController.swift":182:29, scope 111 // user: %716
- %716 = apply %715(%714) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassSelectorController.swift":182:29, scope 111 // user: %717
- %717 = enum $Optional<NSString>, #Optional.some!enumelt.1, %716 : $NSString, loc "ClassSelectorController.swift":182:29, scope 111 // user: %719
- destroy_value %714 : $String, loc "ClassSelectorController.swift":182:31, scope 111 // id: %718
- br bb80(%717 : $Optional<NSString>), loc "ClassSelectorController.swift":182:29, scope 111 // id: %719
- bb79: // Preds: bb77
- %720 = enum $Optional<NSString>, #Optional.none!enumelt, loc "ClassSelectorController.swift":182:29, scope 111 // user: %721
- br bb80(%720 : $Optional<NSString>), loc "ClassSelectorController.swift":182:29, scope 111 // id: %721
- // %722 // users: %724, %723
- bb80(%722 : $Optional<NSString>): // Preds: bb79 bb78
- %723 = apply %709(%722, %701) : $@convention(objc_method) (Optional<NSString>, UITextField) -> (), loc "ClassSelectorController.swift":182:29, scope 111
- destroy_value %722 : $Optional<NSString>, loc "ClassSelectorController.swift":182:31, scope 111 // id: %724
- destroy_value %701 : $UITextField, loc "ClassSelectorController.swift":182:31, scope 111 // id: %725
- destroy_addr %700 : $*UITextField, loc "ClassSelectorController.swift":182:31, scope 111 // id: %726
- dealloc_stack %688 : $*Optional<UITextField>, loc "ClassSelectorController.swift":182:31, scope 111 // id: %727
- %728 = alloc_stack $Optional<UITextField>, loc "ClassSelectorController.swift":183:9, scope 111 // users: %767, %740, %732, %731
- %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
- %730 = apply %729(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, loc "ClassSelectorController.swift":183:9, scope 111 // user: %731
- store %730 to [init] %728 : $*Optional<UITextField>, loc "ClassSelectorController.swift":183:9, scope 111 // id: %731
- switch_enum_addr %728 : $*Optional<UITextField>, case #Optional.none!enumelt: bb81, default bb82, loc "ClassSelectorController.swift":183:9, scope 111 // id: %732
- bb81: // Preds: bb80
- %733 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":183:9, scope 111 // user: %738
- %734 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":183:9, scope 111 // user: %738
- %735 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":183:9, scope 111 // user: %738
- %736 = integer_literal $Builtin.Word, 183, loc "ClassSelectorController.swift":183:9, scope 111 // user: %738
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %738 = apply %737(%733, %734, %735, %736) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":183:9, scope 111
- unreachable , loc "ClassSelectorController.swift":183:9, scope 111 // id: %739
- bb82: // Preds: bb80
- %740 = unchecked_take_enum_data_addr %728 : $*Optional<UITextField>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":183:9, scope 111 // users: %766, %741
- %741 = load [copy] %740 : $*UITextField, loc "ClassSelectorController.swift":183:9, scope 111 // users: %765, %763, %749
- %742 = string_literal utf8 "", loc "ClassSelectorController.swift":183:32, scope 111 // user: %747
- %743 = integer_literal $Builtin.Word, 0, loc "ClassSelectorController.swift":183:32, scope 111 // user: %747
- %744 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":183:32, scope 111 // user: %747
- %745 = metatype $@thin String.Type, loc "ClassSelectorController.swift":183:32, scope 111 // user: %747
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- %748 = enum $Optional<String>, #Optional.some!enumelt.1, %747 : $String, loc "ClassSelectorController.swift":183:32, scope 111 // users: %754, %752
- %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
- %750 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":183:30, scope 111 // user: %752
- %751 = integer_literal $Builtin.Int1, 0, loc "ClassSelectorController.swift":183:30, scope 111 // user: %752
- %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
- cond_br %752, bb83, bb84, loc "ClassSelectorController.swift":183:30, scope 111 // id: %753
- bb83: // Preds: bb82
- %754 = unchecked_enum_data %748 : $Optional<String>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":183:30, scope 111 // users: %758, %756
- // function_ref String._bridgeToObjectiveC() -> NSString
- %755 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassSelectorController.swift":183:30, scope 111 // user: %756
- %756 = apply %755(%754) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassSelectorController.swift":183:30, scope 111 // user: %757
- %757 = enum $Optional<NSString>, #Optional.some!enumelt.1, %756 : $NSString, loc "ClassSelectorController.swift":183:30, scope 111 // user: %759
- destroy_value %754 : $String, loc "ClassSelectorController.swift":183:32, scope 111 // id: %758
- br bb85(%757 : $Optional<NSString>), loc "ClassSelectorController.swift":183:30, scope 111 // id: %759
- bb84: // Preds: bb82
- %760 = enum $Optional<NSString>, #Optional.none!enumelt, loc "ClassSelectorController.swift":183:30, scope 111 // user: %761
- br bb85(%760 : $Optional<NSString>), loc "ClassSelectorController.swift":183:30, scope 111 // id: %761
- // %762 // users: %764, %763
- bb85(%762 : $Optional<NSString>): // Preds: bb84 bb83
- %763 = apply %749(%762, %741) : $@convention(objc_method) (Optional<NSString>, UITextField) -> (), loc "ClassSelectorController.swift":183:30, scope 111
- destroy_value %762 : $Optional<NSString>, loc "ClassSelectorController.swift":183:32, scope 111 // id: %764
- destroy_value %741 : $UITextField, loc "ClassSelectorController.swift":183:32, scope 111 // id: %765
- destroy_addr %740 : $*UITextField, loc "ClassSelectorController.swift":183:32, scope 111 // id: %766
- dealloc_stack %728 : $*Optional<UITextField>, loc "ClassSelectorController.swift":183:32, scope 111 // id: %767
- %768 = alloc_stack $Optional<UISegmentedControl>, loc "ClassSelectorController.swift":184:9, scope 111 // users: %790, %780, %772, %771
- %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
- %770 = apply %769(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UISegmentedControl>, loc "ClassSelectorController.swift":184:9, scope 111 // user: %771
- store %770 to [init] %768 : $*Optional<UISegmentedControl>, loc "ClassSelectorController.swift":184:9, scope 111 // id: %771
- switch_enum_addr %768 : $*Optional<UISegmentedControl>, case #Optional.none!enumelt: bb86, default bb87, loc "ClassSelectorController.swift":184:9, scope 111 // id: %772
- bb86: // Preds: bb85
- %773 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":184:9, scope 111 // user: %778
- %774 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":184:9, scope 111 // user: %778
- %775 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":184:9, scope 111 // user: %778
- %776 = integer_literal $Builtin.Word, 184, loc "ClassSelectorController.swift":184:9, scope 111 // user: %778
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %778 = apply %777(%773, %774, %775, %776) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":184:9, scope 111
- unreachable , loc "ClassSelectorController.swift":184:9, scope 111 // id: %779
- bb87: // Preds: bb85
- %780 = unchecked_take_enum_data_addr %768 : $*Optional<UISegmentedControl>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":184:9, scope 111 // users: %789, %781
- %781 = load [copy] %780 : $*UISegmentedControl, loc "ClassSelectorController.swift":184:9, scope 111 // users: %788, %787, %786
- // function_ref Int.init(_builtinIntegerLiteral : Builtin.Int2048) -> Int
- %782 = function_ref @_TFSiCfT22_builtinIntegerLiteralBi2048__Si : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":184:46, scope 111 // user: %785
- %783 = metatype $@thin Int.Type, loc "ClassSelectorController.swift":184:46, scope 111 // user: %785
- %784 = integer_literal $Builtin.Int2048, 0, loc "ClassSelectorController.swift":184:46, scope 111 // user: %785
- %785 = apply %782(%784, %783) : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":184:46, scope 111 // user: %787
- %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
- %787 = apply %786(%785, %781) : $@convention(objc_method) (Int, UISegmentedControl) -> (), loc "ClassSelectorController.swift":184:44, scope 111
- destroy_value %781 : $UISegmentedControl, loc "ClassSelectorController.swift":184:46, scope 111 // id: %788
- destroy_addr %780 : $*UISegmentedControl, loc "ClassSelectorController.swift":184:46, scope 111 // id: %789
- dealloc_stack %768 : $*Optional<UISegmentedControl>, loc "ClassSelectorController.swift":184:46, scope 111 // id: %790
- %791 = alloc_stack $Optional<UITextField>, loc "ClassSelectorController.swift":185:9, scope 111 // users: %830, %803, %795, %794
- %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
- %793 = apply %792(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, loc "ClassSelectorController.swift":185:9, scope 111 // user: %794
- store %793 to [init] %791 : $*Optional<UITextField>, loc "ClassSelectorController.swift":185:9, scope 111 // id: %794
- switch_enum_addr %791 : $*Optional<UITextField>, case #Optional.none!enumelt: bb88, default bb89, loc "ClassSelectorController.swift":185:9, scope 111 // id: %795
- bb88: // Preds: bb87
- %796 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":185:9, scope 111 // user: %801
- %797 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":185:9, scope 111 // user: %801
- %798 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":185:9, scope 111 // user: %801
- %799 = integer_literal $Builtin.Word, 185, loc "ClassSelectorController.swift":185:9, scope 111 // user: %801
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %801 = apply %800(%796, %797, %798, %799) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":185:9, scope 111
- unreachable , loc "ClassSelectorController.swift":185:9, scope 111 // id: %802
- bb89: // Preds: bb87
- %803 = unchecked_take_enum_data_addr %791 : $*Optional<UITextField>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":185:9, scope 111 // users: %829, %804
- %804 = load [copy] %803 : $*UITextField, loc "ClassSelectorController.swift":185:9, scope 111 // users: %828, %826, %812
- %805 = string_literal utf8 "", loc "ClassSelectorController.swift":185:34, scope 111 // user: %810
- %806 = integer_literal $Builtin.Word, 0, loc "ClassSelectorController.swift":185:34, scope 111 // user: %810
- %807 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":185:34, scope 111 // user: %810
- %808 = metatype $@thin String.Type, loc "ClassSelectorController.swift":185:34, scope 111 // user: %810
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- %811 = enum $Optional<String>, #Optional.some!enumelt.1, %810 : $String, loc "ClassSelectorController.swift":185:34, scope 111 // users: %817, %815
- %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
- %813 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":185:32, scope 111 // user: %815
- %814 = integer_literal $Builtin.Int1, 0, loc "ClassSelectorController.swift":185:32, scope 111 // user: %815
- %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
- cond_br %815, bb90, bb91, loc "ClassSelectorController.swift":185:32, scope 111 // id: %816
- bb90: // Preds: bb89
- %817 = unchecked_enum_data %811 : $Optional<String>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":185:32, scope 111 // users: %821, %819
- // function_ref String._bridgeToObjectiveC() -> NSString
- %818 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassSelectorController.swift":185:32, scope 111 // user: %819
- %819 = apply %818(%817) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassSelectorController.swift":185:32, scope 111 // user: %820
- %820 = enum $Optional<NSString>, #Optional.some!enumelt.1, %819 : $NSString, loc "ClassSelectorController.swift":185:32, scope 111 // user: %822
- destroy_value %817 : $String, loc "ClassSelectorController.swift":185:34, scope 111 // id: %821
- br bb92(%820 : $Optional<NSString>), loc "ClassSelectorController.swift":185:32, scope 111 // id: %822
- bb91: // Preds: bb89
- %823 = enum $Optional<NSString>, #Optional.none!enumelt, loc "ClassSelectorController.swift":185:32, scope 111 // user: %824
- br bb92(%823 : $Optional<NSString>), loc "ClassSelectorController.swift":185:32, scope 111 // id: %824
- // %825 // users: %827, %826
- bb92(%825 : $Optional<NSString>): // Preds: bb91 bb90
- %826 = apply %812(%825, %804) : $@convention(objc_method) (Optional<NSString>, UITextField) -> (), loc "ClassSelectorController.swift":185:32, scope 111
- destroy_value %825 : $Optional<NSString>, loc "ClassSelectorController.swift":185:34, scope 111 // id: %827
- destroy_value %804 : $UITextField, loc "ClassSelectorController.swift":185:34, scope 111 // id: %828
- destroy_addr %803 : $*UITextField, loc "ClassSelectorController.swift":185:34, scope 111 // id: %829
- dealloc_stack %791 : $*Optional<UITextField>, loc "ClassSelectorController.swift":185:34, scope 111 // id: %830
- %831 = alloc_stack $Optional<UITextField>, loc "ClassSelectorController.swift":186:9, scope 111 // users: %870, %843, %835, %834
- %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
- %833 = apply %832(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UITextField>, loc "ClassSelectorController.swift":186:9, scope 111 // user: %834
- store %833 to [init] %831 : $*Optional<UITextField>, loc "ClassSelectorController.swift":186:9, scope 111 // id: %834
- switch_enum_addr %831 : $*Optional<UITextField>, case #Optional.none!enumelt: bb93, default bb94, loc "ClassSelectorController.swift":186:9, scope 111 // id: %835
- bb93: // Preds: bb92
- %836 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":186:9, scope 111 // user: %841
- %837 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":186:9, scope 111 // user: %841
- %838 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":186:9, scope 111 // user: %841
- %839 = integer_literal $Builtin.Word, 186, loc "ClassSelectorController.swift":186:9, scope 111 // user: %841
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %841 = apply %840(%836, %837, %838, %839) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":186:9, scope 111
- unreachable , loc "ClassSelectorController.swift":186:9, scope 111 // id: %842
- bb94: // Preds: bb92
- %843 = unchecked_take_enum_data_addr %831 : $*Optional<UITextField>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":186:9, scope 111 // users: %869, %844
- %844 = load [copy] %843 : $*UITextField, loc "ClassSelectorController.swift":186:9, scope 111 // users: %868, %866, %852
- %845 = string_literal utf8 "", loc "ClassSelectorController.swift":186:29, scope 111 // user: %850
- %846 = integer_literal $Builtin.Word, 0, loc "ClassSelectorController.swift":186:29, scope 111 // user: %850
- %847 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":186:29, scope 111 // user: %850
- %848 = metatype $@thin String.Type, loc "ClassSelectorController.swift":186:29, scope 111 // user: %850
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- %851 = enum $Optional<String>, #Optional.some!enumelt.1, %850 : $String, loc "ClassSelectorController.swift":186:29, scope 111 // users: %857, %855
- %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
- %853 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":186:27, scope 111 // user: %855
- %854 = integer_literal $Builtin.Int1, 0, loc "ClassSelectorController.swift":186:27, scope 111 // user: %855
- %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
- cond_br %855, bb95, bb96, loc "ClassSelectorController.swift":186:27, scope 111 // id: %856
- bb95: // Preds: bb94
- %857 = unchecked_enum_data %851 : $Optional<String>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":186:27, scope 111 // users: %861, %859
- // function_ref String._bridgeToObjectiveC() -> NSString
- %858 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassSelectorController.swift":186:27, scope 111 // user: %859
- %859 = apply %858(%857) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassSelectorController.swift":186:27, scope 111 // user: %860
- %860 = enum $Optional<NSString>, #Optional.some!enumelt.1, %859 : $NSString, loc "ClassSelectorController.swift":186:27, scope 111 // user: %862
- destroy_value %857 : $String, loc "ClassSelectorController.swift":186:29, scope 111 // id: %861
- br bb97(%860 : $Optional<NSString>), loc "ClassSelectorController.swift":186:27, scope 111 // id: %862
- bb96: // Preds: bb94
- %863 = enum $Optional<NSString>, #Optional.none!enumelt, loc "ClassSelectorController.swift":186:27, scope 111 // user: %864
- br bb97(%863 : $Optional<NSString>), loc "ClassSelectorController.swift":186:27, scope 111 // id: %864
- // %865 // users: %867, %866
- bb97(%865 : $Optional<NSString>): // Preds: bb96 bb95
- %866 = apply %852(%865, %844) : $@convention(objc_method) (Optional<NSString>, UITextField) -> (), loc "ClassSelectorController.swift":186:27, scope 111
- destroy_value %865 : $Optional<NSString>, loc "ClassSelectorController.swift":186:29, scope 111 // id: %867
- destroy_value %844 : $UITextField, loc "ClassSelectorController.swift":186:29, scope 111 // id: %868
- destroy_addr %843 : $*UITextField, loc "ClassSelectorController.swift":186:29, scope 111 // id: %869
- dealloc_stack %831 : $*Optional<UITextField>, loc "ClassSelectorController.swift":186:29, scope 111 // id: %870
- %871 = alloc_stack $Optional<UISegmentedControl>, loc "ClassSelectorController.swift":187:9, scope 111 // users: %893, %883, %875, %874
- %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
- %873 = apply %872(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UISegmentedControl>, loc "ClassSelectorController.swift":187:9, scope 111 // user: %874
- store %873 to [init] %871 : $*Optional<UISegmentedControl>, loc "ClassSelectorController.swift":187:9, scope 111 // id: %874
- switch_enum_addr %871 : $*Optional<UISegmentedControl>, case #Optional.none!enumelt: bb98, default bb99, loc "ClassSelectorController.swift":187:9, scope 111 // id: %875
- bb98: // Preds: bb97
- %876 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":187:9, scope 111 // user: %881
- %877 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":187:9, scope 111 // user: %881
- %878 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":187:9, scope 111 // user: %881
- %879 = integer_literal $Builtin.Word, 187, loc "ClassSelectorController.swift":187:9, scope 111 // user: %881
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %881 = apply %880(%876, %877, %878, %879) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":187:9, scope 111
- unreachable , loc "ClassSelectorController.swift":187:9, scope 111 // id: %882
- bb99: // Preds: bb97
- %883 = unchecked_take_enum_data_addr %871 : $*Optional<UISegmentedControl>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":187:9, scope 111 // users: %892, %884
- %884 = load [copy] %883 : $*UISegmentedControl, loc "ClassSelectorController.swift":187:9, scope 111 // users: %891, %890, %889
- // function_ref Int.init(_builtinIntegerLiteral : Builtin.Int2048) -> Int
- %885 = function_ref @_TFSiCfT22_builtinIntegerLiteralBi2048__Si : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":187:43, scope 111 // user: %888
- %886 = metatype $@thin Int.Type, loc "ClassSelectorController.swift":187:43, scope 111 // user: %888
- %887 = integer_literal $Builtin.Int2048, 0, loc "ClassSelectorController.swift":187:43, scope 111 // user: %888
- %888 = apply %885(%887, %886) : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "ClassSelectorController.swift":187:43, scope 111 // user: %890
- %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
- %890 = apply %889(%888, %884) : $@convention(objc_method) (Int, UISegmentedControl) -> (), loc "ClassSelectorController.swift":187:41, scope 111
- destroy_value %884 : $UISegmentedControl, loc "ClassSelectorController.swift":187:43, scope 111 // id: %891
- destroy_addr %883 : $*UISegmentedControl, loc "ClassSelectorController.swift":187:43, scope 111 // id: %892
- dealloc_stack %871 : $*Optional<UISegmentedControl>, loc "ClassSelectorController.swift":187:43, scope 111 // id: %893
- %894 = alloc_stack $Optional<UILabel>, loc "ClassSelectorController.swift":189:9, scope 111 // users: %919, %906, %898, %897
- %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
- %896 = apply %895(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UILabel>, loc "ClassSelectorController.swift":189:9, scope 111 // user: %897
- store %896 to [init] %894 : $*Optional<UILabel>, loc "ClassSelectorController.swift":189:9, scope 111 // id: %897
- switch_enum_addr %894 : $*Optional<UILabel>, case #Optional.none!enumelt: bb100, default bb101, loc "ClassSelectorController.swift":189:9, scope 111 // id: %898
- bb100: // Preds: bb99
- %899 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":189:9, scope 111 // user: %904
- %900 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":189:9, scope 111 // user: %904
- %901 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":189:9, scope 111 // user: %904
- %902 = integer_literal $Builtin.Word, 189, loc "ClassSelectorController.swift":189:9, scope 111 // user: %904
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %904 = apply %903(%899, %900, %901, %902) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":189:9, scope 111
- unreachable , loc "ClassSelectorController.swift":189:9, scope 111 // id: %905
- bb101: // Preds: bb99
- %906 = unchecked_take_enum_data_addr %894 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":189:9, scope 111 // users: %918, %907
- %907 = load [copy] %906 : $*UILabel, loc "ClassSelectorController.swift":189:9, scope 111 // users: %917, %908
- %908 = upcast %907 : $UILabel to $UIView, loc "ClassSelectorController.swift":189:9, scope 111 // users: %916, %913
- // function_ref Bool.init(_builtinBooleanLiteral : Builtin.Int1) -> Bool
- %909 = function_ref @_TFSbCfT22_builtinBooleanLiteralBi1__Sb : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":189:33, scope 111 // user: %912
- %910 = metatype $@thin Bool.Type, loc "ClassSelectorController.swift":189:33, scope 111 // user: %912
- %911 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":189:33, scope 111 // user: %912
- %912 = apply %909(%911, %910) : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":189:33, scope 111 // user: %915
- %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
- // function_ref _convertBoolToObjCBool(Bool) -> ObjCBool
- %914 = function_ref @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool, loc "ClassSelectorController.swift":189:31, scope 111 // user: %915
- %915 = apply %914(%912) : $@convention(thin) (Bool) -> ObjCBool, loc "ClassSelectorController.swift":189:31, scope 111 // user: %916
- %916 = apply %913(%915, %908) : $@convention(objc_method) (ObjCBool, UIView) -> (), loc "ClassSelectorController.swift":189:31, scope 111
- destroy_value %907 : $UILabel, loc "ClassSelectorController.swift":189:33, scope 111 // id: %917
- destroy_addr %906 : $*UILabel, loc "ClassSelectorController.swift":189:33, scope 111 // id: %918
- dealloc_stack %894 : $*Optional<UILabel>, loc "ClassSelectorController.swift":189:33, scope 111 // id: %919
- %920 = alloc_stack $Optional<UIBarButtonItem>, loc "ClassSelectorController.swift":190:9, scope 111 // users: %945, %932, %924, %923
- %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
- %922 = apply %921(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UIBarButtonItem>, loc "ClassSelectorController.swift":190:9, scope 111 // user: %923
- store %922 to [init] %920 : $*Optional<UIBarButtonItem>, loc "ClassSelectorController.swift":190:9, scope 111 // id: %923
- switch_enum_addr %920 : $*Optional<UIBarButtonItem>, case #Optional.none!enumelt: bb102, default bb103, loc "ClassSelectorController.swift":190:9, scope 111 // id: %924
- bb102: // Preds: bb101
- %925 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":190:9, scope 111 // user: %930
- %926 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":190:9, scope 111 // user: %930
- %927 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":190:9, scope 111 // user: %930
- %928 = integer_literal $Builtin.Word, 190, loc "ClassSelectorController.swift":190:9, scope 111 // user: %930
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %930 = apply %929(%925, %926, %927, %928) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":190:9, scope 111
- unreachable , loc "ClassSelectorController.swift":190:9, scope 111 // id: %931
- bb103: // Preds: bb101
- %932 = unchecked_take_enum_data_addr %920 : $*Optional<UIBarButtonItem>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":190:9, scope 111 // users: %944, %933
- %933 = load [copy] %932 : $*UIBarButtonItem, loc "ClassSelectorController.swift":190:9, scope 111 // users: %943, %934
- %934 = upcast %933 : $UIBarButtonItem to $UIBarItem, loc "ClassSelectorController.swift":190:9, scope 111 // users: %942, %939
- // function_ref Bool.init(_builtinBooleanLiteral : Builtin.Int1) -> Bool
- %935 = function_ref @_TFSbCfT22_builtinBooleanLiteralBi1__Sb : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":190:34, scope 111 // user: %938
- %936 = metatype $@thin Bool.Type, loc "ClassSelectorController.swift":190:34, scope 111 // user: %938
- %937 = integer_literal $Builtin.Int1, 0, loc "ClassSelectorController.swift":190:34, scope 111 // user: %938
- %938 = apply %935(%937, %936) : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":190:34, scope 111 // user: %941
- %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
- // function_ref _convertBoolToObjCBool(Bool) -> ObjCBool
- %940 = function_ref @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool, loc "ClassSelectorController.swift":190:32, scope 111 // user: %941
- %941 = apply %940(%938) : $@convention(thin) (Bool) -> ObjCBool, loc "ClassSelectorController.swift":190:32, scope 111 // user: %942
- %942 = apply %939(%941, %934) : $@convention(objc_method) (ObjCBool, UIBarItem) -> (), loc "ClassSelectorController.swift":190:32, scope 111
- destroy_value %933 : $UIBarButtonItem, loc "ClassSelectorController.swift":190:34, scope 111 // id: %943
- destroy_addr %932 : $*UIBarButtonItem, loc "ClassSelectorController.swift":190:34, scope 111 // id: %944
- dealloc_stack %920 : $*Optional<UIBarButtonItem>, loc "ClassSelectorController.swift":190:34, scope 111 // id: %945
- // function_ref DispatchQueue.async(group : DispatchGroup?, qos : DispatchQoS, flags : DispatchWorkItemFlags, execute : @convention(block) () -> ()) -> ()
- %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
- %947 = metatype $@thick DispatchQueue.Type, loc "ClassSelectorController.swift":193:9, scope 111 // user: %949
- // function_ref static DispatchQueue.main.getter
- %948 = function_ref @_TZFE8DispatchCSo13DispatchQueueg4mainS0_ : $@convention(method) (@thick DispatchQueue.Type) -> @owned DispatchQueue, loc "ClassSelectorController.swift":193:23, scope 111 // user: %949
- %949 = apply %948(%947) : $@convention(method) (@thick DispatchQueue.Type) -> @owned DispatchQueue, loc "ClassSelectorController.swift":193:23, scope 111 // users: %966, %965
- // function_ref ClassSelectorController.(updateClass(Any) -> ()).(closure #1)
- %950 = function_ref @_TFFC3gpa23ClassSelectorController11updateClassFP_T_U_FT_T_ : $@convention(thin) (@owned ClassSelectorController) -> (), loc "ClassSelectorController.swift":193:34, scope 111 // user: %952
- %951 = copy_value %1 : $ClassSelectorController, loc "ClassSelectorController.swift":193:34, scope 111 // user: %952
- %952 = partial_apply %950(%951) : $@convention(thin) (@owned ClassSelectorController) -> (), loc "ClassSelectorController.swift":193:34, scope 111 // users: %968, %955
- %953 = alloc_stack $@block_storage @callee_owned () -> (), loc "ClassSelectorController.swift":193:34, scope 111 // users: %967, %957, %954
- %954 = project_block_storage %953 : $*@block_storage @callee_owned () -> (), loc "ClassSelectorController.swift":193:34, scope 111 // user: %955
- store %952 to [init] %954 : $*@callee_owned () -> (), loc "ClassSelectorController.swift":193:34, scope 111 // id: %955
- // function_ref thunk
- %956 = function_ref @_TTRXFo___XFdCb___ : $@convention(c) (@inout_aliasable @block_storage @callee_owned () -> ()) -> (), loc "ClassSelectorController.swift":193:34, scope 111 // user: %957
- %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
- %958 = copy_block %957 : $@convention(block) () -> (), loc "ClassSelectorController.swift":193:34, scope 111 // user: %965
- // function_ref DispatchQueue.(async(group : DispatchGroup?, qos : DispatchQoS, flags : DispatchWorkItemFlags, execute : @convention(block) () -> ()) -> ()).(default argument 0)
- %959 = function_ref @_TIFE8DispatchCSo13DispatchQueue5asyncFT5groupGSqCSo13DispatchGroup_3qosVS_11DispatchQoS5flagsVS_21DispatchWorkItemFlags7executebT_T__T_A_ : $@convention(thin) () -> @owned Optional<DispatchGroup>, loc "ClassSelectorController.swift":193:34, scope 111 // user: %960
- %960 = apply %959() : $@convention(thin) () -> @owned Optional<DispatchGroup>, loc "ClassSelectorController.swift":193:34, scope 111 // user: %965
- // function_ref DispatchQueue.(async(group : DispatchGroup?, qos : DispatchQoS, flags : DispatchWorkItemFlags, execute : @convention(block) () -> ()) -> ()).(default argument 1)
- %961 = function_ref @_TIFE8DispatchCSo13DispatchQueue5asyncFT5groupGSqCSo13DispatchGroup_3qosVS_11DispatchQoS5flagsVS_21DispatchWorkItemFlags7executebT_T__T_A0_ : $@convention(thin) () -> DispatchQoS, loc "ClassSelectorController.swift":193:34, scope 111 // user: %962
- %962 = apply %961() : $@convention(thin) () -> DispatchQoS, loc "ClassSelectorController.swift":193:34, scope 111 // user: %965
- // function_ref DispatchQueue.(async(group : DispatchGroup?, qos : DispatchQoS, flags : DispatchWorkItemFlags, execute : @convention(block) () -> ()) -> ()).(default argument 2)
- %963 = function_ref @_TIFE8DispatchCSo13DispatchQueue5asyncFT5groupGSqCSo13DispatchGroup_3qosVS_11DispatchQoS5flagsVS_21DispatchWorkItemFlags7executebT_T__T_A1_ : $@convention(thin) () -> DispatchWorkItemFlags, loc "ClassSelectorController.swift":193:34, scope 111 // user: %964
- %964 = apply %963() : $@convention(thin) () -> DispatchWorkItemFlags, loc "ClassSelectorController.swift":193:34, scope 111 // user: %965
- %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
- destroy_value %949 : $DispatchQueue, loc "ClassSelectorController.swift":198:9, scope 111 // id: %966
- dealloc_stack %953 : $*@block_storage @callee_owned () -> (), loc "ClassSelectorController.swift":198:9, scope 111 // id: %967
- destroy_value %952 : $@callee_owned () -> (), loc "ClassSelectorController.swift":198:9, scope 111 // id: %968
- destroy_value %376 : ${ var Double }, loc "ClassSelectorController.swift":199:5, scope 111 // id: %969
- destroy_value %352 : $String, loc "ClassSelectorController.swift":199:5, scope 111 // id: %970
- destroy_value %54 : ${ var Double }, loc "ClassSelectorController.swift":199:5, scope 111 // id: %971
- destroy_value %39 : $String, loc "ClassSelectorController.swift":199:5, scope 111 // id: %972
- br bb113, loc "ClassSelectorController.swift":199:5, scope 111 // id: %973
- bb104: // Preds: bb46
- %974 = alloc_stack $Optional<UILabel>, loc "ClassSelectorController.swift":149:13, scope 130 // users: %999, %986, %978, %977
- %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
- %976 = apply %975(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UILabel>, loc "ClassSelectorController.swift":149:13, scope 130 // user: %977
- store %976 to [init] %974 : $*Optional<UILabel>, loc "ClassSelectorController.swift":149:13, scope 130 // id: %977
- switch_enum_addr %974 : $*Optional<UILabel>, case #Optional.none!enumelt: bb105, default bb106, loc "ClassSelectorController.swift":149:13, scope 130 // id: %978
- bb105: // Preds: bb104
- %979 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":149:13, scope 130 // user: %984
- %980 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":149:13, scope 130 // user: %984
- %981 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":149:13, scope 130 // user: %984
- %982 = integer_literal $Builtin.Word, 149, loc "ClassSelectorController.swift":149:13, scope 130 // user: %984
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %984 = apply %983(%979, %980, %981, %982) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":149:13, scope 130
- unreachable , loc "ClassSelectorController.swift":149:13, scope 130 // id: %985
- bb106: // Preds: bb104
- %986 = unchecked_take_enum_data_addr %974 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":149:13, scope 130 // users: %998, %987
- %987 = load [copy] %986 : $*UILabel, loc "ClassSelectorController.swift":149:13, scope 130 // users: %997, %988
- %988 = upcast %987 : $UILabel to $UIView, loc "ClassSelectorController.swift":149:13, scope 130 // users: %996, %993
- // function_ref Bool.init(_builtinBooleanLiteral : Builtin.Int1) -> Bool
- %989 = function_ref @_TFSbCfT22_builtinBooleanLiteralBi1__Sb : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":149:37, scope 130 // user: %992
- %990 = metatype $@thin Bool.Type, loc "ClassSelectorController.swift":149:37, scope 130 // user: %992
- %991 = integer_literal $Builtin.Int1, 0, loc "ClassSelectorController.swift":149:37, scope 130 // user: %992
- %992 = apply %989(%991, %990) : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":149:37, scope 130 // user: %995
- %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
- // function_ref _convertBoolToObjCBool(Bool) -> ObjCBool
- %994 = function_ref @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool, loc "ClassSelectorController.swift":149:35, scope 130 // user: %995
- %995 = apply %994(%992) : $@convention(thin) (Bool) -> ObjCBool, loc "ClassSelectorController.swift":149:35, scope 130 // user: %996
- %996 = apply %993(%995, %988) : $@convention(objc_method) (ObjCBool, UIView) -> (), loc "ClassSelectorController.swift":149:35, scope 130
- destroy_value %987 : $UILabel, loc "ClassSelectorController.swift":149:37, scope 130 // id: %997
- destroy_addr %986 : $*UILabel, loc "ClassSelectorController.swift":149:37, scope 130 // id: %998
- dealloc_stack %974 : $*Optional<UILabel>, loc "ClassSelectorController.swift":149:37, scope 130 // id: %999
- // function_ref print([Any], separator : String, terminator : String) -> ()
- %1000 = function_ref @_TFs5printFTGSaP__9separatorSS10terminatorSS_T_ : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> (), loc "ClassSelectorController.swift":150:13, scope 130 // user: %1019
- %1001 = integer_literal $Builtin.Word, 1, loc "ClassSelectorController.swift":150:19, scope 130 // user: %1003
- // function_ref _allocateUninitializedArray<A> (Builtin.Word) -> ([A], Builtin.RawPointer)
- %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
- %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
- %1004 = tuple_extract %1003 : $(Array<Any>, Builtin.RawPointer), 0, loc "ClassSelectorController.swift":150:19, scope 130 // user: %1019
- %1005 = tuple_extract %1003 : $(Array<Any>, Builtin.RawPointer), 1, loc "ClassSelectorController.swift":150:19, scope 130 // user: %1006
- %1006 = pointer_to_address %1005 : $Builtin.RawPointer to [strict] $*Any, loc "ClassSelectorController.swift":150:19, scope 130 // user: %1007
- %1007 = init_existential_addr %1006 : $*Any, $String, loc "ClassSelectorController.swift":150:19, scope 130 // user: %1014
- %1008 = string_literal utf8 "Malformed current grade.", loc "ClassSelectorController.swift":150:19, scope 130 // user: %1013
- %1009 = integer_literal $Builtin.Word, 24, loc "ClassSelectorController.swift":150:19, scope 130 // user: %1013
- %1010 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":150:19, scope 130 // user: %1013
- %1011 = metatype $@thin String.Type, loc "ClassSelectorController.swift":150:19, scope 130 // user: %1013
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- store %1013 to [init] %1007 : $*String, loc "ClassSelectorController.swift":150:19, scope 130 // id: %1014
- // function_ref (print([Any], separator : String, terminator : String) -> ()).(default argument 1)
- %1015 = function_ref @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A0_ : $@convention(thin) () -> @owned String, loc "ClassSelectorController.swift":150:19, scope 130 // user: %1016
- %1016 = apply %1015() : $@convention(thin) () -> @owned String, loc "ClassSelectorController.swift":150:19, scope 130 // user: %1019
- // function_ref (print([Any], separator : String, terminator : String) -> ()).(default argument 2)
- %1017 = function_ref @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A1_ : $@convention(thin) () -> @owned String, loc "ClassSelectorController.swift":150:19, scope 130 // user: %1018
- %1018 = apply %1017() : $@convention(thin) () -> @owned String, loc "ClassSelectorController.swift":150:19, scope 130 // user: %1019
- %1019 = apply %1000(%1004, %1016, %1018) : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> (), loc "ClassSelectorController.swift":150:45, scope 130
- destroy_value %352 : $String, loc "ClassSelectorController.swift":199:5, scope 130 // id: %1020
- destroy_value %54 : ${ var Double }, loc "ClassSelectorController.swift":199:5, scope 130 // id: %1021
- destroy_value %39 : $String, loc "ClassSelectorController.swift":199:5, scope 130 // id: %1022
- br bb113, loc "ClassSelectorController.swift":151:13, scope 130 // id: %1023
- bb107: // Preds: bb45 bb43
- %1024 = alloc_stack $Optional<UILabel>, loc "ClassSelectorController.swift":144:13, scope 131 // users: %1049, %1036, %1028, %1027
- %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
- %1026 = apply %1025(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UILabel>, loc "ClassSelectorController.swift":144:13, scope 131 // user: %1027
- store %1026 to [init] %1024 : $*Optional<UILabel>, loc "ClassSelectorController.swift":144:13, scope 131 // id: %1027
- switch_enum_addr %1024 : $*Optional<UILabel>, case #Optional.none!enumelt: bb108, default bb109, loc "ClassSelectorController.swift":144:13, scope 131 // id: %1028
- bb108: // Preds: bb107
- %1029 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":144:13, scope 131 // user: %1034
- %1030 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":144:13, scope 131 // user: %1034
- %1031 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":144:13, scope 131 // user: %1034
- %1032 = integer_literal $Builtin.Word, 144, loc "ClassSelectorController.swift":144:13, scope 131 // user: %1034
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %1034 = apply %1033(%1029, %1030, %1031, %1032) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":144:13, scope 131
- unreachable , loc "ClassSelectorController.swift":144:13, scope 131 // id: %1035
- bb109: // Preds: bb107
- %1036 = unchecked_take_enum_data_addr %1024 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":144:13, scope 131 // users: %1048, %1037
- %1037 = load [copy] %1036 : $*UILabel, loc "ClassSelectorController.swift":144:13, scope 131 // users: %1047, %1038
- %1038 = upcast %1037 : $UILabel to $UIView, loc "ClassSelectorController.swift":144:13, scope 131 // users: %1046, %1043
- // function_ref Bool.init(_builtinBooleanLiteral : Builtin.Int1) -> Bool
- %1039 = function_ref @_TFSbCfT22_builtinBooleanLiteralBi1__Sb : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":144:37, scope 131 // user: %1042
- %1040 = metatype $@thin Bool.Type, loc "ClassSelectorController.swift":144:37, scope 131 // user: %1042
- %1041 = integer_literal $Builtin.Int1, 0, loc "ClassSelectorController.swift":144:37, scope 131 // user: %1042
- %1042 = apply %1039(%1041, %1040) : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":144:37, scope 131 // user: %1045
- %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
- // function_ref _convertBoolToObjCBool(Bool) -> ObjCBool
- %1044 = function_ref @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool, loc "ClassSelectorController.swift":144:35, scope 131 // user: %1045
- %1045 = apply %1044(%1042) : $@convention(thin) (Bool) -> ObjCBool, loc "ClassSelectorController.swift":144:35, scope 131 // user: %1046
- %1046 = apply %1043(%1045, %1038) : $@convention(objc_method) (ObjCBool, UIView) -> (), loc "ClassSelectorController.swift":144:35, scope 131
- destroy_value %1037 : $UILabel, loc "ClassSelectorController.swift":144:37, scope 131 // id: %1047
- destroy_addr %1036 : $*UILabel, loc "ClassSelectorController.swift":144:37, scope 131 // id: %1048
- dealloc_stack %1024 : $*Optional<UILabel>, loc "ClassSelectorController.swift":144:37, scope 131 // id: %1049
- // function_ref print([Any], separator : String, terminator : String) -> ()
- %1050 = function_ref @_TFs5printFTGSaP__9separatorSS10terminatorSS_T_ : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> (), loc "ClassSelectorController.swift":145:13, scope 131 // user: %1069
- %1051 = integer_literal $Builtin.Word, 1, loc "ClassSelectorController.swift":145:19, scope 131 // user: %1053
- // function_ref _allocateUninitializedArray<A> (Builtin.Word) -> ([A], Builtin.RawPointer)
- %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
- %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
- %1054 = tuple_extract %1053 : $(Array<Any>, Builtin.RawPointer), 0, loc "ClassSelectorController.swift":145:19, scope 131 // user: %1069
- %1055 = tuple_extract %1053 : $(Array<Any>, Builtin.RawPointer), 1, loc "ClassSelectorController.swift":145:19, scope 131 // user: %1056
- %1056 = pointer_to_address %1055 : $Builtin.RawPointer to [strict] $*Any, loc "ClassSelectorController.swift":145:19, scope 131 // user: %1057
- %1057 = init_existential_addr %1056 : $*Any, $String, loc "ClassSelectorController.swift":145:19, scope 131 // user: %1064
- %1058 = string_literal utf8 "No current grade specified.", loc "ClassSelectorController.swift":145:19, scope 131 // user: %1063
- %1059 = integer_literal $Builtin.Word, 27, loc "ClassSelectorController.swift":145:19, scope 131 // user: %1063
- %1060 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":145:19, scope 131 // user: %1063
- %1061 = metatype $@thin String.Type, loc "ClassSelectorController.swift":145:19, scope 131 // user: %1063
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- store %1063 to [init] %1057 : $*String, loc "ClassSelectorController.swift":145:19, scope 131 // id: %1064
- // function_ref (print([Any], separator : String, terminator : String) -> ()).(default argument 1)
- %1065 = function_ref @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A0_ : $@convention(thin) () -> @owned String, loc "ClassSelectorController.swift":145:19, scope 131 // user: %1066
- %1066 = apply %1065() : $@convention(thin) () -> @owned String, loc "ClassSelectorController.swift":145:19, scope 131 // user: %1069
- // function_ref (print([Any], separator : String, terminator : String) -> ()).(default argument 2)
- %1067 = function_ref @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A1_ : $@convention(thin) () -> @owned String, loc "ClassSelectorController.swift":145:19, scope 131 // user: %1068
- %1068 = apply %1067() : $@convention(thin) () -> @owned String, loc "ClassSelectorController.swift":145:19, scope 131 // user: %1069
- %1069 = apply %1050(%1054, %1066, %1068) : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> (), loc "ClassSelectorController.swift":145:48, scope 131
- destroy_value %54 : ${ var Double }, loc "ClassSelectorController.swift":199:5, scope 131 // id: %1070
- destroy_value %39 : $String, loc "ClassSelectorController.swift":199:5, scope 131 // id: %1071
- br bb113, loc "ClassSelectorController.swift":146:13, scope 131 // id: %1072
- bb110: // Preds: bb8 bb6
- %1073 = alloc_stack $Optional<UILabel>, loc "ClassSelectorController.swift":111:13, scope 132 // users: %1098, %1085, %1077, %1076
- %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
- %1075 = apply %1074(%1) : $@convention(method) (@guaranteed ClassSelectorController) -> @owned Optional<UILabel>, loc "ClassSelectorController.swift":111:13, scope 132 // user: %1076
- store %1075 to [init] %1073 : $*Optional<UILabel>, loc "ClassSelectorController.swift":111:13, scope 132 // id: %1076
- switch_enum_addr %1073 : $*Optional<UILabel>, case #Optional.none!enumelt: bb111, default bb112, loc "ClassSelectorController.swift":111:13, scope 132 // id: %1077
- bb111: // Preds: bb110
- %1078 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":111:13, scope 132 // user: %1083
- %1079 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":111:13, scope 132 // user: %1083
- %1080 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":111:13, scope 132 // user: %1083
- %1081 = integer_literal $Builtin.Word, 111, loc "ClassSelectorController.swift":111:13, scope 132 // user: %1083
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %1083 = apply %1082(%1078, %1079, %1080, %1081) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":111:13, scope 132
- unreachable , loc "ClassSelectorController.swift":111:13, scope 132 // id: %1084
- bb112: // Preds: bb110
- %1085 = unchecked_take_enum_data_addr %1073 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":111:13, scope 132 // users: %1097, %1086
- %1086 = load [copy] %1085 : $*UILabel, loc "ClassSelectorController.swift":111:13, scope 132 // users: %1096, %1087
- %1087 = upcast %1086 : $UILabel to $UIView, loc "ClassSelectorController.swift":111:13, scope 132 // users: %1095, %1092
- // function_ref Bool.init(_builtinBooleanLiteral : Builtin.Int1) -> Bool
- %1088 = function_ref @_TFSbCfT22_builtinBooleanLiteralBi1__Sb : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":111:37, scope 132 // user: %1091
- %1089 = metatype $@thin Bool.Type, loc "ClassSelectorController.swift":111:37, scope 132 // user: %1091
- %1090 = integer_literal $Builtin.Int1, 0, loc "ClassSelectorController.swift":111:37, scope 132 // user: %1091
- %1091 = apply %1088(%1090, %1089) : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":111:37, scope 132 // user: %1094
- %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
- // function_ref _convertBoolToObjCBool(Bool) -> ObjCBool
- %1093 = function_ref @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool, loc "ClassSelectorController.swift":111:35, scope 132 // user: %1094
- %1094 = apply %1093(%1091) : $@convention(thin) (Bool) -> ObjCBool, loc "ClassSelectorController.swift":111:35, scope 132 // user: %1095
- %1095 = apply %1092(%1094, %1087) : $@convention(objc_method) (ObjCBool, UIView) -> (), loc "ClassSelectorController.swift":111:35, scope 132
- destroy_value %1086 : $UILabel, loc "ClassSelectorController.swift":111:37, scope 132 // id: %1096
- destroy_addr %1085 : $*UILabel, loc "ClassSelectorController.swift":111:37, scope 132 // id: %1097
- dealloc_stack %1073 : $*Optional<UILabel>, loc "ClassSelectorController.swift":111:37, scope 132 // id: %1098
- // function_ref print([Any], separator : String, terminator : String) -> ()
- %1099 = function_ref @_TFs5printFTGSaP__9separatorSS10terminatorSS_T_ : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> (), loc "ClassSelectorController.swift":112:13, scope 132 // user: %1118
- %1100 = integer_literal $Builtin.Word, 1, loc "ClassSelectorController.swift":112:19, scope 132 // user: %1102
- // function_ref _allocateUninitializedArray<A> (Builtin.Word) -> ([A], Builtin.RawPointer)
- %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
- %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
- %1103 = tuple_extract %1102 : $(Array<Any>, Builtin.RawPointer), 0, loc "ClassSelectorController.swift":112:19, scope 132 // user: %1118
- %1104 = tuple_extract %1102 : $(Array<Any>, Builtin.RawPointer), 1, loc "ClassSelectorController.swift":112:19, scope 132 // user: %1105
- %1105 = pointer_to_address %1104 : $Builtin.RawPointer to [strict] $*Any, loc "ClassSelectorController.swift":112:19, scope 132 // user: %1106
- %1106 = init_existential_addr %1105 : $*Any, $String, loc "ClassSelectorController.swift":112:19, scope 132 // user: %1113
- %1107 = string_literal utf8 "No class name specified.", loc "ClassSelectorController.swift":112:19, scope 132 // user: %1112
- %1108 = integer_literal $Builtin.Word, 24, loc "ClassSelectorController.swift":112:19, scope 132 // user: %1112
- %1109 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":112:19, scope 132 // user: %1112
- %1110 = metatype $@thin String.Type, loc "ClassSelectorController.swift":112:19, scope 132 // user: %1112
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- store %1112 to [init] %1106 : $*String, loc "ClassSelectorController.swift":112:19, scope 132 // id: %1113
- // function_ref (print([Any], separator : String, terminator : String) -> ()).(default argument 1)
- %1114 = function_ref @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A0_ : $@convention(thin) () -> @owned String, loc "ClassSelectorController.swift":112:19, scope 132 // user: %1115
- %1115 = apply %1114() : $@convention(thin) () -> @owned String, loc "ClassSelectorController.swift":112:19, scope 132 // user: %1118
- // function_ref (print([Any], separator : String, terminator : String) -> ()).(default argument 2)
- %1116 = function_ref @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A1_ : $@convention(thin) () -> @owned String, loc "ClassSelectorController.swift":112:19, scope 132 // user: %1117
- %1117 = apply %1116() : $@convention(thin) () -> @owned String, loc "ClassSelectorController.swift":112:19, scope 132 // user: %1118
- %1118 = apply %1099(%1103, %1115, %1117) : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> (), loc "ClassSelectorController.swift":112:45, scope 132
- br bb113, loc "ClassSelectorController.swift":113:13, scope 132 // id: %1119
- bb113: // Preds: bb103 bb68 bb71 bb106 bb109 bb33 bb36 bb112
- destroy_addr %0 : $*Any, loc "ClassSelectorController.swift":199:5, scope 111 // id: %1120
- %1121 = tuple (), loc "ClassSelectorController.swift":199:5, scope 111 // user: %1122
- return %1121 : $(), loc "ClassSelectorController.swift":199:5, scope 111 // id: %1122
- } // end sil function '_TFC3gpa23ClassSelectorController11updateClassfP_T_'
- // print([Any], separator : String, terminator : String) -> ()
- sil [noinline] [_semantics "stdlib_binary_only"] @_TFs5printFTGSaP__9separatorSS10terminatorSS_T_ : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> ()
- // (print([Any], separator : String, terminator : String) -> ()).(default argument 1)
- sil [noinline] [_semantics "stdlib_binary_only"] @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A0_ : $@convention(thin) () -> @owned String
- // (print([Any], separator : String, terminator : String) -> ()).(default argument 2)
- sil [noinline] [_semantics "stdlib_binary_only"] @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A1_ : $@convention(thin) () -> @owned String
- // static String._unconditionallyBridgeFromObjectiveC(NSString?) -> String
- sil @_TZFE10FoundationSS36_unconditionallyBridgeFromObjectiveCfGSqCSo8NSString_SS : $@convention(method) (@owned Optional<NSString>, @thin String.Type) -> @owned String
- // static Bool.! prefix(Bool) -> Bool
- sil [transparent] [fragile] @_TZFSbop1nfSbSb : $@convention(method) (Bool, @thin Bool.Type) -> Bool
- // String.isEmpty.getter
- sil @_TFSSg7isEmptySb : $@convention(method) (@guaranteed String) -> Bool
- // Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
- sil [transparent] [fragile] @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double
- // Double.init(String) -> Double?
- sil @_TFSdCfSSGSqSd_ : $@convention(method) (@owned String, @thin Double.Type) -> Optional<Double>
- // Int.init(String, radix : Int) -> Int?
- sil @_TFSiCfTSS5radixSi_GSqSi_ : $@convention(method) (@owned String, Int, @thin Int.Type) -> Optional<Int>
- // Int.(init(String, radix : Int) -> Int?).(default argument 1)
- sil @_TIFSicFTSS5radixSi_GSqSi_A0_ : $@convention(thin) () -> Int
- // Information.__allocating_init(String, grade : Int, multiplier : Double, credits : Double) -> Information
- sil hidden_external @_TFC3gpa11InformationCfTSS5gradeSi10multiplierSd7creditsSd_S0_ : $@convention(method) (@owned String, Int, Double, Double, @thick Information.Type) -> @owned Information
- // Array.subscript.nativePinningMutableAddressor
- sil @_TFSaap9subscriptFSix : $@convention(method) <τ_0_0> (Int, @inout Array<τ_0_0>) -> (UnsafeMutablePointer<τ_0_0>, @owned Optional<Builtin.NativeObject>)
- // Information.keyValueStore.unsafeMutableAddressor
- sil hidden_external [global_init] @_TFC3gpa11Informationau13keyValueStoreCSo25NSUbiquitousKeyValueStore : $@convention(thin) () -> Builtin.RawPointer
- // Array._bridgeToObjectiveC() -> NSArray
- sil [_semantics "convertToObjectiveC"] @_TFE10FoundationSa19_bridgeToObjectiveCfT_CSo7NSArray : $@convention(method) <τ_0_0> (@guaranteed Array<τ_0_0>) -> @owned NSArray
- // static Data._unconditionallyBridgeFromObjectiveC(NSData?) -> Data
- sil @_TZFV10Foundation4Data36_unconditionallyBridgeFromObjectiveCfGSqCSo6NSData_S0_ : $@convention(method) (@owned Optional<NSData>, @thin Data.Type) -> @owned Data
- // Data._bridgeToObjectiveC() -> NSData
- sil [_semantics "convertToObjectiveC"] @_TFV10Foundation4Data19_bridgeToObjectiveCfT_CSo6NSData : $@convention(method) (@guaranteed Data) -> @owned NSData
- // DispatchQueue.async(group : DispatchGroup?, qos : DispatchQoS, flags : DispatchWorkItemFlags, execute : @convention(block) () -> ()) -> ()
- sil @_TFE8DispatchCSo13DispatchQueue5asyncfT5groupGSqCSo13DispatchGroup_3qosVS_11DispatchQoS5flagsVS_21DispatchWorkItemFlags7executebT_T__T_ : $@convention(method) (@owned Optional<DispatchGroup>, DispatchQoS, DispatchWorkItemFlags, @owned @convention(block) () -> (), @guaranteed DispatchQueue) -> ()
- // static DispatchQueue.main.getter
- sil @_TZFE8DispatchCSo13DispatchQueueg4mainS0_ : $@convention(method) (@thick DispatchQueue.Type) -> @owned DispatchQueue
- sil_scope 133 { loc "ClassSelectorController.swift":193:34 parent @_TFFC3gpa23ClassSelectorController11updateClassFP_T_U_FT_T_ : $@convention(thin) (@owned ClassSelectorController) -> () }
- sil_scope 134 { loc "ClassSelectorController.swift":198:9 parent 133 }
- // ClassSelectorController.(updateClass(Any) -> ()).(closure #1)
- sil shared @_TFFC3gpa23ClassSelectorController11updateClassFP_T_U_FT_T_ : $@convention(thin) (@owned ClassSelectorController) -> () {
- // %0 // users: %57, %49, %38, %2, %1
- bb0(%0 : $ClassSelectorController):
- debug_value %0 : $ClassSelectorController, let, name "self", argno 1, loc "ClassSelectorController.swift":108:20, scope 133 // id: %1
- %2 = copy_value %0 : $ClassSelectorController, loc "ClassSelectorController.swift":194:13, scope 134 // users: %31, %3
- %3 = upcast %2 : $ClassSelectorController to $UIViewController, loc "ClassSelectorController.swift":194:13, scope 134 // users: %6, %5
- %4 = alloc_stack $Optional<UIView>, loc "ClassSelectorController.swift":194:18, scope 134 // users: %30, %16, %8, %7
- %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
- %6 = apply %5(%3) : $@convention(objc_method) (UIViewController) -> @autoreleased Optional<UIView>, loc "ClassSelectorController.swift":194:18, scope 134 // user: %7
- store %6 to [init] %4 : $*Optional<UIView>, loc "ClassSelectorController.swift":194:18, scope 134 // id: %7
- switch_enum_addr %4 : $*Optional<UIView>, case #Optional.none!enumelt: bb1, default bb2, loc "ClassSelectorController.swift":194:18, scope 134 // id: %8
- bb1: // Preds: bb0
- %9 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":194:18, scope 134 // user: %14
- %10 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":194:18, scope 134 // user: %14
- %11 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":194:18, scope 134 // user: %14
- %12 = integer_literal $Builtin.Word, 194, loc "ClassSelectorController.swift":194:18, scope 134 // user: %14
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %14 = apply %13(%9, %10, %11, %12) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":194:18, scope 134
- unreachable , loc "ClassSelectorController.swift":194:18, scope 134 // id: %15
- bb2: // Preds: bb0
- %16 = unchecked_take_enum_data_addr %4 : $*Optional<UIView>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":194:18, scope 134 // users: %29, %17
- %17 = load [copy] %16 : $*UIView, loc "ClassSelectorController.swift":194:18, scope 134 // users: %28, %25, %18
- %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
- // function_ref Bool.init(_builtinBooleanLiteral : Builtin.Int1) -> Bool
- %19 = function_ref @_TFSbCfT22_builtinBooleanLiteralBi1__Sb : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":194:34, scope 134 // user: %22
- %20 = metatype $@thin Bool.Type, loc "ClassSelectorController.swift":194:34, scope 134 // user: %22
- %21 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":194:34, scope 134 // user: %22
- %22 = apply %19(%21, %20) : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":194:34, scope 134 // user: %24
- // function_ref _convertBoolToObjCBool(Bool) -> ObjCBool
- %23 = function_ref @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool, loc "ClassSelectorController.swift":194:34, scope 134 // user: %24
- %24 = apply %23(%22) : $@convention(thin) (Bool) -> ObjCBool, loc "ClassSelectorController.swift":194:34, scope 134 // user: %25
- %25 = apply %18(%24, %17) : $@convention(objc_method) (ObjCBool, UIView) -> ObjCBool, loc "ClassSelectorController.swift":194:38, scope 134 // user: %27
- // function_ref _convertObjCBoolToBool(ObjCBool) -> Bool
- %26 = function_ref @_TF10ObjectiveC22_convertObjCBoolToBoolFVS_8ObjCBoolSb : $@convention(thin) (ObjCBool) -> Bool, loc "ClassSelectorController.swift":194:38, scope 134 // user: %27
- %27 = apply %26(%25) : $@convention(thin) (ObjCBool) -> Bool, loc "ClassSelectorController.swift":194:38, scope 134
- destroy_value %17 : $UIView, loc "ClassSelectorController.swift":194:38, scope 134 // id: %28
- destroy_addr %16 : $*UIView, loc "ClassSelectorController.swift":194:38, scope 134 // id: %29
- dealloc_stack %4 : $*Optional<UIView>, loc "ClassSelectorController.swift":194:38, scope 134 // id: %30
- destroy_value %2 : $ClassSelectorController, loc "ClassSelectorController.swift":194:38, scope 134 // id: %31
- // function_ref _usleep
- %32 = function_ref @_usleep : $@convention(c) (UInt32) -> Int32, loc "ClassSelectorController.swift":196:13, scope 134 // user: %37
- // function_ref UInt32.init(_builtinIntegerLiteral : Builtin.Int2048) -> UInt32
- %33 = function_ref @_TFVs6UInt32CfT22_builtinIntegerLiteralBi2048__S_ : $@convention(method) (Builtin.Int2048, @thin UInt32.Type) -> UInt32, loc "ClassSelectorController.swift":196:20, scope 134 // user: %36
- %34 = metatype $@thin UInt32.Type, loc "ClassSelectorController.swift":196:20, scope 134 // user: %36
- %35 = integer_literal $Builtin.Int2048, 10000, loc "ClassSelectorController.swift":196:20, scope 134 // user: %36
- %36 = apply %33(%35, %34) : $@convention(method) (Builtin.Int2048, @thin UInt32.Type) -> UInt32, loc "ClassSelectorController.swift":196:20, scope 134 // user: %37
- %37 = apply %32(%36) : $@convention(c) (UInt32) -> Int32, loc "ClassSelectorController.swift":196:25, scope 134
- %38 = copy_value %0 : $ClassSelectorController, loc "ClassSelectorController.swift":197:13, scope 134 // users: %56, %39
- %39 = upcast %38 : $ClassSelectorController to $UIViewController, loc "ClassSelectorController.swift":197:13, scope 134 // users: %52, %40
- %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
- %41 = string_literal utf8 "ExitSelectorSegue", loc "ClassSelectorController.swift":197:47, scope 134 // user: %46
- %42 = integer_literal $Builtin.Word, 17, loc "ClassSelectorController.swift":197:47, scope 134 // user: %46
- %43 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":197:47, scope 134 // user: %46
- %44 = metatype $@thin String.Type, loc "ClassSelectorController.swift":197:47, scope 134 // user: %46
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- // function_ref String._bridgeToObjectiveC() -> NSString
- %47 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassSelectorController.swift":197:47, scope 134 // user: %48
- %48 = apply %47(%46) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "ClassSelectorController.swift":197:47, scope 134 // users: %54, %52
- %49 = copy_value %0 : $ClassSelectorController, loc "ClassSelectorController.swift":197:76, scope 134 // users: %53, %50
- %50 = init_existential_ref %49 : $ClassSelectorController : $ClassSelectorController, $AnyObject, loc "ClassSelectorController.swift":197:76, scope 134 // user: %51
- %51 = enum $Optional<AnyObject>, #Optional.some!enumelt.1, %50 : $AnyObject, loc "ClassSelectorController.swift":197:76, scope 134 // user: %52
- %52 = apply %40(%48, %51, %39) : $@convention(objc_method) (NSString, Optional<AnyObject>, UIViewController) -> (), loc "ClassSelectorController.swift":197:80, scope 134
- destroy_value %49 : $ClassSelectorController, loc "ClassSelectorController.swift":197:80, scope 134 // id: %53
- destroy_value %48 : $NSString, loc "ClassSelectorController.swift":197:80, scope 134 // id: %54
- destroy_value %46 : $String, loc "ClassSelectorController.swift":197:80, scope 134 // id: %55
- destroy_value %38 : $ClassSelectorController, loc "ClassSelectorController.swift":197:80, scope 134 // id: %56
- destroy_value %0 : $ClassSelectorController, loc "ClassSelectorController.swift":198:9, scope 134 // id: %57
- %58 = tuple (), loc "ClassSelectorController.swift":198:9, scope 134 // user: %59
- return %58 : $(), loc "ClassSelectorController.swift":198:9, scope 134 // id: %59
- } // end sil function '_TFFC3gpa23ClassSelectorController11updateClassFP_T_U_FT_T_'
- // _convertObjCBoolToBool(ObjCBool) -> Bool
- sil @_TF10ObjectiveC22_convertObjCBoolToBoolFVS_8ObjCBoolSb : $@convention(thin) (ObjCBool) -> Bool
- // _usleep
- sil [clang usleep] @_usleep : $@convention(c) (UInt32) -> Int32
- // UInt32.init(_builtinIntegerLiteral : Builtin.Int2048) -> UInt32
- sil [transparent] [fragile] @_TFVs6UInt32CfT22_builtinIntegerLiteralBi2048__S_ : $@convention(method) (Builtin.Int2048, @thin UInt32.Type) -> UInt32
- sil_scope 135 { parent @_TTRXFo___XFdCb___ : $@convention(c) (@inout_aliasable @block_storage @callee_owned () -> ()) -> () }
- // thunk
- sil shared [transparent] [reabstraction_thunk] @_TTRXFo___XFdCb___ : $@convention(c) (@inout_aliasable @block_storage @callee_owned () -> ()) -> () {
- // %0 // user: %1
- bb0(%0 : $*@block_storage @callee_owned () -> ()):
- %1 = project_block_storage %0 : $*@block_storage @callee_owned () -> (), scope 135 // user: %2
- %2 = load [copy] %1 : $*@callee_owned () -> (), scope 135 // user: %3
- %3 = apply %2() : $@callee_owned () -> (), scope 135
- %4 = tuple (), scope 135 // user: %5
- return %4 : $(), scope 135 // id: %5
- } // end sil function '_TTRXFo___XFdCb___'
- // DispatchQueue.(async(group : DispatchGroup?, qos : DispatchQoS, flags : DispatchWorkItemFlags, execute : @convention(block) () -> ()) -> ()).(default argument 0)
- sil @_TIFE8DispatchCSo13DispatchQueue5asyncFT5groupGSqCSo13DispatchGroup_3qosVS_11DispatchQoS5flagsVS_21DispatchWorkItemFlags7executebT_T__T_A_ : $@convention(thin) () -> @owned Optional<DispatchGroup>
- // DispatchQueue.(async(group : DispatchGroup?, qos : DispatchQoS, flags : DispatchWorkItemFlags, execute : @convention(block) () -> ()) -> ()).(default argument 1)
- sil @_TIFE8DispatchCSo13DispatchQueue5asyncFT5groupGSqCSo13DispatchGroup_3qosVS_11DispatchQoS5flagsVS_21DispatchWorkItemFlags7executebT_T__T_A0_ : $@convention(thin) () -> DispatchQoS
- // DispatchQueue.(async(group : DispatchGroup?, qos : DispatchQoS, flags : DispatchWorkItemFlags, execute : @convention(block) () -> ()) -> ()).(default argument 2)
- sil @_TIFE8DispatchCSo13DispatchQueue5asyncFT5groupGSqCSo13DispatchGroup_3qosVS_11DispatchQoS5flagsVS_21DispatchWorkItemFlags7executebT_T__T_A1_ : $@convention(thin) () -> DispatchWorkItemFlags
- sil_scope 136 { loc "ClassSelectorController.swift":108:20 parent @_TToFC3gpa23ClassSelectorController11updateClassfP_T_ : $@convention(objc_method) (AnyObject, ClassSelectorController) -> () }
- // @objc ClassSelectorController.updateClass(Any) -> ()
- sil hidden [thunk] @_TToFC3gpa23ClassSelectorController11updateClassfP_T_ : $@convention(objc_method) (AnyObject, ClassSelectorController) -> () {
- // %0 // user: %2
- // %1 // user: %3
- bb0(%0 : $AnyObject, %1 : $ClassSelectorController):
- %2 = copy_value %0 : $AnyObject, scope 136 // user: %4
- %3 = copy_value %1 : $ClassSelectorController, scope 136 // users: %11, %9
- %4 = unchecked_ref_cast %2 : $AnyObject to $Optional<AnyObject>, scope 136 // user: %7
- // function_ref _bridgeAnyObjectToAny(AnyObject?) -> Any
- %5 = function_ref @_TFs21_bridgeAnyObjectToAnyFGSqPs9AnyObject__P_ : $@convention(thin) (@owned Optional<AnyObject>) -> @out Any, scope 136 // user: %7
- %6 = alloc_stack $Any, scope 136 // users: %10, %9, %7
- %7 = apply %5(%6, %4) : $@convention(thin) (@owned Optional<AnyObject>) -> @out Any, scope 136
- // function_ref ClassSelectorController.updateClass(Any) -> ()
- %8 = function_ref @_TFC3gpa23ClassSelectorController11updateClassfP_T_ : $@convention(method) (@in Any, @guaranteed ClassSelectorController) -> (), scope 136 // user: %9
- %9 = apply %8(%6, %3) : $@convention(method) (@in Any, @guaranteed ClassSelectorController) -> (), scope 136 // user: %12
- dealloc_stack %6 : $*Any, scope 136 // id: %10
- destroy_value %3 : $ClassSelectorController, scope 136 // id: %11
- return %9 : $(), scope 136 // id: %12
- } // end sil function '_TToFC3gpa23ClassSelectorController11updateClassfP_T_'
- // _bridgeAnyObjectToAny(AnyObject?) -> Any
- sil @_TFs21_bridgeAnyObjectToAnyFGSqPs9AnyObject__P_ : $@convention(thin) (@owned Optional<AnyObject>) -> @out Any
- sil_scope 137 { loc "ClassSelectorController.swift":201:19 parent @_TFC3gpa23ClassSelectorController12touchesBeganfTGVs3SetCSo7UITouch_4withGSqCSo7UIEvent__T_ : $@convention(method) (@owned Set<UITouch>, @owned Optional<UIEvent>, @guaranteed ClassSelectorController) -> () }
- sil_scope 138 { loc "ClassSelectorController.swift":203:5 parent 137 }
- // ClassSelectorController.touchesBegan(Set<UITouch>, with : UIEvent?) -> ()
- sil hidden @_TFC3gpa23ClassSelectorController12touchesBeganfTGVs3SetCSo7UITouch_4withGSqCSo7UIEvent__T_ : $@convention(method) (@owned Set<UITouch>, @owned Optional<UIEvent>, @guaranteed ClassSelectorController) -> () {
- // %0 // users: %37, %3
- // %1 // users: %36, %4
- // %2 // users: %6, %5
- bb0(%0 : $Set<UITouch>, %1 : $Optional<UIEvent>, %2 : $ClassSelectorController):
- debug_value %0 : $Set<UITouch>, let, name "touches", argno 1, loc "ClassSelectorController.swift":201:34, scope 137 // id: %3
- debug_value %1 : $Optional<UIEvent>, let, name "event", argno 2, loc "ClassSelectorController.swift":201:62, scope 137 // id: %4
- debug_value %2 : $ClassSelectorController, let, name "self", argno 3, loc "ClassSelectorController.swift":201:19, scope 137 // id: %5
- %6 = copy_value %2 : $ClassSelectorController, loc "ClassSelectorController.swift":202:9, scope 138 // users: %35, %7
- %7 = upcast %6 : $ClassSelectorController to $UIViewController, loc "ClassSelectorController.swift":202:9, scope 138 // users: %10, %9
- %8 = alloc_stack $Optional<UIView>, loc "ClassSelectorController.swift":202:14, scope 138 // users: %34, %20, %12, %11
- %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
- %10 = apply %9(%7) : $@convention(objc_method) (UIViewController) -> @autoreleased Optional<UIView>, loc "ClassSelectorController.swift":202:14, scope 138 // user: %11
- store %10 to [init] %8 : $*Optional<UIView>, loc "ClassSelectorController.swift":202:14, scope 138 // id: %11
- switch_enum_addr %8 : $*Optional<UIView>, case #Optional.none!enumelt: bb1, default bb2, loc "ClassSelectorController.swift":202:14, scope 138 // id: %12
- bb1: // Preds: bb0
- %13 = string_literal utf8 "ClassSelectorController.swift", loc "ClassSelectorController.swift":202:14, scope 138 // user: %18
- %14 = integer_literal $Builtin.Word, 29, loc "ClassSelectorController.swift":202:14, scope 138 // user: %18
- %15 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":202:14, scope 138 // user: %18
- %16 = integer_literal $Builtin.Word, 202, loc "ClassSelectorController.swift":202:14, scope 138 // user: %18
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %18 = apply %17(%13, %14, %15, %16) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "ClassSelectorController.swift":202:14, scope 138
- unreachable , loc "ClassSelectorController.swift":202:14, scope 138 // id: %19
- bb2: // Preds: bb0
- %20 = unchecked_take_enum_data_addr %8 : $*Optional<UIView>, #Optional.some!enumelt.1, loc "ClassSelectorController.swift":202:14, scope 138 // users: %33, %21
- %21 = load [copy] %20 : $*UIView, loc "ClassSelectorController.swift":202:14, scope 138 // users: %32, %29, %22
- %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
- // function_ref Bool.init(_builtinBooleanLiteral : Builtin.Int1) -> Bool
- %23 = function_ref @_TFSbCfT22_builtinBooleanLiteralBi1__Sb : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":202:30, scope 138 // user: %26
- %24 = metatype $@thin Bool.Type, loc "ClassSelectorController.swift":202:30, scope 138 // user: %26
- %25 = integer_literal $Builtin.Int1, -1, loc "ClassSelectorController.swift":202:30, scope 138 // user: %26
- %26 = apply %23(%25, %24) : $@convention(method) (Builtin.Int1, @thin Bool.Type) -> Bool, loc "ClassSelectorController.swift":202:30, scope 138 // user: %28
- // function_ref _convertBoolToObjCBool(Bool) -> ObjCBool
- %27 = function_ref @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool, loc "ClassSelectorController.swift":202:30, scope 138 // user: %28
- %28 = apply %27(%26) : $@convention(thin) (Bool) -> ObjCBool, loc "ClassSelectorController.swift":202:30, scope 138 // user: %29
- %29 = apply %22(%28, %21) : $@convention(objc_method) (ObjCBool, UIView) -> ObjCBool, loc "ClassSelectorController.swift":202:34, scope 138 // user: %31
- // function_ref _convertObjCBoolToBool(ObjCBool) -> Bool
- %30 = function_ref @_TF10ObjectiveC22_convertObjCBoolToBoolFVS_8ObjCBoolSb : $@convention(thin) (ObjCBool) -> Bool, loc "ClassSelectorController.swift":202:34, scope 138 // user: %31
- %31 = apply %30(%29) : $@convention(thin) (ObjCBool) -> Bool, loc "ClassSelectorController.swift":202:34, scope 138
- destroy_value %21 : $UIView, loc "ClassSelectorController.swift":202:34, scope 138 // id: %32
- destroy_addr %20 : $*UIView, loc "ClassSelectorController.swift":202:34, scope 138 // id: %33
- dealloc_stack %8 : $*Optional<UIView>, loc "ClassSelectorController.swift":202:34, scope 138 // id: %34
- destroy_value %6 : $ClassSelectorController, loc "ClassSelectorController.swift":202:34, scope 138 // id: %35
- destroy_value %1 : $Optional<UIEvent>, loc "ClassSelectorController.swift":203:5, scope 138 // id: %36
- destroy_value %0 : $Set<UITouch>, loc "ClassSelectorController.swift":203:5, scope 138 // id: %37
- %38 = tuple (), loc "ClassSelectorController.swift":203:5, scope 138 // user: %39
- return %38 : $(), loc "ClassSelectorController.swift":203:5, scope 138 // id: %39
- } // end sil function '_TFC3gpa23ClassSelectorController12touchesBeganfTGVs3SetCSo7UITouch_4withGSqCSo7UIEvent__T_'
- sil_scope 139 { loc "ClassSelectorController.swift":201:19 parent @_TToFC3gpa23ClassSelectorController12touchesBeganfTGVs3SetCSo7UITouch_4withGSqCSo7UIEvent__T_ : $@convention(objc_method) (NSSet, Optional<UIEvent>, ClassSelectorController) -> () }
- // @objc ClassSelectorController.touchesBegan(Set<UITouch>, with : UIEvent?) -> ()
- sil hidden [thunk] @_TToFC3gpa23ClassSelectorController12touchesBeganfTGVs3SetCSo7UITouch_4withGSqCSo7UIEvent__T_ : $@convention(objc_method) (NSSet, Optional<UIEvent>, ClassSelectorController) -> () {
- // %0 // user: %3
- // %1 // user: %4
- // %2 // user: %5
- bb0(%0 : $NSSet, %1 : $Optional<UIEvent>, %2 : $ClassSelectorController):
- %3 = copy_value %0 : $NSSet, scope 139 // user: %7
- %4 = copy_value %1 : $Optional<UIEvent>, scope 139 // user: %11
- %5 = copy_value %2 : $ClassSelectorController, scope 139 // users: %12, %11
- // function_ref static Set._unconditionallyBridgeFromObjectiveC(NSSet?) -> Set<A>
- %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
- %7 = enum $Optional<NSSet>, #Optional.some!enumelt.1, %3 : $NSSet, scope 139 // user: %9
- %8 = metatype $@thin Set<UITouch>.Type, scope 139 // user: %9
- %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
- // function_ref ClassSelectorController.touchesBegan(Set<UITouch>, with : UIEvent?) -> ()
- %10 = function_ref @_TFC3gpa23ClassSelectorController12touchesBeganfTGVs3SetCSo7UITouch_4withGSqCSo7UIEvent__T_ : $@convention(method) (@owned Set<UITouch>, @owned Optional<UIEvent>, @guaranteed ClassSelectorController) -> (), scope 139 // user: %11
- %11 = apply %10(%9, %4, %5) : $@convention(method) (@owned Set<UITouch>, @owned Optional<UIEvent>, @guaranteed ClassSelectorController) -> (), scope 139 // user: %13
- destroy_value %5 : $ClassSelectorController, scope 139 // id: %12
- return %11 : $(), scope 139 // id: %13
- } // end sil function '_TToFC3gpa23ClassSelectorController12touchesBeganfTGVs3SetCSo7UITouch_4withGSqCSo7UIEvent__T_'
- // static Set._unconditionallyBridgeFromObjectiveC(NSSet?) -> Set<A>
- 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>
- sil_scope 140 { loc "ClassSelectorController.swift":25:7 parent @_TFC3gpa23ClassSelectorControllerD : $@convention(method) (@owned ClassSelectorController) -> () }
- sil_scope 141 { loc "ClassSelectorController.swift":25:7 parent 140 }
- // ClassSelectorController.__deallocating_deinit
- sil hidden @_TFC3gpa23ClassSelectorControllerD : $@convention(method) (@owned ClassSelectorController) -> () {
- // %0 // users: %3, %2, %1
- bb0(%0 : $ClassSelectorController):
- debug_value %0 : $ClassSelectorController, let, name "self", argno 1, loc "ClassSelectorController.swift":25:7, scope 140 // id: %1
- %2 = super_method %0 : $ClassSelectorController, #UIViewController.deinit!deallocator.foreign : (UIViewController) -> () -> () , $@convention(objc_method) (UIViewController) -> (), scope 141 // user: %4
- %3 = upcast %0 : $ClassSelectorController to $UIViewController, scope 141 // user: %4
- %4 = apply %2(%3) : $@convention(objc_method) (UIViewController) -> (), scope 141
- %5 = tuple (), scope 141 // user: %6
- return %5 : $(), scope 141 // id: %6
- } // end sil function '_TFC3gpa23ClassSelectorControllerD'
- sil_scope 142 { loc "ClassSelectorController.swift":25:7 parent @_TToFC3gpa23ClassSelectorControllerE : $@convention(objc_method) (ClassSelectorController) -> () }
- // @objc ClassSelectorController.__ivar_destroyer
- sil hidden @_TToFC3gpa23ClassSelectorControllerE : $@convention(objc_method) (ClassSelectorController) -> () {
- // %0 // users: %20, %18, %16, %14, %12, %10, %8, %6, %4, %2, %1
- bb0(%0 : $ClassSelectorController):
- debug_value %0 : $ClassSelectorController, let, name "self", argno 1, loc "ClassSelectorController.swift":25:7, scope 142 // id: %1
- %2 = ref_element_addr %0 : $ClassSelectorController, #ClassSelectorController.classNameField, scope 142 // user: %3
- destroy_addr %2 : $*Optional<UITextField>, scope 142 // id: %3
- %4 = ref_element_addr %0 : $ClassSelectorController, #ClassSelectorController.multiplierField, scope 142 // user: %5
- destroy_addr %4 : $*Optional<UITextField>, scope 142 // id: %5
- %6 = ref_element_addr %0 : $ClassSelectorController, #ClassSelectorController.currentGradeField, scope 142 // user: %7
- destroy_addr %6 : $*Optional<UITextField>, scope 142 // id: %7
- %8 = ref_element_addr %0 : $ClassSelectorController, #ClassSelectorController.creditsField, scope 142 // user: %9
- destroy_addr %8 : $*Optional<UITextField>, scope 142 // id: %9
- %10 = ref_element_addr %0 : $ClassSelectorController, #ClassSelectorController.multiplierBar, scope 142 // user: %11
- destroy_addr %10 : $*Optional<UISegmentedControl>, scope 142 // id: %11
- %12 = ref_element_addr %0 : $ClassSelectorController, #ClassSelectorController.creditsBar, scope 142 // user: %13
- destroy_addr %12 : $*Optional<UISegmentedControl>, scope 142 // id: %13
- %14 = ref_element_addr %0 : $ClassSelectorController, #ClassSelectorController.warningLabel, scope 142 // user: %15
- destroy_addr %14 : $*Optional<UILabel>, scope 142 // id: %15
- %16 = ref_element_addr %0 : $ClassSelectorController, #ClassSelectorController.addClassButton, scope 142 // user: %17
- destroy_addr %16 : $*Optional<UIButton>, scope 142 // id: %17
- %18 = ref_element_addr %0 : $ClassSelectorController, #ClassSelectorController.cancelButton, scope 142 // user: %19
- destroy_addr %18 : $*Optional<UIBarButtonItem>, scope 142 // id: %19
- %20 = ref_element_addr %0 : $ClassSelectorController, #ClassSelectorController.picker, scope 142 // user: %21
- destroy_addr %20 : $*Optional<UIPickerView>, scope 142 // id: %21
- %22 = tuple (), scope 142 // user: %23
- return %22 : $(), scope 142 // id: %23
- } // end sil function '_TToFC3gpa23ClassSelectorControllerE'
- sil_scope 143 { loc "ClassSelectorController.swift":27:9 parent @_TFC3gpa23ClassSelectorControllerm8selectedSi : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed ClassSelectorController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) }
- // ClassSelectorController.selected.materializeForSet
- sil hidden @_TFC3gpa23ClassSelectorControllerm8selectedSi : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed ClassSelectorController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) {
- // %2 // user: %3
- bb0(%0 : $Builtin.RawPointer, %1 : $*Builtin.UnsafeValueBuffer, %2 : $ClassSelectorController):
- %3 = ref_element_addr %2 : $ClassSelectorController, #ClassSelectorController.selected, scope 143 // user: %4
- %4 = address_to_pointer %3 : $*Int to $Builtin.RawPointer, scope 143 // user: %6
- %5 = enum $Optional<Builtin.RawPointer>, #Optional.none!enumelt, scope 143 // user: %6
- %6 = tuple (%4 : $Builtin.RawPointer, %5 : $Optional<Builtin.RawPointer>), scope 143 // user: %7
- return %6 : $(Builtin.RawPointer, Optional<Builtin.RawPointer>), scope 143 // id: %7
- } // end sil function '_TFC3gpa23ClassSelectorControllerm8selectedSi'
- sil_scope 144 { loc "ClassSelectorController.swift":29:19 parent @_TFC3gpa23ClassSelectorControllerm14classNameFieldGSQCSo11UITextField_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed ClassSelectorController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) }
- // ClassSelectorController.classNameField.materializeForSet
- sil hidden @_TFC3gpa23ClassSelectorControllerm14classNameFieldGSQCSo11UITextField_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed ClassSelectorController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) {
- // %2 // user: %3
- bb0(%0 : $Builtin.RawPointer, %1 : $*Builtin.UnsafeValueBuffer, %2 : $ClassSelectorController):
- %3 = ref_element_addr %2 : $ClassSelectorController, #ClassSelectorController.classNameField, scope 144 // user: %4
- %4 = address_to_pointer %3 : $*Optional<UITextField> to $Builtin.RawPointer, scope 144 // user: %6
- %5 = enum $Optional<Builtin.RawPointer>, #Optional.none!enumelt, scope 144 // user: %6
- %6 = tuple (%4 : $Builtin.RawPointer, %5 : $Optional<Builtin.RawPointer>), scope 144 // user: %7
- return %6 : $(Builtin.RawPointer, Optional<Builtin.RawPointer>), scope 144 // id: %7
- } // end sil function '_TFC3gpa23ClassSelectorControllerm14classNameFieldGSQCSo11UITextField_'
- sil_scope 145 { loc "ClassSelectorController.swift":30:19 parent @_TFC3gpa23ClassSelectorControllerm15multiplierFieldGSQCSo11UITextField_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed ClassSelectorController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) }
- // ClassSelectorController.multiplierField.materializeForSet
- sil hidden @_TFC3gpa23ClassSelectorControllerm15multiplierFieldGSQCSo11UITextField_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed ClassSelectorController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) {
- // %2 // user: %3
- bb0(%0 : $Builtin.RawPointer, %1 : $*Builtin.UnsafeValueBuffer, %2 : $ClassSelectorController):
- %3 = ref_element_addr %2 : $ClassSelectorController, #ClassSelectorController.multiplierField, scope 145 // user: %4
- %4 = address_to_pointer %3 : $*Optional<UITextField> to $Builtin.RawPointer, scope 145 // user: %6
- %5 = enum $Optional<Builtin.RawPointer>, #Optional.none!enumelt, scope 145 // user: %6
- %6 = tuple (%4 : $Builtin.RawPointer, %5 : $Optional<Builtin.RawPointer>), scope 145 // user: %7
- return %6 : $(Builtin.RawPointer, Optional<Builtin.RawPointer>), scope 145 // id: %7
- } // end sil function '_TFC3gpa23ClassSelectorControllerm15multiplierFieldGSQCSo11UITextField_'
- sil_scope 146 { loc "ClassSelectorController.swift":31:19 parent @_TFC3gpa23ClassSelectorControllerm17currentGradeFieldGSQCSo11UITextField_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed ClassSelectorController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) }
- // ClassSelectorController.currentGradeField.materializeForSet
- sil hidden @_TFC3gpa23ClassSelectorControllerm17currentGradeFieldGSQCSo11UITextField_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed ClassSelectorController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) {
- // %2 // user: %3
- bb0(%0 : $Builtin.RawPointer, %1 : $*Builtin.UnsafeValueBuffer, %2 : $ClassSelectorController):
- %3 = ref_element_addr %2 : $ClassSelectorController, #ClassSelectorController.currentGradeField, scope 146 // user: %4
- %4 = address_to_pointer %3 : $*Optional<UITextField> to $Builtin.RawPointer, scope 146 // user: %6
- %5 = enum $Optional<Builtin.RawPointer>, #Optional.none!enumelt, scope 146 // user: %6
- %6 = tuple (%4 : $Builtin.RawPointer, %5 : $Optional<Builtin.RawPointer>), scope 146 // user: %7
- return %6 : $(Builtin.RawPointer, Optional<Builtin.RawPointer>), scope 146 // id: %7
- } // end sil function '_TFC3gpa23ClassSelectorControllerm17currentGradeFieldGSQCSo11UITextField_'
- sil_scope 147 { loc "ClassSelectorController.swift":32:19 parent @_TFC3gpa23ClassSelectorControllerm12creditsFieldGSQCSo11UITextField_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed ClassSelectorController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) }
- // ClassSelectorController.creditsField.materializeForSet
- sil hidden @_TFC3gpa23ClassSelectorControllerm12creditsFieldGSQCSo11UITextField_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed ClassSelectorController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) {
- // %2 // user: %3
- bb0(%0 : $Builtin.RawPointer, %1 : $*Builtin.UnsafeValueBuffer, %2 : $ClassSelectorController):
- %3 = ref_element_addr %2 : $ClassSelectorController, #ClassSelectorController.creditsField, scope 147 // user: %4
- %4 = address_to_pointer %3 : $*Optional<UITextField> to $Builtin.RawPointer, scope 147 // user: %6
- %5 = enum $Optional<Builtin.RawPointer>, #Optional.none!enumelt, scope 147 // user: %6
- %6 = tuple (%4 : $Builtin.RawPointer, %5 : $Optional<Builtin.RawPointer>), scope 147 // user: %7
- return %6 : $(Builtin.RawPointer, Optional<Builtin.RawPointer>), scope 147 // id: %7
- } // end sil function '_TFC3gpa23ClassSelectorControllerm12creditsFieldGSQCSo11UITextField_'
- sil_scope 148 { loc "ClassSelectorController.swift":34:19 parent @_TFC3gpa23ClassSelectorControllerm13multiplierBarGSQCSo18UISegmentedControl_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed ClassSelectorController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) }
- // ClassSelectorController.multiplierBar.materializeForSet
- sil hidden @_TFC3gpa23ClassSelectorControllerm13multiplierBarGSQCSo18UISegmentedControl_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed ClassSelectorController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) {
- // %2 // user: %3
- bb0(%0 : $Builtin.RawPointer, %1 : $*Builtin.UnsafeValueBuffer, %2 : $ClassSelectorController):
- %3 = ref_element_addr %2 : $ClassSelectorController, #ClassSelectorController.multiplierBar, scope 148 // user: %4
- %4 = address_to_pointer %3 : $*Optional<UISegmentedControl> to $Builtin.RawPointer, scope 148 // user: %6
- %5 = enum $Optional<Builtin.RawPointer>, #Optional.none!enumelt, scope 148 // user: %6
- %6 = tuple (%4 : $Builtin.RawPointer, %5 : $Optional<Builtin.RawPointer>), scope 148 // user: %7
- return %6 : $(Builtin.RawPointer, Optional<Builtin.RawPointer>), scope 148 // id: %7
- } // end sil function '_TFC3gpa23ClassSelectorControllerm13multiplierBarGSQCSo18UISegmentedControl_'
- sil_scope 149 { loc "ClassSelectorController.swift":35:19 parent @_TFC3gpa23ClassSelectorControllerm10creditsBarGSQCSo18UISegmentedControl_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed ClassSelectorController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) }
- // ClassSelectorController.creditsBar.materializeForSet
- sil hidden @_TFC3gpa23ClassSelectorControllerm10creditsBarGSQCSo18UISegmentedControl_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed ClassSelectorController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) {
- // %2 // user: %3
- bb0(%0 : $Builtin.RawPointer, %1 : $*Builtin.UnsafeValueBuffer, %2 : $ClassSelectorController):
- %3 = ref_element_addr %2 : $ClassSelectorController, #ClassSelectorController.creditsBar, scope 149 // user: %4
- %4 = address_to_pointer %3 : $*Optional<UISegmentedControl> to $Builtin.RawPointer, scope 149 // user: %6
- %5 = enum $Optional<Builtin.RawPointer>, #Optional.none!enumelt, scope 149 // user: %6
- %6 = tuple (%4 : $Builtin.RawPointer, %5 : $Optional<Builtin.RawPointer>), scope 149 // user: %7
- return %6 : $(Builtin.RawPointer, Optional<Builtin.RawPointer>), scope 149 // id: %7
- } // end sil function '_TFC3gpa23ClassSelectorControllerm10creditsBarGSQCSo18UISegmentedControl_'
- sil_scope 150 { loc "ClassSelectorController.swift":37:19 parent @_TFC3gpa23ClassSelectorControllerm12warningLabelGSQCSo7UILabel_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed ClassSelectorController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) }
- // ClassSelectorController.warningLabel.materializeForSet
- sil hidden @_TFC3gpa23ClassSelectorControllerm12warningLabelGSQCSo7UILabel_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed ClassSelectorController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) {
- // %2 // user: %3
- bb0(%0 : $Builtin.RawPointer, %1 : $*Builtin.UnsafeValueBuffer, %2 : $ClassSelectorController):
- %3 = ref_element_addr %2 : $ClassSelectorController, #ClassSelectorController.warningLabel, scope 150 // user: %4
- %4 = address_to_pointer %3 : $*Optional<UILabel> to $Builtin.RawPointer, scope 150 // user: %6
- %5 = enum $Optional<Builtin.RawPointer>, #Optional.none!enumelt, scope 150 // user: %6
- %6 = tuple (%4 : $Builtin.RawPointer, %5 : $Optional<Builtin.RawPointer>), scope 150 // user: %7
- return %6 : $(Builtin.RawPointer, Optional<Builtin.RawPointer>), scope 150 // id: %7
- } // end sil function '_TFC3gpa23ClassSelectorControllerm12warningLabelGSQCSo7UILabel_'
- sil_scope 151 { loc "ClassSelectorController.swift":39:19 parent @_TFC3gpa23ClassSelectorControllerm14addClassButtonGSQCSo8UIButton_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed ClassSelectorController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) }
- // ClassSelectorController.addClassButton.materializeForSet
- sil hidden @_TFC3gpa23ClassSelectorControllerm14addClassButtonGSQCSo8UIButton_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed ClassSelectorController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) {
- // %2 // user: %3
- bb0(%0 : $Builtin.RawPointer, %1 : $*Builtin.UnsafeValueBuffer, %2 : $ClassSelectorController):
- %3 = ref_element_addr %2 : $ClassSelectorController, #ClassSelectorController.addClassButton, scope 151 // user: %4
- %4 = address_to_pointer %3 : $*Optional<UIButton> to $Builtin.RawPointer, scope 151 // user: %6
- %5 = enum $Optional<Builtin.RawPointer>, #Optional.none!enumelt, scope 151 // user: %6
- %6 = tuple (%4 : $Builtin.RawPointer, %5 : $Optional<Builtin.RawPointer>), scope 151 // user: %7
- return %6 : $(Builtin.RawPointer, Optional<Builtin.RawPointer>), scope 151 // id: %7
- } // end sil function '_TFC3gpa23ClassSelectorControllerm14addClassButtonGSQCSo8UIButton_'
- sil_scope 152 { loc "ClassSelectorController.swift":40:19 parent @_TFC3gpa23ClassSelectorControllerm12cancelButtonGSQCSo15UIBarButtonItem_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed ClassSelectorController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) }
- // ClassSelectorController.cancelButton.materializeForSet
- sil hidden @_TFC3gpa23ClassSelectorControllerm12cancelButtonGSQCSo15UIBarButtonItem_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed ClassSelectorController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) {
- // %2 // user: %3
- bb0(%0 : $Builtin.RawPointer, %1 : $*Builtin.UnsafeValueBuffer, %2 : $ClassSelectorController):
- %3 = ref_element_addr %2 : $ClassSelectorController, #ClassSelectorController.cancelButton, scope 152 // user: %4
- %4 = address_to_pointer %3 : $*Optional<UIBarButtonItem> to $Builtin.RawPointer, scope 152 // user: %6
- %5 = enum $Optional<Builtin.RawPointer>, #Optional.none!enumelt, scope 152 // user: %6
- %6 = tuple (%4 : $Builtin.RawPointer, %5 : $Optional<Builtin.RawPointer>), scope 152 // user: %7
- return %6 : $(Builtin.RawPointer, Optional<Builtin.RawPointer>), scope 152 // id: %7
- } // end sil function '_TFC3gpa23ClassSelectorControllerm12cancelButtonGSQCSo15UIBarButtonItem_'
- sil_scope 153 { loc "ClassSelectorController.swift":42:19 parent @_TFC3gpa23ClassSelectorControllerm6pickerGSQCSo12UIPickerView_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed ClassSelectorController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) }
- // ClassSelectorController.picker.materializeForSet
- sil hidden @_TFC3gpa23ClassSelectorControllerm6pickerGSQCSo12UIPickerView_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed ClassSelectorController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) {
- // %2 // user: %3
- bb0(%0 : $Builtin.RawPointer, %1 : $*Builtin.UnsafeValueBuffer, %2 : $ClassSelectorController):
- %3 = ref_element_addr %2 : $ClassSelectorController, #ClassSelectorController.picker, scope 153 // user: %4
- %4 = address_to_pointer %3 : $*Optional<UIPickerView> to $Builtin.RawPointer, scope 153 // user: %6
- %5 = enum $Optional<Builtin.RawPointer>, #Optional.none!enumelt, scope 153 // user: %6
- %6 = tuple (%4 : $Builtin.RawPointer, %5 : $Optional<Builtin.RawPointer>), scope 153 // user: %7
- return %6 : $(Builtin.RawPointer, Optional<Builtin.RawPointer>), scope 153 // id: %7
- } // end sil function '_TFC3gpa23ClassSelectorControllerm6pickerGSQCSo12UIPickerView_'
- sil_scope 154 { loc "ClassSelectorController.swift":25:95 parent @_TFC3gpa23ClassSelectorControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ : $@convention(method) (@owned Optional<String>, @owned Optional<Bundle>, @owned ClassSelectorController) -> @owned ClassSelectorController }
- sil_scope 155 { parent 154 }
- // ClassSelectorController.init(nibName : String?, bundle : Bundle?) -> ClassSelectorController
- sil hidden @_TFC3gpa23ClassSelectorControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ : $@convention(method) (@owned Optional<String>, @owned Optional<Bundle>, @owned ClassSelectorController) -> @owned ClassSelectorController {
- // %0 // users: %87, %67, %6
- // %1 // users: %86, %81, %7
- // %2 // user: %8
- bb0(%0 : $Optional<String>, %1 : $Optional<Bundle>, %2 : $ClassSelectorController):
- %3 = alloc_box ${ var ClassSelectorController }, let, name "self", scope 154 // users: %88, %4
- %4 = project_box %3 : ${ var ClassSelectorController }, 0, scope 154 // user: %5
- %5 = mark_uninitialized [derivedself] %4 : $*ClassSelectorController, scope 154 // users: %85, %83, %64, %61, %56, %51, %46, %41, %36, %31, %26, %21, %16, %11, %8
- debug_value %0 : $Optional<String>, let, name "nibNameOrNil", argno 1, scope 154 // id: %6
- debug_value %1 : $Optional<Bundle>, let, name "nibBundleOrNil", argno 2, scope 154 // id: %7
- store %2 to [init] %5 : $*ClassSelectorController, loc "ClassSelectorController.swift":25:95, scope 154 // id: %8
- // function_ref ClassSelectorController.(selected).(variable initialization expression)
- %9 = function_ref @_TIvC3gpa23ClassSelectorController8selectedSii : $@convention(thin) () -> Int, loc "ClassSelectorController.swift":27:20, scope 154 // user: %10
- %10 = apply %9() : $@convention(thin) () -> Int, loc "ClassSelectorController.swift":27:20, scope 154 // user: %13
- %11 = load_borrow %5 : $*ClassSelectorController, loc "ClassSelectorController.swift":27:9, scope 154 // user: %12
- %12 = ref_element_addr %11 : $ClassSelectorController, #ClassSelectorController.selected, loc "ClassSelectorController.swift":27:9, scope 154 // user: %13
- assign %10 to %12 : $*Int, loc "ClassSelectorController.swift":27:9, scope 154 // id: %13
- // function_ref ClassSelectorController.(classNameField).(variable initialization expression)
- %14 = function_ref @_TIvC3gpa23ClassSelectorController14classNameFieldGSQCSo11UITextField_i : $@convention(thin) () -> @owned Optional<UITextField>, scope 154 // user: %15
- %15 = apply %14() : $@convention(thin) () -> @owned Optional<UITextField>, scope 154 // user: %18
- %16 = load_borrow %5 : $*ClassSelectorController, loc "ClassSelectorController.swift":29:19, scope 154 // user: %17
- %17 = ref_element_addr %16 : $ClassSelectorController, #ClassSelectorController.classNameField, loc "ClassSelectorController.swift":29:19, scope 154 // user: %18
- assign %15 to %17 : $*Optional<UITextField>, loc "ClassSelectorController.swift":29:19, scope 154 // id: %18
- // function_ref ClassSelectorController.(multiplierField).(variable initialization expression)
- %19 = function_ref @_TIvC3gpa23ClassSelectorController15multiplierFieldGSQCSo11UITextField_i : $@convention(thin) () -> @owned Optional<UITextField>, scope 154 // user: %20
- %20 = apply %19() : $@convention(thin) () -> @owned Optional<UITextField>, scope 154 // user: %23
- %21 = load_borrow %5 : $*ClassSelectorController, loc "ClassSelectorController.swift":30:19, scope 154 // user: %22
- %22 = ref_element_addr %21 : $ClassSelectorController, #ClassSelectorController.multiplierField, loc "ClassSelectorController.swift":30:19, scope 154 // user: %23
- assign %20 to %22 : $*Optional<UITextField>, loc "ClassSelectorController.swift":30:19, scope 154 // id: %23
- // function_ref ClassSelectorController.(currentGradeField).(variable initialization expression)
- %24 = function_ref @_TIvC3gpa23ClassSelectorController17currentGradeFieldGSQCSo11UITextField_i : $@convention(thin) () -> @owned Optional<UITextField>, scope 154 // user: %25
- %25 = apply %24() : $@convention(thin) () -> @owned Optional<UITextField>, scope 154 // user: %28
- %26 = load_borrow %5 : $*ClassSelectorController, loc "ClassSelectorController.swift":31:19, scope 154 // user: %27
- %27 = ref_element_addr %26 : $ClassSelectorController, #ClassSelectorController.currentGradeField, loc "ClassSelectorController.swift":31:19, scope 154 // user: %28
- assign %25 to %27 : $*Optional<UITextField>, loc "ClassSelectorController.swift":31:19, scope 154 // id: %28
- // function_ref ClassSelectorController.(creditsField).(variable initialization expression)
- %29 = function_ref @_TIvC3gpa23ClassSelectorController12creditsFieldGSQCSo11UITextField_i : $@convention(thin) () -> @owned Optional<UITextField>, scope 154 // user: %30
- %30 = apply %29() : $@convention(thin) () -> @owned Optional<UITextField>, scope 154 // user: %33
- %31 = load_borrow %5 : $*ClassSelectorController, loc "ClassSelectorController.swift":32:19, scope 154 // user: %32
- %32 = ref_element_addr %31 : $ClassSelectorController, #ClassSelectorController.creditsField, loc "ClassSelectorController.swift":32:19, scope 154 // user: %33
- assign %30 to %32 : $*Optional<UITextField>, loc "ClassSelectorController.swift":32:19, scope 154 // id: %33
- // function_ref ClassSelectorController.(multiplierBar).(variable initialization expression)
- %34 = function_ref @_TIvC3gpa23ClassSelectorController13multiplierBarGSQCSo18UISegmentedControl_i : $@convention(thin) () -> @owned Optional<UISegmentedControl>, scope 154 // user: %35
- %35 = apply %34() : $@convention(thin) () -> @owned Optional<UISegmentedControl>, scope 154 // user: %38
- %36 = load_borrow %5 : $*ClassSelectorController, loc "ClassSelectorController.swift":34:19, scope 154 // user: %37
- %37 = ref_element_addr %36 : $ClassSelectorController, #ClassSelectorController.multiplierBar, loc "ClassSelectorController.swift":34:19, scope 154 // user: %38
- assign %35 to %37 : $*Optional<UISegmentedControl>, loc "ClassSelectorController.swift":34:19, scope 154 // id: %38
- // function_ref ClassSelectorController.(creditsBar).(variable initialization expression)
- %39 = function_ref @_TIvC3gpa23ClassSelectorController10creditsBarGSQCSo18UISegmentedControl_i : $@convention(thin) () -> @owned Optional<UISegmentedControl>, scope 154 // user: %40
- %40 = apply %39() : $@convention(thin) () -> @owned Optional<UISegmentedControl>, scope 154 // user: %43
- %41 = load_borrow %5 : $*ClassSelectorController, loc "ClassSelectorController.swift":35:19, scope 154 // user: %42
- %42 = ref_element_addr %41 : $ClassSelectorController, #ClassSelectorController.creditsBar, loc "ClassSelectorController.swift":35:19, scope 154 // user: %43
- assign %40 to %42 : $*Optional<UISegmentedControl>, loc "ClassSelectorController.swift":35:19, scope 154 // id: %43
- // function_ref ClassSelectorController.(warningLabel).(variable initialization expression)
- %44 = function_ref @_TIvC3gpa23ClassSelectorController12warningLabelGSQCSo7UILabel_i : $@convention(thin) () -> @owned Optional<UILabel>, scope 154 // user: %45
- %45 = apply %44() : $@convention(thin) () -> @owned Optional<UILabel>, scope 154 // user: %48
- %46 = load_borrow %5 : $*ClassSelectorController, loc "ClassSelectorController.swift":37:19, scope 154 // user: %47
- %47 = ref_element_addr %46 : $ClassSelectorController, #ClassSelectorController.warningLabel, loc "ClassSelectorController.swift":37:19, scope 154 // user: %48
- assign %45 to %47 : $*Optional<UILabel>, loc "ClassSelectorController.swift":37:19, scope 154 // id: %48
- // function_ref ClassSelectorController.(addClassButton).(variable initialization expression)
- %49 = function_ref @_TIvC3gpa23ClassSelectorController14addClassButtonGSQCSo8UIButton_i : $@convention(thin) () -> @owned Optional<UIButton>, scope 154 // user: %50
- %50 = apply %49() : $@convention(thin) () -> @owned Optional<UIButton>, scope 154 // user: %53
- %51 = load_borrow %5 : $*ClassSelectorController, loc "ClassSelectorController.swift":39:19, scope 154 // user: %52
- %52 = ref_element_addr %51 : $ClassSelectorController, #ClassSelectorController.addClassButton, loc "ClassSelectorController.swift":39:19, scope 154 // user: %53
- assign %50 to %52 : $*Optional<UIButton>, loc "ClassSelectorController.swift":39:19, scope 154 // id: %53
- // function_ref ClassSelectorController.(cancelButton).(variable initialization expression)
- %54 = function_ref @_TIvC3gpa23ClassSelectorController12cancelButtonGSQCSo15UIBarButtonItem_i : $@convention(thin) () -> @owned Optional<UIBarButtonItem>, scope 154 // user: %55
- %55 = apply %54() : $@convention(thin) () -> @owned Optional<UIBarButtonItem>, scope 154 // user: %58
- %56 = load_borrow %5 : $*ClassSelectorController, loc "ClassSelectorController.swift":40:19, scope 154 // user: %57
- %57 = ref_element_addr %56 : $ClassSelectorController, #ClassSelectorController.cancelButton, loc "ClassSelectorController.swift":40:19, scope 154 // user: %58
- assign %55 to %57 : $*Optional<UIBarButtonItem>, loc "ClassSelectorController.swift":40:19, scope 154 // id: %58
- // function_ref ClassSelectorController.(picker).(variable initialization expression)
- %59 = function_ref @_TIvC3gpa23ClassSelectorController6pickerGSQCSo12UIPickerView_i : $@convention(thin) () -> @owned Optional<UIPickerView>, scope 154 // user: %60
- %60 = apply %59() : $@convention(thin) () -> @owned Optional<UIPickerView>, scope 154 // user: %63
- %61 = load_borrow %5 : $*ClassSelectorController, loc "ClassSelectorController.swift":42:19, scope 154 // user: %62
- %62 = ref_element_addr %61 : $ClassSelectorController, #ClassSelectorController.picker, loc "ClassSelectorController.swift":42:19, scope 154 // user: %63
- assign %60 to %62 : $*Optional<UIPickerView>, loc "ClassSelectorController.swift":42:19, scope 154 // id: %63
- %64 = load_borrow %5 : $*ClassSelectorController, scope 155 // users: %66, %65
- %65 = upcast %64 : $ClassSelectorController to $UIViewController, scope 155 // user: %81
- %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
- %67 = copy_value %0 : $Optional<String>, scope 155 // users: %72, %70
- %68 = integer_literal $Builtin.Int1, -1, scope 155 // user: %70
- %69 = integer_literal $Builtin.Int1, 0, scope 155 // user: %70
- %70 = select_enum %67 : $Optional<String>, case #Optional.some!enumelt.1: %68, default %69 : $Builtin.Int1, scope 155 // user: %71
- cond_br %70, bb1, bb2, scope 155 // id: %71
- bb1: // Preds: bb0
- %72 = unchecked_enum_data %67 : $Optional<String>, #Optional.some!enumelt.1, scope 155 // users: %76, %74
- // function_ref String._bridgeToObjectiveC() -> NSString
- %73 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, scope 155 // user: %74
- %74 = apply %73(%72) : $@convention(method) (@guaranteed String) -> @owned NSString, scope 155 // user: %75
- %75 = enum $Optional<NSString>, #Optional.some!enumelt.1, %74 : $NSString, scope 155 // user: %77
- destroy_value %72 : $String, scope 155 // id: %76
- br bb3(%75 : $Optional<NSString>), scope 155 // id: %77
- bb2: // Preds: bb0
- %78 = enum $Optional<NSString>, #Optional.none!enumelt, scope 155 // user: %79
- br bb3(%78 : $Optional<NSString>), scope 155 // id: %79
- // %80 // users: %84, %81
- bb3(%80 : $Optional<NSString>): // Preds: bb2 bb1
- %81 = apply %66(%80, %1, %65) : $@convention(objc_method) (Optional<NSString>, Optional<Bundle>, @owned UIViewController) -> @owned UIViewController, scope 155 // user: %82
- %82 = unchecked_ref_cast %81 : $UIViewController to $ClassSelectorController, scope 155 // user: %83
- store %82 to [init] %5 : $*ClassSelectorController, scope 155 // id: %83
- destroy_value %80 : $Optional<NSString>, scope 155 // id: %84
- %85 = load [copy] %5 : $*ClassSelectorController, loc "ClassSelectorController.swift":25:95, scope 155 // user: %89
- destroy_value %1 : $Optional<Bundle>, loc "ClassSelectorController.swift":25:95, scope 155 // id: %86
- destroy_value %0 : $Optional<String>, loc "ClassSelectorController.swift":25:95, scope 155 // id: %87
- destroy_value %3 : ${ var ClassSelectorController }, loc "ClassSelectorController.swift":25:95, scope 155 // id: %88
- return %85 : $ClassSelectorController, loc "ClassSelectorController.swift":25:95, scope 155 // id: %89
- } // end sil function '_TFC3gpa23ClassSelectorControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_'
- 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 }
- // ClassSelectorController.__allocating_init(nibName : String?, bundle : Bundle?) -> ClassSelectorController
- sil hidden @_TFC3gpa23ClassSelectorControllerCfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ : $@convention(method) (@owned Optional<String>, @owned Optional<Bundle>, @thick ClassSelectorController.Type) -> @owned ClassSelectorController {
- // %0 // user: %5
- // %1 // user: %5
- bb0(%0 : $Optional<String>, %1 : $Optional<Bundle>, %2 : $@thick ClassSelectorController.Type):
- %3 = alloc_ref [objc] $ClassSelectorController, scope 156 // user: %5
- // function_ref ClassSelectorController.init(nibName : String?, bundle : Bundle?) -> ClassSelectorController
- %4 = function_ref @_TFC3gpa23ClassSelectorControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ : $@convention(method) (@owned Optional<String>, @owned Optional<Bundle>, @owned ClassSelectorController) -> @owned ClassSelectorController, scope 156 // user: %5
- %5 = apply %4(%0, %1, %3) : $@convention(method) (@owned Optional<String>, @owned Optional<Bundle>, @owned ClassSelectorController) -> @owned ClassSelectorController, scope 156 // user: %6
- return %5 : $ClassSelectorController, scope 156 // id: %6
- } // end sil function '_TFC3gpa23ClassSelectorControllerCfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_'
- sil_scope 157 { loc "ClassSelectorController.swift":25:95 parent @_TToFC3gpa23ClassSelectorControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ : $@convention(objc_method) (Optional<NSString>, Optional<Bundle>, @owned ClassSelectorController) -> @owned ClassSelectorController }
- // @objc ClassSelectorController.init(nibName : String?, bundle : Bundle?) -> ClassSelectorController
- sil hidden [thunk] @_TToFC3gpa23ClassSelectorControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ : $@convention(objc_method) (Optional<NSString>, Optional<Bundle>, @owned ClassSelectorController) -> @owned ClassSelectorController {
- // %0 // user: %3
- // %1 // user: %4
- // %2 // user: %20
- bb0(%0 : $Optional<NSString>, %1 : $Optional<Bundle>, %2 : $ClassSelectorController):
- %3 = copy_value %0 : $Optional<NSString>, scope 157 // users: %9, %7
- %4 = copy_value %1 : $Optional<Bundle>, scope 157 // user: %20
- %5 = integer_literal $Builtin.Int1, -1, scope 157 // user: %7
- %6 = integer_literal $Builtin.Int1, 0, scope 157 // user: %7
- %7 = select_enum %3 : $Optional<NSString>, case #Optional.some!enumelt.1: %5, default %6 : $Builtin.Int1, scope 157 // user: %8
- cond_br %7, bb1, bb2, scope 157 // id: %8
- bb1: // Preds: bb0
- %9 = unchecked_enum_data %3 : $Optional<NSString>, #Optional.some!enumelt.1, scope 157 // user: %11
- // function_ref static String._unconditionallyBridgeFromObjectiveC(NSString?) -> String
- %10 = function_ref @_TZFE10FoundationSS36_unconditionallyBridgeFromObjectiveCfGSqCSo8NSString_SS : $@convention(method) (@owned Optional<NSString>, @thin String.Type) -> @owned String, scope 157 // user: %13
- %11 = enum $Optional<NSString>, #Optional.some!enumelt.1, %9 : $NSString, scope 157 // user: %13
- %12 = metatype $@thin String.Type, scope 157 // user: %13
- %13 = apply %10(%11, %12) : $@convention(method) (@owned Optional<NSString>, @thin String.Type) -> @owned String, scope 157 // user: %14
- %14 = enum $Optional<String>, #Optional.some!enumelt.1, %13 : $String, scope 157 // user: %15
- br bb3(%14 : $Optional<String>), scope 157 // id: %15
- bb2: // Preds: bb0
- %16 = enum $Optional<String>, #Optional.none!enumelt, scope 157 // user: %17
- br bb3(%16 : $Optional<String>), scope 157 // id: %17
- // %18 // user: %20
- bb3(%18 : $Optional<String>): // Preds: bb2 bb1
- // function_ref ClassSelectorController.init(nibName : String?, bundle : Bundle?) -> ClassSelectorController
- %19 = function_ref @_TFC3gpa23ClassSelectorControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ : $@convention(method) (@owned Optional<String>, @owned Optional<Bundle>, @owned ClassSelectorController) -> @owned ClassSelectorController, scope 157 // user: %20
- %20 = apply %19(%18, %4, %2) : $@convention(method) (@owned Optional<String>, @owned Optional<Bundle>, @owned ClassSelectorController) -> @owned ClassSelectorController, scope 157 // user: %21
- return %20 : $ClassSelectorController, scope 157 // id: %21
- } // end sil function '_TToFC3gpa23ClassSelectorControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_'
- sil_scope 158 { loc "ClassSelectorController.swift":25:95 parent @_TFC3gpa23ClassSelectorControllerCfT5coderCSo7NSCoder_GSqS0__ : $@convention(method) (@owned NSCoder, @thick ClassSelectorController.Type) -> @owned Optional<ClassSelectorController> }
- // ClassSelectorController.__allocating_init(coder : NSCoder) -> ClassSelectorController?
- sil hidden @_TFC3gpa23ClassSelectorControllerCfT5coderCSo7NSCoder_GSqS0__ : $@convention(method) (@owned NSCoder, @thick ClassSelectorController.Type) -> @owned Optional<ClassSelectorController> {
- // %0 // user: %4
- bb0(%0 : $NSCoder, %1 : $@thick ClassSelectorController.Type):
- %2 = alloc_ref [objc] $ClassSelectorController, scope 158 // user: %4
- // function_ref ClassSelectorController.init(coder : NSCoder) -> ClassSelectorController?
- %3 = function_ref @_TFC3gpa23ClassSelectorControllercfT5coderCSo7NSCoder_GSqS0__ : $@convention(method) (@owned NSCoder, @owned ClassSelectorController) -> @owned Optional<ClassSelectorController>, scope 158 // user: %4
- %4 = apply %3(%0, %2) : $@convention(method) (@owned NSCoder, @owned ClassSelectorController) -> @owned Optional<ClassSelectorController>, scope 158 // user: %5
- return %4 : $Optional<ClassSelectorController>, scope 158 // id: %5
- } // end sil function '_TFC3gpa23ClassSelectorControllerCfT5coderCSo7NSCoder_GSqS0__'
- sil_scope 159 { loc "ClassSelectorController.swift":25:95 parent @_TFC3gpa23ClassSelectorControllercfT5coderCSo7NSCoder_GSqS0__ : $@convention(method) (@owned NSCoder, @owned ClassSelectorController) -> @owned Optional<ClassSelectorController> }
- sil_scope 160 { parent 159 }
- // ClassSelectorController.init(coder : NSCoder) -> ClassSelectorController?
- sil hidden @_TFC3gpa23ClassSelectorControllercfT5coderCSo7NSCoder_GSqS0__ : $@convention(method) (@owned NSCoder, @owned ClassSelectorController) -> @owned Optional<ClassSelectorController> {
- // %0 // users: %75, %65, %78, %5
- // %1 // user: %6
- bb0(%0 : $NSCoder, %1 : $ClassSelectorController):
- %2 = alloc_box ${ var ClassSelectorController }, let, name "self", scope 159 // users: %76, %79, %3
- %3 = project_box %2 : ${ var ClassSelectorController }, 0, scope 159 // user: %4
- %4 = mark_uninitialized [derivedself] %3 : $*ClassSelectorController, scope 159 // users: %73, %72, %62, %59, %54, %49, %44, %39, %34, %29, %24, %19, %14, %9, %6
- debug_value %0 : $NSCoder, let, name "aDecoder", argno 1, scope 159 // id: %5
- store %1 to [init] %4 : $*ClassSelectorController, loc "ClassSelectorController.swift":25:95, scope 159 // id: %6
- // function_ref ClassSelectorController.(selected).(variable initialization expression)
- %7 = function_ref @_TIvC3gpa23ClassSelectorController8selectedSii : $@convention(thin) () -> Int, loc "ClassSelectorController.swift":27:20, scope 159 // user: %8
- %8 = apply %7() : $@convention(thin) () -> Int, loc "ClassSelectorController.swift":27:20, scope 159 // user: %11
- %9 = load_borrow %4 : $*ClassSelectorController, loc "ClassSelectorController.swift":27:9, scope 159 // user: %10
- %10 = ref_element_addr %9 : $ClassSelectorController, #ClassSelectorController.selected, loc "ClassSelectorController.swift":27:9, scope 159 // user: %11
- assign %8 to %10 : $*Int, loc "ClassSelectorController.swift":27:9, scope 159 // id: %11
- // function_ref ClassSelectorController.(classNameField).(variable initialization expression)
- %12 = function_ref @_TIvC3gpa23ClassSelectorController14classNameFieldGSQCSo11UITextField_i : $@convention(thin) () -> @owned Optional<UITextField>, scope 159 // user: %13
- %13 = apply %12() : $@convention(thin) () -> @owned Optional<UITextField>, scope 159 // user: %16
- %14 = load_borrow %4 : $*ClassSelectorController, loc "ClassSelectorController.swift":29:19, scope 159 // user: %15
- %15 = ref_element_addr %14 : $ClassSelectorController, #ClassSelectorController.classNameField, loc "ClassSelectorController.swift":29:19, scope 159 // user: %16
- assign %13 to %15 : $*Optional<UITextField>, loc "ClassSelectorController.swift":29:19, scope 159 // id: %16
- // function_ref ClassSelectorController.(multiplierField).(variable initialization expression)
- %17 = function_ref @_TIvC3gpa23ClassSelectorController15multiplierFieldGSQCSo11UITextField_i : $@convention(thin) () -> @owned Optional<UITextField>, scope 159 // user: %18
- %18 = apply %17() : $@convention(thin) () -> @owned Optional<UITextField>, scope 159 // user: %21
- %19 = load_borrow %4 : $*ClassSelectorController, loc "ClassSelectorController.swift":30:19, scope 159 // user: %20
- %20 = ref_element_addr %19 : $ClassSelectorController, #ClassSelectorController.multiplierField, loc "ClassSelectorController.swift":30:19, scope 159 // user: %21
- assign %18 to %20 : $*Optional<UITextField>, loc "ClassSelectorController.swift":30:19, scope 159 // id: %21
- // function_ref ClassSelectorController.(currentGradeField).(variable initialization expression)
- %22 = function_ref @_TIvC3gpa23ClassSelectorController17currentGradeFieldGSQCSo11UITextField_i : $@convention(thin) () -> @owned Optional<UITextField>, scope 159 // user: %23
- %23 = apply %22() : $@convention(thin) () -> @owned Optional<UITextField>, scope 159 // user: %26
- %24 = load_borrow %4 : $*ClassSelectorController, loc "ClassSelectorController.swift":31:19, scope 159 // user: %25
- %25 = ref_element_addr %24 : $ClassSelectorController, #ClassSelectorController.currentGradeField, loc "ClassSelectorController.swift":31:19, scope 159 // user: %26
- assign %23 to %25 : $*Optional<UITextField>, loc "ClassSelectorController.swift":31:19, scope 159 // id: %26
- // function_ref ClassSelectorController.(creditsField).(variable initialization expression)
- %27 = function_ref @_TIvC3gpa23ClassSelectorController12creditsFieldGSQCSo11UITextField_i : $@convention(thin) () -> @owned Optional<UITextField>, scope 159 // user: %28
- %28 = apply %27() : $@convention(thin) () -> @owned Optional<UITextField>, scope 159 // user: %31
- %29 = load_borrow %4 : $*ClassSelectorController, loc "ClassSelectorController.swift":32:19, scope 159 // user: %30
- %30 = ref_element_addr %29 : $ClassSelectorController, #ClassSelectorController.creditsField, loc "ClassSelectorController.swift":32:19, scope 159 // user: %31
- assign %28 to %30 : $*Optional<UITextField>, loc "ClassSelectorController.swift":32:19, scope 159 // id: %31
- // function_ref ClassSelectorController.(multiplierBar).(variable initialization expression)
- %32 = function_ref @_TIvC3gpa23ClassSelectorController13multiplierBarGSQCSo18UISegmentedControl_i : $@convention(thin) () -> @owned Optional<UISegmentedControl>, scope 159 // user: %33
- %33 = apply %32() : $@convention(thin) () -> @owned Optional<UISegmentedControl>, scope 159 // user: %36
- %34 = load_borrow %4 : $*ClassSelectorController, loc "ClassSelectorController.swift":34:19, scope 159 // user: %35
- %35 = ref_element_addr %34 : $ClassSelectorController, #ClassSelectorController.multiplierBar, loc "ClassSelectorController.swift":34:19, scope 159 // user: %36
- assign %33 to %35 : $*Optional<UISegmentedControl>, loc "ClassSelectorController.swift":34:19, scope 159 // id: %36
- // function_ref ClassSelectorController.(creditsBar).(variable initialization expression)
- %37 = function_ref @_TIvC3gpa23ClassSelectorController10creditsBarGSQCSo18UISegmentedControl_i : $@convention(thin) () -> @owned Optional<UISegmentedControl>, scope 159 // user: %38
- %38 = apply %37() : $@convention(thin) () -> @owned Optional<UISegmentedControl>, scope 159 // user: %41
- %39 = load_borrow %4 : $*ClassSelectorController, loc "ClassSelectorController.swift":35:19, scope 159 // user: %40
- %40 = ref_element_addr %39 : $ClassSelectorController, #ClassSelectorController.creditsBar, loc "ClassSelectorController.swift":35:19, scope 159 // user: %41
- assign %38 to %40 : $*Optional<UISegmentedControl>, loc "ClassSelectorController.swift":35:19, scope 159 // id: %41
- // function_ref ClassSelectorController.(warningLabel).(variable initialization expression)
- %42 = function_ref @_TIvC3gpa23ClassSelectorController12warningLabelGSQCSo7UILabel_i : $@convention(thin) () -> @owned Optional<UILabel>, scope 159 // user: %43
- %43 = apply %42() : $@convention(thin) () -> @owned Optional<UILabel>, scope 159 // user: %46
- %44 = load_borrow %4 : $*ClassSelectorController, loc "ClassSelectorController.swift":37:19, scope 159 // user: %45
- %45 = ref_element_addr %44 : $ClassSelectorController, #ClassSelectorController.warningLabel, loc "ClassSelectorController.swift":37:19, scope 159 // user: %46
- assign %43 to %45 : $*Optional<UILabel>, loc "ClassSelectorController.swift":37:19, scope 159 // id: %46
- // function_ref ClassSelectorController.(addClassButton).(variable initialization expression)
- %47 = function_ref @_TIvC3gpa23ClassSelectorController14addClassButtonGSQCSo8UIButton_i : $@convention(thin) () -> @owned Optional<UIButton>, scope 159 // user: %48
- %48 = apply %47() : $@convention(thin) () -> @owned Optional<UIButton>, scope 159 // user: %51
- %49 = load_borrow %4 : $*ClassSelectorController, loc "ClassSelectorController.swift":39:19, scope 159 // user: %50
- %50 = ref_element_addr %49 : $ClassSelectorController, #ClassSelectorController.addClassButton, loc "ClassSelectorController.swift":39:19, scope 159 // user: %51
- assign %48 to %50 : $*Optional<UIButton>, loc "ClassSelectorController.swift":39:19, scope 159 // id: %51
- // function_ref ClassSelectorController.(cancelButton).(variable initialization expression)
- %52 = function_ref @_TIvC3gpa23ClassSelectorController12cancelButtonGSQCSo15UIBarButtonItem_i : $@convention(thin) () -> @owned Optional<UIBarButtonItem>, scope 159 // user: %53
- %53 = apply %52() : $@convention(thin) () -> @owned Optional<UIBarButtonItem>, scope 159 // user: %56
- %54 = load_borrow %4 : $*ClassSelectorController, loc "ClassSelectorController.swift":40:19, scope 159 // user: %55
- %55 = ref_element_addr %54 : $ClassSelectorController, #ClassSelectorController.cancelButton, loc "ClassSelectorController.swift":40:19, scope 159 // user: %56
- assign %53 to %55 : $*Optional<UIBarButtonItem>, loc "ClassSelectorController.swift":40:19, scope 159 // id: %56
- // function_ref ClassSelectorController.(picker).(variable initialization expression)
- %57 = function_ref @_TIvC3gpa23ClassSelectorController6pickerGSQCSo12UIPickerView_i : $@convention(thin) () -> @owned Optional<UIPickerView>, scope 159 // user: %58
- %58 = apply %57() : $@convention(thin) () -> @owned Optional<UIPickerView>, scope 159 // user: %61
- %59 = load_borrow %4 : $*ClassSelectorController, loc "ClassSelectorController.swift":42:19, scope 159 // user: %60
- %60 = ref_element_addr %59 : $ClassSelectorController, #ClassSelectorController.picker, loc "ClassSelectorController.swift":42:19, scope 159 // user: %61
- assign %58 to %60 : $*Optional<UIPickerView>, loc "ClassSelectorController.swift":42:19, scope 159 // id: %61
- %62 = load_borrow %4 : $*ClassSelectorController, scope 160 // users: %64, %63
- %63 = upcast %62 : $ClassSelectorController to $UIViewController, scope 160 // user: %65
- %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
- %65 = apply %64(%0, %63) : $@convention(objc_method) (NSCoder, @owned UIViewController) -> @owned Optional<UIViewController>, scope 160 // users: %70, %68
- %66 = integer_literal $Builtin.Int1, -1, scope 160 // user: %68
- %67 = integer_literal $Builtin.Int1, 0, scope 160 // user: %68
- %68 = select_enum %65 : $Optional<UIViewController>, case #Optional.some!enumelt.1: %66, default %67 : $Builtin.Int1, scope 160 // user: %69
- cond_br %68, bb1, bb2, scope 160 // id: %69
- bb1: // Preds: bb0
- %70 = unchecked_enum_data %65 : $Optional<UIViewController>, #Optional.some!enumelt.1, scope 160 // user: %71
- %71 = unchecked_ref_cast %70 : $UIViewController to $ClassSelectorController, scope 160 // user: %72
- store %71 to [init] %4 : $*ClassSelectorController, scope 160 // id: %72
- %73 = load [copy] %4 : $*ClassSelectorController, loc "ClassSelectorController.swift":25:95, scope 160 // user: %74
- %74 = enum $Optional<ClassSelectorController>, #Optional.some!enumelt.1, %73 : $ClassSelectorController, scope 160 // user: %77
- destroy_value %0 : $NSCoder, loc "ClassSelectorController.swift":25:95, scope 160 // id: %75
- destroy_value %2 : ${ var ClassSelectorController }, loc "ClassSelectorController.swift":25:95, scope 160 // id: %76
- br bb3(%74 : $Optional<ClassSelectorController>), loc "ClassSelectorController.swift":25:95, scope 160 // id: %77
- bb2: // Preds: bb0
- destroy_value %0 : $NSCoder, loc "ClassSelectorController.swift":25:95, scope 159 // id: %78
- destroy_value %2 : ${ var ClassSelectorController }, loc "ClassSelectorController.swift":25:95, scope 159 // id: %79
- %80 = enum $Optional<ClassSelectorController>, #Optional.none!enumelt, scope 159 // user: %81
- br bb3(%80 : $Optional<ClassSelectorController>), scope 159 // id: %81
- // %82 // user: %83
- bb3(%82 : $Optional<ClassSelectorController>): // Preds: bb1 bb2
- return %82 : $Optional<ClassSelectorController>, scope 159 // id: %83
- } // end sil function '_TFC3gpa23ClassSelectorControllercfT5coderCSo7NSCoder_GSqS0__'
- sil_scope 161 { loc "ClassSelectorController.swift":25:95 parent @_TToFC3gpa23ClassSelectorControllercfT5coderCSo7NSCoder_GSqS0__ : $@convention(objc_method) (NSCoder, @owned ClassSelectorController) -> @owned Optional<ClassSelectorController> }
- // @objc ClassSelectorController.init(coder : NSCoder) -> ClassSelectorController?
- sil hidden [thunk] @_TToFC3gpa23ClassSelectorControllercfT5coderCSo7NSCoder_GSqS0__ : $@convention(objc_method) (NSCoder, @owned ClassSelectorController) -> @owned Optional<ClassSelectorController> {
- // %0 // user: %2
- // %1 // user: %4
- bb0(%0 : $NSCoder, %1 : $ClassSelectorController):
- %2 = copy_value %0 : $NSCoder, scope 161 // user: %4
- // function_ref ClassSelectorController.init(coder : NSCoder) -> ClassSelectorController?
- %3 = function_ref @_TFC3gpa23ClassSelectorControllercfT5coderCSo7NSCoder_GSqS0__ : $@convention(method) (@owned NSCoder, @owned ClassSelectorController) -> @owned Optional<ClassSelectorController>, scope 161 // user: %4
- %4 = apply %3(%2, %1) : $@convention(method) (@owned NSCoder, @owned ClassSelectorController) -> @owned Optional<ClassSelectorController>, scope 161 // user: %5
- return %4 : $Optional<ClassSelectorController>, scope 161 // id: %5
- } // end sil function '_TToFC3gpa23ClassSelectorControllercfT5coderCSo7NSCoder_GSqS0__'
- sil_vtable ClassSelectorController {
- #ClassSelectorController.viewDidLoad!1: _TFC3gpa23ClassSelectorController11viewDidLoadfT_T_ // ClassSelectorController.viewDidLoad() -> ()
- #ClassSelectorController.didReceiveMemoryWarning!1: _TFC3gpa23ClassSelectorController23didReceiveMemoryWarningfT_T_ // ClassSelectorController.didReceiveMemoryWarning() -> ()
- #ClassSelectorController.pickerView!1: _TFC3gpa23ClassSelectorController10pickerViewfTCSo12UIPickerView11titleForRowSi12forComponentSi_GSqSS_ // ClassSelectorController.pickerView(UIPickerView, titleForRow : Int, forComponent : Int) -> String?
- #ClassSelectorController.numberOfComponents!1: _TFC3gpa23ClassSelectorController18numberOfComponentsfT2inCSo12UIPickerView_Si // ClassSelectorController.numberOfComponents(in : UIPickerView) -> Int
- #ClassSelectorController.pickerView!1: _TFC3gpa23ClassSelectorController10pickerViewfTCSo12UIPickerView23numberOfRowsInComponentSi_Si // ClassSelectorController.pickerView(UIPickerView, numberOfRowsInComponent : Int) -> Int
- #ClassSelectorController.pickerView!1: _TFC3gpa23ClassSelectorController10pickerViewfTCSo12UIPickerView12didSelectRowSi11inComponentSi_T_ // ClassSelectorController.pickerView(UIPickerView, didSelectRow : Int, inComponent : Int) -> ()
- #ClassSelectorController.updateClass!1: _TFC3gpa23ClassSelectorController11updateClassfP_T_ // ClassSelectorController.updateClass(Any) -> ()
- #ClassSelectorController.touchesBegan!1: _TFC3gpa23ClassSelectorController12touchesBeganfTGVs3SetCSo7UITouch_4withGSqCSo7UIEvent__T_ // ClassSelectorController.touchesBegan(Set<UITouch>, with : UIEvent?) -> ()
- #ClassSelectorController.deinit!deallocator: _TFC3gpa23ClassSelectorControllerD // ClassSelectorController.__deallocating_deinit
- #ClassSelectorController.selected!getter.1: _TFC3gpa23ClassSelectorControllerg8selectedSi // ClassSelectorController.selected.getter
- #ClassSelectorController.selected!setter.1: _TFC3gpa23ClassSelectorControllers8selectedSi // ClassSelectorController.selected.setter
- #ClassSelectorController.selected!materializeForSet.1: _TFC3gpa23ClassSelectorControllerm8selectedSi // ClassSelectorController.selected.materializeForSet
- #ClassSelectorController.classNameField!getter.1: _TFC3gpa23ClassSelectorControllerg14classNameFieldGSQCSo11UITextField_ // ClassSelectorController.classNameField.getter
- #ClassSelectorController.classNameField!setter.1: _TFC3gpa23ClassSelectorControllers14classNameFieldGSQCSo11UITextField_ // ClassSelectorController.classNameField.setter
- #ClassSelectorController.classNameField!materializeForSet.1: _TFC3gpa23ClassSelectorControllerm14classNameFieldGSQCSo11UITextField_ // ClassSelectorController.classNameField.materializeForSet
- #ClassSelectorController.multiplierField!getter.1: _TFC3gpa23ClassSelectorControllerg15multiplierFieldGSQCSo11UITextField_ // ClassSelectorController.multiplierField.getter
- #ClassSelectorController.multiplierField!setter.1: _TFC3gpa23ClassSelectorControllers15multiplierFieldGSQCSo11UITextField_ // ClassSelectorController.multiplierField.setter
- #ClassSelectorController.multiplierField!materializeForSet.1: _TFC3gpa23ClassSelectorControllerm15multiplierFieldGSQCSo11UITextField_ // ClassSelectorController.multiplierField.materializeForSet
- #ClassSelectorController.currentGradeField!getter.1: _TFC3gpa23ClassSelectorControllerg17currentGradeFieldGSQCSo11UITextField_ // ClassSelectorController.currentGradeField.getter
- #ClassSelectorController.currentGradeField!setter.1: _TFC3gpa23ClassSelectorControllers17currentGradeFieldGSQCSo11UITextField_ // ClassSelectorController.currentGradeField.setter
- #ClassSelectorController.currentGradeField!materializeForSet.1: _TFC3gpa23ClassSelectorControllerm17currentGradeFieldGSQCSo11UITextField_ // ClassSelectorController.currentGradeField.materializeForSet
- #ClassSelectorController.creditsField!getter.1: _TFC3gpa23ClassSelectorControllerg12creditsFieldGSQCSo11UITextField_ // ClassSelectorController.creditsField.getter
- #ClassSelectorController.creditsField!setter.1: _TFC3gpa23ClassSelectorControllers12creditsFieldGSQCSo11UITextField_ // ClassSelectorController.creditsField.setter
- #ClassSelectorController.creditsField!materializeForSet.1: _TFC3gpa23ClassSelectorControllerm12creditsFieldGSQCSo11UITextField_ // ClassSelectorController.creditsField.materializeForSet
- #ClassSelectorController.multiplierBar!getter.1: _TFC3gpa23ClassSelectorControllerg13multiplierBarGSQCSo18UISegmentedControl_ // ClassSelectorController.multiplierBar.getter
- #ClassSelectorController.multiplierBar!setter.1: _TFC3gpa23ClassSelectorControllers13multiplierBarGSQCSo18UISegmentedControl_ // ClassSelectorController.multiplierBar.setter
- #ClassSelectorController.multiplierBar!materializeForSet.1: _TFC3gpa23ClassSelectorControllerm13multiplierBarGSQCSo18UISegmentedControl_ // ClassSelectorController.multiplierBar.materializeForSet
- #ClassSelectorController.creditsBar!getter.1: _TFC3gpa23ClassSelectorControllerg10creditsBarGSQCSo18UISegmentedControl_ // ClassSelectorController.creditsBar.getter
- #ClassSelectorController.creditsBar!setter.1: _TFC3gpa23ClassSelectorControllers10creditsBarGSQCSo18UISegmentedControl_ // ClassSelectorController.creditsBar.setter
- #ClassSelectorController.creditsBar!materializeForSet.1: _TFC3gpa23ClassSelectorControllerm10creditsBarGSQCSo18UISegmentedControl_ // ClassSelectorController.creditsBar.materializeForSet
- #ClassSelectorController.warningLabel!getter.1: _TFC3gpa23ClassSelectorControllerg12warningLabelGSQCSo7UILabel_ // ClassSelectorController.warningLabel.getter
- #ClassSelectorController.warningLabel!setter.1: _TFC3gpa23ClassSelectorControllers12warningLabelGSQCSo7UILabel_ // ClassSelectorController.warningLabel.setter
- #ClassSelectorController.warningLabel!materializeForSet.1: _TFC3gpa23ClassSelectorControllerm12warningLabelGSQCSo7UILabel_ // ClassSelectorController.warningLabel.materializeForSet
- #ClassSelectorController.addClassButton!getter.1: _TFC3gpa23ClassSelectorControllerg14addClassButtonGSQCSo8UIButton_ // ClassSelectorController.addClassButton.getter
- #ClassSelectorController.addClassButton!setter.1: _TFC3gpa23ClassSelectorControllers14addClassButtonGSQCSo8UIButton_ // ClassSelectorController.addClassButton.setter
- #ClassSelectorController.addClassButton!materializeForSet.1: _TFC3gpa23ClassSelectorControllerm14addClassButtonGSQCSo8UIButton_ // ClassSelectorController.addClassButton.materializeForSet
- #ClassSelectorController.cancelButton!getter.1: _TFC3gpa23ClassSelectorControllerg12cancelButtonGSQCSo15UIBarButtonItem_ // ClassSelectorController.cancelButton.getter
- #ClassSelectorController.cancelButton!setter.1: _TFC3gpa23ClassSelectorControllers12cancelButtonGSQCSo15UIBarButtonItem_ // ClassSelectorController.cancelButton.setter
- #ClassSelectorController.cancelButton!materializeForSet.1: _TFC3gpa23ClassSelectorControllerm12cancelButtonGSQCSo15UIBarButtonItem_ // ClassSelectorController.cancelButton.materializeForSet
- #ClassSelectorController.picker!getter.1: _TFC3gpa23ClassSelectorControllerg6pickerGSQCSo12UIPickerView_ // ClassSelectorController.picker.getter
- #ClassSelectorController.picker!setter.1: _TFC3gpa23ClassSelectorControllers6pickerGSQCSo12UIPickerView_ // ClassSelectorController.picker.setter
- #ClassSelectorController.picker!materializeForSet.1: _TFC3gpa23ClassSelectorControllerm6pickerGSQCSo12UIPickerView_ // ClassSelectorController.picker.materializeForSet
- #ClassSelectorController.init!initializer.1: _TFC3gpa23ClassSelectorControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ // ClassSelectorController.init(nibName : String?, bundle : Bundle?) -> ClassSelectorController
- #ClassSelectorController.init!allocator.1: _TFC3gpa23ClassSelectorControllerCfT5coderCSo7NSCoder_GSqS0__ // ClassSelectorController.__allocating_init(coder : NSCoder) -> ClassSelectorController?
- #ClassSelectorController.init!initializer.1: _TFC3gpa23ClassSelectorControllercfT5coderCSo7NSCoder_GSqS0__ // ClassSelectorController.init(coder : NSCoder) -> ClassSelectorController?
- }
- sil_witness_table ClassSelectorController: UIPickerViewDelegate module gpa
- sil_witness_table ClassSelectorController: UIPickerViewDataSource module gpa
- sil_witness_table shared NSObject: AnyObject module ObjectiveC
- sil_stage raw
- import Builtin
- import Swift
- import SwiftShims
- sil_scope 1 { parent @_TIvC3gpa17GPAViewController16westlakeGPALabelGSQCSo7UILabel_i : $@convention(thin) () -> @owned Optional<UILabel> }
- // GPAViewController.(westlakeGPALabel).(variable initialization expression)
- sil hidden [transparent] @_TIvC3gpa17GPAViewController16westlakeGPALabelGSQCSo7UILabel_i : $@convention(thin) () -> @owned Optional<UILabel> {
- bb0:
- // function_ref ImplicitlyUnwrappedOptional.init(nilLiteral : ()) -> A!
- %0 = function_ref @_TFSQCfT10nilLiteralT__GSQx_ : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 1 // user: %3
- %1 = metatype $@thin ImplicitlyUnwrappedOptional<UILabel>.Type, scope 1 // user: %3
- %2 = alloc_stack $Optional<UILabel>, scope 1 // users: %5, %4, %3
- %3 = apply %0<UILabel>(%2, %1) : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 1
- %4 = load [take] %2 : $*Optional<UILabel>, scope 1 // user: %6
- dealloc_stack %2 : $*Optional<UILabel>, scope 1 // id: %5
- return %4 : $Optional<UILabel>, scope 1 // id: %6
- } // end sil function '_TIvC3gpa17GPAViewController16westlakeGPALabelGSQCSo7UILabel_i'
- // ImplicitlyUnwrappedOptional.init(nilLiteral : ()) -> A!
- sil [transparent] [fragile] @_TFSQCfT10nilLiteralT__GSQx_ : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>
- sil_scope 2 { parent @_TToFC3gpa17GPAViewControllerg16westlakeGPALabelGSQCSo7UILabel_ : $@convention(objc_method) (GPAViewController) -> @autoreleased Optional<UILabel> }
- // @objc GPAViewController.westlakeGPALabel.getter
- sil hidden [thunk] @_TToFC3gpa17GPAViewControllerg16westlakeGPALabelGSQCSo7UILabel_ : $@convention(objc_method) (GPAViewController) -> @autoreleased Optional<UILabel> {
- // %0 // user: %1
- bb0(%0 : $GPAViewController):
- %1 = copy_value %0 : $GPAViewController, scope 2 // users: %4, %3
- // function_ref GPAViewController.westlakeGPALabel.getter
- %2 = function_ref @_TFC3gpa17GPAViewControllerg16westlakeGPALabelGSQCSo7UILabel_ : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, scope 2 // user: %3
- %3 = apply %2(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, scope 2 // user: %5
- destroy_value %1 : $GPAViewController, scope 2 // id: %4
- return %3 : $Optional<UILabel>, scope 2 // id: %5
- } // end sil function '_TToFC3gpa17GPAViewControllerg16westlakeGPALabelGSQCSo7UILabel_'
- sil_scope 3 { loc "GPAViewController.swift":27:19 parent @_TFC3gpa17GPAViewControllerg16westlakeGPALabelGSQCSo7UILabel_ : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel> }
- sil_scope 4 { loc "GPAViewController.swift":27:19 parent 3 }
- // GPAViewController.westlakeGPALabel.getter
- sil hidden @_TFC3gpa17GPAViewControllerg16westlakeGPALabelGSQCSo7UILabel_ : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel> {
- // %0 // users: %2, %1
- bb0(%0 : $GPAViewController):
- debug_value %0 : $GPAViewController, let, name "self", argno 1, loc "GPAViewController.swift":27:19, scope 3 // id: %1
- %2 = ref_element_addr %0 : $GPAViewController, #GPAViewController.westlakeGPALabel, scope 4 // user: %3
- %3 = load [copy] %2 : $*Optional<UILabel>, scope 4 // user: %4
- return %3 : $Optional<UILabel>, loc "GPAViewController.swift":27:19, scope 4 // id: %4
- } // end sil function '_TFC3gpa17GPAViewControllerg16westlakeGPALabelGSQCSo7UILabel_'
- sil_scope 5 { parent @_TToFC3gpa17GPAViewControllers16westlakeGPALabelGSQCSo7UILabel_ : $@convention(objc_method) (Optional<UILabel>, GPAViewController) -> () }
- // @objc GPAViewController.westlakeGPALabel.setter
- sil hidden [thunk] @_TToFC3gpa17GPAViewControllers16westlakeGPALabelGSQCSo7UILabel_ : $@convention(objc_method) (Optional<UILabel>, GPAViewController) -> () {
- // %0 // user: %2
- // %1 // user: %3
- bb0(%0 : $Optional<UILabel>, %1 : $GPAViewController):
- %2 = copy_value %0 : $Optional<UILabel>, scope 5 // user: %5
- %3 = copy_value %1 : $GPAViewController, scope 5 // users: %6, %5
- // function_ref GPAViewController.westlakeGPALabel.setter
- %4 = function_ref @_TFC3gpa17GPAViewControllers16westlakeGPALabelGSQCSo7UILabel_ : $@convention(method) (@owned Optional<UILabel>, @guaranteed GPAViewController) -> (), scope 5 // user: %5
- %5 = apply %4(%2, %3) : $@convention(method) (@owned Optional<UILabel>, @guaranteed GPAViewController) -> (), scope 5 // user: %7
- destroy_value %3 : $GPAViewController, scope 5 // id: %6
- return %5 : $(), scope 5 // id: %7
- } // end sil function '_TToFC3gpa17GPAViewControllers16westlakeGPALabelGSQCSo7UILabel_'
- sil_scope 6 { loc "GPAViewController.swift":27:19 parent @_TFC3gpa17GPAViewControllers16westlakeGPALabelGSQCSo7UILabel_ : $@convention(method) (@owned Optional<UILabel>, @guaranteed GPAViewController) -> () }
- sil_scope 7 { loc "GPAViewController.swift":27:19 parent 6 }
- // GPAViewController.westlakeGPALabel.setter
- sil hidden @_TFC3gpa17GPAViewControllers16westlakeGPALabelGSQCSo7UILabel_ : $@convention(method) (@owned Optional<UILabel>, @guaranteed GPAViewController) -> () {
- // %0 // users: %7, %4, %2
- // %1 // users: %5, %3
- bb0(%0 : $Optional<UILabel>, %1 : $GPAViewController):
- debug_value %0 : $Optional<UILabel>, let, name "value", argno 1, loc "GPAViewController.swift":27:19, scope 6 // id: %2
- debug_value %1 : $GPAViewController, let, name "self", argno 2, loc "GPAViewController.swift":27:19, scope 6 // id: %3
- %4 = copy_value %0 : $Optional<UILabel>, scope 7 // user: %6
- %5 = ref_element_addr %1 : $GPAViewController, #GPAViewController.westlakeGPALabel, scope 7 // user: %6
- assign %4 to %5 : $*Optional<UILabel>, scope 7 // id: %6
- destroy_value %0 : $Optional<UILabel>, loc "GPAViewController.swift":27:19, scope 7 // id: %7
- %8 = tuple (), loc "GPAViewController.swift":27:19, scope 7 // user: %9
- return %8 : $(), loc "GPAViewController.swift":27:19, scope 7 // id: %9
- } // end sil function '_TFC3gpa17GPAViewControllers16westlakeGPALabelGSQCSo7UILabel_'
- sil_scope 8 { parent @_TIvC3gpa17GPAViewController16standardGPALabelGSQCSo7UILabel_i : $@convention(thin) () -> @owned Optional<UILabel> }
- // GPAViewController.(standardGPALabel).(variable initialization expression)
- sil hidden [transparent] @_TIvC3gpa17GPAViewController16standardGPALabelGSQCSo7UILabel_i : $@convention(thin) () -> @owned Optional<UILabel> {
- bb0:
- // function_ref ImplicitlyUnwrappedOptional.init(nilLiteral : ()) -> A!
- %0 = function_ref @_TFSQCfT10nilLiteralT__GSQx_ : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 8 // user: %3
- %1 = metatype $@thin ImplicitlyUnwrappedOptional<UILabel>.Type, scope 8 // user: %3
- %2 = alloc_stack $Optional<UILabel>, scope 8 // users: %5, %4, %3
- %3 = apply %0<UILabel>(%2, %1) : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 8
- %4 = load [take] %2 : $*Optional<UILabel>, scope 8 // user: %6
- dealloc_stack %2 : $*Optional<UILabel>, scope 8 // id: %5
- return %4 : $Optional<UILabel>, scope 8 // id: %6
- } // end sil function '_TIvC3gpa17GPAViewController16standardGPALabelGSQCSo7UILabel_i'
- sil_scope 9 { parent @_TToFC3gpa17GPAViewControllerg16standardGPALabelGSQCSo7UILabel_ : $@convention(objc_method) (GPAViewController) -> @autoreleased Optional<UILabel> }
- // @objc GPAViewController.standardGPALabel.getter
- sil hidden [thunk] @_TToFC3gpa17GPAViewControllerg16standardGPALabelGSQCSo7UILabel_ : $@convention(objc_method) (GPAViewController) -> @autoreleased Optional<UILabel> {
- // %0 // user: %1
- bb0(%0 : $GPAViewController):
- %1 = copy_value %0 : $GPAViewController, scope 9 // users: %4, %3
- // function_ref GPAViewController.standardGPALabel.getter
- %2 = function_ref @_TFC3gpa17GPAViewControllerg16standardGPALabelGSQCSo7UILabel_ : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, scope 9 // user: %3
- %3 = apply %2(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, scope 9 // user: %5
- destroy_value %1 : $GPAViewController, scope 9 // id: %4
- return %3 : $Optional<UILabel>, scope 9 // id: %5
- } // end sil function '_TToFC3gpa17GPAViewControllerg16standardGPALabelGSQCSo7UILabel_'
- sil_scope 10 { loc "GPAViewController.swift":28:19 parent @_TFC3gpa17GPAViewControllerg16standardGPALabelGSQCSo7UILabel_ : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel> }
- sil_scope 11 { loc "GPAViewController.swift":28:19 parent 10 }
- // GPAViewController.standardGPALabel.getter
- sil hidden @_TFC3gpa17GPAViewControllerg16standardGPALabelGSQCSo7UILabel_ : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel> {
- // %0 // users: %2, %1
- bb0(%0 : $GPAViewController):
- debug_value %0 : $GPAViewController, let, name "self", argno 1, loc "GPAViewController.swift":28:19, scope 10 // id: %1
- %2 = ref_element_addr %0 : $GPAViewController, #GPAViewController.standardGPALabel, scope 11 // user: %3
- %3 = load [copy] %2 : $*Optional<UILabel>, scope 11 // user: %4
- return %3 : $Optional<UILabel>, loc "GPAViewController.swift":28:19, scope 11 // id: %4
- } // end sil function '_TFC3gpa17GPAViewControllerg16standardGPALabelGSQCSo7UILabel_'
- sil_scope 12 { parent @_TToFC3gpa17GPAViewControllers16standardGPALabelGSQCSo7UILabel_ : $@convention(objc_method) (Optional<UILabel>, GPAViewController) -> () }
- // @objc GPAViewController.standardGPALabel.setter
- sil hidden [thunk] @_TToFC3gpa17GPAViewControllers16standardGPALabelGSQCSo7UILabel_ : $@convention(objc_method) (Optional<UILabel>, GPAViewController) -> () {
- // %0 // user: %2
- // %1 // user: %3
- bb0(%0 : $Optional<UILabel>, %1 : $GPAViewController):
- %2 = copy_value %0 : $Optional<UILabel>, scope 12 // user: %5
- %3 = copy_value %1 : $GPAViewController, scope 12 // users: %6, %5
- // function_ref GPAViewController.standardGPALabel.setter
- %4 = function_ref @_TFC3gpa17GPAViewControllers16standardGPALabelGSQCSo7UILabel_ : $@convention(method) (@owned Optional<UILabel>, @guaranteed GPAViewController) -> (), scope 12 // user: %5
- %5 = apply %4(%2, %3) : $@convention(method) (@owned Optional<UILabel>, @guaranteed GPAViewController) -> (), scope 12 // user: %7
- destroy_value %3 : $GPAViewController, scope 12 // id: %6
- return %5 : $(), scope 12 // id: %7
- } // end sil function '_TToFC3gpa17GPAViewControllers16standardGPALabelGSQCSo7UILabel_'
- sil_scope 13 { loc "GPAViewController.swift":28:19 parent @_TFC3gpa17GPAViewControllers16standardGPALabelGSQCSo7UILabel_ : $@convention(method) (@owned Optional<UILabel>, @guaranteed GPAViewController) -> () }
- sil_scope 14 { loc "GPAViewController.swift":28:19 parent 13 }
- // GPAViewController.standardGPALabel.setter
- sil hidden @_TFC3gpa17GPAViewControllers16standardGPALabelGSQCSo7UILabel_ : $@convention(method) (@owned Optional<UILabel>, @guaranteed GPAViewController) -> () {
- // %0 // users: %7, %4, %2
- // %1 // users: %5, %3
- bb0(%0 : $Optional<UILabel>, %1 : $GPAViewController):
- debug_value %0 : $Optional<UILabel>, let, name "value", argno 1, loc "GPAViewController.swift":28:19, scope 13 // id: %2
- debug_value %1 : $GPAViewController, let, name "self", argno 2, loc "GPAViewController.swift":28:19, scope 13 // id: %3
- %4 = copy_value %0 : $Optional<UILabel>, scope 14 // user: %6
- %5 = ref_element_addr %1 : $GPAViewController, #GPAViewController.standardGPALabel, scope 14 // user: %6
- assign %4 to %5 : $*Optional<UILabel>, scope 14 // id: %6
- destroy_value %0 : $Optional<UILabel>, loc "GPAViewController.swift":28:19, scope 14 // id: %7
- %8 = tuple (), loc "GPAViewController.swift":28:19, scope 14 // user: %9
- return %8 : $(), loc "GPAViewController.swift":28:19, scope 14 // id: %9
- } // end sil function '_TFC3gpa17GPAViewControllers16standardGPALabelGSQCSo7UILabel_'
- sil_scope 15 { parent @_TIvC3gpa17GPAViewController16letterGradeLabelGSQCSo7UILabel_i : $@convention(thin) () -> @owned Optional<UILabel> }
- // GPAViewController.(letterGradeLabel).(variable initialization expression)
- sil hidden [transparent] @_TIvC3gpa17GPAViewController16letterGradeLabelGSQCSo7UILabel_i : $@convention(thin) () -> @owned Optional<UILabel> {
- bb0:
- // function_ref ImplicitlyUnwrappedOptional.init(nilLiteral : ()) -> A!
- %0 = function_ref @_TFSQCfT10nilLiteralT__GSQx_ : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 15 // user: %3
- %1 = metatype $@thin ImplicitlyUnwrappedOptional<UILabel>.Type, scope 15 // user: %3
- %2 = alloc_stack $Optional<UILabel>, scope 15 // users: %5, %4, %3
- %3 = apply %0<UILabel>(%2, %1) : $@convention(method) <τ_0_0> (@thin ImplicitlyUnwrappedOptional<τ_0_0>.Type) -> @out Optional<τ_0_0>, scope 15
- %4 = load [take] %2 : $*Optional<UILabel>, scope 15 // user: %6
- dealloc_stack %2 : $*Optional<UILabel>, scope 15 // id: %5
- return %4 : $Optional<UILabel>, scope 15 // id: %6
- } // end sil function '_TIvC3gpa17GPAViewController16letterGradeLabelGSQCSo7UILabel_i'
- sil_scope 16 { parent @_TToFC3gpa17GPAViewControllerg16letterGradeLabelGSQCSo7UILabel_ : $@convention(objc_method) (GPAViewController) -> @autoreleased Optional<UILabel> }
- // @objc GPAViewController.letterGradeLabel.getter
- sil hidden [thunk] @_TToFC3gpa17GPAViewControllerg16letterGradeLabelGSQCSo7UILabel_ : $@convention(objc_method) (GPAViewController) -> @autoreleased Optional<UILabel> {
- // %0 // user: %1
- bb0(%0 : $GPAViewController):
- %1 = copy_value %0 : $GPAViewController, scope 16 // users: %4, %3
- // function_ref GPAViewController.letterGradeLabel.getter
- %2 = function_ref @_TFC3gpa17GPAViewControllerg16letterGradeLabelGSQCSo7UILabel_ : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, scope 16 // user: %3
- %3 = apply %2(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, scope 16 // user: %5
- destroy_value %1 : $GPAViewController, scope 16 // id: %4
- return %3 : $Optional<UILabel>, scope 16 // id: %5
- } // end sil function '_TToFC3gpa17GPAViewControllerg16letterGradeLabelGSQCSo7UILabel_'
- sil_scope 17 { loc "GPAViewController.swift":29:19 parent @_TFC3gpa17GPAViewControllerg16letterGradeLabelGSQCSo7UILabel_ : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel> }
- sil_scope 18 { loc "GPAViewController.swift":29:19 parent 17 }
- // GPAViewController.letterGradeLabel.getter
- sil hidden @_TFC3gpa17GPAViewControllerg16letterGradeLabelGSQCSo7UILabel_ : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel> {
- // %0 // users: %2, %1
- bb0(%0 : $GPAViewController):
- debug_value %0 : $GPAViewController, let, name "self", argno 1, loc "GPAViewController.swift":29:19, scope 17 // id: %1
- %2 = ref_element_addr %0 : $GPAViewController, #GPAViewController.letterGradeLabel, scope 18 // user: %3
- %3 = load [copy] %2 : $*Optional<UILabel>, scope 18 // user: %4
- return %3 : $Optional<UILabel>, loc "GPAViewController.swift":29:19, scope 18 // id: %4
- } // end sil function '_TFC3gpa17GPAViewControllerg16letterGradeLabelGSQCSo7UILabel_'
- sil_scope 19 { parent @_TToFC3gpa17GPAViewControllers16letterGradeLabelGSQCSo7UILabel_ : $@convention(objc_method) (Optional<UILabel>, GPAViewController) -> () }
- // @objc GPAViewController.letterGradeLabel.setter
- sil hidden [thunk] @_TToFC3gpa17GPAViewControllers16letterGradeLabelGSQCSo7UILabel_ : $@convention(objc_method) (Optional<UILabel>, GPAViewController) -> () {
- // %0 // user: %2
- // %1 // user: %3
- bb0(%0 : $Optional<UILabel>, %1 : $GPAViewController):
- %2 = copy_value %0 : $Optional<UILabel>, scope 19 // user: %5
- %3 = copy_value %1 : $GPAViewController, scope 19 // users: %6, %5
- // function_ref GPAViewController.letterGradeLabel.setter
- %4 = function_ref @_TFC3gpa17GPAViewControllers16letterGradeLabelGSQCSo7UILabel_ : $@convention(method) (@owned Optional<UILabel>, @guaranteed GPAViewController) -> (), scope 19 // user: %5
- %5 = apply %4(%2, %3) : $@convention(method) (@owned Optional<UILabel>, @guaranteed GPAViewController) -> (), scope 19 // user: %7
- destroy_value %3 : $GPAViewController, scope 19 // id: %6
- return %5 : $(), scope 19 // id: %7
- } // end sil function '_TToFC3gpa17GPAViewControllers16letterGradeLabelGSQCSo7UILabel_'
- sil_scope 20 { loc "GPAViewController.swift":29:19 parent @_TFC3gpa17GPAViewControllers16letterGradeLabelGSQCSo7UILabel_ : $@convention(method) (@owned Optional<UILabel>, @guaranteed GPAViewController) -> () }
- sil_scope 21 { loc "GPAViewController.swift":29:19 parent 20 }
- // GPAViewController.letterGradeLabel.setter
- sil hidden @_TFC3gpa17GPAViewControllers16letterGradeLabelGSQCSo7UILabel_ : $@convention(method) (@owned Optional<UILabel>, @guaranteed GPAViewController) -> () {
- // %0 // users: %7, %4, %2
- // %1 // users: %5, %3
- bb0(%0 : $Optional<UILabel>, %1 : $GPAViewController):
- debug_value %0 : $Optional<UILabel>, let, name "value", argno 1, loc "GPAViewController.swift":29:19, scope 20 // id: %2
- debug_value %1 : $GPAViewController, let, name "self", argno 2, loc "GPAViewController.swift":29:19, scope 20 // id: %3
- %4 = copy_value %0 : $Optional<UILabel>, scope 21 // user: %6
- %5 = ref_element_addr %1 : $GPAViewController, #GPAViewController.letterGradeLabel, scope 21 // user: %6
- assign %4 to %5 : $*Optional<UILabel>, scope 21 // id: %6
- destroy_value %0 : $Optional<UILabel>, loc "GPAViewController.swift":29:19, scope 21 // id: %7
- %8 = tuple (), loc "GPAViewController.swift":29:19, scope 21 // user: %9
- return %8 : $(), loc "GPAViewController.swift":29:19, scope 21 // id: %9
- } // end sil function '_TFC3gpa17GPAViewControllers16letterGradeLabelGSQCSo7UILabel_'
- sil_scope 22 { loc "GPAViewController.swift":31:19 parent @_TFC3gpa17GPAViewController14viewWillAppearfSbT_ : $@convention(method) (Bool, @guaranteed GPAViewController) -> () }
- sil_scope 23 { loc "GPAViewController.swift":137:5 parent 22 }
- sil_scope 24 { loc "GPAViewController.swift":43:9 parent 23 }
- sil_scope 25 { loc "GPAViewController.swift":43:9 parent 24 }
- sil_scope 26 { loc "GPAViewController.swift":124:9 parent 23 }
- sil_scope 27 { loc "GPAViewController.swift":66:26 parent 23 }
- sil_scope 28 { loc "GPAViewController.swift":124:9 parent 23 }
- sil_scope 29 { loc "GPAViewController.swift":71:26 parent 23 }
- sil_scope 30 { loc "GPAViewController.swift":124:9 parent 23 }
- sil_scope 31 { loc "GPAViewController.swift":76:26 parent 23 }
- sil_scope 32 { loc "GPAViewController.swift":124:9 parent 23 }
- sil_scope 33 { loc "GPAViewController.swift":81:26 parent 23 }
- sil_scope 34 { loc "GPAViewController.swift":124:9 parent 23 }
- sil_scope 35 { loc "GPAViewController.swift":86:26 parent 23 }
- sil_scope 36 { loc "GPAViewController.swift":124:9 parent 23 }
- sil_scope 37 { loc "GPAViewController.swift":91:26 parent 23 }
- sil_scope 38 { loc "GPAViewController.swift":124:9 parent 23 }
- sil_scope 39 { loc "GPAViewController.swift":96:26 parent 23 }
- sil_scope 40 { loc "GPAViewController.swift":124:9 parent 23 }
- sil_scope 41 { loc "GPAViewController.swift":101:26 parent 23 }
- sil_scope 42 { loc "GPAViewController.swift":124:9 parent 23 }
- sil_scope 43 { loc "GPAViewController.swift":106:26 parent 23 }
- sil_scope 44 { loc "GPAViewController.swift":124:9 parent 23 }
- sil_scope 45 { loc "GPAViewController.swift":111:26 parent 23 }
- sil_scope 46 { loc "GPAViewController.swift":124:9 parent 23 }
- sil_scope 47 { loc "GPAViewController.swift":116:26 parent 23 }
- sil_scope 48 { loc "GPAViewController.swift":124:9 parent 23 }
- sil_scope 49 { loc "GPAViewController.swift":121:26 parent 23 }
- sil_scope 50 { loc "GPAViewController.swift":123:17 parent 23 }
- sil_scope 51 { loc "GPAViewController.swift":133:9 parent 23 }
- sil_scope 52 { loc "GPAViewController.swift":52:9 parent 23 }
- // GPAViewController.viewWillAppear(Bool) -> ()
- sil hidden @_TFC3gpa17GPAViewController14viewWillAppearfSbT_ : $@convention(method) (Bool, @guaranteed GPAViewController) -> () {
- // %0 // users: %8, %2
- // %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
- bb0(%0 : $Bool, %1 : $GPAViewController):
- debug_value %0 : $Bool, let, name "animated", argno 1, loc "GPAViewController.swift":31:36, scope 22 // id: %2
- debug_value %1 : $GPAViewController, let, name "self", argno 2, loc "GPAViewController.swift":31:19, scope 22 // id: %3
- %4 = copy_value %1 : $GPAViewController, loc "GPAViewController.swift":32:9, scope 23 // users: %10, %6, %5
- %5 = upcast %4 : $GPAViewController to $UIViewController, loc "GPAViewController.swift":32:9, scope 23 // user: %9
- %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
- // function_ref _convertBoolToObjCBool(Bool) -> ObjCBool
- %7 = function_ref @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool, loc "GPAViewController.swift":32:30, scope 23 // user: %8
- %8 = apply %7(%0) : $@convention(thin) (Bool) -> ObjCBool, loc "GPAViewController.swift":32:30, scope 23 // user: %9
- %9 = apply %6(%8, %5) : $@convention(objc_method) (ObjCBool, UIViewController) -> (), loc "GPAViewController.swift":32:38, scope 23
- destroy_value %4 : $GPAViewController, loc "GPAViewController.swift":32:38, scope 23 // id: %10
- // function_ref static Information.initializeArray() -> ()
- %11 = function_ref @_TZFC3gpa11Information15initializeArrayfT_T_ : $@convention(method) (@thick Information.Type) -> (), loc "GPAViewController.swift":33:21, scope 23 // user: %13
- %12 = metatype $@thick Information.Type, loc "GPAViewController.swift":33:9, scope 23 // user: %13
- %13 = apply %11(%12) : $@convention(method) (@thick Information.Type) -> (), loc "GPAViewController.swift":33:37, scope 23
- %14 = alloc_box ${ var Double }, var, name "totalWestlakeGrades", loc "GPAViewController.swift":35:13, scope 23 // users: %1585, %1731, %1875, %15
- %15 = project_box %14 : ${ var Double }, 0, loc "GPAViewController.swift":35:13, scope 23 // users: %127, %71, %20
- // function_ref Double.init(_builtinFloatLiteral : Builtin.Float64) -> Double
- %16 = function_ref @_TFSdCfT20_builtinFloatLiteralBf64__Sd : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "GPAViewController.swift":35:35, scope 23 // user: %19
- %17 = metatype $@thin Double.Type, loc "GPAViewController.swift":35:35, scope 23 // user: %19
- %18 = float_literal $Builtin.FPIEEE64, 0x0 // 0, loc "GPAViewController.swift":35:35, scope 23 // user: %19
- %19 = apply %16(%18, %17) : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "GPAViewController.swift":35:35, scope 23 // user: %20
- store %19 to [trivial] %15 : $*Double, loc "GPAViewController.swift":35:35, scope 23 // id: %20
- %21 = alloc_box ${ var Double }, var, name "totalStandardCredit", loc "GPAViewController.swift":36:13, scope 23 // users: %1584, %1730, %1874, %22
- %22 = project_box %21 : ${ var Double }, 0, loc "GPAViewController.swift":36:13, scope 23 // users: %232, %92, %86, %27
- // function_ref Double.init(_builtinFloatLiteral : Builtin.Float64) -> Double
- %23 = function_ref @_TFSdCfT20_builtinFloatLiteralBf64__Sd : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "GPAViewController.swift":36:35, scope 23 // user: %26
- %24 = metatype $@thin Double.Type, loc "GPAViewController.swift":36:35, scope 23 // user: %26
- %25 = float_literal $Builtin.FPIEEE64, 0x0 // 0, loc "GPAViewController.swift":36:35, scope 23 // user: %26
- %26 = apply %23(%25, %24) : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "GPAViewController.swift":36:35, scope 23 // user: %27
- store %26 to [trivial] %22 : $*Double, loc "GPAViewController.swift":36:35, scope 23 // id: %27
- %28 = alloc_box ${ var Double }, var, name "totalStandardGrades", loc "GPAViewController.swift":37:13, scope 23 // users: %1583, %1729, %1873, %29
- %29 = project_box %28 : ${ var Double }, 0, loc "GPAViewController.swift":37:13, scope 23 // users: %231, %82, %34
- // function_ref Double.init(_builtinFloatLiteral : Builtin.Float64) -> Double
- %30 = function_ref @_TFSdCfT20_builtinFloatLiteralBf64__Sd : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "GPAViewController.swift":37:35, scope 23 // user: %33
- %31 = metatype $@thin Double.Type, loc "GPAViewController.swift":37:35, scope 23 // user: %33
- %32 = float_literal $Builtin.FPIEEE64, 0x0 // 0, loc "GPAViewController.swift":37:35, scope 23 // user: %33
- %33 = apply %30(%32, %31) : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "GPAViewController.swift":37:35, scope 23 // user: %34
- store %33 to [trivial] %29 : $*Double, loc "GPAViewController.swift":37:35, scope 23 // id: %34
- %35 = alloc_box ${ var IndexingIterator<Array<Information>> }, var, name "$classAndGrade$generator", loc "GPAViewController.swift":39:27, scope 24 // users: %89, %36
- %36 = project_box %35 : ${ var IndexingIterator<Array<Information>> }, 0, loc "GPAViewController.swift":39:27, scope 24 // users: %52, %45
- // function_ref Collection<A where ...>.makeIterator() -> IndexingIterator<A>
- %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
- %38 = metatype $@thick Information.Type, loc "GPAViewController.swift":39:30, scope 24
- // function_ref Information.classesAndGrades.unsafeMutableAddressor
- %39 = function_ref @_TFC3gpa11Informationau16classesAndGradesGSaS0__ : $@convention(thin) () -> Builtin.RawPointer, loc "GPAViewController.swift":39:42, scope 24 // user: %40
- %40 = apply %39() : $@convention(thin) () -> Builtin.RawPointer, loc "GPAViewController.swift":39:42, scope 24 // user: %41
- %41 = pointer_to_address %40 : $Builtin.RawPointer to [strict] $*Array<Information>, loc "GPAViewController.swift":39:42, scope 24 // user: %42
- %42 = load [copy] %41 : $*Array<Information>, loc "GPAViewController.swift":39:42, scope 24 // user: %44
- %43 = alloc_stack $Array<Information>, loc "GPAViewController.swift":39:42, scope 24 // users: %48, %46, %45, %44
- store %42 to [init] %43 : $*Array<Information>, loc "GPAViewController.swift":39:42, scope 24 // id: %44
- %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
- %46 = load [take] %43 : $*Array<Information>, loc "GPAViewController.swift":39:42, scope 24 // user: %47
- destroy_value %46 : $Array<Information>, loc "GPAViewController.swift":39:42, scope 24 // id: %47
- dealloc_stack %43 : $*Array<Information>, loc "GPAViewController.swift":39:42, scope 24 // id: %48
- br bb1, loc "GPAViewController.swift":39:9, scope 24 // id: %49
- bb1: // Preds: bb2 bb0
- // function_ref IndexingIterator.next() -> A._Element?
- %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
- %51 = alloc_stack $Optional<Information>, loc "GPAViewController.swift":39:27, scope 24 // users: %54, %53, %52
- %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
- %53 = load [take] %51 : $*Optional<Information>, loc "GPAViewController.swift":39:27, scope 24 // users: %59, %57
- dealloc_stack %51 : $*Optional<Information>, loc "GPAViewController.swift":39:27, scope 24 // id: %54
- %55 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":39:9, scope 24 // user: %57
- %56 = integer_literal $Builtin.Int1, 0, loc "GPAViewController.swift":39:9, scope 24 // user: %57
- %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
- cond_br %57, bb2, bb3, loc "GPAViewController.swift":39:9, scope 24 // id: %58
- bb2: // Preds: bb1
- %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
- debug_value %59 : $Information, let, name "classAndGrade", loc "GPAViewController.swift":39:13, scope 24 // id: %60
- // function_ref += infix(inout Double, Double) -> ()
- %61 = function_ref @_TFsoi2peFTRSdSd_T_ : $@convention(thin) (@inout Double, Double) -> (), loc "GPAViewController.swift":40:33, scope 25 // user: %71
- // function_ref * infix(Double, Double) -> Double
- %62 = function_ref @_TFsoi1mFTSdSd_Sd : $@convention(thin) (Double, Double) -> Double, loc "GPAViewController.swift":40:64, scope 25 // user: %70
- // function_ref Double.init(Int) -> Double
- %63 = function_ref @_TFSdCfSiSd : $@convention(method) (Int, @thin Double.Type) -> Double, loc "GPAViewController.swift":40:36, scope 25 // user: %67
- %64 = metatype $@thin Double.Type, loc "GPAViewController.swift":40:36, scope 25 // user: %67
- %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
- %66 = apply %65(%59) : $@convention(method) (@guaranteed Information) -> Int, loc "GPAViewController.swift":40:57, scope 25 // user: %67
- %67 = apply %63(%66, %64) : $@convention(method) (Int, @thin Double.Type) -> Double, loc "GPAViewController.swift":40:62, scope 25 // user: %70
- %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
- %69 = apply %68(%59) : $@convention(method) (@guaranteed Information) -> Double, loc "GPAViewController.swift":40:80, scope 25 // user: %70
- %70 = apply %62(%67, %69) : $@convention(thin) (Double, Double) -> Double, loc "GPAViewController.swift":40:64, scope 25 // user: %71
- %71 = apply %61(%15, %70) : $@convention(thin) (@inout Double, Double) -> (), loc "GPAViewController.swift":40:33, scope 25
- // function_ref += infix(inout Double, Double) -> ()
- %72 = function_ref @_TFsoi2peFTRSdSd_T_ : $@convention(thin) (@inout Double, Double) -> (), loc "GPAViewController.swift":41:33, scope 25 // user: %82
- // function_ref * infix(Double, Double) -> Double
- %73 = function_ref @_TFsoi1mFTSdSd_Sd : $@convention(thin) (Double, Double) -> Double, loc "GPAViewController.swift":41:64, scope 25 // user: %81
- // function_ref Double.init(Int) -> Double
- %74 = function_ref @_TFSdCfSiSd : $@convention(method) (Int, @thin Double.Type) -> Double, loc "GPAViewController.swift":41:36, scope 25 // user: %78
- %75 = metatype $@thin Double.Type, loc "GPAViewController.swift":41:36, scope 25 // user: %78
- %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
- %77 = apply %76(%59) : $@convention(method) (@guaranteed Information) -> Int, loc "GPAViewController.swift":41:57, scope 25 // user: %78
- %78 = apply %74(%77, %75) : $@convention(method) (Int, @thin Double.Type) -> Double, loc "GPAViewController.swift":41:62, scope 25 // user: %81
- %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
- %80 = apply %79(%59) : $@convention(method) (@guaranteed Information) -> Double, loc "GPAViewController.swift":41:80, scope 25 // user: %81
- %81 = apply %73(%78, %80) : $@convention(thin) (Double, Double) -> Double, loc "GPAViewController.swift":41:64, scope 25 // user: %82
- %82 = apply %72(%29, %81) : $@convention(thin) (@inout Double, Double) -> (), loc "GPAViewController.swift":41:33, scope 25
- // function_ref += infix(inout Double, Double) -> ()
- %83 = function_ref @_TFsoi2peFTRSdSd_T_ : $@convention(thin) (@inout Double, Double) -> (), loc "GPAViewController.swift":42:33, scope 25 // user: %86
- %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
- %85 = apply %84(%59) : $@convention(method) (@guaranteed Information) -> Double, loc "GPAViewController.swift":42:50, scope 25 // user: %86
- %86 = apply %83(%22, %85) : $@convention(thin) (@inout Double, Double) -> (), loc "GPAViewController.swift":42:33, scope 25
- destroy_value %59 : $Information, loc "GPAViewController.swift":43:9, scope 24 // id: %87
- br bb1, loc "GPAViewController.swift":43:9, scope 24 // id: %88
- bb3: // Preds: bb1
- destroy_value %35 : ${ var IndexingIterator<Array<Information>> }, loc "GPAViewController.swift":43:9, scope 23 // id: %89
- // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
- %90 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "GPAViewController.swift":45:35, scope 23 // user: %102
- // function_ref != infix<A where ...> (A, A) -> Bool
- %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
- %92 = load [trivial] %22 : $*Double, loc "GPAViewController.swift":45:15, scope 23 // user: %94
- %93 = alloc_stack $Double, loc "GPAViewController.swift":45:15, scope 23 // users: %104, %101, %94
- store %92 to [trivial] %93 : $*Double, loc "GPAViewController.swift":45:15, scope 23 // id: %94
- // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
- %95 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":45:38, scope 23 // user: %98
- %96 = metatype $@thin Double.Type, loc "GPAViewController.swift":45:38, scope 23 // user: %98
- %97 = integer_literal $Builtin.Int2048, 0, loc "GPAViewController.swift":45:38, scope 23 // user: %98
- %98 = apply %95(%97, %96) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":45:38, scope 23 // user: %100
- %99 = alloc_stack $Double, loc "GPAViewController.swift":45:38, scope 23 // users: %103, %101, %100
- store %98 to [trivial] %99 : $*Double, loc "GPAViewController.swift":45:38, scope 23 // id: %100
- %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
- %102 = apply %90(%101) : $@convention(method) (Bool) -> Builtin.Int1, loc "GPAViewController.swift":45:38, scope 23 // user: %105
- dealloc_stack %99 : $*Double, loc "GPAViewController.swift":45:38, scope 23 // id: %103
- dealloc_stack %93 : $*Double, loc "GPAViewController.swift":45:38, scope 23 // id: %104
- cond_br %102, bb4, bb124, loc "GPAViewController.swift":45:38, scope 23 // id: %105
- bb4: // Preds: bb3
- // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
- %106 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "GPAViewController.swift":45:76, scope 23 // user: %121
- // function_ref != infix(Int, Int) -> Bool
- %107 = function_ref @_TFsoi2neFTSiSi_Sb : $@convention(thin) (Int, Int) -> Bool, loc "GPAViewController.swift":45:76, scope 23 // user: %120
- %108 = metatype $@thick Information.Type, loc "GPAViewController.swift":45:41, scope 23
- // function_ref Information.classesAndGrades.unsafeMutableAddressor
- %109 = function_ref @_TFC3gpa11Informationau16classesAndGradesGSaS0__ : $@convention(thin) () -> Builtin.RawPointer, loc "GPAViewController.swift":45:53, scope 23 // user: %110
- %110 = apply %109() : $@convention(thin) () -> Builtin.RawPointer, loc "GPAViewController.swift":45:53, scope 23 // user: %111
- %111 = pointer_to_address %110 : $Builtin.RawPointer to [strict] $*Array<Information>, loc "GPAViewController.swift":45:53, scope 23 // user: %112
- %112 = load [copy] %111 : $*Array<Information>, loc "GPAViewController.swift":45:53, scope 23 // users: %115, %114
- // function_ref Array.count.getter
- %113 = function_ref @_TFSag5countSi : $@convention(method) <τ_0_0> (@guaranteed Array<τ_0_0>) -> Int, loc "GPAViewController.swift":45:70, scope 23 // user: %114
- %114 = apply %113<Information>(%112) : $@convention(method) <τ_0_0> (@guaranteed Array<τ_0_0>) -> Int, loc "GPAViewController.swift":45:70, scope 23 // user: %120
- destroy_value %112 : $Array<Information>, loc "GPAViewController.swift":45:70, scope 23 // id: %115
- // function_ref Int.init(_builtinIntegerLiteral : Builtin.Int2048) -> Int
- %116 = function_ref @_TFSiCfT22_builtinIntegerLiteralBi2048__Si : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "GPAViewController.swift":45:79, scope 23 // user: %119
- %117 = metatype $@thin Int.Type, loc "GPAViewController.swift":45:79, scope 23 // user: %119
- %118 = integer_literal $Builtin.Int2048, 0, loc "GPAViewController.swift":45:79, scope 23 // user: %119
- %119 = apply %116(%118, %117) : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int, loc "GPAViewController.swift":45:79, scope 23 // user: %120
- %120 = apply %107(%114, %119) : $@convention(thin) (Int, Int) -> Bool, loc "GPAViewController.swift":45:76, scope 23 // user: %121
- %121 = apply %106(%120) : $@convention(method) (Bool) -> Builtin.Int1, loc "GPAViewController.swift":45:79, scope 23 // user: %122
- cond_br %121, bb5, bb124, loc "GPAViewController.swift":45:79, scope 23 // id: %122
- bb5: // Preds: bb4
- // function_ref / infix(Double, Double) -> Double
- %123 = function_ref @_TFsoi1dFTSdSd_Sd : $@convention(thin) (Double, Double) -> Double, loc "GPAViewController.swift":54:112, scope 23 // user: %154
- // function_ref FloatingPoint.rounded() -> A
- %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
- // function_ref * infix(Double, Double) -> Double
- %125 = function_ref @_TFsoi1mFTSdSd_Sd : $@convention(thin) (Double, Double) -> Double, loc "GPAViewController.swift":54:93, scope 23 // user: %144
- // function_ref / infix(Double, Double) -> Double
- %126 = function_ref @_TFsoi1dFTSdSd_Sd : $@convention(thin) (Double, Double) -> Double, loc "GPAViewController.swift":54:48, scope 23 // user: %139
- %127 = load [trivial] %15 : $*Double, loc "GPAViewController.swift":54:28, scope 23 // user: %139
- // function_ref Double.init(Int) -> Double
- %128 = function_ref @_TFSdCfSiSd : $@convention(method) (Int, @thin Double.Type) -> Double, loc "GPAViewController.swift":54:50, scope 23 // user: %138
- %129 = metatype $@thin Double.Type, loc "GPAViewController.swift":54:50, scope 23 // user: %138
- %130 = metatype $@thick Information.Type, loc "GPAViewController.swift":54:57, scope 23
- // function_ref Information.classesAndGrades.unsafeMutableAddressor
- %131 = function_ref @_TFC3gpa11Informationau16classesAndGradesGSaS0__ : $@convention(thin) () -> Builtin.RawPointer, loc "GPAViewController.swift":54:69, scope 23 // user: %132
- %132 = apply %131() : $@convention(thin) () -> Builtin.RawPointer, loc "GPAViewController.swift":54:69, scope 23 // user: %133
- %133 = pointer_to_address %132 : $Builtin.RawPointer to [strict] $*Array<Information>, loc "GPAViewController.swift":54:69, scope 23 // user: %134
- %134 = load [copy] %133 : $*Array<Information>, loc "GPAViewController.swift":54:69, scope 23 // users: %137, %136
- // function_ref Array.count.getter
- %135 = function_ref @_TFSag5countSi : $@convention(method) <τ_0_0> (@guaranteed Array<τ_0_0>) -> Int, loc "GPAViewController.swift":54:86, scope 23 // user: %136
- %136 = apply %135<Information>(%134) : $@convention(method) <τ_0_0> (@guaranteed Array<τ_0_0>) -> Int, loc "GPAViewController.swift":54:86, scope 23 // user: %138
- destroy_value %134 : $Array<Information>, loc "GPAViewController.swift":54:86, scope 23 // id: %137
- %138 = apply %128(%136, %129) : $@convention(method) (Int, @thin Double.Type) -> Double, loc "GPAViewController.swift":54:91, scope 23 // user: %139
- %139 = apply %126(%127, %138) : $@convention(thin) (Double, Double) -> Double, loc "GPAViewController.swift":54:48, scope 23 // user: %144
- // function_ref Double.init(_builtinFloatLiteral : Builtin.Float64) -> Double
- %140 = function_ref @_TFSdCfT20_builtinFloatLiteralBf64__Sd : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "GPAViewController.swift":54:95, scope 23 // user: %143
- %141 = metatype $@thin Double.Type, loc "GPAViewController.swift":54:95, scope 23 // user: %143
- %142 = float_literal $Builtin.FPIEEE64, 0x4059000000000000 // 100, loc "GPAViewController.swift":54:95, scope 23 // user: %143
- %143 = apply %140(%142, %141) : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "GPAViewController.swift":54:95, scope 23 // user: %144
- %144 = apply %125(%139, %143) : $@convention(thin) (Double, Double) -> Double, loc "GPAViewController.swift":54:93, scope 23 // user: %146
- %145 = alloc_stack $Double, loc "GPAViewController.swift":54:93, scope 23 // users: %157, %148, %146
- store %144 to [trivial] %145 : $*Double, loc "GPAViewController.swift":54:93, scope 23 // id: %146
- %147 = alloc_stack $Double, loc "GPAViewController.swift":54:110, scope 23 // users: %156, %149, %148
- %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
- %149 = load [trivial] %147 : $*Double, loc "GPAViewController.swift":54:110, scope 23 // user: %154
- // function_ref Double.init(_builtinFloatLiteral : Builtin.Float64) -> Double
- %150 = function_ref @_TFSdCfT20_builtinFloatLiteralBf64__Sd : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "GPAViewController.swift":54:114, scope 23 // user: %153
- %151 = metatype $@thin Double.Type, loc "GPAViewController.swift":54:114, scope 23 // user: %153
- %152 = float_literal $Builtin.FPIEEE64, 0x4059000000000000 // 100, loc "GPAViewController.swift":54:114, scope 23 // user: %153
- %153 = apply %150(%152, %151) : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "GPAViewController.swift":54:114, scope 23 // user: %154
- %154 = apply %123(%149, %153) : $@convention(thin) (Double, Double) -> Double, loc "GPAViewController.swift":54:112, scope 23 // users: %194, %155
- debug_value %154 : $Double, let, name "westlakeGPA", loc "GPAViewController.swift":54:13, scope 23 // id: %155
- dealloc_stack %147 : $*Double, loc "GPAViewController.swift":54:114, scope 23 // id: %156
- dealloc_stack %145 : $*Double, loc "GPAViewController.swift":54:114, scope 23 // id: %157
- %158 = alloc_stack $Optional<UILabel>, loc "GPAViewController.swift":55:9, scope 23 // users: %228, %170, %162, %161
- %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
- %160 = apply %159(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":55:9, scope 23 // user: %161
- store %160 to [init] %158 : $*Optional<UILabel>, loc "GPAViewController.swift":55:9, scope 23 // id: %161
- switch_enum_addr %158 : $*Optional<UILabel>, case #Optional.none!enumelt: bb6, default bb7, loc "GPAViewController.swift":55:9, scope 23 // id: %162
- bb6: // Preds: bb5
- %163 = string_literal utf8 "GPAViewController.swift", loc "GPAViewController.swift":55:9, scope 23 // user: %168
- %164 = integer_literal $Builtin.Word, 23, loc "GPAViewController.swift":55:9, scope 23 // user: %168
- %165 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":55:9, scope 23 // user: %168
- %166 = integer_literal $Builtin.Word, 55, loc "GPAViewController.swift":55:9, scope 23 // user: %168
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %168 = apply %167(%163, %164, %165, %166) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":55:9, scope 23
- unreachable , loc "GPAViewController.swift":55:9, scope 23 // id: %169
- bb7: // Preds: bb5
- %170 = unchecked_take_enum_data_addr %158 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "GPAViewController.swift":55:9, scope 23 // users: %227, %171
- %171 = load [copy] %170 : $*UILabel, loc "GPAViewController.swift":55:9, scope 23 // users: %226, %224, %210
- // function_ref String.init(stringInterpolation : [String]...) -> String
- %172 = function_ref @_TFSSCft19stringInterpolationGSaSS__SS : $@convention(method) (@owned Array<String>, @thin String.Type) -> @owned String, loc "GPAViewController.swift":55:33, scope 23 // user: %208
- %173 = metatype $@thin String.Type, loc "GPAViewController.swift":55:33, scope 23 // user: %208
- %174 = integer_literal $Builtin.Word, 3, loc "GPAViewController.swift":55:33, scope 23 // user: %176
- // function_ref _allocateUninitializedArray<A> (Builtin.Word) -> ([A], Builtin.RawPointer)
- %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
- %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
- %177 = tuple_extract %176 : $(Array<String>, Builtin.RawPointer), 0, loc "GPAViewController.swift":55:33, scope 23 // user: %208
- %178 = tuple_extract %176 : $(Array<String>, Builtin.RawPointer), 1, loc "GPAViewController.swift":55:33, scope 23 // user: %179
- %179 = pointer_to_address %178 : $Builtin.RawPointer to [strict] $*String, loc "GPAViewController.swift":55:33, scope 23 // users: %197, %191, %189
- // function_ref String.init(stringInterpolationSegment : String) -> String
- %180 = function_ref @_TFSSCfT26stringInterpolationSegmentSS_SS : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "GPAViewController.swift":55:33, scope 23 // user: %188
- %181 = metatype $@thin String.Type, loc "GPAViewController.swift":55:33, scope 23 // user: %188
- %182 = string_literal utf8 "", loc "GPAViewController.swift":55:33, scope 23 // user: %187
- %183 = integer_literal $Builtin.Word, 0, loc "GPAViewController.swift":55:33, scope 23 // user: %187
- %184 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":55:33, scope 23 // user: %187
- %185 = metatype $@thin String.Type, loc "GPAViewController.swift":55:33, scope 23 // user: %187
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- %188 = apply %180(%187, %181) : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "GPAViewController.swift":55:33, scope 23 // user: %189
- store %188 to [init] %179 : $*String, loc "GPAViewController.swift":55:33, scope 23 // id: %189
- %190 = integer_literal $Builtin.Word, 1, loc "GPAViewController.swift":55:47, scope 23 // user: %191
- %191 = index_addr %179 : $*String, %190 : $Builtin.Word, loc "GPAViewController.swift":55:47, scope 23 // user: %195
- // function_ref String.init(stringInterpolationSegment : Double) -> String
- %192 = function_ref @_TFSSCfT26stringInterpolationSegmentSd_SS : $@convention(method) (Double, @thin String.Type) -> @owned String, loc "GPAViewController.swift":55:33, scope 23 // user: %194
- %193 = metatype $@thin String.Type, loc "GPAViewController.swift":55:33, scope 23 // user: %194
- %194 = apply %192(%154, %193) : $@convention(method) (Double, @thin String.Type) -> @owned String, loc "GPAViewController.swift":55:47, scope 23 // user: %195
- store %194 to [init] %191 : $*String, loc "GPAViewController.swift":55:47, scope 23 // id: %195
- %196 = integer_literal $Builtin.Word, 2, loc "GPAViewController.swift":55:48, scope 23 // user: %197
- %197 = index_addr %179 : $*String, %196 : $Builtin.Word, loc "GPAViewController.swift":55:48, scope 23 // user: %207
- // function_ref String.init(stringInterpolationSegment : String) -> String
- %198 = function_ref @_TFSSCfT26stringInterpolationSegmentSS_SS : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "GPAViewController.swift":55:33, scope 23 // user: %206
- %199 = metatype $@thin String.Type, loc "GPAViewController.swift":55:33, scope 23 // user: %206
- %200 = string_literal utf8 "", loc "GPAViewController.swift":55:48, scope 23 // user: %205
- %201 = integer_literal $Builtin.Word, 0, loc "GPAViewController.swift":55:48, scope 23 // user: %205
- %202 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":55:48, scope 23 // user: %205
- %203 = metatype $@thin String.Type, loc "GPAViewController.swift":55:48, scope 23 // user: %205
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- %206 = apply %198(%205, %199) : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "GPAViewController.swift":55:48, scope 23 // user: %207
- store %206 to [init] %197 : $*String, loc "GPAViewController.swift":55:48, scope 23 // id: %207
- %208 = apply %172(%177, %173) : $@convention(method) (@owned Array<String>, @thin String.Type) -> @owned String, loc "GPAViewController.swift":55:48, scope 23 // user: %209
- %209 = enum $Optional<String>, #Optional.some!enumelt.1, %208 : $String, loc "GPAViewController.swift":55:33, scope 23 // users: %215, %213
- %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
- %211 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":55:31, scope 23 // user: %213
- %212 = integer_literal $Builtin.Int1, 0, loc "GPAViewController.swift":55:31, scope 23 // user: %213
- %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
- cond_br %213, bb8, bb9, loc "GPAViewController.swift":55:31, scope 23 // id: %214
- bb8: // Preds: bb7
- %215 = unchecked_enum_data %209 : $Optional<String>, #Optional.some!enumelt.1, loc "GPAViewController.swift":55:31, scope 23 // users: %219, %217
- // function_ref String._bridgeToObjectiveC() -> NSString
- %216 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "GPAViewController.swift":55:31, scope 23 // user: %217
- %217 = apply %216(%215) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "GPAViewController.swift":55:31, scope 23 // user: %218
- %218 = enum $Optional<NSString>, #Optional.some!enumelt.1, %217 : $NSString, loc "GPAViewController.swift":55:31, scope 23 // user: %220
- destroy_value %215 : $String, loc "GPAViewController.swift":55:33, scope 23 // id: %219
- br bb10(%218 : $Optional<NSString>), loc "GPAViewController.swift":55:31, scope 23 // id: %220
- bb9: // Preds: bb7
- %221 = enum $Optional<NSString>, #Optional.none!enumelt, loc "GPAViewController.swift":55:31, scope 23 // user: %222
- br bb10(%221 : $Optional<NSString>), loc "GPAViewController.swift":55:31, scope 23 // id: %222
- // %223 // users: %225, %224
- bb10(%223 : $Optional<NSString>): // Preds: bb9 bb8
- %224 = apply %210(%223, %171) : $@convention(objc_method) (Optional<NSString>, UILabel) -> (), loc "GPAViewController.swift":55:31, scope 23
- destroy_value %223 : $Optional<NSString>, loc "GPAViewController.swift":55:33, scope 23 // id: %225
- destroy_value %171 : $UILabel, loc "GPAViewController.swift":55:33, scope 23 // id: %226
- destroy_addr %170 : $*UILabel, loc "GPAViewController.swift":55:33, scope 23 // id: %227
- dealloc_stack %158 : $*Optional<UILabel>, loc "GPAViewController.swift":55:33, scope 23 // id: %228
- // function_ref FloatingPoint.rounded() -> A
- %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
- // function_ref / infix(Double, Double) -> Double
- %230 = function_ref @_TFsoi1dFTSdSd_Sd : $@convention(thin) (Double, Double) -> Double, loc "GPAViewController.swift":57:48, scope 23 // user: %233
- %231 = load [trivial] %29 : $*Double, loc "GPAViewController.swift":57:28, scope 23 // user: %233
- %232 = load [trivial] %22 : $*Double, loc "GPAViewController.swift":57:50, scope 23 // user: %233
- %233 = apply %230(%231, %232) : $@convention(thin) (Double, Double) -> Double, loc "GPAViewController.swift":57:48, scope 23 // user: %235
- %234 = alloc_stack $Double, loc "GPAViewController.swift":57:48, scope 23 // users: %241, %237, %235
- store %233 to [trivial] %234 : $*Double, loc "GPAViewController.swift":57:48, scope 23 // id: %235
- %236 = alloc_stack $Double, loc "GPAViewController.swift":57:79, scope 23 // users: %240, %238, %237
- %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
- %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
- debug_value %238 : $Double, let, name "standardGPA", loc "GPAViewController.swift":57:13, scope 23 // id: %239
- dealloc_stack %236 : $*Double, loc "GPAViewController.swift":57:79, scope 23 // id: %240
- dealloc_stack %234 : $*Double, loc "GPAViewController.swift":57:79, scope 23 // id: %241
- %242 = alloc_box ${ var Double }, var, name "fourPointScale", loc "GPAViewController.swift":59:13, scope 23 // users: %1582, %1728, %243
- %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
- // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
- %244 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":59:38, scope 23 // user: %247
- %245 = metatype $@thin Double.Type, loc "GPAViewController.swift":59:38, scope 23 // user: %247
- %246 = integer_literal $Builtin.Int2048, -1, loc "GPAViewController.swift":59:38, scope 23 // user: %247
- %247 = apply %244(%246, %245) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":59:39, scope 23 // user: %248
- store %247 to [trivial] %243 : $*Double, loc "GPAViewController.swift":59:39, scope 23 // id: %248
- %249 = alloc_box ${ var String }, var, name "letter", loc "GPAViewController.swift":60:13, scope 23 // users: %1581, %1727, %250
- %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
- %251 = string_literal utf8 "", loc "GPAViewController.swift":60:30, scope 23 // user: %256
- %252 = integer_literal $Builtin.Word, 0, loc "GPAViewController.swift":60:30, scope 23 // user: %256
- %253 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":60:30, scope 23 // user: %256
- %254 = metatype $@thin String.Type, loc "GPAViewController.swift":60:30, scope 23 // user: %256
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- store %256 to [init] %250 : $*String, loc "GPAViewController.swift":60:30, scope 23 // id: %257
- debug_value %238 : $Double, let, name "$match", loc "GPAViewController.swift":62:18, scope 26 // id: %258
- // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
- %259 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "GPAViewController.swift":62:18, scope 26 // user: %283
- // function_ref static Range.~= infix(Range<A>, A) -> Bool
- %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
- %261 = metatype $@thin Range<Double>.Type, loc "GPAViewController.swift":62:18, scope 26 // user: %282
- // function_ref ..< infix<A where ...> (A, A) -> Range<A>
- %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
- // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
- %263 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":62:18, scope 26 // user: %266
- %264 = metatype $@thin Double.Type, loc "GPAViewController.swift":62:18, scope 26 // user: %266
- %265 = integer_literal $Builtin.Int2048, 0, loc "GPAViewController.swift":62:18, scope 26 // user: %266
- %266 = apply %263(%265, %264) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":62:18, scope 26 // user: %268
- %267 = alloc_stack $Double, loc "GPAViewController.swift":62:18, scope 26 // users: %288, %276, %268
- store %266 to [trivial] %267 : $*Double, loc "GPAViewController.swift":62:18, scope 26 // id: %268
- // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
- %269 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":62:22, scope 26 // user: %272
- %270 = metatype $@thin Double.Type, loc "GPAViewController.swift":62:22, scope 26 // user: %272
- %271 = integer_literal $Builtin.Int2048, 65, loc "GPAViewController.swift":62:22, scope 26 // user: %272
- %272 = apply %269(%271, %270) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":62:22, scope 26 // user: %274
- %273 = alloc_stack $Double, loc "GPAViewController.swift":62:22, scope 26 // users: %287, %276, %274
- store %272 to [trivial] %273 : $*Double, loc "GPAViewController.swift":62:22, scope 26 // id: %274
- %275 = alloc_stack $Range<Double>, loc "GPAViewController.swift":62:19, scope 26 // users: %286, %277, %276
- %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
- %277 = load [trivial] %275 : $*Range<Double>, loc "GPAViewController.swift":62:19, scope 26 // user: %279
- %278 = alloc_stack $Range<Double>, loc "GPAViewController.swift":62:19, scope 26 // users: %285, %282, %279
- store %277 to [trivial] %278 : $*Range<Double>, loc "GPAViewController.swift":62:19, scope 26 // id: %279
- %280 = alloc_stack $Double, loc "GPAViewController.swift":62:18, scope 26 // users: %284, %282, %281
- store %238 to [trivial] %280 : $*Double, loc "GPAViewController.swift":62:18, scope 26 // id: %281
- %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
- %283 = apply %259(%282) : $@convention(method) (Bool) -> Builtin.Int1, loc "GPAViewController.swift":62:22, scope 26 // user: %289
- dealloc_stack %280 : $*Double, loc "GPAViewController.swift":62:22, scope 26 // id: %284
- dealloc_stack %278 : $*Range<Double>, loc "GPAViewController.swift":62:22, scope 26 // id: %285
- dealloc_stack %275 : $*Range<Double>, loc "GPAViewController.swift":62:22, scope 26 // id: %286
- dealloc_stack %273 : $*Double, loc "GPAViewController.swift":62:22, scope 26 // id: %287
- dealloc_stack %267 : $*Double, loc "GPAViewController.swift":62:22, scope 26 // id: %288
- cond_br %283, bb11, bb16, loc "GPAViewController.swift":62:18, scope 26 // id: %289
- bb11: // Preds: bb10
- %290 = alloc_stack $Optional<UILabel>, loc "GPAViewController.swift":63:17, scope 27 // users: %314, %302, %294, %293
- %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
- %292 = apply %291(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":63:17, scope 27 // user: %293
- store %292 to [init] %290 : $*Optional<UILabel>, loc "GPAViewController.swift":63:17, scope 27 // id: %293
- switch_enum_addr %290 : $*Optional<UILabel>, case #Optional.none!enumelt: bb12, default bb13, loc "GPAViewController.swift":63:17, scope 27 // id: %294
- bb12: // Preds: bb11
- %295 = string_literal utf8 "GPAViewController.swift", loc "GPAViewController.swift":63:17, scope 27 // user: %300
- %296 = integer_literal $Builtin.Word, 23, loc "GPAViewController.swift":63:17, scope 27 // user: %300
- %297 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":63:17, scope 27 // user: %300
- %298 = integer_literal $Builtin.Word, 63, loc "GPAViewController.swift":63:17, scope 27 // user: %300
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %300 = apply %299(%295, %296, %297, %298) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":63:17, scope 27
- unreachable , loc "GPAViewController.swift":63:17, scope 27 // id: %301
- bb13: // Preds: bb11
- %302 = unchecked_take_enum_data_addr %290 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "GPAViewController.swift":63:17, scope 27 // users: %313, %303
- %303 = load [copy] %302 : $*UILabel, loc "GPAViewController.swift":63:17, scope 27 // users: %312, %310, %309
- %304 = metatype $@thick UIColor.Type, loc "GPAViewController.swift":63:46, scope 27 // users: %306, %305
- %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
- %306 = thick_to_objc_metatype %304 : $@thick UIColor.Type to $@objc_metatype UIColor.Type, loc "GPAViewController.swift":63:47, scope 27 // user: %307
- %307 = apply %305(%306) : $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":63:47, scope 27 // users: %311, %308
- %308 = unchecked_ref_cast %307 : $UIColor to $Optional<UIColor>, loc "GPAViewController.swift":63:47, scope 27 // user: %310
- %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
- %310 = apply %309(%308, %303) : $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":63:44, scope 27
- destroy_value %307 : $UIColor, loc "GPAViewController.swift":63:47, scope 27 // id: %311
- destroy_value %303 : $UILabel, loc "GPAViewController.swift":63:47, scope 27 // id: %312
- destroy_addr %302 : $*UILabel, loc "GPAViewController.swift":63:47, scope 27 // id: %313
- dealloc_stack %290 : $*Optional<UILabel>, loc "GPAViewController.swift":63:47, scope 27 // id: %314
- %315 = alloc_stack $Optional<UILabel>, loc "GPAViewController.swift":64:17, scope 27 // users: %339, %327, %319, %318
- %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
- %317 = apply %316(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":64:17, scope 27 // user: %318
- store %317 to [init] %315 : $*Optional<UILabel>, loc "GPAViewController.swift":64:17, scope 27 // id: %318
- switch_enum_addr %315 : $*Optional<UILabel>, case #Optional.none!enumelt: bb14, default bb15, loc "GPAViewController.swift":64:17, scope 27 // id: %319
- bb14: // Preds: bb13
- %320 = string_literal utf8 "GPAViewController.swift", loc "GPAViewController.swift":64:17, scope 27 // user: %325
- %321 = integer_literal $Builtin.Word, 23, loc "GPAViewController.swift":64:17, scope 27 // user: %325
- %322 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":64:17, scope 27 // user: %325
- %323 = integer_literal $Builtin.Word, 64, loc "GPAViewController.swift":64:17, scope 27 // user: %325
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %325 = apply %324(%320, %321, %322, %323) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":64:17, scope 27
- unreachable , loc "GPAViewController.swift":64:17, scope 27 // id: %326
- bb15: // Preds: bb13
- %327 = unchecked_take_enum_data_addr %315 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "GPAViewController.swift":64:17, scope 27 // users: %338, %328
- %328 = load [copy] %327 : $*UILabel, loc "GPAViewController.swift":64:17, scope 27 // users: %337, %335, %334
- %329 = metatype $@thick UIColor.Type, loc "GPAViewController.swift":64:46, scope 27 // users: %331, %330
- %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
- %331 = thick_to_objc_metatype %329 : $@thick UIColor.Type to $@objc_metatype UIColor.Type, loc "GPAViewController.swift":64:47, scope 27 // user: %332
- %332 = apply %330(%331) : $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":64:47, scope 27 // users: %336, %333
- %333 = unchecked_ref_cast %332 : $UIColor to $Optional<UIColor>, loc "GPAViewController.swift":64:47, scope 27 // user: %335
- %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
- %335 = apply %334(%333, %328) : $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":64:44, scope 27
- destroy_value %332 : $UIColor, loc "GPAViewController.swift":64:47, scope 27 // id: %336
- destroy_value %328 : $UILabel, loc "GPAViewController.swift":64:47, scope 27 // id: %337
- destroy_addr %327 : $*UILabel, loc "GPAViewController.swift":64:47, scope 27 // id: %338
- dealloc_stack %315 : $*Optional<UILabel>, loc "GPAViewController.swift":64:47, scope 27 // id: %339
- // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
- %340 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":65:34, scope 27 // user: %343
- %341 = metatype $@thin Double.Type, loc "GPAViewController.swift":65:34, scope 27 // user: %343
- %342 = integer_literal $Builtin.Int2048, 0, loc "GPAViewController.swift":65:34, scope 27 // user: %343
- %343 = apply %340(%342, %341) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":65:34, scope 27 // user: %344
- assign %343 to %243 : $*Double, loc "GPAViewController.swift":65:32, scope 27 // id: %344
- %345 = string_literal utf8 "E/F", loc "GPAViewController.swift":66:26, scope 27 // user: %350
- %346 = integer_literal $Builtin.Word, 3, loc "GPAViewController.swift":66:26, scope 27 // user: %350
- %347 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":66:26, scope 27 // user: %350
- %348 = metatype $@thin String.Type, loc "GPAViewController.swift":66:26, scope 27 // user: %350
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- assign %350 to %250 : $*String, loc "GPAViewController.swift":66:24, scope 27 // id: %351
- br bb95, loc "GPAViewController.swift":66:26, scope 23 // id: %352
- bb16: // Preds: bb10
- br bb17, loc "GPAViewController.swift":62:18, scope 26 // id: %353
- bb17: // Preds: bb16
- debug_value %238 : $Double, let, name "$match", loc "GPAViewController.swift":67:18, scope 28 // id: %354
- // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
- %355 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "GPAViewController.swift":67:18, scope 28 // user: %379
- // function_ref static ClosedRange.~= infix(ClosedRange<A>, A) -> Bool
- %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
- %357 = metatype $@thin ClosedRange<Double>.Type, loc "GPAViewController.swift":67:18, scope 28 // user: %378
- // function_ref ... infix<A where ...> (A, A) -> ClosedRange<A>
- %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
- // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
- %359 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":67:18, scope 28 // user: %362
- %360 = metatype $@thin Double.Type, loc "GPAViewController.swift":67:18, scope 28 // user: %362
- %361 = integer_literal $Builtin.Int2048, 65, loc "GPAViewController.swift":67:18, scope 28 // user: %362
- %362 = apply %359(%361, %360) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":67:18, scope 28 // user: %364
- %363 = alloc_stack $Double, loc "GPAViewController.swift":67:18, scope 28 // users: %384, %372, %364
- store %362 to [trivial] %363 : $*Double, loc "GPAViewController.swift":67:18, scope 28 // id: %364
- // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
- %365 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":67:23, scope 28 // user: %368
- %366 = metatype $@thin Double.Type, loc "GPAViewController.swift":67:23, scope 28 // user: %368
- %367 = integer_literal $Builtin.Int2048, 66, loc "GPAViewController.swift":67:23, scope 28 // user: %368
- %368 = apply %365(%367, %366) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":67:23, scope 28 // user: %370
- %369 = alloc_stack $Double, loc "GPAViewController.swift":67:23, scope 28 // users: %383, %372, %370
- store %368 to [trivial] %369 : $*Double, loc "GPAViewController.swift":67:23, scope 28 // id: %370
- %371 = alloc_stack $ClosedRange<Double>, loc "GPAViewController.swift":67:20, scope 28 // users: %382, %373, %372
- %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
- %373 = load [trivial] %371 : $*ClosedRange<Double>, loc "GPAViewController.swift":67:20, scope 28 // user: %375
- %374 = alloc_stack $ClosedRange<Double>, loc "GPAViewController.swift":67:20, scope 28 // users: %381, %378, %375
- store %373 to [trivial] %374 : $*ClosedRange<Double>, loc "GPAViewController.swift":67:20, scope 28 // id: %375
- %376 = alloc_stack $Double, loc "GPAViewController.swift":67:18, scope 28 // users: %380, %378, %377
- store %238 to [trivial] %376 : $*Double, loc "GPAViewController.swift":67:18, scope 28 // id: %377
- %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
- %379 = apply %355(%378) : $@convention(method) (Bool) -> Builtin.Int1, loc "GPAViewController.swift":67:23, scope 28 // user: %385
- dealloc_stack %376 : $*Double, loc "GPAViewController.swift":67:23, scope 28 // id: %380
- dealloc_stack %374 : $*ClosedRange<Double>, loc "GPAViewController.swift":67:23, scope 28 // id: %381
- dealloc_stack %371 : $*ClosedRange<Double>, loc "GPAViewController.swift":67:23, scope 28 // id: %382
- dealloc_stack %369 : $*Double, loc "GPAViewController.swift":67:23, scope 28 // id: %383
- dealloc_stack %363 : $*Double, loc "GPAViewController.swift":67:23, scope 28 // id: %384
- cond_br %379, bb18, bb23, loc "GPAViewController.swift":67:18, scope 28 // id: %385
- bb18: // Preds: bb17
- %386 = alloc_stack $Optional<UILabel>, loc "GPAViewController.swift":68:17, scope 29 // users: %410, %398, %390, %389
- %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
- %388 = apply %387(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":68:17, scope 29 // user: %389
- store %388 to [init] %386 : $*Optional<UILabel>, loc "GPAViewController.swift":68:17, scope 29 // id: %389
- switch_enum_addr %386 : $*Optional<UILabel>, case #Optional.none!enumelt: bb19, default bb20, loc "GPAViewController.swift":68:17, scope 29 // id: %390
- bb19: // Preds: bb18
- %391 = string_literal utf8 "GPAViewController.swift", loc "GPAViewController.swift":68:17, scope 29 // user: %396
- %392 = integer_literal $Builtin.Word, 23, loc "GPAViewController.swift":68:17, scope 29 // user: %396
- %393 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":68:17, scope 29 // user: %396
- %394 = integer_literal $Builtin.Word, 68, loc "GPAViewController.swift":68:17, scope 29 // user: %396
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %396 = apply %395(%391, %392, %393, %394) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":68:17, scope 29
- unreachable , loc "GPAViewController.swift":68:17, scope 29 // id: %397
- bb20: // Preds: bb18
- %398 = unchecked_take_enum_data_addr %386 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "GPAViewController.swift":68:17, scope 29 // users: %409, %399
- %399 = load [copy] %398 : $*UILabel, loc "GPAViewController.swift":68:17, scope 29 // users: %408, %406, %405
- %400 = metatype $@thick UIColor.Type, loc "GPAViewController.swift":68:46, scope 29 // users: %402, %401
- %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
- %402 = thick_to_objc_metatype %400 : $@thick UIColor.Type to $@objc_metatype UIColor.Type, loc "GPAViewController.swift":68:47, scope 29 // user: %403
- %403 = apply %401(%402) : $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":68:47, scope 29 // users: %407, %404
- %404 = unchecked_ref_cast %403 : $UIColor to $Optional<UIColor>, loc "GPAViewController.swift":68:47, scope 29 // user: %406
- %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
- %406 = apply %405(%404, %399) : $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":68:44, scope 29
- destroy_value %403 : $UIColor, loc "GPAViewController.swift":68:47, scope 29 // id: %407
- destroy_value %399 : $UILabel, loc "GPAViewController.swift":68:47, scope 29 // id: %408
- destroy_addr %398 : $*UILabel, loc "GPAViewController.swift":68:47, scope 29 // id: %409
- dealloc_stack %386 : $*Optional<UILabel>, loc "GPAViewController.swift":68:47, scope 29 // id: %410
- %411 = alloc_stack $Optional<UILabel>, loc "GPAViewController.swift":69:17, scope 29 // users: %435, %423, %415, %414
- %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
- %413 = apply %412(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":69:17, scope 29 // user: %414
- store %413 to [init] %411 : $*Optional<UILabel>, loc "GPAViewController.swift":69:17, scope 29 // id: %414
- switch_enum_addr %411 : $*Optional<UILabel>, case #Optional.none!enumelt: bb21, default bb22, loc "GPAViewController.swift":69:17, scope 29 // id: %415
- bb21: // Preds: bb20
- %416 = string_literal utf8 "GPAViewController.swift", loc "GPAViewController.swift":69:17, scope 29 // user: %421
- %417 = integer_literal $Builtin.Word, 23, loc "GPAViewController.swift":69:17, scope 29 // user: %421
- %418 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":69:17, scope 29 // user: %421
- %419 = integer_literal $Builtin.Word, 69, loc "GPAViewController.swift":69:17, scope 29 // user: %421
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %421 = apply %420(%416, %417, %418, %419) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":69:17, scope 29
- unreachable , loc "GPAViewController.swift":69:17, scope 29 // id: %422
- bb22: // Preds: bb20
- %423 = unchecked_take_enum_data_addr %411 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "GPAViewController.swift":69:17, scope 29 // users: %434, %424
- %424 = load [copy] %423 : $*UILabel, loc "GPAViewController.swift":69:17, scope 29 // users: %433, %431, %430
- %425 = metatype $@thick UIColor.Type, loc "GPAViewController.swift":69:46, scope 29 // users: %427, %426
- %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
- %427 = thick_to_objc_metatype %425 : $@thick UIColor.Type to $@objc_metatype UIColor.Type, loc "GPAViewController.swift":69:47, scope 29 // user: %428
- %428 = apply %426(%427) : $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":69:47, scope 29 // users: %432, %429
- %429 = unchecked_ref_cast %428 : $UIColor to $Optional<UIColor>, loc "GPAViewController.swift":69:47, scope 29 // user: %431
- %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
- %431 = apply %430(%429, %424) : $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":69:44, scope 29
- destroy_value %428 : $UIColor, loc "GPAViewController.swift":69:47, scope 29 // id: %432
- destroy_value %424 : $UILabel, loc "GPAViewController.swift":69:47, scope 29 // id: %433
- destroy_addr %423 : $*UILabel, loc "GPAViewController.swift":69:47, scope 29 // id: %434
- dealloc_stack %411 : $*Optional<UILabel>, loc "GPAViewController.swift":69:47, scope 29 // id: %435
- // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
- %436 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":70:34, scope 29 // user: %439
- %437 = metatype $@thin Double.Type, loc "GPAViewController.swift":70:34, scope 29 // user: %439
- %438 = integer_literal $Builtin.Int2048, 1, loc "GPAViewController.swift":70:34, scope 29 // user: %439
- %439 = apply %436(%438, %437) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":70:34, scope 29 // user: %440
- assign %439 to %243 : $*Double, loc "GPAViewController.swift":70:32, scope 29 // id: %440
- %441 = string_literal utf8 "D", loc "GPAViewController.swift":71:26, scope 29 // user: %446
- %442 = integer_literal $Builtin.Word, 1, loc "GPAViewController.swift":71:26, scope 29 // user: %446
- %443 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":71:26, scope 29 // user: %446
- %444 = metatype $@thin String.Type, loc "GPAViewController.swift":71:26, scope 29 // user: %446
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- assign %446 to %250 : $*String, loc "GPAViewController.swift":71:24, scope 29 // id: %447
- br bb95, loc "GPAViewController.swift":71:26, scope 23 // id: %448
- bb23: // Preds: bb17
- br bb24, loc "GPAViewController.swift":67:18, scope 28 // id: %449
- bb24: // Preds: bb23
- debug_value %238 : $Double, let, name "$match", loc "GPAViewController.swift":72:18, scope 30 // id: %450
- // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
- %451 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "GPAViewController.swift":72:18, scope 30 // user: %475
- // function_ref static ClosedRange.~= infix(ClosedRange<A>, A) -> Bool
- %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
- %453 = metatype $@thin ClosedRange<Double>.Type, loc "GPAViewController.swift":72:18, scope 30 // user: %474
- // function_ref ... infix<A where ...> (A, A) -> ClosedRange<A>
- %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
- // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
- %455 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":72:18, scope 30 // user: %458
- %456 = metatype $@thin Double.Type, loc "GPAViewController.swift":72:18, scope 30 // user: %458
- %457 = integer_literal $Builtin.Int2048, 67, loc "GPAViewController.swift":72:18, scope 30 // user: %458
- %458 = apply %455(%457, %456) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":72:18, scope 30 // user: %460
- %459 = alloc_stack $Double, loc "GPAViewController.swift":72:18, scope 30 // users: %480, %468, %460
- store %458 to [trivial] %459 : $*Double, loc "GPAViewController.swift":72:18, scope 30 // id: %460
- // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
- %461 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":72:23, scope 30 // user: %464
- %462 = metatype $@thin Double.Type, loc "GPAViewController.swift":72:23, scope 30 // user: %464
- %463 = integer_literal $Builtin.Int2048, 69, loc "GPAViewController.swift":72:23, scope 30 // user: %464
- %464 = apply %461(%463, %462) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":72:23, scope 30 // user: %466
- %465 = alloc_stack $Double, loc "GPAViewController.swift":72:23, scope 30 // users: %479, %468, %466
- store %464 to [trivial] %465 : $*Double, loc "GPAViewController.swift":72:23, scope 30 // id: %466
- %467 = alloc_stack $ClosedRange<Double>, loc "GPAViewController.swift":72:20, scope 30 // users: %478, %469, %468
- %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
- %469 = load [trivial] %467 : $*ClosedRange<Double>, loc "GPAViewController.swift":72:20, scope 30 // user: %471
- %470 = alloc_stack $ClosedRange<Double>, loc "GPAViewController.swift":72:20, scope 30 // users: %477, %474, %471
- store %469 to [trivial] %470 : $*ClosedRange<Double>, loc "GPAViewController.swift":72:20, scope 30 // id: %471
- %472 = alloc_stack $Double, loc "GPAViewController.swift":72:18, scope 30 // users: %476, %474, %473
- store %238 to [trivial] %472 : $*Double, loc "GPAViewController.swift":72:18, scope 30 // id: %473
- %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
- %475 = apply %451(%474) : $@convention(method) (Bool) -> Builtin.Int1, loc "GPAViewController.swift":72:23, scope 30 // user: %481
- dealloc_stack %472 : $*Double, loc "GPAViewController.swift":72:23, scope 30 // id: %476
- dealloc_stack %470 : $*ClosedRange<Double>, loc "GPAViewController.swift":72:23, scope 30 // id: %477
- dealloc_stack %467 : $*ClosedRange<Double>, loc "GPAViewController.swift":72:23, scope 30 // id: %478
- dealloc_stack %465 : $*Double, loc "GPAViewController.swift":72:23, scope 30 // id: %479
- dealloc_stack %459 : $*Double, loc "GPAViewController.swift":72:23, scope 30 // id: %480
- cond_br %475, bb25, bb30, loc "GPAViewController.swift":72:18, scope 30 // id: %481
- bb25: // Preds: bb24
- %482 = alloc_stack $Optional<UILabel>, loc "GPAViewController.swift":73:17, scope 31 // users: %506, %494, %486, %485
- %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
- %484 = apply %483(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":73:17, scope 31 // user: %485
- store %484 to [init] %482 : $*Optional<UILabel>, loc "GPAViewController.swift":73:17, scope 31 // id: %485
- switch_enum_addr %482 : $*Optional<UILabel>, case #Optional.none!enumelt: bb26, default bb27, loc "GPAViewController.swift":73:17, scope 31 // id: %486
- bb26: // Preds: bb25
- %487 = string_literal utf8 "GPAViewController.swift", loc "GPAViewController.swift":73:17, scope 31 // user: %492
- %488 = integer_literal $Builtin.Word, 23, loc "GPAViewController.swift":73:17, scope 31 // user: %492
- %489 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":73:17, scope 31 // user: %492
- %490 = integer_literal $Builtin.Word, 73, loc "GPAViewController.swift":73:17, scope 31 // user: %492
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %492 = apply %491(%487, %488, %489, %490) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":73:17, scope 31
- unreachable , loc "GPAViewController.swift":73:17, scope 31 // id: %493
- bb27: // Preds: bb25
- %494 = unchecked_take_enum_data_addr %482 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "GPAViewController.swift":73:17, scope 31 // users: %505, %495
- %495 = load [copy] %494 : $*UILabel, loc "GPAViewController.swift":73:17, scope 31 // users: %504, %502, %501
- %496 = metatype $@thick UIColor.Type, loc "GPAViewController.swift":73:46, scope 31 // users: %498, %497
- %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
- %498 = thick_to_objc_metatype %496 : $@thick UIColor.Type to $@objc_metatype UIColor.Type, loc "GPAViewController.swift":73:47, scope 31 // user: %499
- %499 = apply %497(%498) : $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":73:47, scope 31 // users: %503, %500
- %500 = unchecked_ref_cast %499 : $UIColor to $Optional<UIColor>, loc "GPAViewController.swift":73:47, scope 31 // user: %502
- %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
- %502 = apply %501(%500, %495) : $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":73:44, scope 31
- destroy_value %499 : $UIColor, loc "GPAViewController.swift":73:47, scope 31 // id: %503
- destroy_value %495 : $UILabel, loc "GPAViewController.swift":73:47, scope 31 // id: %504
- destroy_addr %494 : $*UILabel, loc "GPAViewController.swift":73:47, scope 31 // id: %505
- dealloc_stack %482 : $*Optional<UILabel>, loc "GPAViewController.swift":73:47, scope 31 // id: %506
- %507 = alloc_stack $Optional<UILabel>, loc "GPAViewController.swift":74:17, scope 31 // users: %531, %519, %511, %510
- %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
- %509 = apply %508(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":74:17, scope 31 // user: %510
- store %509 to [init] %507 : $*Optional<UILabel>, loc "GPAViewController.swift":74:17, scope 31 // id: %510
- switch_enum_addr %507 : $*Optional<UILabel>, case #Optional.none!enumelt: bb28, default bb29, loc "GPAViewController.swift":74:17, scope 31 // id: %511
- bb28: // Preds: bb27
- %512 = string_literal utf8 "GPAViewController.swift", loc "GPAViewController.swift":74:17, scope 31 // user: %517
- %513 = integer_literal $Builtin.Word, 23, loc "GPAViewController.swift":74:17, scope 31 // user: %517
- %514 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":74:17, scope 31 // user: %517
- %515 = integer_literal $Builtin.Word, 74, loc "GPAViewController.swift":74:17, scope 31 // user: %517
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %517 = apply %516(%512, %513, %514, %515) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":74:17, scope 31
- unreachable , loc "GPAViewController.swift":74:17, scope 31 // id: %518
- bb29: // Preds: bb27
- %519 = unchecked_take_enum_data_addr %507 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "GPAViewController.swift":74:17, scope 31 // users: %530, %520
- %520 = load [copy] %519 : $*UILabel, loc "GPAViewController.swift":74:17, scope 31 // users: %529, %527, %526
- %521 = metatype $@thick UIColor.Type, loc "GPAViewController.swift":74:46, scope 31 // users: %523, %522
- %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
- %523 = thick_to_objc_metatype %521 : $@thick UIColor.Type to $@objc_metatype UIColor.Type, loc "GPAViewController.swift":74:47, scope 31 // user: %524
- %524 = apply %522(%523) : $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":74:47, scope 31 // users: %528, %525
- %525 = unchecked_ref_cast %524 : $UIColor to $Optional<UIColor>, loc "GPAViewController.swift":74:47, scope 31 // user: %527
- %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
- %527 = apply %526(%525, %520) : $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":74:44, scope 31
- destroy_value %524 : $UIColor, loc "GPAViewController.swift":74:47, scope 31 // id: %528
- destroy_value %520 : $UILabel, loc "GPAViewController.swift":74:47, scope 31 // id: %529
- destroy_addr %519 : $*UILabel, loc "GPAViewController.swift":74:47, scope 31 // id: %530
- dealloc_stack %507 : $*Optional<UILabel>, loc "GPAViewController.swift":74:47, scope 31 // id: %531
- // function_ref Double.init(_builtinFloatLiteral : Builtin.Float64) -> Double
- %532 = function_ref @_TFSdCfT20_builtinFloatLiteralBf64__Sd : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "GPAViewController.swift":75:34, scope 31 // user: %535
- %533 = metatype $@thin Double.Type, loc "GPAViewController.swift":75:34, scope 31 // user: %535
- %534 = float_literal $Builtin.FPIEEE64, 0x3FF4CCCCCCCCCCCD // 1.3, loc "GPAViewController.swift":75:34, scope 31 // user: %535
- %535 = apply %532(%534, %533) : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "GPAViewController.swift":75:34, scope 31 // user: %536
- assign %535 to %243 : $*Double, loc "GPAViewController.swift":75:32, scope 31 // id: %536
- %537 = string_literal utf8 "D+", loc "GPAViewController.swift":76:26, scope 31 // user: %542
- %538 = integer_literal $Builtin.Word, 2, loc "GPAViewController.swift":76:26, scope 31 // user: %542
- %539 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":76:26, scope 31 // user: %542
- %540 = metatype $@thin String.Type, loc "GPAViewController.swift":76:26, scope 31 // user: %542
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- assign %542 to %250 : $*String, loc "GPAViewController.swift":76:24, scope 31 // id: %543
- br bb95, loc "GPAViewController.swift":76:26, scope 23 // id: %544
- bb30: // Preds: bb24
- br bb31, loc "GPAViewController.swift":72:18, scope 30 // id: %545
- bb31: // Preds: bb30
- debug_value %238 : $Double, let, name "$match", loc "GPAViewController.swift":77:18, scope 32 // id: %546
- // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
- %547 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "GPAViewController.swift":77:18, scope 32 // user: %571
- // function_ref static ClosedRange.~= infix(ClosedRange<A>, A) -> Bool
- %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
- %549 = metatype $@thin ClosedRange<Double>.Type, loc "GPAViewController.swift":77:18, scope 32 // user: %570
- // function_ref ... infix<A where ...> (A, A) -> ClosedRange<A>
- %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
- // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
- %551 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":77:18, scope 32 // user: %554
- %552 = metatype $@thin Double.Type, loc "GPAViewController.swift":77:18, scope 32 // user: %554
- %553 = integer_literal $Builtin.Int2048, 70, loc "GPAViewController.swift":77:18, scope 32 // user: %554
- %554 = apply %551(%553, %552) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":77:18, scope 32 // user: %556
- %555 = alloc_stack $Double, loc "GPAViewController.swift":77:18, scope 32 // users: %576, %564, %556
- store %554 to [trivial] %555 : $*Double, loc "GPAViewController.swift":77:18, scope 32 // id: %556
- // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
- %557 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":77:23, scope 32 // user: %560
- %558 = metatype $@thin Double.Type, loc "GPAViewController.swift":77:23, scope 32 // user: %560
- %559 = integer_literal $Builtin.Int2048, 72, loc "GPAViewController.swift":77:23, scope 32 // user: %560
- %560 = apply %557(%559, %558) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":77:23, scope 32 // user: %562
- %561 = alloc_stack $Double, loc "GPAViewController.swift":77:23, scope 32 // users: %575, %564, %562
- store %560 to [trivial] %561 : $*Double, loc "GPAViewController.swift":77:23, scope 32 // id: %562
- %563 = alloc_stack $ClosedRange<Double>, loc "GPAViewController.swift":77:20, scope 32 // users: %574, %565, %564
- %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
- %565 = load [trivial] %563 : $*ClosedRange<Double>, loc "GPAViewController.swift":77:20, scope 32 // user: %567
- %566 = alloc_stack $ClosedRange<Double>, loc "GPAViewController.swift":77:20, scope 32 // users: %573, %570, %567
- store %565 to [trivial] %566 : $*ClosedRange<Double>, loc "GPAViewController.swift":77:20, scope 32 // id: %567
- %568 = alloc_stack $Double, loc "GPAViewController.swift":77:18, scope 32 // users: %572, %570, %569
- store %238 to [trivial] %568 : $*Double, loc "GPAViewController.swift":77:18, scope 32 // id: %569
- %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
- %571 = apply %547(%570) : $@convention(method) (Bool) -> Builtin.Int1, loc "GPAViewController.swift":77:23, scope 32 // user: %577
- dealloc_stack %568 : $*Double, loc "GPAViewController.swift":77:23, scope 32 // id: %572
- dealloc_stack %566 : $*ClosedRange<Double>, loc "GPAViewController.swift":77:23, scope 32 // id: %573
- dealloc_stack %563 : $*ClosedRange<Double>, loc "GPAViewController.swift":77:23, scope 32 // id: %574
- dealloc_stack %561 : $*Double, loc "GPAViewController.swift":77:23, scope 32 // id: %575
- dealloc_stack %555 : $*Double, loc "GPAViewController.swift":77:23, scope 32 // id: %576
- cond_br %571, bb32, bb37, loc "GPAViewController.swift":77:18, scope 32 // id: %577
- bb32: // Preds: bb31
- %578 = alloc_stack $Optional<UILabel>, loc "GPAViewController.swift":78:17, scope 33 // users: %602, %590, %582, %581
- %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
- %580 = apply %579(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":78:17, scope 33 // user: %581
- store %580 to [init] %578 : $*Optional<UILabel>, loc "GPAViewController.swift":78:17, scope 33 // id: %581
- switch_enum_addr %578 : $*Optional<UILabel>, case #Optional.none!enumelt: bb33, default bb34, loc "GPAViewController.swift":78:17, scope 33 // id: %582
- bb33: // Preds: bb32
- %583 = string_literal utf8 "GPAViewController.swift", loc "GPAViewController.swift":78:17, scope 33 // user: %588
- %584 = integer_literal $Builtin.Word, 23, loc "GPAViewController.swift":78:17, scope 33 // user: %588
- %585 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":78:17, scope 33 // user: %588
- %586 = integer_literal $Builtin.Word, 78, loc "GPAViewController.swift":78:17, scope 33 // user: %588
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %588 = apply %587(%583, %584, %585, %586) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":78:17, scope 33
- unreachable , loc "GPAViewController.swift":78:17, scope 33 // id: %589
- bb34: // Preds: bb32
- %590 = unchecked_take_enum_data_addr %578 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "GPAViewController.swift":78:17, scope 33 // users: %601, %591
- %591 = load [copy] %590 : $*UILabel, loc "GPAViewController.swift":78:17, scope 33 // users: %600, %598, %597
- %592 = metatype $@thick UIColor.Type, loc "GPAViewController.swift":78:46, scope 33 // users: %594, %593
- %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
- %594 = thick_to_objc_metatype %592 : $@thick UIColor.Type to $@objc_metatype UIColor.Type, loc "GPAViewController.swift":78:47, scope 33 // user: %595
- %595 = apply %593(%594) : $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":78:47, scope 33 // users: %599, %596
- %596 = unchecked_ref_cast %595 : $UIColor to $Optional<UIColor>, loc "GPAViewController.swift":78:47, scope 33 // user: %598
- %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
- %598 = apply %597(%596, %591) : $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":78:44, scope 33
- destroy_value %595 : $UIColor, loc "GPAViewController.swift":78:47, scope 33 // id: %599
- destroy_value %591 : $UILabel, loc "GPAViewController.swift":78:47, scope 33 // id: %600
- destroy_addr %590 : $*UILabel, loc "GPAViewController.swift":78:47, scope 33 // id: %601
- dealloc_stack %578 : $*Optional<UILabel>, loc "GPAViewController.swift":78:47, scope 33 // id: %602
- %603 = alloc_stack $Optional<UILabel>, loc "GPAViewController.swift":79:17, scope 33 // users: %627, %615, %607, %606
- %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
- %605 = apply %604(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":79:17, scope 33 // user: %606
- store %605 to [init] %603 : $*Optional<UILabel>, loc "GPAViewController.swift":79:17, scope 33 // id: %606
- switch_enum_addr %603 : $*Optional<UILabel>, case #Optional.none!enumelt: bb35, default bb36, loc "GPAViewController.swift":79:17, scope 33 // id: %607
- bb35: // Preds: bb34
- %608 = string_literal utf8 "GPAViewController.swift", loc "GPAViewController.swift":79:17, scope 33 // user: %613
- %609 = integer_literal $Builtin.Word, 23, loc "GPAViewController.swift":79:17, scope 33 // user: %613
- %610 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":79:17, scope 33 // user: %613
- %611 = integer_literal $Builtin.Word, 79, loc "GPAViewController.swift":79:17, scope 33 // user: %613
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %613 = apply %612(%608, %609, %610, %611) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":79:17, scope 33
- unreachable , loc "GPAViewController.swift":79:17, scope 33 // id: %614
- bb36: // Preds: bb34
- %615 = unchecked_take_enum_data_addr %603 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "GPAViewController.swift":79:17, scope 33 // users: %626, %616
- %616 = load [copy] %615 : $*UILabel, loc "GPAViewController.swift":79:17, scope 33 // users: %625, %623, %622
- %617 = metatype $@thick UIColor.Type, loc "GPAViewController.swift":79:46, scope 33 // users: %619, %618
- %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
- %619 = thick_to_objc_metatype %617 : $@thick UIColor.Type to $@objc_metatype UIColor.Type, loc "GPAViewController.swift":79:47, scope 33 // user: %620
- %620 = apply %618(%619) : $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":79:47, scope 33 // users: %624, %621
- %621 = unchecked_ref_cast %620 : $UIColor to $Optional<UIColor>, loc "GPAViewController.swift":79:47, scope 33 // user: %623
- %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
- %623 = apply %622(%621, %616) : $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":79:44, scope 33
- destroy_value %620 : $UIColor, loc "GPAViewController.swift":79:47, scope 33 // id: %624
- destroy_value %616 : $UILabel, loc "GPAViewController.swift":79:47, scope 33 // id: %625
- destroy_addr %615 : $*UILabel, loc "GPAViewController.swift":79:47, scope 33 // id: %626
- dealloc_stack %603 : $*Optional<UILabel>, loc "GPAViewController.swift":79:47, scope 33 // id: %627
- // function_ref Double.init(_builtinFloatLiteral : Builtin.Float64) -> Double
- %628 = function_ref @_TFSdCfT20_builtinFloatLiteralBf64__Sd : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "GPAViewController.swift":80:34, scope 33 // user: %631
- %629 = metatype $@thin Double.Type, loc "GPAViewController.swift":80:34, scope 33 // user: %631
- %630 = float_literal $Builtin.FPIEEE64, 0x3FFB333333333333 // 1.7, loc "GPAViewController.swift":80:34, scope 33 // user: %631
- %631 = apply %628(%630, %629) : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "GPAViewController.swift":80:34, scope 33 // user: %632
- assign %631 to %243 : $*Double, loc "GPAViewController.swift":80:32, scope 33 // id: %632
- %633 = string_literal utf8 "C-", loc "GPAViewController.swift":81:26, scope 33 // user: %638
- %634 = integer_literal $Builtin.Word, 2, loc "GPAViewController.swift":81:26, scope 33 // user: %638
- %635 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":81:26, scope 33 // user: %638
- %636 = metatype $@thin String.Type, loc "GPAViewController.swift":81:26, scope 33 // user: %638
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- assign %638 to %250 : $*String, loc "GPAViewController.swift":81:24, scope 33 // id: %639
- br bb95, loc "GPAViewController.swift":81:26, scope 23 // id: %640
- bb37: // Preds: bb31
- br bb38, loc "GPAViewController.swift":77:18, scope 32 // id: %641
- bb38: // Preds: bb37
- debug_value %238 : $Double, let, name "$match", loc "GPAViewController.swift":82:18, scope 34 // id: %642
- // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
- %643 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "GPAViewController.swift":82:18, scope 34 // user: %667
- // function_ref static ClosedRange.~= infix(ClosedRange<A>, A) -> Bool
- %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
- %645 = metatype $@thin ClosedRange<Double>.Type, loc "GPAViewController.swift":82:18, scope 34 // user: %666
- // function_ref ... infix<A where ...> (A, A) -> ClosedRange<A>
- %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
- // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
- %647 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":82:18, scope 34 // user: %650
- %648 = metatype $@thin Double.Type, loc "GPAViewController.swift":82:18, scope 34 // user: %650
- %649 = integer_literal $Builtin.Int2048, 73, loc "GPAViewController.swift":82:18, scope 34 // user: %650
- %650 = apply %647(%649, %648) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":82:18, scope 34 // user: %652
- %651 = alloc_stack $Double, loc "GPAViewController.swift":82:18, scope 34 // users: %672, %660, %652
- store %650 to [trivial] %651 : $*Double, loc "GPAViewController.swift":82:18, scope 34 // id: %652
- // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
- %653 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":82:23, scope 34 // user: %656
- %654 = metatype $@thin Double.Type, loc "GPAViewController.swift":82:23, scope 34 // user: %656
- %655 = integer_literal $Builtin.Int2048, 76, loc "GPAViewController.swift":82:23, scope 34 // user: %656
- %656 = apply %653(%655, %654) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":82:23, scope 34 // user: %658
- %657 = alloc_stack $Double, loc "GPAViewController.swift":82:23, scope 34 // users: %671, %660, %658
- store %656 to [trivial] %657 : $*Double, loc "GPAViewController.swift":82:23, scope 34 // id: %658
- %659 = alloc_stack $ClosedRange<Double>, loc "GPAViewController.swift":82:20, scope 34 // users: %670, %661, %660
- %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
- %661 = load [trivial] %659 : $*ClosedRange<Double>, loc "GPAViewController.swift":82:20, scope 34 // user: %663
- %662 = alloc_stack $ClosedRange<Double>, loc "GPAViewController.swift":82:20, scope 34 // users: %669, %666, %663
- store %661 to [trivial] %662 : $*ClosedRange<Double>, loc "GPAViewController.swift":82:20, scope 34 // id: %663
- %664 = alloc_stack $Double, loc "GPAViewController.swift":82:18, scope 34 // users: %668, %666, %665
- store %238 to [trivial] %664 : $*Double, loc "GPAViewController.swift":82:18, scope 34 // id: %665
- %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
- %667 = apply %643(%666) : $@convention(method) (Bool) -> Builtin.Int1, loc "GPAViewController.swift":82:23, scope 34 // user: %673
- dealloc_stack %664 : $*Double, loc "GPAViewController.swift":82:23, scope 34 // id: %668
- dealloc_stack %662 : $*ClosedRange<Double>, loc "GPAViewController.swift":82:23, scope 34 // id: %669
- dealloc_stack %659 : $*ClosedRange<Double>, loc "GPAViewController.swift":82:23, scope 34 // id: %670
- dealloc_stack %657 : $*Double, loc "GPAViewController.swift":82:23, scope 34 // id: %671
- dealloc_stack %651 : $*Double, loc "GPAViewController.swift":82:23, scope 34 // id: %672
- cond_br %667, bb39, bb44, loc "GPAViewController.swift":82:18, scope 34 // id: %673
- bb39: // Preds: bb38
- %674 = alloc_stack $Optional<UILabel>, loc "GPAViewController.swift":83:17, scope 35 // users: %698, %686, %678, %677
- %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
- %676 = apply %675(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":83:17, scope 35 // user: %677
- store %676 to [init] %674 : $*Optional<UILabel>, loc "GPAViewController.swift":83:17, scope 35 // id: %677
- switch_enum_addr %674 : $*Optional<UILabel>, case #Optional.none!enumelt: bb40, default bb41, loc "GPAViewController.swift":83:17, scope 35 // id: %678
- bb40: // Preds: bb39
- %679 = string_literal utf8 "GPAViewController.swift", loc "GPAViewController.swift":83:17, scope 35 // user: %684
- %680 = integer_literal $Builtin.Word, 23, loc "GPAViewController.swift":83:17, scope 35 // user: %684
- %681 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":83:17, scope 35 // user: %684
- %682 = integer_literal $Builtin.Word, 83, loc "GPAViewController.swift":83:17, scope 35 // user: %684
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %684 = apply %683(%679, %680, %681, %682) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":83:17, scope 35
- unreachable , loc "GPAViewController.swift":83:17, scope 35 // id: %685
- bb41: // Preds: bb39
- %686 = unchecked_take_enum_data_addr %674 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "GPAViewController.swift":83:17, scope 35 // users: %697, %687
- %687 = load [copy] %686 : $*UILabel, loc "GPAViewController.swift":83:17, scope 35 // users: %696, %694, %693
- %688 = metatype $@thick UIColor.Type, loc "GPAViewController.swift":83:46, scope 35 // users: %690, %689
- %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
- %690 = thick_to_objc_metatype %688 : $@thick UIColor.Type to $@objc_metatype UIColor.Type, loc "GPAViewController.swift":83:47, scope 35 // user: %691
- %691 = apply %689(%690) : $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":83:47, scope 35 // users: %695, %692
- %692 = unchecked_ref_cast %691 : $UIColor to $Optional<UIColor>, loc "GPAViewController.swift":83:47, scope 35 // user: %694
- %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
- %694 = apply %693(%692, %687) : $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":83:44, scope 35
- destroy_value %691 : $UIColor, loc "GPAViewController.swift":83:47, scope 35 // id: %695
- destroy_value %687 : $UILabel, loc "GPAViewController.swift":83:47, scope 35 // id: %696
- destroy_addr %686 : $*UILabel, loc "GPAViewController.swift":83:47, scope 35 // id: %697
- dealloc_stack %674 : $*Optional<UILabel>, loc "GPAViewController.swift":83:47, scope 35 // id: %698
- %699 = alloc_stack $Optional<UILabel>, loc "GPAViewController.swift":84:17, scope 35 // users: %723, %711, %703, %702
- %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
- %701 = apply %700(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":84:17, scope 35 // user: %702
- store %701 to [init] %699 : $*Optional<UILabel>, loc "GPAViewController.swift":84:17, scope 35 // id: %702
- switch_enum_addr %699 : $*Optional<UILabel>, case #Optional.none!enumelt: bb42, default bb43, loc "GPAViewController.swift":84:17, scope 35 // id: %703
- bb42: // Preds: bb41
- %704 = string_literal utf8 "GPAViewController.swift", loc "GPAViewController.swift":84:17, scope 35 // user: %709
- %705 = integer_literal $Builtin.Word, 23, loc "GPAViewController.swift":84:17, scope 35 // user: %709
- %706 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":84:17, scope 35 // user: %709
- %707 = integer_literal $Builtin.Word, 84, loc "GPAViewController.swift":84:17, scope 35 // user: %709
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %709 = apply %708(%704, %705, %706, %707) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":84:17, scope 35
- unreachable , loc "GPAViewController.swift":84:17, scope 35 // id: %710
- bb43: // Preds: bb41
- %711 = unchecked_take_enum_data_addr %699 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "GPAViewController.swift":84:17, scope 35 // users: %722, %712
- %712 = load [copy] %711 : $*UILabel, loc "GPAViewController.swift":84:17, scope 35 // users: %721, %719, %718
- %713 = metatype $@thick UIColor.Type, loc "GPAViewController.swift":84:46, scope 35 // users: %715, %714
- %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
- %715 = thick_to_objc_metatype %713 : $@thick UIColor.Type to $@objc_metatype UIColor.Type, loc "GPAViewController.swift":84:47, scope 35 // user: %716
- %716 = apply %714(%715) : $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":84:47, scope 35 // users: %720, %717
- %717 = unchecked_ref_cast %716 : $UIColor to $Optional<UIColor>, loc "GPAViewController.swift":84:47, scope 35 // user: %719
- %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
- %719 = apply %718(%717, %712) : $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":84:44, scope 35
- destroy_value %716 : $UIColor, loc "GPAViewController.swift":84:47, scope 35 // id: %720
- destroy_value %712 : $UILabel, loc "GPAViewController.swift":84:47, scope 35 // id: %721
- destroy_addr %711 : $*UILabel, loc "GPAViewController.swift":84:47, scope 35 // id: %722
- dealloc_stack %699 : $*Optional<UILabel>, loc "GPAViewController.swift":84:47, scope 35 // id: %723
- // function_ref Double.init(_builtinFloatLiteral : Builtin.Float64) -> Double
- %724 = function_ref @_TFSdCfT20_builtinFloatLiteralBf64__Sd : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "GPAViewController.swift":85:34, scope 35 // user: %727
- %725 = metatype $@thin Double.Type, loc "GPAViewController.swift":85:34, scope 35 // user: %727
- %726 = float_literal $Builtin.FPIEEE64, 0x4000000000000000 // 2, loc "GPAViewController.swift":85:34, scope 35 // user: %727
- %727 = apply %724(%726, %725) : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "GPAViewController.swift":85:34, scope 35 // user: %728
- assign %727 to %243 : $*Double, loc "GPAViewController.swift":85:32, scope 35 // id: %728
- %729 = string_literal utf8 "C", loc "GPAViewController.swift":86:26, scope 35 // user: %734
- %730 = integer_literal $Builtin.Word, 1, loc "GPAViewController.swift":86:26, scope 35 // user: %734
- %731 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":86:26, scope 35 // user: %734
- %732 = metatype $@thin String.Type, loc "GPAViewController.swift":86:26, scope 35 // user: %734
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- assign %734 to %250 : $*String, loc "GPAViewController.swift":86:24, scope 35 // id: %735
- br bb95, loc "GPAViewController.swift":86:26, scope 23 // id: %736
- bb44: // Preds: bb38
- br bb45, loc "GPAViewController.swift":82:18, scope 34 // id: %737
- bb45: // Preds: bb44
- debug_value %238 : $Double, let, name "$match", loc "GPAViewController.swift":87:18, scope 36 // id: %738
- // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
- %739 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "GPAViewController.swift":87:18, scope 36 // user: %763
- // function_ref static ClosedRange.~= infix(ClosedRange<A>, A) -> Bool
- %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
- %741 = metatype $@thin ClosedRange<Double>.Type, loc "GPAViewController.swift":87:18, scope 36 // user: %762
- // function_ref ... infix<A where ...> (A, A) -> ClosedRange<A>
- %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
- // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
- %743 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":87:18, scope 36 // user: %746
- %744 = metatype $@thin Double.Type, loc "GPAViewController.swift":87:18, scope 36 // user: %746
- %745 = integer_literal $Builtin.Int2048, 77, loc "GPAViewController.swift":87:18, scope 36 // user: %746
- %746 = apply %743(%745, %744) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":87:18, scope 36 // user: %748
- %747 = alloc_stack $Double, loc "GPAViewController.swift":87:18, scope 36 // users: %768, %756, %748
- store %746 to [trivial] %747 : $*Double, loc "GPAViewController.swift":87:18, scope 36 // id: %748
- // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
- %749 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":87:23, scope 36 // user: %752
- %750 = metatype $@thin Double.Type, loc "GPAViewController.swift":87:23, scope 36 // user: %752
- %751 = integer_literal $Builtin.Int2048, 79, loc "GPAViewController.swift":87:23, scope 36 // user: %752
- %752 = apply %749(%751, %750) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":87:23, scope 36 // user: %754
- %753 = alloc_stack $Double, loc "GPAViewController.swift":87:23, scope 36 // users: %767, %756, %754
- store %752 to [trivial] %753 : $*Double, loc "GPAViewController.swift":87:23, scope 36 // id: %754
- %755 = alloc_stack $ClosedRange<Double>, loc "GPAViewController.swift":87:20, scope 36 // users: %766, %757, %756
- %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
- %757 = load [trivial] %755 : $*ClosedRange<Double>, loc "GPAViewController.swift":87:20, scope 36 // user: %759
- %758 = alloc_stack $ClosedRange<Double>, loc "GPAViewController.swift":87:20, scope 36 // users: %765, %762, %759
- store %757 to [trivial] %758 : $*ClosedRange<Double>, loc "GPAViewController.swift":87:20, scope 36 // id: %759
- %760 = alloc_stack $Double, loc "GPAViewController.swift":87:18, scope 36 // users: %764, %762, %761
- store %238 to [trivial] %760 : $*Double, loc "GPAViewController.swift":87:18, scope 36 // id: %761
- %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
- %763 = apply %739(%762) : $@convention(method) (Bool) -> Builtin.Int1, loc "GPAViewController.swift":87:23, scope 36 // user: %769
- dealloc_stack %760 : $*Double, loc "GPAViewController.swift":87:23, scope 36 // id: %764
- dealloc_stack %758 : $*ClosedRange<Double>, loc "GPAViewController.swift":87:23, scope 36 // id: %765
- dealloc_stack %755 : $*ClosedRange<Double>, loc "GPAViewController.swift":87:23, scope 36 // id: %766
- dealloc_stack %753 : $*Double, loc "GPAViewController.swift":87:23, scope 36 // id: %767
- dealloc_stack %747 : $*Double, loc "GPAViewController.swift":87:23, scope 36 // id: %768
- cond_br %763, bb46, bb51, loc "GPAViewController.swift":87:18, scope 36 // id: %769
- bb46: // Preds: bb45
- %770 = alloc_stack $Optional<UILabel>, loc "GPAViewController.swift":88:17, scope 37 // users: %794, %782, %774, %773
- %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
- %772 = apply %771(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":88:17, scope 37 // user: %773
- store %772 to [init] %770 : $*Optional<UILabel>, loc "GPAViewController.swift":88:17, scope 37 // id: %773
- switch_enum_addr %770 : $*Optional<UILabel>, case #Optional.none!enumelt: bb47, default bb48, loc "GPAViewController.swift":88:17, scope 37 // id: %774
- bb47: // Preds: bb46
- %775 = string_literal utf8 "GPAViewController.swift", loc "GPAViewController.swift":88:17, scope 37 // user: %780
- %776 = integer_literal $Builtin.Word, 23, loc "GPAViewController.swift":88:17, scope 37 // user: %780
- %777 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":88:17, scope 37 // user: %780
- %778 = integer_literal $Builtin.Word, 88, loc "GPAViewController.swift":88:17, scope 37 // user: %780
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %780 = apply %779(%775, %776, %777, %778) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":88:17, scope 37
- unreachable , loc "GPAViewController.swift":88:17, scope 37 // id: %781
- bb48: // Preds: bb46
- %782 = unchecked_take_enum_data_addr %770 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "GPAViewController.swift":88:17, scope 37 // users: %793, %783
- %783 = load [copy] %782 : $*UILabel, loc "GPAViewController.swift":88:17, scope 37 // users: %792, %790, %789
- %784 = metatype $@thick UIColor.Type, loc "GPAViewController.swift":88:46, scope 37 // users: %786, %785
- %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
- %786 = thick_to_objc_metatype %784 : $@thick UIColor.Type to $@objc_metatype UIColor.Type, loc "GPAViewController.swift":88:47, scope 37 // user: %787
- %787 = apply %785(%786) : $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":88:47, scope 37 // users: %791, %788
- %788 = unchecked_ref_cast %787 : $UIColor to $Optional<UIColor>, loc "GPAViewController.swift":88:47, scope 37 // user: %790
- %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
- %790 = apply %789(%788, %783) : $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":88:44, scope 37
- destroy_value %787 : $UIColor, loc "GPAViewController.swift":88:47, scope 37 // id: %791
- destroy_value %783 : $UILabel, loc "GPAViewController.swift":88:47, scope 37 // id: %792
- destroy_addr %782 : $*UILabel, loc "GPAViewController.swift":88:47, scope 37 // id: %793
- dealloc_stack %770 : $*Optional<UILabel>, loc "GPAViewController.swift":88:47, scope 37 // id: %794
- %795 = alloc_stack $Optional<UILabel>, loc "GPAViewController.swift":89:17, scope 37 // users: %819, %807, %799, %798
- %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
- %797 = apply %796(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":89:17, scope 37 // user: %798
- store %797 to [init] %795 : $*Optional<UILabel>, loc "GPAViewController.swift":89:17, scope 37 // id: %798
- switch_enum_addr %795 : $*Optional<UILabel>, case #Optional.none!enumelt: bb49, default bb50, loc "GPAViewController.swift":89:17, scope 37 // id: %799
- bb49: // Preds: bb48
- %800 = string_literal utf8 "GPAViewController.swift", loc "GPAViewController.swift":89:17, scope 37 // user: %805
- %801 = integer_literal $Builtin.Word, 23, loc "GPAViewController.swift":89:17, scope 37 // user: %805
- %802 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":89:17, scope 37 // user: %805
- %803 = integer_literal $Builtin.Word, 89, loc "GPAViewController.swift":89:17, scope 37 // user: %805
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %805 = apply %804(%800, %801, %802, %803) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":89:17, scope 37
- unreachable , loc "GPAViewController.swift":89:17, scope 37 // id: %806
- bb50: // Preds: bb48
- %807 = unchecked_take_enum_data_addr %795 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "GPAViewController.swift":89:17, scope 37 // users: %818, %808
- %808 = load [copy] %807 : $*UILabel, loc "GPAViewController.swift":89:17, scope 37 // users: %817, %815, %814
- %809 = metatype $@thick UIColor.Type, loc "GPAViewController.swift":89:46, scope 37 // users: %811, %810
- %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
- %811 = thick_to_objc_metatype %809 : $@thick UIColor.Type to $@objc_metatype UIColor.Type, loc "GPAViewController.swift":89:47, scope 37 // user: %812
- %812 = apply %810(%811) : $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":89:47, scope 37 // users: %816, %813
- %813 = unchecked_ref_cast %812 : $UIColor to $Optional<UIColor>, loc "GPAViewController.swift":89:47, scope 37 // user: %815
- %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
- %815 = apply %814(%813, %808) : $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":89:44, scope 37
- destroy_value %812 : $UIColor, loc "GPAViewController.swift":89:47, scope 37 // id: %816
- destroy_value %808 : $UILabel, loc "GPAViewController.swift":89:47, scope 37 // id: %817
- destroy_addr %807 : $*UILabel, loc "GPAViewController.swift":89:47, scope 37 // id: %818
- dealloc_stack %795 : $*Optional<UILabel>, loc "GPAViewController.swift":89:47, scope 37 // id: %819
- // function_ref Double.init(_builtinFloatLiteral : Builtin.Float64) -> Double
- %820 = function_ref @_TFSdCfT20_builtinFloatLiteralBf64__Sd : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "GPAViewController.swift":90:34, scope 37 // user: %823
- %821 = metatype $@thin Double.Type, loc "GPAViewController.swift":90:34, scope 37 // user: %823
- %822 = float_literal $Builtin.FPIEEE64, 0x4002666666666666 // 2.2999999999999998, loc "GPAViewController.swift":90:34, scope 37 // user: %823
- %823 = apply %820(%822, %821) : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "GPAViewController.swift":90:34, scope 37 // user: %824
- assign %823 to %243 : $*Double, loc "GPAViewController.swift":90:32, scope 37 // id: %824
- %825 = string_literal utf8 "C+", loc "GPAViewController.swift":91:26, scope 37 // user: %830
- %826 = integer_literal $Builtin.Word, 2, loc "GPAViewController.swift":91:26, scope 37 // user: %830
- %827 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":91:26, scope 37 // user: %830
- %828 = metatype $@thin String.Type, loc "GPAViewController.swift":91:26, scope 37 // user: %830
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- assign %830 to %250 : $*String, loc "GPAViewController.swift":91:24, scope 37 // id: %831
- br bb95, loc "GPAViewController.swift":91:26, scope 23 // id: %832
- bb51: // Preds: bb45
- br bb52, loc "GPAViewController.swift":87:18, scope 36 // id: %833
- bb52: // Preds: bb51
- debug_value %238 : $Double, let, name "$match", loc "GPAViewController.swift":92:18, scope 38 // id: %834
- // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
- %835 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "GPAViewController.swift":92:18, scope 38 // user: %859
- // function_ref static ClosedRange.~= infix(ClosedRange<A>, A) -> Bool
- %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
- %837 = metatype $@thin ClosedRange<Double>.Type, loc "GPAViewController.swift":92:18, scope 38 // user: %858
- // function_ref ... infix<A where ...> (A, A) -> ClosedRange<A>
- %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
- // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
- %839 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":92:18, scope 38 // user: %842
- %840 = metatype $@thin Double.Type, loc "GPAViewController.swift":92:18, scope 38 // user: %842
- %841 = integer_literal $Builtin.Int2048, 80, loc "GPAViewController.swift":92:18, scope 38 // user: %842
- %842 = apply %839(%841, %840) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":92:18, scope 38 // user: %844
- %843 = alloc_stack $Double, loc "GPAViewController.swift":92:18, scope 38 // users: %864, %852, %844
- store %842 to [trivial] %843 : $*Double, loc "GPAViewController.swift":92:18, scope 38 // id: %844
- // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
- %845 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":92:23, scope 38 // user: %848
- %846 = metatype $@thin Double.Type, loc "GPAViewController.swift":92:23, scope 38 // user: %848
- %847 = integer_literal $Builtin.Int2048, 82, loc "GPAViewController.swift":92:23, scope 38 // user: %848
- %848 = apply %845(%847, %846) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":92:23, scope 38 // user: %850
- %849 = alloc_stack $Double, loc "GPAViewController.swift":92:23, scope 38 // users: %863, %852, %850
- store %848 to [trivial] %849 : $*Double, loc "GPAViewController.swift":92:23, scope 38 // id: %850
- %851 = alloc_stack $ClosedRange<Double>, loc "GPAViewController.swift":92:20, scope 38 // users: %862, %853, %852
- %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
- %853 = load [trivial] %851 : $*ClosedRange<Double>, loc "GPAViewController.swift":92:20, scope 38 // user: %855
- %854 = alloc_stack $ClosedRange<Double>, loc "GPAViewController.swift":92:20, scope 38 // users: %861, %858, %855
- store %853 to [trivial] %854 : $*ClosedRange<Double>, loc "GPAViewController.swift":92:20, scope 38 // id: %855
- %856 = alloc_stack $Double, loc "GPAViewController.swift":92:18, scope 38 // users: %860, %858, %857
- store %238 to [trivial] %856 : $*Double, loc "GPAViewController.swift":92:18, scope 38 // id: %857
- %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
- %859 = apply %835(%858) : $@convention(method) (Bool) -> Builtin.Int1, loc "GPAViewController.swift":92:23, scope 38 // user: %865
- dealloc_stack %856 : $*Double, loc "GPAViewController.swift":92:23, scope 38 // id: %860
- dealloc_stack %854 : $*ClosedRange<Double>, loc "GPAViewController.swift":92:23, scope 38 // id: %861
- dealloc_stack %851 : $*ClosedRange<Double>, loc "GPAViewController.swift":92:23, scope 38 // id: %862
- dealloc_stack %849 : $*Double, loc "GPAViewController.swift":92:23, scope 38 // id: %863
- dealloc_stack %843 : $*Double, loc "GPAViewController.swift":92:23, scope 38 // id: %864
- cond_br %859, bb53, bb58, loc "GPAViewController.swift":92:18, scope 38 // id: %865
- bb53: // Preds: bb52
- %866 = alloc_stack $Optional<UILabel>, loc "GPAViewController.swift":93:17, scope 39 // users: %890, %878, %870, %869
- %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
- %868 = apply %867(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":93:17, scope 39 // user: %869
- store %868 to [init] %866 : $*Optional<UILabel>, loc "GPAViewController.swift":93:17, scope 39 // id: %869
- switch_enum_addr %866 : $*Optional<UILabel>, case #Optional.none!enumelt: bb54, default bb55, loc "GPAViewController.swift":93:17, scope 39 // id: %870
- bb54: // Preds: bb53
- %871 = string_literal utf8 "GPAViewController.swift", loc "GPAViewController.swift":93:17, scope 39 // user: %876
- %872 = integer_literal $Builtin.Word, 23, loc "GPAViewController.swift":93:17, scope 39 // user: %876
- %873 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":93:17, scope 39 // user: %876
- %874 = integer_literal $Builtin.Word, 93, loc "GPAViewController.swift":93:17, scope 39 // user: %876
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %876 = apply %875(%871, %872, %873, %874) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":93:17, scope 39
- unreachable , loc "GPAViewController.swift":93:17, scope 39 // id: %877
- bb55: // Preds: bb53
- %878 = unchecked_take_enum_data_addr %866 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "GPAViewController.swift":93:17, scope 39 // users: %889, %879
- %879 = load [copy] %878 : $*UILabel, loc "GPAViewController.swift":93:17, scope 39 // users: %888, %886, %885
- %880 = metatype $@thick UIColor.Type, loc "GPAViewController.swift":93:46, scope 39 // users: %882, %881
- %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
- %882 = thick_to_objc_metatype %880 : $@thick UIColor.Type to $@objc_metatype UIColor.Type, loc "GPAViewController.swift":93:47, scope 39 // user: %883
- %883 = apply %881(%882) : $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":93:47, scope 39 // users: %887, %884
- %884 = unchecked_ref_cast %883 : $UIColor to $Optional<UIColor>, loc "GPAViewController.swift":93:47, scope 39 // user: %886
- %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
- %886 = apply %885(%884, %879) : $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":93:44, scope 39
- destroy_value %883 : $UIColor, loc "GPAViewController.swift":93:47, scope 39 // id: %887
- destroy_value %879 : $UILabel, loc "GPAViewController.swift":93:47, scope 39 // id: %888
- destroy_addr %878 : $*UILabel, loc "GPAViewController.swift":93:47, scope 39 // id: %889
- dealloc_stack %866 : $*Optional<UILabel>, loc "GPAViewController.swift":93:47, scope 39 // id: %890
- %891 = alloc_stack $Optional<UILabel>, loc "GPAViewController.swift":94:17, scope 39 // users: %915, %903, %895, %894
- %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
- %893 = apply %892(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":94:17, scope 39 // user: %894
- store %893 to [init] %891 : $*Optional<UILabel>, loc "GPAViewController.swift":94:17, scope 39 // id: %894
- switch_enum_addr %891 : $*Optional<UILabel>, case #Optional.none!enumelt: bb56, default bb57, loc "GPAViewController.swift":94:17, scope 39 // id: %895
- bb56: // Preds: bb55
- %896 = string_literal utf8 "GPAViewController.swift", loc "GPAViewController.swift":94:17, scope 39 // user: %901
- %897 = integer_literal $Builtin.Word, 23, loc "GPAViewController.swift":94:17, scope 39 // user: %901
- %898 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":94:17, scope 39 // user: %901
- %899 = integer_literal $Builtin.Word, 94, loc "GPAViewController.swift":94:17, scope 39 // user: %901
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %901 = apply %900(%896, %897, %898, %899) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":94:17, scope 39
- unreachable , loc "GPAViewController.swift":94:17, scope 39 // id: %902
- bb57: // Preds: bb55
- %903 = unchecked_take_enum_data_addr %891 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "GPAViewController.swift":94:17, scope 39 // users: %914, %904
- %904 = load [copy] %903 : $*UILabel, loc "GPAViewController.swift":94:17, scope 39 // users: %913, %911, %910
- %905 = metatype $@thick UIColor.Type, loc "GPAViewController.swift":94:46, scope 39 // users: %907, %906
- %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
- %907 = thick_to_objc_metatype %905 : $@thick UIColor.Type to $@objc_metatype UIColor.Type, loc "GPAViewController.swift":94:47, scope 39 // user: %908
- %908 = apply %906(%907) : $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":94:47, scope 39 // users: %912, %909
- %909 = unchecked_ref_cast %908 : $UIColor to $Optional<UIColor>, loc "GPAViewController.swift":94:47, scope 39 // user: %911
- %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
- %911 = apply %910(%909, %904) : $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":94:44, scope 39
- destroy_value %908 : $UIColor, loc "GPAViewController.swift":94:47, scope 39 // id: %912
- destroy_value %904 : $UILabel, loc "GPAViewController.swift":94:47, scope 39 // id: %913
- destroy_addr %903 : $*UILabel, loc "GPAViewController.swift":94:47, scope 39 // id: %914
- dealloc_stack %891 : $*Optional<UILabel>, loc "GPAViewController.swift":94:47, scope 39 // id: %915
- // function_ref Double.init(_builtinFloatLiteral : Builtin.Float64) -> Double
- %916 = function_ref @_TFSdCfT20_builtinFloatLiteralBf64__Sd : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "GPAViewController.swift":95:34, scope 39 // user: %919
- %917 = metatype $@thin Double.Type, loc "GPAViewController.swift":95:34, scope 39 // user: %919
- %918 = float_literal $Builtin.FPIEEE64, 0x400599999999999A // 2.7000000000000002, loc "GPAViewController.swift":95:34, scope 39 // user: %919
- %919 = apply %916(%918, %917) : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "GPAViewController.swift":95:34, scope 39 // user: %920
- assign %919 to %243 : $*Double, loc "GPAViewController.swift":95:32, scope 39 // id: %920
- %921 = string_literal utf8 "B-", loc "GPAViewController.swift":96:26, scope 39 // user: %926
- %922 = integer_literal $Builtin.Word, 2, loc "GPAViewController.swift":96:26, scope 39 // user: %926
- %923 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":96:26, scope 39 // user: %926
- %924 = metatype $@thin String.Type, loc "GPAViewController.swift":96:26, scope 39 // user: %926
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- assign %926 to %250 : $*String, loc "GPAViewController.swift":96:24, scope 39 // id: %927
- br bb95, loc "GPAViewController.swift":96:26, scope 23 // id: %928
- bb58: // Preds: bb52
- br bb59, loc "GPAViewController.swift":92:18, scope 38 // id: %929
- bb59: // Preds: bb58
- debug_value %238 : $Double, let, name "$match", loc "GPAViewController.swift":97:18, scope 40 // id: %930
- // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
- %931 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "GPAViewController.swift":97:18, scope 40 // user: %955
- // function_ref static ClosedRange.~= infix(ClosedRange<A>, A) -> Bool
- %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
- %933 = metatype $@thin ClosedRange<Double>.Type, loc "GPAViewController.swift":97:18, scope 40 // user: %954
- // function_ref ... infix<A where ...> (A, A) -> ClosedRange<A>
- %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
- // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
- %935 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":97:18, scope 40 // user: %938
- %936 = metatype $@thin Double.Type, loc "GPAViewController.swift":97:18, scope 40 // user: %938
- %937 = integer_literal $Builtin.Int2048, 83, loc "GPAViewController.swift":97:18, scope 40 // user: %938
- %938 = apply %935(%937, %936) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":97:18, scope 40 // user: %940
- %939 = alloc_stack $Double, loc "GPAViewController.swift":97:18, scope 40 // users: %960, %948, %940
- store %938 to [trivial] %939 : $*Double, loc "GPAViewController.swift":97:18, scope 40 // id: %940
- // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
- %941 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":97:23, scope 40 // user: %944
- %942 = metatype $@thin Double.Type, loc "GPAViewController.swift":97:23, scope 40 // user: %944
- %943 = integer_literal $Builtin.Int2048, 86, loc "GPAViewController.swift":97:23, scope 40 // user: %944
- %944 = apply %941(%943, %942) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":97:23, scope 40 // user: %946
- %945 = alloc_stack $Double, loc "GPAViewController.swift":97:23, scope 40 // users: %959, %948, %946
- store %944 to [trivial] %945 : $*Double, loc "GPAViewController.swift":97:23, scope 40 // id: %946
- %947 = alloc_stack $ClosedRange<Double>, loc "GPAViewController.swift":97:20, scope 40 // users: %958, %949, %948
- %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
- %949 = load [trivial] %947 : $*ClosedRange<Double>, loc "GPAViewController.swift":97:20, scope 40 // user: %951
- %950 = alloc_stack $ClosedRange<Double>, loc "GPAViewController.swift":97:20, scope 40 // users: %957, %954, %951
- store %949 to [trivial] %950 : $*ClosedRange<Double>, loc "GPAViewController.swift":97:20, scope 40 // id: %951
- %952 = alloc_stack $Double, loc "GPAViewController.swift":97:18, scope 40 // users: %956, %954, %953
- store %238 to [trivial] %952 : $*Double, loc "GPAViewController.swift":97:18, scope 40 // id: %953
- %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
- %955 = apply %931(%954) : $@convention(method) (Bool) -> Builtin.Int1, loc "GPAViewController.swift":97:23, scope 40 // user: %961
- dealloc_stack %952 : $*Double, loc "GPAViewController.swift":97:23, scope 40 // id: %956
- dealloc_stack %950 : $*ClosedRange<Double>, loc "GPAViewController.swift":97:23, scope 40 // id: %957
- dealloc_stack %947 : $*ClosedRange<Double>, loc "GPAViewController.swift":97:23, scope 40 // id: %958
- dealloc_stack %945 : $*Double, loc "GPAViewController.swift":97:23, scope 40 // id: %959
- dealloc_stack %939 : $*Double, loc "GPAViewController.swift":97:23, scope 40 // id: %960
- cond_br %955, bb60, bb65, loc "GPAViewController.swift":97:18, scope 40 // id: %961
- bb60: // Preds: bb59
- %962 = alloc_stack $Optional<UILabel>, loc "GPAViewController.swift":98:17, scope 41 // users: %986, %974, %966, %965
- %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
- %964 = apply %963(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":98:17, scope 41 // user: %965
- store %964 to [init] %962 : $*Optional<UILabel>, loc "GPAViewController.swift":98:17, scope 41 // id: %965
- switch_enum_addr %962 : $*Optional<UILabel>, case #Optional.none!enumelt: bb61, default bb62, loc "GPAViewController.swift":98:17, scope 41 // id: %966
- bb61: // Preds: bb60
- %967 = string_literal utf8 "GPAViewController.swift", loc "GPAViewController.swift":98:17, scope 41 // user: %972
- %968 = integer_literal $Builtin.Word, 23, loc "GPAViewController.swift":98:17, scope 41 // user: %972
- %969 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":98:17, scope 41 // user: %972
- %970 = integer_literal $Builtin.Word, 98, loc "GPAViewController.swift":98:17, scope 41 // user: %972
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %972 = apply %971(%967, %968, %969, %970) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":98:17, scope 41
- unreachable , loc "GPAViewController.swift":98:17, scope 41 // id: %973
- bb62: // Preds: bb60
- %974 = unchecked_take_enum_data_addr %962 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "GPAViewController.swift":98:17, scope 41 // users: %985, %975
- %975 = load [copy] %974 : $*UILabel, loc "GPAViewController.swift":98:17, scope 41 // users: %984, %982, %981
- %976 = metatype $@thick UIColor.Type, loc "GPAViewController.swift":98:46, scope 41 // users: %978, %977
- %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
- %978 = thick_to_objc_metatype %976 : $@thick UIColor.Type to $@objc_metatype UIColor.Type, loc "GPAViewController.swift":98:47, scope 41 // user: %979
- %979 = apply %977(%978) : $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":98:47, scope 41 // users: %983, %980
- %980 = unchecked_ref_cast %979 : $UIColor to $Optional<UIColor>, loc "GPAViewController.swift":98:47, scope 41 // user: %982
- %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
- %982 = apply %981(%980, %975) : $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":98:44, scope 41
- destroy_value %979 : $UIColor, loc "GPAViewController.swift":98:47, scope 41 // id: %983
- destroy_value %975 : $UILabel, loc "GPAViewController.swift":98:47, scope 41 // id: %984
- destroy_addr %974 : $*UILabel, loc "GPAViewController.swift":98:47, scope 41 // id: %985
- dealloc_stack %962 : $*Optional<UILabel>, loc "GPAViewController.swift":98:47, scope 41 // id: %986
- %987 = alloc_stack $Optional<UILabel>, loc "GPAViewController.swift":99:17, scope 41 // users: %1011, %999, %991, %990
- %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
- %989 = apply %988(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":99:17, scope 41 // user: %990
- store %989 to [init] %987 : $*Optional<UILabel>, loc "GPAViewController.swift":99:17, scope 41 // id: %990
- switch_enum_addr %987 : $*Optional<UILabel>, case #Optional.none!enumelt: bb63, default bb64, loc "GPAViewController.swift":99:17, scope 41 // id: %991
- bb63: // Preds: bb62
- %992 = string_literal utf8 "GPAViewController.swift", loc "GPAViewController.swift":99:17, scope 41 // user: %997
- %993 = integer_literal $Builtin.Word, 23, loc "GPAViewController.swift":99:17, scope 41 // user: %997
- %994 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":99:17, scope 41 // user: %997
- %995 = integer_literal $Builtin.Word, 99, loc "GPAViewController.swift":99:17, scope 41 // user: %997
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %997 = apply %996(%992, %993, %994, %995) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":99:17, scope 41
- unreachable , loc "GPAViewController.swift":99:17, scope 41 // id: %998
- bb64: // Preds: bb62
- %999 = unchecked_take_enum_data_addr %987 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "GPAViewController.swift":99:17, scope 41 // users: %1010, %1000
- %1000 = load [copy] %999 : $*UILabel, loc "GPAViewController.swift":99:17, scope 41 // users: %1009, %1007, %1006
- %1001 = metatype $@thick UIColor.Type, loc "GPAViewController.swift":99:46, scope 41 // users: %1003, %1002
- %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
- %1003 = thick_to_objc_metatype %1001 : $@thick UIColor.Type to $@objc_metatype UIColor.Type, loc "GPAViewController.swift":99:47, scope 41 // user: %1004
- %1004 = apply %1002(%1003) : $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":99:47, scope 41 // users: %1008, %1005
- %1005 = unchecked_ref_cast %1004 : $UIColor to $Optional<UIColor>, loc "GPAViewController.swift":99:47, scope 41 // user: %1007
- %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
- %1007 = apply %1006(%1005, %1000) : $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":99:44, scope 41
- destroy_value %1004 : $UIColor, loc "GPAViewController.swift":99:47, scope 41 // id: %1008
- destroy_value %1000 : $UILabel, loc "GPAViewController.swift":99:47, scope 41 // id: %1009
- destroy_addr %999 : $*UILabel, loc "GPAViewController.swift":99:47, scope 41 // id: %1010
- dealloc_stack %987 : $*Optional<UILabel>, loc "GPAViewController.swift":99:47, scope 41 // id: %1011
- // function_ref Double.init(_builtinFloatLiteral : Builtin.Float64) -> Double
- %1012 = function_ref @_TFSdCfT20_builtinFloatLiteralBf64__Sd : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "GPAViewController.swift":100:34, scope 41 // user: %1015
- %1013 = metatype $@thin Double.Type, loc "GPAViewController.swift":100:34, scope 41 // user: %1015
- %1014 = float_literal $Builtin.FPIEEE64, 0x4008000000000000 // 3, loc "GPAViewController.swift":100:34, scope 41 // user: %1015
- %1015 = apply %1012(%1014, %1013) : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "GPAViewController.swift":100:34, scope 41 // user: %1016
- assign %1015 to %243 : $*Double, loc "GPAViewController.swift":100:32, scope 41 // id: %1016
- %1017 = string_literal utf8 "B", loc "GPAViewController.swift":101:26, scope 41 // user: %1022
- %1018 = integer_literal $Builtin.Word, 1, loc "GPAViewController.swift":101:26, scope 41 // user: %1022
- %1019 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":101:26, scope 41 // user: %1022
- %1020 = metatype $@thin String.Type, loc "GPAViewController.swift":101:26, scope 41 // user: %1022
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- assign %1022 to %250 : $*String, loc "GPAViewController.swift":101:24, scope 41 // id: %1023
- br bb95, loc "GPAViewController.swift":101:26, scope 23 // id: %1024
- bb65: // Preds: bb59
- br bb66, loc "GPAViewController.swift":97:18, scope 40 // id: %1025
- bb66: // Preds: bb65
- debug_value %238 : $Double, let, name "$match", loc "GPAViewController.swift":102:18, scope 42 // id: %1026
- // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
- %1027 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "GPAViewController.swift":102:18, scope 42 // user: %1051
- // function_ref static ClosedRange.~= infix(ClosedRange<A>, A) -> Bool
- %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
- %1029 = metatype $@thin ClosedRange<Double>.Type, loc "GPAViewController.swift":102:18, scope 42 // user: %1050
- // function_ref ... infix<A where ...> (A, A) -> ClosedRange<A>
- %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
- // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
- %1031 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":102:18, scope 42 // user: %1034
- %1032 = metatype $@thin Double.Type, loc "GPAViewController.swift":102:18, scope 42 // user: %1034
- %1033 = integer_literal $Builtin.Int2048, 87, loc "GPAViewController.swift":102:18, scope 42 // user: %1034
- %1034 = apply %1031(%1033, %1032) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":102:18, scope 42 // user: %1036
- %1035 = alloc_stack $Double, loc "GPAViewController.swift":102:18, scope 42 // users: %1056, %1044, %1036
- store %1034 to [trivial] %1035 : $*Double, loc "GPAViewController.swift":102:18, scope 42 // id: %1036
- // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
- %1037 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":102:23, scope 42 // user: %1040
- %1038 = metatype $@thin Double.Type, loc "GPAViewController.swift":102:23, scope 42 // user: %1040
- %1039 = integer_literal $Builtin.Int2048, 89, loc "GPAViewController.swift":102:23, scope 42 // user: %1040
- %1040 = apply %1037(%1039, %1038) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":102:23, scope 42 // user: %1042
- %1041 = alloc_stack $Double, loc "GPAViewController.swift":102:23, scope 42 // users: %1055, %1044, %1042
- store %1040 to [trivial] %1041 : $*Double, loc "GPAViewController.swift":102:23, scope 42 // id: %1042
- %1043 = alloc_stack $ClosedRange<Double>, loc "GPAViewController.swift":102:20, scope 42 // users: %1054, %1045, %1044
- %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
- %1045 = load [trivial] %1043 : $*ClosedRange<Double>, loc "GPAViewController.swift":102:20, scope 42 // user: %1047
- %1046 = alloc_stack $ClosedRange<Double>, loc "GPAViewController.swift":102:20, scope 42 // users: %1053, %1050, %1047
- store %1045 to [trivial] %1046 : $*ClosedRange<Double>, loc "GPAViewController.swift":102:20, scope 42 // id: %1047
- %1048 = alloc_stack $Double, loc "GPAViewController.swift":102:18, scope 42 // users: %1052, %1050, %1049
- store %238 to [trivial] %1048 : $*Double, loc "GPAViewController.swift":102:18, scope 42 // id: %1049
- %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
- %1051 = apply %1027(%1050) : $@convention(method) (Bool) -> Builtin.Int1, loc "GPAViewController.swift":102:23, scope 42 // user: %1057
- dealloc_stack %1048 : $*Double, loc "GPAViewController.swift":102:23, scope 42 // id: %1052
- dealloc_stack %1046 : $*ClosedRange<Double>, loc "GPAViewController.swift":102:23, scope 42 // id: %1053
- dealloc_stack %1043 : $*ClosedRange<Double>, loc "GPAViewController.swift":102:23, scope 42 // id: %1054
- dealloc_stack %1041 : $*Double, loc "GPAViewController.swift":102:23, scope 42 // id: %1055
- dealloc_stack %1035 : $*Double, loc "GPAViewController.swift":102:23, scope 42 // id: %1056
- cond_br %1051, bb67, bb72, loc "GPAViewController.swift":102:18, scope 42 // id: %1057
- bb67: // Preds: bb66
- %1058 = alloc_stack $Optional<UILabel>, loc "GPAViewController.swift":103:17, scope 43 // users: %1082, %1070, %1062, %1061
- %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
- %1060 = apply %1059(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":103:17, scope 43 // user: %1061
- store %1060 to [init] %1058 : $*Optional<UILabel>, loc "GPAViewController.swift":103:17, scope 43 // id: %1061
- switch_enum_addr %1058 : $*Optional<UILabel>, case #Optional.none!enumelt: bb68, default bb69, loc "GPAViewController.swift":103:17, scope 43 // id: %1062
- bb68: // Preds: bb67
- %1063 = string_literal utf8 "GPAViewController.swift", loc "GPAViewController.swift":103:17, scope 43 // user: %1068
- %1064 = integer_literal $Builtin.Word, 23, loc "GPAViewController.swift":103:17, scope 43 // user: %1068
- %1065 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":103:17, scope 43 // user: %1068
- %1066 = integer_literal $Builtin.Word, 103, loc "GPAViewController.swift":103:17, scope 43 // user: %1068
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %1068 = apply %1067(%1063, %1064, %1065, %1066) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":103:17, scope 43
- unreachable , loc "GPAViewController.swift":103:17, scope 43 // id: %1069
- bb69: // Preds: bb67
- %1070 = unchecked_take_enum_data_addr %1058 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "GPAViewController.swift":103:17, scope 43 // users: %1081, %1071
- %1071 = load [copy] %1070 : $*UILabel, loc "GPAViewController.swift":103:17, scope 43 // users: %1080, %1078, %1077
- %1072 = metatype $@thick UIColor.Type, loc "GPAViewController.swift":103:46, scope 43 // users: %1074, %1073
- %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
- %1074 = thick_to_objc_metatype %1072 : $@thick UIColor.Type to $@objc_metatype UIColor.Type, loc "GPAViewController.swift":103:47, scope 43 // user: %1075
- %1075 = apply %1073(%1074) : $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":103:47, scope 43 // users: %1079, %1076
- %1076 = unchecked_ref_cast %1075 : $UIColor to $Optional<UIColor>, loc "GPAViewController.swift":103:47, scope 43 // user: %1078
- %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
- %1078 = apply %1077(%1076, %1071) : $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":103:44, scope 43
- destroy_value %1075 : $UIColor, loc "GPAViewController.swift":103:47, scope 43 // id: %1079
- destroy_value %1071 : $UILabel, loc "GPAViewController.swift":103:47, scope 43 // id: %1080
- destroy_addr %1070 : $*UILabel, loc "GPAViewController.swift":103:47, scope 43 // id: %1081
- dealloc_stack %1058 : $*Optional<UILabel>, loc "GPAViewController.swift":103:47, scope 43 // id: %1082
- %1083 = alloc_stack $Optional<UILabel>, loc "GPAViewController.swift":104:17, scope 43 // users: %1107, %1095, %1087, %1086
- %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
- %1085 = apply %1084(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":104:17, scope 43 // user: %1086
- store %1085 to [init] %1083 : $*Optional<UILabel>, loc "GPAViewController.swift":104:17, scope 43 // id: %1086
- switch_enum_addr %1083 : $*Optional<UILabel>, case #Optional.none!enumelt: bb70, default bb71, loc "GPAViewController.swift":104:17, scope 43 // id: %1087
- bb70: // Preds: bb69
- %1088 = string_literal utf8 "GPAViewController.swift", loc "GPAViewController.swift":104:17, scope 43 // user: %1093
- %1089 = integer_literal $Builtin.Word, 23, loc "GPAViewController.swift":104:17, scope 43 // user: %1093
- %1090 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":104:17, scope 43 // user: %1093
- %1091 = integer_literal $Builtin.Word, 104, loc "GPAViewController.swift":104:17, scope 43 // user: %1093
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %1093 = apply %1092(%1088, %1089, %1090, %1091) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":104:17, scope 43
- unreachable , loc "GPAViewController.swift":104:17, scope 43 // id: %1094
- bb71: // Preds: bb69
- %1095 = unchecked_take_enum_data_addr %1083 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "GPAViewController.swift":104:17, scope 43 // users: %1106, %1096
- %1096 = load [copy] %1095 : $*UILabel, loc "GPAViewController.swift":104:17, scope 43 // users: %1105, %1103, %1102
- %1097 = metatype $@thick UIColor.Type, loc "GPAViewController.swift":104:46, scope 43 // users: %1099, %1098
- %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
- %1099 = thick_to_objc_metatype %1097 : $@thick UIColor.Type to $@objc_metatype UIColor.Type, loc "GPAViewController.swift":104:47, scope 43 // user: %1100
- %1100 = apply %1098(%1099) : $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":104:47, scope 43 // users: %1104, %1101
- %1101 = unchecked_ref_cast %1100 : $UIColor to $Optional<UIColor>, loc "GPAViewController.swift":104:47, scope 43 // user: %1103
- %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
- %1103 = apply %1102(%1101, %1096) : $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":104:44, scope 43
- destroy_value %1100 : $UIColor, loc "GPAViewController.swift":104:47, scope 43 // id: %1104
- destroy_value %1096 : $UILabel, loc "GPAViewController.swift":104:47, scope 43 // id: %1105
- destroy_addr %1095 : $*UILabel, loc "GPAViewController.swift":104:47, scope 43 // id: %1106
- dealloc_stack %1083 : $*Optional<UILabel>, loc "GPAViewController.swift":104:47, scope 43 // id: %1107
- // function_ref Double.init(_builtinFloatLiteral : Builtin.Float64) -> Double
- %1108 = function_ref @_TFSdCfT20_builtinFloatLiteralBf64__Sd : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "GPAViewController.swift":105:34, scope 43 // user: %1111
- %1109 = metatype $@thin Double.Type, loc "GPAViewController.swift":105:34, scope 43 // user: %1111
- %1110 = float_literal $Builtin.FPIEEE64, 0x400A666666666666 // 3.2999999999999998, loc "GPAViewController.swift":105:34, scope 43 // user: %1111
- %1111 = apply %1108(%1110, %1109) : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "GPAViewController.swift":105:34, scope 43 // user: %1112
- assign %1111 to %243 : $*Double, loc "GPAViewController.swift":105:32, scope 43 // id: %1112
- %1113 = string_literal utf8 "B+", loc "GPAViewController.swift":106:26, scope 43 // user: %1118
- %1114 = integer_literal $Builtin.Word, 2, loc "GPAViewController.swift":106:26, scope 43 // user: %1118
- %1115 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":106:26, scope 43 // user: %1118
- %1116 = metatype $@thin String.Type, loc "GPAViewController.swift":106:26, scope 43 // user: %1118
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- assign %1118 to %250 : $*String, loc "GPAViewController.swift":106:24, scope 43 // id: %1119
- br bb95, loc "GPAViewController.swift":106:26, scope 23 // id: %1120
- bb72: // Preds: bb66
- br bb73, loc "GPAViewController.swift":102:18, scope 42 // id: %1121
- bb73: // Preds: bb72
- debug_value %238 : $Double, let, name "$match", loc "GPAViewController.swift":107:18, scope 44 // id: %1122
- // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
- %1123 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "GPAViewController.swift":107:18, scope 44 // user: %1147
- // function_ref static ClosedRange.~= infix(ClosedRange<A>, A) -> Bool
- %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
- %1125 = metatype $@thin ClosedRange<Double>.Type, loc "GPAViewController.swift":107:18, scope 44 // user: %1146
- // function_ref ... infix<A where ...> (A, A) -> ClosedRange<A>
- %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
- // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
- %1127 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":107:18, scope 44 // user: %1130
- %1128 = metatype $@thin Double.Type, loc "GPAViewController.swift":107:18, scope 44 // user: %1130
- %1129 = integer_literal $Builtin.Int2048, 90, loc "GPAViewController.swift":107:18, scope 44 // user: %1130
- %1130 = apply %1127(%1129, %1128) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":107:18, scope 44 // user: %1132
- %1131 = alloc_stack $Double, loc "GPAViewController.swift":107:18, scope 44 // users: %1152, %1140, %1132
- store %1130 to [trivial] %1131 : $*Double, loc "GPAViewController.swift":107:18, scope 44 // id: %1132
- // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
- %1133 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":107:23, scope 44 // user: %1136
- %1134 = metatype $@thin Double.Type, loc "GPAViewController.swift":107:23, scope 44 // user: %1136
- %1135 = integer_literal $Builtin.Int2048, 92, loc "GPAViewController.swift":107:23, scope 44 // user: %1136
- %1136 = apply %1133(%1135, %1134) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":107:23, scope 44 // user: %1138
- %1137 = alloc_stack $Double, loc "GPAViewController.swift":107:23, scope 44 // users: %1151, %1140, %1138
- store %1136 to [trivial] %1137 : $*Double, loc "GPAViewController.swift":107:23, scope 44 // id: %1138
- %1139 = alloc_stack $ClosedRange<Double>, loc "GPAViewController.swift":107:20, scope 44 // users: %1150, %1141, %1140
- %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
- %1141 = load [trivial] %1139 : $*ClosedRange<Double>, loc "GPAViewController.swift":107:20, scope 44 // user: %1143
- %1142 = alloc_stack $ClosedRange<Double>, loc "GPAViewController.swift":107:20, scope 44 // users: %1149, %1146, %1143
- store %1141 to [trivial] %1142 : $*ClosedRange<Double>, loc "GPAViewController.swift":107:20, scope 44 // id: %1143
- %1144 = alloc_stack $Double, loc "GPAViewController.swift":107:18, scope 44 // users: %1148, %1146, %1145
- store %238 to [trivial] %1144 : $*Double, loc "GPAViewController.swift":107:18, scope 44 // id: %1145
- %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
- %1147 = apply %1123(%1146) : $@convention(method) (Bool) -> Builtin.Int1, loc "GPAViewController.swift":107:23, scope 44 // user: %1153
- dealloc_stack %1144 : $*Double, loc "GPAViewController.swift":107:23, scope 44 // id: %1148
- dealloc_stack %1142 : $*ClosedRange<Double>, loc "GPAViewController.swift":107:23, scope 44 // id: %1149
- dealloc_stack %1139 : $*ClosedRange<Double>, loc "GPAViewController.swift":107:23, scope 44 // id: %1150
- dealloc_stack %1137 : $*Double, loc "GPAViewController.swift":107:23, scope 44 // id: %1151
- dealloc_stack %1131 : $*Double, loc "GPAViewController.swift":107:23, scope 44 // id: %1152
- cond_br %1147, bb74, bb79, loc "GPAViewController.swift":107:18, scope 44 // id: %1153
- bb74: // Preds: bb73
- %1154 = alloc_stack $Optional<UILabel>, loc "GPAViewController.swift":108:17, scope 45 // users: %1178, %1166, %1158, %1157
- %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
- %1156 = apply %1155(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":108:17, scope 45 // user: %1157
- store %1156 to [init] %1154 : $*Optional<UILabel>, loc "GPAViewController.swift":108:17, scope 45 // id: %1157
- switch_enum_addr %1154 : $*Optional<UILabel>, case #Optional.none!enumelt: bb75, default bb76, loc "GPAViewController.swift":108:17, scope 45 // id: %1158
- bb75: // Preds: bb74
- %1159 = string_literal utf8 "GPAViewController.swift", loc "GPAViewController.swift":108:17, scope 45 // user: %1164
- %1160 = integer_literal $Builtin.Word, 23, loc "GPAViewController.swift":108:17, scope 45 // user: %1164
- %1161 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":108:17, scope 45 // user: %1164
- %1162 = integer_literal $Builtin.Word, 108, loc "GPAViewController.swift":108:17, scope 45 // user: %1164
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %1164 = apply %1163(%1159, %1160, %1161, %1162) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":108:17, scope 45
- unreachable , loc "GPAViewController.swift":108:17, scope 45 // id: %1165
- bb76: // Preds: bb74
- %1166 = unchecked_take_enum_data_addr %1154 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "GPAViewController.swift":108:17, scope 45 // users: %1177, %1167
- %1167 = load [copy] %1166 : $*UILabel, loc "GPAViewController.swift":108:17, scope 45 // users: %1176, %1174, %1173
- %1168 = metatype $@thick UIColor.Type, loc "GPAViewController.swift":108:46, scope 45 // users: %1170, %1169
- %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
- %1170 = thick_to_objc_metatype %1168 : $@thick UIColor.Type to $@objc_metatype UIColor.Type, loc "GPAViewController.swift":108:47, scope 45 // user: %1171
- %1171 = apply %1169(%1170) : $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":108:47, scope 45 // users: %1175, %1172
- %1172 = unchecked_ref_cast %1171 : $UIColor to $Optional<UIColor>, loc "GPAViewController.swift":108:47, scope 45 // user: %1174
- %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
- %1174 = apply %1173(%1172, %1167) : $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":108:44, scope 45
- destroy_value %1171 : $UIColor, loc "GPAViewController.swift":108:47, scope 45 // id: %1175
- destroy_value %1167 : $UILabel, loc "GPAViewController.swift":108:47, scope 45 // id: %1176
- destroy_addr %1166 : $*UILabel, loc "GPAViewController.swift":108:47, scope 45 // id: %1177
- dealloc_stack %1154 : $*Optional<UILabel>, loc "GPAViewController.swift":108:47, scope 45 // id: %1178
- %1179 = alloc_stack $Optional<UILabel>, loc "GPAViewController.swift":109:17, scope 45 // users: %1203, %1191, %1183, %1182
- %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
- %1181 = apply %1180(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":109:17, scope 45 // user: %1182
- store %1181 to [init] %1179 : $*Optional<UILabel>, loc "GPAViewController.swift":109:17, scope 45 // id: %1182
- switch_enum_addr %1179 : $*Optional<UILabel>, case #Optional.none!enumelt: bb77, default bb78, loc "GPAViewController.swift":109:17, scope 45 // id: %1183
- bb77: // Preds: bb76
- %1184 = string_literal utf8 "GPAViewController.swift", loc "GPAViewController.swift":109:17, scope 45 // user: %1189
- %1185 = integer_literal $Builtin.Word, 23, loc "GPAViewController.swift":109:17, scope 45 // user: %1189
- %1186 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":109:17, scope 45 // user: %1189
- %1187 = integer_literal $Builtin.Word, 109, loc "GPAViewController.swift":109:17, scope 45 // user: %1189
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %1189 = apply %1188(%1184, %1185, %1186, %1187) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":109:17, scope 45
- unreachable , loc "GPAViewController.swift":109:17, scope 45 // id: %1190
- bb78: // Preds: bb76
- %1191 = unchecked_take_enum_data_addr %1179 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "GPAViewController.swift":109:17, scope 45 // users: %1202, %1192
- %1192 = load [copy] %1191 : $*UILabel, loc "GPAViewController.swift":109:17, scope 45 // users: %1201, %1199, %1198
- %1193 = metatype $@thick UIColor.Type, loc "GPAViewController.swift":109:46, scope 45 // users: %1195, %1194
- %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
- %1195 = thick_to_objc_metatype %1193 : $@thick UIColor.Type to $@objc_metatype UIColor.Type, loc "GPAViewController.swift":109:47, scope 45 // user: %1196
- %1196 = apply %1194(%1195) : $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":109:47, scope 45 // users: %1200, %1197
- %1197 = unchecked_ref_cast %1196 : $UIColor to $Optional<UIColor>, loc "GPAViewController.swift":109:47, scope 45 // user: %1199
- %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
- %1199 = apply %1198(%1197, %1192) : $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":109:44, scope 45
- destroy_value %1196 : $UIColor, loc "GPAViewController.swift":109:47, scope 45 // id: %1200
- destroy_value %1192 : $UILabel, loc "GPAViewController.swift":109:47, scope 45 // id: %1201
- destroy_addr %1191 : $*UILabel, loc "GPAViewController.swift":109:47, scope 45 // id: %1202
- dealloc_stack %1179 : $*Optional<UILabel>, loc "GPAViewController.swift":109:47, scope 45 // id: %1203
- // function_ref Double.init(_builtinFloatLiteral : Builtin.Float64) -> Double
- %1204 = function_ref @_TFSdCfT20_builtinFloatLiteralBf64__Sd : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "GPAViewController.swift":110:34, scope 45 // user: %1207
- %1205 = metatype $@thin Double.Type, loc "GPAViewController.swift":110:34, scope 45 // user: %1207
- %1206 = float_literal $Builtin.FPIEEE64, 0x400D99999999999A // 3.7000000000000002, loc "GPAViewController.swift":110:34, scope 45 // user: %1207
- %1207 = apply %1204(%1206, %1205) : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "GPAViewController.swift":110:34, scope 45 // user: %1208
- assign %1207 to %243 : $*Double, loc "GPAViewController.swift":110:32, scope 45 // id: %1208
- %1209 = string_literal utf8 "A-", loc "GPAViewController.swift":111:26, scope 45 // user: %1214
- %1210 = integer_literal $Builtin.Word, 2, loc "GPAViewController.swift":111:26, scope 45 // user: %1214
- %1211 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":111:26, scope 45 // user: %1214
- %1212 = metatype $@thin String.Type, loc "GPAViewController.swift":111:26, scope 45 // user: %1214
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- assign %1214 to %250 : $*String, loc "GPAViewController.swift":111:24, scope 45 // id: %1215
- br bb95, loc "GPAViewController.swift":111:26, scope 23 // id: %1216
- bb79: // Preds: bb73
- br bb80, loc "GPAViewController.swift":107:18, scope 44 // id: %1217
- bb80: // Preds: bb79
- debug_value %238 : $Double, let, name "$match", loc "GPAViewController.swift":112:18, scope 46 // id: %1218
- // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
- %1219 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "GPAViewController.swift":112:18, scope 46 // user: %1243
- // function_ref static ClosedRange.~= infix(ClosedRange<A>, A) -> Bool
- %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
- %1221 = metatype $@thin ClosedRange<Double>.Type, loc "GPAViewController.swift":112:18, scope 46 // user: %1242
- // function_ref ... infix<A where ...> (A, A) -> ClosedRange<A>
- %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
- // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
- %1223 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":112:18, scope 46 // user: %1226
- %1224 = metatype $@thin Double.Type, loc "GPAViewController.swift":112:18, scope 46 // user: %1226
- %1225 = integer_literal $Builtin.Int2048, 93, loc "GPAViewController.swift":112:18, scope 46 // user: %1226
- %1226 = apply %1223(%1225, %1224) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":112:18, scope 46 // user: %1228
- %1227 = alloc_stack $Double, loc "GPAViewController.swift":112:18, scope 46 // users: %1248, %1236, %1228
- store %1226 to [trivial] %1227 : $*Double, loc "GPAViewController.swift":112:18, scope 46 // id: %1228
- // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
- %1229 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":112:23, scope 46 // user: %1232
- %1230 = metatype $@thin Double.Type, loc "GPAViewController.swift":112:23, scope 46 // user: %1232
- %1231 = integer_literal $Builtin.Int2048, 96, loc "GPAViewController.swift":112:23, scope 46 // user: %1232
- %1232 = apply %1229(%1231, %1230) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":112:23, scope 46 // user: %1234
- %1233 = alloc_stack $Double, loc "GPAViewController.swift":112:23, scope 46 // users: %1247, %1236, %1234
- store %1232 to [trivial] %1233 : $*Double, loc "GPAViewController.swift":112:23, scope 46 // id: %1234
- %1235 = alloc_stack $ClosedRange<Double>, loc "GPAViewController.swift":112:20, scope 46 // users: %1246, %1237, %1236
- %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
- %1237 = load [trivial] %1235 : $*ClosedRange<Double>, loc "GPAViewController.swift":112:20, scope 46 // user: %1239
- %1238 = alloc_stack $ClosedRange<Double>, loc "GPAViewController.swift":112:20, scope 46 // users: %1245, %1242, %1239
- store %1237 to [trivial] %1238 : $*ClosedRange<Double>, loc "GPAViewController.swift":112:20, scope 46 // id: %1239
- %1240 = alloc_stack $Double, loc "GPAViewController.swift":112:18, scope 46 // users: %1244, %1242, %1241
- store %238 to [trivial] %1240 : $*Double, loc "GPAViewController.swift":112:18, scope 46 // id: %1241
- %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
- %1243 = apply %1219(%1242) : $@convention(method) (Bool) -> Builtin.Int1, loc "GPAViewController.swift":112:23, scope 46 // user: %1249
- dealloc_stack %1240 : $*Double, loc "GPAViewController.swift":112:23, scope 46 // id: %1244
- dealloc_stack %1238 : $*ClosedRange<Double>, loc "GPAViewController.swift":112:23, scope 46 // id: %1245
- dealloc_stack %1235 : $*ClosedRange<Double>, loc "GPAViewController.swift":112:23, scope 46 // id: %1246
- dealloc_stack %1233 : $*Double, loc "GPAViewController.swift":112:23, scope 46 // id: %1247
- dealloc_stack %1227 : $*Double, loc "GPAViewController.swift":112:23, scope 46 // id: %1248
- cond_br %1243, bb81, bb86, loc "GPAViewController.swift":112:18, scope 46 // id: %1249
- bb81: // Preds: bb80
- %1250 = alloc_stack $Optional<UILabel>, loc "GPAViewController.swift":113:17, scope 47 // users: %1274, %1262, %1254, %1253
- %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
- %1252 = apply %1251(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":113:17, scope 47 // user: %1253
- store %1252 to [init] %1250 : $*Optional<UILabel>, loc "GPAViewController.swift":113:17, scope 47 // id: %1253
- switch_enum_addr %1250 : $*Optional<UILabel>, case #Optional.none!enumelt: bb82, default bb83, loc "GPAViewController.swift":113:17, scope 47 // id: %1254
- bb82: // Preds: bb81
- %1255 = string_literal utf8 "GPAViewController.swift", loc "GPAViewController.swift":113:17, scope 47 // user: %1260
- %1256 = integer_literal $Builtin.Word, 23, loc "GPAViewController.swift":113:17, scope 47 // user: %1260
- %1257 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":113:17, scope 47 // user: %1260
- %1258 = integer_literal $Builtin.Word, 113, loc "GPAViewController.swift":113:17, scope 47 // user: %1260
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %1260 = apply %1259(%1255, %1256, %1257, %1258) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":113:17, scope 47
- unreachable , loc "GPAViewController.swift":113:17, scope 47 // id: %1261
- bb83: // Preds: bb81
- %1262 = unchecked_take_enum_data_addr %1250 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "GPAViewController.swift":113:17, scope 47 // users: %1273, %1263
- %1263 = load [copy] %1262 : $*UILabel, loc "GPAViewController.swift":113:17, scope 47 // users: %1272, %1270, %1269
- %1264 = metatype $@thick UIColor.Type, loc "GPAViewController.swift":113:46, scope 47 // users: %1266, %1265
- %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
- %1266 = thick_to_objc_metatype %1264 : $@thick UIColor.Type to $@objc_metatype UIColor.Type, loc "GPAViewController.swift":113:47, scope 47 // user: %1267
- %1267 = apply %1265(%1266) : $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":113:47, scope 47 // users: %1271, %1268
- %1268 = unchecked_ref_cast %1267 : $UIColor to $Optional<UIColor>, loc "GPAViewController.swift":113:47, scope 47 // user: %1270
- %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
- %1270 = apply %1269(%1268, %1263) : $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":113:44, scope 47
- destroy_value %1267 : $UIColor, loc "GPAViewController.swift":113:47, scope 47 // id: %1271
- destroy_value %1263 : $UILabel, loc "GPAViewController.swift":113:47, scope 47 // id: %1272
- destroy_addr %1262 : $*UILabel, loc "GPAViewController.swift":113:47, scope 47 // id: %1273
- dealloc_stack %1250 : $*Optional<UILabel>, loc "GPAViewController.swift":113:47, scope 47 // id: %1274
- %1275 = alloc_stack $Optional<UILabel>, loc "GPAViewController.swift":114:17, scope 47 // users: %1299, %1287, %1279, %1278
- %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
- %1277 = apply %1276(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":114:17, scope 47 // user: %1278
- store %1277 to [init] %1275 : $*Optional<UILabel>, loc "GPAViewController.swift":114:17, scope 47 // id: %1278
- switch_enum_addr %1275 : $*Optional<UILabel>, case #Optional.none!enumelt: bb84, default bb85, loc "GPAViewController.swift":114:17, scope 47 // id: %1279
- bb84: // Preds: bb83
- %1280 = string_literal utf8 "GPAViewController.swift", loc "GPAViewController.swift":114:17, scope 47 // user: %1285
- %1281 = integer_literal $Builtin.Word, 23, loc "GPAViewController.swift":114:17, scope 47 // user: %1285
- %1282 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":114:17, scope 47 // user: %1285
- %1283 = integer_literal $Builtin.Word, 114, loc "GPAViewController.swift":114:17, scope 47 // user: %1285
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %1285 = apply %1284(%1280, %1281, %1282, %1283) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":114:17, scope 47
- unreachable , loc "GPAViewController.swift":114:17, scope 47 // id: %1286
- bb85: // Preds: bb83
- %1287 = unchecked_take_enum_data_addr %1275 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "GPAViewController.swift":114:17, scope 47 // users: %1298, %1288
- %1288 = load [copy] %1287 : $*UILabel, loc "GPAViewController.swift":114:17, scope 47 // users: %1297, %1295, %1294
- %1289 = metatype $@thick UIColor.Type, loc "GPAViewController.swift":114:46, scope 47 // users: %1291, %1290
- %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
- %1291 = thick_to_objc_metatype %1289 : $@thick UIColor.Type to $@objc_metatype UIColor.Type, loc "GPAViewController.swift":114:47, scope 47 // user: %1292
- %1292 = apply %1290(%1291) : $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":114:47, scope 47 // users: %1296, %1293
- %1293 = unchecked_ref_cast %1292 : $UIColor to $Optional<UIColor>, loc "GPAViewController.swift":114:47, scope 47 // user: %1295
- %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
- %1295 = apply %1294(%1293, %1288) : $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":114:44, scope 47
- destroy_value %1292 : $UIColor, loc "GPAViewController.swift":114:47, scope 47 // id: %1296
- destroy_value %1288 : $UILabel, loc "GPAViewController.swift":114:47, scope 47 // id: %1297
- destroy_addr %1287 : $*UILabel, loc "GPAViewController.swift":114:47, scope 47 // id: %1298
- dealloc_stack %1275 : $*Optional<UILabel>, loc "GPAViewController.swift":114:47, scope 47 // id: %1299
- // function_ref Double.init(_builtinFloatLiteral : Builtin.Float64) -> Double
- %1300 = function_ref @_TFSdCfT20_builtinFloatLiteralBf64__Sd : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "GPAViewController.swift":115:34, scope 47 // user: %1303
- %1301 = metatype $@thin Double.Type, loc "GPAViewController.swift":115:34, scope 47 // user: %1303
- %1302 = float_literal $Builtin.FPIEEE64, 0x4010000000000000 // 4, loc "GPAViewController.swift":115:34, scope 47 // user: %1303
- %1303 = apply %1300(%1302, %1301) : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "GPAViewController.swift":115:34, scope 47 // user: %1304
- assign %1303 to %243 : $*Double, loc "GPAViewController.swift":115:32, scope 47 // id: %1304
- %1305 = string_literal utf8 "A", loc "GPAViewController.swift":116:26, scope 47 // user: %1310
- %1306 = integer_literal $Builtin.Word, 1, loc "GPAViewController.swift":116:26, scope 47 // user: %1310
- %1307 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":116:26, scope 47 // user: %1310
- %1308 = metatype $@thin String.Type, loc "GPAViewController.swift":116:26, scope 47 // user: %1310
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- assign %1310 to %250 : $*String, loc "GPAViewController.swift":116:24, scope 47 // id: %1311
- br bb95, loc "GPAViewController.swift":116:26, scope 23 // id: %1312
- bb86: // Preds: bb80
- br bb87, loc "GPAViewController.swift":112:18, scope 46 // id: %1313
- bb87: // Preds: bb86
- debug_value %238 : $Double, let, name "$match", loc "GPAViewController.swift":117:18, scope 48 // id: %1314
- // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
- %1315 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "GPAViewController.swift":117:18, scope 48 // user: %1339
- // function_ref static ClosedRange.~= infix(ClosedRange<A>, A) -> Bool
- %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
- %1317 = metatype $@thin ClosedRange<Double>.Type, loc "GPAViewController.swift":117:18, scope 48 // user: %1338
- // function_ref ... infix<A where ...> (A, A) -> ClosedRange<A>
- %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
- // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
- %1319 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":117:18, scope 48 // user: %1322
- %1320 = metatype $@thin Double.Type, loc "GPAViewController.swift":117:18, scope 48 // user: %1322
- %1321 = integer_literal $Builtin.Int2048, 97, loc "GPAViewController.swift":117:18, scope 48 // user: %1322
- %1322 = apply %1319(%1321, %1320) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":117:18, scope 48 // user: %1324
- %1323 = alloc_stack $Double, loc "GPAViewController.swift":117:18, scope 48 // users: %1344, %1332, %1324
- store %1322 to [trivial] %1323 : $*Double, loc "GPAViewController.swift":117:18, scope 48 // id: %1324
- // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
- %1325 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":117:23, scope 48 // user: %1328
- %1326 = metatype $@thin Double.Type, loc "GPAViewController.swift":117:23, scope 48 // user: %1328
- %1327 = integer_literal $Builtin.Int2048, 100, loc "GPAViewController.swift":117:23, scope 48 // user: %1328
- %1328 = apply %1325(%1327, %1326) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":117:23, scope 48 // user: %1330
- %1329 = alloc_stack $Double, loc "GPAViewController.swift":117:23, scope 48 // users: %1343, %1332, %1330
- store %1328 to [trivial] %1329 : $*Double, loc "GPAViewController.swift":117:23, scope 48 // id: %1330
- %1331 = alloc_stack $ClosedRange<Double>, loc "GPAViewController.swift":117:20, scope 48 // users: %1342, %1333, %1332
- %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
- %1333 = load [trivial] %1331 : $*ClosedRange<Double>, loc "GPAViewController.swift":117:20, scope 48 // user: %1335
- %1334 = alloc_stack $ClosedRange<Double>, loc "GPAViewController.swift":117:20, scope 48 // users: %1341, %1338, %1335
- store %1333 to [trivial] %1334 : $*ClosedRange<Double>, loc "GPAViewController.swift":117:20, scope 48 // id: %1335
- %1336 = alloc_stack $Double, loc "GPAViewController.swift":117:18, scope 48 // users: %1340, %1338, %1337
- store %238 to [trivial] %1336 : $*Double, loc "GPAViewController.swift":117:18, scope 48 // id: %1337
- %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
- %1339 = apply %1315(%1338) : $@convention(method) (Bool) -> Builtin.Int1, loc "GPAViewController.swift":117:23, scope 48 // user: %1345
- dealloc_stack %1336 : $*Double, loc "GPAViewController.swift":117:23, scope 48 // id: %1340
- dealloc_stack %1334 : $*ClosedRange<Double>, loc "GPAViewController.swift":117:23, scope 48 // id: %1341
- dealloc_stack %1331 : $*ClosedRange<Double>, loc "GPAViewController.swift":117:23, scope 48 // id: %1342
- dealloc_stack %1329 : $*Double, loc "GPAViewController.swift":117:23, scope 48 // id: %1343
- dealloc_stack %1323 : $*Double, loc "GPAViewController.swift":117:23, scope 48 // id: %1344
- cond_br %1339, bb88, bb93, loc "GPAViewController.swift":117:18, scope 48 // id: %1345
- bb88: // Preds: bb87
- %1346 = alloc_stack $Optional<UILabel>, loc "GPAViewController.swift":118:17, scope 49 // users: %1370, %1358, %1350, %1349
- %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
- %1348 = apply %1347(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":118:17, scope 49 // user: %1349
- store %1348 to [init] %1346 : $*Optional<UILabel>, loc "GPAViewController.swift":118:17, scope 49 // id: %1349
- switch_enum_addr %1346 : $*Optional<UILabel>, case #Optional.none!enumelt: bb89, default bb90, loc "GPAViewController.swift":118:17, scope 49 // id: %1350
- bb89: // Preds: bb88
- %1351 = string_literal utf8 "GPAViewController.swift", loc "GPAViewController.swift":118:17, scope 49 // user: %1356
- %1352 = integer_literal $Builtin.Word, 23, loc "GPAViewController.swift":118:17, scope 49 // user: %1356
- %1353 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":118:17, scope 49 // user: %1356
- %1354 = integer_literal $Builtin.Word, 118, loc "GPAViewController.swift":118:17, scope 49 // user: %1356
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %1356 = apply %1355(%1351, %1352, %1353, %1354) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":118:17, scope 49
- unreachable , loc "GPAViewController.swift":118:17, scope 49 // id: %1357
- bb90: // Preds: bb88
- %1358 = unchecked_take_enum_data_addr %1346 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "GPAViewController.swift":118:17, scope 49 // users: %1369, %1359
- %1359 = load [copy] %1358 : $*UILabel, loc "GPAViewController.swift":118:17, scope 49 // users: %1368, %1366, %1365
- %1360 = metatype $@thick UIColor.Type, loc "GPAViewController.swift":118:46, scope 49 // users: %1362, %1361
- %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
- %1362 = thick_to_objc_metatype %1360 : $@thick UIColor.Type to $@objc_metatype UIColor.Type, loc "GPAViewController.swift":118:47, scope 49 // user: %1363
- %1363 = apply %1361(%1362) : $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":118:47, scope 49 // users: %1367, %1364
- %1364 = unchecked_ref_cast %1363 : $UIColor to $Optional<UIColor>, loc "GPAViewController.swift":118:47, scope 49 // user: %1366
- %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
- %1366 = apply %1365(%1364, %1359) : $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":118:44, scope 49
- destroy_value %1363 : $UIColor, loc "GPAViewController.swift":118:47, scope 49 // id: %1367
- destroy_value %1359 : $UILabel, loc "GPAViewController.swift":118:47, scope 49 // id: %1368
- destroy_addr %1358 : $*UILabel, loc "GPAViewController.swift":118:47, scope 49 // id: %1369
- dealloc_stack %1346 : $*Optional<UILabel>, loc "GPAViewController.swift":118:47, scope 49 // id: %1370
- %1371 = alloc_stack $Optional<UILabel>, loc "GPAViewController.swift":119:17, scope 49 // users: %1395, %1383, %1375, %1374
- %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
- %1373 = apply %1372(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":119:17, scope 49 // user: %1374
- store %1373 to [init] %1371 : $*Optional<UILabel>, loc "GPAViewController.swift":119:17, scope 49 // id: %1374
- switch_enum_addr %1371 : $*Optional<UILabel>, case #Optional.none!enumelt: bb91, default bb92, loc "GPAViewController.swift":119:17, scope 49 // id: %1375
- bb91: // Preds: bb90
- %1376 = string_literal utf8 "GPAViewController.swift", loc "GPAViewController.swift":119:17, scope 49 // user: %1381
- %1377 = integer_literal $Builtin.Word, 23, loc "GPAViewController.swift":119:17, scope 49 // user: %1381
- %1378 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":119:17, scope 49 // user: %1381
- %1379 = integer_literal $Builtin.Word, 119, loc "GPAViewController.swift":119:17, scope 49 // user: %1381
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %1381 = apply %1380(%1376, %1377, %1378, %1379) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":119:17, scope 49
- unreachable , loc "GPAViewController.swift":119:17, scope 49 // id: %1382
- bb92: // Preds: bb90
- %1383 = unchecked_take_enum_data_addr %1371 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "GPAViewController.swift":119:17, scope 49 // users: %1394, %1384
- %1384 = load [copy] %1383 : $*UILabel, loc "GPAViewController.swift":119:17, scope 49 // users: %1393, %1391, %1390
- %1385 = metatype $@thick UIColor.Type, loc "GPAViewController.swift":119:46, scope 49 // users: %1387, %1386
- %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
- %1387 = thick_to_objc_metatype %1385 : $@thick UIColor.Type to $@objc_metatype UIColor.Type, loc "GPAViewController.swift":119:47, scope 49 // user: %1388
- %1388 = apply %1386(%1387) : $@convention(objc_method) (@objc_metatype UIColor.Type) -> @autoreleased UIColor, loc "GPAViewController.swift":119:47, scope 49 // users: %1392, %1389
- %1389 = unchecked_ref_cast %1388 : $UIColor to $Optional<UIColor>, loc "GPAViewController.swift":119:47, scope 49 // user: %1391
- %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
- %1391 = apply %1390(%1389, %1384) : $@convention(objc_method) (Optional<UIColor>, UILabel) -> (), loc "GPAViewController.swift":119:44, scope 49
- destroy_value %1388 : $UIColor, loc "GPAViewController.swift":119:47, scope 49 // id: %1392
- destroy_value %1384 : $UILabel, loc "GPAViewController.swift":119:47, scope 49 // id: %1393
- destroy_addr %1383 : $*UILabel, loc "GPAViewController.swift":119:47, scope 49 // id: %1394
- dealloc_stack %1371 : $*Optional<UILabel>, loc "GPAViewController.swift":119:47, scope 49 // id: %1395
- // function_ref Double.init(_builtinFloatLiteral : Builtin.Float64) -> Double
- %1396 = function_ref @_TFSdCfT20_builtinFloatLiteralBf64__Sd : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "GPAViewController.swift":120:34, scope 49 // user: %1399
- %1397 = metatype $@thin Double.Type, loc "GPAViewController.swift":120:34, scope 49 // user: %1399
- %1398 = float_literal $Builtin.FPIEEE64, 0x4010000000000000 // 4, loc "GPAViewController.swift":120:34, scope 49 // user: %1399
- %1399 = apply %1396(%1398, %1397) : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double, loc "GPAViewController.swift":120:34, scope 49 // user: %1400
- assign %1399 to %243 : $*Double, loc "GPAViewController.swift":120:32, scope 49 // id: %1400
- %1401 = string_literal utf8 "A+", loc "GPAViewController.swift":121:26, scope 49 // user: %1406
- %1402 = integer_literal $Builtin.Word, 2, loc "GPAViewController.swift":121:26, scope 49 // user: %1406
- %1403 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":121:26, scope 49 // user: %1406
- %1404 = metatype $@thin String.Type, loc "GPAViewController.swift":121:26, scope 49 // user: %1406
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- assign %1406 to %250 : $*String, loc "GPAViewController.swift":121:24, scope 49 // id: %1407
- br bb95, loc "GPAViewController.swift":121:26, scope 23 // id: %1408
- bb93: // Preds: bb87
- br bb94, loc "GPAViewController.swift":117:18, scope 48 // id: %1409
- bb94: // Preds: bb93
- br bb95, loc "GPAViewController.swift":123:17, scope 50 // id: %1410
- bb95: // Preds: bb94 bb92 bb85 bb78 bb71 bb64 bb57 bb50 bb43 bb36 bb29 bb22 bb15
- // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
- %1411 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "GPAViewController.swift":126:30, scope 23 // user: %1423
- // function_ref != infix<A where ...> (A, A) -> Bool
- %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
- %1413 = load [trivial] %243 : $*Double, loc "GPAViewController.swift":126:15, scope 23 // user: %1415
- %1414 = alloc_stack $Double, loc "GPAViewController.swift":126:15, scope 23 // users: %1425, %1422, %1415
- store %1413 to [trivial] %1414 : $*Double, loc "GPAViewController.swift":126:15, scope 23 // id: %1415
- // function_ref Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
- %1416 = function_ref @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":126:33, scope 23 // user: %1419
- %1417 = metatype $@thin Double.Type, loc "GPAViewController.swift":126:33, scope 23 // user: %1419
- %1418 = integer_literal $Builtin.Int2048, -1, loc "GPAViewController.swift":126:33, scope 23 // user: %1419
- %1419 = apply %1416(%1418, %1417) : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double, loc "GPAViewController.swift":126:34, scope 23 // user: %1421
- %1420 = alloc_stack $Double, loc "GPAViewController.swift":126:34, scope 23 // users: %1424, %1422, %1421
- store %1419 to [trivial] %1420 : $*Double, loc "GPAViewController.swift":126:34, scope 23 // id: %1421
- %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
- %1423 = apply %1411(%1422) : $@convention(method) (Bool) -> Builtin.Int1, loc "GPAViewController.swift":126:34, scope 23 // user: %1426
- dealloc_stack %1420 : $*Double, loc "GPAViewController.swift":126:34, scope 23 // id: %1424
- dealloc_stack %1414 : $*Double, loc "GPAViewController.swift":126:34, scope 23 // id: %1425
- cond_br %1423, bb96, bb108, loc "GPAViewController.swift":126:34, scope 23 // id: %1426
- bb96: // Preds: bb95
- // function_ref Bool._getBuiltinLogicValue() -> Builtin.Int1
- %1427 = function_ref @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1, loc "GPAViewController.swift":126:37, scope 23 // user: %1435
- // function_ref static Bool.! prefix(Bool) -> Bool
- %1428 = function_ref @_TZFSbop1nfSbSb : $@convention(method) (Bool, @thin Bool.Type) -> Bool, loc "GPAViewController.swift":126:37, scope 23 // user: %1434
- %1429 = metatype $@thin Bool.Type, loc "GPAViewController.swift":126:37, scope 23 // user: %1434
- %1430 = load [copy] %250 : $*String, loc "GPAViewController.swift":126:38, scope 23 // users: %1433, %1432
- // function_ref String.isEmpty.getter
- %1431 = function_ref @_TFSSg7isEmptySb : $@convention(method) (@guaranteed String) -> Bool, loc "GPAViewController.swift":126:45, scope 23 // user: %1432
- %1432 = apply %1431(%1430) : $@convention(method) (@guaranteed String) -> Bool, loc "GPAViewController.swift":126:45, scope 23 // user: %1434
- destroy_value %1430 : $String, loc "GPAViewController.swift":126:45, scope 23 // id: %1433
- %1434 = apply %1428(%1432, %1429) : $@convention(method) (Bool, @thin Bool.Type) -> Bool, loc "GPAViewController.swift":126:37, scope 23 // user: %1435
- %1435 = apply %1427(%1434) : $@convention(method) (Bool) -> Builtin.Int1, loc "GPAViewController.swift":126:45, scope 23 // user: %1436
- cond_br %1435, bb97, bb108, loc "GPAViewController.swift":126:45, scope 23 // id: %1436
- bb97: // Preds: bb96
- %1437 = alloc_stack $Optional<UILabel>, loc "GPAViewController.swift":135:9, scope 23 // users: %1508, %1449, %1441, %1440
- %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
- %1439 = apply %1438(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":135:9, scope 23 // user: %1440
- store %1439 to [init] %1437 : $*Optional<UILabel>, loc "GPAViewController.swift":135:9, scope 23 // id: %1440
- switch_enum_addr %1437 : $*Optional<UILabel>, case #Optional.none!enumelt: bb98, default bb99, loc "GPAViewController.swift":135:9, scope 23 // id: %1441
- bb98: // Preds: bb97
- %1442 = string_literal utf8 "GPAViewController.swift", loc "GPAViewController.swift":135:9, scope 23 // user: %1447
- %1443 = integer_literal $Builtin.Word, 23, loc "GPAViewController.swift":135:9, scope 23 // user: %1447
- %1444 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":135:9, scope 23 // user: %1447
- %1445 = integer_literal $Builtin.Word, 135, loc "GPAViewController.swift":135:9, scope 23 // user: %1447
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %1447 = apply %1446(%1442, %1443, %1444, %1445) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":135:9, scope 23
- unreachable , loc "GPAViewController.swift":135:9, scope 23 // id: %1448
- bb99: // Preds: bb97
- %1449 = unchecked_take_enum_data_addr %1437 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "GPAViewController.swift":135:9, scope 23 // users: %1507, %1450
- %1450 = load [copy] %1449 : $*UILabel, loc "GPAViewController.swift":135:9, scope 23 // users: %1506, %1504, %1490
- // function_ref String.init(stringInterpolation : [String]...) -> String
- %1451 = function_ref @_TFSSCft19stringInterpolationGSaSS__SS : $@convention(method) (@owned Array<String>, @thin String.Type) -> @owned String, loc "GPAViewController.swift":135:33, scope 23 // user: %1488
- %1452 = metatype $@thin String.Type, loc "GPAViewController.swift":135:33, scope 23 // user: %1488
- %1453 = integer_literal $Builtin.Word, 3, loc "GPAViewController.swift":135:33, scope 23 // user: %1455
- // function_ref _allocateUninitializedArray<A> (Builtin.Word) -> ([A], Builtin.RawPointer)
- %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
- %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
- %1456 = tuple_extract %1455 : $(Array<String>, Builtin.RawPointer), 0, loc "GPAViewController.swift":135:33, scope 23 // user: %1488
- %1457 = tuple_extract %1455 : $(Array<String>, Builtin.RawPointer), 1, loc "GPAViewController.swift":135:33, scope 23 // user: %1458
- %1458 = pointer_to_address %1457 : $Builtin.RawPointer to [strict] $*String, loc "GPAViewController.swift":135:33, scope 23 // users: %1477, %1470, %1468
- // function_ref String.init(stringInterpolationSegment : String) -> String
- %1459 = function_ref @_TFSSCfT26stringInterpolationSegmentSS_SS : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "GPAViewController.swift":135:33, scope 23 // user: %1467
- %1460 = metatype $@thin String.Type, loc "GPAViewController.swift":135:33, scope 23 // user: %1467
- %1461 = string_literal utf8 "", loc "GPAViewController.swift":135:33, scope 23 // user: %1466
- %1462 = integer_literal $Builtin.Word, 0, loc "GPAViewController.swift":135:33, scope 23 // user: %1466
- %1463 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":135:33, scope 23 // user: %1466
- %1464 = metatype $@thin String.Type, loc "GPAViewController.swift":135:33, scope 23 // user: %1466
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- %1467 = apply %1459(%1466, %1460) : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "GPAViewController.swift":135:33, scope 23 // user: %1468
- store %1467 to [init] %1458 : $*String, loc "GPAViewController.swift":135:33, scope 23 // id: %1468
- %1469 = integer_literal $Builtin.Word, 1, loc "GPAViewController.swift":135:50, scope 23 // user: %1470
- %1470 = index_addr %1458 : $*String, %1469 : $Builtin.Word, loc "GPAViewController.swift":135:50, scope 23 // user: %1475
- // function_ref String.init(stringInterpolationSegment : Double) -> String
- %1471 = function_ref @_TFSSCfT26stringInterpolationSegmentSd_SS : $@convention(method) (Double, @thin String.Type) -> @owned String, loc "GPAViewController.swift":135:33, scope 23 // user: %1474
- %1472 = metatype $@thin String.Type, loc "GPAViewController.swift":135:33, scope 23 // user: %1474
- %1473 = load [trivial] %243 : $*Double, loc "GPAViewController.swift":135:36, scope 23 // user: %1474
- %1474 = apply %1471(%1473, %1472) : $@convention(method) (Double, @thin String.Type) -> @owned String, loc "GPAViewController.swift":135:50, scope 23 // user: %1475
- store %1474 to [init] %1470 : $*String, loc "GPAViewController.swift":135:50, scope 23 // id: %1475
- %1476 = integer_literal $Builtin.Word, 2, loc "GPAViewController.swift":135:51, scope 23 // user: %1477
- %1477 = index_addr %1458 : $*String, %1476 : $Builtin.Word, loc "GPAViewController.swift":135:51, scope 23 // user: %1487
- // function_ref String.init(stringInterpolationSegment : String) -> String
- %1478 = function_ref @_TFSSCfT26stringInterpolationSegmentSS_SS : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "GPAViewController.swift":135:33, scope 23 // user: %1486
- %1479 = metatype $@thin String.Type, loc "GPAViewController.swift":135:33, scope 23 // user: %1486
- %1480 = string_literal utf8 "", loc "GPAViewController.swift":135:51, scope 23 // user: %1485
- %1481 = integer_literal $Builtin.Word, 0, loc "GPAViewController.swift":135:51, scope 23 // user: %1485
- %1482 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":135:51, scope 23 // user: %1485
- %1483 = metatype $@thin String.Type, loc "GPAViewController.swift":135:51, scope 23 // user: %1485
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- %1486 = apply %1478(%1485, %1479) : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "GPAViewController.swift":135:51, scope 23 // user: %1487
- store %1486 to [init] %1477 : $*String, loc "GPAViewController.swift":135:51, scope 23 // id: %1487
- %1488 = apply %1451(%1456, %1452) : $@convention(method) (@owned Array<String>, @thin String.Type) -> @owned String, loc "GPAViewController.swift":135:51, scope 23 // user: %1489
- %1489 = enum $Optional<String>, #Optional.some!enumelt.1, %1488 : $String, loc "GPAViewController.swift":135:33, scope 23 // users: %1495, %1493
- %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
- %1491 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":135:31, scope 23 // user: %1493
- %1492 = integer_literal $Builtin.Int1, 0, loc "GPAViewController.swift":135:31, scope 23 // user: %1493
- %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
- cond_br %1493, bb100, bb101, loc "GPAViewController.swift":135:31, scope 23 // id: %1494
- bb100: // Preds: bb99
- %1495 = unchecked_enum_data %1489 : $Optional<String>, #Optional.some!enumelt.1, loc "GPAViewController.swift":135:31, scope 23 // users: %1499, %1497
- // function_ref String._bridgeToObjectiveC() -> NSString
- %1496 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "GPAViewController.swift":135:31, scope 23 // user: %1497
- %1497 = apply %1496(%1495) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "GPAViewController.swift":135:31, scope 23 // user: %1498
- %1498 = enum $Optional<NSString>, #Optional.some!enumelt.1, %1497 : $NSString, loc "GPAViewController.swift":135:31, scope 23 // user: %1500
- destroy_value %1495 : $String, loc "GPAViewController.swift":135:33, scope 23 // id: %1499
- br bb102(%1498 : $Optional<NSString>), loc "GPAViewController.swift":135:31, scope 23 // id: %1500
- bb101: // Preds: bb99
- %1501 = enum $Optional<NSString>, #Optional.none!enumelt, loc "GPAViewController.swift":135:31, scope 23 // user: %1502
- br bb102(%1501 : $Optional<NSString>), loc "GPAViewController.swift":135:31, scope 23 // id: %1502
- // %1503 // users: %1505, %1504
- bb102(%1503 : $Optional<NSString>): // Preds: bb101 bb100
- %1504 = apply %1490(%1503, %1450) : $@convention(objc_method) (Optional<NSString>, UILabel) -> (), loc "GPAViewController.swift":135:31, scope 23
- destroy_value %1503 : $Optional<NSString>, loc "GPAViewController.swift":135:33, scope 23 // id: %1505
- destroy_value %1450 : $UILabel, loc "GPAViewController.swift":135:33, scope 23 // id: %1506
- destroy_addr %1449 : $*UILabel, loc "GPAViewController.swift":135:33, scope 23 // id: %1507
- dealloc_stack %1437 : $*Optional<UILabel>, loc "GPAViewController.swift":135:33, scope 23 // id: %1508
- %1509 = alloc_stack $Optional<UILabel>, loc "GPAViewController.swift":136:9, scope 23 // users: %1580, %1521, %1513, %1512
- %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
- %1511 = apply %1510(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":136:9, scope 23 // user: %1512
- store %1511 to [init] %1509 : $*Optional<UILabel>, loc "GPAViewController.swift":136:9, scope 23 // id: %1512
- switch_enum_addr %1509 : $*Optional<UILabel>, case #Optional.none!enumelt: bb103, default bb104, loc "GPAViewController.swift":136:9, scope 23 // id: %1513
- bb103: // Preds: bb102
- %1514 = string_literal utf8 "GPAViewController.swift", loc "GPAViewController.swift":136:9, scope 23 // user: %1519
- %1515 = integer_literal $Builtin.Word, 23, loc "GPAViewController.swift":136:9, scope 23 // user: %1519
- %1516 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":136:9, scope 23 // user: %1519
- %1517 = integer_literal $Builtin.Word, 136, loc "GPAViewController.swift":136:9, scope 23 // user: %1519
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %1519 = apply %1518(%1514, %1515, %1516, %1517) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":136:9, scope 23
- unreachable , loc "GPAViewController.swift":136:9, scope 23 // id: %1520
- bb104: // Preds: bb102
- %1521 = unchecked_take_enum_data_addr %1509 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "GPAViewController.swift":136:9, scope 23 // users: %1579, %1522
- %1522 = load [copy] %1521 : $*UILabel, loc "GPAViewController.swift":136:9, scope 23 // users: %1578, %1576, %1562
- // function_ref String.init(stringInterpolation : [String]...) -> String
- %1523 = function_ref @_TFSSCft19stringInterpolationGSaSS__SS : $@convention(method) (@owned Array<String>, @thin String.Type) -> @owned String, loc "GPAViewController.swift":136:33, scope 23 // user: %1560
- %1524 = metatype $@thin String.Type, loc "GPAViewController.swift":136:33, scope 23 // user: %1560
- %1525 = integer_literal $Builtin.Word, 3, loc "GPAViewController.swift":136:33, scope 23 // user: %1527
- // function_ref _allocateUninitializedArray<A> (Builtin.Word) -> ([A], Builtin.RawPointer)
- %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
- %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
- %1528 = tuple_extract %1527 : $(Array<String>, Builtin.RawPointer), 0, loc "GPAViewController.swift":136:33, scope 23 // user: %1560
- %1529 = tuple_extract %1527 : $(Array<String>, Builtin.RawPointer), 1, loc "GPAViewController.swift":136:33, scope 23 // user: %1530
- %1530 = pointer_to_address %1529 : $Builtin.RawPointer to [strict] $*String, loc "GPAViewController.swift":136:33, scope 23 // users: %1549, %1542, %1540
- // function_ref String.init(stringInterpolationSegment : String) -> String
- %1531 = function_ref @_TFSSCfT26stringInterpolationSegmentSS_SS : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "GPAViewController.swift":136:33, scope 23 // user: %1539
- %1532 = metatype $@thin String.Type, loc "GPAViewController.swift":136:33, scope 23 // user: %1539
- %1533 = string_literal utf8 "", loc "GPAViewController.swift":136:33, scope 23 // user: %1538
- %1534 = integer_literal $Builtin.Word, 0, loc "GPAViewController.swift":136:33, scope 23 // user: %1538
- %1535 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":136:33, scope 23 // user: %1538
- %1536 = metatype $@thin String.Type, loc "GPAViewController.swift":136:33, scope 23 // user: %1538
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- %1539 = apply %1531(%1538, %1532) : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "GPAViewController.swift":136:33, scope 23 // user: %1540
- store %1539 to [init] %1530 : $*String, loc "GPAViewController.swift":136:33, scope 23 // id: %1540
- %1541 = integer_literal $Builtin.Word, 1, loc "GPAViewController.swift":136:42, scope 23 // user: %1542
- %1542 = index_addr %1530 : $*String, %1541 : $Builtin.Word, loc "GPAViewController.swift":136:42, scope 23 // user: %1547
- // function_ref String.init(stringInterpolationSegment : String) -> String
- %1543 = function_ref @_TFSSCfT26stringInterpolationSegmentSS_SS : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "GPAViewController.swift":136:33, scope 23 // user: %1546
- %1544 = metatype $@thin String.Type, loc "GPAViewController.swift":136:33, scope 23 // user: %1546
- %1545 = load [copy] %250 : $*String, loc "GPAViewController.swift":136:36, scope 23 // user: %1546
- %1546 = apply %1543(%1545, %1544) : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "GPAViewController.swift":136:42, scope 23 // user: %1547
- store %1546 to [init] %1542 : $*String, loc "GPAViewController.swift":136:42, scope 23 // id: %1547
- %1548 = integer_literal $Builtin.Word, 2, loc "GPAViewController.swift":136:43, scope 23 // user: %1549
- %1549 = index_addr %1530 : $*String, %1548 : $Builtin.Word, loc "GPAViewController.swift":136:43, scope 23 // user: %1559
- // function_ref String.init(stringInterpolationSegment : String) -> String
- %1550 = function_ref @_TFSSCfT26stringInterpolationSegmentSS_SS : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "GPAViewController.swift":136:33, scope 23 // user: %1558
- %1551 = metatype $@thin String.Type, loc "GPAViewController.swift":136:33, scope 23 // user: %1558
- %1552 = string_literal utf8 "", loc "GPAViewController.swift":136:43, scope 23 // user: %1557
- %1553 = integer_literal $Builtin.Word, 0, loc "GPAViewController.swift":136:43, scope 23 // user: %1557
- %1554 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":136:43, scope 23 // user: %1557
- %1555 = metatype $@thin String.Type, loc "GPAViewController.swift":136:43, scope 23 // user: %1557
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- %1558 = apply %1550(%1557, %1551) : $@convention(method) (@owned String, @thin String.Type) -> @owned String, loc "GPAViewController.swift":136:43, scope 23 // user: %1559
- store %1558 to [init] %1549 : $*String, loc "GPAViewController.swift":136:43, scope 23 // id: %1559
- %1560 = apply %1523(%1528, %1524) : $@convention(method) (@owned Array<String>, @thin String.Type) -> @owned String, loc "GPAViewController.swift":136:43, scope 23 // user: %1561
- %1561 = enum $Optional<String>, #Optional.some!enumelt.1, %1560 : $String, loc "GPAViewController.swift":136:33, scope 23 // users: %1567, %1565
- %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
- %1563 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":136:31, scope 23 // user: %1565
- %1564 = integer_literal $Builtin.Int1, 0, loc "GPAViewController.swift":136:31, scope 23 // user: %1565
- %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
- cond_br %1565, bb105, bb106, loc "GPAViewController.swift":136:31, scope 23 // id: %1566
- bb105: // Preds: bb104
- %1567 = unchecked_enum_data %1561 : $Optional<String>, #Optional.some!enumelt.1, loc "GPAViewController.swift":136:31, scope 23 // users: %1571, %1569
- // function_ref String._bridgeToObjectiveC() -> NSString
- %1568 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "GPAViewController.swift":136:31, scope 23 // user: %1569
- %1569 = apply %1568(%1567) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "GPAViewController.swift":136:31, scope 23 // user: %1570
- %1570 = enum $Optional<NSString>, #Optional.some!enumelt.1, %1569 : $NSString, loc "GPAViewController.swift":136:31, scope 23 // user: %1572
- destroy_value %1567 : $String, loc "GPAViewController.swift":136:33, scope 23 // id: %1571
- br bb107(%1570 : $Optional<NSString>), loc "GPAViewController.swift":136:31, scope 23 // id: %1572
- bb106: // Preds: bb104
- %1573 = enum $Optional<NSString>, #Optional.none!enumelt, loc "GPAViewController.swift":136:31, scope 23 // user: %1574
- br bb107(%1573 : $Optional<NSString>), loc "GPAViewController.swift":136:31, scope 23 // id: %1574
- // %1575 // users: %1577, %1576
- bb107(%1575 : $Optional<NSString>): // Preds: bb106 bb105
- %1576 = apply %1562(%1575, %1522) : $@convention(objc_method) (Optional<NSString>, UILabel) -> (), loc "GPAViewController.swift":136:31, scope 23
- destroy_value %1575 : $Optional<NSString>, loc "GPAViewController.swift":136:33, scope 23 // id: %1577
- destroy_value %1522 : $UILabel, loc "GPAViewController.swift":136:33, scope 23 // id: %1578
- destroy_addr %1521 : $*UILabel, loc "GPAViewController.swift":136:33, scope 23 // id: %1579
- dealloc_stack %1509 : $*Optional<UILabel>, loc "GPAViewController.swift":136:33, scope 23 // id: %1580
- destroy_value %249 : ${ var String }, loc "GPAViewController.swift":137:5, scope 23 // id: %1581
- destroy_value %242 : ${ var Double }, loc "GPAViewController.swift":137:5, scope 23 // id: %1582
- destroy_value %28 : ${ var Double }, loc "GPAViewController.swift":137:5, scope 23 // id: %1583
- destroy_value %21 : ${ var Double }, loc "GPAViewController.swift":137:5, scope 23 // id: %1584
- destroy_value %14 : ${ var Double }, loc "GPAViewController.swift":137:5, scope 23 // id: %1585
- br bb140, loc "GPAViewController.swift":137:5, scope 23 // id: %1586
- bb108: // Preds: bb96 bb95
- // function_ref print([Any], separator : String, terminator : String) -> ()
- %1587 = function_ref @_TFs5printFTGSaP__9separatorSS10terminatorSS_T_ : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> (), loc "GPAViewController.swift":127:13, scope 51 // user: %1606
- %1588 = integer_literal $Builtin.Word, 1, loc "GPAViewController.swift":127:19, scope 51 // user: %1590
- // function_ref _allocateUninitializedArray<A> (Builtin.Word) -> ([A], Builtin.RawPointer)
- %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
- %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
- %1591 = tuple_extract %1590 : $(Array<Any>, Builtin.RawPointer), 0, loc "GPAViewController.swift":127:19, scope 51 // user: %1606
- %1592 = tuple_extract %1590 : $(Array<Any>, Builtin.RawPointer), 1, loc "GPAViewController.swift":127:19, scope 51 // user: %1593
- %1593 = pointer_to_address %1592 : $Builtin.RawPointer to [strict] $*Any, loc "GPAViewController.swift":127:19, scope 51 // user: %1594
- %1594 = init_existential_addr %1593 : $*Any, $String, loc "GPAViewController.swift":127:19, scope 51 // user: %1601
- %1595 = string_literal utf8 "Invalid grades", loc "GPAViewController.swift":127:19, scope 51 // user: %1600
- %1596 = integer_literal $Builtin.Word, 14, loc "GPAViewController.swift":127:19, scope 51 // user: %1600
- %1597 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":127:19, scope 51 // user: %1600
- %1598 = metatype $@thin String.Type, loc "GPAViewController.swift":127:19, scope 51 // user: %1600
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- store %1600 to [init] %1594 : $*String, loc "GPAViewController.swift":127:19, scope 51 // id: %1601
- // function_ref (print([Any], separator : String, terminator : String) -> ()).(default argument 1)
- %1602 = function_ref @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A0_ : $@convention(thin) () -> @owned String, loc "GPAViewController.swift":127:19, scope 51 // user: %1603
- %1603 = apply %1602() : $@convention(thin) () -> @owned String, loc "GPAViewController.swift":127:19, scope 51 // user: %1606
- // function_ref (print([Any], separator : String, terminator : String) -> ()).(default argument 2)
- %1604 = function_ref @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A1_ : $@convention(thin) () -> @owned String, loc "GPAViewController.swift":127:19, scope 51 // user: %1605
- %1605 = apply %1604() : $@convention(thin) () -> @owned String, loc "GPAViewController.swift":127:19, scope 51 // user: %1606
- %1606 = apply %1587(%1591, %1603, %1605) : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> (), loc "GPAViewController.swift":127:35, scope 51
- %1607 = alloc_stack $Optional<UILabel>, loc "GPAViewController.swift":129:13, scope 51 // users: %1646, %1619, %1611, %1610
- %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
- %1609 = apply %1608(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":129:13, scope 51 // user: %1610
- store %1609 to [init] %1607 : $*Optional<UILabel>, loc "GPAViewController.swift":129:13, scope 51 // id: %1610
- switch_enum_addr %1607 : $*Optional<UILabel>, case #Optional.none!enumelt: bb109, default bb110, loc "GPAViewController.swift":129:13, scope 51 // id: %1611
- bb109: // Preds: bb108
- %1612 = string_literal utf8 "GPAViewController.swift", loc "GPAViewController.swift":129:13, scope 51 // user: %1617
- %1613 = integer_literal $Builtin.Word, 23, loc "GPAViewController.swift":129:13, scope 51 // user: %1617
- %1614 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":129:13, scope 51 // user: %1617
- %1615 = integer_literal $Builtin.Word, 129, loc "GPAViewController.swift":129:13, scope 51 // user: %1617
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %1617 = apply %1616(%1612, %1613, %1614, %1615) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":129:13, scope 51
- unreachable , loc "GPAViewController.swift":129:13, scope 51 // id: %1618
- bb110: // Preds: bb108
- %1619 = unchecked_take_enum_data_addr %1607 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "GPAViewController.swift":129:13, scope 51 // users: %1645, %1620
- %1620 = load [copy] %1619 : $*UILabel, loc "GPAViewController.swift":129:13, scope 51 // users: %1644, %1642, %1628
- %1621 = string_literal utf8 "", loc "GPAViewController.swift":129:37, scope 51 // user: %1626
- %1622 = integer_literal $Builtin.Word, 0, loc "GPAViewController.swift":129:37, scope 51 // user: %1626
- %1623 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":129:37, scope 51 // user: %1626
- %1624 = metatype $@thin String.Type, loc "GPAViewController.swift":129:37, scope 51 // user: %1626
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- %1627 = enum $Optional<String>, #Optional.some!enumelt.1, %1626 : $String, loc "GPAViewController.swift":129:37, scope 51 // users: %1633, %1631
- %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
- %1629 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":129:35, scope 51 // user: %1631
- %1630 = integer_literal $Builtin.Int1, 0, loc "GPAViewController.swift":129:35, scope 51 // user: %1631
- %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
- cond_br %1631, bb111, bb112, loc "GPAViewController.swift":129:35, scope 51 // id: %1632
- bb111: // Preds: bb110
- %1633 = unchecked_enum_data %1627 : $Optional<String>, #Optional.some!enumelt.1, loc "GPAViewController.swift":129:35, scope 51 // users: %1637, %1635
- // function_ref String._bridgeToObjectiveC() -> NSString
- %1634 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "GPAViewController.swift":129:35, scope 51 // user: %1635
- %1635 = apply %1634(%1633) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "GPAViewController.swift":129:35, scope 51 // user: %1636
- %1636 = enum $Optional<NSString>, #Optional.some!enumelt.1, %1635 : $NSString, loc "GPAViewController.swift":129:35, scope 51 // user: %1638
- destroy_value %1633 : $String, loc "GPAViewController.swift":129:37, scope 51 // id: %1637
- br bb113(%1636 : $Optional<NSString>), loc "GPAViewController.swift":129:35, scope 51 // id: %1638
- bb112: // Preds: bb110
- %1639 = enum $Optional<NSString>, #Optional.none!enumelt, loc "GPAViewController.swift":129:35, scope 51 // user: %1640
- br bb113(%1639 : $Optional<NSString>), loc "GPAViewController.swift":129:35, scope 51 // id: %1640
- // %1641 // users: %1643, %1642
- bb113(%1641 : $Optional<NSString>): // Preds: bb112 bb111
- %1642 = apply %1628(%1641, %1620) : $@convention(objc_method) (Optional<NSString>, UILabel) -> (), loc "GPAViewController.swift":129:35, scope 51
- destroy_value %1641 : $Optional<NSString>, loc "GPAViewController.swift":129:37, scope 51 // id: %1643
- destroy_value %1620 : $UILabel, loc "GPAViewController.swift":129:37, scope 51 // id: %1644
- destroy_addr %1619 : $*UILabel, loc "GPAViewController.swift":129:37, scope 51 // id: %1645
- dealloc_stack %1607 : $*Optional<UILabel>, loc "GPAViewController.swift":129:37, scope 51 // id: %1646
- %1647 = alloc_stack $Optional<UILabel>, loc "GPAViewController.swift":130:13, scope 51 // users: %1686, %1659, %1651, %1650
- %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
- %1649 = apply %1648(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":130:13, scope 51 // user: %1650
- store %1649 to [init] %1647 : $*Optional<UILabel>, loc "GPAViewController.swift":130:13, scope 51 // id: %1650
- switch_enum_addr %1647 : $*Optional<UILabel>, case #Optional.none!enumelt: bb114, default bb115, loc "GPAViewController.swift":130:13, scope 51 // id: %1651
- bb114: // Preds: bb113
- %1652 = string_literal utf8 "GPAViewController.swift", loc "GPAViewController.swift":130:13, scope 51 // user: %1657
- %1653 = integer_literal $Builtin.Word, 23, loc "GPAViewController.swift":130:13, scope 51 // user: %1657
- %1654 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":130:13, scope 51 // user: %1657
- %1655 = integer_literal $Builtin.Word, 130, loc "GPAViewController.swift":130:13, scope 51 // user: %1657
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %1657 = apply %1656(%1652, %1653, %1654, %1655) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":130:13, scope 51
- unreachable , loc "GPAViewController.swift":130:13, scope 51 // id: %1658
- bb115: // Preds: bb113
- %1659 = unchecked_take_enum_data_addr %1647 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "GPAViewController.swift":130:13, scope 51 // users: %1685, %1660
- %1660 = load [copy] %1659 : $*UILabel, loc "GPAViewController.swift":130:13, scope 51 // users: %1684, %1682, %1668
- %1661 = string_literal utf8 "", loc "GPAViewController.swift":130:37, scope 51 // user: %1666
- %1662 = integer_literal $Builtin.Word, 0, loc "GPAViewController.swift":130:37, scope 51 // user: %1666
- %1663 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":130:37, scope 51 // user: %1666
- %1664 = metatype $@thin String.Type, loc "GPAViewController.swift":130:37, scope 51 // user: %1666
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- %1667 = enum $Optional<String>, #Optional.some!enumelt.1, %1666 : $String, loc "GPAViewController.swift":130:37, scope 51 // users: %1673, %1671
- %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
- %1669 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":130:35, scope 51 // user: %1671
- %1670 = integer_literal $Builtin.Int1, 0, loc "GPAViewController.swift":130:35, scope 51 // user: %1671
- %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
- cond_br %1671, bb116, bb117, loc "GPAViewController.swift":130:35, scope 51 // id: %1672
- bb116: // Preds: bb115
- %1673 = unchecked_enum_data %1667 : $Optional<String>, #Optional.some!enumelt.1, loc "GPAViewController.swift":130:35, scope 51 // users: %1677, %1675
- // function_ref String._bridgeToObjectiveC() -> NSString
- %1674 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "GPAViewController.swift":130:35, scope 51 // user: %1675
- %1675 = apply %1674(%1673) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "GPAViewController.swift":130:35, scope 51 // user: %1676
- %1676 = enum $Optional<NSString>, #Optional.some!enumelt.1, %1675 : $NSString, loc "GPAViewController.swift":130:35, scope 51 // user: %1678
- destroy_value %1673 : $String, loc "GPAViewController.swift":130:37, scope 51 // id: %1677
- br bb118(%1676 : $Optional<NSString>), loc "GPAViewController.swift":130:35, scope 51 // id: %1678
- bb117: // Preds: bb115
- %1679 = enum $Optional<NSString>, #Optional.none!enumelt, loc "GPAViewController.swift":130:35, scope 51 // user: %1680
- br bb118(%1679 : $Optional<NSString>), loc "GPAViewController.swift":130:35, scope 51 // id: %1680
- // %1681 // users: %1683, %1682
- bb118(%1681 : $Optional<NSString>): // Preds: bb117 bb116
- %1682 = apply %1668(%1681, %1660) : $@convention(objc_method) (Optional<NSString>, UILabel) -> (), loc "GPAViewController.swift":130:35, scope 51
- destroy_value %1681 : $Optional<NSString>, loc "GPAViewController.swift":130:37, scope 51 // id: %1683
- destroy_value %1660 : $UILabel, loc "GPAViewController.swift":130:37, scope 51 // id: %1684
- destroy_addr %1659 : $*UILabel, loc "GPAViewController.swift":130:37, scope 51 // id: %1685
- dealloc_stack %1647 : $*Optional<UILabel>, loc "GPAViewController.swift":130:37, scope 51 // id: %1686
- %1687 = alloc_stack $Optional<UILabel>, loc "GPAViewController.swift":131:13, scope 51 // users: %1726, %1699, %1691, %1690
- %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
- %1689 = apply %1688(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":131:13, scope 51 // user: %1690
- store %1689 to [init] %1687 : $*Optional<UILabel>, loc "GPAViewController.swift":131:13, scope 51 // id: %1690
- switch_enum_addr %1687 : $*Optional<UILabel>, case #Optional.none!enumelt: bb119, default bb120, loc "GPAViewController.swift":131:13, scope 51 // id: %1691
- bb119: // Preds: bb118
- %1692 = string_literal utf8 "GPAViewController.swift", loc "GPAViewController.swift":131:13, scope 51 // user: %1697
- %1693 = integer_literal $Builtin.Word, 23, loc "GPAViewController.swift":131:13, scope 51 // user: %1697
- %1694 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":131:13, scope 51 // user: %1697
- %1695 = integer_literal $Builtin.Word, 131, loc "GPAViewController.swift":131:13, scope 51 // user: %1697
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %1697 = apply %1696(%1692, %1693, %1694, %1695) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":131:13, scope 51
- unreachable , loc "GPAViewController.swift":131:13, scope 51 // id: %1698
- bb120: // Preds: bb118
- %1699 = unchecked_take_enum_data_addr %1687 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "GPAViewController.swift":131:13, scope 51 // users: %1725, %1700
- %1700 = load [copy] %1699 : $*UILabel, loc "GPAViewController.swift":131:13, scope 51 // users: %1724, %1722, %1708
- %1701 = string_literal utf8 "", loc "GPAViewController.swift":131:37, scope 51 // user: %1706
- %1702 = integer_literal $Builtin.Word, 0, loc "GPAViewController.swift":131:37, scope 51 // user: %1706
- %1703 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":131:37, scope 51 // user: %1706
- %1704 = metatype $@thin String.Type, loc "GPAViewController.swift":131:37, scope 51 // user: %1706
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- %1707 = enum $Optional<String>, #Optional.some!enumelt.1, %1706 : $String, loc "GPAViewController.swift":131:37, scope 51 // users: %1713, %1711
- %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
- %1709 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":131:35, scope 51 // user: %1711
- %1710 = integer_literal $Builtin.Int1, 0, loc "GPAViewController.swift":131:35, scope 51 // user: %1711
- %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
- cond_br %1711, bb121, bb122, loc "GPAViewController.swift":131:35, scope 51 // id: %1712
- bb121: // Preds: bb120
- %1713 = unchecked_enum_data %1707 : $Optional<String>, #Optional.some!enumelt.1, loc "GPAViewController.swift":131:35, scope 51 // users: %1717, %1715
- // function_ref String._bridgeToObjectiveC() -> NSString
- %1714 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "GPAViewController.swift":131:35, scope 51 // user: %1715
- %1715 = apply %1714(%1713) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "GPAViewController.swift":131:35, scope 51 // user: %1716
- %1716 = enum $Optional<NSString>, #Optional.some!enumelt.1, %1715 : $NSString, loc "GPAViewController.swift":131:35, scope 51 // user: %1718
- destroy_value %1713 : $String, loc "GPAViewController.swift":131:37, scope 51 // id: %1717
- br bb123(%1716 : $Optional<NSString>), loc "GPAViewController.swift":131:35, scope 51 // id: %1718
- bb122: // Preds: bb120
- %1719 = enum $Optional<NSString>, #Optional.none!enumelt, loc "GPAViewController.swift":131:35, scope 51 // user: %1720
- br bb123(%1719 : $Optional<NSString>), loc "GPAViewController.swift":131:35, scope 51 // id: %1720
- // %1721 // users: %1723, %1722
- bb123(%1721 : $Optional<NSString>): // Preds: bb122 bb121
- %1722 = apply %1708(%1721, %1700) : $@convention(objc_method) (Optional<NSString>, UILabel) -> (), loc "GPAViewController.swift":131:35, scope 51
- destroy_value %1721 : $Optional<NSString>, loc "GPAViewController.swift":131:37, scope 51 // id: %1723
- destroy_value %1700 : $UILabel, loc "GPAViewController.swift":131:37, scope 51 // id: %1724
- destroy_addr %1699 : $*UILabel, loc "GPAViewController.swift":131:37, scope 51 // id: %1725
- dealloc_stack %1687 : $*Optional<UILabel>, loc "GPAViewController.swift":131:37, scope 51 // id: %1726
- destroy_value %249 : ${ var String }, loc "GPAViewController.swift":137:5, scope 51 // id: %1727
- destroy_value %242 : ${ var Double }, loc "GPAViewController.swift":137:5, scope 51 // id: %1728
- destroy_value %28 : ${ var Double }, loc "GPAViewController.swift":137:5, scope 51 // id: %1729
- destroy_value %21 : ${ var Double }, loc "GPAViewController.swift":137:5, scope 51 // id: %1730
- destroy_value %14 : ${ var Double }, loc "GPAViewController.swift":137:5, scope 51 // id: %1731
- br bb140, loc "GPAViewController.swift":132:13, scope 51 // id: %1732
- bb124: // Preds: bb4 bb3
- // function_ref print([Any], separator : String, terminator : String) -> ()
- %1733 = function_ref @_TFs5printFTGSaP__9separatorSS10terminatorSS_T_ : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> (), loc "GPAViewController.swift":46:13, scope 52 // user: %1752
- %1734 = integer_literal $Builtin.Word, 1, loc "GPAViewController.swift":46:19, scope 52 // user: %1736
- // function_ref _allocateUninitializedArray<A> (Builtin.Word) -> ([A], Builtin.RawPointer)
- %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
- %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
- %1737 = tuple_extract %1736 : $(Array<Any>, Builtin.RawPointer), 0, loc "GPAViewController.swift":46:19, scope 52 // user: %1752
- %1738 = tuple_extract %1736 : $(Array<Any>, Builtin.RawPointer), 1, loc "GPAViewController.swift":46:19, scope 52 // user: %1739
- %1739 = pointer_to_address %1738 : $Builtin.RawPointer to [strict] $*Any, loc "GPAViewController.swift":46:19, scope 52 // user: %1740
- %1740 = init_existential_addr %1739 : $*Any, $String, loc "GPAViewController.swift":46:19, scope 52 // user: %1747
- %1741 = string_literal utf8 "Division by zero in GPA calculation.", loc "GPAViewController.swift":46:19, scope 52 // user: %1746
- %1742 = integer_literal $Builtin.Word, 36, loc "GPAViewController.swift":46:19, scope 52 // user: %1746
- %1743 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":46:19, scope 52 // user: %1746
- %1744 = metatype $@thin String.Type, loc "GPAViewController.swift":46:19, scope 52 // user: %1746
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- store %1746 to [init] %1740 : $*String, loc "GPAViewController.swift":46:19, scope 52 // id: %1747
- // function_ref (print([Any], separator : String, terminator : String) -> ()).(default argument 1)
- %1748 = function_ref @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A0_ : $@convention(thin) () -> @owned String, loc "GPAViewController.swift":46:19, scope 52 // user: %1749
- %1749 = apply %1748() : $@convention(thin) () -> @owned String, loc "GPAViewController.swift":46:19, scope 52 // user: %1752
- // function_ref (print([Any], separator : String, terminator : String) -> ()).(default argument 2)
- %1750 = function_ref @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A1_ : $@convention(thin) () -> @owned String, loc "GPAViewController.swift":46:19, scope 52 // user: %1751
- %1751 = apply %1750() : $@convention(thin) () -> @owned String, loc "GPAViewController.swift":46:19, scope 52 // user: %1752
- %1752 = apply %1733(%1737, %1749, %1751) : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> (), loc "GPAViewController.swift":46:57, scope 52
- %1753 = alloc_stack $Optional<UILabel>, loc "GPAViewController.swift":48:13, scope 52 // users: %1792, %1765, %1757, %1756
- %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
- %1755 = apply %1754(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":48:13, scope 52 // user: %1756
- store %1755 to [init] %1753 : $*Optional<UILabel>, loc "GPAViewController.swift":48:13, scope 52 // id: %1756
- switch_enum_addr %1753 : $*Optional<UILabel>, case #Optional.none!enumelt: bb125, default bb126, loc "GPAViewController.swift":48:13, scope 52 // id: %1757
- bb125: // Preds: bb124
- %1758 = string_literal utf8 "GPAViewController.swift", loc "GPAViewController.swift":48:13, scope 52 // user: %1763
- %1759 = integer_literal $Builtin.Word, 23, loc "GPAViewController.swift":48:13, scope 52 // user: %1763
- %1760 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":48:13, scope 52 // user: %1763
- %1761 = integer_literal $Builtin.Word, 48, loc "GPAViewController.swift":48:13, scope 52 // user: %1763
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %1763 = apply %1762(%1758, %1759, %1760, %1761) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":48:13, scope 52
- unreachable , loc "GPAViewController.swift":48:13, scope 52 // id: %1764
- bb126: // Preds: bb124
- %1765 = unchecked_take_enum_data_addr %1753 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "GPAViewController.swift":48:13, scope 52 // users: %1791, %1766
- %1766 = load [copy] %1765 : $*UILabel, loc "GPAViewController.swift":48:13, scope 52 // users: %1790, %1788, %1774
- %1767 = string_literal utf8 "", loc "GPAViewController.swift":48:37, scope 52 // user: %1772
- %1768 = integer_literal $Builtin.Word, 0, loc "GPAViewController.swift":48:37, scope 52 // user: %1772
- %1769 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":48:37, scope 52 // user: %1772
- %1770 = metatype $@thin String.Type, loc "GPAViewController.swift":48:37, scope 52 // user: %1772
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- %1773 = enum $Optional<String>, #Optional.some!enumelt.1, %1772 : $String, loc "GPAViewController.swift":48:37, scope 52 // users: %1779, %1777
- %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
- %1775 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":48:35, scope 52 // user: %1777
- %1776 = integer_literal $Builtin.Int1, 0, loc "GPAViewController.swift":48:35, scope 52 // user: %1777
- %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
- cond_br %1777, bb127, bb128, loc "GPAViewController.swift":48:35, scope 52 // id: %1778
- bb127: // Preds: bb126
- %1779 = unchecked_enum_data %1773 : $Optional<String>, #Optional.some!enumelt.1, loc "GPAViewController.swift":48:35, scope 52 // users: %1783, %1781
- // function_ref String._bridgeToObjectiveC() -> NSString
- %1780 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "GPAViewController.swift":48:35, scope 52 // user: %1781
- %1781 = apply %1780(%1779) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "GPAViewController.swift":48:35, scope 52 // user: %1782
- %1782 = enum $Optional<NSString>, #Optional.some!enumelt.1, %1781 : $NSString, loc "GPAViewController.swift":48:35, scope 52 // user: %1784
- destroy_value %1779 : $String, loc "GPAViewController.swift":48:37, scope 52 // id: %1783
- br bb129(%1782 : $Optional<NSString>), loc "GPAViewController.swift":48:35, scope 52 // id: %1784
- bb128: // Preds: bb126
- %1785 = enum $Optional<NSString>, #Optional.none!enumelt, loc "GPAViewController.swift":48:35, scope 52 // user: %1786
- br bb129(%1785 : $Optional<NSString>), loc "GPAViewController.swift":48:35, scope 52 // id: %1786
- // %1787 // users: %1789, %1788
- bb129(%1787 : $Optional<NSString>): // Preds: bb128 bb127
- %1788 = apply %1774(%1787, %1766) : $@convention(objc_method) (Optional<NSString>, UILabel) -> (), loc "GPAViewController.swift":48:35, scope 52
- destroy_value %1787 : $Optional<NSString>, loc "GPAViewController.swift":48:37, scope 52 // id: %1789
- destroy_value %1766 : $UILabel, loc "GPAViewController.swift":48:37, scope 52 // id: %1790
- destroy_addr %1765 : $*UILabel, loc "GPAViewController.swift":48:37, scope 52 // id: %1791
- dealloc_stack %1753 : $*Optional<UILabel>, loc "GPAViewController.swift":48:37, scope 52 // id: %1792
- %1793 = alloc_stack $Optional<UILabel>, loc "GPAViewController.swift":49:13, scope 52 // users: %1832, %1805, %1797, %1796
- %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
- %1795 = apply %1794(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":49:13, scope 52 // user: %1796
- store %1795 to [init] %1793 : $*Optional<UILabel>, loc "GPAViewController.swift":49:13, scope 52 // id: %1796
- switch_enum_addr %1793 : $*Optional<UILabel>, case #Optional.none!enumelt: bb130, default bb131, loc "GPAViewController.swift":49:13, scope 52 // id: %1797
- bb130: // Preds: bb129
- %1798 = string_literal utf8 "GPAViewController.swift", loc "GPAViewController.swift":49:13, scope 52 // user: %1803
- %1799 = integer_literal $Builtin.Word, 23, loc "GPAViewController.swift":49:13, scope 52 // user: %1803
- %1800 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":49:13, scope 52 // user: %1803
- %1801 = integer_literal $Builtin.Word, 49, loc "GPAViewController.swift":49:13, scope 52 // user: %1803
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %1803 = apply %1802(%1798, %1799, %1800, %1801) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":49:13, scope 52
- unreachable , loc "GPAViewController.swift":49:13, scope 52 // id: %1804
- bb131: // Preds: bb129
- %1805 = unchecked_take_enum_data_addr %1793 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "GPAViewController.swift":49:13, scope 52 // users: %1831, %1806
- %1806 = load [copy] %1805 : $*UILabel, loc "GPAViewController.swift":49:13, scope 52 // users: %1830, %1828, %1814
- %1807 = string_literal utf8 "", loc "GPAViewController.swift":49:37, scope 52 // user: %1812
- %1808 = integer_literal $Builtin.Word, 0, loc "GPAViewController.swift":49:37, scope 52 // user: %1812
- %1809 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":49:37, scope 52 // user: %1812
- %1810 = metatype $@thin String.Type, loc "GPAViewController.swift":49:37, scope 52 // user: %1812
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- %1813 = enum $Optional<String>, #Optional.some!enumelt.1, %1812 : $String, loc "GPAViewController.swift":49:37, scope 52 // users: %1819, %1817
- %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
- %1815 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":49:35, scope 52 // user: %1817
- %1816 = integer_literal $Builtin.Int1, 0, loc "GPAViewController.swift":49:35, scope 52 // user: %1817
- %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
- cond_br %1817, bb132, bb133, loc "GPAViewController.swift":49:35, scope 52 // id: %1818
- bb132: // Preds: bb131
- %1819 = unchecked_enum_data %1813 : $Optional<String>, #Optional.some!enumelt.1, loc "GPAViewController.swift":49:35, scope 52 // users: %1823, %1821
- // function_ref String._bridgeToObjectiveC() -> NSString
- %1820 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "GPAViewController.swift":49:35, scope 52 // user: %1821
- %1821 = apply %1820(%1819) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "GPAViewController.swift":49:35, scope 52 // user: %1822
- %1822 = enum $Optional<NSString>, #Optional.some!enumelt.1, %1821 : $NSString, loc "GPAViewController.swift":49:35, scope 52 // user: %1824
- destroy_value %1819 : $String, loc "GPAViewController.swift":49:37, scope 52 // id: %1823
- br bb134(%1822 : $Optional<NSString>), loc "GPAViewController.swift":49:35, scope 52 // id: %1824
- bb133: // Preds: bb131
- %1825 = enum $Optional<NSString>, #Optional.none!enumelt, loc "GPAViewController.swift":49:35, scope 52 // user: %1826
- br bb134(%1825 : $Optional<NSString>), loc "GPAViewController.swift":49:35, scope 52 // id: %1826
- // %1827 // users: %1829, %1828
- bb134(%1827 : $Optional<NSString>): // Preds: bb133 bb132
- %1828 = apply %1814(%1827, %1806) : $@convention(objc_method) (Optional<NSString>, UILabel) -> (), loc "GPAViewController.swift":49:35, scope 52
- destroy_value %1827 : $Optional<NSString>, loc "GPAViewController.swift":49:37, scope 52 // id: %1829
- destroy_value %1806 : $UILabel, loc "GPAViewController.swift":49:37, scope 52 // id: %1830
- destroy_addr %1805 : $*UILabel, loc "GPAViewController.swift":49:37, scope 52 // id: %1831
- dealloc_stack %1793 : $*Optional<UILabel>, loc "GPAViewController.swift":49:37, scope 52 // id: %1832
- %1833 = alloc_stack $Optional<UILabel>, loc "GPAViewController.swift":50:13, scope 52 // users: %1872, %1845, %1837, %1836
- %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
- %1835 = apply %1834(%1) : $@convention(method) (@guaranteed GPAViewController) -> @owned Optional<UILabel>, loc "GPAViewController.swift":50:13, scope 52 // user: %1836
- store %1835 to [init] %1833 : $*Optional<UILabel>, loc "GPAViewController.swift":50:13, scope 52 // id: %1836
- switch_enum_addr %1833 : $*Optional<UILabel>, case #Optional.none!enumelt: bb135, default bb136, loc "GPAViewController.swift":50:13, scope 52 // id: %1837
- bb135: // Preds: bb134
- %1838 = string_literal utf8 "GPAViewController.swift", loc "GPAViewController.swift":50:13, scope 52 // user: %1843
- %1839 = integer_literal $Builtin.Word, 23, loc "GPAViewController.swift":50:13, scope 52 // user: %1843
- %1840 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":50:13, scope 52 // user: %1843
- %1841 = integer_literal $Builtin.Word, 50, loc "GPAViewController.swift":50:13, scope 52 // user: %1843
- // function_ref _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- %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
- %1843 = apply %1842(%1838, %1839, %1840, %1841) : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> (), loc "GPAViewController.swift":50:13, scope 52
- unreachable , loc "GPAViewController.swift":50:13, scope 52 // id: %1844
- bb136: // Preds: bb134
- %1845 = unchecked_take_enum_data_addr %1833 : $*Optional<UILabel>, #Optional.some!enumelt.1, loc "GPAViewController.swift":50:13, scope 52 // users: %1871, %1846
- %1846 = load [copy] %1845 : $*UILabel, loc "GPAViewController.swift":50:13, scope 52 // users: %1870, %1868, %1854
- %1847 = string_literal utf8 "", loc "GPAViewController.swift":50:37, scope 52 // user: %1852
- %1848 = integer_literal $Builtin.Word, 0, loc "GPAViewController.swift":50:37, scope 52 // user: %1852
- %1849 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":50:37, scope 52 // user: %1852
- %1850 = metatype $@thin String.Type, loc "GPAViewController.swift":50:37, scope 52 // user: %1852
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- %1853 = enum $Optional<String>, #Optional.some!enumelt.1, %1852 : $String, loc "GPAViewController.swift":50:37, scope 52 // users: %1859, %1857
- %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
- %1855 = integer_literal $Builtin.Int1, -1, loc "GPAViewController.swift":50:35, scope 52 // user: %1857
- %1856 = integer_literal $Builtin.Int1, 0, loc "GPAViewController.swift":50:35, scope 52 // user: %1857
- %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
- cond_br %1857, bb137, bb138, loc "GPAViewController.swift":50:35, scope 52 // id: %1858
- bb137: // Preds: bb136
- %1859 = unchecked_enum_data %1853 : $Optional<String>, #Optional.some!enumelt.1, loc "GPAViewController.swift":50:35, scope 52 // users: %1863, %1861
- // function_ref String._bridgeToObjectiveC() -> NSString
- %1860 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "GPAViewController.swift":50:35, scope 52 // user: %1861
- %1861 = apply %1860(%1859) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "GPAViewController.swift":50:35, scope 52 // user: %1862
- %1862 = enum $Optional<NSString>, #Optional.some!enumelt.1, %1861 : $NSString, loc "GPAViewController.swift":50:35, scope 52 // user: %1864
- destroy_value %1859 : $String, loc "GPAViewController.swift":50:37, scope 52 // id: %1863
- br bb139(%1862 : $Optional<NSString>), loc "GPAViewController.swift":50:35, scope 52 // id: %1864
- bb138: // Preds: bb136
- %1865 = enum $Optional<NSString>, #Optional.none!enumelt, loc "GPAViewController.swift":50:35, scope 52 // user: %1866
- br bb139(%1865 : $Optional<NSString>), loc "GPAViewController.swift":50:35, scope 52 // id: %1866
- // %1867 // users: %1869, %1868
- bb139(%1867 : $Optional<NSString>): // Preds: bb138 bb137
- %1868 = apply %1854(%1867, %1846) : $@convention(objc_method) (Optional<NSString>, UILabel) -> (), loc "GPAViewController.swift":50:35, scope 52
- destroy_value %1867 : $Optional<NSString>, loc "GPAViewController.swift":50:37, scope 52 // id: %1869
- destroy_value %1846 : $UILabel, loc "GPAViewController.swift":50:37, scope 52 // id: %1870
- destroy_addr %1845 : $*UILabel, loc "GPAViewController.swift":50:37, scope 52 // id: %1871
- dealloc_stack %1833 : $*Optional<UILabel>, loc "GPAViewController.swift":50:37, scope 52 // id: %1872
- destroy_value %28 : ${ var Double }, loc "GPAViewController.swift":137:5, scope 52 // id: %1873
- destroy_value %21 : ${ var Double }, loc "GPAViewController.swift":137:5, scope 52 // id: %1874
- destroy_value %14 : ${ var Double }, loc "GPAViewController.swift":137:5, scope 52 // id: %1875
- br bb140, loc "GPAViewController.swift":51:13, scope 52 // id: %1876
- bb140: // Preds: bb107 bb123 bb139
- %1877 = tuple (), loc "GPAViewController.swift":137:5, scope 23 // user: %1878
- return %1877 : $(), loc "GPAViewController.swift":137:5, scope 23 // id: %1878
- } // end sil function '_TFC3gpa17GPAViewController14viewWillAppearfSbT_'
- // _convertBoolToObjCBool(Bool) -> ObjCBool
- sil @_TF10ObjectiveC22_convertBoolToObjCBoolFSbVS_8ObjCBool : $@convention(thin) (Bool) -> ObjCBool
- // static Information.initializeArray() -> ()
- sil hidden_external @_TZFC3gpa11Information15initializeArrayfT_T_ : $@convention(method) (@thick Information.Type) -> ()
- // Double.init(_builtinFloatLiteral : Builtin.Float64) -> Double
- sil [transparent] [fragile] @_TFSdCfT20_builtinFloatLiteralBf64__Sd : $@convention(method) (Builtin.FPIEEE64, @thin Double.Type) -> Double
- // Collection<A where ...>.makeIterator() -> IndexingIterator<A>
- 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>
- // Information.classesAndGrades.unsafeMutableAddressor
- sil hidden_external [global_init] @_TFC3gpa11Informationau16classesAndGradesGSaS0__ : $@convention(thin) () -> Builtin.RawPointer
- // IndexingIterator.next() -> A._Element?
- sil @_TFVs16IndexingIterator4nextfT_GSqwx8_Element_ : $@convention(method) <τ_0_0 where τ_0_0 : _IndexableBase> (@inout IndexingIterator<τ_0_0>) -> @out Optional<τ_0_0._Element>
- // += infix(inout Double, Double) -> ()
- sil [transparent] [fragile] @_TFsoi2peFTRSdSd_T_ : $@convention(thin) (@inout Double, Double) -> ()
- // * infix(Double, Double) -> Double
- sil [transparent] [fragile] @_TFsoi1mFTSdSd_Sd : $@convention(thin) (Double, Double) -> Double
- // Double.init(Int) -> Double
- sil [transparent] [fragile] @_TFSdCfSiSd : $@convention(method) (Int, @thin Double.Type) -> Double
- // print([Any], separator : String, terminator : String) -> ()
- sil [noinline] [_semantics "stdlib_binary_only"] @_TFs5printFTGSaP__9separatorSS10terminatorSS_T_ : $@convention(thin) (@owned Array<Any>, @owned String, @owned String) -> ()
- // _allocateUninitializedArray<A> (Builtin.Word) -> ([A], Builtin.RawPointer)
- sil [fragile] [always_inline] @_TFs27_allocateUninitializedArrayurFBwTGSax_Bp_ : $@convention(thin) <τ_0_0> (Builtin.Word) -> (@owned Array<τ_0_0>, Builtin.RawPointer)
- // String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- sil [readonly] [_semantics "string.makeUTF8"] @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String
- // (print([Any], separator : String, terminator : String) -> ()).(default argument 1)
- sil [noinline] [_semantics "stdlib_binary_only"] @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A0_ : $@convention(thin) () -> @owned String
- // (print([Any], separator : String, terminator : String) -> ()).(default argument 2)
- sil [noinline] [_semantics "stdlib_binary_only"] @_TIFs5printFTGSaP__9separatorSS10terminatorSS_T_A1_ : $@convention(thin) () -> @owned String
- // _diagnoseUnexpectedNilOptional(_filenameStart : Builtin.RawPointer, _filenameLength : Builtin.Word, _filenameIsASCII : Builtin.Int1, _line : Builtin.Word) -> ()
- sil [transparent] [fragile] @_TFs30_diagnoseUnexpectedNilOptionalFT14_filenameStartBp15_filenameLengthBw16_filenameIsASCIIBi1_5_lineBw_T_ : $@convention(thin) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, Builtin.Word) -> ()
- // String._bridgeToObjectiveC() -> NSString
- sil [_semantics "convertToObjectiveC"] @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString
- // Bool._getBuiltinLogicValue() -> Builtin.Int1
- sil [transparent] [fragile] @_TFSb21_getBuiltinLogicValuefT_Bi1_ : $@convention(method) (Bool) -> Builtin.Int1
- // != infix<A where ...> (A, A) -> Bool
- sil @_TFsoi2neuRxs9EquatablerFTxx_Sb : $@convention(thin) <τ_0_0 where τ_0_0 : Equatable> (@in τ_0_0, @in τ_0_0) -> Bool
- // Double.init(_builtinIntegerLiteral : Builtin.Int2048) -> Double
- sil [transparent] [fragile] @_TFSdCfT22_builtinIntegerLiteralBi2048__Sd : $@convention(method) (Builtin.Int2048, @thin Double.Type) -> Double
- // != infix(Int, Int) -> Bool
- sil [transparent] [fragile] @_TFsoi2neFTSiSi_Sb : $@convention(thin) (Int, Int) -> Bool
- // Array.count.getter
- sil @_TFSag5countSi : $@convention(method) <τ_0_0> (@guaranteed Array<τ_0_0>) -> Int
- // Int.init(_builtinIntegerLiteral : Builtin.Int2048) -> Int
- sil [transparent] [fragile] @_TFSiCfT22_builtinIntegerLiteralBi2048__Si : $@convention(method) (Builtin.Int2048, @thin Int.Type) -> Int
- // / infix(Double, Double) -> Double
- sil [transparent] [fragile] @_TFsoi1dFTSdSd_Sd : $@convention(thin) (Double, Double) -> Double
- // FloatingPoint.rounded() -> A
- sil [transparent] [fragile] @_TFEsPs13FloatingPoint7roundedfT_x : $@convention(method) <τ_0_0 where τ_0_0 : FloatingPoint> (@in_guaranteed τ_0_0) -> @out τ_0_0
- // String.init(stringInterpolation : [String]...) -> String
- sil [readonly] @_TFSSCft19stringInterpolationGSaSS__SS : $@convention(method) (@owned Array<String>, @thin String.Type) -> @owned String
- // String.init(stringInterpolationSegment : String) -> String
- sil @_TFSSCfT26stringInterpolationSegmentSS_SS : $@convention(method) (@owned String, @thin String.Type) -> @owned String
- // String.init(stringInterpolationSegment : Double) -> String
- sil @_TFSSCfT26stringInterpolationSegmentSd_SS : $@convention(method) (Double, @thin String.Type) -> @owned String
- // static Range.~= infix(Range<A>, A) -> Bool
- 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
- // ..< infix<A where ...> (A, A) -> Range<A>
- sil [transparent] [fragile] @_TFsoi3zzluRxs10ComparablerFTxx_GVs5Rangex_ : $@convention(thin) <τ_0_0 where τ_0_0 : Comparable> (@in τ_0_0, @in τ_0_0) -> @out Range<τ_0_0>
- // static ClosedRange.~= infix(ClosedRange<A>, A) -> Bool
- 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
- // ... infix<A where ...> (A, A) -> ClosedRange<A>
- sil [transparent] [fragile] @_TFsoi3zzzuRxs10ComparablerFTxx_GVs11ClosedRangex_ : $@convention(thin) <τ_0_0 where τ_0_0 : Comparable> (@in τ_0_0, @in τ_0_0) -> @out ClosedRange<τ_0_0>
- // static Bool.! prefix(Bool) -> Bool
- sil [transparent] [fragile] @_TZFSbop1nfSbSb : $@convention(method) (Bool, @thin Bool.Type) -> Bool
- // String.isEmpty.getter
- sil @_TFSSg7isEmptySb : $@convention(method) (@guaranteed String) -> Bool
- sil_scope 53 { loc "GPAViewController.swift":31:19 parent @_TToFC3gpa17GPAViewController14viewWillAppearfSbT_ : $@convention(objc_method) (ObjCBool, GPAViewController) -> () }
- // @objc GPAViewController.viewWillAppear(Bool) -> ()
- sil hidden [thunk] @_TToFC3gpa17GPAViewController14viewWillAppearfSbT_ : $@convention(objc_method) (ObjCBool, GPAViewController) -> () {
- // %0 // user: %4
- // %1 // user: %2
- bb0(%0 : $ObjCBool, %1 : $GPAViewController):
- %2 = copy_value %1 : $GPAViewController, scope 53 // users: %7, %6
- // function_ref _convertObjCBoolToBool(ObjCBool) -> Bool
- %3 = function_ref @_TF10ObjectiveC22_convertObjCBoolToBoolFVS_8ObjCBoolSb : $@convention(thin) (ObjCBool) -> Bool, scope 53 // user: %4
- %4 = apply %3(%0) : $@convention(thin) (ObjCBool) -> Bool, scope 53 // user: %6
- // function_ref GPAViewController.viewWillAppear(Bool) -> ()
- %5 = function_ref @_TFC3gpa17GPAViewController14viewWillAppearfSbT_ : $@convention(method) (Bool, @guaranteed GPAViewController) -> (), scope 53 // user: %6
- %6 = apply %5(%4, %2) : $@convention(method) (Bool, @guaranteed GPAViewController) -> (), scope 53 // user: %8
- destroy_value %2 : $GPAViewController, scope 53 // id: %7
- return %6 : $(), scope 53 // id: %8
- } // end sil function '_TToFC3gpa17GPAViewController14viewWillAppearfSbT_'
- // _convertObjCBoolToBool(ObjCBool) -> Bool
- sil @_TF10ObjectiveC22_convertObjCBoolToBoolFVS_8ObjCBoolSb : $@convention(thin) (ObjCBool) -> Bool
- sil_scope 54 { loc "GPAViewController.swift":139:19 parent @_TFC3gpa17GPAViewController11viewDidLoadfT_T_ : $@convention(method) (@guaranteed GPAViewController) -> () }
- sil_scope 55 { loc "GPAViewController.swift":141:5 parent 54 }
- // GPAViewController.viewDidLoad() -> ()
- sil hidden @_TFC3gpa17GPAViewController11viewDidLoadfT_T_ : $@convention(method) (@guaranteed GPAViewController) -> () {
- // %0 // users: %2, %1
- bb0(%0 : $GPAViewController):
- debug_value %0 : $GPAViewController, let, name "self", argno 1, loc "GPAViewController.swift":139:19, scope 54 // id: %1
- %2 = copy_value %0 : $GPAViewController, loc "GPAViewController.swift":140:9, scope 55 // users: %6, %4, %3
- %3 = upcast %2 : $GPAViewController to $UIViewController, loc "GPAViewController.swift":140:9, scope 55 // user: %5
- %4 = super_method [volatile] %2 : $GPAViewController, #UIViewController.viewDidLoad!1.foreign : (UIViewController) -> () -> () , $@convention(objc_method) (UIViewController) -> (), loc "GPAViewController.swift":140:15, scope 55 // user: %5
- %5 = apply %4(%3) : $@convention(objc_method) (UIViewController) -> (), loc "GPAViewController.swift":140:27, scope 55
- destroy_value %2 : $GPAViewController, loc "GPAViewController.swift":140:27, scope 55 // id: %6
- %7 = tuple (), loc "GPAViewController.swift":141:5, scope 55 // user: %8
- return %7 : $(), loc "GPAViewController.swift":141:5, scope 55 // id: %8
- } // end sil function '_TFC3gpa17GPAViewController11viewDidLoadfT_T_'
- sil_scope 56 { loc "GPAViewController.swift":139:19 parent @_TToFC3gpa17GPAViewController11viewDidLoadfT_T_ : $@convention(objc_method) (GPAViewController) -> () }
- // @objc GPAViewController.viewDidLoad() -> ()
- sil hidden [thunk] @_TToFC3gpa17GPAViewController11viewDidLoadfT_T_ : $@convention(objc_method) (GPAViewController) -> () {
- // %0 // user: %1
- bb0(%0 : $GPAViewController):
- %1 = copy_value %0 : $GPAViewController, scope 56 // users: %4, %3
- // function_ref GPAViewController.viewDidLoad() -> ()
- %2 = function_ref @_TFC3gpa17GPAViewController11viewDidLoadfT_T_ : $@convention(method) (@guaranteed GPAViewController) -> (), scope 56 // user: %3
- %3 = apply %2(%1) : $@convention(method) (@guaranteed GPAViewController) -> (), scope 56 // user: %5
- destroy_value %1 : $GPAViewController, scope 56 // id: %4
- return %3 : $(), scope 56 // id: %5
- } // end sil function '_TToFC3gpa17GPAViewController11viewDidLoadfT_T_'
- sil_scope 57 { loc "GPAViewController.swift":143:19 parent @_TFC3gpa17GPAViewController23didReceiveMemoryWarningfT_T_ : $@convention(method) (@guaranteed GPAViewController) -> () }
- sil_scope 58 { loc "GPAViewController.swift":146:5 parent 57 }
- // GPAViewController.didReceiveMemoryWarning() -> ()
- sil hidden @_TFC3gpa17GPAViewController23didReceiveMemoryWarningfT_T_ : $@convention(method) (@guaranteed GPAViewController) -> () {
- // %0 // users: %2, %1
- bb0(%0 : $GPAViewController):
- debug_value %0 : $GPAViewController, let, name "self", argno 1, loc "GPAViewController.swift":143:19, scope 57 // id: %1
- %2 = copy_value %0 : $GPAViewController, loc "GPAViewController.swift":144:9, scope 58 // users: %6, %4, %3
- %3 = upcast %2 : $GPAViewController to $UIViewController, loc "GPAViewController.swift":144:9, scope 58 // user: %5
- %4 = super_method [volatile] %2 : $GPAViewController, #UIViewController.didReceiveMemoryWarning!1.foreign : (UIViewController) -> () -> () , $@convention(objc_method) (UIViewController) -> (), loc "GPAViewController.swift":144:15, scope 58 // user: %5
- %5 = apply %4(%3) : $@convention(objc_method) (UIViewController) -> (), loc "GPAViewController.swift":144:39, scope 58
- destroy_value %2 : $GPAViewController, loc "GPAViewController.swift":144:39, scope 58 // id: %6
- %7 = tuple (), loc "GPAViewController.swift":146:5, scope 58 // user: %8
- return %7 : $(), loc "GPAViewController.swift":146:5, scope 58 // id: %8
- } // end sil function '_TFC3gpa17GPAViewController23didReceiveMemoryWarningfT_T_'
- sil_scope 59 { loc "GPAViewController.swift":143:19 parent @_TToFC3gpa17GPAViewController23didReceiveMemoryWarningfT_T_ : $@convention(objc_method) (GPAViewController) -> () }
- // @objc GPAViewController.didReceiveMemoryWarning() -> ()
- sil hidden [thunk] @_TToFC3gpa17GPAViewController23didReceiveMemoryWarningfT_T_ : $@convention(objc_method) (GPAViewController) -> () {
- // %0 // user: %1
- bb0(%0 : $GPAViewController):
- %1 = copy_value %0 : $GPAViewController, scope 59 // users: %4, %3
- // function_ref GPAViewController.didReceiveMemoryWarning() -> ()
- %2 = function_ref @_TFC3gpa17GPAViewController23didReceiveMemoryWarningfT_T_ : $@convention(method) (@guaranteed GPAViewController) -> (), scope 59 // user: %3
- %3 = apply %2(%1) : $@convention(method) (@guaranteed GPAViewController) -> (), scope 59 // user: %5
- destroy_value %1 : $GPAViewController, scope 59 // id: %4
- return %3 : $(), scope 59 // id: %5
- } // end sil function '_TToFC3gpa17GPAViewController23didReceiveMemoryWarningfT_T_'
- sil_scope 60 { loc "GPAViewController.swift":25:7 parent @_TFC3gpa17GPAViewControllerD : $@convention(method) (@owned GPAViewController) -> () }
- sil_scope 61 { loc "GPAViewController.swift":25:7 parent 60 }
- // GPAViewController.__deallocating_deinit
- sil hidden @_TFC3gpa17GPAViewControllerD : $@convention(method) (@owned GPAViewController) -> () {
- // %0 // users: %3, %2, %1
- bb0(%0 : $GPAViewController):
- debug_value %0 : $GPAViewController, let, name "self", argno 1, loc "GPAViewController.swift":25:7, scope 60 // id: %1
- %2 = super_method %0 : $GPAViewController, #UIViewController.deinit!deallocator.foreign : (UIViewController) -> () -> () , $@convention(objc_method) (UIViewController) -> (), scope 61 // user: %4
- %3 = upcast %0 : $GPAViewController to $UIViewController, scope 61 // user: %4
- %4 = apply %2(%3) : $@convention(objc_method) (UIViewController) -> (), scope 61
- %5 = tuple (), scope 61 // user: %6
- return %5 : $(), scope 61 // id: %6
- } // end sil function '_TFC3gpa17GPAViewControllerD'
- sil_scope 62 { loc "GPAViewController.swift":25:7 parent @_TToFC3gpa17GPAViewControllerE : $@convention(objc_method) (GPAViewController) -> () }
- // @objc GPAViewController.__ivar_destroyer
- sil hidden @_TToFC3gpa17GPAViewControllerE : $@convention(objc_method) (GPAViewController) -> () {
- // %0 // users: %6, %4, %2, %1
- bb0(%0 : $GPAViewController):
- debug_value %0 : $GPAViewController, let, name "self", argno 1, loc "GPAViewController.swift":25:7, scope 62 // id: %1
- %2 = ref_element_addr %0 : $GPAViewController, #GPAViewController.westlakeGPALabel, scope 62 // user: %3
- destroy_addr %2 : $*Optional<UILabel>, scope 62 // id: %3
- %4 = ref_element_addr %0 : $GPAViewController, #GPAViewController.standardGPALabel, scope 62 // user: %5
- destroy_addr %4 : $*Optional<UILabel>, scope 62 // id: %5
- %6 = ref_element_addr %0 : $GPAViewController, #GPAViewController.letterGradeLabel, scope 62 // user: %7
- destroy_addr %6 : $*Optional<UILabel>, scope 62 // id: %7
- %8 = tuple (), scope 62 // user: %9
- return %8 : $(), scope 62 // id: %9
- } // end sil function '_TToFC3gpa17GPAViewControllerE'
- sil_scope 63 { loc "GPAViewController.swift":27:19 parent @_TFC3gpa17GPAViewControllerm16westlakeGPALabelGSQCSo7UILabel_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed GPAViewController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) }
- // GPAViewController.westlakeGPALabel.materializeForSet
- sil hidden @_TFC3gpa17GPAViewControllerm16westlakeGPALabelGSQCSo7UILabel_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed GPAViewController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) {
- // %2 // user: %3
- bb0(%0 : $Builtin.RawPointer, %1 : $*Builtin.UnsafeValueBuffer, %2 : $GPAViewController):
- %3 = ref_element_addr %2 : $GPAViewController, #GPAViewController.westlakeGPALabel, scope 63 // user: %4
- %4 = address_to_pointer %3 : $*Optional<UILabel> to $Builtin.RawPointer, scope 63 // user: %6
- %5 = enum $Optional<Builtin.RawPointer>, #Optional.none!enumelt, scope 63 // user: %6
- %6 = tuple (%4 : $Builtin.RawPointer, %5 : $Optional<Builtin.RawPointer>), scope 63 // user: %7
- return %6 : $(Builtin.RawPointer, Optional<Builtin.RawPointer>), scope 63 // id: %7
- } // end sil function '_TFC3gpa17GPAViewControllerm16westlakeGPALabelGSQCSo7UILabel_'
- sil_scope 64 { loc "GPAViewController.swift":28:19 parent @_TFC3gpa17GPAViewControllerm16standardGPALabelGSQCSo7UILabel_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed GPAViewController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) }
- // GPAViewController.standardGPALabel.materializeForSet
- sil hidden @_TFC3gpa17GPAViewControllerm16standardGPALabelGSQCSo7UILabel_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed GPAViewController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) {
- // %2 // user: %3
- bb0(%0 : $Builtin.RawPointer, %1 : $*Builtin.UnsafeValueBuffer, %2 : $GPAViewController):
- %3 = ref_element_addr %2 : $GPAViewController, #GPAViewController.standardGPALabel, scope 64 // user: %4
- %4 = address_to_pointer %3 : $*Optional<UILabel> to $Builtin.RawPointer, scope 64 // user: %6
- %5 = enum $Optional<Builtin.RawPointer>, #Optional.none!enumelt, scope 64 // user: %6
- %6 = tuple (%4 : $Builtin.RawPointer, %5 : $Optional<Builtin.RawPointer>), scope 64 // user: %7
- return %6 : $(Builtin.RawPointer, Optional<Builtin.RawPointer>), scope 64 // id: %7
- } // end sil function '_TFC3gpa17GPAViewControllerm16standardGPALabelGSQCSo7UILabel_'
- sil_scope 65 { loc "GPAViewController.swift":29:19 parent @_TFC3gpa17GPAViewControllerm16letterGradeLabelGSQCSo7UILabel_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed GPAViewController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) }
- // GPAViewController.letterGradeLabel.materializeForSet
- sil hidden @_TFC3gpa17GPAViewControllerm16letterGradeLabelGSQCSo7UILabel_ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed GPAViewController) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) {
- // %2 // user: %3
- bb0(%0 : $Builtin.RawPointer, %1 : $*Builtin.UnsafeValueBuffer, %2 : $GPAViewController):
- %3 = ref_element_addr %2 : $GPAViewController, #GPAViewController.letterGradeLabel, scope 65 // user: %4
- %4 = address_to_pointer %3 : $*Optional<UILabel> to $Builtin.RawPointer, scope 65 // user: %6
- %5 = enum $Optional<Builtin.RawPointer>, #Optional.none!enumelt, scope 65 // user: %6
- %6 = tuple (%4 : $Builtin.RawPointer, %5 : $Optional<Builtin.RawPointer>), scope 65 // user: %7
- return %6 : $(Builtin.RawPointer, Optional<Builtin.RawPointer>), scope 65 // id: %7
- } // end sil function '_TFC3gpa17GPAViewControllerm16letterGradeLabelGSQCSo7UILabel_'
- sil_scope 66 { loc "GPAViewController.swift":25:43 parent @_TFC3gpa17GPAViewControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ : $@convention(method) (@owned Optional<String>, @owned Optional<Bundle>, @owned GPAViewController) -> @owned GPAViewController }
- sil_scope 67 { parent 66 }
- // GPAViewController.init(nibName : String?, bundle : Bundle?) -> GPAViewController
- sil hidden @_TFC3gpa17GPAViewControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ : $@convention(method) (@owned Optional<String>, @owned Optional<Bundle>, @owned GPAViewController) -> @owned GPAViewController {
- // %0 // users: %47, %27, %6
- // %1 // users: %46, %41, %7
- // %2 // user: %8
- bb0(%0 : $Optional<String>, %1 : $Optional<Bundle>, %2 : $GPAViewController):
- %3 = alloc_box ${ var GPAViewController }, let, name "self", scope 66 // users: %48, %4
- %4 = project_box %3 : ${ var GPAViewController }, 0, scope 66 // user: %5
- %5 = mark_uninitialized [derivedself] %4 : $*GPAViewController, scope 66 // users: %45, %43, %24, %21, %16, %11, %8
- debug_value %0 : $Optional<String>, let, name "nibNameOrNil", argno 1, scope 66 // id: %6
- debug_value %1 : $Optional<Bundle>, let, name "nibBundleOrNil", argno 2, scope 66 // id: %7
- store %2 to [init] %5 : $*GPAViewController, loc "GPAViewController.swift":25:43, scope 66 // id: %8
- // function_ref GPAViewController.(westlakeGPALabel).(variable initialization expression)
- %9 = function_ref @_TIvC3gpa17GPAViewController16westlakeGPALabelGSQCSo7UILabel_i : $@convention(thin) () -> @owned Optional<UILabel>, scope 66 // user: %10
- %10 = apply %9() : $@convention(thin) () -> @owned Optional<UILabel>, scope 66 // user: %13
- %11 = load_borrow %5 : $*GPAViewController, loc "GPAViewController.swift":27:19, scope 66 // user: %12
- %12 = ref_element_addr %11 : $GPAViewController, #GPAViewController.westlakeGPALabel, loc "GPAViewController.swift":27:19, scope 66 // user: %13
- assign %10 to %12 : $*Optional<UILabel>, loc "GPAViewController.swift":27:19, scope 66 // id: %13
- // function_ref GPAViewController.(standardGPALabel).(variable initialization expression)
- %14 = function_ref @_TIvC3gpa17GPAViewController16standardGPALabelGSQCSo7UILabel_i : $@convention(thin) () -> @owned Optional<UILabel>, scope 66 // user: %15
- %15 = apply %14() : $@convention(thin) () -> @owned Optional<UILabel>, scope 66 // user: %18
- %16 = load_borrow %5 : $*GPAViewController, loc "GPAViewController.swift":28:19, scope 66 // user: %17
- %17 = ref_element_addr %16 : $GPAViewController, #GPAViewController.standardGPALabel, loc "GPAViewController.swift":28:19, scope 66 // user: %18
- assign %15 to %17 : $*Optional<UILabel>, loc "GPAViewController.swift":28:19, scope 66 // id: %18
- // function_ref GPAViewController.(letterGradeLabel).(variable initialization expression)
- %19 = function_ref @_TIvC3gpa17GPAViewController16letterGradeLabelGSQCSo7UILabel_i : $@convention(thin) () -> @owned Optional<UILabel>, scope 66 // user: %20
- %20 = apply %19() : $@convention(thin) () -> @owned Optional<UILabel>, scope 66 // user: %23
- %21 = load_borrow %5 : $*GPAViewController, loc "GPAViewController.swift":29:19, scope 66 // user: %22
- %22 = ref_element_addr %21 : $GPAViewController, #GPAViewController.letterGradeLabel, loc "GPAViewController.swift":29:19, scope 66 // user: %23
- assign %20 to %22 : $*Optional<UILabel>, loc "GPAViewController.swift":29:19, scope 66 // id: %23
- %24 = load_borrow %5 : $*GPAViewController, scope 67 // users: %26, %25
- %25 = upcast %24 : $GPAViewController to $UIViewController, scope 67 // user: %41
- %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
- %27 = copy_value %0 : $Optional<String>, scope 67 // users: %32, %30
- %28 = integer_literal $Builtin.Int1, -1, scope 67 // user: %30
- %29 = integer_literal $Builtin.Int1, 0, scope 67 // user: %30
- %30 = select_enum %27 : $Optional<String>, case #Optional.some!enumelt.1: %28, default %29 : $Builtin.Int1, scope 67 // user: %31
- cond_br %30, bb1, bb2, scope 67 // id: %31
- bb1: // Preds: bb0
- %32 = unchecked_enum_data %27 : $Optional<String>, #Optional.some!enumelt.1, scope 67 // users: %36, %34
- // function_ref String._bridgeToObjectiveC() -> NSString
- %33 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, scope 67 // user: %34
- %34 = apply %33(%32) : $@convention(method) (@guaranteed String) -> @owned NSString, scope 67 // user: %35
- %35 = enum $Optional<NSString>, #Optional.some!enumelt.1, %34 : $NSString, scope 67 // user: %37
- destroy_value %32 : $String, scope 67 // id: %36
- br bb3(%35 : $Optional<NSString>), scope 67 // id: %37
- bb2: // Preds: bb0
- %38 = enum $Optional<NSString>, #Optional.none!enumelt, scope 67 // user: %39
- br bb3(%38 : $Optional<NSString>), scope 67 // id: %39
- // %40 // users: %44, %41
- bb3(%40 : $Optional<NSString>): // Preds: bb2 bb1
- %41 = apply %26(%40, %1, %25) : $@convention(objc_method) (Optional<NSString>, Optional<Bundle>, @owned UIViewController) -> @owned UIViewController, scope 67 // user: %42
- %42 = unchecked_ref_cast %41 : $UIViewController to $GPAViewController, scope 67 // user: %43
- store %42 to [init] %5 : $*GPAViewController, scope 67 // id: %43
- destroy_value %40 : $Optional<NSString>, scope 67 // id: %44
- %45 = load [copy] %5 : $*GPAViewController, loc "GPAViewController.swift":25:43, scope 67 // user: %49
- destroy_value %1 : $Optional<Bundle>, loc "GPAViewController.swift":25:43, scope 67 // id: %46
- destroy_value %0 : $Optional<String>, loc "GPAViewController.swift":25:43, scope 67 // id: %47
- destroy_value %3 : ${ var GPAViewController }, loc "GPAViewController.swift":25:43, scope 67 // id: %48
- return %45 : $GPAViewController, loc "GPAViewController.swift":25:43, scope 67 // id: %49
- } // end sil function '_TFC3gpa17GPAViewControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_'
- 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 }
- // GPAViewController.__allocating_init(nibName : String?, bundle : Bundle?) -> GPAViewController
- sil hidden @_TFC3gpa17GPAViewControllerCfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ : $@convention(method) (@owned Optional<String>, @owned Optional<Bundle>, @thick GPAViewController.Type) -> @owned GPAViewController {
- // %0 // user: %5
- // %1 // user: %5
- bb0(%0 : $Optional<String>, %1 : $Optional<Bundle>, %2 : $@thick GPAViewController.Type):
- %3 = alloc_ref [objc] $GPAViewController, scope 68 // user: %5
- // function_ref GPAViewController.init(nibName : String?, bundle : Bundle?) -> GPAViewController
- %4 = function_ref @_TFC3gpa17GPAViewControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ : $@convention(method) (@owned Optional<String>, @owned Optional<Bundle>, @owned GPAViewController) -> @owned GPAViewController, scope 68 // user: %5
- %5 = apply %4(%0, %1, %3) : $@convention(method) (@owned Optional<String>, @owned Optional<Bundle>, @owned GPAViewController) -> @owned GPAViewController, scope 68 // user: %6
- return %5 : $GPAViewController, scope 68 // id: %6
- } // end sil function '_TFC3gpa17GPAViewControllerCfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_'
- sil_scope 69 { loc "GPAViewController.swift":25:43 parent @_TToFC3gpa17GPAViewControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ : $@convention(objc_method) (Optional<NSString>, Optional<Bundle>, @owned GPAViewController) -> @owned GPAViewController }
- // @objc GPAViewController.init(nibName : String?, bundle : Bundle?) -> GPAViewController
- sil hidden [thunk] @_TToFC3gpa17GPAViewControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ : $@convention(objc_method) (Optional<NSString>, Optional<Bundle>, @owned GPAViewController) -> @owned GPAViewController {
- // %0 // user: %3
- // %1 // user: %4
- // %2 // user: %20
- bb0(%0 : $Optional<NSString>, %1 : $Optional<Bundle>, %2 : $GPAViewController):
- %3 = copy_value %0 : $Optional<NSString>, scope 69 // users: %9, %7
- %4 = copy_value %1 : $Optional<Bundle>, scope 69 // user: %20
- %5 = integer_literal $Builtin.Int1, -1, scope 69 // user: %7
- %6 = integer_literal $Builtin.Int1, 0, scope 69 // user: %7
- %7 = select_enum %3 : $Optional<NSString>, case #Optional.some!enumelt.1: %5, default %6 : $Builtin.Int1, scope 69 // user: %8
- cond_br %7, bb1, bb2, scope 69 // id: %8
- bb1: // Preds: bb0
- %9 = unchecked_enum_data %3 : $Optional<NSString>, #Optional.some!enumelt.1, scope 69 // user: %11
- // function_ref static String._unconditionallyBridgeFromObjectiveC(NSString?) -> String
- %10 = function_ref @_TZFE10FoundationSS36_unconditionallyBridgeFromObjectiveCfGSqCSo8NSString_SS : $@convention(method) (@owned Optional<NSString>, @thin String.Type) -> @owned String, scope 69 // user: %13
- %11 = enum $Optional<NSString>, #Optional.some!enumelt.1, %9 : $NSString, scope 69 // user: %13
- %12 = metatype $@thin String.Type, scope 69 // user: %13
- %13 = apply %10(%11, %12) : $@convention(method) (@owned Optional<NSString>, @thin String.Type) -> @owned String, scope 69 // user: %14
- %14 = enum $Optional<String>, #Optional.some!enumelt.1, %13 : $String, scope 69 // user: %15
- br bb3(%14 : $Optional<String>), scope 69 // id: %15
- bb2: // Preds: bb0
- %16 = enum $Optional<String>, #Optional.none!enumelt, scope 69 // user: %17
- br bb3(%16 : $Optional<String>), scope 69 // id: %17
- // %18 // user: %20
- bb3(%18 : $Optional<String>): // Preds: bb2 bb1
- // function_ref GPAViewController.init(nibName : String?, bundle : Bundle?) -> GPAViewController
- %19 = function_ref @_TFC3gpa17GPAViewControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ : $@convention(method) (@owned Optional<String>, @owned Optional<Bundle>, @owned GPAViewController) -> @owned GPAViewController, scope 69 // user: %20
- %20 = apply %19(%18, %4, %2) : $@convention(method) (@owned Optional<String>, @owned Optional<Bundle>, @owned GPAViewController) -> @owned GPAViewController, scope 69 // user: %21
- return %20 : $GPAViewController, scope 69 // id: %21
- } // end sil function '_TToFC3gpa17GPAViewControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_'
- // static String._unconditionallyBridgeFromObjectiveC(NSString?) -> String
- sil @_TZFE10FoundationSS36_unconditionallyBridgeFromObjectiveCfGSqCSo8NSString_SS : $@convention(method) (@owned Optional<NSString>, @thin String.Type) -> @owned String
- sil_scope 70 { loc "GPAViewController.swift":25:43 parent @_TFC3gpa17GPAViewControllerCfT5coderCSo7NSCoder_GSqS0__ : $@convention(method) (@owned NSCoder, @thick GPAViewController.Type) -> @owned Optional<GPAViewController> }
- // GPAViewController.__allocating_init(coder : NSCoder) -> GPAViewController?
- sil hidden @_TFC3gpa17GPAViewControllerCfT5coderCSo7NSCoder_GSqS0__ : $@convention(method) (@owned NSCoder, @thick GPAViewController.Type) -> @owned Optional<GPAViewController> {
- // %0 // user: %4
- bb0(%0 : $NSCoder, %1 : $@thick GPAViewController.Type):
- %2 = alloc_ref [objc] $GPAViewController, scope 70 // user: %4
- // function_ref GPAViewController.init(coder : NSCoder) -> GPAViewController?
- %3 = function_ref @_TFC3gpa17GPAViewControllercfT5coderCSo7NSCoder_GSqS0__ : $@convention(method) (@owned NSCoder, @owned GPAViewController) -> @owned Optional<GPAViewController>, scope 70 // user: %4
- %4 = apply %3(%0, %2) : $@convention(method) (@owned NSCoder, @owned GPAViewController) -> @owned Optional<GPAViewController>, scope 70 // user: %5
- return %4 : $Optional<GPAViewController>, scope 70 // id: %5
- } // end sil function '_TFC3gpa17GPAViewControllerCfT5coderCSo7NSCoder_GSqS0__'
- sil_scope 71 { loc "GPAViewController.swift":25:43 parent @_TFC3gpa17GPAViewControllercfT5coderCSo7NSCoder_GSqS0__ : $@convention(method) (@owned NSCoder, @owned GPAViewController) -> @owned Optional<GPAViewController> }
- sil_scope 72 { parent 71 }
- // GPAViewController.init(coder : NSCoder) -> GPAViewController?
- sil hidden @_TFC3gpa17GPAViewControllercfT5coderCSo7NSCoder_GSqS0__ : $@convention(method) (@owned NSCoder, @owned GPAViewController) -> @owned Optional<GPAViewController> {
- // %0 // users: %35, %25, %38, %5
- // %1 // user: %6
- bb0(%0 : $NSCoder, %1 : $GPAViewController):
- %2 = alloc_box ${ var GPAViewController }, let, name "self", scope 71 // users: %36, %39, %3
- %3 = project_box %2 : ${ var GPAViewController }, 0, scope 71 // user: %4
- %4 = mark_uninitialized [derivedself] %3 : $*GPAViewController, scope 71 // users: %33, %32, %22, %19, %14, %9, %6
- debug_value %0 : $NSCoder, let, name "aDecoder", argno 1, scope 71 // id: %5
- store %1 to [init] %4 : $*GPAViewController, loc "GPAViewController.swift":25:43, scope 71 // id: %6
- // function_ref GPAViewController.(westlakeGPALabel).(variable initialization expression)
- %7 = function_ref @_TIvC3gpa17GPAViewController16westlakeGPALabelGSQCSo7UILabel_i : $@convention(thin) () -> @owned Optional<UILabel>, scope 71 // user: %8
- %8 = apply %7() : $@convention(thin) () -> @owned Optional<UILabel>, scope 71 // user: %11
- %9 = load_borrow %4 : $*GPAViewController, loc "GPAViewController.swift":27:19, scope 71 // user: %10
- %10 = ref_element_addr %9 : $GPAViewController, #GPAViewController.westlakeGPALabel, loc "GPAViewController.swift":27:19, scope 71 // user: %11
- assign %8 to %10 : $*Optional<UILabel>, loc "GPAViewController.swift":27:19, scope 71 // id: %11
- // function_ref GPAViewController.(standardGPALabel).(variable initialization expression)
- %12 = function_ref @_TIvC3gpa17GPAViewController16standardGPALabelGSQCSo7UILabel_i : $@convention(thin) () -> @owned Optional<UILabel>, scope 71 // user: %13
- %13 = apply %12() : $@convention(thin) () -> @owned Optional<UILabel>, scope 71 // user: %16
- %14 = load_borrow %4 : $*GPAViewController, loc "GPAViewController.swift":28:19, scope 71 // user: %15
- %15 = ref_element_addr %14 : $GPAViewController, #GPAViewController.standardGPALabel, loc "GPAViewController.swift":28:19, scope 71 // user: %16
- assign %13 to %15 : $*Optional<UILabel>, loc "GPAViewController.swift":28:19, scope 71 // id: %16
- // function_ref GPAViewController.(letterGradeLabel).(variable initialization expression)
- %17 = function_ref @_TIvC3gpa17GPAViewController16letterGradeLabelGSQCSo7UILabel_i : $@convention(thin) () -> @owned Optional<UILabel>, scope 71 // user: %18
- %18 = apply %17() : $@convention(thin) () -> @owned Optional<UILabel>, scope 71 // user: %21
- %19 = load_borrow %4 : $*GPAViewController, loc "GPAViewController.swift":29:19, scope 71 // user: %20
- %20 = ref_element_addr %19 : $GPAViewController, #GPAViewController.letterGradeLabel, loc "GPAViewController.swift":29:19, scope 71 // user: %21
- assign %18 to %20 : $*Optional<UILabel>, loc "GPAViewController.swift":29:19, scope 71 // id: %21
- %22 = load_borrow %4 : $*GPAViewController, scope 72 // users: %24, %23
- %23 = upcast %22 : $GPAViewController to $UIViewController, scope 72 // user: %25
- %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
- %25 = apply %24(%0, %23) : $@convention(objc_method) (NSCoder, @owned UIViewController) -> @owned Optional<UIViewController>, scope 72 // users: %30, %28
- %26 = integer_literal $Builtin.Int1, -1, scope 72 // user: %28
- %27 = integer_literal $Builtin.Int1, 0, scope 72 // user: %28
- %28 = select_enum %25 : $Optional<UIViewController>, case #Optional.some!enumelt.1: %26, default %27 : $Builtin.Int1, scope 72 // user: %29
- cond_br %28, bb1, bb2, scope 72 // id: %29
- bb1: // Preds: bb0
- %30 = unchecked_enum_data %25 : $Optional<UIViewController>, #Optional.some!enumelt.1, scope 72 // user: %31
- %31 = unchecked_ref_cast %30 : $UIViewController to $GPAViewController, scope 72 // user: %32
- store %31 to [init] %4 : $*GPAViewController, scope 72 // id: %32
- %33 = load [copy] %4 : $*GPAViewController, loc "GPAViewController.swift":25:43, scope 72 // user: %34
- %34 = enum $Optional<GPAViewController>, #Optional.some!enumelt.1, %33 : $GPAViewController, scope 72 // user: %37
- destroy_value %0 : $NSCoder, loc "GPAViewController.swift":25:43, scope 72 // id: %35
- destroy_value %2 : ${ var GPAViewController }, loc "GPAViewController.swift":25:43, scope 72 // id: %36
- br bb3(%34 : $Optional<GPAViewController>), loc "GPAViewController.swift":25:43, scope 72 // id: %37
- bb2: // Preds: bb0
- destroy_value %0 : $NSCoder, loc "GPAViewController.swift":25:43, scope 71 // id: %38
- destroy_value %2 : ${ var GPAViewController }, loc "GPAViewController.swift":25:43, scope 71 // id: %39
- %40 = enum $Optional<GPAViewController>, #Optional.none!enumelt, scope 71 // user: %41
- br bb3(%40 : $Optional<GPAViewController>), scope 71 // id: %41
- // %42 // user: %43
- bb3(%42 : $Optional<GPAViewController>): // Preds: bb1 bb2
- return %42 : $Optional<GPAViewController>, scope 71 // id: %43
- } // end sil function '_TFC3gpa17GPAViewControllercfT5coderCSo7NSCoder_GSqS0__'
- sil_scope 73 { loc "GPAViewController.swift":25:43 parent @_TToFC3gpa17GPAViewControllercfT5coderCSo7NSCoder_GSqS0__ : $@convention(objc_method) (NSCoder, @owned GPAViewController) -> @owned Optional<GPAViewController> }
- // @objc GPAViewController.init(coder : NSCoder) -> GPAViewController?
- sil hidden [thunk] @_TToFC3gpa17GPAViewControllercfT5coderCSo7NSCoder_GSqS0__ : $@convention(objc_method) (NSCoder, @owned GPAViewController) -> @owned Optional<GPAViewController> {
- // %0 // user: %2
- // %1 // user: %4
- bb0(%0 : $NSCoder, %1 : $GPAViewController):
- %2 = copy_value %0 : $NSCoder, scope 73 // user: %4
- // function_ref GPAViewController.init(coder : NSCoder) -> GPAViewController?
- %3 = function_ref @_TFC3gpa17GPAViewControllercfT5coderCSo7NSCoder_GSqS0__ : $@convention(method) (@owned NSCoder, @owned GPAViewController) -> @owned Optional<GPAViewController>, scope 73 // user: %4
- %4 = apply %3(%2, %1) : $@convention(method) (@owned NSCoder, @owned GPAViewController) -> @owned Optional<GPAViewController>, scope 73 // user: %5
- return %4 : $Optional<GPAViewController>, scope 73 // id: %5
- } // end sil function '_TToFC3gpa17GPAViewControllercfT5coderCSo7NSCoder_GSqS0__'
- sil_vtable GPAViewController {
- #GPAViewController.viewWillAppear!1: _TFC3gpa17GPAViewController14viewWillAppearfSbT_ // GPAViewController.viewWillAppear(Bool) -> ()
- #GPAViewController.viewDidLoad!1: _TFC3gpa17GPAViewController11viewDidLoadfT_T_ // GPAViewController.viewDidLoad() -> ()
- #GPAViewController.didReceiveMemoryWarning!1: _TFC3gpa17GPAViewController23didReceiveMemoryWarningfT_T_ // GPAViewController.didReceiveMemoryWarning() -> ()
- #GPAViewController.deinit!deallocator: _TFC3gpa17GPAViewControllerD // GPAViewController.__deallocating_deinit
- #GPAViewController.westlakeGPALabel!getter.1: _TFC3gpa17GPAViewControllerg16westlakeGPALabelGSQCSo7UILabel_ // GPAViewController.westlakeGPALabel.getter
- #GPAViewController.westlakeGPALabel!setter.1: _TFC3gpa17GPAViewControllers16westlakeGPALabelGSQCSo7UILabel_ // GPAViewController.westlakeGPALabel.setter
- #GPAViewController.westlakeGPALabel!materializeForSet.1: _TFC3gpa17GPAViewControllerm16westlakeGPALabelGSQCSo7UILabel_ // GPAViewController.westlakeGPALabel.materializeForSet
- #GPAViewController.standardGPALabel!getter.1: _TFC3gpa17GPAViewControllerg16standardGPALabelGSQCSo7UILabel_ // GPAViewController.standardGPALabel.getter
- #GPAViewController.standardGPALabel!setter.1: _TFC3gpa17GPAViewControllers16standardGPALabelGSQCSo7UILabel_ // GPAViewController.standardGPALabel.setter
- #GPAViewController.standardGPALabel!materializeForSet.1: _TFC3gpa17GPAViewControllerm16standardGPALabelGSQCSo7UILabel_ // GPAViewController.standardGPALabel.materializeForSet
- #GPAViewController.letterGradeLabel!getter.1: _TFC3gpa17GPAViewControllerg16letterGradeLabelGSQCSo7UILabel_ // GPAViewController.letterGradeLabel.getter
- #GPAViewController.letterGradeLabel!setter.1: _TFC3gpa17GPAViewControllers16letterGradeLabelGSQCSo7UILabel_ // GPAViewController.letterGradeLabel.setter
- #GPAViewController.letterGradeLabel!materializeForSet.1: _TFC3gpa17GPAViewControllerm16letterGradeLabelGSQCSo7UILabel_ // GPAViewController.letterGradeLabel.materializeForSet
- #GPAViewController.init!initializer.1: _TFC3gpa17GPAViewControllercfT7nibNameGSqSS_6bundleGSqCSo6Bundle__S0_ // GPAViewController.init(nibName : String?, bundle : Bundle?) -> GPAViewController
- #GPAViewController.init!allocator.1: _TFC3gpa17GPAViewControllerCfT5coderCSo7NSCoder_GSqS0__ // GPAViewController.__allocating_init(coder : NSCoder) -> GPAViewController?
- #GPAViewController.init!initializer.1: _TFC3gpa17GPAViewControllercfT5coderCSo7NSCoder_GSqS0__ // GPAViewController.init(coder : NSCoder) -> GPAViewController?
- }
- sil_stage raw
- import Builtin
- import Swift
- import SwiftShims
- // globalinit_33_3A5F6B277642AB367D58FE672376E6D6_token0
- sil_global private @globalinit_33_3A5F6B277642AB367D58FE672376E6D6_token0 : $Builtin.Word
- // static Information.classesAndGrades
- sil_global hidden @_TZvC3gpa11Information16classesAndGradesGSaS0__ : $Array<Information>
- // globalinit_33_3A5F6B277642AB367D58FE672376E6D6_token1
- sil_global private @globalinit_33_3A5F6B277642AB367D58FE672376E6D6_token1 : $Builtin.Word
- // static Information.keyValueStore
- sil_global hidden [let] @_TZvC3gpa11Information13keyValueStoreCSo25NSUbiquitousKeyValueStore : $NSUbiquitousKeyValueStore
- sil_scope 1 { loc "Information.swift":27:12 parent @globalinit_33_3A5F6B277642AB367D58FE672376E6D6_func0 : $@convention(thin) () -> () }
- // globalinit_33_3A5F6B277642AB367D58FE672376E6D6_func0
- sil private @globalinit_33_3A5F6B277642AB367D58FE672376E6D6_func0 : $@convention(thin) () -> () {
- bb0:
- alloc_global @_TZvC3gpa11Information16classesAndGradesGSaS0__, loc "Information.swift":27:16, scope 1 // id: %0
- %1 = global_addr @_TZvC3gpa11Information16classesAndGradesGSaS0__ : $*Array<Information>, loc "Information.swift":27:16, scope 1 // user: %5
- // function_ref Array.init() -> [A]
- %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
- %3 = metatype $@thin Array<Information>.Type, loc "Information.swift":27:35, scope 1 // user: %4
- %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
- store %4 to [init] %1 : $*Array<Information>, loc "Information.swift":27:49, scope 1 // id: %5
- %6 = tuple (), loc "Information.swift":27:12, scope 1 // user: %7
- return %6 : $(), loc "Information.swift":27:49, scope 1 // id: %7
- } // end sil function 'globalinit_33_3A5F6B277642AB367D58FE672376E6D6_func0'
- // Array.init() -> [A]
- sil [_semantics "array.init"] @_TFSaCfT_GSax_ : $@convention(method) <τ_0_0> (@thin Array<τ_0_0>.Type) -> @owned Array<τ_0_0>
- sil_scope 2 { loc "Information.swift":27:16 parent @_TFC3gpa11Informationau16classesAndGradesGSaS0__ : $@convention(thin) () -> Builtin.RawPointer }
- // Information.classesAndGrades.unsafeMutableAddressor
- sil hidden [global_init] @_TFC3gpa11Informationau16classesAndGradesGSaS0__ : $@convention(thin) () -> Builtin.RawPointer {
- bb0:
- %0 = global_addr @globalinit_33_3A5F6B277642AB367D58FE672376E6D6_token0 : $*Builtin.Word, loc "Information.swift":27:16, scope 2 // user: %1
- %1 = address_to_pointer %0 : $*Builtin.Word to $Builtin.RawPointer, loc "Information.swift":27:16, scope 2 // user: %3
- // function_ref globalinit_33_3A5F6B277642AB367D58FE672376E6D6_func0
- %2 = function_ref @globalinit_33_3A5F6B277642AB367D58FE672376E6D6_func0 : $@convention(thin) () -> (), loc "Information.swift":27:16, scope 2 // user: %3
- %3 = builtin "once"(%1 : $Builtin.RawPointer, %2 : $@convention(thin) () -> ()) : $(), loc "Information.swift":27:16, scope 2
- %4 = global_addr @_TZvC3gpa11Information16classesAndGradesGSaS0__ : $*Array<Information>, loc "Information.swift":27:16, scope 2 // user: %5
- %5 = address_to_pointer %4 : $*Array<Information> to $Builtin.RawPointer, loc "Information.swift":27:16, scope 2 // user: %6
- return %5 : $Builtin.RawPointer, loc "Information.swift":27:16, scope 2 // id: %6
- } // end sil function '_TFC3gpa11Informationau16classesAndGradesGSaS0__'
- sil_scope 3 { loc "Information.swift":28:12 parent @globalinit_33_3A5F6B277642AB367D58FE672376E6D6_func1 : $@convention(thin) () -> () }
- // globalinit_33_3A5F6B277642AB367D58FE672376E6D6_func1
- sil private @globalinit_33_3A5F6B277642AB367D58FE672376E6D6_func1 : $@convention(thin) () -> () {
- bb0:
- alloc_global @_TZvC3gpa11Information13keyValueStoreCSo25NSUbiquitousKeyValueStore, loc "Information.swift":28:16, scope 3 // id: %0
- %1 = global_addr @_TZvC3gpa11Information13keyValueStoreCSo25NSUbiquitousKeyValueStore : $*NSUbiquitousKeyValueStore, loc "Information.swift":28:16, scope 3 // user: %5
- // function_ref NSUbiquitousKeyValueStore.__allocating_init() -> NSUbiquitousKeyValueStore
- %2 = function_ref @_TFCSo25NSUbiquitousKeyValueStoreCfT_S_ : $@convention(method) (@thick NSUbiquitousKeyValueStore.Type) -> @owned NSUbiquitousKeyValueStore, loc "Information.swift":28:32, scope 3 // user: %4
- %3 = metatype $@thick NSUbiquitousKeyValueStore.Type, loc "Information.swift":28:32, scope 3 // user: %4
- %4 = apply %2(%3) : $@convention(method) (@thick NSUbiquitousKeyValueStore.Type) -> @owned NSUbiquitousKeyValueStore, loc "Information.swift":28:58, scope 3 // user: %5
- store %4 to [init] %1 : $*NSUbiquitousKeyValueStore, loc "Information.swift":28:58, scope 3 // id: %5
- %6 = tuple (), loc "Information.swift":28:12, scope 3 // user: %7
- return %6 : $(), loc "Information.swift":28:58, scope 3 // id: %7
- } // end sil function 'globalinit_33_3A5F6B277642AB367D58FE672376E6D6_func1'
- sil_scope 4 { parent @_TFCSo25NSUbiquitousKeyValueStoreCfT_S_ : $@convention(method) (@thick NSUbiquitousKeyValueStore.Type) -> @owned NSUbiquitousKeyValueStore }
- // NSUbiquitousKeyValueStore.__allocating_init() -> NSUbiquitousKeyValueStore
- sil shared @_TFCSo25NSUbiquitousKeyValueStoreCfT_S_ : $@convention(method) (@thick NSUbiquitousKeyValueStore.Type) -> @owned NSUbiquitousKeyValueStore {
- // %0 // user: %1
- bb0(%0 : $@thick NSUbiquitousKeyValueStore.Type):
- %1 = thick_to_objc_metatype %0 : $@thick NSUbiquitousKeyValueStore.Type to $@objc_metatype NSUbiquitousKeyValueStore.Type, scope 4 // user: %2
- %2 = alloc_ref_dynamic [objc] %1 : $@objc_metatype NSUbiquitousKeyValueStore.Type, $NSUbiquitousKeyValueStore, scope 4 // user: %4
- // function_ref @nonobjc NSUbiquitousKeyValueStore.init() -> NSUbiquitousKeyValueStore
- %3 = function_ref @_TTOFCSo25NSUbiquitousKeyValueStorecfT_S_ : $@convention(method) (@owned NSUbiquitousKeyValueStore) -> @owned NSUbiquitousKeyValueStore, scope 4 // user: %4
- %4 = apply %3(%2) : $@convention(method) (@owned NSUbiquitousKeyValueStore) -> @owned NSUbiquitousKeyValueStore, scope 4 // user: %5
- return %4 : $NSUbiquitousKeyValueStore, scope 4 // id: %5
- } // end sil function '_TFCSo25NSUbiquitousKeyValueStoreCfT_S_'
- sil_scope 5 { loc "Information.swift":28:16 parent @_TFC3gpa11Informationau13keyValueStoreCSo25NSUbiquitousKeyValueStore : $@convention(thin) () -> Builtin.RawPointer }
- // Information.keyValueStore.unsafeMutableAddressor
- sil hidden [global_init] @_TFC3gpa11Informationau13keyValueStoreCSo25NSUbiquitousKeyValueStore : $@convention(thin) () -> Builtin.RawPointer {
- bb0:
- %0 = global_addr @globalinit_33_3A5F6B277642AB367D58FE672376E6D6_token1 : $*Builtin.Word, loc "Information.swift":28:16, scope 5 // user: %1
- %1 = address_to_pointer %0 : $*Builtin.Word to $Builtin.RawPointer, loc "Information.swift":28:16, scope 5 // user: %3
- // function_ref globalinit_33_3A5F6B277642AB367D58FE672376E6D6_func1
- %2 = function_ref @globalinit_33_3A5F6B277642AB367D58FE672376E6D6_func1 : $@convention(thin) () -> (), loc "Information.swift":28:16, scope 5 // user: %3
- %3 = builtin "once"(%1 : $Builtin.RawPointer, %2 : $@convention(thin) () -> ()) : $(), loc "Information.swift":28:16, scope 5
- %4 = global_addr @_TZvC3gpa11Information13keyValueStoreCSo25NSUbiquitousKeyValueStore : $*NSUbiquitousKeyValueStore, loc "Information.swift":28:16, scope 5 // user: %5
- %5 = address_to_pointer %4 : $*NSUbiquitousKeyValueStore to $Builtin.RawPointer, loc "Information.swift":28:16, scope 5 // user: %6
- return %5 : $Builtin.RawPointer, loc "Information.swift":28:16, scope 5 // id: %6
- } // end sil function '_TFC3gpa11Informationau13keyValueStoreCSo25NSUbiquitousKeyValueStore'
- sil_scope 6 { parent @_TToFC3gpa11Informationg4nameSS : $@convention(objc_method) (Information) -> @autoreleased NSString }
- // @objc Information.name.getter
- sil hidden [thunk] @_TToFC3gpa11Informationg4nameSS : $@convention(objc_method) (Information) -> @autoreleased NSString {
- // %0 // user: %1
- bb0(%0 : $Information):
- %1 = copy_value %0 : $Information, scope 6 // users: %4, %3
- // function_ref Information.name.getter
- %2 = function_ref @_TFC3gpa11Informationg4nameSS : $@convention(method) (@guaranteed Information) -> @owned String, scope 6 // user: %3
- %3 = apply %2(%1) : $@convention(method) (@guaranteed Information) -> @owned String, scope 6 // users: %7, %6
- destroy_value %1 : $Information, scope 6 // id: %4
- // function_ref String._bridgeToObjectiveC() -> NSString
- %5 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, scope 6 // user: %6
- %6 = apply %5(%3) : $@convention(method) (@guaranteed String) -> @owned NSString, scope 6 // user: %8
- destroy_value %3 : $String, scope 6 // id: %7
- return %6 : $NSString, scope 6 // id: %8
- } // end sil function '_TToFC3gpa11Informationg4nameSS'
- sil_scope 7 { loc "Information.swift":30:9 parent @_TFC3gpa11Informationg4nameSS : $@convention(method) (@guaranteed Information) -> @owned String }
- sil_scope 8 { loc "Information.swift":30:9 parent 7 }
- // Information.name.getter
- sil hidden @_TFC3gpa11Informationg4nameSS : $@convention(method) (@guaranteed Information) -> @owned String {
- // %0 // users: %2, %1
- bb0(%0 : $Information):
- debug_value %0 : $Information, let, name "self", argno 1, loc "Information.swift":30:9, scope 7 // id: %1
- %2 = ref_element_addr %0 : $Information, #Information.name, scope 8 // user: %3
- %3 = load [copy] %2 : $*String, scope 8 // user: %4
- return %3 : $String, loc "Information.swift":30:9, scope 8 // id: %4
- } // end sil function '_TFC3gpa11Informationg4nameSS'
- // String._bridgeToObjectiveC() -> NSString
- sil [_semantics "convertToObjectiveC"] @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString
- sil_scope 9 { parent @_TToFC3gpa11Informations4nameSS : $@convention(objc_method) (NSString, Information) -> () }
- // @objc Information.name.setter
- sil hidden [thunk] @_TToFC3gpa11Informations4nameSS : $@convention(objc_method) (NSString, Information) -> () {
- // %0 // user: %2
- // %1 // user: %3
- bb0(%0 : $NSString, %1 : $Information):
- %2 = copy_value %0 : $NSString, scope 9 // user: %5
- %3 = copy_value %1 : $Information, scope 9 // users: %10, %9
- // function_ref static String._unconditionallyBridgeFromObjectiveC(NSString?) -> String
- %4 = function_ref @_TZFE10FoundationSS36_unconditionallyBridgeFromObjectiveCfGSqCSo8NSString_SS : $@convention(method) (@owned Optional<NSString>, @thin String.Type) -> @owned String, scope 9 // user: %7
- %5 = enum $Optional<NSString>, #Optional.some!enumelt.1, %2 : $NSString, scope 9 // user: %7
- %6 = metatype $@thin String.Type, scope 9 // user: %7
- %7 = apply %4(%5, %6) : $@convention(method) (@owned Optional<NSString>, @thin String.Type) -> @owned String, scope 9 // user: %9
- // function_ref Information.name.setter
- %8 = function_ref @_TFC3gpa11Informations4nameSS : $@convention(method) (@owned String, @guaranteed Information) -> (), scope 9 // user: %9
- %9 = apply %8(%7, %3) : $@convention(method) (@owned String, @guaranteed Information) -> (), scope 9 // user: %11
- destroy_value %3 : $Information, scope 9 // id: %10
- return %9 : $(), scope 9 // id: %11
- } // end sil function '_TToFC3gpa11Informations4nameSS'
- sil_scope 10 { loc "Information.swift":30:9 parent @_TFC3gpa11Informations4nameSS : $@convention(method) (@owned String, @guaranteed Information) -> () }
- sil_scope 11 { loc "Information.swift":30:9 parent 10 }
- // Information.name.setter
- sil hidden @_TFC3gpa11Informations4nameSS : $@convention(method) (@owned String, @guaranteed Information) -> () {
- // %0 // users: %7, %4, %2
- // %1 // users: %5, %3
- bb0(%0 : $String, %1 : $Information):
- debug_value %0 : $String, let, name "value", argno 1, loc "Information.swift":30:9, scope 10 // id: %2
- debug_value %1 : $Information, let, name "self", argno 2, loc "Information.swift":30:9, scope 10 // id: %3
- %4 = copy_value %0 : $String, scope 11 // user: %6
- %5 = ref_element_addr %1 : $Information, #Information.name, scope 11 // user: %6
- assign %4 to %5 : $*String, scope 11 // id: %6
- destroy_value %0 : $String, loc "Information.swift":30:9, scope 11 // id: %7
- %8 = tuple (), loc "Information.swift":30:9, scope 11 // user: %9
- return %8 : $(), loc "Information.swift":30:9, scope 11 // id: %9
- } // end sil function '_TFC3gpa11Informations4nameSS'
- // static String._unconditionallyBridgeFromObjectiveC(NSString?) -> String
- sil @_TZFE10FoundationSS36_unconditionallyBridgeFromObjectiveCfGSqCSo8NSString_SS : $@convention(method) (@owned Optional<NSString>, @thin String.Type) -> @owned String
- sil_scope 12 { parent @_TToFC3gpa11Informationg5gradeSi : $@convention(objc_method) (Information) -> Int }
- // @objc Information.grade.getter
- sil hidden [thunk] @_TToFC3gpa11Informationg5gradeSi : $@convention(objc_method) (Information) -> Int {
- // %0 // user: %1
- bb0(%0 : $Information):
- %1 = copy_value %0 : $Information, scope 12 // users: %4, %3
- // function_ref Information.grade.getter
- %2 = function_ref @_TFC3gpa11Informationg5gradeSi : $@convention(method) (@guaranteed Information) -> Int, scope 12 // user: %3
- %3 = apply %2(%1) : $@convention(method) (@guaranteed Information) -> Int, scope 12 // user: %5
- destroy_value %1 : $Information, scope 12 // id: %4
- return %3 : $Int, scope 12 // id: %5
- } // end sil function '_TToFC3gpa11Informationg5gradeSi'
- sil_scope 13 { loc "Information.swift":31:9 parent @_TFC3gpa11Informationg5gradeSi : $@convention(method) (@guaranteed Information) -> Int }
- sil_scope 14 { loc "Information.swift":31:9 parent 13 }
- // Information.grade.getter
- sil hidden @_TFC3gpa11Informationg5gradeSi : $@convention(method) (@guaranteed Information) -> Int {
- // %0 // users: %2, %1
- bb0(%0 : $Information):
- debug_value %0 : $Information, let, name "self", argno 1, loc "Information.swift":31:9, scope 13 // id: %1
- %2 = ref_element_addr %0 : $Information, #Information.grade, scope 14 // user: %3
- %3 = load [trivial] %2 : $*Int, scope 14 // user: %4
- return %3 : $Int, loc "Information.swift":31:9, scope 14 // id: %4
- } // end sil function '_TFC3gpa11Informationg5gradeSi'
- sil_scope 15 { parent @_TToFC3gpa11Informations5gradeSi : $@convention(objc_method) (Int, Information) -> () }
- // @objc Information.grade.setter
- sil hidden [thunk] @_TToFC3gpa11Informations5gradeSi : $@convention(objc_method) (Int, Information) -> () {
- // %0 // user: %4
- // %1 // user: %2
- bb0(%0 : $Int, %1 : $Information):
- %2 = copy_value %1 : $Information, scope 15 // users: %5, %4
- // function_ref Information.grade.setter
- %3 = function_ref @_TFC3gpa11Informations5gradeSi : $@convention(method) (Int, @guaranteed Information) -> (), scope 15 // user: %4
- %4 = apply %3(%0, %2) : $@convention(method) (Int, @guaranteed Information) -> (), scope 15 // user: %6
- destroy_value %2 : $Information, scope 15 // id: %5
- return %4 : $(), scope 15 // id: %6
- } // end sil function '_TToFC3gpa11Informations5gradeSi'
- sil_scope 16 { loc "Information.swift":31:9 parent @_TFC3gpa11Informations5gradeSi : $@convention(method) (Int, @guaranteed Information) -> () }
- sil_scope 17 { loc "Information.swift":31:9 parent 16 }
- // Information.grade.setter
- sil hidden @_TFC3gpa11Informations5gradeSi : $@convention(method) (Int, @guaranteed Information) -> () {
- // %0 // users: %5, %2
- // %1 // users: %4, %3
- bb0(%0 : $Int, %1 : $Information):
- debug_value %0 : $Int, let, name "value", argno 1, loc "Information.swift":31:9, scope 16 // id: %2
- debug_value %1 : $Information, let, name "self", argno 2, loc "Information.swift":31:9, scope 16 // id: %3
- %4 = ref_element_addr %1 : $Information, #Information.grade, scope 17 // user: %5
- assign %0 to %4 : $*Int, scope 17 // id: %5
- %6 = tuple (), loc "Information.swift":31:9, scope 17 // user: %7
- return %6 : $(), loc "Information.swift":31:9, scope 17 // id: %7
- } // end sil function '_TFC3gpa11Informations5gradeSi'
- sil_scope 18 { parent @_TToFC3gpa11Informationg10multiplierSd : $@convention(objc_method) (Information) -> Double }
- // @objc Information.multiplier.getter
- sil hidden [thunk] @_TToFC3gpa11Informationg10multiplierSd : $@convention(objc_method) (Information) -> Double {
- // %0 // user: %1
- bb0(%0 : $Information):
- %1 = copy_value %0 : $Information, scope 18 // users: %4, %3
- // function_ref Information.multiplier.getter
- %2 = function_ref @_TFC3gpa11Informationg10multiplierSd : $@convention(method) (@guaranteed Information) -> Double, scope 18 // user: %3
- %3 = apply %2(%1) : $@convention(method) (@guaranteed Information) -> Double, scope 18 // user: %5
- destroy_value %1 : $Information, scope 18 // id: %4
- return %3 : $Double, scope 18 // id: %5
- } // end sil function '_TToFC3gpa11Informationg10multiplierSd'
- sil_scope 19 { loc "Information.swift":32:9 parent @_TFC3gpa11Informationg10multiplierSd : $@convention(method) (@guaranteed Information) -> Double }
- sil_scope 20 { loc "Information.swift":32:9 parent 19 }
- // Information.multiplier.getter
- sil hidden @_TFC3gpa11Informationg10multiplierSd : $@convention(method) (@guaranteed Information) -> Double {
- // %0 // users: %2, %1
- bb0(%0 : $Information):
- debug_value %0 : $Information, let, name "self", argno 1, loc "Information.swift":32:9, scope 19 // id: %1
- %2 = ref_element_addr %0 : $Information, #Information.multiplier, scope 20 // user: %3
- %3 = load [trivial] %2 : $*Double, scope 20 // user: %4
- return %3 : $Double, loc "Information.swift":32:9, scope 20 // id: %4
- } // end sil function '_TFC3gpa11Informationg10multiplierSd'
- sil_scope 21 { parent @_TToFC3gpa11Informations10multiplierSd : $@convention(objc_method) (Double, Information) -> () }
- // @objc Information.multiplier.setter
- sil hidden [thunk] @_TToFC3gpa11Informations10multiplierSd : $@convention(objc_method) (Double, Information) -> () {
- // %0 // user: %4
- // %1 // user: %2
- bb0(%0 : $Double, %1 : $Information):
- %2 = copy_value %1 : $Information, scope 21 // users: %5, %4
- // function_ref Information.multiplier.setter
- %3 = function_ref @_TFC3gpa11Informations10multiplierSd : $@convention(method) (Double, @guaranteed Information) -> (), scope 21 // user: %4
- %4 = apply %3(%0, %2) : $@convention(method) (Double, @guaranteed Information) -> (), scope 21 // user: %6
- destroy_value %2 : $Information, scope 21 // id: %5
- return %4 : $(), scope 21 // id: %6
- } // end sil function '_TToFC3gpa11Informations10multiplierSd'
- sil_scope 22 { loc "Information.swift":32:9 parent @_TFC3gpa11Informations10multiplierSd : $@convention(method) (Double, @guaranteed Information) -> () }
- sil_scope 23 { loc "Information.swift":32:9 parent 22 }
- // Information.multiplier.setter
- sil hidden @_TFC3gpa11Informations10multiplierSd : $@convention(method) (Double, @guaranteed Information) -> () {
- // %0 // users: %5, %2
- // %1 // users: %4, %3
- bb0(%0 : $Double, %1 : $Information):
- debug_value %0 : $Double, let, name "value", argno 1, loc "Information.swift":32:9, scope 22 // id: %2
- debug_value %1 : $Information, let, name "self", argno 2, loc "Information.swift":32:9, scope 22 // id: %3
- %4 = ref_element_addr %1 : $Information, #Information.multiplier, scope 23 // user: %5
- assign %0 to %4 : $*Double, scope 23 // id: %5
- %6 = tuple (), loc "Information.swift":32:9, scope 23 // user: %7
- return %6 : $(), loc "Information.swift":32:9, scope 23 // id: %7
- } // end sil function '_TFC3gpa11Informations10multiplierSd'
- sil_scope 24 { parent @_TToFC3gpa11Informationg7creditsSd : $@convention(objc_method) (Information) -> Double }
- // @objc Information.credits.getter
- sil hidden [thunk] @_TToFC3gpa11Informationg7creditsSd : $@convention(objc_method) (Information) -> Double {
- // %0 // user: %1
- bb0(%0 : $Information):
- %1 = copy_value %0 : $Information, scope 24 // users: %4, %3
- // function_ref Information.credits.getter
- %2 = function_ref @_TFC3gpa11Informationg7creditsSd : $@convention(method) (@guaranteed Information) -> Double, scope 24 // user: %3
- %3 = apply %2(%1) : $@convention(method) (@guaranteed Information) -> Double, scope 24 // user: %5
- destroy_value %1 : $Information, scope 24 // id: %4
- return %3 : $Double, scope 24 // id: %5
- } // end sil function '_TToFC3gpa11Informationg7creditsSd'
- sil_scope 25 { loc "Information.swift":33:9 parent @_TFC3gpa11Informationg7creditsSd : $@convention(method) (@guaranteed Information) -> Double }
- sil_scope 26 { loc "Information.swift":33:9 parent 25 }
- // Information.credits.getter
- sil hidden @_TFC3gpa11Informationg7creditsSd : $@convention(method) (@guaranteed Information) -> Double {
- // %0 // users: %2, %1
- bb0(%0 : $Information):
- debug_value %0 : $Information, let, name "self", argno 1, loc "Information.swift":33:9, scope 25 // id: %1
- %2 = ref_element_addr %0 : $Information, #Information.credits, scope 26 // user: %3
- %3 = load [trivial] %2 : $*Double, scope 26 // user: %4
- return %3 : $Double, loc "Information.swift":33:9, scope 26 // id: %4
- } // end sil function '_TFC3gpa11Informationg7creditsSd'
- sil_scope 27 { parent @_TToFC3gpa11Informations7creditsSd : $@convention(objc_method) (Double, Information) -> () }
- // @objc Information.credits.setter
- sil hidden [thunk] @_TToFC3gpa11Informations7creditsSd : $@convention(objc_method) (Double, Information) -> () {
- // %0 // user: %4
- // %1 // user: %2
- bb0(%0 : $Double, %1 : $Information):
- %2 = copy_value %1 : $Information, scope 27 // users: %5, %4
- // function_ref Information.credits.setter
- %3 = function_ref @_TFC3gpa11Informations7creditsSd : $@convention(method) (Double, @guaranteed Information) -> (), scope 27 // user: %4
- %4 = apply %3(%0, %2) : $@convention(method) (Double, @guaranteed Information) -> (), scope 27 // user: %6
- destroy_value %2 : $Information, scope 27 // id: %5
- return %4 : $(), scope 27 // id: %6
- } // end sil function '_TToFC3gpa11Informations7creditsSd'
- sil_scope 28 { loc "Information.swift":33:9 parent @_TFC3gpa11Informations7creditsSd : $@convention(method) (Double, @guaranteed Information) -> () }
- sil_scope 29 { loc "Information.swift":33:9 parent 28 }
- // Information.credits.setter
- sil hidden @_TFC3gpa11Informations7creditsSd : $@convention(method) (Double, @guaranteed Information) -> () {
- // %0 // users: %5, %2
- // %1 // users: %4, %3
- bb0(%0 : $Double, %1 : $Information):
- debug_value %0 : $Double, let, name "value", argno 1, loc "Information.swift":33:9, scope 28 // id: %2
- debug_value %1 : $Information, let, name "self", argno 2, loc "Information.swift":33:9, scope 28 // id: %3
- %4 = ref_element_addr %1 : $Information, #Information.credits, scope 29 // user: %5
- assign %0 to %4 : $*Double, scope 29 // id: %5
- %6 = tuple (), loc "Information.swift":33:9, scope 29 // user: %7
- return %6 : $(), loc "Information.swift":33:9, scope 29 // id: %7
- } // end sil function '_TFC3gpa11Informations7creditsSd'
- sil_scope 30 { loc "Information.swift":36:12 parent @_TFC3gpa11InformationcfTSS5gradeSi10multiplierSd7creditsSd_S0_ : $@convention(method) (@owned String, Int, Double, Double, @owned Information) -> @owned Information }
- sil_scope 31 { loc "Information.swift":41:5 parent 30 }
- // Information.init(String, grade : Int, multiplier : Double, credits : Double) -> Information
- sil hidden @_TFC3gpa11InformationcfTSS5gradeSi10multiplierSd7creditsSd_S0_ : $@convention(method) (@owned String, Int, Double, Double, @owned Information) -> @owned Information {
- // %0 // users: %33, %14, %8
- // %1 // users: %19, %9
- // %2 // users: %22, %10
- // %3 // users: %25, %11
- // %4 // user: %12
- bb0(%0 : $String, %1 : $Int, %2 : $Double, %3 : $Double, %4 : $Information):
- %5 = alloc_box ${ var Information }, let, name "self", loc "Information.swift":36:12, scope 30 // users: %34, %6
- %6 = project_box %5 : ${ var Information }, 0, loc "Information.swift":36:12, scope 30 // user: %7
- %7 = mark_uninitialized [derivedself] %6 : $*Information, loc "Information.swift":36:12, scope 30 // users: %32, %31, %26, %23, %20, %17, %13, %12
- debug_value %0 : $String, let, name "name", argno 1, loc "Information.swift":36:19, scope 30 // id: %8
- debug_value %1 : $Int, let, name "grade", argno 2, loc "Information.swift":36:33, scope 30 // id: %9
- debug_value %2 : $Double, let, name "multiplier", argno 3, loc "Information.swift":36:45, scope 30 // id: %10
- debug_value %3 : $Double, let, name "credits", argno 4, loc "Information.swift":36:65, scope 30 // id: %11
- store %4 to [init] %7 : $*Information, loc "Information.swift":36:12, scope 30 // id: %12
- %13 = load_borrow %7 : $*Information, loc "Information.swift":37:9, scope 31 // user: %15
- %14 = copy_value %0 : $String, loc "Information.swift":37:21, scope 31 // user: %16
- %15 = ref_element_addr %13 : $Information, #Information.name, loc "Information.swift":37:19, scope 31 // user: %16
- assign %14 to %15 : $*String, loc "Information.swift":37:19, scope 31 // id: %16
- %17 = load_borrow %7 : $*Information, loc "Information.swift":38:9, scope 31 // user: %18
- %18 = ref_element_addr %17 : $Information, #Information.grade, loc "Information.swift":38:20, scope 31 // user: %19
- assign %1 to %18 : $*Int, loc "Information.swift":38:20, scope 31 // id: %19
- %20 = load_borrow %7 : $*Information, loc "Information.swift":39:9, scope 31 // user: %21
- %21 = ref_element_addr %20 : $Information, #Information.multiplier, loc "Information.swift":39:25, scope 31 // user: %22
- assign %2 to %21 : $*Double, loc "Information.swift":39:25, scope 31 // id: %22
- %23 = load_borrow %7 : $*Information, loc "Information.swift":40:9, scope 31 // user: %24
- %24 = ref_element_addr %23 : $Information, #Information.credits, loc "Information.swift":40:22, scope 31 // user: %25
- assign %3 to %24 : $*Double, loc "Information.swift":40:22, scope 31 // id: %25
- %26 = load_borrow %7 : $*Information, scope 31 // users: %28, %27
- %27 = upcast %26 : $Information to $NSObject, scope 31 // user: %29
- %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
- %29 = apply %28(%27) : $@convention(objc_method) (@owned NSObject) -> @owned NSObject, scope 31 // user: %30
- %30 = unchecked_ref_cast %29 : $NSObject to $Information, scope 31 // user: %31
- store %30 to [init] %7 : $*Information, scope 31 // id: %31
- %32 = load [copy] %7 : $*Information, loc "Information.swift":41:5, scope 31 // user: %35
- destroy_value %0 : $String, loc "Information.swift":41:5, scope 31 // id: %33
- destroy_value %5 : ${ var Information }, loc "Information.swift":41:5, scope 31 // id: %34
- return %32 : $Information, loc "Information.swift":41:5, scope 31 // id: %35
- } // end sil function '_TFC3gpa11InformationcfTSS5gradeSi10multiplierSd7creditsSd_S0_'
- sil_scope 32 { loc "Information.swift":36:12 parent @_TFC3gpa11InformationCfTSS5gradeSi10multiplierSd7creditsSd_S0_ : $@convention(method) (@owned String, Int, Double, Double, @thick Information.Type) -> @owned Information }
- // Information.__allocating_init(String, grade : Int, multiplier : Double, credits : Double) -> Information
- sil hidden @_TFC3gpa11InformationCfTSS5gradeSi10multiplierSd7creditsSd_S0_ : $@convention(method) (@owned String, Int, Double, Double, @thick Information.Type) -> @owned Information {
- // %0 // user: %7
- // %1 // user: %7
- // %2 // user: %7
- // %3 // user: %7
- bb0(%0 : $String, %1 : $Int, %2 : $Double, %3 : $Double, %4 : $@thick Information.Type):
- %5 = alloc_ref [objc] $Information, scope 32 // user: %7
- // function_ref Information.init(String, grade : Int, multiplier : Double, credits : Double) -> Information
- %6 = function_ref @_TFC3gpa11InformationcfTSS5gradeSi10multiplierSd7creditsSd_S0_ : $@convention(method) (@owned String, Int, Double, Double, @owned Information) -> @owned Information, scope 32 // user: %7
- %7 = apply %6(%0, %1, %2, %3, %5) : $@convention(method) (@owned String, Int, Double, Double, @owned Information) -> @owned Information, scope 32 // user: %8
- return %7 : $Information, scope 32 // id: %8
- } // end sil function '_TFC3gpa11InformationCfTSS5gradeSi10multiplierSd7creditsSd_S0_'
- sil_scope 33 { loc "Information.swift":36:12 parent @_TToFC3gpa11InformationcfTSS5gradeSi10multiplierSd7creditsSd_S0_ : $@convention(objc_method) (NSString, Int, Double, Double, @owned Information) -> @owned Information }
- // @objc Information.init(String, grade : Int, multiplier : Double, credits : Double) -> Information
- sil hidden [thunk] @_TToFC3gpa11InformationcfTSS5gradeSi10multiplierSd7creditsSd_S0_ : $@convention(objc_method) (NSString, Int, Double, Double, @owned Information) -> @owned Information {
- // %0 // user: %5
- // %1 // user: %11
- // %2 // user: %11
- // %3 // user: %11
- // %4 // user: %11
- bb0(%0 : $NSString, %1 : $Int, %2 : $Double, %3 : $Double, %4 : $Information):
- %5 = copy_value %0 : $NSString, scope 33 // user: %7
- // function_ref static String._unconditionallyBridgeFromObjectiveC(NSString?) -> String
- %6 = function_ref @_TZFE10FoundationSS36_unconditionallyBridgeFromObjectiveCfGSqCSo8NSString_SS : $@convention(method) (@owned Optional<NSString>, @thin String.Type) -> @owned String, scope 33 // user: %9
- %7 = enum $Optional<NSString>, #Optional.some!enumelt.1, %5 : $NSString, scope 33 // user: %9
- %8 = metatype $@thin String.Type, scope 33 // user: %9
- %9 = apply %6(%7, %8) : $@convention(method) (@owned Optional<NSString>, @thin String.Type) -> @owned String, scope 33 // user: %11
- // function_ref Information.init(String, grade : Int, multiplier : Double, credits : Double) -> Information
- %10 = function_ref @_TFC3gpa11InformationcfTSS5gradeSi10multiplierSd7creditsSd_S0_ : $@convention(method) (@owned String, Int, Double, Double, @owned Information) -> @owned Information, scope 33 // user: %11
- %11 = apply %10(%9, %1, %2, %3, %4) : $@convention(method) (@owned String, Int, Double, Double, @owned Information) -> @owned Information, scope 33 // user: %12
- return %11 : $Information, scope 33 // id: %12
- } // end sil function '_TToFC3gpa11InformationcfTSS5gradeSi10multiplierSd7creditsSd_S0_'
- sil_scope 34 { loc "Information.swift":43:33 parent @_TFC3gpa11InformationCfT5coderCSo7NSCoder_GSqS0__ : $@convention(method) (@owned NSCoder, @thick Information.Type) -> @owned Optional<Information> }
- // Information.__allocating_init(coder : NSCoder) -> Information?
- sil hidden @_TFC3gpa11InformationCfT5coderCSo7NSCoder_GSqS0__ : $@convention(method) (@owned NSCoder, @thick Information.Type) -> @owned Optional<Information> {
- // %0 // user: %5
- // %1 // user: %2
- bb0(%0 : $NSCoder, %1 : $@thick Information.Type):
- %2 = thick_to_objc_metatype %1 : $@thick Information.Type to $@objc_metatype Information.Type, scope 34 // user: %3
- %3 = alloc_ref_dynamic [objc] %2 : $@objc_metatype Information.Type, $Information, scope 34 // user: %5
- // function_ref Information.init(coder : NSCoder) -> Information?
- %4 = function_ref @_TFC3gpa11InformationcfT5coderCSo7NSCoder_GSqS0__ : $@convention(method) (@owned NSCoder, @owned Information) -> @owned Optional<Information>, scope 34 // user: %5
- %5 = apply %4(%0, %3) : $@convention(method) (@owned NSCoder, @owned Information) -> @owned Optional<Information>, scope 34 // user: %6
- return %5 : $Optional<Information>, scope 34 // id: %6
- } // end sil function '_TFC3gpa11InformationCfT5coderCSo7NSCoder_GSqS0__'
- sil_scope 35 { loc "Information.swift":43:33 parent @_TFC3gpa11InformationcfT5coderCSo7NSCoder_GSqS0__ : $@convention(method) (@owned NSCoder, @owned Information) -> @owned Optional<Information> }
- sil_scope 36 { loc "Information.swift":49:5 parent 35 }
- sil_scope 37 { loc "Information.swift":44:62 parent 36 }
- // Information.init(coder : NSCoder) -> Information?
- sil hidden @_TFC3gpa11InformationcfT5coderCSo7NSCoder_GSqS0__ : $@convention(method) (@owned NSCoder, @owned Information) -> @owned Optional<Information> {
- // %0 // users: %130, %111, %102, %98, %89, %85, %76, %18, %9, %133, %5
- // %1 // user: %6
- bb0(%0 : $NSCoder, %1 : $Information):
- %2 = alloc_box ${ var Information }, let, name "self", loc "Information.swift":43:33, scope 35 // users: %131, %134, %3
- %3 = project_box %2 : ${ var Information }, 0, loc "Information.swift":43:33, scope 35 // user: %4
- %4 = mark_uninitialized [delegatingself] %3 : $*Information, loc "Information.swift":43:33, scope 35 // users: %128, %119, %115, %6
- debug_value %0 : $NSCoder, let, name "aDecoder", argno 1, loc "Information.swift":43:45, scope 35 // id: %5
- store %1 to [init] %4 : $*Information, loc "Information.swift":43:33, scope 35 // id: %6
- // function_ref ?? infix<A> (A?, @autoclosure () throws -> A) throws -> A
- %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
- %8 = alloc_stack $Optional<Any>, loc "Information.swift":44:29, scope 36 // users: %60, %46, %44, %39, %36
- %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
- %10 = string_literal utf8 "name", loc "Information.swift":44:50, scope 36 // user: %15
- %11 = integer_literal $Builtin.Word, 4, loc "Information.swift":44:50, scope 36 // user: %15
- %12 = integer_literal $Builtin.Int1, -1, loc "Information.swift":44:50, scope 36 // user: %15
- %13 = metatype $@thin String.Type, loc "Information.swift":44:50, scope 36 // user: %15
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- // function_ref String._bridgeToObjectiveC() -> NSString
- %16 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "Information.swift":44:50, scope 36 // user: %17
- %17 = apply %16(%15) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "Information.swift":44:50, scope 36 // users: %58, %42, %18
- %18 = apply %9(%17, %0) : $@convention(objc_method) (NSString, NSCoder) -> @autoreleased Optional<AnyObject>, loc "Information.swift":44:56, scope 36 // users: %24, %22
- %19 = alloc_stack $Optional<Any>, loc "Information.swift":44:56, scope 36 // users: %57, %41, %36, %34, %31, %29
- %20 = integer_literal $Builtin.Int1, -1, loc "Information.swift":44:56, scope 36 // user: %22
- %21 = integer_literal $Builtin.Int1, 0, loc "Information.swift":44:56, scope 36 // user: %22
- %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
- cond_br %22, bb1, bb2, loc "Information.swift":44:56, scope 36 // id: %23
- bb1: // Preds: bb0
- %24 = unchecked_enum_data %18 : $Optional<AnyObject>, #Optional.some!enumelt.1, loc "Information.swift":44:56, scope 36 // user: %25
- %25 = unchecked_ref_cast %24 : $AnyObject to $Optional<AnyObject>, loc "Information.swift":44:56, scope 36 // user: %28
- // function_ref _bridgeAnyObjectToAny(AnyObject?) -> Any
- %26 = function_ref @_TFs21_bridgeAnyObjectToAnyFGSqPs9AnyObject__P_ : $@convention(thin) (@owned Optional<AnyObject>) -> @out Any, loc "Information.swift":44:56, scope 36 // user: %28
- %27 = alloc_stack $Any, loc "Information.swift":44:56, scope 36 // users: %32, %30, %28
- %28 = apply %26(%27, %25) : $@convention(thin) (@owned Optional<AnyObject>) -> @out Any, loc "Information.swift":44:56, scope 36
- %29 = init_enum_data_addr %19 : $*Optional<Any>, #Optional.some!enumelt.1, loc "Information.swift":44:56, scope 36 // user: %30
- copy_addr [take] %27 to [initialization] %29 : $*Any, loc "Information.swift":44:56, scope 36 // id: %30
- inject_enum_addr %19 : $*Optional<Any>, #Optional.some!enumelt.1, loc "Information.swift":44:56, scope 36 // id: %31
- dealloc_stack %27 : $*Any, loc "Information.swift":44:56, scope 36 // id: %32
- br bb3, loc "Information.swift":44:56, scope 36 // id: %33
- bb2: // Preds: bb0
- inject_enum_addr %19 : $*Optional<Any>, #Optional.none!enumelt, loc "Information.swift":44:56, scope 36 // id: %34
- br bb3, loc "Information.swift":44:56, scope 36 // id: %35
- bb3: // Preds: bb2 bb1
- copy_addr [take] %19 to [initialization] %8 : $*Optional<Any>, loc "Information.swift":44:56, scope 36 // id: %36
- %37 = integer_literal $Builtin.Int1, -1, loc "Information.swift":44:29, scope 36 // user: %39
- %38 = integer_literal $Builtin.Int1, 0, loc "Information.swift":44:29, scope 36 // user: %39
- %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
- cond_br %39, bb5, bb4, loc "Information.swift":44:29, scope 36 // id: %40
- bb4: // Preds: bb3
- dealloc_stack %19 : $*Optional<Any>, loc "Information.swift":44:62, scope 36 // id: %41
- destroy_value %17 : $NSString, loc "Information.swift":44:62, scope 36 // id: %42
- destroy_value %15 : $String, loc "Information.swift":44:62, scope 36 // id: %43
- dealloc_stack %8 : $*Optional<Any>, loc "Information.swift":44:62, scope 36 // id: %44
- br bb13, loc "Information.swift":44:29, scope 36 // id: %45
- bb5: // Preds: bb3
- %46 = unchecked_take_enum_data_addr %8 : $*Optional<Any>, #Optional.some!enumelt.1, loc "Information.swift":44:29, scope 36 // user: %48
- %47 = alloc_stack $String, loc "Information.swift":44:58, scope 37 // users: %54, %51, %49, %48
- 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
- bb6: // Preds: bb5
- %49 = load [take] %47 : $*String, loc "Information.swift":44:58, scope 37 // user: %50
- %50 = enum $Optional<String>, #Optional.some!enumelt.1, %49 : $String, loc "Information.swift":44:58, scope 37 // user: %52
- dealloc_stack %47 : $*String, loc "Information.swift":44:62, scope 37 // id: %51
- br bb8(%50 : $Optional<String>), loc "Information.swift":44:58, scope 37 // id: %52
- bb7: // Preds: bb5
- %53 = enum $Optional<String>, #Optional.none!enumelt, loc "Information.swift":44:58, scope 37 // user: %55
- dealloc_stack %47 : $*String, loc "Information.swift":44:62, scope 37 // id: %54
- br bb8(%53 : $Optional<String>), loc "Information.swift":44:58, scope 37 // id: %55
- // %56 // user: %61
- bb8(%56 : $Optional<String>): // Preds: bb7 bb6
- dealloc_stack %19 : $*Optional<Any>, loc "Information.swift":44:62, scope 36 // id: %57
- destroy_value %17 : $NSString, loc "Information.swift":44:62, scope 36 // id: %58
- destroy_value %15 : $String, loc "Information.swift":44:62, scope 36 // id: %59
- dealloc_stack %8 : $*Optional<Any>, loc "Information.swift":44:62, scope 36 // id: %60
- br bb9(%56 : $Optional<String>), loc "Information.swift":44:58, scope 36 // id: %61
- // %62 // user: %64
- bb9(%62 : $Optional<String>): // Preds: bb13 bb8
- %63 = alloc_stack $Optional<String>, loc "Information.swift":44:58, scope 36 // users: %75, %70, %64
- store %62 to [init] %63 : $*Optional<String>, loc "Information.swift":44:58, scope 36 // id: %64
- // function_ref Information.(init(coder : NSCoder) -> Information?).(implicit closure #1)
- %65 = function_ref @_TFFC3gpa11InformationcFT5coderCSo7NSCoder_GSqS0__u_KzT_SS : $@convention(thin) () -> (@owned String, @error Error), scope 36 // user: %66
- %66 = thin_to_thick_function %65 : $@convention(thin) () -> (@owned String, @error Error) to $@callee_owned () -> (@owned String, @error Error), scope 36 // user: %68
- // function_ref thunk
- %67 = function_ref @_TTRXFo__oSSzoPs5Error__XFo__iSSzoPS___ : $@convention(thin) (@owned @callee_owned () -> (@owned String, @error Error)) -> (@out String, @error Error), scope 36 // user: %68
- %68 = partial_apply %67(%66) : $@convention(thin) (@owned @callee_owned () -> (@owned String, @error Error)) -> (@out String, @error Error), scope 36 // user: %70
- %69 = alloc_stack $String, loc "Information.swift":44:69, scope 36 // users: %74, %72, %70
- 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
- bb10(%71 : $()): // Preds: bb9
- %72 = load [take] %69 : $*String, loc "Information.swift":44:69, scope 36 // users: %124, %122, %117, %73
- debug_value %72 : $String, let, name "name", loc "Information.swift":44:13, scope 36 // id: %73
- dealloc_stack %69 : $*String, loc "Information.swift":44:72, scope 36 // id: %74
- dealloc_stack %63 : $*Optional<String>, loc "Information.swift":44:72, scope 36 // id: %75
- %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
- %77 = string_literal utf8 "grade", loc "Information.swift":45:52, scope 36 // user: %82
- %78 = integer_literal $Builtin.Word, 5, loc "Information.swift":45:52, scope 36 // user: %82
- %79 = integer_literal $Builtin.Int1, -1, loc "Information.swift":45:52, scope 36 // user: %82
- %80 = metatype $@thin String.Type, loc "Information.swift":45:52, scope 36 // user: %82
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- // function_ref String._bridgeToObjectiveC() -> NSString
- %83 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "Information.swift":45:52, scope 36 // user: %84
- %84 = apply %83(%82) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "Information.swift":45:52, scope 36 // users: %87, %85
- %85 = apply %76(%84, %0) : $@convention(objc_method) (NSString, NSCoder) -> Int, loc "Information.swift":45:59, scope 36 // users: %118, %86
- debug_value %85 : $Int, let, name "grade", loc "Information.swift":45:13, scope 36 // id: %86
- destroy_value %84 : $NSString, loc "Information.swift":45:59, scope 36 // id: %87
- destroy_value %82 : $String, loc "Information.swift":45:59, scope 36 // id: %88
- %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
- %90 = string_literal utf8 "multiplier", loc "Information.swift":46:56, scope 36 // user: %95
- %91 = integer_literal $Builtin.Word, 10, loc "Information.swift":46:56, scope 36 // user: %95
- %92 = integer_literal $Builtin.Int1, -1, loc "Information.swift":46:56, scope 36 // user: %95
- %93 = metatype $@thin String.Type, loc "Information.swift":46:56, scope 36 // user: %95
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- // function_ref String._bridgeToObjectiveC() -> NSString
- %96 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "Information.swift":46:56, scope 36 // user: %97
- %97 = apply %96(%95) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "Information.swift":46:56, scope 36 // users: %100, %98
- %98 = apply %89(%97, %0) : $@convention(objc_method) (NSString, NSCoder) -> Double, loc "Information.swift":46:68, scope 36 // users: %118, %99
- debug_value %98 : $Double, let, name "multiplier", loc "Information.swift":46:13, scope 36 // id: %99
- destroy_value %97 : $NSString, loc "Information.swift":46:68, scope 36 // id: %100
- destroy_value %95 : $String, loc "Information.swift":46:68, scope 36 // id: %101
- %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
- %103 = string_literal utf8 "credits", loc "Information.swift":47:53, scope 36 // user: %108
- %104 = integer_literal $Builtin.Word, 7, loc "Information.swift":47:53, scope 36 // user: %108
- %105 = integer_literal $Builtin.Int1, -1, loc "Information.swift":47:53, scope 36 // user: %108
- %106 = metatype $@thin String.Type, loc "Information.swift":47:53, scope 36 // user: %108
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- // function_ref String._bridgeToObjectiveC() -> NSString
- %109 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "Information.swift":47:53, scope 36 // user: %110
- %110 = apply %109(%108) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "Information.swift":47:53, scope 36 // users: %113, %111
- %111 = apply %102(%110, %0) : $@convention(objc_method) (NSString, NSCoder) -> Double, loc "Information.swift":47:62, scope 36 // users: %118, %112
- debug_value %111 : $Double, let, name "credits", loc "Information.swift":47:13, scope 36 // id: %112
- destroy_value %110 : $NSString, loc "Information.swift":47:62, scope 36 // id: %113
- destroy_value %108 : $String, loc "Information.swift":47:62, scope 36 // id: %114
- %115 = load_borrow %4 : $*Information, loc "Information.swift":48:9, scope 36 // users: %118, %116
- %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
- %117 = copy_value %72 : $String, loc "Information.swift":48:19, scope 36 // user: %118
- %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
- store %118 to [init] %4 : $*Information, loc "Information.swift":48:14, scope 36 // id: %119
- %120 = is_nonnull %118 : $Information, loc "Information.swift":48:14, scope 36 // user: %121
- cond_br %120, bb12, bb11, loc "Information.swift":48:14, scope 36 // id: %121
- bb11: // Preds: bb10
- destroy_value %72 : $String, loc "Information.swift":49:5, scope 36 // id: %122
- br bb14, loc "Information.swift":48:14, scope 36 // id: %123
- bb12: // Preds: bb10
- destroy_value %72 : $String, loc "Information.swift":49:5, scope 36 // id: %124
- br bb14, loc "Information.swift":49:5, scope 36 // id: %125
- bb13: // Preds: bb4
- %126 = enum $Optional<String>, #Optional.none!enumelt, loc "Information.swift":44:58, scope 36 // user: %127
- br bb9(%126 : $Optional<String>), loc "Information.swift":44:58, scope 36 // id: %127
- bb14: // Preds: bb12 bb11
- %128 = load [copy] %4 : $*Information, loc "Information.swift":49:5, scope 36 // user: %129
- %129 = enum $Optional<Information>, #Optional.some!enumelt.1, %128 : $Information, scope 36 // user: %132
- destroy_value %0 : $NSCoder, loc "Information.swift":49:5, scope 36 // id: %130
- destroy_value %2 : ${ var Information }, loc "Information.swift":49:5, scope 36 // id: %131
- br bb16(%129 : $Optional<Information>), loc "Information.swift":49:5, scope 36 // id: %132
- bb15:
- destroy_value %0 : $NSCoder, loc "Information.swift":49:5, scope 35 // id: %133
- destroy_value %2 : ${ var Information }, loc "Information.swift":49:5, scope 35 // id: %134
- %135 = enum $Optional<Information>, #Optional.none!enumelt, scope 35 // user: %136
- br bb16(%135 : $Optional<Information>), scope 35 // id: %136
- // %137 // user: %138
- bb16(%137 : $Optional<Information>): // Preds: bb14 bb15
- return %137 : $Optional<Information>, scope 35 // id: %138
- bb17(%139 : $Error): // Preds: bb9
- unreachable , loc "Information.swift":44:69, scope 36 // id: %140
- } // end sil function '_TFC3gpa11InformationcfT5coderCSo7NSCoder_GSqS0__'
- // ?? infix<A> (A?, @autoclosure () throws -> A) throws -> A
- 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)
- // String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- sil [readonly] [_semantics "string.makeUTF8"] @_TFSSCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__SS : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String
- // _bridgeAnyObjectToAny(AnyObject?) -> Any
- sil @_TFs21_bridgeAnyObjectToAnyFGSqPs9AnyObject__P_ : $@convention(thin) (@owned Optional<AnyObject>) -> @out Any
- sil_scope 38 { parent @_TFFC3gpa11InformationcFT5coderCSo7NSCoder_GSqS0__u_KzT_SS : $@convention(thin) () -> (@owned String, @error Error) }
- // Information.(init(coder : NSCoder) -> Information?).(implicit closure #1)
- sil shared [transparent] @_TFFC3gpa11InformationcFT5coderCSo7NSCoder_GSqS0__u_KzT_SS : $@convention(thin) () -> (@owned String, @error Error) {
- bb0:
- debug_value undef : $Error, var, name "$error", argno 1, loc "Information.swift":44:72, scope 38 // id: %0
- %1 = string_literal utf8 "Classy McClassFace", loc "Information.swift":44:72, scope 38 // user: %6
- %2 = integer_literal $Builtin.Word, 18, loc "Information.swift":44:72, scope 38 // user: %6
- %3 = integer_literal $Builtin.Int1, -1, loc "Information.swift":44:72, scope 38 // user: %6
- %4 = metatype $@thin String.Type, loc "Information.swift":44:72, scope 38 // user: %6
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- return %6 : $String, scope 38 // id: %7
- } // end sil function '_TFFC3gpa11InformationcFT5coderCSo7NSCoder_GSqS0__u_KzT_SS'
- sil_scope 39 { parent @_TTRXFo__oSSzoPs5Error__XFo__iSSzoPS___ : $@convention(thin) (@owned @callee_owned () -> (@owned String, @error Error)) -> (@out String, @error Error) }
- // thunk
- sil shared [transparent] [reabstraction_thunk] @_TTRXFo__oSSzoPs5Error__XFo__iSSzoPS___ : $@convention(thin) (@owned @callee_owned () -> (@owned String, @error Error)) -> (@out String, @error Error) {
- // %0 // user: %4
- // %1 // user: %2
- bb0(%0 : $*String, %1 : $@callee_owned () -> (@owned String, @error Error)):
- try_apply %1() : $@callee_owned () -> (@owned String, @error Error), normal bb1, error bb2, scope 39 // id: %2
- // %3 // user: %4
- bb1(%3 : $String): // Preds: bb0
- store %3 to [init] %0 : $*String, scope 39 // id: %4
- %5 = tuple (), scope 39 // user: %6
- return %5 : $(), scope 39 // id: %6
- // %7 // users: %9, %8
- bb2(%7 : $Error): // Preds: bb0
- %8 = builtin "willThrow"(%7 : $Error) : $(), scope 39
- throw %7 : $Error, scope 39 // id: %9
- } // end sil function '_TTRXFo__oSSzoPs5Error__XFo__iSSzoPS___'
- sil_scope 40 { loc "Information.swift":43:33 parent @_TToFC3gpa11InformationcfT5coderCSo7NSCoder_GSqS0__ : $@convention(objc_method) (NSCoder, @owned Information) -> @owned Optional<Information> }
- // @objc Information.init(coder : NSCoder) -> Information?
- sil hidden [thunk] @_TToFC3gpa11InformationcfT5coderCSo7NSCoder_GSqS0__ : $@convention(objc_method) (NSCoder, @owned Information) -> @owned Optional<Information> {
- // %0 // user: %2
- // %1 // user: %4
- bb0(%0 : $NSCoder, %1 : $Information):
- %2 = copy_value %0 : $NSCoder, scope 40 // user: %4
- // function_ref Information.init(coder : NSCoder) -> Information?
- %3 = function_ref @_TFC3gpa11InformationcfT5coderCSo7NSCoder_GSqS0__ : $@convention(method) (@owned NSCoder, @owned Information) -> @owned Optional<Information>, scope 40 // user: %4
- %4 = apply %3(%2, %1) : $@convention(method) (@owned NSCoder, @owned Information) -> @owned Optional<Information>, scope 40 // user: %5
- return %4 : $Optional<Information>, scope 40 // id: %5
- } // end sil function '_TToFC3gpa11InformationcfT5coderCSo7NSCoder_GSqS0__'
- sil_scope 41 { loc "Information.swift":51:17 parent @_TFC3gpa11Information6encodefT4withCSo7NSCoder_T_ : $@convention(method) (@owned NSCoder, @guaranteed Information) -> () }
- sil_scope 42 { loc "Information.swift":56:5 parent 41 }
- // Information.encode(with : NSCoder) -> ()
- sil hidden @_TFC3gpa11Information6encodefT4withCSo7NSCoder_T_ : $@convention(method) (@owned NSCoder, @guaranteed Information) -> () {
- // %0 // users: %66, %63, %52, %49, %38, %35, %24, %19, %4, %2
- // %1 // users: %54, %53, %40, %39, %26, %25, %6, %5, %3
- bb0(%0 : $NSCoder, %1 : $Information):
- debug_value %0 : $NSCoder, let, name "aCoder", argno 1, loc "Information.swift":51:29, scope 41 // id: %2
- debug_value %1 : $Information, let, name "self", argno 2, loc "Information.swift":51:17, scope 41 // id: %3
- %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
- %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
- %6 = apply %5(%1) : $@convention(method) (@guaranteed Information) -> @owned String, loc "Information.swift":52:23, scope 42 // users: %23, %8
- // function_ref String._bridgeToObjectiveC() -> NSString
- %7 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "Information.swift":52:23, scope 42 // user: %8
- %8 = apply %7(%6) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "Information.swift":52:23, scope 42 // users: %22, %9
- %9 = init_existential_ref %8 : $NSString : $NSString, $AnyObject, loc "Information.swift":52:23, scope 42 // user: %10
- %10 = enum $Optional<AnyObject>, #Optional.some!enumelt.1, %9 : $AnyObject, loc "Information.swift":52:23, scope 42 // user: %19
- %11 = string_literal utf8 "name", loc "Information.swift":52:37, scope 42 // user: %16
- %12 = integer_literal $Builtin.Word, 4, loc "Information.swift":52:37, scope 42 // user: %16
- %13 = integer_literal $Builtin.Int1, -1, loc "Information.swift":52:37, scope 42 // user: %16
- %14 = metatype $@thin String.Type, loc "Information.swift":52:37, scope 42 // user: %16
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- // function_ref String._bridgeToObjectiveC() -> NSString
- %17 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "Information.swift":52:37, scope 42 // user: %18
- %18 = apply %17(%16) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "Information.swift":52:37, scope 42 // users: %20, %19
- %19 = apply %4(%10, %18, %0) : $@convention(objc_method) (Optional<AnyObject>, NSString, NSCoder) -> (), loc "Information.swift":52:43, scope 42
- destroy_value %18 : $NSString, loc "Information.swift":52:43, scope 42 // id: %20
- destroy_value %16 : $String, loc "Information.swift":52:43, scope 42 // id: %21
- destroy_value %8 : $NSString, loc "Information.swift":52:43, scope 42 // id: %22
- destroy_value %6 : $String, loc "Information.swift":52:43, scope 42 // id: %23
- %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
- %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
- %26 = apply %25(%1) : $@convention(method) (@guaranteed Information) -> Int, loc "Information.swift":53:23, scope 42 // user: %35
- %27 = string_literal utf8 "grade", loc "Information.swift":53:38, scope 42 // user: %32
- %28 = integer_literal $Builtin.Word, 5, loc "Information.swift":53:38, scope 42 // user: %32
- %29 = integer_literal $Builtin.Int1, -1, loc "Information.swift":53:38, scope 42 // user: %32
- %30 = metatype $@thin String.Type, loc "Information.swift":53:38, scope 42 // user: %32
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- // function_ref String._bridgeToObjectiveC() -> NSString
- %33 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "Information.swift":53:38, scope 42 // user: %34
- %34 = apply %33(%32) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "Information.swift":53:38, scope 42 // users: %36, %35
- %35 = apply %24(%26, %34, %0) : $@convention(objc_method) (Int, NSString, NSCoder) -> (), loc "Information.swift":53:45, scope 42
- destroy_value %34 : $NSString, loc "Information.swift":53:45, scope 42 // id: %36
- destroy_value %32 : $String, loc "Information.swift":53:45, scope 42 // id: %37
- %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
- %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
- %40 = apply %39(%1) : $@convention(method) (@guaranteed Information) -> Double, loc "Information.swift":54:23, scope 42 // user: %49
- %41 = string_literal utf8 "multiplier", loc "Information.swift":54:43, scope 42 // user: %46
- %42 = integer_literal $Builtin.Word, 10, loc "Information.swift":54:43, scope 42 // user: %46
- %43 = integer_literal $Builtin.Int1, -1, loc "Information.swift":54:43, scope 42 // user: %46
- %44 = metatype $@thin String.Type, loc "Information.swift":54:43, scope 42 // user: %46
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- // function_ref String._bridgeToObjectiveC() -> NSString
- %47 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "Information.swift":54:43, scope 42 // user: %48
- %48 = apply %47(%46) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "Information.swift":54:43, scope 42 // users: %50, %49
- %49 = apply %38(%40, %48, %0) : $@convention(objc_method) (Double, NSString, NSCoder) -> (), loc "Information.swift":54:55, scope 42
- destroy_value %48 : $NSString, loc "Information.swift":54:55, scope 42 // id: %50
- destroy_value %46 : $String, loc "Information.swift":54:55, scope 42 // id: %51
- %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
- %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
- %54 = apply %53(%1) : $@convention(method) (@guaranteed Information) -> Double, loc "Information.swift":55:23, scope 42 // user: %63
- %55 = string_literal utf8 "credits", loc "Information.swift":55:40, scope 42 // user: %60
- %56 = integer_literal $Builtin.Word, 7, loc "Information.swift":55:40, scope 42 // user: %60
- %57 = integer_literal $Builtin.Int1, -1, loc "Information.swift":55:40, scope 42 // user: %60
- %58 = metatype $@thin String.Type, loc "Information.swift":55:40, scope 42 // user: %60
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- // function_ref String._bridgeToObjectiveC() -> NSString
- %61 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "Information.swift":55:40, scope 42 // user: %62
- %62 = apply %61(%60) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "Information.swift":55:40, scope 42 // users: %64, %63
- %63 = apply %52(%54, %62, %0) : $@convention(objc_method) (Double, NSString, NSCoder) -> (), loc "Information.swift":55:49, scope 42
- destroy_value %62 : $NSString, loc "Information.swift":55:49, scope 42 // id: %64
- destroy_value %60 : $String, loc "Information.swift":55:49, scope 42 // id: %65
- destroy_value %0 : $NSCoder, loc "Information.swift":56:5, scope 42 // id: %66
- %67 = tuple (), loc "Information.swift":56:5, scope 42 // user: %68
- return %67 : $(), loc "Information.swift":56:5, scope 42 // id: %68
- } // end sil function '_TFC3gpa11Information6encodefT4withCSo7NSCoder_T_'
- sil_scope 43 { loc "Information.swift":51:17 parent @_TToFC3gpa11Information6encodefT4withCSo7NSCoder_T_ : $@convention(objc_method) (NSCoder, Information) -> () }
- // @objc Information.encode(with : NSCoder) -> ()
- sil hidden [thunk] @_TToFC3gpa11Information6encodefT4withCSo7NSCoder_T_ : $@convention(objc_method) (NSCoder, Information) -> () {
- // %0 // user: %2
- // %1 // user: %3
- bb0(%0 : $NSCoder, %1 : $Information):
- %2 = copy_value %0 : $NSCoder, scope 43 // user: %5
- %3 = copy_value %1 : $Information, scope 43 // users: %6, %5
- // function_ref Information.encode(with : NSCoder) -> ()
- %4 = function_ref @_TFC3gpa11Information6encodefT4withCSo7NSCoder_T_ : $@convention(method) (@owned NSCoder, @guaranteed Information) -> (), scope 43 // user: %5
- %5 = apply %4(%2, %3) : $@convention(method) (@owned NSCoder, @guaranteed Information) -> (), scope 43 // user: %7
- destroy_value %3 : $Information, scope 43 // id: %6
- return %5 : $(), scope 43 // id: %7
- } // end sil function '_TToFC3gpa11Information6encodefT4withCSo7NSCoder_T_'
- sil_scope 44 { loc "Information.swift":58:24 parent @_TZFC3gpa11Information15initializeArrayfT_T_ : $@convention(method) (@thick Information.Type) -> () }
- sil_scope 45 { loc "Information.swift":65:5 parent 44 }
- sil_scope 46 { loc "Information.swift":61:100 parent 45 }
- sil_scope 47 { loc "Information.swift":63:9 parent 45 }
- // static Information.initializeArray() -> ()
- sil hidden @_TZFC3gpa11Information15initializeArrayfT_T_ : $@convention(method) (@thick Information.Type) -> () {
- // %0 // user: %1
- bb0(%0 : $@thick Information.Type):
- debug_value %0 : $@thick Information.Type, let, name "self", argno 1, loc "Information.swift":58:24, scope 44 // id: %1
- %2 = metatype $@thick Information.Type, loc "Information.swift":60:26, scope 45
- // function_ref Information.keyValueStore.unsafeMutableAddressor
- %3 = function_ref @_TFC3gpa11Informationau13keyValueStoreCSo25NSUbiquitousKeyValueStore : $@convention(thin) () -> Builtin.RawPointer, loc "Information.swift":60:38, scope 45 // user: %4
- %4 = apply %3() : $@convention(thin) () -> Builtin.RawPointer, loc "Information.swift":60:38, scope 45 // user: %5
- %5 = pointer_to_address %4 : $Builtin.RawPointer to [strict] $*NSUbiquitousKeyValueStore, loc "Information.swift":60:38, scope 45 // user: %6
- %6 = load [copy] %5 : $*NSUbiquitousKeyValueStore, loc "Information.swift":60:38, scope 45 // users: %40, %34, %16, %7
- %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
- %8 = string_literal utf8 "savedList", loc "Information.swift":60:65, scope 45 // user: %13
- %9 = integer_literal $Builtin.Word, 9, loc "Information.swift":60:65, scope 45 // user: %13
- %10 = integer_literal $Builtin.Int1, -1, loc "Information.swift":60:65, scope 45 // user: %13
- %11 = metatype $@thin String.Type, loc "Information.swift":60:65, scope 45 // user: %13
- // function_ref String.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> String
- %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
- %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
- // function_ref String._bridgeToObjectiveC() -> NSString
- %14 = function_ref @_TFE10FoundationSS19_bridgeToObjectiveCfT_CSo8NSString : $@convention(method) (@guaranteed String) -> @owned NSString, loc "Information.swift":60:65, scope 45 // user: %15
- %15 = apply %14(%13) : $@convention(method) (@guaranteed String) -> @owned NSString, loc "Information.swift":60:65, scope 45 // users: %38, %32, %16
- %16 = apply %7(%15, %6) : $@convention(objc_method) (NSString, NSUbiquitousKeyValueStore) -> @autoreleased Optional<NSData>, loc "Information.swift":60:76, scope 45 // users: %21, %19
- %17 = integer_literal $Builtin.Int1, -1, loc "Information.swift":60:76, scope 45 // user: %19
- %18 = integer_literal $Builtin.Int1, 0, loc "Information.swift":60:76, scope 45 // user: %19
- %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
- cond_br %19, bb1, bb2, loc "Information.swift":60:76, scope 45 // id: %20
- bb1: // Preds: bb0
- %21 = unchecked_enum_data %16 : $Optional<NSData>, #Optional.some!enumelt.1, loc "Information.swift":60:76, scope 45 // user: %23
- // function_ref static Data._unconditionallyBridgeFromObjectiveC(NSData?) -> Data
- %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
- %23 = enum $Optional<NSData>, #Optional.some!enumelt.1, %21 : $NSData, loc "Information.swift":60:76, scope 45 // user: %25
- %24 = metatype $@thin Data.Type, loc "Information.swift":60:76, scope 45 // user: %25
- %25 = apply %22(%23, %24) : $@convention(method) (@owned Optional<NSData>, @thin Data.Type) -> @owned Data, loc "Information.swift":60:76, scope 45 // user: %26
- %26 = enum $Optional<Data>, #Optional.some!enumelt.1, %25 : $Data, loc "Information.swift":60:76, scope 45 // user: %27
- br bb3(%26 : $Optional<Data>), loc "Information.swift":60:76, scope 45 // id: %27
- bb2: // Preds: bb0
- %28 = enum $Optional<Data>, #Optional.none!enumelt, loc "Information.swift":60:76, scope 45 // user: %29
- br bb3(%28 : $Optional<Data>), loc "Information.swift":60:76, scope 45 // id: %29
- // %30 // user: %31
- bb3(%30 : $Optional<Data>): // Preds: bb2 bb1
- switch_enum %30 : $Optional<Data>, case #Optional.some!enumelt.1: bb5, default bb4, loc "Information.swift":60:76, scope 45 // id: %31
- bb4: // Preds: bb3
- destroy_value %15 : $NSString, loc "Information.swift":63:9, scope 45 // id: %32
- destroy_value %13 : $String, loc "Information.swift":63:9, scope 45 // id: %33
- destroy_value %6 : $NSUbiquitousKeyValueStore, loc "Information.swift":63:9, scope 45 // id: %34
- br bb18, loc "Information.swift":60:76, scope 45 // id: %35
- // %36 // users: %105, %94, %45, %37
- bb5(%36 : $Data): // Preds: bb3
- debug_value %36 : $Data, let, name "data", loc "Information.swift":60:19, scope 45 // id: %37
- destroy_value %15 : $NSString, loc "Information.swift":60:76, scope 45 // id: %38
- destroy_value %13 : $String, loc "Information.swift":60:76, scope 45 // id: %39
- destroy_value %6 : $NSUbiquitousKeyValueStore, loc "Information.swift":60:76, scope 45 // id: %40
- %41 = alloc_stack $Optional<Any>, loc "Information.swift":61:56, scope 45 // users: %90, %76, %74, %69, %66
- %42 = metatype $@thick NSKeyedUnarchiver.Type, loc "Information.swift":61:38, scope 45 // users: %44, %43
- %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
- %44 = thick_to_objc_metatype %42 : $@thick NSKeyedUnarchiver.Type to $@objc_metatype NSKeyedUnarchiver.Type, loc "Information.swift":61:38, scope 45 // user: %48
- %45 = copy_value %36 : $Data, loc "Information.swift":61:78, scope 45 // users: %89, %73, %47
- // function_ref Data._bridgeToObjectiveC() -> NSData
- %46 = function_ref @_TFV10Foundation4Data19_bridgeToObjectiveCfT_CSo6NSData : $@convention(method) (@guaranteed Data) -> @owned NSData, loc "Information.swift":61:78, scope 45 // user: %47
- %47 = apply %46(%45) : $@convention(method) (@guaranteed Data) -> @owned NSData, loc "Information.swift":61:78, scope 45 // users: %88, %72, %48
- %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
- %49 = alloc_stack $Optional<Any>, loc "Information.swift":61:82, scope 45 // users: %87, %71, %66, %64, %61, %59
- %50 = integer_literal $Builtin.Int1, -1, loc "Information.swift":61:82, scope 45 // user: %52
- %51 = integer_literal $Builtin.Int1, 0, loc "Information.swift":61:82, scope 45 // user: %52
- %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
- cond_br %52, bb6, bb7, loc "Information.swift":61:82, scope 45 // id: %53
- bb6: // Preds: bb5
- %54 = unchecked_enum_data %48 : $Optional<AnyObject>, #Optional.some!enumelt.1, loc "Information.swift":61:82, scope 45 // user: %55
- %55 = unchecked_ref_cast %54 : $AnyObject to $Optional<AnyObject>, loc "Information.swift":61:82, scope 45 // user: %58
- // function_ref _bridgeAnyObjectToAny(AnyObject?) -> Any
- %56 = function_ref @_TFs21_bridgeAnyObjectToAnyFGSqPs9AnyObject__P_ : $@convention(thin) (@owned Optional<AnyObject>) -> @out Any, loc "Information.swift":61:82, scope 45 // user: %58
- %57 = alloc_stack $Any, loc "Information.swift":61:82, scope 45 // users: %62, %60, %58
- %58 = apply %56(%57, %55) : $@convention(thin) (@owned Optional<AnyObject>) -> @out Any, loc "Information.swift":61:82, scope 45
- %59 = init_enum_data_addr %49 : $*Optional<Any>, #Optional.some!enumelt.1, loc "Information.swift":61:82, scope 45 // user: %60
- copy_addr [take] %57 to [initialization] %59 : $*Any, loc "Information.swift":61:82, scope 45 // id: %60
- inject_enum_addr %49 : $*Optional<Any>, #Optional.some!enumelt.1, loc "Information.swift":61:82, scope 45 // id: %61
- dealloc_stack %57 : $*Any, loc "Information.swift":61:82, scope 45 // id: %62
- br bb8, loc "Information.swift":61:82, scope 45 // id: %63
- bb7: // Preds: bb5
- inject_enum_addr %49 : $*Optional<Any>, #Optional.none!enumelt, loc "Information.swift":61:82, scope 45 // id: %64
- br bb8, loc "Information.swift":61:82, scope 45 // id: %65
- bb8: // Preds: bb7 bb6
- copy_addr [take] %49 to [initialization] %41 : $*Optional<Any>, loc "Information.swift":61:82, scope 45 // id: %66
- %67 = integer_literal $Builtin.Int1, -1, loc "Information.swift":61:56, scope 45 // user: %69
- %68 = integer_literal $Builtin.Int1, 0, loc "Information.swift":61:56, scope 45 // user: %69
- %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
- cond_br %69, bb10, bb9, loc "Information.swift":61:56, scope 45 // id: %70
- bb9: // Preds: bb8
- dealloc_stack %49 : $*Optional<Any>, loc "Information.swift":61:100, scope 45 // id: %71
- destroy_value %47 : $NSData, loc "Information.swift":61:100, scope 45 // id: %72
- destroy_value %45 : $Data, loc "Information.swift":61:100, scope 45 // id: %73
- dealloc_stack %41 : $*Optional<Any>, loc "Information.swift":61:100, scope 45 // id: %74
- br bb17, loc "Information.swift":61:56, scope 45 // id: %75
- bb10: // Preds: bb8
- %76 = unchecked_take_enum_data_addr %41 : $*Optional<Any>, #Optional.some!enumelt.1, loc "Information.swift":61:56, scope 45 // user: %78
- %77 = alloc_stack $Array<Information>, loc "Information.swift":61:84, scope 46 // users: %84, %81, %79, %78
- 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
- bb11: // Preds: bb10
- %79 = load [take] %77 : $*Array<Information>, loc "Information.swift":61:84, scope 46 // user: %80
- %80 = enum $Optional<Array<Information>>, #Optional.some!enumelt.1, %79 : $Array<Information>, loc "Information.swift":61:84, scope 46 // user: %82
- dealloc_stack %77 : $*Array<Information>, loc "Information.swift":61:100, scope 46 // id: %81
- br bb13(%80 : $Optional<Array<Information>>), loc "Information.swift":61:84, scope 46 // id: %82
- bb12: // Preds: bb10
- %83 = enum $Optional<Array<Information>>, #Optional.none!enumelt, loc "Information.swift":61:84, scope 46 // user: %85
- dealloc_stack %77 : $*Array<Information>, loc "Information.swift":61:100, scope 46 // id: %84
- br bb13(%83 : $Optional<Array<Information>>), loc "Information.swift":61:84, scope 46 // id: %85
- // %86 // user: %91
- bb13(%86 : $Optional<Array<Information>>): // Preds: bb12 bb11
- dealloc_stack %49 : $*Optional<Any>, loc "Information.swift":61:100, scope 45 // id: %87
- destroy_value %47 : $NSData, loc "Information.swift":61:100, scope 45 // id: %88
- destroy_value %45 : $Data, loc "Information.swift":61:100, scope 45 // id: %89
- dealloc_stack %41 : $*Optional<Any>, loc "Information.swift":61:100, scope 45 // id: %90
- br bb14(%86 : $Optional<Array<Information>>), loc "Information.swift":61:84, scope 45 // id: %91
- // %92 // user: %93
- bb14(%92 : $Optional<Array<Information>>): // Preds: bb17 bb13
- switch_enum %92 : $Optional<Array<Information>>, case #Optional.some!enumelt.1: bb16, default bb15, loc "Information.swift":61:84, scope 45 // id: %93
- bb15: // Preds: bb14
- destroy_value %36 : $Data, loc "Information.swift":63:9, scope 45 // id: %94
- br bb18, loc "Information.swift":61:84, scope 45 // id: %95
- // %96 // users: %104, %102, %97
- bb16(%96 : $Array<Information>): // Preds: bb14
- debug_value %96 : $Array<Information>, let, name "classesAndGrades", loc "Information.swift":61:19, scope 45 // id: %97
- %98 = metatype $@thick Information.Type, loc "Information.swift":64:9, scope 45
- // function_ref Information.classesAndGrades.unsafeMutableAddressor
- %99 = function_ref @_TFC3gpa11Informationau16classesAndGradesGSaS0__ : $@convention(thin) () -> Builtin.RawPointer, loc "Information.swift":64:21, scope 45 // user: %100
- %100 = apply %99() : $@convention(thin) () -> Builtin.RawPointer, loc "Information.swift":64:21, scope 45 // user: %101
- %101 = pointer_to_address %100 : $Builtin.RawPointer to [strict] $*Array<Information>, loc "Information.swift":64:21, scope 45 // user: %103
- %102 = copy_value %96 : $Array<Information>, loc "Information.swift":64:40, scope 45 // user: %103
- assign %102 to %101 : $*Array<Information>, loc "Information.swift":64:38, scope 45 // id: %103
- destroy_value %96 : $Array<Information>, loc "Information.swift":65:5, scope 45 // id: %104
- destroy_value %36 : $Data, loc "Information.swift":65:5, scope 45 // id: %105
- br bb19, loc "Information.swift":65:5, scope 45 // id: %106
- bb17: // Preds: bb9
- %107 = enum $Optional<Array<Information>>, #Optional.none!enumelt, loc "Information.swift":61:84, scope 45 // user: %108
- br bb14(%107 : $Optional<Array<Information>>), loc "Information.swift":61:84, scope 45 // id: %108
- bb18: // Preds: bb15 bb4
- br bb19, loc "Information.swift":62:13, scope 47 // id: %109
- bb19: // Preds: bb16 bb18
- %110 = tuple (), loc "Information.swift":65:5, scope 45 // user: %111
- return %110 : $(), loc "Information.swift":65:5, scope 45 // id: %111
- } // end sil function '_TZFC3gpa11Information15initializeArrayfT_T_'
- // static Data._unconditionallyBridgeFromObjectiveC(NSData?) -> Data
- sil @_TZFV10Foundation4Data36_unconditionallyBridgeFromObjectiveCfGSqCSo6NSData_S0_ : $@convention(method) (@owned Optional<NSData>, @thin Data.Type) -> @owned Data
- // Data._bridgeToObjectiveC() -> NSData
- sil [_semantics "convertToObjectiveC"] @_TFV10Foundation4Data19_bridgeToObjectiveCfT_CSo6NSData : $@convention(method) (@guaranteed Data) -> @owned NSData
- sil_scope 48 { loc "Information.swift":58:24 parent @_TToZFC3gpa11Information15initializeArrayfT_T_ : $@convention(objc_method) (@objc_metatype Information.Type) -> () }
- // @objc static Information.initializeArray() -> ()
- sil hidden [thunk] @_TToZFC3gpa11Information15initializeArrayfT_T_ : $@convention(objc_method) (@objc_metatype Information.Type) -> () {
- // %0 // user: %1
- bb0(%0 : $@objc_metatype Information.Type):
- %1 = objc_to_thick_metatype %0 : $@objc_metatype Information.Type to $@thick Information.Type, scope 48 // user: %3
- // function_ref static Information.initializeArray() -> ()
- %2 = function_ref @_TZFC3gpa11Information15initializeArrayfT_T_ : $@convention(method) (@thick Information.Type) -> (), scope 48 // user: %3
- %3 = apply %2(%1) : $@convention(method) (@thick Information.Type) -> (), scope 48 // user: %4
- return %3 : $(), scope 48 // id: %4
- } // end sil function '_TToZFC3gpa11Information15initializeArrayfT_T_'
- sil_scope 49 { loc "Information.swift":25:7 parent @_TFC3gpa11InformationD : $@convention(method) (@owned Information) -> () }
- sil_scope 50 { loc "Information.swift":25:7 parent 49 }
- // Information.__deallocating_deinit
- sil hidden @_TFC3gpa11InformationD : $@convention(method) (@owned Information) -> () {
- // %0 // users: %3, %2, %1
- bb0(%0 : $Information):
- debug_value %0 : $Information, let, name "self", argno 1, loc "Information.swift":25:7, scope 49 // id: %1
- %2 = super_method %0 : $Information, #NSObject.deinit!deallocator.foreign : (NSObject) -> () -> () , $@convention(objc_method) (NSObject) -> (), scope 50 // user: %4
- %3 = upcast %0 : $Information to $NSObject, scope 50 // user: %4
- %4 = apply %2(%3) : $@convention(objc_method) (NSObject) -> (), scope 50
- %5 = tuple (), scope 50 // user: %6
- return %5 : $(), scope 50 // id: %6
- } // end sil function '_TFC3gpa11InformationD'
- sil_scope 51 { loc "Information.swift":25:7 parent @_TToFC3gpa11InformationE : $@convention(objc_method) (Information) -> () }
- // @objc Information.__ivar_destroyer
- sil hidden @_TToFC3gpa11InformationE : $@convention(objc_method) (Information) -> () {
- // %0 // users: %2, %1
- bb0(%0 : $Information):
- debug_value %0 : $Information, let, name "self", argno 1, loc "Information.swift":25:7, scope 51 // id: %1
- %2 = ref_element_addr %0 : $Information, #Information.name, scope 51 // user: %3
- destroy_addr %2 : $*String, scope 51 // id: %3
- %4 = tuple (), scope 51 // user: %5
- return %4 : $(), scope 51 // id: %5
- } // end sil function '_TToFC3gpa11InformationE'
- sil_scope 52 { loc "Information.swift":27:16 parent @_TZFC3gpa11Informationg16classesAndGradesGSaS0__ : $@convention(method) (@thick Information.Type) -> @owned Array<Information> }
- sil_scope 53 { loc "Information.swift":27:16 parent 52 }
- // static Information.classesAndGrades.getter
- sil hidden @_TZFC3gpa11Informationg16classesAndGradesGSaS0__ : $@convention(method) (@thick Information.Type) -> @owned Array<Information> {
- // %0 // user: %1
- bb0(%0 : $@thick Information.Type):
- debug_value %0 : $@thick Information.Type, let, name "self", argno 1, loc "Information.swift":27:16, scope 52 // id: %1
- // function_ref Information.classesAndGrades.unsafeMutableAddressor
- %2 = function_ref @_TFC3gpa11Informationau16classesAndGradesGSaS0__ : $@convention(thin) () -> Builtin.RawPointer, scope 53 // user: %3
- %3 = apply %2() : $@convention(thin) () -> Builtin.RawPointer, scope 53 // user: %4
- %4 = pointer_to_address %3 : $Builtin.RawPointer to [strict] $*Array<Information>, scope 53 // user: %5
- %5 = load [copy] %4 : $*Array<Information>, scope 53 // user: %6
- return %5 : $Array<Information>, loc "Information.swift":27:16, scope 53 // id: %6
- } // end sil function '_TZFC3gpa11Informationg16classesAndGradesGSaS0__'
- sil_scope 54 { loc "Information.swift":27:16 parent @_TToZFC3gpa11Informationg16classesAndGradesGSaS0__ : $@convention(objc_method) (@objc_metatype Information.Type) -> @autoreleased NSArray }
- // @objc static Information.classesAndGrades.getter
- sil hidden [thunk] @_TToZFC3gpa11Informationg16classesAndGradesGSaS0__ : $@convention(objc_method) (@objc_metatype Information.Type) -> @autoreleased NSArray {
- // %0 // user: %1
- bb0(%0 : $@objc_metatype Information.Type):
- %1 = objc_to_thick_metatype %0 : $@objc_metatype Information.Type to $@thick Information.Type, scope 54 // user: %3
- // function_ref static Information.classesAndGrades.getter
- %2 = function_ref @_TZFC3gpa11Informationg16classesAndGradesGSaS0__ : $@convention(method) (@thick Information.Type) -> @owned Array<Information>, scope 54 // user: %3
- %3 = apply %2(%1) : $@convention(method) (@thick Information.Type) -> @owned Array<Information>, scope 54 // users: %6, %5
- // function_ref Array._bridgeToObjectiveC() -> NSArray
- %4 = function_ref @_TFE10FoundationSa19_bridgeToObjectiveCfT_CSo7NSArray : $@convention(method) <τ_0_0> (@guaranteed Array<τ_0_0>) -> @owned NSArray, scope 54 // user: %5
- %5 = apply %4<Information>(%3) : $@convention(method) <τ_0_0> (@guaranteed Array<τ_0_0>) -> @owned NSArray, scope 54 // user: %7
- destroy_value %3 : $Array<Information>, scope 54 // id: %6
- return %5 : $NSArray, scope 54 // id: %7
- } // end sil function '_TToZFC3gpa11Informationg16classesAndGradesGSaS0__'
- // Array._bridgeToObjectiveC() -> NSArray
- sil [_semantics "convertToObjectiveC"] @_TFE10FoundationSa19_bridgeToObjectiveCfT_CSo7NSArray : $@convention(method) <τ_0_0> (@guaranteed Array<τ_0_0>) -> @owned NSArray
- sil_scope 55 { loc "Information.swift":27:16 parent @_TZFC3gpa11Informations16classesAndGradesGSaS0__ : $@convention(method) (@owned Array<Information>, @thick Information.Type) -> () }
- sil_scope 56 { loc "Information.swift":27:16 parent 55 }
- // static Information.classesAndGrades.setter
- sil hidden @_TZFC3gpa11Informations16classesAndGradesGSaS0__ : $@convention(method) (@owned Array<Information>, @thick Information.Type) -> () {
- // %0 // users: %9, %7, %2
- // %1 // user: %3
- bb0(%0 : $Array<Information>, %1 : $@thick Information.Type):
- debug_value %0 : $Array<Information>, let, name "value", argno 1, loc "Information.swift":27:16, scope 55 // id: %2
- debug_value %1 : $@thick Information.Type, let, name "self", argno 2, loc "Information.swift":27:16, scope 55 // id: %3
- // function_ref Information.classesAndGrades.unsafeMutableAddressor
- %4 = function_ref @_TFC3gpa11Informationau16classesAndGradesGSaS0__ : $@convention(thin) () -> Builtin.RawPointer, scope 56 // user: %5
- %5 = apply %4() : $@convention(thin) () -> Builtin.RawPointer, scope 56 // user: %6
- %6 = pointer_to_address %5 : $Builtin.RawPointer to [strict] $*Array<Information>, scope 56 // user: %8
- %7 = copy_value %0 : $Array<Information>, scope 56 // user: %8
- assign %7 to %6 : $*Array<Information>, scope 56 // id: %8
- destroy_value %0 : $Array<Information>, loc "Information.swift":27:16, scope 56 // id: %9
- %10 = tuple (), loc "Information.swift":27:16, scope 56 // user: %11
- return %10 : $(), loc "Information.swift":27:16, scope 56 // id: %11
- } // end sil function '_TZFC3gpa11Informations16classesAndGradesGSaS0__'
- sil_scope 57 { loc "Information.swift":27:16 parent @_TToZFC3gpa11Informations16classesAndGradesGSaS0__ : $@convention(objc_method) (NSArray, @objc_metatype Information.Type) -> () }
- // @objc static Information.classesAndGrades.setter
- sil hidden [thunk] @_TToZFC3gpa11Informations16classesAndGradesGSaS0__ : $@convention(objc_method) (NSArray, @objc_metatype Information.Type) -> () {
- // %0 // user: %2
- // %1 // user: %7
- bb0(%0 : $NSArray, %1 : $@objc_metatype Information.Type):
- %2 = copy_value %0 : $NSArray, scope 57 // user: %4
- // function_ref static Array._unconditionallyBridgeFromObjectiveC(NSArray?) -> [A]
- %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
- %4 = enum $Optional<NSArray>, #Optional.some!enumelt.1, %2 : $NSArray, scope 57 // user: %6
- %5 = metatype $@thin Array<Information>.Type, scope 57 // user: %6
- %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
- %7 = objc_to_thick_metatype %1 : $@objc_metatype Information.Type to $@thick Information.Type, scope 57 // user: %9
- // function_ref static Information.classesAndGrades.setter
- %8 = function_ref @_TZFC3gpa11Informations16classesAndGradesGSaS0__ : $@convention(method) (@owned Array<Information>, @thick Information.Type) -> (), scope 57 // user: %9
- %9 = apply %8(%6, %7) : $@convention(method) (@owned Array<Information>, @thick Information.Type) -> (), scope 57 // user: %10
- return %9 : $(), scope 57 // id: %10
- } // end sil function '_TToZFC3gpa11Informations16classesAndGradesGSaS0__'
- // static Array._unconditionallyBridgeFromObjectiveC(NSArray?) -> [A]
- sil @_TZFE10FoundationSa36_unconditionallyBridgeFromObjectiveCfGSqCSo7NSArray_GSax_ : $@convention(method) <τ_0_0> (@owned Optional<NSArray>, @thin Array<τ_0_0>.Type) -> @owned Array<τ_0_0>
- 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>) }
- // static Information.classesAndGrades.materializeForSet
- sil hidden @_TZFC3gpa11Informationm16classesAndGradesGSaS0__ : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @thick Information.Type) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) {
- bb0(%0 : $Builtin.RawPointer, %1 : $*Builtin.UnsafeValueBuffer, %2 : $@thick Information.Type):
- // function_ref Information.classesAndGrades.unsafeMutableAddressor
- %3 = function_ref @_TFC3gpa11Informationau16classesAndGradesGSaS0__ : $@convention(thin) () -> Builtin.RawPointer, scope 58 // user: %4
- %4 = apply %3() : $@convention(thin) () -> Builtin.RawPointer, scope 58 // user: %5
- %5 = pointer_to_address %4 : $Builtin.RawPointer to [strict] $*Array<Information>, scope 58 // user: %6
- %6 = address_to_pointer %5 : $*Array<Information> to $Builtin.RawPointer, scope 58 // user: %8
- %7 = enum $Optional<Builtin.RawPointer>, #Optional.none!enumelt, scope 58 // user: %8
- %8 = tuple (%6 : $Builtin.RawPointer, %7 : $Optional<Builtin.RawPointer>), scope 58 // user: %9
- return %8 : $(Builtin.RawPointer, Optional<Builtin.RawPointer>), scope 58 // id: %9
- } // end sil function '_TZFC3gpa11Informationm16classesAndGradesGSaS0__'
- sil_scope 59 { loc "Information.swift":28:16 parent @_TZFC3gpa11Informationg13keyValueStoreCSo25NSUbiquitousKeyValueStore : $@convention(method) (@thick Information.Type) -> @owned NSUbiquitousKeyValueStore }
- sil_scope 60 { loc "Information.swift":28:16 parent 59 }
- // static Information.keyValueStore.getter
- sil hidden @_TZFC3gpa11Informationg13keyValueStoreCSo25NSUbiquitousKeyValueStore : $@convention(method) (@thick Information.Type) -> @owned NSUbiquitousKeyValueStore {
- // %0 // user: %1
- bb0(%0 : $@thick Information.Type):
- debug_value %0 : $@thick Information.Type, let, name "self", argno 1, loc "Information.swift":28:16, scope 59 // id: %1
- // function_ref Information.keyValueStore.unsafeMutableAddressor
- %2 = function_ref @_TFC3gpa11Informationau13keyValueStoreCSo25NSUbiquitousKeyValueStore : $@convention(thin) () -> Builtin.RawPointer, scope 60 // user: %3
- %3 = apply %2() : $@convention(thin) () -> Builtin.RawPointer, scope 60 // user: %4
- %4 = pointer_to_address %3 : $Builtin.RawPointer to [strict] $*NSUbiquitousKeyValueStore, scope 60 // user: %5
- %5 = load [copy] %4 : $*NSUbiquitousKeyValueStore, scope 60 // user: %6
- return %5 : $NSUbiquitousKeyValueStore, loc "Information.swift":28:16, scope 60 // id: %6
- } // end sil function '_TZFC3gpa11Informationg13keyValueStoreCSo25NSUbiquitousKeyValueStore'
- sil_scope 61 { loc "Information.swift":28:16 parent @_TToZFC3gpa11Informationg13keyValueStoreCSo25NSUbiquitousKeyValueStore : $@convention(objc_method) (@objc_metatype Information.Type) -> @autoreleased NSUbiquitousKeyValueStore }
- // @objc static Information.keyValueStore.getter
- sil hidden [thunk] @_TToZFC3gpa11Informationg13keyValueStoreCSo25NSUbiquitousKeyValueStore : $@convention(objc_method) (@objc_metatype Information.Type) -> @autoreleased NSUbiquitousKeyValueStore {
- // %0 // user: %1
- bb0(%0 : $@objc_metatype Information.Type):
- %1 = objc_to_thick_metatype %0 : $@objc_metatype Information.Type to $@thick Information.Type, scope 61 // user: %3
- // function_ref static Information.keyValueStore.getter
- %2 = function_ref @_TZFC3gpa11Informationg13keyValueStoreCSo25NSUbiquitousKeyValueStore : $@convention(method) (@thick Information.Type) -> @owned NSUbiquitousKeyValueStore, scope 61 // user: %3
- %3 = apply %2(%1) : $@convention(method) (@thick Information.Type) -> @owned NSUbiquitousKeyValueStore, scope 61 // user: %4
- return %3 : $NSUbiquitousKeyValueStore, scope 61 // id: %4
- } // end sil function '_TToZFC3gpa11Informationg13keyValueStoreCSo25NSUbiquitousKeyValueStore'
- sil_scope 62 { loc "Information.swift":30:9 parent @_TFC3gpa11Informationm4nameSS : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed Information) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) }
- // Information.name.materializeForSet
- sil hidden @_TFC3gpa11Informationm4nameSS : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed Information) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) {
- // %2 // user: %3
- bb0(%0 : $Builtin.RawPointer, %1 : $*Builtin.UnsafeValueBuffer, %2 : $Information):
- %3 = ref_element_addr %2 : $Information, #Information.name, scope 62 // user: %4
- %4 = address_to_pointer %3 : $*String to $Builtin.RawPointer, scope 62 // user: %6
- %5 = enum $Optional<Builtin.RawPointer>, #Optional.none!enumelt, scope 62 // user: %6
- %6 = tuple (%4 : $Builtin.RawPointer, %5 : $Optional<Builtin.RawPointer>), scope 62 // user: %7
- return %6 : $(Builtin.RawPointer, Optional<Builtin.RawPointer>), scope 62 // id: %7
- } // end sil function '_TFC3gpa11Informationm4nameSS'
- sil_scope 63 { loc "Information.swift":31:9 parent @_TFC3gpa11Informationm5gradeSi : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed Information) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) }
- // Information.grade.materializeForSet
- sil hidden @_TFC3gpa11Informationm5gradeSi : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed Information) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) {
- // %2 // user: %3
- bb0(%0 : $Builtin.RawPointer, %1 : $*Builtin.UnsafeValueBuffer, %2 : $Information):
- %3 = ref_element_addr %2 : $Information, #Information.grade, scope 63 // user: %4
- %4 = address_to_pointer %3 : $*Int to $Builtin.RawPointer, scope 63 // user: %6
- %5 = enum $Optional<Builtin.RawPointer>, #Optional.none!enumelt, scope 63 // user: %6
- %6 = tuple (%4 : $Builtin.RawPointer, %5 : $Optional<Builtin.RawPointer>), scope 63 // user: %7
- return %6 : $(Builtin.RawPointer, Optional<Builtin.RawPointer>), scope 63 // id: %7
- } // end sil function '_TFC3gpa11Informationm5gradeSi'
- sil_scope 64 { loc "Information.swift":32:9 parent @_TFC3gpa11Informationm10multiplierSd : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed Information) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) }
- // Information.multiplier.materializeForSet
- sil hidden @_TFC3gpa11Informationm10multiplierSd : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed Information) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) {
- // %2 // user: %3
- bb0(%0 : $Builtin.RawPointer, %1 : $*Builtin.UnsafeValueBuffer, %2 : $Information):
- %3 = ref_element_addr %2 : $Information, #Information.multiplier, scope 64 // user: %4
- %4 = address_to_pointer %3 : $*Double to $Builtin.RawPointer, scope 64 // user: %6
- %5 = enum $Optional<Builtin.RawPointer>, #Optional.none!enumelt, scope 64 // user: %6
- %6 = tuple (%4 : $Builtin.RawPointer, %5 : $Optional<Builtin.RawPointer>), scope 64 // user: %7
- return %6 : $(Builtin.RawPointer, Optional<Builtin.RawPointer>), scope 64 // id: %7
- } // end sil function '_TFC3gpa11Informationm10multiplierSd'
- sil_scope 65 { loc "Information.swift":33:9 parent @_TFC3gpa11Informationm7creditsSd : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed Information) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) }
- // Information.credits.materializeForSet
- sil hidden @_TFC3gpa11Informationm7creditsSd : $@convention(method) (Builtin.RawPointer, @inout Builtin.UnsafeValueBuffer, @guaranteed Information) -> (Builtin.RawPointer, Optional<Builtin.RawPointer>) {
- // %2 // user: %3
- bb0(%0 : $Builtin.RawPointer, %1 : $*Builtin.UnsafeValueBuffer, %2 : $Information):
- %3 = ref_element_addr %2 : $Information, #Information.credits, scope 65 // user: %4
- %4 = address_to_pointer %3 : $*Double to $Builtin.RawPointer, scope 65 // user: %6
- %5 = enum $Optional<Builtin.RawPointer>, #Optional.none!enumelt, scope 65 // user: %6
- %6 = tuple (%4 : $Builtin.RawPointer, %5 : $Optional<Builtin.RawPointer>), scope 65 // user: %7
- return %6 : $(Builtin.RawPointer, Optional<Builtin.RawPointer>), scope 65 // id: %7
- } // end sil function '_TFC3gpa11Informationm7creditsSd'
- sil_scope 66 { loc "Information.swift":25:39 parent @_TFC3gpa11InformationcfT_S0_ : $@convention(method) (@owned Information) -> @owned Information }
- sil_scope 67 { parent 66 }
- // Information.init() -> Information
- sil hidden @_TFC3gpa11InformationcfT_S0_ : $@convention(method) (@owned Information) -> @owned Information {
- // %0 // users: %30, %1
- bb0(%0 : $Information):
- debug_value %0 : $Information, let, name "self", scope 66 // id: %1
- // function_ref _unimplementedInitializer(className : StaticString, initName : StaticString, file : StaticString, line : UInt, column : UInt) -> Never
- %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
- %3 = string_literal utf8 "gpa.Information", loc "Information.swift":25:7, scope 67 // user: %8
- %4 = integer_literal $Builtin.Word, 15, loc "Information.swift":25:7, scope 67 // user: %8
- %5 = integer_literal $Builtin.Int1, -1, loc "Information.swift":25:7, scope 67 // user: %8
- %6 = metatype $@thin StaticString.Type, loc "Information.swift":25:7, scope 67 // user: %8
- // function_ref StaticString.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> StaticString
- %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
- %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
- %9 = string_literal utf8 "init()", loc "Information.swift":25:7, scope 67 // user: %14
- %10 = integer_literal $Builtin.Word, 6, loc "Information.swift":25:7, scope 67 // user: %14
- %11 = integer_literal $Builtin.Int1, -1, loc "Information.swift":25:7, scope 67 // user: %14
- %12 = metatype $@thin StaticString.Type, loc "Information.swift":25:7, scope 67 // user: %14
- // function_ref StaticString.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> StaticString
- %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
- %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
- %15 = string_literal utf8 "Information.swift", loc "Information.swift":25:7, scope 67 // user: %20
- %16 = integer_literal $Builtin.Word, 17, loc "Information.swift":25:7, scope 67 // user: %20
- %17 = integer_literal $Builtin.Int1, -1, loc "Information.swift":25:7, scope 67 // user: %20
- %18 = metatype $@thin StaticString.Type, loc "Information.swift":25:7, scope 67 // user: %20
- // function_ref StaticString.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> StaticString
- %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
- %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
- // function_ref UInt.init(_builtinIntegerLiteral : Builtin.Int2048) -> UInt
- %21 = function_ref @_TFSuCfT22_builtinIntegerLiteralBi2048__Su : $@convention(method) (Builtin.Int2048, @thin UInt.Type) -> UInt, loc "Information.swift":25:7, scope 67 // user: %24
- %22 = metatype $@thin UInt.Type, loc "Information.swift":25:7, scope 67 // user: %24
- %23 = integer_literal $Builtin.Int2048, 25, loc "Information.swift":25:7, scope 67 // user: %24
- %24 = apply %21(%23, %22) : $@convention(method) (Builtin.Int2048, @thin UInt.Type) -> UInt, loc "Information.swift":25:7, scope 67 // user: %29
- // function_ref UInt.init(_builtinIntegerLiteral : Builtin.Int2048) -> UInt
- %25 = function_ref @_TFSuCfT22_builtinIntegerLiteralBi2048__Su : $@convention(method) (Builtin.Int2048, @thin UInt.Type) -> UInt, loc "Information.swift":25:7, scope 67 // user: %28
- %26 = metatype $@thin UInt.Type, loc "Information.swift":25:7, scope 67 // user: %28
- %27 = integer_literal $Builtin.Int2048, 7, loc "Information.swift":25:7, scope 67 // user: %28
- %28 = apply %25(%27, %26) : $@convention(method) (Builtin.Int2048, @thin UInt.Type) -> UInt, loc "Information.swift":25:7, scope 67 // user: %29
- %29 = apply %2(%8, %14, %20, %24, %28) : $@convention(thin) (StaticString, StaticString, StaticString, UInt, UInt) -> Never, loc "Information.swift":25:7, scope 67
- %30 = copy_value %0 : $Information, loc "Information.swift":25:39, scope 67 // user: %31
- return %30 : $Information, loc "Information.swift":25:39, scope 67 // id: %31
- } // end sil function '_TFC3gpa11InformationcfT_S0_'
- sil_scope 68 { loc "Information.swift":25:39 parent @_TFC3gpa11InformationCfT_S0_ : $@convention(method) (@thick Information.Type) -> @owned Information }
- // Information.__allocating_init() -> Information
- sil hidden @_TFC3gpa11InformationCfT_S0_ : $@convention(method) (@thick Information.Type) -> @owned Information {
- bb0(%0 : $@thick Information.Type):
- %1 = alloc_ref [objc] $Information, scope 68 // user: %3
- // function_ref Information.init() -> Information
- %2 = function_ref @_TFC3gpa11InformationcfT_S0_ : $@convention(method) (@owned Information) -> @owned Information, scope 68 // user: %3
- %3 = apply %2(%1) : $@convention(method) (@owned Information) -> @owned Information, scope 68 // user: %4
- return %3 : $Information, scope 68 // id: %4
- } // end sil function '_TFC3gpa11InformationCfT_S0_'
- // _unimplementedInitializer(className : StaticString, initName : StaticString, file : StaticString, line : UInt, column : UInt) -> Never
- sil [transparent] [fragile] @_TFs25_unimplementedInitializerFT9classNameVs12StaticString8initNameS_4fileS_4lineSu6columnSu_Os5Never : $@convention(thin) (StaticString, StaticString, StaticString, UInt, UInt) -> Never
- // StaticString.init(_builtinStringLiteral : Builtin.RawPointer, utf8CodeUnitCount : Builtin.Word, isASCII : Builtin.Int1) -> StaticString
- sil [transparent] [fragile] [readonly] @_TFVs12StaticStringCfT21_builtinStringLiteralBp17utf8CodeUnitCountBw7isASCIIBi1__S_ : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin StaticString.Type) -> StaticString
- // UInt.init(_builtinIntegerLiteral : Builtin.Int2048) -> UInt
- sil [transparent] [fragile] @_TFSuCfT22_builtinIntegerLiteralBi2048__Su : $@convention(method) (Builtin.Int2048, @thin UInt.Type) -> UInt
- sil_scope 69 { loc "Information.swift":25:39 parent @_TToFC3gpa11InformationcfT_S0_ : $@convention(objc_method) (@owned Information) -> @owned Information }
- // @objc Information.init() -> Information
- sil hidden [thunk] @_TToFC3gpa11InformationcfT_S0_ : $@convention(objc_method) (@owned Information) -> @owned Information {
- // %0 // user: %2
- bb0(%0 : $Information):
- // function_ref Information.init() -> Information
- %1 = function_ref @_TFC3gpa11InformationcfT_S0_ : $@convention(method) (@owned Information) -> @owned Information, scope 69 // user: %2
- %2 = apply %1(%0) : $@convention(method) (@owned Information) -> @owned Information, scope 69 // user: %3
- return %2 : $Information, scope 69 // id: %3
- } // end sil function '_TToFC3gpa11InformationcfT_S0_'
- sil_scope 70 { parent @_TTOFCSo25NSUbiquitousKeyValueStorecfT_S_ : $@convention(method) (@owned NSUbiquitousKeyValueStore) -> @owned NSUbiquitousKeyValueStore }
- // @nonobjc NSUbiquitousKeyValueStore.init() -> NSUbiquitousKeyValueStore
- sil shared [thunk] @_TTOFCSo25NSUbiquitousKeyValueStorecfT_S_ : $@convention(method) (@owned NSUbiquitousKeyValueStore) -> @owned NSUbiquitousKeyValueStore {
- // %0 // users: %2, %1
- bb0(%0 : $NSUbiquitousKeyValueStore):
- %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
- %2 = apply %1(%0) : $@convention(objc_method) (@owned NSUbiquitousKeyValueStore) -> @owned NSUbiquitousKeyValueStore, scope 70 // user: %3
- return %2 : $NSUbiquitousKeyValueStore, scope 70 // id: %3
- } // end sil function '_TTOFCSo25NSUbiquitousKeyValueStorecfT_S_'
- sil_vtable Information {
- #Information.init!initializer.1: _TFC3gpa11InformationcfTSS5gradeSi10multiplierSd7creditsSd_S0_ // Information.init(String, grade : Int, multiplier : Double, credits : Double) -> Information
- #Information.init!allocator.1: _TFC3gpa11InformationCfT5coderCSo7NSCoder_GSqS0__ // Information.__allocating_init(coder : NSCoder) -> Information?
- #Information.init!initializer.1: _TFC3gpa11InformationcfT5coderCSo7NSCoder_GSqS0__ // Information.init(coder : NSCoder) -> Information?
- #Information.encode!1: _TFC3gpa11Information6encodefT4withCSo7NSCoder_T_ // Information.encode(with : NSCoder) -> ()
- #Information.deinit!deallocator: _TFC3gpa11InformationD // Information.__deallocating_deinit
- #Information.name!getter.1: _TFC3gpa11Informationg4nameSS // Information.name.getter
- #Information.name!setter.1: _TFC3gpa11Informations4nameSS // Information.name.setter
- #Information.name!materializeForSet.1: _TFC3gpa11Informationm4nameSS // Information.name.materializeForSet
- #Information.grade!getter.1: _TFC3gpa11Informationg5gradeSi // Information.grade.getter
- #Information.grade!setter.1: _TFC3gpa11Informations5gradeSi // Information.grade.setter
- #Information.grade!materializeForSet.1: _TFC3gpa11Informationm5gradeSi // Information.grade.materializeForSet
- #Information.multiplier!getter.1: _TFC3gpa11Informationg10multiplierSd // Information.multiplier.getter
- #Information.multiplier!setter.1: _TFC3gpa11Informations10multiplierSd // Information.multiplier.setter
- #Information.multiplier!materializeForSet.1: _TFC3gpa11Informationm10multiplierSd // Information.multiplier.materializeForSet
- #Information.credits!getter.1: _TFC3gpa11Informationg7creditsSd // Information.credits.getter
- #Information.credits!setter.1: _TFC3gpa11Informations7creditsSd // Information.credits.setter
- #Information.credits!materializeForSet.1: _TFC3gpa11Informationm7creditsSd // Information.credits.materializeForSet
- #Information.init!initializer.1: _TFC3gpa11InformationcfT_S0_ // Information.init() -> Information
- }
- sil_witness_table shared NSObject: AnyObject module ObjectiveC
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement