summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add methods for creating NSW subtraction, as already existsDuncan Sands2009-09-262-0/+27
| | | | | | for addition. llvm-svn: 82860
* Add a comment describing natural loops.Dan Gohman2009-09-261-1/+2
| | | | llvm-svn: 82859
* Pass the formatted_raw_ostream to createPrintModulePass andDan Gohman2009-09-261-2/+2
| | | | | | | | | createBitcodeWriterPass instead of the underlying raw_ostream. This avoids trouble with formatted_raw_ostream's behavior of setting the underlying stream to be unbuffered, which resulted in clang -emit-llvm -S using unbuffered output. llvm-svn: 82857
* Revert "Force triple in test.", this wasn't the problem.Daniel Dunbar2009-09-261-1/+1
| | | | llvm-svn: 82855
* Update checker build.Ted Kremenek2009-09-261-1/+1
| | | | llvm-svn: 82854
* Add the lib path to LD_LIBRARY_PATH, so finding .so works (more) portably.Daniel Dunbar2009-09-264-0/+13
| | | | llvm-svn: 82853
* Force triple in test.Daniel Dunbar2009-09-261-1/+1
| | | | llvm-svn: 82850
* Fix name lookup for friend class templates to consider anything in aDouglas Gregor2009-09-262-13/+36
| | | | | | | scope *up to and including* the innermost namespace scope, rather than just searching in the innermost namespace scope. llvm-svn: 82849
* Rework the Parse-Sema interaction for friends to better support friendDouglas Gregor2009-09-2611-46/+130
| | | | | | | | | class templates. We now treat friend class templates much more like normal class templates, except that they still get special name lookup rules. Fixes PR5057 and eliminates a bunch of spurious diagnostics in <iostream>. llvm-svn: 82848
* "Update" tests for -disable-if-conversion removal. I think branch.ll should justDaniel Dunbar2009-09-262-1/+2
| | | | | | be removed, but I XFAIL'd it for now. llvm-svn: 82847
* Hoist some branches in AnalysisManager::HandleTranslationUnit so weTed Kremenek2009-09-261-16/+19
| | | | | | | | avoid scanning for an "entry point" FunctionDecl if we (a) have no translation unit actions and (b) no entry point function has been specified. llvm-svn: 82846
* Use ABIArgInfo::getDirect() for all types that have a pointer representation.Anders Carlsson2009-09-262-4/+4
| | | | llvm-svn: 82845
* Yet another simplifying use of Sema::getMostSpecializedDouglas Gregor2009-09-261-46/+16
| | | | llvm-svn: 82844
* Mangle record types as decls.Anders Carlsson2009-09-267-28/+51
| | | | llvm-svn: 82843
* Add a "positive" matching test case for attribute 'noreturn' that involves a ↵Ted Kremenek2009-09-261-0/+6
| | | | | | nested infinite loop. llvm-svn: 82842
* Add two more test cases for attribute 'noreturn'.Ted Kremenek2009-09-261-0/+11
| | | | llvm-svn: 82841
* Use Sema::getMostSpecialized to eliminate a redundant implementation of the ↵Douglas Gregor2009-09-261-58/+11
| | | | | | most-specialized function template llvm-svn: 82840
* Change isTemplate to return the actual template declaration.Anders Carlsson2009-09-261-5/+5
| | | | llvm-svn: 82839
* Really remove this option.Evan Cheng2009-09-261-3/+0
| | | | llvm-svn: 82838
* Remove a couple of unused command line options.Evan Cheng2009-09-261-7/+3
| | | | llvm-svn: 82837
* Add comment.Evan Cheng2009-09-261-0/+1
| | | | llvm-svn: 82836
* Convert test to filecheck.Evan Cheng2009-09-261-3/+11
| | | | llvm-svn: 82835
* Don't hoist or sink instructions with physreg uses if the physreg isDan Gohman2009-09-262-6/+24
| | | | | | | allocatable. Even if it doesn't appear to have any defs, it may latter on after register allocation. llvm-svn: 82834
* Improve mangling of typename types.Anders Carlsson2009-09-262-1/+24
| | | | llvm-svn: 82833
* Rename NextOffset to DataSize.Anders Carlsson2009-09-262-13/+20
| | | | llvm-svn: 82832
* Start at NextOffset when laying out bases as well.Anders Carlsson2009-09-262-1/+5
| | | | llvm-svn: 82831
* Disable c-index-test on MSVC until someone figures out the real problem.Daniel Dunbar2009-09-261-1/+4
| | | | llvm-svn: 82830
* I put the wrong rdar number in this test.Dan Gohman2009-09-261-1/+1
| | | | llvm-svn: 82829
* Use NextOffset when laying out a field.Anders Carlsson2009-09-262-1/+6
| | | | llvm-svn: 82828
* Don't try to dump invalid decls or forward decls.Anders Carlsson2009-09-261-0/+6
| | | | llvm-svn: 82827
* Cast cleanup.Anders Carlsson2009-09-261-29/+31
| | | | llvm-svn: 82826
* Unbreak MachineLICM for instructions that reference RIP on x86-64 too.Dan Gohman2009-09-253-20/+63
| | | | llvm-svn: 82825
* Use explicitly-specified template argument lists to help namingDouglas Gregor2009-09-256-20/+68
| | | | | | explicit template specializations, when available. llvm-svn: 82824
* Rename ConstantFP's getInf to getInfinity.Dan Gohman2009-09-253-4/+4
| | | | llvm-svn: 82823
* Move MachineMemOperand::getAlignment out of line, to avoid needingDan Gohman2009-09-252-5/+7
| | | | | | MathExtras.h in MachineMemOperand.h. llvm-svn: 82822
* Remove unused variable.Daniel Dunbar2009-09-251-2/+0
| | | | llvm-svn: 82821
* Transform pow(x, 0.5) to (x == -inf ? inf : fabs(sqrt(x))), which isDan Gohman2009-09-252-15/+52
| | | | | | typically faster then doing a general pow. llvm-svn: 82819
* Add a ConstantFP::getInf utility function for creating infinity ConstantFPs.Dan Gohman2009-09-252-0/+7
| | | | llvm-svn: 82818
* Fix MachineSink to be able to sink instructions that use physical registersDan Gohman2009-09-252-1/+32
| | | | | | | | which have no defs anywhere in the function. In particular, this fixes sinking of instructions that reference RIP on x86-64, which is currently being modeled as a register. llvm-svn: 82815
* RegenerateAnton Korobeynikov2009-09-251-4272/+4272
| | | | llvm-svn: 82814
* Provide proper masks for neon perfect shuffle table.Anton Korobeynikov2009-09-251-6/+6
| | | | | | I definitely need to read documentation better :( llvm-svn: 82813
* Simplify a few more uses of reg_iterator.Dan Gohman2009-09-253-12/+8
| | | | llvm-svn: 82812
* Simplify this code by using use_iterator instead of reg_iteratorDan Gohman2009-09-251-4/+2
| | | | | | and skipping the defs. llvm-svn: 82811
* Fix cut/paste error resulting in bad column info.Steve Naroff2009-09-252-90/+90
| | | | llvm-svn: 82810
* Add clang_getDeclSource().Steve Naroff2009-09-253-0/+10
| | | | llvm-svn: 82807
* Declarators can now properly represent template-ids, e.g., forDouglas Gregor2009-09-256-24/+90
| | | | | | | | | | | template void f<int>(int); ~~~~~~ Previously, we silently dropped the template arguments. With this change, we now use the template arguments (when available) as the explicitly-specified template arguments used to aid template argument deduction for explicit template instantiations. llvm-svn: 82806
* Code clean up and prepare for Thumb2 support. No functionality changes.Evan Cheng2009-09-251-21/+49
| | | | llvm-svn: 82805
* Flip -disable-post-RA-scheduler to -post-RA-scheduler.Evan Cheng2009-09-256-11/+13
| | | | llvm-svn: 82803
* Add clang_getDeclLine and clang_getDeclColumnSteve Naroff2009-09-255-91/+146
| | | | | | | Fix clang_getCursorDecl to do the right thing for expr refs Fixup test file to accommodate new output (which includes the line/column for the referenced decl) llvm-svn: 82798
* Fix a compile failure introduced by r82675 on MinGW which doesn't haveJeffrey Yasskin2009-09-256-2/+22
| | | | | | | setenv(). This patch just disables the test rather than getting putenv() to work. Thanks to Sandeep Patel for reporting the problem. llvm-svn: 82797
OpenPOWER on IntegriCloud