summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Print r_type with the correct number of bits.Rafael Espindola2011-08-0410-42/+44
| | | | llvm-svn: 136872
* Another counter goes decimal.Rafael Espindola2011-08-0430-95/+95
| | | | llvm-svn: 136871
* Change anther counter to decimal.Rafael Espindola2011-08-0437-167/+167
| | | | llvm-svn: 136870
* Don't print a counter in hex.Rafael Espindola2011-08-0424-38/+38
| | | | llvm-svn: 136869
* Add an assert to check that the Addend fits the file format.Rafael Espindola2011-08-041-0/+6
| | | | llvm-svn: 136868
* Print all the bits in the addend.Rafael Espindola2011-08-0426-129/+123
| | | | llvm-svn: 136867
* Reword.Jay Foad2011-08-041-2/+2
| | | | llvm-svn: 136866
* Fix what seems an obvious typo. Patch by Ivan Krasin. ProblemDuncan Sands2011-08-041-1/+1
| | | | | | reported at http://habrahabr.ru/blogs/compilers/125626/. llvm-svn: 136865
* This test still hangs on win32, despite XFAIL it. Remove XFAIL.Ted Kremenek2011-08-041-1/+0
| | | | llvm-svn: 136864
* copying std:: SynthProviders in examples/syntheticEnrico Granata2011-08-043-74/+76
| | | | llvm-svn: 136863
* New formatting symbol %# can be used in summary strings to get the "count of ↵Enrico Granata2011-08-0411-104/+191
| | | | | | | | | | | | children" of a variable - accordingly, the test cases for the synthetic providers for the std:: containers have been edited to use ${svar%#} instead of ${svar.len} to print out the count of elements ; the .len synthetic child has been removed from the synthetic providers The synthetic children providers for the std:: containers now return None when asked for children indexes >= num_children() Basic code to support filter names based on regular expressions (WIP) llvm-svn: 136862
* APIs to GetValueAsSigned/Unsigned() in SBValue now also accept an SBError ↵Enrico Granata2011-08-0412-60/+156
| | | | | | | | | parameter to give more info about any problem The synthetic children providers now use the new (safer) APIs to get the values of objects As a side effect, fixed an issue in ValueObject where ResolveValue() was not always updating the value before reading it llvm-svn: 136861
* Take -Wvector-conversions out of -Wmost; it needs a lot ofJohn McCall2011-08-041-1/+0
| | | | | | | | QoI work. rdar://problem/9887979. If some open-source wants to get an idea for what QoI work I have in mind, ping me. llvm-svn: 136860
* Add documentation for useBitFieldTypeAlignment.Chad Rosier2011-08-041-0/+2
| | | | llvm-svn: 136859
* Add partial support for using anonymous bitfields (e.g., int : 0) to enforce Chad Rosier2011-08-045-21/+89
| | | | | | | | | | | | | | | | alignment. This fixes cases where the anonymous bitfield is followed by a non-bitfield member. E.g., struct t4 { int foo : 1; long : 0; char bar; }; Part of rdar://9859156 llvm-svn: 136858
* Reverting r136884 updateUnloop, which crashed a linux builder.Andrew Trick2011-08-043-266/+53
| | | | llvm-svn: 136857
* Emit wide string literals with the appropriate alignment.John McCall2011-08-043-25/+37
| | | | | | Patch by Craig Topper and Sundeep! llvm-svn: 136856
* Fix http://llvm.org/bugs/show_bug.cgi?id=10568Jason W Kim2011-08-043-1/+30
| | | | | | Move the reloc size assert into AsmBackend - where it is more apropos. llvm-svn: 136855
* Only access both operands of an INSERT_SUBVECTOR if it is an INSERT_SUBVECTOR.Bill Wendling2011-08-042-9/+33
| | | | | | Fixes PR10527. llvm-svn: 136853
* KeychainAPI checker: refactor to use early exit.Anna Zaks2011-08-041-50/+52
| | | | llvm-svn: 136852
* KeychainAPI checker: Add basic diagnostics. Track MemoryRegion istead of ↵Anna Zaks2011-08-042-17/+133
| | | | | | SymbolicRef since the address might not be a symbolic value in some cases, for example in fooOnlyFree() test. llvm-svn: 136851
* XFAIL arc.m codegen test on win32 because it is currently hanging. Need to ↵Ted Kremenek2011-08-041-0/+1
| | | | | | investigate. llvm-svn: 136850
* [analyzer] Remove 'all-experimental' checker group.Ted Kremenek2011-08-041-20/+7
| | | | llvm-svn: 136849
* For APCS the alignment of bitfield types is *not* respected when laying outChad Rosier2011-08-041-0/+115
| | | | | | | | structures. Alignment can be enforced with the use of anonymous bitfields (e.g., int :0), but this is not currently supported. Add this test case to document the current state, which will hopefully be fixed shortly. llvm-svn: 136848
* Don't introduce a local -> global mapping for CXXBaseSpecifiers. TheDouglas Gregor2011-08-044-44/+20
| | | | | | | | IDs will never cross module boundaries, since they're tied to the CXXDefinitionData, so just use a local mapping throughout. Eliminate the global -> local tables and supporting data. llvm-svn: 136847
* Delete one of the old tests that was ported over to Clang. The test isChandler Carruth2011-08-031-86/+0
| | | | | | | | | | designed to be executed, and its output inspected for correct values, but we aren't executing it. We're just compiling it, and dumping it to /dev/null. It also isn't freestanding. If there is a desire to have this test actually stick around, complain and I'll revert this and try to add the file checks necessary to make this actually test things. llvm-svn: 136846
* ARM refactoring assembly parsing of memory address operands.Jim Grosbach2011-08-0316-638/+577
| | | | | | | | | | | | | | | | | | | | | | Memory operand parsing is a bit haphazzard at the moment, in no small part due to the even more haphazzard representations of memory operands in the .td files. Start cleaning that all up, at least a bit. The addressing modes in the .td files will be being simplified to not be so monolithic, especially with regards to immediate vs. register offsets and post-indexed addressing. addrmode3 is on its way with this patch, for example. This patch is foundational to enable going back to smaller incremental patches for the individual memory referencing instructions themselves. It does just enough to get the basics in place and handle the "make check" regression tests we already have. Follow-up work will be fleshing out the details and adding more robust test cases for the individual instructions, starting with ARM mode and moving from there into Thumb and Thumb2. llvm-svn: 136845
* An algorithm for incrementally updating LoopInfo within aAndrew Trick2011-08-033-53/+266
| | | | | | | | | | | | | | | | | | | LoopPassManager. The incremental update should be extremely cheap in most cases and can be used in places where it's not feasible to regenerate the entire loop forest. - "Unloop" is a node in the loop tree whose last backedge has been removed. - Perform reverse dataflow on the block inside Unloop to propagate the nearest loop from the block's successors. - For reducible CFG, each block in unloop is visited exactly once. This is because unloop no longer has a backedge and blocks within subloops don't change parents. - Immediate subloops are summarized by the nearest loop reachable from their exits or exits within nested subloops. - At completion the unloop blocks each have a new parent loop, and each immediate subloop has a new parent. llvm-svn: 136844
* whitespaceAndrew Trick2011-08-032-31/+31
| | | | llvm-svn: 136843
* Correctly handle multiple DBG_VALUE instructions at the same SlotIndex.Jakob Stoklund Olesen2011-08-031-0/+3
| | | | | | | | | | | | It is possible to have multiple DBG_VALUEs for the same variable: 32L TEST32rr %vreg0<kill>, %vreg0, %EFLAGS<imp-def>; GR32:%vreg0 DBG_VALUE 2, 0, !"i" DBG_VALUE %noreg, %0, !"i" When that happens, keep the last one instead of the first. llvm-svn: 136842
* Refactoring of my last patch.Fariborz Jahanian2011-08-031-40/+33
| | | | llvm-svn: 136841
* whitespaceAndrew Trick2011-08-031-25/+25
| | | | llvm-svn: 136840
* Introduce local -> global selector ID mapping into the ASTDouglas Gregor2011-08-035-16/+45
| | | | | | reader. Tested with the usual "gaps" method. llvm-svn: 136839
* An interface for iterating over a loop's blocks in DFS order.Andrew Trick2011-08-032-0/+207
| | | | llvm-svn: 136838
* Fix broken encoding of tCBNZ.Owen Anderson2011-08-031-2/+2
| | | | llvm-svn: 136837
* Enable compact region splitting by default.Jakob Stoklund Olesen2011-08-031-1/+1
| | | | | | | | | | | This helps generate better code in functions with high register pressure. The previous version of compact region splitting caused regressions because the regions were a bit too large. A stronger negative bias applied in r136832 fixed this problem. llvm-svn: 136836
* [analyzer] rename all experimental checker packages to have 'experimental' ↵Ted Kremenek2011-08-0378-120/+122
| | | | | | be the common root package. llvm-svn: 136835
* Do not drop undef debug values. These are used as range termination marker ↵Devang Patel2011-08-031-1/+1
| | | | | | by live debug variable pass. llvm-svn: 136834
* Remove underscore that's breaking linux buildbots.Benjamin Kramer2011-08-031-1/+1
| | | | llvm-svn: 136833
* Be more conservative when forming compact regions.Jakob Stoklund Olesen2011-08-033-3/+8
| | | | | | | | | | | | | | | Apply twice the negative bias on transparent blocks when computing the compact regions. This excludes loop backedges from the region when only one of the loop blocks uses the register. Previously, we would include the backedge in the region if the loop preheader and the loop latch both used the register, but the loop header didn't. When both the header and latch blocks use the register, we still keep it live on the backedge. llvm-svn: 136832
* Fix some warnings from Clang in release builds:Chandler Carruth2011-08-031-0/+2
| | | | | | | | | | | lib/CodeGen/RegAllocGreedy.cpp:1176:18: warning: unused variable 'B' [-Wunused-variable] if (unsigned B = Cand.getBundles(BundleCand, BestCand)) { ^ lib/CodeGen/RegAllocGreedy.cpp:1188:18: warning: unused variable 'B' [-Wunused-variable] if (unsigned B = Cand.getBundles(BundleCand, 0)) { ^ llvm-svn: 136831
* Cleaned up the SBType.h file to not include internal headers and reorganizedGreg Clayton2011-08-0331-282/+314
| | | | | | | | | | | | | | | | | | the SBType implementation classes. Fixed LLDB core and the test suite to not use deprecated SBValue APIs. Added a few new APIs to SBValue: int64_t SBValue::GetValueAsSigned(int64_t fail_value=0); uint64_t SBValue::GetValueAsUnsigned(uint64_t fail_value=0) llvm-svn: 136829
* Fix typo in #include which revealed in the case-sensitive filesystem.Jakub Staszak2011-08-031-1/+1
| | | | llvm-svn: 136828
* Use MachineBranchProbabilityInfo in If-Conversion instead of its own heuristics.Jakub Staszak2011-08-035-47/+29
| | | | llvm-svn: 136826
* Use the general conditional-cleanup framework instead of rolling ourJohn McCall2011-08-032-48/+56
| | | | | | own, incorrectly, for releasing objects at the end of a full-expression. llvm-svn: 136823
* Remove the LowerSetJmp pass. It wasn't used effectively by any of the targets.Bill Wendling2011-08-0313-653/+8
| | | | | | This is some of my original LLVM code. *wipes tear* llvm-svn: 136821
* Basic handling of Objective-C tagged pointers: return a custom ISA and ↵Enrico Granata2011-08-032-0/+30
| | | | | | typename when one is detected llvm-svn: 136819
* Add accessors for manipulating an MCInst's operands.Owen Anderson2011-08-031-0/+8
| | | | llvm-svn: 136818
* Introduce a local-to-global remapping for identifiers in the ASTDouglas Gregor2011-08-034-18/+52
| | | | | | | reader, and fix up the one (!) place where we were improperly mapping a local ID to a global ID. Tested via the usual "gaps" trick. llvm-svn: 136817
* Add more constantness in BlockFrequencyInfo.Jakub Staszak2011-08-034-4/+5
| | | | llvm-svn: 136816
OpenPOWER on IntegriCloud