diff options
author | Mircea Trofin <mtrofin@google.com> | 2020-04-11 18:07:50 -0700 |
---|---|---|
committer | Mircea Trofin <mtrofin@mtrofin-macbookpro3.roam.corp.google.com> | 2020-04-12 08:27:29 -0700 |
commit | d2f1cd5d9712276730f09745825fb6d71c51e639 (patch) | |
tree | b8fd2d0572c776f68169a8ef3768418e6678a058 /llvm/lib/Support/StringPool.cpp | |
parent | 617b08ff9bef7b17957781682f78155351b0d2e9 (diff) | |
download | llvm-d2f1cd5d9712276730f09745825fb6d71c51e639.zip llvm-d2f1cd5d9712276730f09745825fb6d71c51e639.tar.gz llvm-d2f1cd5d9712276730f09745825fb6d71c51e639.tar.bz2 |
[llvm][NFC] Refactor uses of CallSite to CallBase - call promotion
Summary:
Updated CallPromotionUtils and impacted sites. Parameters that are
expected to be non-null, and return values that are guranteed non-null,
were replaced with CallBase references rather than pointers.
Left FIXME in places where more changes are facilitated by CallBase, but
aren't CallSites: Instruction* parameters or return values, for example,
where the contract that they are actually CallBase values.
Reviewers: davidxl, dblaikie, wmi
Reviewed By: dblaikie
Subscribers: arsenm, jvesely, nhaehnle, eraman, hiraditya, kerbowa, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D77930
Diffstat (limited to 'llvm/lib/Support/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions