summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix this test up a bit.Eric Christopher2011-03-141-3/+1
| | | | llvm-svn: 127621
* Trailing whitespace.Jim Grosbach2011-03-141-26/+26
| | | | llvm-svn: 127620
* Ignore isCodeGenOnly instructions when generating diassembly tables.Owen Anderson2011-03-141-1/+2
| | | | llvm-svn: 127619
* Place context in member variables instead of passing around pointers.Jakob Stoklund Olesen2011-03-142-23/+26
| | | | | | Use the opportunity to get rid of the trailing underscore variable names. llvm-svn: 127618
* Code generation for noexcept.Sebastian Redl2011-03-143-17/+56
| | | | llvm-svn: 127617
* __clear_cache() is varargs and people will occasionally write it withoutEric Christopher2011-03-142-4/+28
| | | | | | | | | arguments. Process only the arguments that people write, but process all of them. Fixes rdar://8900346 llvm-svn: 127616
* Okay, some compilers complain if you provide the exception-specificationJohn McCall2011-03-141-5/+0
| | | | | | | where none was before. Just don't declare it and hope it's declared in every translation unit that needs it. llvm-svn: 127612
* Fix the exception-specification of abort() when declaring it in C++.John McCall2011-03-141-1/+1
| | | | llvm-svn: 127610
* Make llvm_unreachable evaluate to __builtin_unreachable() in -AssertsJohn McCall2011-03-142-1/+16
| | | | | | builds, which was the apparent consensus of PR8973 and llvmdev. llvm-svn: 127608
* Rename members to match LLVM naming conventions more closely.Jakob Stoklund Olesen2011-03-141-111/+109
| | | | | | | | Remove the unused reserved_ bit vector, no functional change intended. This doesn't break 'svn blame', this file really is all my fault. llvm-svn: 127607
* Tweak VariadicMethodTypeChecker to only create one ExplodedNode when issuing ↵Ted Kremenek2011-03-142-8/+12
| | | | | | | | multiple warnings for the same message expression. Also add a test case showing that we correctly report multiple warnings for the same message expression. llvm-svn: 127605
* Incorporate source ranges for RangeBugReport when coelescing reports into ↵Ted Kremenek2011-03-141-0/+12
| | | | | | equivalence classes. llvm-svn: 127604
* Implement instantiation of noexcept spec and add a test case.Sebastian Redl2011-03-142-1/+19
| | | | llvm-svn: 127603
* Add another, pretty trivial, exception spec test case.Sebastian Redl2011-03-141-0/+12
| | | | llvm-svn: 127602
* Remove some dead patterns.Jim Grosbach2011-03-144-56/+0
| | | | llvm-svn: 127601
* BIT_CONVERT has been renamed to BITCAST.Evan Cheng2011-03-141-1/+1
| | | | llvm-svn: 127600
* Minor optimization. sign-ext/anyext of undef is still undef.Evan Cheng2011-03-143-5/+23
| | | | llvm-svn: 127598
* Make deallocation functions implicitly noexcept in C++0x.Sebastian Redl2011-03-144-9/+65
| | | | llvm-svn: 127596
* Indentation.Evan Cheng2011-03-141-1/+1
| | | | llvm-svn: 127595
* Fix link of libxul with LTO and the linker in xcode4. It is not clear if thisRafael Espindola2011-03-142-3/+6
| | | | | | | is working around a bug in ld or if the new linker has a reasonable reason for wanting the string constant to be linker visible. llvm-svn: 127594
* Negating a recurrence preserves no-self-wrap.Andrew Trick2011-03-141-0/+11
| | | | llvm-svn: 127593
* Trailing whitespace.Jim Grosbach2011-03-141-46/+46
| | | | llvm-svn: 127592
* HowFarToZero can compute a trip count as long as the recurrence has ↵Andrew Trick2011-03-141-16/+20
| | | | | | no-self-wrap. llvm-svn: 127591
* Added SCEV::NoWrapFlags to manage unsigned, signed, and self wrapAndrew Trick2011-03-147-182/+307
| | | | | | | | | properties. Added the self-wrap flag for SCEV::AddRecExpr. A slew of temporary FIXMEs indicate the intention of the no-self-wrap flag without changing behavior in this revision. llvm-svn: 127590
* whitespaceAndrew Trick2011-03-141-66/+66
| | | | llvm-svn: 127589
* -fwritable-strings should silence warnings about the deprecated stringDouglas Gregor2011-03-142-1/+3
| | | | | | -literal to char* conversion. Make it so. llvm-svn: 127586
* Block return type of the initialized must beFariborz Jahanian2011-03-143-8/+28
| | | | | | | | be more speciaclized than that of the initializer, when matching protocol qualifier list. // rdar:// 9118343. llvm-svn: 127585
* PTX: Emit global arrays with proper sizesJustin Holewinski2011-03-143-45/+74
| | | | | | | - Emit all arrays as type .b8 and proper sizes in bytes to conform to the output of nvcc llvm-svn: 127584
* Support Ubuntu hardy and intrepid, from Thomas Gamper!Douglas Gregor2011-03-141-2/+10
| | | | llvm-svn: 127583
* Add include paths for Gentoo Linux, from Marcin Mirosław!Douglas Gregor2011-03-141-2/+22
| | | | llvm-svn: 127582
* Fix incorrect linkage specifiers for selectors.David Chisnall2011-03-141-2/+2
| | | | llvm-svn: 127580
* Fix LIBCLANG_LINK_FLAGS for Darwin.Oscar Fuentes2011-03-141-2/+2
| | | | | | | The previous syntax created a list with the usual semicolon as separator, which breaks the link command. llvm-svn: 127579
* PTX: Add support for sqrt/sin/cos intrinsicsJustin Holewinski2011-03-142-0/+89
| | | | llvm-svn: 127578
* ptx: add set.p instruction and related changes to predicate executionChe-Liang Chiou2011-03-145-17/+168
| | | | llvm-svn: 127577
* Emacs mode string.Mikhail Glushenkov2011-03-141-1/+1
| | | | llvm-svn: 127576
* Correct small comment order typo.Francois Pichet2011-03-141-1/+1
| | | | llvm-svn: 127575
* This case is solved by Scalar Replacement of Aggregates (DT) andJin-Gu Kang2011-03-141-25/+3
| | | | | | Early CSE pass so this patch reverts it to original source code. llvm-svn: 127574
* Get rid of the static FileManager::FixupRelativePath.Anders Carlsson2011-03-143-12/+5
| | | | llvm-svn: 127573
* Add an Objective-C checker that checks that arguments passed to some ↵Anders Carlsson2011-03-133-0/+223
| | | | | | | | variadic Objective-C methods are of Objective-C pointer types. Ted or Argiris, I'd appreciate a review! llvm-svn: 127572
* Change GetNullarySelector and GetUnarySelector to take a StringRef.Anders Carlsson2011-03-131-2/+2
| | | | llvm-svn: 127571
* Fix makefile builds when llvm is configured with -enable-shared.Stephen Wilson2011-03-131-5/+1
| | | | | | | | | | We were dropping the expansion of -rpath=$(LibDir) on linux, which resulted in the build not being able to resolve libLLVM.so. Bring in the definition before expanding the values hanging off LD.Flags. Thanks to Jason E. Aten for reporting this! llvm-svn: 127570
* ptx: add basic support of predicate executionChe-Liang Chiou2011-03-134-59/+177
| | | | llvm-svn: 127569
* Instead of storing an ASTContext* in FunctionProtoTypes with computed ↵Sebastian Redl2011-03-1313-58/+44
| | | | | | noexcept specifiers, unique FunctionProtoTypes with a ContextualFoldingSet, as suggested by John McCall. llvm-svn: 127568
* Build libclang as a static library too. Now tested on Windows!Oscar Fuentes2011-03-131-28/+36
| | | | | | | | On Windows only the shared library is created. The reason for this is that clang.lib the static library would clash with clang.lib the export library of the dll. llvm-svn: 127566
* Add comment as following:Jin-Gu Kang2011-03-131-0/+12
| | | | | | | | | | | | | | | | | load and store reference same memory location, the memory location is represented by getelementptr with two uses (load and store) and the getelementptr's base is alloca with single use. At this point, instructions from alloca to store can be removed. (this pattern is generated when bitfield is accessed.) For example, %u = alloca %struct.test, align 4 ; [#uses=1] %0 = getelementptr inbounds %struct.test* %u, i32 0, i32 0;[#uses=2] %1 = load i8* %0, align 4 ; [#uses=1] %2 = and i8 %1, -16 ; [#uses=1] %3 = or i8 %2, 5 ; [#uses=1] store i8 %3, i8* %0, align 4 llvm-svn: 127565
* Reverting "Build libclang as a static library too."Oscar Fuentes2011-03-131-42/+28
| | | | | | This reverts commit r127556. It breaks the build for MSVC. llvm-svn: 127564
* Fix CFG assertion failure reported in PR 9467. This was due to recent ↵Ted Kremenek2011-03-132-9/+25
| | | | | | changes in optimizing CFGs for switch statements. llvm-svn: 127563
* LTO is not ready for Windows.Oscar Fuentes2011-03-131-1/+4
| | | | llvm-svn: 127562
* Now that we are deleting unused live intervals during allocation, pointers ↵Jakob Stoklund Olesen2011-03-131-2/+4
| | | | | | | | may be reused. Use the virtual register number as a cache tag instead. They are not reused. llvm-svn: 127561
* Tell the register allocator about new unused virtual registers.Jakob Stoklund Olesen2011-03-134-1/+26
| | | | | | | This allows the allocator to free any resources used by the virtual register, including physical register assignments. llvm-svn: 127560
OpenPOWER on IntegriCloud