llvm-6502/include/llvm
Duncan P. N. Exon Smith c9978bab4b MC: Only allow changing feature bits in MCSubtargetInfo
Disallow all mutation of `MCSubtargetInfo` expect the feature bits.

Besides deleting the assignment operators -- which were dead "code" --
this restricts `InitMCProcessorInfo()` to subclass initialization
sequences, and exposes a new more limited function called
`setDefaultFeatures()` for use by the ARMAsmParser `.cpu` directive.

There's a small functional change here: ARMAsmParser used to adjust
`MCSubtargetInfo::CPUSchedModel` as a side effect of calling
`InitMCProcessorInfo()`, but I've removed that suspicious behaviour.
Since the AsmParser shouldn't be doing any scheduling, there shouldn't
be any observable change...

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241961 91177308-0d34-0410-b5e6-96231b3b80d8
2015-07-10 22:52:15 +00:00
..
ADT Add getSizeInBits function to the APFloat class 2015-07-09 10:13:39 +00:00
Analysis [InstSimplify] Fold away ord/uno fcmps when nnan is present. 2015-07-10 14:02:02 +00:00
AsmParser AsmParser: Extend the API to make the global value and metadata node slot mappings publicly accessible. 2015-06-23 17:10:10 +00:00
Bitcode Fix enum BitcodeError to not define a zero-valued error code. 2015-07-10 19:46:16 +00:00
CodeGen [TTI] BasicTTIImpl assumes no vector registers 2015-07-10 21:14:54 +00:00
Config [Support] Lazy load of dbghlp.dll on Windows 2015-07-02 14:34:57 +00:00
DebugInfo Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
ExecutionEngine [RuntimeDyld] Add comment documenting the behavior change in r241383. 2015-07-05 18:49:17 +00:00
IR [IR] Switch static const to an enum to silence MSVC linker warnings 2015-07-10 22:46:02 +00:00
IRReader Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
LibDriver ArrayRef-ify libDriverMain 2015-06-21 06:31:56 +00:00
LineEditor Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
Linker Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
LTO Teach LTOModule to emit linker flags for dllexported symbols, plus interface cleanup. 2015-06-29 22:04:09 +00:00
MC MC: Only allow changing feature bits in MCSubtargetInfo 2015-07-10 22:52:15 +00:00
Object [Object][ELF] Handle the dynamic string table in files without a section table. 2015-07-10 20:11:57 +00:00
Option Add Arg::getValues method with const 'this' and const result 2015-06-25 18:48:26 +00:00
Passes Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
ProfileData Re-apply "InstrProf: When reading, copy the data instead of taking a reference. NFC" 2015-06-22 23:58:05 +00:00
Support [CodeView] Add support for emitting column information 2015-07-09 00:19:51 +00:00
TableGen [TableGen] Change a couple methods to return an ArrayRef instead of a const std::vector reference. NFC 2015-07-06 06:23:01 +00:00
Target MC: Remove MCSubtargetInfo() default constructor 2015-07-10 22:43:42 +00:00
Transforms [LoopDist/LoopVer] Move LoopVersioning to a new module, NFC 2015-07-10 18:55:13 +00:00
CMakeLists.txt Remove llvm_headers_do_not_build for the benefit of XCode and Visual Studio users. 2014-08-14 00:51:47 +00:00
InitializePasses.h Expose sjlj preparation through opt for my own debugging purposes 2015-07-09 21:48:40 +00:00
LinkAllIR.h
LinkAllPasses.h Revert r240271 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 10:48:35 +00:00
module.modulemap Add Value.def to the list of textual includes, excluding it from the modules build. 2015-06-26 20:16:44 +00:00
module.modulemap.build
Pass.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
PassAnalysisSupport.h Doxygen-ify a few comments. NFC 2015-06-25 15:06:47 +00:00
PassInfo.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
PassRegistry.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
PassSupport.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00