|  | Commit message (Collapse) | Author | Age | Files | Lines | 
|---|
| | 
| 
| 
| | llvm-svn: 135265 | 
| | 
| 
| 
| 
| 
| 
| | which was just replaceAllUsesWith without some assertions.  It was
needed back when type refinement was alive.
llvm-svn: 135253 | 
| | 
| 
| 
| 
| 
| | 4 files changed, 15 insertions(+), 60 deletions(-)
llvm-svn: 135252 | 
| | 
| 
| 
| 
| 
| | Devirtualize the isNegativeZeroValue method.
llvm-svn: 135249 | 
| | 
| 
| 
| | llvm-svn: 135248 | 
| | 
| 
| 
| | llvm-svn: 135200 | 
| | 
| 
| 
| | llvm-svn: 135182 | 
| | 
| 
| 
| 
| 
| | of named struct types.
llvm-svn: 135178 | 
| | 
| 
| 
| | llvm-svn: 135174 | 
| | 
| 
| 
| 
| 
| 
| | of calling getAllMetadata().  This is semantically identical, but doing
it this way avoids unpacking the DebugLoc.
llvm-svn: 135173 | 
| | 
| 
| 
| | llvm-svn: 135164 | 
| | 
| 
| 
| 
| 
| | non-virtual function.
llvm-svn: 135163 | 
| | 
| 
| 
| | llvm-svn: 135157 | 
| | 
| 
| 
| | llvm-svn: 135154 | 
| | 
| 
| 
| | llvm-svn: 135151 | 
| | 
| 
| 
| 
| 
| | reference the array passed to them instead of copying it to a std::vector.
llvm-svn: 135145 | 
| | 
| 
| 
| | llvm-svn: 135132 | 
| | 
| 
| 
| 
| 
| | much as possible.
llvm-svn: 135124 | 
| | 
| 
| 
| 
| 
| | a complete misunderstanding of the code.
llvm-svn: 135070 | 
| | 
| 
| 
| | llvm-svn: 135042 | 
| | 
| 
| 
| | llvm-svn: 135040 | 
| | 
| 
| 
| 
| 
| | to Benjamin Kramer for steering me in the right direction here.
llvm-svn: 135031 | 
| | 
| 
| 
| 
| 
| | StructType::get() and TargetData::getIntPtrType().
llvm-svn: 134982 | 
| | 
| 
| 
| | llvm-svn: 134968 | 
| | 
| 
| 
| | llvm-svn: 134959 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | an assert on Darwin llvm-gcc builds.
Assertion failed: (castIsValid(op, S, Ty) && "Invalid cast!"), function Create, file /Users/buildslave/zorg/buildbot/smooshlab/slave-0.8/build.llvm-gcc-i386-darwin9-RA/llvm.src/lib/VMCore/Instructions.cpp, li\
ne 2067.
etc.
http://smooshlab.apple.com:8013/builders/llvm-gcc-i386-darwin9-RA/builds/2354
--- Reverse-merging r134893 into '.':
U    include/llvm/Target/TargetData.h
U    include/llvm/DerivedTypes.h
U    tools/bugpoint/ExtractFunction.cpp
U    unittests/Support/TypeBuilderTest.cpp
U    lib/Target/ARM/ARMGlobalMerge.cpp
U    lib/Target/TargetData.cpp
U    lib/VMCore/Constants.cpp
U    lib/VMCore/Type.cpp
U    lib/VMCore/Core.cpp
U    lib/Transforms/Utils/CodeExtractor.cpp
U    lib/Transforms/Instrumentation/ProfilingUtils.cpp
U    lib/Transforms/IPO/DeadArgumentElimination.cpp
U    lib/CodeGen/SjLjEHPrepare.cpp
--- Reverse-merging r134888 into '.':
G    include/llvm/DerivedTypes.h
U    include/llvm/Support/TypeBuilder.h
U    include/llvm/Intrinsics.h
U    unittests/Analysis/ScalarEvolutionTest.cpp
U    unittests/ExecutionEngine/JIT/JITTest.cpp
U    unittests/ExecutionEngine/JIT/JITMemoryManagerTest.cpp
U    unittests/VMCore/PassManagerTest.cpp
G    unittests/Support/TypeBuilderTest.cpp
U    lib/Target/MBlaze/MBlazeIntrinsicInfo.cpp
U    lib/Target/Blackfin/BlackfinIntrinsicInfo.cpp
U    lib/VMCore/IRBuilder.cpp
G    lib/VMCore/Type.cpp
U    lib/VMCore/Function.cpp
G    lib/VMCore/Core.cpp
U    lib/VMCore/Module.cpp
U    lib/AsmParser/LLParser.cpp
U    lib/Transforms/Utils/CloneFunction.cpp
G    lib/Transforms/Utils/CodeExtractor.cpp
U    lib/Transforms/Utils/InlineFunction.cpp
U    lib/Transforms/Instrumentation/GCOVProfiling.cpp
U    lib/Transforms/Scalar/ObjCARC.cpp
U    lib/Transforms/Scalar/SimplifyLibCalls.cpp
U    lib/Transforms/Scalar/MemCpyOptimizer.cpp
G    lib/Transforms/IPO/DeadArgumentElimination.cpp
U    lib/Transforms/IPO/ArgumentPromotion.cpp
U    lib/Transforms/InstCombine/InstCombineCompares.cpp
U    lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
U    lib/Transforms/InstCombine/InstCombineCalls.cpp
U    lib/CodeGen/DwarfEHPrepare.cpp
U    lib/CodeGen/IntrinsicLowering.cpp
U    lib/Bitcode/Reader/BitcodeReader.cpp
llvm-svn: 134949 | 
| | 
| 
| 
| 
| 
| | destroy those types in ~LLVMContext.
llvm-svn: 134945 | 
| | 
| 
| 
| | llvm-svn: 134893 | 
| | 
| 
| 
| | llvm-svn: 134888 | 
| | 
| 
| 
| | llvm-svn: 134887 | 
| | 
| 
| 
| | llvm-svn: 134868 | 
| | 
| 
| 
| 
| 
| | type refinement.  Zap them now that type refinement is toast.
llvm-svn: 134837 | 
| | 
| 
| 
| | llvm-svn: 134836 | 
| | 
| 
| 
| 
| 
| | their names, we don't need a module around to print them.
llvm-svn: 134835 | 
| | 
| 
| 
| | llvm-svn: 134832 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | patch brings numerous advantages to LLVM.  One way to look at it
is through diffstat:
 109 files changed, 3005 insertions(+), 5906 deletions(-)
Removing almost 3K lines of code is a good thing.  Other advantages
include:
1. Value::getType() is a simple load that can be CSE'd, not a mutating
   union-find operation.
2. Types a uniqued and never move once created, defining away PATypeHolder.
3. Structs can be "named" now, and their name is part of the identity that
   uniques them.  This means that the compiler doesn't merge them structurally
   which makes the IR much less confusing.
4. Now that there is no way to get a cycle in a type graph without a named
   struct type, "upreferences" go away.
5. Type refinement is completely gone, which should make LTO much MUCH faster
   in some common cases with C++ code.
6. Types are now generally immutable, so we can use "Type *" instead 
   "const Type *" everywhere.
Downsides of this patch are that it removes some functions from the C API,
so people using those will have to upgrade to (not yet added) new API.  
"LLVM 3.0" is the right time to do this.
There are still some cleanups pending after this, this patch is large enough
as-is.
llvm-svn: 134829 | 
| | 
| 
| 
| | llvm-svn: 134516 | 
| | 
| 
| 
| | llvm-svn: 134223 | 
| | 
| 
| 
| | llvm-svn: 134221 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| | nodes.
Original message:
Let simplify cfg simplify bb with only debug and lifetime intrinsics.
llvm-svn: 134182 | 
| | 
| 
| 
| 
| 
| | lifetime intrinsics" due to buildbot failures.
llvm-svn: 134071 | 
| | 
| 
| 
| | llvm-svn: 134057 | 
| | 
| 
| 
| 
| 
| | avoid getting embedded trailing null bytes in std::strings.
llvm-svn: 133999 | 
| | 
| 
| 
| | llvm-svn: 133822 | 
| | 
| 
| 
| | llvm-svn: 133821 | 
| | 
| 
| 
| 
| 
| | -Wshorten-64-to-32 warning in Instructions.h.
llvm-svn: 133708 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| | "Reinstate r133435 and r133449 (reverted in r133499) now that the clang
self-hosted build failure has been fixed (r133512)."
Due to some additional warnings.
llvm-svn: 133700 | 
| | 
| 
| 
| 
| 
| | that takes an ArrayRef.
llvm-svn: 133615 | 
| | 
| 
| 
| | llvm-svn: 133614 | 
| | 
| 
| 
| | llvm-svn: 133612 |