summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [analyzer] fix operation inversion calculation in ConditionVisitor.Ted Kremenek2011-08-161-1/+1
| | | | llvm-svn: 137708
* Define function MipsMCInstLower::LowerOperand. Akira Hatanaka2011-08-162-25/+29
| | | | llvm-svn: 137707
* Add parameter Offset to MipsMCInstLower::LowerSymbolOperand. Akira Hatanaka2011-08-162-5/+5
| | | | llvm-svn: 137706
* [analyzer] Enhance ConditionVisitor to understand eagerly evaluated (simple) ↵Ted Kremenek2011-08-161-14/+129
| | | | | | binary conditions, and teach it to only focus on constraint changes. llvm-svn: 137705
* [analyzer] add ExprEngine::getEagerlyAssumedTags() to allow externally ↵Ted Kremenek2011-08-162-7/+20
| | | | | | querying of "eagerly assumed" expressions. llvm-svn: 137704
* Fix test.Eli Friedman2011-08-161-1/+1
| | | | llvm-svn: 137703
* Revert a bit of r137667; the logic in question can safely handle atomic ↵Eli Friedman2011-08-162-4/+25
| | | | | | load/store. llvm-svn: 137702
* Allow for a cpu subtype of 4 to still be recognized as an x86_64Jason Molenda2011-08-161-0/+1
| | | | | | | processor; we may get this subtype ("CPU_SUBTYPE_X86_ARCH1") back when starting a kdp session. llvm-svn: 137701
* Migrate this test from llvm/test/FrontendC++/ptr-to-method-devirt.cpp andEric Christopher2011-08-161-0/+39
| | | | | | FileCheckize. It is more properly an optimizer test. llvm-svn: 137700
* Fix two logic errors uncovered by the static analyzer.Johnny Chen2011-08-161-3/+3
| | | | | | | | | For the default case (illegal encoding type), just return false instead of break. A8.6.84 LDRSH (register) A8.6.309 VLD1 (single element to all lanes) llvm-svn: 137699
* Modify the expected substrings to accomodate clang, now that ↵Johnny Chen2011-08-161-1/+1
| | | | | | rdar://problem/8516141 has been fixed. llvm-svn: 137698
* [analyzer] Remove PostStmtCustom ProgramPoint. It can be represented using ↵Ted Kremenek2011-08-163-37/+10
| | | | | | tagged PostStmts. llvm-svn: 137697
* Forgot to initialize the self.__skipped__ attribute lldbtest.Base.Johnny Chen2011-08-161-0/+2
| | | | llvm-svn: 137696
* Fixed an issue where a variable that was a pointer whoseGreg Clayton2011-08-161-3/+4
| | | | | | | location was in a register would not be able to dereference children when displaying "*var" or the derefence of the variable. llvm-svn: 137695
* After talking with Bill, it seems like the LandingPad handling here is likelyEli Friedman2011-08-161-4/+1
| | | | | | to be wrong (or at least somewhat suspect). Leave a FIXME for Bill. llvm-svn: 137694
* Minor comment fixes.Eli Friedman2011-08-162-5/+7
| | | | llvm-svn: 137693
* Add missing check for non-NULL frame_sp.Jim Ingham2011-08-161-3/+6
| | | | llvm-svn: 137692
* Update SimplifyCFG for atomic operations.Eli Friedman2011-08-152-10/+69
| | | | | | | | This commit includes a mention of the landingpad instruction, but it's not changing the behavior around it. I think the current behavior is correct, though. Bill, can you double-check that? llvm-svn: 137691
* Add comments and test for atomic load/store and mem2reg.Eli Friedman2011-08-152-0/+16
| | | | llvm-svn: 137690
* Refactor.Devang Patel2011-08-152-49/+68
| | | | llvm-svn: 137689
* Fix tests for non-darwin hosts.Argyrios Kyrtzidis2011-08-152-2/+2
| | | | llvm-svn: 137688
* Add a test file for Thumb2 NEON.Owen Anderson2011-08-151-0/+1586
| | | | llvm-svn: 137687
* Specify a necessary fixed bit for VLD3DUP, and otherwise rearrange the ↵Owen Anderson2011-08-153-20/+27
| | | | | | Thumb2 NEON decoding hooks to bring us closer to correctness. llvm-svn: 137686
* While I'm here, remove the "_alt" hacks to a series of INSERT_SUBREG andBruno Cardoso Lopes2011-08-151-15/+25
| | | | | | also add the AVX versions of the 128-bit patterns llvm-svn: 137685
* Reorder declarations of vmovmskp* and also put the necessary AVXBruno Cardoso Lopes2011-08-152-31/+43
| | | | | | | predicate and TB encoding fields. This fix the encoding for the attached testcase. This fixes PR10625. llvm-svn: 137684
* Continue to hoist uses of getCompileUnit() up. The goal is to get rid of ↵Devang Patel2011-08-152-21/+24
| | | | | | uses of getCompileUnit(). llvm-svn: 137683
* Move test from llvm/test/FrontendCXX and update.Eric Christopher2011-08-151-0/+5
| | | | llvm-svn: 137682
* MacOSKeychainAPIChecker: The security API/memory leak checker should always ↵Anna Zaks2011-08-151-10/+17
| | | | | | generate regular nodes instead of sink nodes. llvm-svn: 137681
* Avoid evaluating Neon macro arguments more than once by disabling type checks.Bob Wilson2011-08-151-15/+8
| | | | | | | | | | It turns out that the use of "__extension__" in these macros was disabling the expected "incompatible pointer" warnings, so these type checks were not doing anything anyway. They introduced a serious bug by evaluating some macro arguments twice, which is a big problem for arguments with side effects. I'll have to find another way to get the right type checking. Radar 9947657. llvm-svn: 137680
* In places where it's using "getFirstNonPHI", skip the landingpad instruction ↵Bill Wendling2011-08-151-5/+8
| | | | | | if necessary. llvm-svn: 137679
* Test driver should also report skipped tests because there were cases when ↵Johnny Chen2011-08-152-1/+20
| | | | | | | | tests were skipped due to incorrect skip-logic. llvm-svn: 137678
* Add ProgramState.cpp.Ted Kremenek2011-08-151-0/+662
| | | | llvm-svn: 137677
* Add missing header files.Ted Kremenek2011-08-152-0/+986
| | | | llvm-svn: 137676
* MCTargetAsmParser target match predicate support.Jim Grosbach2011-08-155-7/+30
| | | | | | | | Allow a target assembly parser to do context sensitive constraint checking on a potential instruction match. This will be used, for example, to handle Thumb2 IT block parsing. llvm-svn: 137675
* Use new DIBuilder::finalize() at the end to wrap up debug info encoding for ↵Devang Patel2011-08-152-0/+3
| | | | | | a translation unit. llvm-svn: 137674
* Add a finalize() hook, that'll let DIBuilder construct compile unit lazily.Devang Patel2011-08-153-0/+11
| | | | llvm-svn: 137673
* Don't sink the instruction to before a landingpad instruction.Bill Wendling2011-08-151-1/+1
| | | | llvm-svn: 137672
* FileCheckize this test.Eric Christopher2011-08-151-1/+8
| | | | llvm-svn: 137671
* [libclang] Require explicit cursor visitation for all TypeLocs (compilation willArgyrios Kyrtzidis2011-08-154-29/+54
| | | | | | fail if a TypeLoc kind is not handled) and handle DecltypeTypeLoc and InjectedClassNameTypeLoc. llvm-svn: 137670
* 'pure' and 'const' functions should also be marked nounwind. MigrateEric Christopher2011-08-154-7/+20
| | | | | | | test over from llvm/test/FrontendC++ and update others to account for the change. llvm-svn: 137669
* This is somewhat déjà-vu, but avoid using getCompileUnit() as much as ↵Devang Patel2011-08-152-14/+14
| | | | | | possible. llvm-svn: 137668
* Update inter-procedural optimizations for atomic load/store.Eli Friedman2011-08-154-10/+16
| | | | llvm-svn: 137667
* Take 2 (take 3?) at removing derelict clang.xcodeproj. All Xcode users ↵Ted Kremenek2011-08-151-2103/+0
| | | | | | should be using CMake, as the clang.xcodeproj is never up-to-date and cannot actually build Clang. llvm-svn: 137666
* Rename GRState to ProgramState, and cleanup some code formatting along the way.Ted Kremenek2011-08-1577-2538/+1058
| | | | llvm-svn: 137665
* Update instcombine for atomic load/store.Eli Friedman2011-08-154-31/+54
| | | | llvm-svn: 137664
* Refactor. Variables are part of compile unit so let CompileUnit create new ↵Devang Patel2011-08-154-123/+129
| | | | | | variable. llvm-svn: 137663
* Add some comments here because the lack of a check for volatile/atomic here ↵Eli Friedman2011-08-151-0/+4
| | | | | | is a bit unusual. llvm-svn: 137662
* Fix PR10656. It's only profitable to use 128-bit inserts and extractsBruno Cardoso Lopes2011-08-152-4/+26
| | | | | | | when AVX mode is one. Otherwise is just more work for the type legalizer. llvm-svn: 137661
* Fix the buildbot test.Argyrios Kyrtzidis2011-08-151-1/+1
| | | | llvm-svn: 137660
* There is no need to maintain a set to keep track of variables that use ↵Devang Patel2011-08-152-8/+2
| | | | | | location expressions. In such cases, AT_location attribute's value will be a label. llvm-svn: 137659
OpenPOWER on IntegriCloud