summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* lib: Eliminate direct include of stdlib.h from files that used to (potentially)Daniel Dunbar2011-11-1622-24/+0
| | | | | | need it for compilerrt_abort(). llvm-svn: 144752
* lib: Add support for library wide utility functions, and make compilerrt_abort()Daniel Dunbar2011-11-165-9/+70
| | | | | | | | | a real boy. - The utility module needs to be included into every produced library, because we don't have enough dependency tracking to know exactly which other modules might require the utilities. llvm-svn: 144751
* lib/{ppc,x86_64}: Fixup a number of files to include int_lib.h instead ofDaniel Dunbar2011-11-168-8/+4
| | | | | | directly including system headers. llvm-svn: 144750
* lib: Remove math.h from int_lib.h, which doesn't appear to be required.Daniel Dunbar2011-11-161-3/+0
| | | | llvm-svn: 144749
* test commit to verify that commit access works (added blank line)Kostya Serebryany2011-11-161-0/+1
| | | | llvm-svn: 144748
* Rename MVT::untyped to MVT::Untyped to match similar nomenclature.Owen Anderson2011-11-165-6/+6
| | | | llvm-svn: 144747
* Fix SCEV overly optimistic back edge taken count for multi-exit loops.Andrew Trick2011-11-164-11/+75
| | | | | | Fixes PR11375: Different results for 'clang++ huh.cpp'... llvm-svn: 144746
* Fix a bunch of really nasty bugs in how we compute alignment for reference ↵Eli Friedman2011-11-163-14/+51
| | | | | | lvalues. PR11376. llvm-svn: 144745
* Fixed a crash when we merrily went on to try to logSean Callanan2011-11-161-0/+2
| | | | | | information about a nonexistent function declaration. llvm-svn: 144744
* Add FIXME comment.Chad Rosier2011-11-161-0/+2
| | | | llvm-svn: 144743
* Switch some more of the modules tests over to "-emit-module-from-map",Douglas Gregor2011-11-166-17/+20
| | | | | | and remove stray fprintf. llvm-svn: 144742
* Two fixes for Objetive-C methods that return structSean Callanan2011-11-162-3/+78
| | | | | | | | | | types. First, I added handling for the memset intrinsic in the IR, which is used to zero out the returned struct. Second, I fixed the object-checking instrumentation to objc_msgSend_stret, and generally tightened up how the object-checking functions get inserted. llvm-svn: 144741
* build/darwin_bni: Remove consistency check I added, I forgot we always loadDaniel Dunbar2011-11-161-3/+0
| | | | | | every platform (even if it isn't being built). llvm-svn: 144740
* lib: Include float.h in int_lib.h, and eliminate duplicate includes from a ↵Daniel Dunbar2011-11-1611-13/+4
| | | | | | number of source files. llvm-svn: 144739
* build/darwin_bni: Add a consistency check.Daniel Dunbar2011-11-161-0/+3
| | | | llvm-svn: 144738
* Add support for building a module from a module map to the -cc1Douglas Gregor2011-11-1612-7/+208
| | | | | | | interface. This is currently limited to modules with umbrella headers. llvm-svn: 144736
* Enable -widen-vmovs by default.Jakob Stoklund Olesen2011-11-151-1/+1
| | | | | | | | | | | This will widen 32-bit register vmov instructions to 64-bit when possible. The 64-bit vmovd instructions can then be translated to NEON vorr instructions by the execution dependency fix pass. The copies are only widened if they are marked as clobbering the whole D-register. llvm-svn: 144734
* Stabilize the output of the dwarf accelerator tables. Fixes a comparisonEric Christopher2011-11-151-2/+11
| | | | | | failure during bootstrap with it turned on. llvm-svn: 144731
* GEPs with all zero indices are trivially coalesced by fast-isel. For example,Chad Rosier2011-11-151-0/+5
| | | | | | | | | | | | | %arrayidx135 = getelementptr inbounds [4 x [4 x [4 x [4 x i32]]]]* %M0, i32 0, i64 0 %arrayidx136 = getelementptr inbounds [4 x [4 x [4 x i32]]]* %arrayidx135, i32 0, i64 %idxprom134 Prior to this commit, the GEP instruction that defines %arrayidx136 thought that %arrayidx135 was a trivial kill. The GEP that defines %arrayidx135 doesn't generate any code and thus %M0 gets folded into the second GEP. Thus, we need to look through GEPs with all zero indices. rdar://10443319 llvm-svn: 144730
* In Microsoft mode, make "Unqualified lookup into dependent bases of class ↵Francois Pichet2011-11-152-1/+26
| | | | | | templates" works inside static functions. llvm-svn: 144729
* While we are at it, verify that 'my_int_ptr' points to 'g_my_int', using the ↵Johnny Chen2011-11-151-0/+6
| | | | | | | | SBTarget.ResolveLoadAddress() to get its SBAddress, and SBAddress.GetSymbol() to get the corresponding symbol. llvm-svn: 144728
* ARM assembly parsing for register range syntax for VLD/VST register lists.Jim Grosbach2011-11-152-2/+42
| | | | | | | | | | | | | | | | For example, vld1.f64 {d2-d5}, [r2,:128]! Should be equivalent to: vld1.f64 {d2,d3,d4,d5}, [r2,:128]! It's not documented syntax in the ARM ARM, but it is consistent with what's accepted for VLDM/VSTM and is unambiguous in meaning, so it's a good thing to support. rdar://10451128 llvm-svn: 144727
* Merge ObjCPropertyDebugInfo.html into SourceLevelDebugging.htmlDevang Patel2011-11-153-240/+224
| | | | llvm-svn: 144724
* Revert r144703. It was a dumb idea anyway; will add the new bits moreDouglas Gregor2011-11-154-70/+13
| | | | | | incrementally with a new frontend action. llvm-svn: 144723
* ARM assembly parsing for data type suffices on NEON VMOV aliases.Jim Grosbach2011-11-152-0/+21
| | | | llvm-svn: 144722
* Fix MSVC warnings by adding a cast. Nadav Rotem2011-11-151-4/+4
| | | | llvm-svn: 144721
* AVX: Add support for vbroadcast from BUILD_VECTOR and refactor some of the ↵Nadav Rotem2011-11-152-51/+85
| | | | | | | | vbroadcast code. llvm-svn: 144720
* jakob fixed X87 inline asm!Chris Lattner2011-11-151-4/+4
| | | | llvm-svn: 144719
* Fix objc runtime warnings from the inferior program.Johnny Chen2011-11-153-7/+9
| | | | llvm-svn: 144717
* add ImmutableSet/Map dox, patch by Caitlin Sadowski!Chris Lattner2011-11-151-1/+45
| | | | llvm-svn: 144716
* Compute whether a class is trivial correctly for template classes with an ↵Eli Friedman2011-11-152-2/+15
| | | | | | explicitly deleted or defaulted special member. PR11387. llvm-svn: 144715
* test/CodeGen/X86/dec-eflags-lower.ll: Relax expression for win32 x64.NAKAMURA Takumi2011-11-151-1/+1
| | | | llvm-svn: 144714
* ARM assembly parsing two operand forms for shift instructions.Jim Grosbach2011-11-152-0/+18
| | | | llvm-svn: 144713
* Made Target own a ClangASTSource that will be usedSean Callanan2011-11-154-1/+11
| | | | | | to complete types in the scratch AST context. llvm-svn: 144712
* add PTX backend infoChris Lattner2011-11-151-0/+24
| | | | llvm-svn: 144711
* ARM VFP assembly parsing for VADD and VSUB two-operand forms.Jim Grosbach2011-11-151-0/+10
| | | | llvm-svn: 144710
* ARM accept an immediate offset in memory operands w/o the '#'.Jim Grosbach2011-11-151-3/+6
| | | | llvm-svn: 144709
* some notes.Chris Lattner2011-11-151-0/+28
| | | | llvm-svn: 144708
* Added custom lowering for load->dec->store sequence in x86 when the EFLAGS ↵Pete Cooper2011-11-154-2/+95
| | | | | | | | | | | | registers is used by later instructions. Only done for DEC64m right now. Fixes <rdar://problem/6172640> llvm-svn: 144705
* Eliminated a compile warning by removing dyn_castSean Callanan2011-11-151-1/+1
| | | | | | where isa is good enough. llvm-svn: 144704
* Split GenerateModuleAction into its own action, which will startDouglas Gregor2011-11-154-13/+70
| | | | | | differing from GeneratePCHAction fairly soon. llvm-svn: 144703
* Removed the ClangASTImporter pointer fromSean Callanan2011-11-151-2/+0
| | | | | | | ClangExpressionDeclMap, which actually uses the one it inherits from ClangASTSource. llvm-svn: 144702
* ARM enclosing curly braces optional on one-register VLD/VST instruction lists.Jim Grosbach2011-11-151-2/+23
| | | | | | | | 'vld1.f32 d4, [r7]' should be parsed as equivalent to 'vld1.f32 {d4}, [r7]' rdar://10450488. llvm-svn: 144701
* Fixed plausible overloads location.Abramo Bagnara2011-11-152-3/+3
| | | | llvm-svn: 144700
* Update section "MIPS Target Improvements" in the llvm 3.0 release notes.Akira Hatanaka2011-11-151-0/+21
| | | | llvm-svn: 144699
* ARM size suffix on VFP single-precision 'vmov' is optional.Jim Grosbach2011-11-151-0/+5
| | | | | | rdar://10435114 llvm-svn: 144698
* Add test scenario for value.GetChildAtIndex(0) where value is a pointer to a ↵Johnny Chen2011-11-152-0/+12
| | | | | | simple type. llvm-svn: 144697
* Insert modified DBG_VALUE into LiveDbgValueMap. Devang Patel2011-11-151-1/+1
| | | | llvm-svn: 144696
* Fix typo.Jim Grosbach2011-11-151-1/+1
| | | | llvm-svn: 144695
* ARM alternate size suffices for VTRN instructions.Jim Grosbach2011-11-152-0/+76
| | | | | | rdar://10435076 llvm-svn: 144694
OpenPOWER on IntegriCloud