1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00
llvm-mirror/lib
Bjorn Pettersson 0ae3f2b8d1 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
..
Analysis Add "const" in GetUnderlyingObjects. NFC 2019-04-24 06:55:50 +00:00
AsmParser Add LLVM IR debug info support for Fortran COMMON blocks 2019-04-08 19:13:55 +00:00
BinaryFormat [XCOFF] Add functionality for parsing AIX XCOFF object file headers 2019-04-04 00:53:21 +00:00
Bitcode Use llvm::lower_bound. NFC 2019-04-12 02:02:06 +00:00
CodeGen Add "const" in GetUnderlyingObjects. NFC 2019-04-24 06:55:50 +00:00
DebugInfo Use llvm::stable_sort 2019-04-23 14:51:27 +00:00
Demangle llvm-undname: Support demangling the spaceship operator 2019-04-23 16:20:27 +00:00
ExecutionEngine Fix MSVC "32-bit shift implicitly converted to 64 bits" warning. NFCI. 2019-04-23 11:16:16 +00:00
Fuzzer
FuzzMutate
IR [Remarks] Add string deduplication using a string table 2019-04-24 00:06:24 +00:00
IRReader [IRReader] Expose getLazyIRModule 2019-02-11 22:01:13 +00:00
LineEditor
Linker [Linker] Fix crash handling appending linkage 2019-03-20 19:20:07 +00:00
LTO [NewPassManager] Adding pass tuning options: loop vectorize. 2019-04-19 16:11:59 +00:00
MC Use llvm::stable_sort 2019-04-23 14:51:27 +00:00
MCA [MCA] Add an experimental MicroOpQueue stage. 2019-03-29 12:15:37 +00:00
Object llvm-cvtres: Split addChild(ID) into two functions 2019-04-23 18:46:53 +00:00
ObjectYAML MinidumpYAML: Fix ambiguity between std::make_unique and llvm::make_unique 2019-04-18 15:06:03 +00:00
Option
Passes [ThinLTO] Pass down opt level to LTO backend and handle -O0 LTO in new PM 2019-04-23 18:56:19 +00:00
ProfileData The error message for mismatched value sites is very cryptic. 2019-04-23 22:26:55 +00:00
Remarks [Remarks] Add string deduplication using a string table 2019-04-24 00:06:24 +00:00
Support [CommandLine] Provide parser<unsigned long> instantiation to allow cl::opt<uint64_t> on LP64 platforms 2019-04-24 02:40:20 +00:00
TableGen [TableGen] Introduce !listsplat 'binary' operator 2019-04-10 18:26:36 +00:00
Target Add "const" in GetUnderlyingObjects. NFC 2019-04-24 06:55:50 +00:00
Testing
TextAPI [TextAPI] Prefix all architecture enums to fix the build on i386. 2019-04-04 22:56:50 +00:00
ToolDrivers [llvm-ar][libObject] Fix relative paths when nesting thin archives. 2019-02-13 23:39:41 +00:00
Transforms Add "const" in GetUnderlyingObjects. NFC 2019-04-24 06:55:50 +00:00
WindowsManifest
XRay Use llvm::stable_sort 2019-04-23 14:51:27 +00:00
CMakeLists.txt [OptRemarks] Make OptRemarks more generic: rename OptRemarks to Remarks 2019-03-05 20:45:17 +00:00
LLVMBuild.txt [OptRemarks] Make OptRemarks more generic: rename OptRemarks to Remarks 2019-03-05 20:45:17 +00:00