[Statepoint] Sink logic about actual callee into GCStatepointInst
authorPhilip Reames <listmail@philipreames.com>
Thu, 28 May 2020 17:45:07 +0000 (10:45 -0700)
committerPhilip Reames <listmail@philipreames.com>
Thu, 28 May 2020 17:53:39 +0000 (10:53 -0700)
commit501aa47ab8fa62f5be1e41bee6d5b8fbd1fa6627
treec86fc9231e0dce51ca81cb88a06e5add1436219f
parentb950c261d9c107d2c9366dd7e583f9f1c4f282f3
[Statepoint] Sink logic about actual callee into GCStatepointInst

Sinking logic around actual callee from Statepoint to GCStatepointInst.  While doing so, adjust naming to be consistent about refering to "actual" callee and follow precedent on naming from CallBase otherwise.

Use the result to simplify one consumer.  This is mostly just to ensure the new code is exercised, but is also a helpful cleanup on it's own.
llvm/include/llvm/IR/Statepoint.h
llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp