diff options
| author | Mark Lacey <mark.lacey@apple.com> | 2019-07-31 20:34:02 +0000 |
|---|---|---|
| committer | Mark Lacey <mark.lacey@apple.com> | 2019-07-31 20:34:02 +0000 |
| commit | 7b8d3eb9e2174e0bec206faea405b693fcb9eb8d (patch) | |
| tree | 856ae7d7c6ea5cdcdc74df32f853147bca9c61f6 /llvm/lib/Target/ARM/ARMCallLowering.h | |
| parent | 09f39967a2e8d145d4eb0635d735839e1dbf8611 (diff) | |
| download | bcm5719-llvm-7b8d3eb9e2174e0bec206faea405b693fcb9eb8d.tar.gz bcm5719-llvm-7b8d3eb9e2174e0bec206faea405b693fcb9eb8d.zip | |
[GISel] Pass MD_callees metadata down in call lowering.
Summary:
This will make it possible to improve IPRA by taking into account
register usage in indirect calls.
NFC yet; this is just laying the groundwork to start building
up patches to take advantage of the information for improved register
allocation.
Reviewers: aditya_nandakumar, volkan, qcolombet, arsenm, rovka, aemerson, paquette
Subscribers: sdardis, wdng, javed.absar, hiraditya, jrtc27, atanasyan, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65488
llvm-svn: 367476
Diffstat (limited to 'llvm/lib/Target/ARM/ARMCallLowering.h')
| -rw-r--r-- | llvm/lib/Target/ARM/ARMCallLowering.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMCallLowering.h b/llvm/lib/Target/ARM/ARMCallLowering.h index 794127b5ebc..e0f1e3dfd70 100644 --- a/llvm/lib/Target/ARM/ARMCallLowering.h +++ b/llvm/lib/Target/ARM/ARMCallLowering.h @@ -40,7 +40,8 @@ public: bool lowerCall(MachineIRBuilder &MIRBuilder, CallingConv::ID CallConv, const MachineOperand &Callee, const ArgInfo &OrigRet, - ArrayRef<ArgInfo> OrigArgs) const override; + ArrayRef<ArgInfo> OrigArgs, + const MDNode *KnownCallees) const override; private: bool lowerReturnVal(MachineIRBuilder &MIRBuilder, const Value *Val, |

