summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Revert r128770, r128771, r128773 and r128776 for now. It breaks debug info.Devang Patel2011-04-045-33/+26
| | | | llvm-svn: 128842
* Fix incorrect alignment for NEON VST2b32_UPD.Johnny Chen2011-04-042-7/+135
| | | | | | rdar://problem/9225433 llvm-svn: 128841
* -Wuninitialized: don't warn about uninitialized variables in unreachable code.Ted Kremenek2011-04-043-4/+25
| | | | llvm-svn: 128840
* Update BreakpointPrinter to emit original function names only. Devang Patel2011-04-041-15/+31
| | | | llvm-svn: 128839
* -Wuninitialized: don't issue fixit for initializer if a variable declaration ↵Ted Kremenek2011-04-042-1/+5
| | | | | | already has an initializer. llvm-svn: 128838
* Added a speed test to the GDBRemoteCommunicationClient and Greg Clayton2011-04-0415-29/+844
| | | | | | | | | | | | | GDBRemoteCommunicationServer classes. This involved adding a new packet named "qSpeedTest" which can test the speed of a packet send/response pairs using a wide variety of send/recv packet sizes. Added a few new connection classes: one for shared memory, and one for using mach messages (Apple only). The mach message stuff is experimental and not working yet, but added so I don't lose the code. The shared memory stuff uses pretty standard calls to setup shared memory. llvm-svn: 128837
* Insert code in the right location when lowering PowerPC atomics.Jakob Stoklund Olesen2011-04-041-2/+4
| | | | | | | This causes defs to dominate uses, no instructions after terminators, and other goodness. llvm-svn: 128836
* Disable the PowerPC/Atomics-64 test.Jakob Stoklund Olesen2011-04-041-2/+8
| | | | | | | | The code inserted by PPCTargetLowering::EmitInstrWithCustomInserter for ppc64 is wrong, and I don't know how to fix it. It seems to be using the correct register classes for pointers, but it inserts all 32-bit instructions. llvm-svn: 128835
* Remove unused function.Eric Christopher2011-04-041-21/+0
| | | | llvm-svn: 128834
* When emitting a "too many arguments to function call..." error, also include ↵Ted Kremenek2011-04-045-3/+12
| | | | | | a note with a location for the function prototype. llvm-svn: 128833
* - Implement asm parsing support for LDRSBT, LDRHT, LDRSHT and STRHTBruno Cardoso Lopes2011-04-048-32/+258
| | | | | | | | | | also fix the encoding of the later. - Add a new encoding bit to describe the index mode used in AM3. - Teach printAddrMode3Operand to check by the addressing mode which index mode to print. - Testcases. llvm-svn: 128832
* silence an unused function warning.Chris Lattner2011-04-041-0/+2
| | | | llvm-svn: 128831
* Move transformation of JmpLink and related nodes done during instruction ↵Akira Hatanaka2011-04-042-59/+27
| | | | | | selection to Legalize phase. llvm-svn: 128830
* PowerPC atomic pseudos clobber CR0, they don't read it.Jakob Stoklund Olesen2011-04-042-2/+2
| | | | llvm-svn: 128829
* Use X0 instead of R0 for the zero register on ppc64.Jakob Stoklund Olesen2011-04-041-10/+13
| | | | | | The 32-bit R0 cannot be used where a 64-bit register is expected. llvm-svn: 128828
* Fix PowerPC tests to be register allocator independent.Jakob Stoklund Olesen2011-04-042-8/+8
| | | | llvm-svn: 128827
* Add support for the VIA PadLock instructions.Joerg Sonnenberger2011-04-0412-14/+165
| | | | llvm-svn: 128826
* Change ARM data layout strings to match llvm-gcc.Bob Wilson2011-04-041-5/+5
| | | | | | | | | Sandeep Patel noticed that the alignment was wrong for Neon vector types, and this change is partly derived from his patch. For the APCS ABI, however, additional changes were required: the maximum ABI alignment is 32 bits and the preferred alignment for i64 and f64 types should be 64 bits. llvm-svn: 128825
* Use array_lengthofJoerg Sonnenberger2011-04-041-2/+3
| | | | llvm-svn: 128823
* Expand Op0Mask by one bit in preparation for the PadLock prefixes.Joerg Sonnenberger2011-04-043-50/+51
| | | | | | | | Define most shift masks incrementally to reduce the redundant hard-coding. Introduce new shift for the VEX flags to replace the magic constant 32 in various places. llvm-svn: 128822
* Stop caching basic block index ranges now that SlotIndexes can keep up.Jakob Stoklund Olesen2011-04-044-30/+43
| | | | llvm-svn: 128821
* Delete leftover data members.Jakob Stoklund Olesen2011-04-041-4/+0
| | | | llvm-svn: 128820
* docs/UsersManual.html: Add cygming notes.NAKAMURA Takumi2011-04-041-1/+41
| | | | llvm-svn: 128819
* Change loops to derive the number of tables automaticallyJoerg Sonnenberger2011-04-041-2/+2
| | | | llvm-svn: 128818
* Dragonegg release notes.Duncan Sands2011-04-041-17/+17
| | | | llvm-svn: 128812
* Remove some support for ReturnInsts with multiple operands, and forJay Foad2011-04-044-49/+5
| | | | | | | returning a scalar value in a function whose return type is a single- element structure or array. llvm-svn: 128810
* PR9585: add __decltype as a keyword. While I'm here, alphabetize the list.Eli Friedman2011-04-042-4/+8
| | | | llvm-svn: 128809
* Region: Allow user control the printing style of the print function.Tobias Grosser2011-04-042-17/+21
| | | | | | Contributed by: etherzhhb@gmail.com llvm-svn: 128808
* Corrected tests for http://llvm.org/bugs/show_bug.cgi?id=9351Howard Hinnant2011-04-044-76/+5
| | | | llvm-svn: 128807
* PR9615: make sure we destroy any temporaries returned by operator->.Eli Friedman2011-04-042-1/+21
| | | | | | | I'm pretty sure this is the right fix, but I would appreciate it if someone else would double-check. llvm-svn: 128806
* IntrusiveRefCntPtr: in RefCountedBase and RefCountedBaseVPTR, makePeter Collingbourne2011-04-041-7/+7
| | | | | | | ref_cnt mutable and Retain/Release const to enable reference counted pointers to const objects llvm-svn: 128804
* Attempt to fix breakage from r128782 reported by Francois Pichet onEli Friedman2011-04-041-0/+3
| | | | | | | llvm-commits. (Not sure why it only breaks on Windows; maybe it has something to do with the iterator representation...) llvm-svn: 128802
* Start migrating mach-o dumping facilities to the object file out of aEric Christopher2011-04-033-2/+50
| | | | | | separate executable. llvm-svn: 128801
* Move Object.cpp out of VMCore and into Object.Eric Christopher2011-04-033-1/+1
| | | | llvm-svn: 128800
* Assorted bugfixes in object file handling:Eric Christopher2011-04-033-2/+34
| | | | | | | | | | | | | | | | | | | | | | | - Adds support for sniffing PE/COFF files on win32 (.exe and .dll) which are COFF files that have an MS-DOS compatibility stub on the front of them. - Fixes a bug in the COFFObjectFile's support for the Microsoft COFF extension for long symbol names, wherein it was attempting to parse the leading '/' in an extended symbol name reference as part of the integer offset. - Fixes bugs in COFFObjectFile and ELFObjectFile wherein section and symbol iterators were being returned with uninitialized bytes; the type DataRefImpl is a union between 2 32-bit words (d.a and d.b) and a single intptr_t word (p). Only p was being initialized, so in 32-bit builds the result would be iterators with random upper 32-bit words in their DataRefImpls. This caused random failures when seeking around in object files. Patch by Graydon Hoare! llvm-svn: 128799
* Add a set of C bindings for the Object interface.Eric Christopher2011-04-033-0/+137
| | | | | | Patch by Patrick Walton! llvm-svn: 128798
* ... And these wonderful tests.Howard Hinnant2011-04-034-0/+96
| | | | llvm-svn: 128797
* Chris Jefferson submitted this patch to fix ↵Howard Hinnant2011-04-031-23/+24
| | | | | | http://llvm.org/bugs/show_bug.cgi?id=9351 llvm-svn: 128796
* Remove the LLVMContext& arguments from *Folder constructors, as they don't ↵Frits van Bommel2011-04-033-10/+6
| | | | | | seem to be used anywhere. llvm-svn: 128793
* Fix typos on LLVM.cmake. Export LLVM_ON_UNIX & LLVM_ON_WIN32.Oscar Fuentes2011-04-031-3/+3
| | | | | | Patch by arrowdodger! llvm-svn: 128789
* clang has had full and tested support for C++0x trailing-return-type and ↵Richard Smith2011-04-032-8/+18
| | | | | | | | auto type deduction since r126166. Update the website to reflect this, and add a __has_feature test. trailing-return-type codegen is not tested yet (name mangling in particular). llvm-svn: 128787
* Refactoring the security checker a little bit so that each CallExpr check ↵Lenny Maiorani2011-04-031-60/+44
| | | | | | doesn't get called for each CallExpr. Instead it does a switch and only runs the check for the proper identifier. Slight speed improvement (probably significant on very large ASTs), and should make it easier and more clear to add more checks for other CallExpr's later. llvm-svn: 128785
* static analyzer: Add a new ProgramPoint PostCondition to represent the post ↵Ted Kremenek2011-04-033-1/+33
| | | | | | | | position of a branch condition, and a new generateNode method to BranchNodeBuilder using PostCondition ProgramPoint. This method generates a new ExplodedNode but not a new block edge. Patch by Lei Zhang! llvm-svn: 128784
* Fix RegionStore bug when doing a field load whose parent is also a field ↵Ted Kremenek2011-04-032-11/+42
| | | | | | assigned a LazyCompoundValue. Fixes <rdar://problem/9163742> and PR 9522. llvm-svn: 128783
* PR9446: RecursivelyDeleteTriviallyDeadInstructions can delete the instructionEli Friedman2011-04-023-5/+36
| | | | | | | | | | | after the given instruction; make sure to handle that case correctly. (It's difficult to trigger; the included testcase involves a dead block, but I don't think that's a requirement.) While I'm here, get rid of the unnecessary warning about SimplifyInstructionsInBlock, since it should work correctly as far as I know. llvm-svn: 128782
* Don't assume something which might be a constant expression is an instruction.Eli Friedman2011-04-021-3/+3
| | | | | | | Based on PR9429, but no testcase because I can't figure out how to trigger it anymore given other changes to the relevant code. llvm-svn: 128781
* Make -Wheader-hygiene not complain about USING_NAMESPACE_THROUGH_MACRO in a ↵Nico Weber2011-04-024-2/+37
| | | | | | non-header file. llvm-svn: 128780
* [analyzer] Simplify CheckerFn template and use it more to reduce ↵Argyrios Kyrtzidis2011-04-021-94/+56
| | | | | | duplication. No functionality change. llvm-svn: 128779
* While SimplifyDemandedBits constant folds this, we can't rely on it here.Benjamin Kramer2011-04-021-2/+7
| | | | | | | | | | It's possible to craft an input that hits the recursion limits in a way that SimplifyDemandedBits doesn't simplify the icmp but ComputeMaskedBits can infer which bits are zero. No test case as it depends on too many other things. Fixes PR9609. llvm-svn: 128777
* Change the return type of CodeGenVTables::getVirtualBaseOffsetOffset() toKen Dyck2011-04-025-15/+19
| | | | | | CharUnits. No change in functionality intended. llvm-svn: 128776
OpenPOWER on IntegriCloud