go/src/cmd/compile/internal
David Chase 15f01d6ae9 cmd/compile: delay expansion of OpArg until expand_calls
As it says, delay expanpsion of OpArg to the expand_calls phase,
to enable (eventually) interprocedural SSA optimizations, and
(sooner) change to a register ABI.

Includes a round of cleanup to function names and comments,
largely to match the expanded scope of the functions.

This CL removes the per-function dependence on GOSSAHASH,
but the go116lateCallExpansion kill switch remains (and was
tested locally to ensure it worked).

Two functions in expand_calls.go that performed overlapping
things were combined into a single function that is called
twice.

Fixes #42236.
For #40724.

Change-Id: Icbb78947eaa39f17f2c1210d5c2caef20abd6571
Reviewed-on: https://go-review.googlesource.com/c/go/+/262117
Trust: David Chase <drchase@google.com>
Run-TryBot: David Chase <drchase@google.com>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
2020-10-29 03:23:51 +00:00
..
amd64 cmd/compile: intrinsify runtime/internal/atomic.{And,Or} on AMD64 2020-10-23 14:18:13 +00:00
arm cmd/compile: redo flag constant ops for arm 2020-06-18 20:57:49 +00:00
arm64 cmd/compile: intrinsify runtime/internal/atomic.{And,Or} on ARM64 2020-10-23 15:06:35 +00:00
gc cmd/compile: delay expansion of OpArg until expand_calls 2020-10-29 03:23:51 +00:00
logopt cmd/compile: use staticValue for inlining logic 2020-10-15 18:35:44 +00:00
mips cmd/compile: enable nil check logging for other architectures. 2019-11-10 17:12:15 +00:00
mips64 cmd/compile: enable nil check logging for other architectures. 2019-11-10 17:12:15 +00:00
ppc64 cmd/compile: combine more 32 bit shift and mask operations on ppc64 2020-10-27 18:33:20 +00:00
riscv64 cmd/compile,cmd/internal/obj/riscv,runtime: use Duff's devices on riscv64 2020-10-28 05:02:44 +00:00
s390x cmd/compile: intrinsify runtime/internal/atomic.{And,Or} on S390X 2020-10-23 15:11:15 +00:00
ssa cmd/compile: delay expansion of OpArg until expand_calls 2020-10-29 03:23:51 +00:00
syntax cmd/compile/internal/syntax: provide BadExpr where needed, call correct error handler 2020-10-12 18:01:22 +00:00
test cmd/compile: use magic multiply for unsigned values less than 1<<16 on 32-bit architectures 2020-10-29 00:07:35 +00:00
types cmd/compile: rename types.IdealFoo to types.UntypedFoo 2020-10-08 18:56:11 +00:00
wasm cmd/compile: introduce special ssa Aux type for calls 2020-09-16 20:57:24 +00:00
x86 all: implement GO386=softfloat 2020-10-06 22:49:38 +00:00