summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* A Release-Asserts build is now called a Release build.Duncan Sands2010-07-071-2/+1
| | | | llvm-svn: 107760
* Cleanup on CStringChecker and its associated tests. Also check for null ↵Jordy Rose2010-07-072-21/+106
| | | | | | arguments...which are allowed if the access length is 0! llvm-svn: 107759
* Rename "Release" builds as "Release+Asserts"; rename "Release-Asserts"Duncan Sands2010-07-076-16/+15
| | | | | | | | | | | | | builds to "Release". The default build is unchanged (optimization on, assertions on), however it is now called Release+Asserts. The intent is that future LLVM releases released via llvm.org will be Release builds in the new sense, i.e. will have assertions disabled (currently they have assertions enabled, for a more than 20% slowdown). This will bring them in line with MacOS releases, which ship with assertions disabled. It also means that "Release" now means the same things in make and cmake builds: cmake already disables assertions for "Release" builds AFAICS. llvm-svn: 107758
* Teach function-try-blocks on constructors and destructors to implicitlyJohn McCall2010-07-074-18/+51
| | | | | | rethrow. Fixes rdar://problem/7696603 llvm-svn: 107757
* implement PR7569, warning about assignment to null, which Chris Lattner2010-07-074-7/+31
| | | | | | | | people seem to write when they want a deterministic trap. Suggest instead that they use a volatile pointer or __builtin_trap. llvm-svn: 107756
* Don't consider casted non-global pointers to be evaluatable.John McCall2010-07-072-0/+8
| | | | | | Fixes rdar://problem/8154689 llvm-svn: 107755
* Avoid double-traversing for QualifiedTypeLoc -- we were callingCraig Silverstein2010-07-071-3/+6
| | | | | | | | | | | VisitTypeLoc twice for qualified types, once for the qualified form and once for the unqualified (though they looked the same by the time we got to visittypeloc). Now only visit once, which matches previous behavior. Reviewed by nlewycky llvm-svn: 107754
* Remove includes for removed files...Jim Ingham2010-07-071-2/+0
| | | | llvm-svn: 107753
* Add AVX SSE4.2 instructionsBruno Cardoso Lopes2010-07-073-114/+258
| | | | llvm-svn: 107752
* Fix GetRepeatCommand so it works with multi-word commands.Jim Ingham2010-07-0716-798/+818
| | | | | | | | Move the "source", "alias", and "unalias" commands to "commands *". Move "source-file" to "source list". Added a "source info" command but it isn't implemented yet. llvm-svn: 107751
* Use only one multiclass to pinsrq instructionsBruno Cardoso Lopes2010-07-072-38/+20
| | | | llvm-svn: 107750
* Now that almost all SSE4.1 AVX instructions are added, move code around to ↵Bruno Cardoso Lopes2010-07-072-361/+374
| | | | | | more appropriate sections. No functionality changes llvm-svn: 107749
* Change explicit handling of impossible condition to call llvm_unreachable in ↵Tom Care2010-07-071-2/+2
| | | | | | IdempotentOperationChecker::PreVisitBinaryOperator. llvm-svn: 107748
* Add AVX SSE4.1 insertps, ptest and movntdqa instructionsBruno Cardoso Lopes2010-07-073-18/+79
| | | | llvm-svn: 107747
* Add AVX SSE4.1 extractps and pinsr instructionsBruno Cardoso Lopes2010-07-073-35/+139
| | | | llvm-svn: 107746
* Silence an annoying GCC warning about use of an uninitialized variable. EvenChandler Carruth2010-07-071-1/+1
| | | | | | | making the other switch case unreachable, or sinking the 'continue' into it doesn't silence this. llvm-svn: 107745
* Revert "Remove references to INSERT_SUBREG after de-SSA" r107725.Jakob Stoklund Olesen2010-07-077-9/+136
| | | | | | Buildbot breakage. llvm-svn: 107744
* Also use REG_SEQUENCE for VTBX instructions.Bob Wilson2010-07-072-24/+30
| | | | llvm-svn: 107743
* Mark eh.sjlj.set/longjmp custom lowerings as Darwin-only since that's whereJim Grosbach2010-07-071-2/+4
| | | | | | they've been tested to work. llvm-svn: 107742
* Use 'llvm_unreachable' to mark impossible code paths so that GCC doesn'tChandler Carruth2010-07-071-1/+2
| | | | | | consider them for warnings. llvm-svn: 107741
* Add AVX SSE4.1 Extract Integer instructionsBruno Cardoso Lopes2010-07-073-0/+67
| | | | llvm-svn: 107740
* Provide a hook for the benefit of clients using clang IR gen as a subroutine:John McCall2010-07-065-0/+84
| | | | | | | | | | | | emit metadata associating allocas and global values with a Decl*. This feature is controlled by an option that (intentionally) cannot be enabled on the command line. To use this feature, simply set CodeGenOptions.EmitDeclMetadata = true; and then interpret the completely underspecified metadata. :) llvm-svn: 107739
* Fix casts in RegionStore to not always assume that bindings are only to ↵Ted Kremenek2010-07-061-4/+4
| | | | | | | | SubRegions. Fixes assertion failure reported in PR 7572. llvm-svn: 107738
* Add a const version of a method, to be consistent with other methodsCraig Silverstein2010-07-061-0/+4
| | | | | | | | of the same type. I think this was just an oversight before. Reviewed by chandlerc. Submitted as an "obvious" fix. llvm-svn: 107737
* Added a "GetRepeatCommand" to the command object. The Interpreter uses thisJim Ingham2010-07-064-4/+42
| | | | | | | | instead of the last history item to provide a command for the "empty" command. Use this in the source-file command to make <RETURN> continue the listing rather than relist the first listing... llvm-svn: 107736
* Fix idempotent operations test command line arguments.Tom Care2010-07-061-1/+1
| | | | llvm-svn: 107735
* By default, the eh.sjlj.setjmp/longjmp intrinsics should just do nothing ratherJim Grosbach2010-07-062-2/+9
| | | | | | | than assuming a target will custom lower them. Targets which do so should exlicitly mark them as having custom lowerings. PR7454. llvm-svn: 107734
* Enable a test clause since rdar://problem/8163668 is fixed by ↵Johnny Chen2010-07-061-6/+1
| | | | | | http://llvm.org/viewvc/llvm-project?rev=107729&view=rev. llvm-svn: 107733
* Remove references to INSERT_SUBREG after de-SSAJakob Stoklund Olesen2010-07-067-136/+9
| | | | llvm-svn: 107732
* Implement dumpToStream() for NonStaticGlobalSpaceRegion and ↵Ted Kremenek2010-07-062-1/+13
| | | | | | StaticGlobalSpaceRegion. llvm-svn: 107731
* Use REG_SEQUENCE nodes to make the table registers for VTBL instructions beBob Wilson2010-07-062-10/+61
| | | | | | allocated to consecutive registers. llvm-svn: 107730
* Fixed an issue with looking up line table entries by address where internalGreg Clayton2010-07-061-11/+39
| | | | | | | | | line table entries that were termination entries (ones that define the bounds of the previous entry) could be found when looking up line table entries. We now properly skip these termination entries and check the next entry to try for a match. llvm-svn: 107729
* Add comment noting VLASizeChecker's duty in defining a VLA's extent.Jordy Rose2010-07-061-0/+6
| | | | llvm-svn: 107728
* Accept RIP-relative symbols with 'i' constraint, andDale Johannesen2010-07-063-2/+24
| | | | | | | print the (%rip) only if the 'a' modifier is present. PR 7528. llvm-svn: 107727
* Convert INSERT_SUBREG to COPY in TwoAddressInstructionPass.Jakob Stoklund Olesen2010-07-063-2/+35
| | | | | | | | | INSERT_SUBREG will now only appear in SSA machine instructions. Fix the handling of partial redefs in ProcessImplicitDefs. This is now relevant since partial redef COPY instructions appear. llvm-svn: 107726
* Track defs for all aliases in NEONMoveFix.Jakob Stoklund Olesen2010-07-061-2/+2
| | | | | | | This means that an instruction defining an S register will affect the domain of the parent D register. llvm-svn: 107725
* if -1 => evaluates to TrueJohnny Chen2010-07-064-31/+31
| | | | | | oops! llvm-svn: 107724
* Add the rest of AVX SSE4.1 packed move with sign/zero extend instructionsBruno Cardoso Lopes2010-07-063-0/+112
| | | | llvm-svn: 107723
* Add a new path-sensitive checker for functions in <string.h>, for both ↵Jordy Rose2010-07-065-0/+548
| | | | | | null-terminated strings and memory blocks. Currently only checks memcpy(), memmove(), and bcopy(), but this is intended to be expanded soon. llvm-svn: 107722
* Make test not hang waiting for input.Dale Johannesen2010-07-061-1/+1
| | | | llvm-svn: 107721
* Add part of AVX SSE4.1 packed move with sign/zero extend instructionsBruno Cardoso Lopes2010-07-063-0/+112
| | | | llvm-svn: 107720
* Test that breakpoint works correctly in the presence of dead-code stripping.Johnny Chen2010-07-062-4/+93
| | | | llvm-svn: 107719
* Hide the logic for command resolution for commands, aliases & user commands ↵Jim Ingham2010-07-066-57/+103
| | | | | | | | | | | | behind a single interface so everybody does it the same way. Add an "exact" lookup for internal uses. Fix up a few little cases where we weren't reporting command lookup errors correctly. Added "b" as an alias for "breakpoint" so it doesn't collide with "bt". llvm-svn: 107718
* Fix comment from previous patchBruno Cardoso Lopes2010-07-061-1/+1
| | | | llvm-svn: 107717
* Switch over to using llvm's dwarf constants file.Jason Molenda2010-07-0612-2928/+630
| | | | llvm-svn: 107716
* Add AVX vblendvpd, vblendvps and vpblendvb instructionsBruno Cardoso Lopes2010-07-066-10/+108
| | | | | | Update VEX encoding to support those new instructions llvm-svn: 107715
* CanLowerReturn doesn't need a SelectionDAG; it just needs an LLVMContext.Dan Gohman2010-07-068-13/+12
| | | | | | SelectBasicBlock doesn't needs its BasicBlock argument. llvm-svn: 107712
* Propagate debug loc.Devang Patel2010-07-0621-54/+64
| | | | llvm-svn: 107710
* Sort CMake file.Ted Kremenek2010-07-061-9/+9
| | | | llvm-svn: 107709
* Added a path-sensitive idempotent operation checker ↵Tom Care2010-07-0612-88/+527
| | | | | | | | | | | | | | | | | | | (-analyzer-idempotent-operation). Finds idempotent and/or tautological operations in a path sensitive context, flagging operations that have no effect or a predictable effect. Example: { int a = 1; int b = 5; int c = b / a; // a is 1 on all paths } - New IdempotentOperationChecker class - Moved recursive Stmt functions in r107675 to IdempotentOperationChecker - Minor refactoring of SVal to allow checking for any integer - Added command line option for check - Added basic test cases llvm-svn: 107706
OpenPOWER on IntegriCloud