{"action":"created","issue":{"url":"https://api.github.com/repos/apple/swift/issues/17971","repository_url":"https://api.github.com/repos/apple/swift","labels_url":"https://api.github.com/repos/apple/swift/issues/17971/labels{/name}","comments_url":"https://api.github.com/repos/apple/swift/issues/17971/comments","events_url":"https://api.github.com/repos/apple/swift/issues/17971/events","html_url":"https://github.com/apple/swift/pull/17971","id":341361036,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAxNTIwOTE2","number":17971,"title":"[caller-analysis] Implement findLocalApplySites and reimplement caller analysis on top of it","user":{"login":"gottesmm","id":499423,"node_id":"MDQ6VXNlcjQ5OTQyMw==","avatar_url":"https://avatars1.githubusercontent.com/u/499423?v=4","gravatar_id":"","url":"https://api.github.com/users/gottesmm","html_url":"https://github.com/gottesmm","followers_url":"https://api.github.com/users/gottesmm/followers","following_url":"https://api.github.com/users/gottesmm/following{/other_user}","gists_url":"https://api.github.com/users/gottesmm/gists{/gist_id}","starred_url":"https://api.github.com/users/gottesmm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gottesmm/subscriptions","organizations_url":"https://api.github.com/users/gottesmm/orgs","repos_url":"https://api.github.com/users/gottesmm/repos","events_url":"https://api.github.com/users/gottesmm/events{/privacy}","received_events_url":"https://api.github.com/users/gottesmm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":35,"created_at":"2018-07-15T23:19:13Z","updated_at":"2018-08-18T20:04:43Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/apple/swift/pulls/17971","html_url":"https://github.com/apple/swift/pull/17971","diff_url":"https://github.com/apple/swift/pull/17971.diff","patch_url":"https://github.com/apple/swift/pull/17971.patch"},"body":"This is a reimplementation of caller analysis on top of a new utility called findLocalApplySites. This utility works in spirit as an inverse operation to ApplySite::getCalleeOrigin(). At a high level starting at a specific function_ref, the utility traverses through the transitive use edges from the function_ref, looking through specific conversion insts and uses that it understands. All of the apply sites found this way are returned to the user and more importantly if there is an unknown use, a bool is set. As a result, the caller analysis (although not used anywhere beyond tests in this commit), can not be used to determine if the analysis can guarantee that all callers for a specific callee have been found.\r\n\r\nrdar://41146023"},"comment":{"url":"https://api.github.com/repos/apple/swift/issues/comments/414083143","html_url":"https://github.com/apple/swift/pull/17971#issuecomment-414083143","issue_url":"https://api.github.com/repos/apple/swift/issues/17971","id":414083143,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDA4MzE0Mw==","user":{"login":"gottesmm","id":499423,"node_id":"MDQ6VXNlcjQ5OTQyMw==","avatar_url":"https://avatars1.githubusercontent.com/u/499423?v=4","gravatar_id":"","url":"https://api.github.com/users/gottesmm","html_url":"https://github.com/gottesmm","followers_url":"https://api.github.com/users/gottesmm/followers","following_url":"https://api.github.com/users/gottesmm/following{/other_user}","gists_url":"https://api.github.com/users/gottesmm/gists{/gist_id}","starred_url":"https://api.github.com/users/gottesmm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gottesmm/subscriptions","organizations_url":"https://api.github.com/users/gottesmm/orgs","repos_url":"https://api.github.com/users/gottesmm/repos","events_url":"https://api.github.com/users/gottesmm/events{/privacy}","received_events_url":"https://api.github.com/users/gottesmm/received_events","type":"User","site_admin":false},"created_at":"2018-08-18T20:04:43Z","updated_at":"2018-08-18T20:04:43Z","author_association":"MEMBER","body":"@swift-ci smoke benchmark"}}
{"actor":{"display_login":"gottesmm"}}