llvm-6502/include/llvm/IR
Rafael Espindola 7fe65d691d Cleanup the simplify_type implementation.
As far as simplify_type is concerned, there are 3 kinds of smart pointers:

* const correct: A 'const MyPtr<int> &' produces a 'const int*'. A
'MyPtr<int> &' produces a 'int *'.
* always const: Even a 'MyPtr<int> &' produces a 'const int*'.
* no const: Even a 'const MyPtr<int> &' produces a 'int*'.

This patch then does the following:

* Removes the unused specializations. Since they are unused, it is hard
to know which kind should be implemented.
* Make sure we don't drop const.
* Fix the default forwarding so that const correct pointer only need
one specialization.
* Simplifies the existing specializations.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178147 91177308-0d34-0410-b5e6-96231b3b80d8
2013-03-27 16:43:11 +00:00
..
Argument.h
Attributes.h Remove default copy ctor/assignment, makes AttributeSet trivially copyable. 2013-03-18 12:14:30 +00:00
BasicBlock.h
CallingConv.h
CMakeLists.txt
Constant.h
Constants.h
DataLayout.h InstCombine: Improve the result bitvect type when folding (cmp pred (load (gep GV, i)) C) to a bit test. 2013-03-22 08:25:01 +00:00
DerivedTypes.h test commit to use consistent comment notation. 2013-03-01 16:49:35 +00:00
Function.h Add some additonal attribute helper functions. Test will be on follow 2013-03-13 20:20:08 +00:00
GlobalAlias.h
GlobalValue.h
GlobalVariable.h
InlineAsm.h
InstrTypes.h
Instruction.def
Instruction.h Fix a bug in mayHaveSideEffects. Functions that do not return are now considered as instructions with side effects. 2013-02-19 20:02:09 +00:00
Instructions.h Revert r177675. This is language-specific and shouldn't be in the API. 2013-03-22 18:46:32 +00:00
IntrinsicInst.h
Intrinsics.h
Intrinsics.td
IntrinsicsARM.td
IntrinsicsHexagon.td
IntrinsicsMips.td
IntrinsicsNVVM.td
IntrinsicsPowerPC.td
IntrinsicsR600.td
IntrinsicsX86.td Add XTEST codegen support 2013-03-26 22:47:01 +00:00
IntrinsicsXCore.td
IRBuilder.h
LLVMContext.h Memory Dependence Analysis (not mem-dep test) take advantage of "invariant.load" metadata. 2013-03-06 17:48:48 +00:00
MDBuilder.h
Metadata.h
Module.h
OperandTraits.h
Operator.h Use LLVM_DELETED_FUNCTION rather than '// do not implement' comments. 2013-02-18 23:11:17 +00:00
SymbolTableListTraits.h
Type.h
TypeBuilder.h
TypeFinder.h
Use.h Cleanup the simplify_type implementation. 2013-03-27 16:43:11 +00:00
User.h Cleanup the simplify_type implementation. 2013-03-27 16:43:11 +00:00
Value.h
ValueSymbolTable.h