summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Add test cases to exercise the SBThread.GetProcess() API. We launch the ↵Johnny Chen2011-03-111-2/+58
| | | | | | | | | | process using the SBTarget.Launch() API, stop at a breakpoint, get the stopped thread, and verify that the pid of the stopped thread's process is equal to the pid of the process returned by SBTarget.Launch(). llvm-svn: 127444
* Properly pseudo-ize ARM MOVCCi and MOVCCi16.Jim Grosbach2011-03-112-26/+30
| | | | llvm-svn: 127442
* Change the x86 32-bit scheduler to register pressure and fix up theEric Christopher2011-03-116-6/+11
| | | | | | | | corresponding testcases back to the previous versions. Fixes some performance regressions only seen on 32-bit. llvm-svn: 127441
* Avoid replacing the value of a directly stored load with the stored value if ↵Evan Cheng2011-03-112-2/+48
| | | | | | the load is indexed. rdar://9117613. llvm-svn: 127440
* Minor typo fix and TAB removals.Johnny Chen2011-03-111-4/+4
| | | | llvm-svn: 127439
* Add some explanatory comments.Caroline Tice2011-03-111-0/+11
| | | | llvm-svn: 127438
* Add a test case test_run_to_address() to exercise the ↵Johnny Chen2011-03-111-0/+53
| | | | | | | | SBThread.RunToAddress(lldb::addr_t addr) API. The test itself is not working yet. llvm-svn: 127436
* Properly pseudo-ize MOVCCr and MOVCCs.Jim Grosbach2011-03-104-32/+41
| | | | llvm-svn: 127434
* Fixed the -r parameter to the disassemble commandSean Callanan2011-03-104-4/+16
| | | | | | so that it actually triggers raw output. llvm-svn: 127433
* Add test cases to TestThreadAPI.py to exercise SBThread.StepOver() by ↵Johnny Chen2011-03-102-2/+61
| | | | | | | | stopping at a breakpoint, doing three step-over's, then verifying that the correct source line number is reached. llvm-svn: 127432
* Add a test case to make sure that all the settings that currently ought toCaroline Tice2011-03-101-0/+27
| | | | | | exist are actually there. llvm-svn: 127431
* The UserSettings controllers must be initialized & terminated in theCaroline Tice2011-03-109-37/+84
| | | | | | | | correct order. Previously this was tacitly implemented but not enforced, so it was possible to accidentally do things in the wrong order and cause problems. This fixes that problem. llvm-svn: 127430
* don't compile modsi3 into an infinite loop, patch by Matt Johnson!Chris Lattner2011-03-101-1/+3
| | | | llvm-svn: 127429
* Tweak ccc-analyzer's 'Analyze' function to not mutate the original arguments ↵Ted Kremenek2011-03-101-21/+21
| | | | | | list. llvm-svn: 127428
* RecursivelyDeleteTriviallyDeadInstructions only needs aDan Gohman2011-03-101-3/+2
| | | | | | | | Value, not an Instruction, so casting is not necessary. Also, it's theoretically possible that the Value is not an Instruction, since WeakVH follows RAUWs. llvm-svn: 127427
* Don't compute the file size if we don't need to.Rafael Espindola2011-03-101-14/+29
| | | | llvm-svn: 127426
* Profiling showed that 'CheckImplicitConversions' was very slow because of ↵Ted Kremenek2011-03-101-9/+43
| | | | | | | | | | | the call to getSpellingLoc(). On 'aes.c' in the LLVM test suite, this function was consuming 7.4% of -fsyntax-only time. This change fixes this issue by delaying the check that the warning would be issued within a system macro by as long as possible. The main negative of this change is now the logic for this check is done in multiple places in this function instead of just in one place up front. llvm-svn: 127425
* Fix reassociate to postpone certain instruction deletions untilDan Gohman2011-03-102-3/+36
| | | | | | | | | | after it has finished all of its reassociations, because its habit of unlinking operands and holding them in a datastructure while working means that it's not easy to determine when an instruction is really dead until after all its regular work is done. rdar://9096268. llvm-svn: 127424
* DMB can just be a pat referencing MCR.Jim Grosbach2011-03-101-7/+6
| | | | llvm-svn: 127423
* Reorganize a bit. No functional change, just moving patterns up.Jim Grosbach2011-03-101-232/+233
| | | | llvm-svn: 127422
* Test cleanup. Check for the full caller symbol of malloc -- b(int).Johnny Chen2011-03-101-11/+11
| | | | llvm-svn: 127421
* Pseudo-instructions are codegenonly by definition.Jim Grosbach2011-03-101-0/+1
| | | | llvm-svn: 127420
* Memory barrier instructions don't need special handling in tblgen anymore.Jim Grosbach2011-03-101-3/+1
| | | | llvm-svn: 127419
* InstCombine: Turn umul_with_overflow into mul nuw if we can prove that it ↵Benjamin Kramer2011-03-102-1/+56
| | | | | | | | | | cannot overflow. This happens a lot in clang-compiled C++ code because it adds overflow checks to operator new[]: unsigned *foo(unsigned n) { return new unsigned[n]; } We can optimize away the overflow check on 64 bit targets because (uint64_t)n*4 cannot overflow. llvm-svn: 127418
* Add r127409 back now that the windows file was updated.Rafael Espindola2011-03-104-32/+86
| | | | llvm-svn: 127417
* Try to fix the windows build.Rafael Espindola2011-03-101-2/+2
| | | | llvm-svn: 127416
* Revert r127409 which broke all the Windows bots.Jakob Stoklund Olesen2011-03-104-86/+32
| | | | llvm-svn: 127413
* http://llvm.org/bugs/show_bug.cgi?id=9444Howard Hinnant2011-03-101-26/+13
| | | | llvm-svn: 127412
* I have to revert this recent fix to tuple conversions until clang implements ↵Howard Hinnant2011-03-101-0/+4
| | | | | | cwg 1170. Without this fix pair and tuple don't convert properly. With it, associative containers get access errors when they shouldn't. cwg 1170 fixes the latter. llvm-svn: 127411
* PTX: Add preliminary support for floating-point divide and multiply-and-addJustin Holewinski2011-03-105-5/+151
| | | | llvm-svn: 127410
* Add support for MemoryBuffers that are not null terminated and addRafael Espindola2011-03-104-32/+86
| | | | | | support for creating buffers that cover only a part of a file. llvm-svn: 127409
* lib/CodeGen/CGCall.cpp: Don't invoke multiple Builder.CreateBitCast() on ↵NAKAMURA Takumi2011-03-101-2/+4
| | | | | | Builder.CreateMemCpy. Or we would see sideeffect incompatibility among gcc and clang. llvm-svn: 127405
* Avoid do drop outer template parameter lists on the floor.Abramo Bagnara2011-03-104-9/+21
| | | | llvm-svn: 127404
* Fixed class type generation for MemberPointerType.Abramo Bagnara2011-03-101-5/+6
| | | | llvm-svn: 127401
* rip out llvm 2.8 release notes to make room for llvm 2.9 notes.Chris Lattner2011-03-101-666/+50
| | | | llvm-svn: 127399
* Add an option to disable critical edge splitting in PHIElimination.Cameron Zwarich2011-03-101-4/+12
| | | | llvm-svn: 127398
* ptx: add the rest of special registers of ISA version 2.0Che-Liang Chiou2011-03-103-56/+257
| | | | llvm-svn: 127397
* When doing reachability analysis for warnings issued under ↵Ted Kremenek2011-03-105-19/+86
| | | | | | | | | DiagRuntimeBehavior, don't construct a ParentMap or CFGStmtMap. Instead, create a small set of Stmt* -> CFGBlock* mappings during CFG construction for only the statements we care about relating to the diagnostics we want to check for reachability. llvm-svn: 127396
* Add Makefile support for the Platform plugins.Stephen Wilson2011-03-106-4/+60
| | | | | | | | | This patch supports building the Linux platform plugin, and should also support the MacOSX plugin as well (the MacOSX side has not been tested, unfortunately). A small typo was corrected in lldb.cpp to initialize the new platform code on Linux. llvm-svn: 127393
* Centralize the GDB remote timeout value into the GDBRemoteCommunication as aGreg Clayton2011-03-106-102/+72
| | | | | | | member variable (m_packet_timeout which is a value in seconds). This value is then used for all packets sent to/from the remote GDB server. llvm-svn: 127392
* Instead of round up sizes to '8', round them up to the alignment of the charKen Dyck2011-03-101-2/+4
| | | | | | type. llvm-svn: 127391
* Round up the non-virtual size to the next char instead of rounding down.Ken Dyck2011-03-101-2/+3
| | | | llvm-svn: 127390
* Change the Spiller interface to take a LiveRangeEdit reference.Jakob Stoklund Olesen2011-03-107-50/+34
| | | | | | | This makes it possible to register delegates and get callbacks when the spiller edits live ranges. llvm-svn: 127389
* Make SpillIs an optional pointer. Avoid creating a bunch of temporary ↵Jakob Stoklund Olesen2011-03-1010-30/+25
| | | | | | SmallVectors. llvm-svn: 127388
* Require AddStmtChoice::alwaysAdd() to take a CFGBuilder& and Stmt*. Prep ↵Ted Kremenek2011-03-101-15/+22
| | | | | | for functionality changes. llvm-svn: 127387
* Remove unused 'AddStmtChoice' argument to CFGBuilder::appendStmt().Ted Kremenek2011-03-101-25/+24
| | | | llvm-svn: 127386
* Rework interaction between AnalysisContext and CFG::BuildOptions to keep a ↵Ted Kremenek2011-03-104-94/+94
| | | | | | | | | | | | BuildOptions object around instead of keeping a copy of the flags. Moreover, change AnalysisContext to use an OwningPtr for created analysis objects instead of directly managing them. Finally, add a 'forcedBlkExprs' entry to CFG::BuildOptions that will be used by the CFGBuilder to force specific expressions to be block-level expressions. llvm-svn: 127385
* Unbreak the CMake build.Francois Pichet2011-03-101-0/+1
| | | | llvm-svn: 127383
* Revert 127359; it broke lencod.Stuart Hastings2011-03-108-22/+14
| | | | llvm-svn: 127382
* Introduce DebugInfoProbe. This is used to monitor how llvm optimizer is ↵Devang Patel2011-03-104-3/+347
| | | | | | | | | | | | treating debugging information. It generates output that lools like 8 times line number info lost by Scalar Replacement of Aggregates (SSAUp) 1 times line number info lost by Simplify well-known library calls 12 times variable info lost by Jump Threading llvm-svn: 127381
OpenPOWER on IntegriCloud