summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Fix warning.Devang Patel2011-08-152-2/+2
| | | | llvm-svn: 137658
* Add some more comprehensive VFP decoding tests.Owen Anderson2011-08-151-0/+213
| | | | llvm-svn: 137657
* Simplify. Let DbgVariable keep track of variable's DBG_VALUE machine ↵Devang Patel2011-08-152-55/+24
| | | | | | instruction. llvm-svn: 137656
* Duncan pointed out that the LandingPadInst might read memory. (It might alsoBill Wendling2011-08-153-6/+4
| | | | | | write to memory.) Marking it as such makes some checks for immobility go away. llvm-svn: 137655
* Fix llvm::CloneModule to correctly clone globals. Patch per bug report by ↵Eli Friedman2011-08-151-14/+13
| | | | | | Simon Moll on llvmdev. llvm-svn: 137654
* Track in the AST whether a function is constexpr.Richard Smith2011-08-1515-64/+212
| | | | llvm-svn: 137653
* Fix predicates methods on Instruction to handle atomic load/store correctly.Eli Friedman2011-08-151-7/+15
| | | | llvm-svn: 137652
* Fix this test to avoid leaving a temporary file behind.Eric Christopher2011-08-151-1/+1
| | | | llvm-svn: 137651
* Misc analysis passes that need to be aware of atomic load/store.Eli Friedman2011-08-154-19/+50
| | | | llvm-svn: 137650
* Move MatchResultTy enum into base class definition.Jim Grosbach2011-08-152-7/+10
| | | | | | | No need for it to be redefined as part of every derived target asm parser class. llvm-svn: 137649
* Atomic load/store support in LICM.Eli Friedman2011-08-153-10/+97
| | | | llvm-svn: 137648
* Enforce the constraint that Rt must be even on LDRD/STRD instructions in ARM ↵Owen Anderson2011-08-152-33/+47
| | | | | | | | mode. Update tests to reflect this fact. Patch by James Molloy. llvm-svn: 137647
* Add an ipsccp test. Migrated from test/FrontendC++.Eric Christopher2011-08-151-0/+26
| | | | llvm-svn: 137646
* Add a test for Thumb1 LDRSH decoding.Owen Anderson2011-08-151-0/+3
| | | | llvm-svn: 137645
* Add testcase for STRH. Patch by James Molloy.Owen Anderson2011-08-151-0/+3
| | | | llvm-svn: 137644
* Remove dead classes.Owen Anderson2011-08-151-33/+0
| | | | llvm-svn: 137643
* The "landingpad" instruction will never be "trivially" dead.Bill Wendling2011-08-151-0/+4
| | | | llvm-svn: 137642
* Fix incorrect encoding of UMAAL and friends. Patch by James Molloy.Owen Anderson2011-08-153-6/+6
| | | | llvm-svn: 137641
* One-line fix for a possible spurious truncation warningEnrico Granata2011-08-151-1/+2
| | | | llvm-svn: 137640
* Make -findirect-virtual-calls and -fterminated-vtables aliases of -fapple-kext.Bob Wilson2011-08-152-8/+2
| | | | | | | | Outside the driver, they were already treated that way, but the driver was not giving them the same special treatment as -fapple-kext, e.g., falling back to llvm-gcc for i386/Darwin kexts. Radar 9868422. llvm-svn: 137639
OpenPOWER on IntegriCloud