llvm-6502/include/llvm
Chandler Carruth 1e3557de0d [PM/AA] Hoist the AliasResult enum out of the AliasAnalysis class.
This will allow classes to implement the AA interface without deriving
from the class or referencing an internal enum of some other class as
their return types.

Also, to a pretty fundamental extent, concepts such as 'NoAlias',
'MayAlias', and 'MustAlias' are first class concepts in LLVM and we
aren't saving anything by scoping them heavily.

My mild preference would have been to use a scoped enum, but that
feature is essentially completely broken AFAICT. I'm extremely
disappointed. For example, we cannot through any reasonable[1] means
construct an enum class (or analog) which has scoped names but converts
to a boolean in order to test for the possibility of aliasing.

[1]: Richard Smith came up with a "solution", but it requires class
templates, and lots of boilerplate setting up the enumeration multiple
times. Something like Boost.PP could potentially bundle this up, but
even that would be quite painful and it doesn't seem realistically worth
it. The enum class solution would probably work without the need for
a bool conversion.

Differential Revision: http://reviews.llvm.org/D10495

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240255 91177308-0d34-0410-b5e6-96231b3b80d8
2015-06-22 02:16:51 +00:00
..
ADT ArrayRef-ify libDriverMain 2015-06-21 06:31:56 +00:00
Analysis [PM/AA] Hoist the AliasResult enum out of the AliasAnalysis class. 2015-06-22 02:16:51 +00:00
AsmParser Fixed/added namespace ending comments using clang-tidy. NFC 2015-06-19 15:57:42 +00:00
Bitcode Fixed/added namespace ending comments using clang-tidy. NFC 2015-06-19 15:57:42 +00:00
CodeGen MIR Serialization: Serialize the list of machine basic blocks with simple attributes. 2015-06-19 17:43:07 +00:00
Config [autoconf] Detect OLE32 for mingw. 2015-06-18 04:16:05 +00:00
DebugInfo Fixed/added namespace ending comments using clang-tidy. NFC 2015-06-19 15:57:42 +00:00
ExecutionEngine [MCJIT] Add a FindGlobalVariableNamed utility 2015-06-20 00:55:58 +00:00
IR [Statepoint] Remove unnecessary argument from Statepoint::getRelocates 2015-06-20 00:01:03 +00:00
IRReader Fixed/added namespace ending comments using clang-tidy. NFC 2015-06-19 15:57:42 +00:00
LibDriver ArrayRef-ify libDriverMain 2015-06-21 06:31:56 +00:00
LineEditor Fixed/added namespace ending comments using clang-tidy. NFC 2015-06-19 15:57:42 +00:00
Linker Fixed/added namespace ending comments using clang-tidy. NFC 2015-06-19 15:57:42 +00:00
LTO Fixed/added namespace ending comments using clang-tidy. NFC 2015-06-19 15:57:42 +00:00
MC Revert 240130, it caused crashes (repro in PR23900). 2015-06-19 23:43:47 +00:00
Object Object: Add load configuration structure for 64 bit PE/COFF. 2015-06-21 01:12:32 +00:00
Option OptTable.h: Prune a couple of \param(s), since Arg has been ArrayRef-ized. [-Wdocumentation] 2015-06-21 13:44:46 +00:00
Passes Fixed/added namespace ending comments using clang-tidy. NFC 2015-06-19 15:57:42 +00:00
ProfileData Revert "InstrProf: When reading, copy the data instead of taking a reference. NFC" 2015-06-20 01:37:56 +00:00
Support Fixed/added namespace ending comments using clang-tidy. NFC 2015-06-19 15:57:42 +00:00
TableGen Fixed/added namespace ending comments using clang-tidy. NFC 2015-06-19 15:57:42 +00:00
Target TargetInstrInfo.h: Fix r240192. [-Wdocumentation] 2015-06-20 03:53:18 +00:00
Transforms Fixed/added namespace ending comments using clang-tidy. NFC 2015-06-19 15:57:42 +00:00
CMakeLists.txt
InitializePasses.h Fixed/added namespace ending comments using clang-tidy. NFC 2015-06-19 15:57:42 +00:00
LinkAllIR.h
LinkAllPasses.h Protection against stack-based memory corruption errors using SafeStack 2015-06-15 21:07:11 +00:00
module.modulemap modules: Mark CodeGen/DIEValues.def as a textual inclusion 2015-06-16 00:43:52 +00:00
module.modulemap.build
Pass.h Fixed/added namespace ending comments using clang-tidy. NFC 2015-06-19 15:57:42 +00:00
PassAnalysisSupport.h Fixed/added namespace ending comments using clang-tidy. NFC 2015-06-19 15:57:42 +00:00
PassInfo.h Fixed/added namespace ending comments using clang-tidy. NFC 2015-06-19 15:57:42 +00:00
PassRegistry.h Fixed/added namespace ending comments using clang-tidy. NFC 2015-06-19 15:57:42 +00:00
PassSupport.h Fixed/added namespace ending comments using clang-tidy. NFC 2015-06-19 15:57:42 +00:00