1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/lib/VMCore
Bob Wilson 1882fba746 Change Value::getUnderlyingObject to have the MaxLookup value specified as a
parameter with a default value, instead of just hardcoding it in the
implementation.  The limit of MaxLookup = 6 was introduced in r69151 to fix
a performance problem with O(n^2) behavior in instcombine, but the scalarrepl
pass is relying on getUnderlyingObject to go all the way back to an AllocaInst.
Making the limit part of the method signature makes it clear that by default
the result is limited and should help avoid similar problems in the future.
This fixes pr6126.

llvm-svn: 94433
2010-01-25 18:26:54 +00:00
..
AsmWriter.cpp Refactor common parts of MDNode::getFunction() and assertLocalFunction() into getFunctionForValue() 2010-01-20 04:45:57 +00:00
Attributes.cpp Remove the InlineHint attribute. There are no current or planned 2010-01-15 21:36:30 +00:00
AutoUpgrade.cpp Improve llvm.dbg.declare intrinsic by referring directly to the storage in its first argument, via function-local metadata (instead of via a bitcast). 2010-01-15 19:04:09 +00:00
BasicBlock.cpp Qualify a bunch of explicit template instantiations to satisfy clang++. 2009-12-19 00:55:12 +00:00
CMakeLists.txt Update CMake files for Mangler move. 2010-01-16 22:23:09 +00:00
ConstantFold.cpp Fix a crasher trying to fold each element in a comparison between two vectors 2010-01-21 07:03:21 +00:00
ConstantFold.h Value* were never meant to be const. Removing constness from the constant 2009-09-20 01:35:59 +00:00
Constants.cpp Fix a crasher trying to fold each element in a comparison between two vectors 2010-01-21 07:03:21 +00:00
ConstantsContext.h Fix a build error and change errs() to dbgs(). 2010-01-05 01:34:26 +00:00
Core.cpp "In order to ease automatic bindings generation, it would be helpful if boolean values were distinguishable from integers. The attached patch introduces "typedef int LLVMBool;", and uses LLVMBool instead of int throughout the C API, wherever a boolean value is called for." 2010-01-09 22:27:07 +00:00
Dominators.cpp Qualify a bunch of explicit template instantiations to satisfy clang++. 2009-12-19 00:55:12 +00:00
Function.cpp Avoid going through the LLVMContext for type equality where it's safe to dereference the type pointer. 2010-01-05 13:12:22 +00:00
Globals.cpp In GlobalVariable::setInitializer, assert that the initializer has the 2009-11-17 00:43:13 +00:00
InlineAsm.cpp Avoid going through the LLVMContext for type equality where it's safe to dereference the type pointer. 2010-01-05 13:12:22 +00:00
Instruction.cpp Add a comment. 2010-01-04 18:38:39 +00:00
Instructions.cpp simplify code a bit. 2010-01-23 04:42:42 +00:00
IntrinsicInst.cpp Improve llvm.dbg.declare intrinsic by referring directly to the storage in its first argument, via function-local metadata (instead of via a bitcast). 2010-01-15 19:04:09 +00:00
IRBuilder.cpp Final step in the metadata API restructuring: move the 2009-12-29 09:01:33 +00:00
LeakDetector.cpp remove a bunch of locking from LLVMContextImpl. Since only one thread 2009-11-01 18:42:03 +00:00
LeaksContext.h Catch more cases of a pointer being marked garbage twice. This helps when 2009-12-18 20:35:38 +00:00
LLVMContext.cpp Final step in the metadata API restructuring: move the 2009-12-29 09:01:33 +00:00
LLVMContextImpl.h Final step in the metadata API restructuring: move the 2009-12-29 09:01:33 +00:00
Makefile mark some libraries that currently require RTTI. 2010-01-24 20:22:08 +00:00
Metadata.cpp Remove MetadataBase class because it is not adding significant value. 2010-01-22 22:52:10 +00:00
Module.cpp Use ilist_tratis to autoinsert and remove NamedMDNode from MDSymbolTable. 2010-01-12 18:34:06 +00:00
ModuleProvider.cpp Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
Pass.cpp give PassNameParser a home. 2010-01-22 06:29:25 +00:00
PassManager.cpp elimiante the dynamic_cast's from opt. 2010-01-22 06:03:06 +00:00
PrintModulePass.cpp Change errs() to dbgs(). 2010-01-05 01:30:18 +00:00
SymbolTableListTraitsImpl.h Fold the useful features of alist and alist_node into ilist, and 2008-07-28 21:51:04 +00:00
Type.cpp Convert a ton of simple integer type equality tests to the new predicate. 2010-01-05 20:07:06 +00:00
TypesContext.h Change errs() to dbgs(). 2010-01-05 01:29:39 +00:00
TypeSymbolTable.cpp Change errs() to dbgs(). 2010-01-05 01:30:14 +00:00
Use.cpp Public and private corrections, warned about by icc (#304). 2009-09-06 08:55:57 +00:00
Value.cpp Change Value::getUnderlyingObject to have the MaxLookup value specified as a 2010-01-25 18:26:54 +00:00
ValueSymbolTable.cpp Delete NamedMDSymTable while destrucing Module. 2010-01-09 01:44:59 +00:00
ValueTypes.cpp Reapply 79977. 2009-08-28 23:24:31 +00:00
Verifier.cpp Fix/strengthen verification of llvm.dbg.declare 2010-01-22 19:06:12 +00:00