summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix a clang crash caused by incorrect user code.Fariborz Jahanian2009-06-242-1/+10
| | | | llvm-svn: 74080
* Implement matching of function templates, so that one can declare overloaded ↵Douglas Gregor2009-06-244-9/+76
| | | | | | function templates. C++ [temp.over.link] paragraphs 4-8. llvm-svn: 74079
* MCStreamer: Add a few more "symbol attributes".Daniel Dunbar2009-06-242-4/+25
| | | | llvm-svn: 74077
* MCStreamer: Test printing values.Daniel Dunbar2009-06-242-1/+26
| | | | llvm-svn: 74076
* Minor whitespace cleanups.Dan Gohman2009-06-241-16/+16
| | | | llvm-svn: 74074
* Simplify [su]max(MAX, n) to MAX. This comes up in loop tripcountDan Gohman2009-06-243-5/+76
| | | | | | | | | computations in loops with multiple exits. Adjust the testcase for PR4436 so that the relevant portion isn't optimized away. llvm-svn: 74073
* When inserting code into a loop preheader, insert it before theDan Gohman2009-06-242-3/+67
| | | | | | | | terminator, instead of after the last phi. This fixes a bug exposed by ScalarEvolution analyzing more kinds of loops. This fixes PR4436. llvm-svn: 74072
* Add new files to cmake list.Duncan Sands2009-06-241-0/+2
| | | | llvm-svn: 74071
* Start sketching 2.6 release notes. This provides aDuncan Sands2009-06-241-0/+754
| | | | | | | place to note major API changes (I've noted the getABITypeSize -> getAllocSize change). llvm-svn: 74070
* Move thumb and thumb2 tests into separate directories.Evan Cheng2009-06-2444-54/+437
| | | | llvm-svn: 74068
* factor some code better.Chris Lattner2009-06-241-13/+6
| | | | llvm-svn: 74067
* wire up support for MCContext/MCStreamer in -experimental-asm-printer mode.Chris Lattner2009-06-242-0/+26
| | | | llvm-svn: 74066
* remove dead makefile flags.Chris Lattner2009-06-245-8/+0
| | | | llvm-svn: 74065
* remove dead makefile flags.Chris Lattner2009-06-246-6/+0
| | | | llvm-svn: 74064
* implement a bunch of synonyms for section switching.Chris Lattner2009-06-242-4/+115
| | | | llvm-svn: 74062
* Delete some orphaned comments, fix some 80-column violations,Dan Gohman2009-06-241-95/+80
| | | | | | and tidy up a few other formatting issues. llvm-svn: 74060
* Remove an obsolete comment and fix some 80-column violations.Dan Gohman2009-06-241-8/+10
| | | | llvm-svn: 74059
* add support for parsing and emitting .section directives. We can now parse Chris Lattner2009-06-242-1/+38
| | | | | | | things like: .section __TEXT,__cstring,cstring_literals llvm-svn: 74058
* add trivial support for passing label definitions through the MCStreamer.Chris Lattner2009-06-246-5/+34
| | | | | | | This is suboptimal in several aspects, see the commented out assertion. I need to talk to Daniel about this. llvm-svn: 74057
* Fixed a bug in LiveInterval scaling (failure to scale VNI defs correctly), ↵Lang Hames2009-06-242-6/+2
| | | | | | removed old TODO comments. llvm-svn: 74054
* Fix support for inline asm input / output operand tying when operand spans ↵Evan Cheng2009-06-242-11/+42
| | | | | | across multiple registers (e.g. two i64 operands in 32-bit mode). llvm-svn: 74053
* Nested classes are now complete.Anders Carlsson2009-06-241-4/+4
| | | | llvm-svn: 74052
* Add test for [class.local]p2.Anders Carlsson2009-06-241-0/+12
| | | | llvm-svn: 74051
* Add a testcase demoing some of ScalarEvolution's new trip count logic.Dan Gohman2009-06-241-0/+37
| | | | llvm-svn: 74049
* Extend ScalarEvolution's multiple-exit support to compute exactDan Gohman2009-06-246-181/+191
| | | | | | | | | | | | | | | trip counts in more cases. Generalize ScalarEvolution's isLoopGuardedByCond code to recognize And and Or conditions, splitting the code out into an isNecessaryCond helper function so that it can evaluate Ands and Ors recursively, and make SCEVExpander be much more aggressive about hoisting instructions out of loops. test/CodeGen/X86/pr3495.ll has an additional instruction now, but it appears to be due to an arbitrary register allocation difference. llvm-svn: 74048
* use a concrete type instead of a trait type to make code more readable.Zhongxing Xu2009-06-241-2/+1
| | | | llvm-svn: 74047
* Unbreak build on Linux by removing Darwinism.Nick Lewycky2009-06-241-1/+1
| | | | llvm-svn: 74046
* Teach GetMinSignBits about SCEVAddExprs.Dan Gohman2009-06-241-0/+32
| | | | llvm-svn: 74045
* Start MCAsmStreamer implementation.Daniel Dunbar2009-06-2411-9/+245
| | | | llvm-svn: 74044
* RegionStore: revert to the default value approach for array initialization.Zhongxing Xu2009-06-241-8/+5
| | | | llvm-svn: 74043
* Revert this accidental commit.Dan Gohman2009-06-241-1/+1
| | | | llvm-svn: 74042
* Move the special cases for constants out of getUnknown and intoDan Gohman2009-06-243-17/+16
| | | | | | | | | createSCEV. Also, recognize UndefValue in createSCEV. Change getIntegerSCEV's comment to avoid mentioning FP types, and re-implement it in terms of getConstant instead of getUnknown. llvm-svn: 74041
* Make sure that the template parameter lists get from the parser down to ↵Douglas Gregor2009-06-248-5/+48
| | | | | | ActOnFunctionDeclarator for function template definitions llvm-svn: 74040
* create an MCStreamer and provide it to AsmParser.Chris Lattner2009-06-244-4/+13
| | | | llvm-svn: 74039
* stub out a trivial constructor method.Chris Lattner2009-06-241-1/+1
| | | | llvm-svn: 74038
* Use ScalarEvolution::getConstant instead of getUnknown to createDan Gohman2009-06-241-7/+8
| | | | | | | SCEVConstants. This cleanup is a step toward letting getUnknown be simpler. llvm-svn: 74037
* make the lexer unique strings it lexes instead of passing them back asChris Lattner2009-06-243-7/+29
| | | | | | std::strings. llvm-svn: 74036
* Include the maximum trip count expression in ScalarEvolution's print output.Dan Gohman2009-06-241-0/+9
| | | | llvm-svn: 74035
* class.nested.type is done.Anders Carlsson2009-06-241-3/+3
| | | | llvm-svn: 74034
* Add test for [class.nested.type]p1Anders Carlsson2009-06-241-0/+11
| | | | llvm-svn: 74033
* Add an isAllOnesValue utility function, similar to isZero and isOne.Dan Gohman2009-06-242-0/+11
| | | | llvm-svn: 74032
* Don't emit a redundant BitCastInst if the value to be defined in theDan Gohman2009-06-241-1/+2
| | | | | | preheader is already an instruction. llvm-svn: 74031
* Support for [class.local]p4.Anders Carlsson2009-06-244-1/+21
| | | | llvm-svn: 74030
* Guard the listeners list. Unfortunately, this requires a real static ratherOwen Anderson2009-06-241-0/+5
| | | | | | | than a managed static because other managed statics can (and do) access this list in their destructors. Yes, I know it's horrible. llvm-svn: 74029
* When declaring a function template, create a FunctionTemplateDecl nodeDouglas Gregor2009-06-242-3/+24
| | | | | | and associate it with the FunctionDecl. llvm-svn: 74028
* [class.local] p1 and p3. Also, add back the xcodeproj file.Anders Carlsson2009-06-248-15/+1943
| | | | llvm-svn: 74027
* Provide InitializeAllTargets and InitializeNativeTarget functions in theBob Wilson2009-06-2325-125/+102
| | | | | | | | C bindings. Change all the backend "Initialize" functions to have C linkage. Change the "llvm/Config/Targets.def" header to use C-style comments to avoid compile warnings. llvm-svn: 74026
* Some changes to accomodate Doug's comment forFariborz Jahanian2009-06-231-12/+7
| | | | | | implicit copy constructor definition determination. llvm-svn: 74025
* Update for MCImm -> MCValue rename.Daniel Dunbar2009-06-233-13/+16
| | | | llvm-svn: 74024
* rename MCImm ->MCValue.Chris Lattner2009-06-232-16/+17
| | | | llvm-svn: 74023
OpenPOWER on IntegriCloud