summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Rename member variables to follow coding standards.Jakob Stoklund Olesen2011-08-092-231/+232
| | | | | | No functional change. llvm-svn: 137094
* Check in a customized benchmark which compares the Xcode 4.1 vs. Xcode 4.2's ↵Johnny Chen2011-08-091-0/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gdb disassembly speed on lldb's Driver::MainLoop function which is ~1190 lines of x86 assembly code. This file is not exercised during the normal test suite run, i.e., no +b option specified. So it should be ok. The following is the benchmark result on my MBP running OSX Lion: [17:38:46] johnny:/Volumes/data/lldb/svn/trunk/test $ ./dotest.py -v +b -p TestFlintVsSlate /Volumes/data/lldb/svn/trunk/build/Debug LLDB-71 Path: /Volumes/data/lldb/svn/trunk URL: https://johnny@llvm.org/svn/llvm-project/lldb/trunk Repository Root: https://johnny@llvm.org/svn/llvm-project Repository UUID: 91177308-0d34-0410-b5e6-96231b3b80d8 Revision: 137008 Node Kind: directory Schedule: normal Last Changed Author: gclayton Last Changed Rev: 137008 Last Changed Date: 2011-08-05 17:50:36 -0700 (Fri, 05 Aug 2011) Session logs for test failures/errors/unexpected successes will go into directory '2011-08-08-17_38_52' Command invoked: python ./dotest.py -v +b -p TestFlintVsSlate ---------------------------------------------------------------------- Collected 2 tests 1: test_run_41_then_42 (TestFlintVsSlateGDBDisassembly.FlintVsSlateGDBDisassembly) Test disassembly on a large function with 4.1 vs. 4.2's gdb. ... 4.1 gdb benchmark: Avg: 0.205623 (Laps: 5, Total Elapsed Time: 1.028113) 4.2 gdb benchmark: Avg: 0.201970 (Laps: 5, Total Elapsed Time: 1.009849) gdb_42_avg/gdb_41_avg: 0.982236 ok 2: test_run_42_then_41 (TestFlintVsSlateGDBDisassembly.FlintVsSlateGDBDisassembly) Test disassembly on a large function with 4.1 vs. 4.2's gdb. ... 4.2 gdb benchmark: Avg: 0.202602 (Laps: 5, Total Elapsed Time: 1.013012) 4.1 gdb benchmark: Avg: 0.204418 (Laps: 5, Total Elapsed Time: 1.022089) gdb_42_avg/gdb_41_avg: 0.991119 ok ---------------------------------------------------------------------- Ran 2 tests in 15.688s OK llvm-svn: 137092
* Add missing attributes to the C++ backend's output.Bill Wendling2011-08-091-0/+3
| | | | llvm-svn: 137091
* Make LowerVSETCC aware of AVX types and add patterns to match them.Bruno Cardoso Lopes2011-08-093-3/+53
| | | | llvm-svn: 137090
* Move the RegisterCoalescer private to its implementation file.Jakob Stoklund Olesen2011-08-092-142/+123
| | | | | | RegisterCoalescer.h still has the CoalescerPair class interface. llvm-svn: 137088
* Hand materialization of temporary expressions when emitting a scalarDouglas Gregor2011-08-092-0/+18
| | | | | | expression. Fxies PR10592. llvm-svn: 137086
* Tidy up these testcases to look more like real code does.Dan Gohman2011-08-091-9/+9
| | | | llvm-svn: 137085
* Don't create a new stop info if we've already calculated one and it is still ↵Jim Ingham2011-08-091-1/+10
| | | | | | valid. llvm-svn: 137084
* Refer to the RegisterCoalescer pass by ID.Jakob Stoklund Olesen2011-08-097-19/+11
| | | | | | | A public interface is no longer needed since RegisterCoalescer is not an analysis any more. llvm-svn: 137082
* Remove some commented out code that doesn't connect to anything yet...Jim Ingham2011-08-091-6/+0
| | | | llvm-svn: 137081
* Don't emit memcpy for copying fields of arrays of volatile elements.Fariborz Jahanian2011-08-092-2/+45
| | | | | | | Use the the path that generates a loop. This fixes bogus error that clang puts out. // rdar://9894548 llvm-svn: 137080
* Added a "--global" option to the "target modules list"Greg Clayton2011-08-093-9/+109
| | | | | | | | | command that allows us to see all modules that exist and their corresponding global shared pointer count. This will help us track down memory issues when modules aren't being removed and cleaned up from the module list. llvm-svn: 137078
* Add EvaluateWithError static method. Fix a bug in handling constant ↵Jim Ingham2011-08-092-1/+21
| | | | | | expressions - we weren't setting the result even though the expression evaluation succeeded... llvm-svn: 137077
* If no -miphoneos-version-min specified, see if we can set the default based onChad Rosier2011-08-081-0/+15
| | | | | | | -isysroot. rdar://9837120 llvm-svn: 137075
* ARM parsing and encoding for LDRBT instruction.Jim Grosbach2011-08-082-11/+44
| | | | | | | Fix the instruction representation to correctly only allow post-indexed form. Add tests. llvm-svn: 137074
* Thumb1 BL instructions encoding 22 bits of displacement, not 21.Owen Anderson2011-08-081-1/+4
| | | | llvm-svn: 137073
* Indicate that there are changes if runOfFunction returns saying that there are.Bill Wendling2011-08-081-1/+1
| | | | | | Patch by Jingyue! llvm-svn: 137072
* ARM parsing and encoding for LDRB instruction.Jim Grosbach2011-08-081-0/+38
| | | | llvm-svn: 137071
* Add FIXME.Jim Grosbach2011-08-081-0/+7
| | | | llvm-svn: 137070
* Implement isLoadFromStackSlotPostFE and isStoreToStackSlotPostFE for ARM.Jakob Stoklund Olesen2011-08-082-0/+16
| | | | | | They improve the verbose assembly. llvm-svn: 137069
* Fix another -Wuninitialized assertion failure (this one involving bit casts) ↵Ted Kremenek2011-08-082-8/+34
| | | | | | resulting from the recent -Wuninitialized changes. llvm-svn: 137068
* Add support for several vector shifts operations while in AVX mode. Fix PR10581Bruno Cardoso Lopes2011-08-082-10/+116
| | | | llvm-svn: 137067
* Add -W flag for ARC warning "performSelector may cause a leak because its ↵Ted Kremenek2011-08-081-1/+2
| | | | | | selector is unknown". llvm-svn: 137066
* ARM load/store label parsing.Jim Grosbach2011-08-081-0/+14
| | | | | | | Allow labels for load/store instructions when parsing. There's encoding issues, still, so this doesn't work all the way through, yet. llvm-svn: 137064
* Hoist hasLoadFromStackSlot and hasStoreToStackSlot.Jakob Stoklund Olesen2011-08-084-57/+42
| | | | | | | These the methods are target-independent since they simply scan the memory operands. They can live in TargetInstrInfoImpl. llvm-svn: 137063
* Fix encodings for Thumb ASR and LSR immediate operands. They encode the ↵Owen Anderson2011-08-085-12/+37
| | | | | | range 1-32, with 32 encoded as 0. llvm-svn: 137062
* Fix up the patterns for SXTB, SXTH, UXTB, and UXTH so that they are ↵Eli Friedman2011-08-082-5/+35
| | | | | | correctly active without HasT2ExtractPack. PR10611. llvm-svn: 137061
* Pacify virtual dtor warnings and cmake buildbots.Benjamin Kramer2011-08-082-0/+3
| | | | llvm-svn: 137060
* Add MCInstrAnalysis class. This allows the targets to specify own versions ↵Benjamin Kramer2011-08-087-31/+176
| | | | | | | | | of MCInstrDescs functions. - Add overrides for ARM. - Teach llvm-objdump to use this instead of plain MCInstrDesc. llvm-svn: 137059
* llvm-objdump: disassembly enhancementsBenjamin Kramer2011-08-081-1/+19
| | | | | | | - Indent simple loops - Print unreachable blocks as .byte directives llvm-svn: 137058
* llvm-objdump: Use help of CFG to print assembly when --cfg is passed.Benjamin Kramer2011-08-081-15/+44
| | | | | | This way we can avoid printing unreachable code (data). llvm-svn: 137057
* Simplify by creating parent first.Devang Patel2011-08-081-19/+14
| | | | llvm-svn: 137056
* objective-c: diagnose protocol inconsistencies in following Fariborz Jahanian2011-08-085-5/+230
| | | | | | | | | situation. When a class explicitly or implicitly (through inheritance) "conformsTo" two protocols which conflict (have methods which conflict). This patch fixes the previous patch where warnings were coming out in non-deterministic order. This is 2nd part of // rdar://6191214. llvm-svn: 137055
* Make sure FunctionDecls aren't considered during overload resolution if thereKaelyn Uhrain2011-08-081-4/+5
| | | | | | are explicit template args. llvm-svn: 137054
* Silence the category-replacing-class-method warning for +load: categoryDavid Chisnall2011-08-081-0/+3
| | | | | | | | implementations of +load do not replace the class definition in a meaningful sense, they are run when the category loads, the +load method for class is run when the class is loaded. llvm-svn: 137053
* Fix typo so we don't use the wrong function for ending ObjC++ catch blocks ↵David Chisnall2011-08-081-1/+1
| | | | | | (GNU runtimes) llvm-svn: 137052
* Improved efficiency by using iterator returned by erase, rather then restarting.Chad Rosier2011-08-081-4/+4
| | | | | | Thanks to David Blaikie for pointing this out. llvm-svn: 137051
* Don't clobber pending ST regs when FP regs are killed.Jakob Stoklund Olesen2011-08-082-0/+31
| | | | | | | | | | | | | | | | | | | X86FloatingPoint keeps track of pending ST registers for an upcoming inline asm instruction with fixed stack register constraints. It does this by remembering which FP register holds the value that should appear at a fixed stack position for the inline asm. When that FP register is killed before the inline asm, make sure to duplicate it to a scratch register, so the ST register still has a live FP reference. This could happen when the same FP register was copied to two ST registers, or when a spill instruction is inserted between the ST copy and the inline asm. This fixes PR10602. llvm-svn: 137050
* Silence some -Wall warnings pointed out by Marshall ClowHoward Hinnant2011-08-082-53/+1
| | | | llvm-svn: 137047
* Remove include reference to non-existant file cxa_exception_storage.hppMarshall Clow2011-08-081-1/+0
| | | | llvm-svn: 137046
* Memaccess: Some style changesRaghesh Aloor2011-08-081-16/+16
| | | | llvm-svn: 137043
* Clean up the grammar for the landingpad instruction.Bill Wendling2011-08-081-2/+4
| | | | llvm-svn: 137042
* Remove unnecessary space.Bill Wendling2011-08-081-1/+1
| | | | llvm-svn: 137041
* Fix typo found by John.Bill Wendling2011-08-081-1/+1
| | | | llvm-svn: 137040
* Fix comment (test commit)Craig Topper2011-08-081-1/+1
| | | | llvm-svn: 137039
* Avoid fallthrough-branching to an inactive cleanup even if it'sJohn McCall2011-08-071-44/+33
| | | | | | otherwise required. llvm-svn: 137029
* strengthen up an assertion: you can't create a constant structChris Lattner2011-08-071-2/+2
| | | | | | | with an opaque struct type, it doesn't make sense. This should resolve PR10473. llvm-svn: 137028
* Add a __has_feature macro for generalized initializers, turned offAlexis Hunt2011-08-072-0/+9
| | | | | | because we don't support them yet. llvm-svn: 137027
* Fix typo. Thanks, Andy!Jakob Stoklund Olesen2011-08-061-1/+1
| | | | llvm-svn: 137023
* Do l-value conversion, etc., on a switch condition expression inJohn McCall2011-08-063-23/+34
| | | | | | | | | | ActOnStartOfSwitchStmt (i.e. before binding up a full-expression) instead of ActOnFinishSwitchStmt. Among other things, this means that property l-values are properly converted inside the full-expression. llvm-svn: 137014
OpenPOWER on IntegriCloud