summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix AVX 256-bit intrinsics headers by using the right cast type while ↵Bruno Cardoso Lopes2010-08-051-8/+8
| | | | | | dealing with logical ops llvm-svn: 110389
* Add the beginnings of infrastructure for range tracking.Owen Anderson2010-08-051-6/+60
| | | | llvm-svn: 110388
* Revert my last commit, apparently it's a runtime issue.Eric Christopher2010-08-051-0/+2
| | | | llvm-svn: 110387
* Add basic verification of LiveIntervals.Jakob Stoklund Olesen2010-08-051-0/+59
| | | | | | | | | | | | | | We verify that the LiveInterval is live at uses and defs, and that all instructions have a SlotIndex. Stuff we don't check yet: - Is the LiveInterval minimal? - Do all defs correspond to instructions or phis? - Do all defs dominate all their live ranges? - Are all live ranges continually reachable from their def? llvm-svn: 110386
* Remove unnecessary include.Eric Christopher2010-08-051-2/+0
| | | | llvm-svn: 110385
* Give JumpThreading+LVI a long-form cl::opt so that it's easier to toggle the ↵Owen Anderson2010-08-051-1/+4
| | | | | | default. llvm-svn: 110384
* Split the tag and value members of LVILatticeVal in preparation for ↵Owen Anderson2010-08-051-14/+14
| | | | | | expanding the lattice to something that won't fit in two bits. llvm-svn: 110383
* Fix memdep's code for reasoning about dependences between two calls. A RefDan Gohman2010-08-053-21/+14
| | | | | | | | | | response from getModRefInfo is not useful here. Instead, check for identical calls only in the NoModRef case. Reapply r110270, and strengthen it to compensate for the memdep changes. When both calls are readonly, there is no dependence between them. llvm-svn: 110382
* Don't crash when mangling empty anonymous unions. We never actually *need*John McCall2010-08-052-1/+16
| | | | | | | these, but it's convenient to mangle them when deferring them (in the 99.99% case where it's not an anonymous union, of course). llvm-svn: 110381
* remove the private hack from CallInst, it was not supposed to hit the branch ↵Gabor Greif2010-08-053-28/+5
| | | | | | | | | anyway as a positive consequence the CallSite::getCallee() methods now can be rewritten to be a bit more efficient llvm-svn: 110380
* When running a single test case, lldb.SBDebugger.Terminate() is not being calledJohnny Chen2010-08-0514-15/+33
| | | | | | | because unittest.main() calls sys.exit() before returning. Fixed by registering an exit handler for this situation. llvm-svn: 110379
* Collect namespaces that need updating in a PCH chain. WIPSebastian Redl2010-08-053-3/+21
| | | | llvm-svn: 110378
* Add support for block imported struct variable layout info.Fariborz Jahanian2010-08-052-2/+30
| | | | | | (objc gc and blocks in NeXt runtime). llvm-svn: 110377
* Give ConstantRange an operator=Owen Anderson2010-08-051-0/+6
| | | | llvm-svn: 110376
* It turns out that linkers (at least, the Darwin linker) don't necessarilyJohn McCall2010-08-057-31/+37
| | | | | | | | | | | do the right thing with mixed-visibility symbols, so disable the visibility optimization where that's possible, i.e. with template classes (since it's possible that an arbitrary template might be subject to an explicit instantiation elsewhere). 447.dealII actually does this. I've put the code under an option that's currently not hooked up to anything. llvm-svn: 110374
* Document results of PR7762.Eric Christopher2010-08-051-0/+3
| | | | llvm-svn: 110373
* Move x86 specific tests into test/CodeGen/X86.Devang Patel2010-08-055-5/+1
| | | | llvm-svn: 110372
* Handle the memory barrier pseudo that goes to nothing for the JIT.Eric Christopher2010-08-051-1/+7
| | | | llvm-svn: 110371
* fix the va_list definition for vc++64, patch by Cameron Esfahani!Chris Lattner2010-08-051-3/+0
| | | | llvm-svn: 110370
* Set hasSideEffects on the 64-bit no-sse memory barrier.Eric Christopher2010-08-051-1/+1
| | | | llvm-svn: 110369
* For local variables in functions with a frame pointer, use FP as a baseJim Grosbach2010-08-052-18/+39
| | | | | | | | | | register for local access when it's closer to the stack slot being refererenced than the stack pointer. Make sure to take into account any argument frame SP adjustments that are in affect at the time. rdar://8256090 llvm-svn: 110366
* Fix indentation.Bob Wilson2010-08-051-6/+6
| | | | llvm-svn: 110363
* Remove double-def checking from MachineVerifier, so a register does not have toJakob Stoklund Olesen2010-08-054-94/+20
| | | | | | | | | | be killed before being redefined. These checks are usually disabled, and usually fail when enabled. We de facto allow live registers to be redefined without a kill, the corresponding assertions in RegScavenger were removed long ago. llvm-svn: 110362
* Add an ARM RSCrr instruction for disassembly only.Bob Wilson2010-08-052-0/+12
| | | | | | Partial fix for PR7792. llvm-svn: 110361
* Be a little bit more specific about target for the memory barrierEric Christopher2010-08-052-2/+4
| | | | | | instructions. llvm-svn: 110360
* Handle the pseudo in MCInstLower.Eric Christopher2010-08-051-0/+6
| | | | llvm-svn: 110359
* Add an ARM RSBrr instruction for disassembly only.Bob Wilson2010-08-052-1/+13
| | | | | | Partial fix for PR7792. llvm-svn: 110358
* Write various C++-specific records to chained PCHs. Tests will come later.Sebastian Redl2010-08-052-22/+87
| | | | llvm-svn: 110357
* Avoid using a live std::multimap iterator while editing the map. It looks likeJakob Stoklund Olesen2010-08-051-7/+13
| | | | | | | we sometimes compare singular iterators, reported by ENABLE_EXPENSIVE_CHECKS. This fixes PR7825. llvm-svn: 110355
* Argument evaluation order is not guaranteed. Split these out to force an order.John McCall2010-08-051-6/+7
| | | | llvm-svn: 110354
* Fixed logic error in UnreachableCodeChecker's marking algorithm that would ↵Tom Care2010-08-052-3/+20
| | | | | | sometimes allow for multiple sequential statements to be flagged. llvm-svn: 110353
* Fix a major bug with -ftrapv and ++/--. Patch by David Keaton!John McCall2010-08-052-4/+67
| | | | llvm-svn: 110347
* Allow multiple __declspec attributes after a class-key.John McCall2010-08-052-1/+2
| | | | | | Patch by Francois Pichet! llvm-svn: 110344
* Move x86-specific tests out of test/Transforms/LoopStrengthReduce andDan Gohman2010-08-057-1/+0
| | | | | | | | | into test/CodeGen/X86, so that they aren't run when the x86 target is not enabled. Fix uglygep.ll to not be x86-specific. llvm-svn: 110343
* Revert bugpoint change due to buildbot breakage.Bob Wilson2010-08-054-26/+64
| | | | | | | | | | --- Reverse-merging r110333 into '.': U tools/bugpoint/BugDriver.h U tools/bugpoint/OptimizerDriver.cpp U tools/bugpoint/bugpoint.cpp U tools/bugpoint/BugDriver.cpp llvm-svn: 110341
* For now skip over aggregate non-byref block variables.Fariborz Jahanian2010-08-051-1/+4
| | | | | | (objc gc specific). llvm-svn: 110340
* Trying to unbreak buildbot.Fariborz Jahanian2010-08-051-1/+2
| | | | llvm-svn: 110339
* tests: CodeGen/X86/GC tests require X86.Daniel Dunbar2010-08-051-1/+3
| | | | llvm-svn: 110338
* tests: Mark MC/AsmParser tests as requiring x86 for now -- almost all of themDaniel Dunbar2010-08-051-2/+3
| | | | | | rely on using a specific x86 triple to test what they want to test. llvm-svn: 110337
* Run opt instead of bugpoint itself.Rafael Espindola2010-08-054-64/+26
| | | | | | Fixes PR753. llvm-svn: 110333
* Revert r110317, and add a comment why the assertion is not an invariant.Ted Kremenek2010-08-051-4/+4
| | | | llvm-svn: 110330
* Flip the switch to use OffsetOfExpr unconditionally; feel free to revert ifEli Friedman2010-08-051-129/+5
| | | | | | | | this breaks something. I'll wait a few days before cleaning out UnaryOperator::OffsetOf. llvm-svn: 110328
* PR7769: Fix references to anonymous structs/unions in base classes inEli Friedman2010-08-052-7/+25
| | | | | | offsetof expressions. llvm-svn: 110327
* Add IRGen support for non-constant OffsetOfExpr.Eli Friedman2010-08-051-14/+90
| | | | llvm-svn: 110326
* Store the pending implicit instantiations in the PCH and perform them at the ↵Argyrios Kyrtzidis2010-08-057-21/+79
| | | | | | | | end of the translation unit that included the PCH, as God intended. llvm-svn: 110324
* Support #pragma weak for PCH.Argyrios Kyrtzidis2010-08-057-4/+73
| | | | llvm-svn: 110323
* Make sure C++ variable definitions are actually passed to the consumer when ↵Argyrios Kyrtzidis2010-08-053-1/+5
| | | | | | loaded from PCH. llvm-svn: 110322
* Make checker recognize OffsetOfExpr as a form of __builtin_offsetof.Eli Friedman2010-08-051-1/+4
| | | | llvm-svn: 110320
* Give clang_codeCompleteAt() an "options" parameter, and add a newDouglas Gregor2010-08-057-11/+72
| | | | | | | | | flags enumeration + default-generating function that allows code-completion to be customized via the libclang API. Plus, turn on spell-checking when performing code completion. llvm-svn: 110319
* TDK_InconsistentQuals is really totally different from TDK_Inconsistent.John McCall2010-08-055-11/+45
| | | | | | | Rename it to TDK_Underqualified to avoid this sort of confusion and give it its own diagnostic. llvm-svn: 110318
OpenPOWER on IntegriCloud