summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Detect undef value early and save unnecessary NodeMap query.Devang Patel2010-09-021-0/+11
| | | | llvm-svn: 112864
* Moved the process cleanup of Script-Bridge-based APIs into TestBase.tearDown()Johnny Chen2010-09-024-14/+28
| | | | | | | | | | method where they belong. Also fixed a logic error in maintaining the command interface flag (runStarted) indicating whether the lldb "run"/"process launch" command has been issued. It was erroneously cleared. Modified the test cases to take advantage of the refactoring. llvm-svn: 112863
* Add libclang visitation for C++ typeid expressions.Douglas Gregor2010-09-022-1/+25
| | | | llvm-svn: 112862
* Don't narrow the load and store in a load+twiddle+store sequence unlessDan Gohman2010-09-024-28/+76
| | | | | | | | | | there are clearly no stores between the load and the store. This fixes this miscompile reported as PR7833. This breaks the test/CodeGen/X86/narrow_op-2.ll optimization, which is safe, but awkward to prove safe. Move it to X86's README.txt. llvm-svn: 112861
* In libclang, visit the nested-name-specifier and explicitly-specified ↵Douglas Gregor2010-09-022-6/+48
| | | | | | template arguments of a MemberExpr. llvm-svn: 112860
* Tidy up.Devang Patel2010-09-021-11/+9
| | | | llvm-svn: 112858
* Reverting 112850 and 112839 due to test failures on some systemsTom Care2010-09-023-98/+17
| | | | llvm-svn: 112857
* Visit the nested-name-specifier and explicitly-specified templateDouglas Gregor2010-09-022-5/+37
| | | | | | arguments of a DeclRefExpr. llvm-svn: 112854
* Fix an unnecessary XFAILSandeep Patel2010-09-021-7/+5
| | | | llvm-svn: 112853
* trailing whitespaceJim Grosbach2010-09-021-6/+6
| | | | llvm-svn: 112852
* Fix typo. I accidentally edited the wrong file before my last commit.Owen Anderson2010-09-021-1/+1
| | | | llvm-svn: 112851
* Fixed broken build with GCCTom Care2010-09-021-12/+12
| | | | llvm-svn: 112850
* Add AsmParser support for the ELF .previous directive. Patch by Roman Divacky.Benjamin Kramer2010-09-027-1/+36
| | | | llvm-svn: 112849
* Teach RecursiveASTVisitor to optionally visit bodies of instantiations.John McCall2010-09-021-9/+143
| | | | | | Based on a patch by Francois Pichet! llvm-svn: 112848
* remove trailing whitespaceJim Grosbach2010-09-021-1/+1
| | | | llvm-svn: 112847
* Move x86 specific shuffle mask decoding to its own header, it's also going ↵Bruno Cardoso Lopes2010-09-022-140/+161
| | | | | | to be used elsewhere. Also trim trailing whitespaces llvm-svn: 112846
* The scavenger should just use getAllocatableSet() rather than reinventing itJim Grosbach2010-09-021-13/+3
| | | | | | locally. llvm-svn: 112845
* Apply a patch from Kees van Reeuwijk to add support for Minix.Dan Gohman2010-09-021-3/+3
| | | | | | | Minix apparently doesn't like double-slash separators, and there's no apparent need for them here. llvm-svn: 112844
* Fix a bug in LazyValueInfo that CorrelatedValuePropagation exposed: In the ↵Owen Anderson2010-09-022-4/+25
| | | | | | | | LVI lattice, undef and the full set ConstantRange should not be treated as equivalent. llvm-svn: 112843
* handle case where a register class is specifiedJim Grosbach2010-09-021-5/+4
| | | | llvm-svn: 112842
* Now that register allocation properly considers reserved regs, simplify theJim Grosbach2010-09-025-163/+27
| | | | | | ARM register class allocation order functions to take advantage of that. llvm-svn: 112841
* Tidy up last commit, as per Devang's comments.David Chisnall2010-09-022-12/+22
| | | | llvm-svn: 112840
* Improved error reporting in IdempotentOperationCheckerTom Care2010-09-023-17/+98
| | | | | | | | | - SourceRange highlighting is only given for the relevant side of the operator (assignments give both) - Added PostVisitBinaryOperator hook to retrieve the ExplodedNode for an operator - Added a BugReporterVisitor to display the last store to every VarDecl in a Stmt - Changed bug reporting to use the new BugReporterVisitor llvm-svn: 112839
* Revert my two IRgen fixes for "bool", then use a far simpler approachDouglas Gregor2010-09-022-10/+4
| | | | | | | based on ConvertTypeForMem. Thanks to John for pointing out the right solution. llvm-svn: 112838
* Implement basic visitation for nested name specifiers via libclangDouglas Gregor2010-09-023-7/+88
| | | | | | | | cursors. Sadly, this visitation is a hack, because we don't have proper source-location information for nested-name-specifiers in the AST. It does improve on the status quo, however. llvm-svn: 112837
* Add a comment.Dan Gohman2010-09-021-0/+1
| | | | llvm-svn: 112836
* Another i1 vs. i8 type mismatch issue. This timeFariborz Jahanian2010-09-022-1/+11
| | | | | | a 'bool' byref variable in memory. Fixes radar 8382559. llvm-svn: 112835
* Allow MCSA_WeakRef in ELF. Patch by Roman Divacky.Benjamin Kramer2010-09-021-1/+1
| | | | llvm-svn: 112834
* Use the unmangled name for the display name in Objective-C debug info. This ↵David Chisnall2010-09-021-0/+14
| | | | | | should have no effect with the Mac runtime where clang (unlike GCC) uses the display name symbol name. llvm-svn: 112833
* Anti-dependency breaking needs to be careful not to use reserved regsJim Grosbach2010-09-022-0/+4
| | | | llvm-svn: 112832
* Fix .debug_range for linux. Patch by Krister Wombell.Devang Patel2010-09-026-4/+49
| | | | llvm-svn: 112830
* Mask out reserved registers when constructing the set of allocatable regs.Jim Grosbach2010-09-021-0/+5
| | | | llvm-svn: 112828
* Fill in a missing comment.Bob Wilson2010-09-021-2/+2
| | | | llvm-svn: 112826
* Convert VLD1 and VLD2 instructions to use pseudo-instructions untilBob Wilson2010-09-025-54/+212
| | | | | | after regalloc. llvm-svn: 112825
* (query-replace "variable list" "frame variable")Johnny Chen2010-09-028-32/+32
| | | | llvm-svn: 112824
* Fix more i1/i8 pointer madness. Here, an overactive assertionDouglas Gregor2010-09-022-2/+13
| | | | | | | | | | | | complains when the element type of a C++ "delete" expression is different from what we would expect from the pointer type. When deleting a bool*, we end up with an i1 on one side (where we compute the LLVM type from the Clang bool type) and i8 on the other (where we grab the LLVM type from the LLVM pointer type). I've weakened the assertion appropriately, and the Boost Parallel Graph Library now passes its regression tests. llvm-svn: 112821
* Avoid implicit string construction.Benjamin Kramer2010-09-022-2/+2
| | | | llvm-svn: 112820
* Fix a crash involving pointer-to-data-members of boolean type. We wereDouglas Gregor2010-09-022-2/+21
| | | | | | | | | | | | constructing an LLVM PointerType directly from the "bool"'s LLVM type (i1), which resulted in unfortunate pointer type i1*. The fix is to build the LLVM PointerType from the corresponding Clang PointerType, so that we get i8* in the case of a bool. John, please review. I also left a FIXME there because we seem to be dropping "volatile", which would be rather unfortunate. llvm-svn: 112819
* llvmc: .dylib support.Mikhail Glushenkov2010-09-021-1/+2
| | | | llvm-svn: 112818
* Simplify some random accesses to the ASTContext from the ABI classes.John McCall2010-09-021-17/+17
| | | | llvm-svn: 112816
* Stupid emacs keystroke.John McCall2010-09-021-1/+1
| | | | llvm-svn: 112815
* Abstract IR generation of array cookies into the C++ ABI class andJohn McCall2010-09-029-235/+859
| | | | | | | | | | | | | | implement ARM array cookies. Also fix a few unfortunate bugs: - throwing dtors in deletes prevented the allocation from being deleted - adding the cookie to the new[] size was not being considered for overflow (and, more seriously, was screwing up the earlier checks) - deleting an array via a pointer to array of class type was not causing any destructors to be run and was passing the unadjusted pointer to the deallocator - lots of address-space problems, in case anyone wants to support free store in a variant address space :) llvm-svn: 112814
* Correct this test for the fact that the number of uses is now printedDuncan Sands2010-09-021-6/+6
| | | | | | in a comment. llvm-svn: 112813
* Print the number of uses of a function in the .ll since it can be informativeDuncan Sands2010-09-022-4/+3
| | | | | | and there seems to be no reason not to. llvm-svn: 112812
* Added support for register allocators to record which intervals are spill ↵Lang Hames2010-09-023-83/+193
| | | | | | | | intervals, and where the uses and defs of the original intervals were in the original code. Spill intervals can be hidden using the "-rmf-intervals=virt-nospills*" option. llvm-svn: 112811
* Reapply commit 112699, speculatively reverted by echristo, sinceDuncan Sands2010-09-027-25/+25
| | | | | | | | | I'm sure it is harmless. Original commit message: If PrototypeValue is erased in the middle of using the SSAUpdator then the SSAUpdator may access freed memory. Instead, simply pass in the type and name explicitly, which is all that was used anyway. llvm-svn: 112810
* Silence an ambiguous else warning from GCC.Chandler Carruth2010-09-021-1/+2
| | | | llvm-svn: 112809
* Fix compile errors.Nick Lewycky2010-09-021-4/+4
| | | | llvm-svn: 112808
* Added counters for PBQP reduction rules.Lang Hames2010-09-023-1/+44
| | | | llvm-svn: 112807
* Replace unpckl_undef and unpckh_undef matching with target specific opcodesBruno Cardoso Lopes2010-09-021-6/+39
| | | | llvm-svn: 112806
OpenPOWER on IntegriCloud