tools/oracle/testdata/src/main
Alan Donovan 142566e529 go/ssa: avoid "premature optimization" of dead branch removal.
Blocks dominated by "if false" should be retained in the
initial SSA form so they remain visible to subsequent source
code analysis tools.

In any case, true compilers already need a stronger version of
this optimization so they can simplify CFGs such as this:
	const x, y = ...
        switch x {case y:...}
where a branch is constant but the comparison of constants
does not occur within an expression.

LGTM=gri
R=gri
CC=golang-codereviews, pcc
https://golang.org/cl/101250043
2014-06-12 11:31:41 -04:00
..
callgraph-json.go go.tools/oracle: add option to output results in JSON syntax. 2013-09-03 15:29:02 -04:00
callgraph-json.golden go/ssa: avoid "premature optimization" of dead branch removal. 2014-06-12 11:31:41 -04:00
callgraph.go go.tools/oracle: optionally restrict 'callgraph' query to a single package. 2014-02-21 10:46:02 -05:00
callgraph.golden go/ssa: avoid "premature optimization" of dead branch removal. 2014-06-12 11:31:41 -04:00
callgraph2.go go.tools/oracle: fix minor but confusing bug in test driver. 2013-10-01 10:17:26 -04:00
callgraph2.golden go.tools/oracle: optionally restrict 'callgraph' query to a single package. 2014-02-21 10:46:02 -05:00
calls-json.go go.tools/oracle: add option to output results in JSON syntax. 2013-09-03 15:29:02 -04:00
calls-json.golden go.tools/go/ssa: name anon funcs by their enclosing func. 2014-02-28 10:18:55 -05:00
calls.go go.tools/oracle: optionally restrict 'callgraph' query to a single package. 2014-02-21 10:46:02 -05:00
calls.golden go/ssa: avoid "premature optimization" of dead branch removal. 2014-06-12 11:31:41 -04:00
describe-json.go go.tools/oracle: implements: now shows whole-program implements relation for selected type. 2013-12-13 18:00:55 -05:00
describe-json.golden go.tools/oracle: implements: now shows whole-program implements relation for selected type. 2013-12-13 18:00:55 -05:00
describe.go go.tools/oracle: improvements to command set and performance. 2013-12-13 10:04:55 -05:00
describe.golden go.tools/oracle: adjust golden output to new names 2014-01-10 16:05:14 -08:00
freevars.go go.oracle: freevars: don't report free identifiers defined in package scope. 2013-09-12 11:00:22 -04:00
freevars.golden go.tools/oracle: adjust golden output to new names 2014-01-10 16:05:14 -08:00
implements-json.go go.tools/oracle: implements: now shows whole-program implements relation for selected type. 2013-12-13 18:00:55 -05:00
implements-json.golden go.tools/oracle: implements: now shows whole-program implements relation for selected type. 2013-12-13 18:00:55 -05:00
implements.go go.tools/oracle: implements: now shows whole-program implements relation for selected type. 2013-12-13 18:00:55 -05:00
implements.golden go.tools/oracle: implements: now shows whole-program implements relation for selected type. 2013-12-13 18:00:55 -05:00
imports.go go.tools/go/oracle: show import path (not just name) when describing an import. 2014-04-15 15:37:44 -04:00
imports.golden go.tools/go/oracle: show import path (not just name) when describing an import. 2014-04-15 15:37:44 -04:00
multi.go go.tools/oracle: refactor Oracle API to allow repeated queries on same scope. 2013-09-23 15:02:18 -04:00
peers-json.go go.tools/oracle: add option to output results in JSON syntax. 2013-09-03 15:29:02 -04:00
peers-json.golden go.tools/oracle: add option to output results in JSON syntax. 2013-09-03 15:29:02 -04:00
peers.go go.tools/oracle: improvements to command set and performance. 2013-12-13 10:04:55 -05:00
peers.golden go.tools/oracle: improvements to command set and performance. 2013-12-13 10:04:55 -05:00
pointsto-json.go go.tools/oracle: improvements to command set and performance. 2013-12-13 10:04:55 -05:00
pointsto-json.golden go.tools/oracle: improvements to command set and performance. 2013-12-13 10:04:55 -05:00
pointsto.go go.tools/oracle: improvements to command set and performance. 2013-12-13 10:04:55 -05:00
pointsto.golden go.tools/ssa: create thunks for method expressions T.f. 2014-06-11 13:10:26 -04:00
referrers-json.go go.tools/oracle: new query 'referrers' returns all references to an identifier. 2013-09-10 14:11:42 -04:00
referrers-json.golden go.tools/ssa: record lvalue/rvalue distinction precisely in DebugRef. 2013-10-24 18:31:50 -04:00
reflection.go go.tools/oracle: improvements to command set and performance. 2013-12-13 10:04:55 -05:00
reflection.golden go.tools/oracle: improvements to command set and performance. 2013-12-13 10:04:55 -05:00
what-json.go go.tools/oracle: improvements to command set and performance. 2013-12-13 10:04:55 -05:00
what-json.golden go.tools/oracle: improvements to command set and performance. 2013-12-13 10:04:55 -05:00
what.go go.tools/oracle: improvements to command set and performance. 2013-12-13 10:04:55 -05:00
what.golden go.tools/oracle: implements: now shows whole-program implements relation for selected type. 2013-12-13 18:00:55 -05:00