Displaying 1 50 of 129,713 commits (0.009s)

LLVM — llvm/trunk/docs ProgrammersManual.html, llvm/trunk/include/llvm/ADT SparseSet.h

Add a Briggs and Torczon sparse set implementation.

For objects that can be identified by small unsigned keys, SparseSet
provides constant time clear() and fast deterministic iteration. Insert,
erase, and find operations are typically faster than hash tables.

SparseSet is useful for keeping information about physical registers,
virtual registers, or numbered basic blocks.
Delta File
+259 -0 llvm/trunk/include/llvm/ADT/SparseSet.h
+186 -0 llvm/trunk/unittests/ADT/SparseSetTest.cpp
+19 -0 llvm/trunk/docs/ProgrammersManual.html
+1 -0 llvm/trunk/unittests/CMakeLists.txt
+465 -0 4 files

LLVM — cfe/trunk/include/clang/Driver Options.td, cfe/trunk/lib/Driver Driver.cpp

Provide a way to disable auto-generation of preprocessed files during clang 
crash.  This can speedup the process of generating a delta reduced test case.
rdar://10905465
Delta File
+3 -0 cfe/trunk/lib/Driver/Driver.cpp
+1 -0 cfe/trunk/include/clang/Driver/Options.td
+4 -0 2 files

LLVM — libcxx/trunk/test testit

Use Xcode relative compilers when possible
Delta File
+6 -1 libcxx/trunk/test/testit
+6 -1 1 file

LLVM — llvm/trunk/lib/Target/Mips MipsAnalyzeImmediate.cpp

Use a function in MathExtras to do sign extension.
Delta File
+1 -1 llvm/trunk/lib/Target/Mips/MipsAnalyzeImmediate.cpp
+1 -1 1 file

LLVM — cfe/trunk/lib/Rewrite RewriteModernObjC.cpp, cfe/trunk/test/Rewriter rewrite-modern-class.mm

modern objc translator: fixes a bug where a class declaration with not
any implementation in tu was not being translated.
Delta File
+9 -10 cfe/trunk/lib/Rewrite/RewriteModernObjC.cpp
+9 -0 cfe/trunk/test/Rewriter/rewrite-modern-class.mm
+18 -10 2 files

LLVM — llvm/trunk/test/CodeGen/PowerPC ppc32-vaarg.ll

Remove a bad PowerPC test.

This test case was way too strict, matching the entire assembly output.
Every non-trivial change to the ppc backend  or -O0 pipeline required
the test to be updated.

It should be replaced with a test of the specific vaarg feature.
Delta File
+0 -160 llvm/trunk/test/CodeGen/PowerPC/ppc32-vaarg.ll
+0 -160 1 file

LLVM — llvm/trunk/lib/Target/ARM ARMBaseInstrInfo.cpp

Calls don't really change the stack pointer.

Even if a call instruction has %SP<imp-def> operands, it doesn't change
the value of the stack pointer.
Delta File
+2 -1 llvm/trunk/lib/Target/ARM/ARMBaseInstrInfo.cpp
+2 -1 1 file

LLVM — cfe/trunk/lib/Rewrite RewriteModernObjC.cpp, cfe/trunk/test/Rewriter rewrite-modern-class.mm

objective-c modern translator. accessing ivars using modern abi - wip.
Delta File
+37 -61 cfe/trunk/lib/Rewrite/RewriteModernObjC.cpp
+2 -1 cfe/trunk/test/Rewriter/rewrite-modern-class.mm
+39 -62 2 files

LLVM — cfe/trunk/include/clang/AST Stmt.h

Make sure Stmt::dump() is included in libclang.
Delta File
+2 -2 cfe/trunk/include/clang/AST/Stmt.h
+2 -2 1 file

LLVM — cfe/trunk/lib/Parse ParseExprCXX.cpp, cfe/trunk/test/CXX/expr/expr.prim/expr.prim.general p4-0x.cpp

In the conflict between C++11 [expr.prim.general]p4, which declares
that 'this' can be used in the brace-or-equal-initializer of a
non-static data member, and C++11 [expr.prim.lambda]p9, which says
that lambda expressions not in block scope can have no captures, side
fully with C++11 [expr.prim.general]p4 by allowing 'this' to be
captured within these initializers. This seems to be the intent of
non-static data member initializers.
Delta File
+11 -0 cfe/trunk/test/CXX/expr/expr.prim/expr.prim.general/p4-0x.cpp
+4 -2 cfe/trunk/lib/Parse/ParseExprCXX.cpp
+15 -2 2 files

LLVM — cfe/trunk/lib/AST ExprConstant.cpp, cfe/trunk/test/Sema const-eval.c

Fix a crash in the diangostic code in EvalConstant.  PR12043.
Delta File
+5 -0 cfe/trunk/test/Sema/const-eval.c
+3 -1 cfe/trunk/lib/AST/ExprConstant.cpp
+8 -1 2 files

LLVM — llvm/trunk/include/llvm/CodeGen LiveIntervalAnalysis.h, llvm/trunk/lib/CodeGen LiveIntervalAnalysis.cpp

Add API "handleMoveIntoBundl" for updating liveness when moving instructions into
bundles. This method takes a bundle start and an MI being bundled, and makes
the intervals for the MI's operands appear to start/end on the bundle start.

Also fixes some minor cosmetic issues (whitespace, naming convention) in the
HMEditor code.
Delta File
+68 -13 llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp
+9 -1 llvm/trunk/include/llvm/CodeGen/LiveIntervalAnalysis.h
+77 -14 2 files

LLVM — llvm/trunk/test/DebugInfo/X86 DW_AT_byte_size.ll

Testcase for previous commit.

rdar://10493979
Delta File
+45 -0 llvm/trunk/test/DebugInfo/X86/DW_AT_byte_size.ll
+45 -0 1 file

LLVM — llvm/trunk/lib/CodeGen/AsmPrinter DwarfCompileUnit.cpp, llvm/trunk/test/DebugInfo/X86 concrete_out_of_line.ll DW_AT_specification.ll

There's no need for a DW_AT_byte_size on a pointer type.

Part of rdar://10493979 where it reduces by about .5% (10k)
Delta File
+3 -3 llvm/trunk/test/DebugInfo/X86/concrete_out_of_line.ll
+1 -1 llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
+1 -1 llvm/trunk/test/DebugInfo/X86/DW_AT_specification.ll
+1 -1 llvm/trunk/test/DebugInfo/X86/pr11300.ll
+6 -6 4 files

LLVM — cfe/trunk/test/CodeGenObjCXX debug-info.mm

No need to go to object file, -emit-llvm is sufficient to see if clang
itself crashes.
Delta File
+1 -1 cfe/trunk/test/CodeGenObjCXX/debug-info.mm
+1 -1 1 file

LLVM — cfe/trunk/test/Driver gcc-toolchain.cpp

Skip testing the crtbegin.o, and resume using a single variable for the
prefixes. It seems only crtbegin.o uses the strange formatting.
Delta File
+6 -6 cfe/trunk/test/Driver/gcc-toolchain.cpp
+6 -6 1 file

LLVM — llvm/trunk/lib/Transforms/IPO GlobalOpt.cpp, llvm/trunk/test/Transforms/GlobalOpt constantfold-initializers.ll

Use the target-aware constant folder on expressions to improve the chance
they'll be simple enough to simulate, and to reduce the chance we'll encounter
equal but different simple pointer constants.

This removes the symptoms from PR11352 but is not a full fix. A proper fix would
either require a guarantee that two constant objects we simulate are folded
when equal, or a different way of handling equal pointers (ie., trying a
constantexpr icmp on them to see whether we know they're equal or non-equal or
unsure).
Delta File
+43 -0 llvm/trunk/test/Transforms/GlobalOpt/constantfold-initializers.ll
+9 -2 llvm/trunk/lib/Transforms/IPO/GlobalOpt.cpp
+52 -2 2 files

LLVM — cfe/trunk/test/Driver gcc-toolchain.cpp

Clean up, add some documentation, and make this test return to checking
the linker toolchainness a bit more thoroughly. It used to work this
way, but hit buildbot issues. Hopefully subsequent fixes have addressed
those problems, but I'll be watching the bots.
Delta File
+10 -12 cfe/trunk/test/Driver/gcc-toolchain.cpp
+10 -12 1 file

LLVM — cfe/trunk/lib/Sema SemaObjCProperty.cpp, cfe/trunk/test/SemaObjC arc-property.m

Don't crash on attempts to synthesize an invalid property.
rdar://problem/10904479
Delta File
+9 -0 cfe/trunk/test/SemaObjC/arc-property.m
+1 -0 cfe/trunk/lib/Sema/SemaObjCProperty.cpp
+10 -0 2 files

LLVM — libcxx/trunk/include memory __config

Modernize conversion to bool to the explicit bool conversion operator (library wide).  
This fixes http://llvm.org/bugs/show_bug.cgi?id=12058.
Delta File
+7 -6 libcxx/trunk/include/memory
+6 -0 libcxx/trunk/include/__config
+2 -2 libcxx/trunk/include/system_error
+2 -1 libcxx/trunk/include/ios
+1 -1 libcxx/trunk/include/__mutex_base
+1 -1 libcxx/trunk/include/istream
+3 -3 3 files not shown
+22 -14 9 files

LLVM — cfe/trunk/test/CodeGenObjCXX debug-info.mm

Redirect the output to /dev/null.  This prevents the output from cluttering
up the build enviroment.
Delta File
+1 -1 cfe/trunk/test/CodeGenObjCXX/debug-info.mm
+1 -1 1 file

LLVM — cfe/branches/tooling/bindings/python/clang cindex.py, cfe/branches/tooling/bindings/python/tests/cindex test_type.py

Merging mainline.
Delta File
+221 -95 cfe/branches/tooling/bindings/python/tests/cindex/test_type.py
+152 -40 cfe/branches/tooling/lib/AST/ItaniumMangle.cpp
+186 -0 cfe/branches/tooling/test/CodeGenCXX/mangle-lambdas.cpp
+156 -0 cfe/branches/tooling/test/CodeGen/3dnow-builtins.c
+92 -12 cfe/branches/tooling/lib/Sema/SemaLambda.cpp
+82 -11 cfe/branches/tooling/bindings/python/clang/cindex.py
+1,451 -359 136 files not shown
+2,340 -517 142 files

LLVM — lldb/trunk/lldb.xcodeproj project.pbxproj

Install lldb tool into /usr/local/bin if sdk==iphoneos.
Delta File
+3 -0 lldb/trunk/lldb.xcodeproj/project.pbxproj
+3 -0 1 file

LLVM — libcxx/trunk/include memory functional, libcxx/trunk/test/utilities/memory/unique.ptr/unique.ptr.special cmp_nullptr.pass.cpp

Modernize relational operators for shared_ptr and unique_ptr.  This includes adding 
support for nullptr, and using less<T*>.  Fixes 
http://llvm.org/bugs/show_bug.cgi?id=12056.
Delta File
+227 -2 libcxx/trunk/include/memory
+71 -0 libcxx/trunk/test/utilities/memory/unique.ptr/unique.ptr.special/cmp_nullptr.pass.cpp
+71 -0 libcxx/trunk/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.cmp/cmp_nullptr.pass.cpp
+1 -6 libcxx/trunk/include/functional
+7 -0 libcxx/trunk/include/__functional_base
+377 -8 5 files

LLVM — llvm/trunk/lib/Target/ARM ARMSubtarget.cpp ARMAsmPrinter.cpp, llvm/trunk/test/CodeGen/ARM memfunc.ll

Proper support for a bastardized darwin-eabi hybird ABI.
Delta File
+3 -2 llvm/trunk/lib/Target/ARM/ARMSubtarget.cpp
+1 -3 llvm/trunk/lib/Target/ARM/ARMAsmPrinter.cpp
+2 -2 llvm/trunk/lib/Target/ARM/ARMSelectionDAGInfo.cpp
+3 -0 llvm/trunk/test/CodeGen/ARM/memfunc.ll
+1 -1 llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp
+10 -8 5 files

LLVM — cfe/trunk/lib/Sema SemaLambda.cpp, cfe/trunk/test/SemaCXX lambda-expressions.cpp

Only pop the expression evaluation context corresponding to a lambda
expression after we've finished the function body of the corresponding
function call operator. Otherwise, ActOnFinishFunctionBody() will see
the (unfinished) evaluation context of the lambda expression
itself. Fixes PR12031.
Delta File
+14 -0 cfe/trunk/test/SemaCXX/lambda-expressions.cpp
+1 -5 cfe/trunk/lib/Sema/SemaLambda.cpp
+15 -5 2 files

LLVM — cfe/trunk/lib/Parse ParseStmt.cpp, cfe/trunk/test/SemaCXX for-range-examples.cpp

Don't assume that a valid expression for the first part of a for-statement
is non-null when diagnosing a broken attempt to write a for-range-statement.
Delta File
+11 -0 cfe/trunk/test/SemaCXX/for-range-examples.cpp
+1 -2 cfe/trunk/lib/Parse/ParseStmt.cpp
+12 -2 2 files

LLVM — cfe/trunk/lib/Sema SemaChecking.cpp, cfe/trunk/test/Sema format-strings.c

When calling a non variadic format function(vprintf, vscanf, NSLogv, …), warn if the 
format string argument is a parameter that is not itself declared as a format string with 
compatible format.
Delta File
+29 -6 cfe/trunk/test/Sema/format-strings.c
+27 -3 cfe/trunk/test/SemaCXX/format-strings.cpp
+27 -2 cfe/trunk/test/SemaObjC/format-strings-objc.m
+21 -7 cfe/trunk/lib/Sema/SemaChecking.cpp
+104 -18 4 files

LLVM — llvm/trunk/lib/Analysis ScalarEvolutionExpander.cpp

s/the the/the/
Delta File
+1 -1 llvm/trunk/lib/Analysis/ScalarEvolutionExpander.cpp
+1 -1 1 file

LLVM — lldb/trunk/examples/lookup main.cpp

Fix comment.
Delta File
+1 -1 lldb/trunk/examples/lookup/main.cpp
+1 -1 1 file

LLVM — cfe/trunk/include/clang/AST DeclCXX.h, cfe/trunk/include/clang/Sema Sema.h

Improve our handling of lambda expressions that occur within default
arguments. There are two aspects to this:

  - Make sure that when marking the declarations referenced in a
  default argument, we don't try to mark local variables, both because
  it's a waste of time and because the semantics are wrong: we're not
  in a place where we could capture these variables again even if it
  did make sense.
  - When a lambda expression occurs in a default argument of a
  function template, make sure that the corresponding closure type is
  considered dependent, so that it will get properly instantiated. The
  second bit is a bit of a hack; to fix it properly, we may have to
  rearchitect our handling of default arguments, parsing them only
  after creating the function definition. However, I'd like to
  separate that work from the lambdas work.
Delta File
+30 -5 cfe/trunk/include/clang/AST/DeclCXX.h
+22 -4 cfe/trunk/lib/Sema/SemaExpr.cpp
+12 -3 cfe/trunk/lib/Sema/SemaLambda.cpp
+6 -2 cfe/trunk/lib/AST/DeclBase.cpp
+4 -2 cfe/trunk/include/clang/Sema/Sema.h
+6 -0 cfe/trunk/test/CXX/expr/expr.prim/expr.prim.lambda/p13.cpp
+5 -3 3 files not shown
+85 -19 9 files

LLVM — lldb/trunk/examples/interposing/darwin/fd_interposing FDInterposing.cpp

Revert accidental commit.
Delta File
+3 -3 lldb/trunk/examples/interposing/darwin/fd_interposing/FDInterposing.cpp
+3 -3 1 file

LLVM — lldb/trunk/source/Plugins/DynamicLoader/POSIX-DYLD DynamicLoaderPOSIXDYLD.cpp AuxVector.h, lldb/trunk/source/Plugins/Platform/Linux PlatformLinux.cpp

Linux fix patch from Dmitry Vyukov.
Delta File
+28 -35 lldb/trunk/source/Plugins/Process/POSIX/ProcessPOSIXLog.cpp
+7 -5 lldb/trunk/source/Plugins/Process/Linux/ProcessLinux.cpp
+7 -4 lldb/trunk/source/Plugins/Process/POSIX/POSIXThread.cpp
+7 -2 lldb/trunk/source/Plugins/Platform/Linux/PlatformLinux.cpp
+4 -2 lldb/trunk/source/Plugins/Process/POSIX/ProcessPOSIX.cpp
+4 -2 lldb/trunk/source/Plugins/Process/Linux/ProcessMonitor.cpp
+14 -11 8 files not shown
+71 -61 14 files

LLVM — lldb/trunk/examples/interposing/darwin/fd_interposing FDInterposing.cpp, lldb/trunk/include/lldb lldb-defines.h

Remove a ton of implicit narrowing conversions for C++11 compatibility.
Delta File
+87 -87 lldb/trunk/tools/debugserver/source/MacOSX/x86_64/DNBArchImplX86_64.cpp
+75 -75 lldb/trunk/tools/debugserver/source/MacOSX/i386/DNBArchImplI386.cpp
+10 -10 lldb/trunk/include/lldb/lldb-defines.h
+7 -7 lldb/trunk/source/Host/macosx/Host.mm
+3 -3 lldb/trunk/examples/interposing/darwin/fd_interposing/FDInterposing.cpp
+1 -1 lldb/trunk/tools/debugserver/source/MacOSX/MachThreadList.cpp
+1 -1 lldb/trunk/source/Plugins/Process/Utility/UnwindMacOSXFrameBackchain.cpp
+184 -184 7 files

LLVM — lldb/trunk/include/lldb/Core StreamCallback.h, lldb/trunk/source/Core StreamCallback.cpp

Forgot to add two files from the last checkin.
Delta File
+65 -0 lldb/trunk/source/Core/StreamCallback.cpp
+47 -0 lldb/trunk/include/lldb/Core/StreamCallback.h
+112 -0 2 files

LLVM — lldb/trunk/source/Symbol ObjectFile.cpp

Fixed an issue where empty sections or zero filled sections could return
incorrect values and also fire an assertion.
Delta File
+9 -1 lldb/trunk/source/Symbol/ObjectFile.cpp
+9 -1 1 file

LLVM — cfe/trunk/lib/Headers unwind.h

Allow linux builds to take advantage of libunwind to get unwind.h if
that's installed.
Delta File
+13 -3 cfe/trunk/lib/Headers/unwind.h
+13 -3 1 file

LLVM — llvm/trunk/lib/Transforms/InstCombine InstCombineCompares.cpp

Fix unsigned off-by-one in comment.
Delta File
+1 -1 llvm/trunk/lib/Transforms/InstCombine/InstCombineCompares.cpp
+1 -1 1 file

LLVM — llvm/trunk/lib/Transforms/InstCombine InstCombineCompares.cpp, llvm/trunk/test/Transforms/InstCombine icmp.ll

InstCombine: Don't transform a signed icmp of two GEPs into a signed compare of the 
indices.

This transformation is not safe in some pathological cases (signed icmp of pointers should 
be an
extremely rare thing, but it's valid IR!). Add an explanatory comment.

Kudos to Duncan for pointing out this edge case (and not giving up explaining it until I 
finally got it).
Delta File
+11 -0 llvm/trunk/test/Transforms/InstCombine/icmp.ll
+8 -0 llvm/trunk/lib/Transforms/InstCombine/InstCombineCompares.cpp
+19 -0 2 files

LLVM — llvm/trunk/lib/Support StringExtras.cpp StringRef.cpp

Move the implementation of StringRef::split out of StringExtras.cpp
and into StringRef.cpp, which is where the other StringRef stuff is.
Delta File
+0 -21 llvm/trunk/lib/Support/StringExtras.cpp
+21 -0 llvm/trunk/lib/Support/StringRef.cpp
+21 -21 2 files

LLVM — llvm/trunk/test/CodeGen/X86 2012-02-20-MachineCPBug.ll

test/CodeGen/X86/2012-02-20-MachineCPBug.ll: Fix on generic(non-x86) hosts to add 
-mattr=+sse.
Delta File
+1 -1 llvm/trunk/test/CodeGen/X86/2012-02-20-MachineCPBug.ll
+1 -1 1 file

LLVM — llvm/trunk/lib/VMCore LLVMContextImpl.h Type.cpp

Revert r151049 cos it broke the buildbots.
Delta File
+3 -106 llvm/trunk/lib/VMCore/LLVMContextImpl.h
+31 -25 llvm/trunk/lib/VMCore/Type.cpp
+34 -131 2 files

LLVM — llvm/trunk/lib/Support Triple.cpp

Tiny cosmetic change to use the same style for all of the while loops in
the normalize routine, especially the empty while loops.
Delta File
+4 -2 llvm/trunk/lib/Support/Triple.cpp
+4 -2 1 file

LLVM — llvm/trunk/lib/VMCore LLVMContextImpl.h Type.cpp

PR1210: make uniquing of struct and function types more efficient by
using a DenseMap and Talin's new GeneralHash, avoiding the need for a
temporary std::vector on every lookup.

Patch by Meador Inge!
Delta File
+106 -3 llvm/trunk/lib/VMCore/LLVMContextImpl.h
+25 -31 llvm/trunk/lib/VMCore/Type.cpp
+131 -34 2 files

LLVM — llvm/trunk/lib/Support Triple.cpp

Replace a hand rolled loop with a lovely StringRef helper we have these
days. No functionality changed.
Delta File
+1 -4 llvm/trunk/lib/Support/Triple.cpp
+1 -4 1 file

LLVM — llvm/trunk/include/llvm/ADT Triple.h, llvm/trunk/lib/Support Triple.cpp

Pull the parsing helper functions out of the Triple interface entirely.
They're private static methods but we can just make them static
functions in the implementation. It makes the implementations a touch
more wordy, but takes another chunk out of the header file.

Also, take the opportunity to switch the names to the new coding
conventions.

No functionality changed here.
Delta File
+86 -85 llvm/trunk/lib/Support/Triple.cpp
+0 -5 llvm/trunk/include/llvm/ADT/Triple.h
+86 -90 2 files

LLVM — llvm/trunk/include/llvm/ADT Triple.h, llvm/trunk/lib/Support Triple.cpp

Clean up comments that I missed when changing the triple representation.
Somehow, I even missed the ones I wrote just the other day...

Thanks to Matt for the code review.
Delta File
+7 -10 llvm/trunk/lib/Support/Triple.cpp
+2 -1 llvm/trunk/include/llvm/ADT/Triple.h
+9 -11 2 files

LLVM — llvm/trunk/include/llvm/MC MCRegisterInfo.h, llvm/trunk/utils/TableGen RegisterInfoEmitter.cpp

Reorder some members in MCRegisterClass to remove padding on 64-bit builds.
Delta File
+2 -2 llvm/trunk/include/llvm/MC/MCRegisterInfo.h
+2 -2 llvm/trunk/utils/TableGen/RegisterInfoEmitter.cpp
+4 -4 2 files

LLVM — llvm/trunk/include/llvm/MC MCRegisterInfo.h, llvm/trunk/utils/TableGen RegisterInfoEmitter.cpp

In generated RegisterInfo files, replace a pointer to the end of an array with just the 
size of the array to avoid relocations.
Delta File
+4 -3 llvm/trunk/include/llvm/MC/MCRegisterInfo.h
+2 -4 llvm/trunk/utils/TableGen/RegisterInfoEmitter.cpp
+6 -7 2 files

LLVM — llvm/trunk/utils/TableGen RegisterInfoEmitter.cpp

Merge some tables in generated RegisterInfo file. Store indices into larger table instead 
of pointers to reduce relocations and shrink table size on 64-bit builds. Shaves ~24K off 
X86MCTargetDesc.o. Accidentally commited only part of this in r151038.
Delta File
+48 -28 llvm/trunk/utils/TableGen/RegisterInfoEmitter.cpp
+48 -28 1 file