llvm/lib/Transforms/Utils
Duncan Sands ab6b226978 Don't load values out of global constants with weak
linkage: the value may be replaced with something
different at link time.  (Frontends that want to
allow values to be loaded out of weak constants can
give their constants weak_odr linkage).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67407 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-20 21:53:29 +00:00
..
AddrModeMatcher.cpp Fix compiler warning about uninitialized variables. No functional change. 2009-02-27 06:29:31 +00:00
BasicBlockUtils.cpp Skip ptr-to-ptr bitcasts when counting in another case. 2009-03-04 02:06:53 +00:00
BasicInliner.cpp Changed option name from inline-threshold to basic-inline-threshold because 2009-02-23 07:07:56 +00:00
BreakCriticalEdges.cpp Rename getAnalysisToUpdate to getAnalysisIfAvailable. 2009-01-28 13:14:17 +00:00
CloneFunction.cpp Don't load values out of global constants with weak 2009-03-20 21:53:29 +00:00
CloneLoop.cpp Rename getAnalysisToUpdate to getAnalysisIfAvailable. 2009-01-28 13:14:17 +00:00
CloneModule.cpp Don't drop alignment on globals when cloning. 2008-10-09 06:27:14 +00:00
CloneTrace.cpp
CMakeLists.txt Add AddrModeMatcher.cpp 2009-02-21 07:05:11 +00:00
CodeExtractor.cpp Fix PR2929 by making bugpoint/code extract propagate the nothrow 2008-12-18 05:52:56 +00:00
DemoteRegToStack.cpp
InlineCost.cpp If a function is marked alwaysinline, it must be inlined (possibly for correctness). Do so even if the callee has dynamic alloca and the caller doesn't. 2009-03-10 07:57:50 +00:00
InlineFunction.cpp Revert unintended commmit. 2009-03-04 02:09:48 +00:00
InstructionNamer.cpp make instnamer name unnamed blocks as well as instructions and args. 2008-12-18 00:33:11 +00:00
LCSSA.cpp Simplify the logic of getting hold of a PHI predecessor block. 2009-01-23 19:40:15 +00:00
Local.cpp Revert my previous change on Local.cpp, instead, fix the bug on scalarrepl. 2009-03-18 10:13:08 +00:00
LoopSimplify.cpp Rename getAnalysisToUpdate to getAnalysisIfAvailable. 2009-01-28 13:14:17 +00:00
LowerAllocations.cpp Rename getABITypeSize to getTypePaddedSize, as 2009-01-12 20:38:59 +00:00
LowerInvoke.cpp Revert r66920. It was causing failures in the self-hosting buildbot (in release 2009-03-13 21:15:59 +00:00
LowerSwitch.cpp
Makefile Removed trailing whitespace from Makefiles. 2009-01-09 16:44:42 +00:00
Mem2Reg.cpp Just roll back the previous change to -mem2reg. 2009-02-20 17:49:33 +00:00
PromoteMemoryToRegister.cpp Tweak the check for promotable alloca's to handle 2009-03-06 00:42:50 +00:00
SimplifyCFG.cpp Fix comment typo. 2009-03-19 17:23:29 +00:00
UnifyFunctionExitNodes.cpp Tidy up #includes, deleting a bunch of unnecessary #includes. 2009-01-05 17:59:02 +00:00
UnrollLoop.cpp Factor some code into a new FoldSingleEntryPHINodes method. 2008-12-03 19:44:02 +00:00
ValueMapper.cpp