summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Allow FastISel of three-register-operand instructions.Owen Anderson2011-05-052-0/+33
| | | | llvm-svn: 130934
* If debug info for inlined function is missing then handle it gracefully.Devang Patel2011-05-051-3/+5
| | | | llvm-svn: 130933
* PR9848: pandn is not commutative.Eli Friedman2011-05-051-1/+1
| | | | | | No test because I can't think of any way to write one that won't break quickly. llvm-svn: 130932
* Add some statistics to the splitting and spilling frameworks.Jakob Stoklund Olesen2011-05-053-5/+44
| | | | llvm-svn: 130931
* When instantiating a block expression, the instantiatedFariborz Jahanian2011-05-052-2/+39
| | | | | | | blockScopeInfo's CapturesCXXThis field need get set as well. // rdar://9362021. John M. please review. llvm-svn: 130930
* Do not drop uint128 on the floor.Devang Patel2011-05-052-0/+9
| | | | llvm-svn: 130929
* Avoid extra vreg copies for arguments passed in registers. Specifically, ↵Eli Friedman2011-05-054-39/+66
| | | | | | this can make MachineCSE more effective in some cases (especially in small functions). PR8361 / part of rdar://problem/8259436 . llvm-svn: 130928
* Fix test to be less sensitive to coalescing.Jakob Stoklund Olesen2011-05-051-2/+3
| | | | | | This should unbreak llvm-gcc-i386-linux-selfhost. llvm-svn: 130927
* Small syntax cleanup; we don't need to #define constants in C++. No ↵Eli Friedman2011-05-051-3/+3
| | | | | | functionality change intended. llvm-svn: 130926
* Minor correction to r130877; fixes PR9846 and hopefully the buildbot failures.Eli Friedman2011-05-051-1/+2
| | | | llvm-svn: 130925
* Scoped enumerations should not be treated as integer types (in the CDouglas Gregor2011-05-052-3/+13
| | | | | | | | sense). Fixes <rdar://problem/9366066> by eliminating an inconsistency between C++ overloading (which handled scoped enumerations correctly) and C binary operator type-checking (which didn't). llvm-svn: 130924
* When providing code completions for an Objective-C property access,Douglas Gregor2011-05-053-14/+82
| | | | | | | also include methods with zero-argument selectors. Implements <rdar://problem/9048332>. llvm-svn: 130922
* initial importHoward Hinnant2011-05-059-0/+45145
| | | | llvm-svn: 130921
* Minor change: Fix the typo in RegionPass.h and RegionPass.cpp.Hongbin Zheng2011-05-052-2/+2
| | | | llvm-svn: 130920
* Introduce a Diagnostic::Report function that accepts and emits a ↵Argyrios Kyrtzidis2011-05-052-0/+47
| | | | | | StoredDiagnostic. llvm-svn: 130919
* Remove a flag that would set the ".eh" symbol as .globl. MachO was the only oneBill Wendling2011-05-054-18/+0
| | | | | | | | who used this flag, and it now emits CFI and doesn't emit this anymore. All other targets left this flag "false". <rdar://problem/8486371> llvm-svn: 130918
* Place "incompatible pointer types assigning..." warning under a flag, ↵Ted Kremenek2011-05-051-1/+2
| | | | | | allowing it to be surgically mapped to an error. llvm-svn: 130916
* llvmc: Make 'true' and 'false' instances of a 'Bool' class.Mikhail Glushenkov2011-05-051-2/+5
| | | | llvm-svn: 130915
* llvmc: Make it possible to provide an argument to (join).Mikhail Glushenkov2011-05-051-9/+36
| | | | llvm-svn: 130914
* Add Checker callback for running a checker at the end of processing an ↵Ted Kremenek2011-05-054-0/+48
| | | | | | entire TranslationUnit. Patch by Lei Zhang. llvm-svn: 130913
* Implement some framework for defaulted constructors.Alexis Hunt2011-05-0511-15/+78
| | | | | | There's some unused stuff for now. llvm-svn: 130912
* Update the gcov version used slightly, to make it stop causing modern gcov's toNick Lewycky2011-05-052-15/+35
| | | | | | crash. llvm-svn: 130911
* Always try and lookup the address in a register if it is encoded as anGreg Clayton2011-05-051-13/+5
| | | | | | | integer and the register byte size matches the size of a pointer. This removes the "--lookup" option. llvm-svn: 130910
* Frontend: Fix a crash in CC_LOG_DIAGNOSTICS handling.Daniel Dunbar2011-05-052-5/+11
| | | | llvm-svn: 130909
* Fix the "target stop-hook add" input reader so that it won't say the stop ↵Jim Ingham2011-05-051-1/+6
| | | | | | hook was added if the input was interrupted. llvm-svn: 130907
* Look through block pointers and ObjC object pointersMatt Beaumont-Gay2011-05-051-4/+3
| | | | llvm-svn: 130906
* Add a test script for verifying that the convenience variables:Johnny Chen2011-05-054-0/+103
| | | | | | | | | | | | o lldb.debugger o lldb.target o lldb.process o lldb.thread o lldb.frame "just works" when we stop at a breakpoint. llvm-svn: 130904
* Remove dead function.Nick Lewycky2011-05-051-5/+0
| | | | llvm-svn: 130903
* With invalid overloaded operators, we can get into funny cases whereDouglas Gregor2011-05-052-4/+22
| | | | | | | | | | the overloading of member and non-member functions results in arity mismatches that don't fit well into our overload-printing scheme. This only happens for invalid code (which breaks the arity invariants for these cases), so just suppress the diagnostic rather than inventing anything new. Fixes <rdar://problem/9222009>. llvm-svn: 130902
* Preserve the full name of the file, so that '-c -o foo.pic.o' producesNick Lewycky2011-05-056-20/+17
| | | | | | foo.pic.gcno instead of foo.gcno. llvm-svn: 130899
* Change cycle detection to be based off of a warning flag.Alexis Hunt2011-05-057-22/+13
| | | | llvm-svn: 130898
* When the path wasn't emitted by the frontend, discard any path on the sourceNick Lewycky2011-05-051-6/+11
| | | | | | filename. llvm-svn: 130897
* Disable physical register coalescing by default.Jakob Stoklund Olesen2011-05-041-1/+1
| | | | | | | | | | | | Joining physregs is inherently dangerous because it uses a heuristic to avoid creating invalid code. Linear scan had an emergency spilling mechanism to deal with those rare cases. The new greedy allocator does not. The greedy register allocator is much better at taking hints, so this has almost no impact on code size and quality. The few cases where it matters show up as unit tests that now have -join-physregs enabled explicitly. llvm-svn: 130896
* Set debug loc for new instructions.Devang Patel2011-05-041-3/+3
| | | | llvm-svn: 130895
* Set debug location for new PHI nodes created in exit block. Devang Patel2011-05-041-0/+2
| | | | llvm-svn: 130894
* Prepare remaining tests for -join-physreg going away.Jakob Stoklund Olesen2011-05-0415-34/+48
| | | | llvm-svn: 130893
* Fix X86RegisterInfo::getMatchingSuperRegClass for sub_8bit_hi.Jakob Stoklund Olesen2011-05-041-13/+8
| | | | | | | It is OK for B to be any GR8_ABCD_H superclass, the returned register class doesn't have to map surjectively onto B. llvm-svn: 130892
* Fix a batch of x86 tests to be coalescer independent.Jakob Stoklund Olesen2011-05-047-29/+38
| | | | | | | | Most of these tests require a single mov instruction that can come either before or after a 2-addr instruction. -join-physregs changes the behavior, but the results are equivalent. llvm-svn: 130891
* When adding KVC code completions, keep track of all of the selectorsDouglas Gregor2011-05-042-23/+46
| | | | | | | that we've previously seen, both in declared methods and from previous KVC completions, to eliminate duplicates. Fixes <rdar://problem/9162207>. llvm-svn: 130890
* Document the automatic alias printing of InstAliases.Bill Wendling2011-05-041-0/+5
| | | | llvm-svn: 130889
* there i fixed itAlexis Hunt2011-05-047-62/+142
| | | | | | | | | Increase robustness of the delegating constructor cycle detection mechanism. No more infinite loops on invalid or logic errors leading to false results. Ensure that this is maintained correctly accross serialization. llvm-svn: 130887
* ASTUnit::LoadFromASTFile(): recover the resources from an ASTReader if it ↵Ted Kremenek2011-05-041-0/+10
| | | | | | crashes during PCH validation. llvm-svn: 130886
* Add explicit 'unregister' method to CrashRecoveryConextCleanupRegistrar.Ted Kremenek2011-05-041-1/+6
| | | | llvm-svn: 130885
* Give this test an explicit register allocator, so that it can work even ifDan Gohman2011-05-041-1/+1
| | | | | | the default register allocator is changed. llvm-svn: 130883
* Clean up Sema::BuildCXXNestedNameSpecifier()'s creation of TypeLocDouglas Gregor2011-05-041-7/+15
| | | | | | | | information. Rather than looking at the declaration kind to figure out what TypeLoc to build, look at the type; it makes so much more sense. Fixes <rdar://problem/9086649>. llvm-svn: 130882
* SjLj EH could produce a machine basic block that legitimately has more than oneBill Wendling2011-05-042-1/+102
| | | | | | | | | | | | | landing pad as its successor. SjLj exception handling jumps to the correct landing pad via a switch statement that's generated right before code-gen. Loosen the constraint in the machine instruction verifier to allow for this. Note, this isn't the most rigorous check since we cannot determine where that switch statement came from. But it's marginally better than turning this check off when SjLj exceptions are used. <rdar://problem/9187612> llvm-svn: 130881
* Preserve line number information while threading jumps.Devang Patel2011-05-041-2/+5
| | | | llvm-svn: 130880
* Create the parent directories to place the .gcda files in if they don't exist.Nick Lewycky2011-05-041-0/+18
| | | | | | | That's kinda weird because the .gcno files are supposed to already be there, but libgcov does this and somehow Google has managed to depend on it. llvm-svn: 130879
* Implement Sema::isExprCallable.Matt Beaumont-Gay2011-05-044-111/+156
| | | | | | | | We can use this to produce nice diagnostics (and try to fixit-and-recover) in various cases where we might see "MyFunction" instead of "MyFunction()". The changes in SemaExpr are an example of how to use isExprCallable. llvm-svn: 130878
* Re-commit r130862 with a minor change to avoid an iterator running off the ↵Eli Friedman2011-05-043-29/+73
| | | | | | | | | | edge in some cases. Original message: Teach MachineCSE how to do simple cross-block CSE involving physregs. This allows, for example, eliminating duplicate cmpl's on x86. Part of rdar://problem/8259436 . llvm-svn: 130877
OpenPOWER on IntegriCloud