1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/include/llvm/IR
Rafael Espindola 357980289a Revert "Add r159136 back now that pr13124 has been fixed."
This reverts commit r189886.

I found a corner case where this optimization is not valid:

Say we have a "linkonce_odr unnamed_addr" in two translation units:
* In TU 1 this optimization kicks in and makes it hidden.
* In TU 2 it gets const merged with a constant that is *not* unnamed_addr,
  resulting in a non unnamed_addr constant with default visibility.
* The static linker rules for combining visibility them produce a hidden
  symbol, which is incorrect from the point of view of the non unnamed_addr
  constant.

The one place we can do this is when we know that the symbol is not used from
another TU in the same shared object, i.e., during LTO. I will move it there.

llvm-svn: 189954
2013-09-04 16:09:01 +00:00
..
Argument.h Extend 'readonly' and 'readnone' to work on function arguments as well as 2013-07-06 00:29:58 +00:00
Attributes.h Add function attribute 'optnone'. 2013-08-23 11:53:55 +00:00
BasicBlock.h
CallingConv.h Remove the mblaze backend from llvm. 2013-07-25 18:55:05 +00:00
CMakeLists.txt
Constant.h
Constants.h remove some @deprecated markers: LLVM APIs aren't deprecated, they are removed when obsolete. 2013-06-18 04:57:25 +00:00
DataLayout.h Re-add DataLayout pointer size convenience functions. 2013-07-26 17:37:20 +00:00
DerivedTypes.h
Function.h Add a way to add a kind-value string pair to an attribute. 2013-07-25 18:34:24 +00:00
GlobalAlias.h Introduce non-const overloads for GlobalAlias::{get,resolve}AliasedGlobal. 2013-08-19 23:13:33 +00:00
GlobalValue.h Revert "Add r159136 back now that pr13124 has been fixed." 2013-09-04 16:09:01 +00:00
GlobalVariable.h
InlineAsm.h
InstrTypes.h Revert "Remove isCastable since nothing uses it now" 2013-07-30 22:02:14 +00:00
Instruction.def
Instruction.h
Instructions.h Added support for the Builtin attribute. 2013-06-27 00:25:01 +00:00
IntrinsicInst.h
Intrinsics.h
Intrinsics.td Add a llvm.copysign intrinsic 2013-08-19 23:35:46 +00:00
IntrinsicsAArch64.td Inplement aarch64 neon instructions in AdvSIMD(shift). About 24 shift instructions: 2013-09-04 09:28:24 +00:00
IntrinsicsARM.td ARM: remove unused v(add|sub)hn and vqdml[as]l intrinsics. 2013-08-28 14:33:33 +00:00
IntrinsicsHexagon.td
IntrinsicsMips.td [mips][msa] Added IntrNoMem and removed Commutative from sub intrinsics. 2013-09-03 09:45:20 +00:00
IntrinsicsNVVM.td [NVPTX] Remove i8 register class. PTX support for i8 (.b8, .u8, .s8) is rather poor and we're better off just ignoring it and letting LLVM expand all i8 ops out to i16. 2013-06-28 17:57:59 +00:00
IntrinsicsPowerPC.td
IntrinsicsR600.td
IntrinsicsX86.td AVX-512: compiler intrinsics 2013-08-19 06:55:01 +00:00
IntrinsicsXCore.td remove executable permission from IntrinsicsXCore.td 2013-08-01 17:17:59 +00:00
IRBuilder.h Fix missing const 2013-07-22 18:58:53 +00:00
LLVMContext.h Tidy up. Whitespace. 2013-05-24 22:53:06 +00:00
MDBuilder.h
Metadata.h Remove unneeded forward declarations. 2013-07-13 08:28:45 +00:00
Module.h Make these methods const correct. 2013-07-25 02:50:08 +00:00
OperandTraits.h
Operator.h
SymbolTableListTraits.h
Type.h
TypeBuilder.h #include <climits> instead of <limits.h> in C++ header file. 2013-06-13 23:49:09 +00:00
TypeFinder.h
Use.h Enable pod-like optimizations for pred and succ iterators. 2013-05-20 13:12:58 +00:00
User.h
Value.h Add a new helper method to Value to strip in-bounds constant offsets of 2013-08-22 11:25:11 +00:00
ValueSymbolTable.h