1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/include/llvm
Craig Topper fc78757ece [Mips][CodeGen] Remove MachineFunction::setSubtarget. Change Mips to just copy the subtarget from the MachineFunction instead of recalculating it.
Summary:
The MachineFunction should have been created with the correct subtarget. As
long as there is no way to change it, MipsTargetMachine can just capture it
directly from the MachineFunction without calling getSubtargetImpl again.

While there, const correct the Subtarget pointer to avoid a const_cast.

I believe the Mips16Subtarget and NoMips16Subtarget members are never used, but
I'll leave there removal for a separate patch.

Reviewers: echristo, atanasyan

Reviewed By: atanasyan

Subscribers: sdardis, arichardson, hiraditya, jrtc27, llvm-commits

Tags: #llvm

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

llvm-svn: 359071
2019-04-24 06:48:31 +00:00
..
ADT [APSInt][OpenMP] Fix isNegative, etc. for unsigned types 2019-04-23 17:04:15 +00:00
Analysis Revert [AliasAnalysis] AAResults preserves AAManager. 2019-04-24 00:28:29 +00:00
AsmParser
BinaryFormat [BinaryFormat] Fix bitfield-ordering of MachO::relocation_info on big-endian. 2019-04-21 03:14:43 +00:00
Bitcode Add LLVM IR debug info support for Fortran COMMON blocks 2019-04-08 19:13:55 +00:00
CodeGen [Mips][CodeGen] Remove MachineFunction::setSubtarget. Change Mips to just copy the subtarget from the MachineFunction instead of recalculating it. 2019-04-24 06:48:31 +00:00
Config Moved everything SMT-related to LLVM and updated the cmake scripts. 2019-03-25 17:47:45 +00:00
DebugInfo [dsymutil] Collect parseable Swift interfaces in the .dSYM bundle. 2019-04-22 21:33:22 +00:00
Demangle llvm-undname: Support demangling the spaceship operator 2019-04-23 16:20:27 +00:00
ExecutionEngine [JITLink] Remove a lot of reduntant 'JITLink_' prefixes. NFC. 2019-04-22 03:03:09 +00:00
FuzzMutate Fix misspelled filenames in file headers 2019-02-07 14:38:25 +00:00
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
LTO [LTO] Add plumbing to save stats during LTO on Darwin. 2019-04-19 12:36:41 +00:00
MC [llvm] Prevent duplicate files in debug line header in dwarf 5: another attempt 2019-04-19 02:26:56 +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: Add support for ModuleList stream 2019-04-18 14:57:31 +00:00
Option
Passes [LICM & MemorySSA] Make limit flags pass tuning options. 2019-04-19 17:46:50 +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 [GlobalISel] Add a G_FRINT opcode 2019-04-19 21:44:16 +00:00
Testing/Support
TextAPI [TextAPI] Fix off-by-one error in the bit index extraction loop 2019-04-05 12:58:15 +00:00
ToolDrivers
Transforms [LICM & MemorySSA] Make limit flags pass tuning options. 2019-04-19 17:46:50 +00:00
WindowsManifest
WindowsResource
XRay
CMakeLists.txt
InitializePasses.h Add basic loop fusion pass. 2019-04-17 18:53:27 +00:00
LinkAllIR.h
LinkAllPasses.h Recommit r354930 "[PGO] Context sensitive PGO (part 1)" 2019-02-27 17:24:33 +00:00
module.extern.modulemap
module.install.modulemap
module.modulemap Update modulemaps for Analysis/VecFuncs.def. 2019-04-09 17:05:36 +00:00
module.modulemap.build
Pass.h
PassAnalysisSupport.h
PassInfo.h
PassRegistry.h
PassSupport.h