tools/oracle
Daniel Morsing 500e956000 oracle: attempt to deduce callees statically before building SSA
When querying for callees against a static call, the entire SSA
form for the program was built. Since we can tell if a callee is
statically dispatched after typechecking, try to do that before
building the SSA form.

This cuts 3.5 seconds off queries against static calls.

Change-Id: I22291381d3bec490e3b1d6f9c6b5a0092fd9f635
Reviewed-on: https://go-review.googlesource.com/10230
Reviewed-by: Alan Donovan <adonovan@google.com>
2015-05-20 12:10:52 +00:00
..
serial oracle: several major improvements 2015-03-30 19:21:37 +00:00
testdata/src oracle: attempt to deduce callees statically before building SSA 2015-05-20 12:10:52 +00:00
TODO oracle: several major improvements 2015-03-30 19:21:37 +00:00
callees.go oracle: attempt to deduce callees statically before building SSA 2015-05-20 12:10:52 +00:00
callers.go go/loader: eliminate ImportFromBinary option and PackageCreated hook 2015-04-17 18:58:17 +00:00
callstack.go go/loader: eliminate ImportFromBinary option and PackageCreated hook 2015-04-17 18:58:17 +00:00
definition.go oracle: support "referrers" query on package declaration 2015-04-27 13:27:00 +00:00
describe.go oracle: several major improvements 2015-03-30 19:21:37 +00:00
freevars.go oracle: several major improvements 2015-03-30 19:21:37 +00:00
implements.go oracle: referrers: also scan *_test.go files for references. 2015-03-31 16:25:39 +00:00
oracle.go oracle: skip cgo processing for queries that don't need SSA/PTA 2015-04-06 16:52:07 +00:00
oracle_test.go oracle: referrers: also scan *_test.go files for references. 2015-03-31 16:25:39 +00:00
peers.go go/loader: eliminate ImportFromBinary option and PackageCreated hook 2015-04-17 18:58:17 +00:00
pointsto.go go/loader: eliminate ImportFromBinary option and PackageCreated hook 2015-04-17 18:58:17 +00:00
pos.go oracle: several major improvements 2015-03-30 19:21:37 +00:00
referrers.go oracle: support "referrers" query on package declaration 2015-04-27 13:27:00 +00:00
what.go cmd/oracle: improve error messages 2015-05-13 15:02:11 +00:00
whicherrs.go go/loader: eliminate ImportFromBinary option and PackageCreated hook 2015-04-17 18:58:17 +00:00