summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix <rdar://problem/10217868>.Howard Hinnant2011-10-011-2/+0
| | | | llvm-svn: 140907
* Add Windows x64 stack walking support. Patch by Aaron Ballman!Michael J. Spencer2011-10-011-32/+190
| | | | llvm-svn: 140906
* Use precomputed BitVector for CodeGenRegisterClass::hasSubClass().Jakob Stoklund Olesen2011-09-302-8/+15
| | | | | | | All the sub-class bit vectors are computed when first creating the register bank. llvm-svn: 140905
* Filecheck-ize.Bill Wendling2011-09-301-1/+3
| | | | llvm-svn: 140904
* Add new line at end of file.Bill Wendling2011-09-301-1/+1
| | | | llvm-svn: 140903
* When inferring the pointer alignment, if the global doesn't have an initializerBill Wendling2011-09-302-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | and the alignment is 0 (i.e., it's defined globally in one file and declared in another file) it could get an alignment which is larger than the ABI allows for that type, resulting in aligned moves being used for unaligned loads. For instance, in file A.c: struct S s; In file B.c: struct { // something long }; extern S s; void foo() { struct S p = s; // ... } this copy is a 'memcpy' which is turned into a series of 'movaps' instructions on X86. But this is wrong, because 'struct S' has alignment of 4, not 16. llvm-svn: 140902
* Small fix to "frame select" sans frame # feature added yesterday.Jason Molenda2011-09-301-1/+3
| | | | llvm-svn: 140901
* Enable -Wstrlcpy-strlcat-size by default.Ted Kremenek2011-09-301-1/+0
| | | | llvm-svn: 140900
* Promote comment to doxycomment. Adjust whitespace. No functionality change.Nick Lewycky2011-09-301-4/+3
| | | | llvm-svn: 140899
* Store sub-class lists as a bit vector.Jakob Stoklund Olesen2011-09-305-94/+43
| | | | | | | | | | | | | | This uses less memory and it reduces the complexity of sub-class operations: - hasSubClassEq() and friends become O(1) instead of O(N). - getCommonSubClass() becomes O(N) instead of O(N^2). In the future, TableGen will infer register classes. This makes it cheap to add them. llvm-svn: 140898
* Extract a slightly more general BitVector printer.Jakob Stoklund Olesen2011-09-301-7/+16
| | | | | | This one can also print 32-bit groups. llvm-svn: 140897
* Move getCommonSubClass() into TRI.Jakob Stoklund Olesen2011-09-308-16/+22
| | | | | | It will soon need the context. llvm-svn: 140896
* Compute lists of super-classes in CodeGenRegisterClass.Jakob Stoklund Olesen2011-09-303-39/+43
| | | | | | | Use these lists instead of computing them on the fly in RegisterInfoEmitter. llvm-svn: 140895
* Mark a TagDecl when it is free standing (e.g. "struct foo;")Argyrios Kyrtzidis2011-09-304-0/+16
| | | | llvm-svn: 140894
* Remove the "-feliminate-unused-debug-types" OTHER_CFLAGS.Greg Clayton2011-09-301-3/+0
| | | | llvm-svn: 140893
* Correct for my over-eager delete finger.Jim Grosbach2011-09-301-0/+1
| | | | llvm-svn: 140892
* Add definition of MipsELFObjectWriter.Akira Hatanaka2011-09-302-0/+33
| | | | | | Patch by Reed Kotler at Mips Technologies. llvm-svn: 140891
* o lldbtest.py:Johnny Chen2011-09-303-9/+45
| | | | | | | | | | | | | | | Add a keyword argument 'endstr' to TestBase.expect() method to assert that the output will end with 'endstr'. Add TestBase.switch_to_thread_with_stop_reason(stop_reason) to select the thread with the stop reason = 'stop_reason' as the current thread. o TestWatchLocation.py: Modified to switch to the stopped thread with stop reason = watchpoint and to evaluate an expression with expected output for stronger assertion. llvm-svn: 140890
* Revert my --working-directory option, which wasn't well thought through.Daniel Dunbar2011-09-304-20/+0
| | | | llvm-svn: 140889
* Add a section detailing the steps required to add an expression orDouglas Gregor2011-09-301-0/+223
| | | | | | statement to Clang. llvm-svn: 140888
* Register the MC object streamer.Akira Hatanaka2011-09-301-0/+18
| | | | | | Patch by Reed Kotler at Mips Technologies. llvm-svn: 140887
* Register Asm backend. Add functions to MipsAsmBackend.Akira Hatanaka2011-09-303-0/+55
| | | | | | Patch by Reed Kotler at Mips Technologies. llvm-svn: 140886
* Add MCELFObjectTargetWriter and MCAsmBackend classes.Akira Hatanaka2011-09-302-0/+72
| | | | | | Patch by Reed Kotler at Mips Technologies. llvm-svn: 140885
* Test More Complicated ListsDavid Greene2011-09-301-0/+17
| | | | | | | Test of indexing lists of lists of lists works. This also exercises some operators. llvm-svn: 140884
* Test VarListElementInit:: resolveListElementReferenceDavid Greene2011-09-301-0/+13
| | | | | | Add a TableGen test to check if indexing lists of lists works. llvm-svn: 140883
* Implement VarListElementInit:: resolveListElementReferenceDavid Greene2011-09-301-2/+10
| | | | | | | Implement VarListElementInit:: resolveListElementReference so that lists of lists can be indexed. llvm-svn: 140882
* Removed some commented out code from the DWARF parser.Greg Clayton2011-09-303-64/+7
| | | | | | | | | | Also reduce the size of the lldb_private::Symbol objects by removing the lldb_private::Function pointer that was in each symbol. Running Instruments has shown that when debugging large applications with DWARF in .o files that lldb_private::Symbol objects are one of the highest users of memory. No one was using the Symbol::GetFunction() call anyway. llvm-svn: 140881
* objc arc: allow objc_returns_inner_pointer on methods that return Fariborz Jahanian2011-09-302-1/+25
| | | | | | | a reference type, since inner reference is much like an inner pointer. // rdar://10139365 llvm-svn: 140880
* Update CMake build.Benjamin Kramer2011-09-301-1/+2
| | | | llvm-svn: 140879
* Initial implementation of MipsMCCodeEmitter.Akira Hatanaka2011-09-303-1/+68
| | | | | | Patch by Reed Kotler at Mips Technologies. llvm-svn: 140878
* Fix compiler warning about && in ||.Benjamin Kramer2011-09-301-2/+2
| | | | | | | This time the warning found an actual bug, we don't want to handle force_align_arg_pointer differently than __force_align_arg_pointer__. llvm-svn: 140877
* Install a copy of the libc++ headers with clang. <rdar://problem/10096516>Bob Wilson2011-09-304-2/+38
| | | | llvm-svn: 140876
* Don't modify constant in-place.Jim Grosbach2011-09-301-3/+4
| | | | llvm-svn: 140875
* Tracing or debug-printing a newly formed instruction should not crash.Andrew Trick2011-09-301-1/+2
| | | | llvm-svn: 140874
* whitespaceAndrew Trick2011-09-301-38/+38
| | | | llvm-svn: 140873
* Remove unnecessary checking of register operands.Akira Hatanaka2011-09-302-7/+7
| | | | llvm-svn: 140872
* Support dllimport and dllexport on x86-64 Windows. PR10978. Patch by Ruben ↵Eli Friedman2011-09-302-4/+6
| | | | | | Van Boxem. llvm-svn: 140871
* Add definitions of Mips64 rotate instructions.Akira Hatanaka2011-09-303-2/+64
| | | | llvm-svn: 140870
* float comparison to double 'zero' constant can just be a float 'zero.'Jim Grosbach2011-09-302-3/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | InstCombine was incorrectly considering the conversion of the constant zero to be unsafe. We want to transform: define float @bar(float %x) nounwind readnone optsize ssp { %conv = fpext float %x to double %cmp = fcmp olt double %conv, 0.000000e+00 %conv1 = zext i1 %cmp to i32 %conv2 = sitofp i32 %conv1 to float ret float %conv2 } Into: define float @bar(float %x) nounwind readnone optsize ssp { %cmp = fcmp olt float %x, 0.000000e+00 ; <---- This %conv1 = zext i1 %cmp to i32 %conv2 = sitofp i32 %conv1 to float ret float %conv2 } rdar://10215914 llvm-svn: 140869
* Constify 'isLSDA' and move a method out-of-line.Bill Wendling2011-09-302-14/+20
| | | | llvm-svn: 140868
* objc gc: assigning to an objc object struct member through an ivar Fariborz Jahanian2011-09-302-10/+39
| | | | | | pointer to this struct must go through the none ivar writer barrier. llvm-svn: 140867
* Minor cleanup.Eli Friedman2011-09-301-4/+3
| | | | llvm-svn: 140866
* Tidy up. Trailing whitespace.Jim Grosbach2011-09-301-220/+220
| | | | llvm-svn: 140865
* [libclang] Introduce CXCursor_CXXAccessSpecifier for C++'s ↵Argyrios Kyrtzidis2011-09-305-20/+31
| | | | | | | | public:/private:/protected: specifiers. Patch by Paolo Capriotti! llvm-svn: 140864
* ARM Darwin default relocation model is PIC.Jim Grosbach2011-09-306-8/+11
| | | | | | | This matches clang, so default options in llc and friends are now closer to clang's defaults. llvm-svn: 140863
* isCommutable should be 0 for DSUBu.Akira Hatanaka2011-09-301-1/+1
| | | | llvm-svn: 140862
* ARM Fixup valus for movt/movw are for the whole value.Jim Grosbach2011-09-301-7/+0
| | | | | | | | | Remove an assert that was expecting only the relevant 16bit portion for the fixup being handled. Also kill some dead code in the T2 portion. rdar://9653509 llvm-svn: 140861
* Check values of immediate operands.Akira Hatanaka2011-09-302-11/+11
| | | | llvm-svn: 140860
* Fix a bug in compare_numeric().Jakob Stoklund Olesen2011-09-302-6/+19
| | | | | | Thanks to Alexandru Dura and Jonas Paulsson for finding it. llvm-svn: 140859
* Add forgotten tests that the cleanup flag is cleared if thereDuncan Sands2011-09-301-0/+24
| | | | | | is a catch-all landingpad clause. llvm-svn: 140858
OpenPOWER on IntegriCloud