llvm-project/llvm/lib/Transforms
Bjorn Pettersson 71e8c6f20f Add "const" in GetUnderlyingObjects. NFC
Summary:
Both the input Value pointer and the returned Value
pointers in GetUnderlyingObjects are now declared as
const.

It turned out that all current (in-tree) uses of
GetUnderlyingObjects were trivial to update, being
satisfied with have those Value pointers declared
as const. Actually, in the past several of the users
had to use const_cast, just because of ValueTracking
not providing a version of GetUnderlyingObjects with
"const" Value pointers. With this patch we get rid
of those const casts.

Reviewers: hfinkel, materi, jkorous

Reviewed By: jkorous

Subscribers: dexonsmith, jkorous, jholewinski, sdardis, eraman, hiraditya, jrtc27, atanasyan, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D61038

llvm-svn: 359072
2019-04-24 06:55:50 +00:00
..
AggressiveInstCombine Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Coroutines [CallSite removal] Move the legacy PM, call graph, and some inliner 2019-04-19 05:59:42 +00:00
Hello Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
IPO Use llvm::stable_sort 2019-04-23 14:51:27 +00:00
InstCombine [InstCombine] Convert a masked.load of a dereferenceable address to an unconditional load 2019-04-23 15:25:14 +00:00
Instrumentation Add "const" in GetUnderlyingObjects. NFC 2019-04-24 06:55:50 +00:00
ObjCARC [ObjC][ARC] Check the basic block size before calling 2019-04-23 19:49:03 +00:00
Scalar Add "const" in GetUnderlyingObjects. NFC 2019-04-24 06:55:50 +00:00
Utils Add "const" in GetUnderlyingObjects. NFC 2019-04-24 06:55:50 +00:00
Vectorize Use llvm::stable_sort 2019-04-23 14:51:27 +00:00
CMakeLists.txt Another try to commit 323321 (aggressive instruction combine). 2018-01-25 12:06:32 +00:00
LLVMBuild.txt Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00