summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Switch to ImmLeaf (which can be used by FastISel) for a few more common ↵Eli Friedman2011-04-294-7/+36
| | | | | | ARM/Thumb2 patterns. llvm-svn: 130552
* Assing line number info to new PHIs created by SSA updater.Devang Patel2011-04-293-0/+22
| | | | llvm-svn: 130551
* removes a meaningless comment.Fariborz Jahanian2011-04-291-3/+1
| | | | llvm-svn: 130550
* Add FastEmitInst_ii for the arm fast isel generator. It doesn't use it, butEric Christopher2011-04-291-0/+23
| | | | | | if it ever did it needs the def machinery. llvm-svn: 130549
* Filter out pattterns from the FastISel emitter which it doesn't actually ↵Eli Friedman2011-04-291-31/+49
| | | | | | know how to handle. No significant functionality change at the moment, but it's necessary for some changes I'm planning. llvm-svn: 130547
* Some cleanup and optimize fallthrough more.Eric Christopher2011-04-291-8/+13
| | | | llvm-svn: 130546
* block variables on lhs need be ir-gen'ed after theFariborz Jahanian2011-04-292-1/+35
| | | | | | | | rhs when its 'forwarding' pointer may be modified in rhs evaluation as result of call to Block_copy. // rdar://9309454 llvm-svn: 130545
* Avoid some uses of .uleb128. This is a small speedup and more importantlyRafael Espindola2011-04-291-17/+22
| | | | | | | lets this code be used when producing assembly code for old assemblers without uleb support. llvm-svn: 130544
* Implement MCAsmStreamer::EmitCFIDefCfa.Rafael Espindola2011-04-291-1/+4
| | | | llvm-svn: 130543
* Print new instructions without DebugLoc.Devang Patel2011-04-291-0/+9
| | | | llvm-svn: 130542
* Guard in USRGenerator::GenLoc() against null Decl* from invalid code.Ted Kremenek2011-04-291-0/+6
| | | | llvm-svn: 130541
* Fix run-line, again. :(Eli Friedman2011-04-291-1/+1
| | | | llvm-svn: 130540
* Re-committing r130454, which does not in fact break anything.Eli Friedman2011-04-292-19/+13
| | | | | | | Fix a rather obscure crash caused by ARM fast-isel generating code which redefines a register. rdar://problem/9338332 . llvm-svn: 130539
* Disable -Wnon-pod-memset for now while I try to reduce the falseChandler Carruth2011-04-292-2/+2
| | | | | | | | | | | | | | | | | | | | positives still further. The plan is to: 1) Create a more targeted warning for memset of memory pointing at a type with virtual methods or bases where a vptr would be overwritten. 2) Consider turning the above warning back on by default. 3) Evaluate whether any false positives in the existing warning can be detected and white listed in the warning implementation. 4) If #3 lowers the noise floor enough, enable the full warning in -Wall or -Wextra. Comments or suggestions welcome. Even more welcome are specific test cases which trigger the warning and shouldn't. llvm-svn: 130538
* Preserve line number information.Devang Patel2011-04-291-1/+2
| | | | llvm-svn: 130536
* Change -Wparentheses to not imply -Widiomatic-parentheses. Users rarely ↵Ted Kremenek2011-04-292-5/+6
| | | | | | want to see these warnings, and often explicitly pass -Wparentheses. llvm-svn: 130535
* Add trunc->branch support, this won't help with clang's i8->i1 truncationsEric Christopher2011-04-292-2/+40
| | | | | | for bools, but is a start. llvm-svn: 130534
* Update comments.Johnny Chen2011-04-292-3/+3
| | | | llvm-svn: 130533
* Fix a bug introduced in my previous checkin, where the state was not properlyJohnny Chen2011-04-291-2/+3
| | | | | | restored after parsing "SBTarget". Indentation matters in Python. :-) llvm-svn: 130532
* Add the Python rich comparison methods for SBBreakpoint, where GetID() returnsJohnny Chen2011-04-292-11/+27
| | | | | | | the breakpoint ID and provides the semantics needed for '==' and '!='. And modify LLDBIteratorTestCase.lldb_iter_2() to use '==' between two SBBreakpoint's. llvm-svn: 130531
* win32: Include DataTypes.h instead of stdint.h to try and fix a Win32 buildDaniel Dunbar2011-04-291-1/+1
| | | | | | issue. llvm-svn: 130530
* Cleanup some DOS newlines.Daniel Dunbar2011-04-291-8/+8
| | | | llvm-svn: 130529
* SimplifyCFG: Expose phi node folding cost threshold as command line parameterPeter Collingbourne2011-04-292-1/+40
| | | | llvm-svn: 130528
* SimplifyCFG: Add CostRemaining parameter to DominatesMergePointPeter Collingbourne2011-04-292-9/+39
| | | | llvm-svn: 130527
* SimplifyCFG: Add Trunc, ZExt and SExt to the list of cheap instructions for ↵Peter Collingbourne2011-04-292-6/+12
| | | | | | phi node folding llvm-svn: 130526
* Serialize/deserialize the HasStandardLayout bit when writing/reading PCHs.Anders Carlsson2011-04-292-0/+2
| | | | llvm-svn: 130525
* MCAsmLayout: Add support for computing the symbol offset of variables. NotDaniel Dunbar2011-04-292-0/+35
| | | | | | currently used, because variables don't get reported as being "defined". llvm-svn: 130524
* MC: Change variable symbols to be recognized as defined, by assigning their ↵Daniel Dunbar2011-04-292-3/+453
| | | | | | sections based on FindAssociatedSection(). llvm-svn: 130523
* MC/Mach-O: Update getSymbolAddress() to support evaluation of variables.Daniel Dunbar2011-04-291-0/+27
| | | | llvm-svn: 130522
* Correction to set of overloaded pair constructors for C++0xHoward Hinnant2011-04-291-4/+15
| | | | llvm-svn: 130521
* MC/Mach-O: Allow emission of relocations for variables in some more cases.Daniel Dunbar2011-04-291-19/+19
| | | | llvm-svn: 130520
* MC/Mach-O: Find section ordinal's by looking at the symbol, instead of ↵Daniel Dunbar2011-04-291-4/+8
| | | | | | assuming they are present in a fragment. llvm-svn: 130519
* Hoist MCLineEntry construction AsmPrinter so that anyone who derives from ↵Devang Patel2011-04-292-3/+3
| | | | | | | | AsmPrinter can have line number entries. PR 9810 llvm-svn: 130518
* MCExpr: Add FindAssociatedSection, which attempts to mirror the 'as' semanticsDaniel Dunbar2011-04-294-0/+54
| | | | | | that associate sections with expressions. llvm-svn: 130517
* Driver/cc1as: Forward -mllvm arguments when compiling assembly files.Daniel Dunbar2011-04-291-0/+1
| | | | llvm-svn: 130516
* MC/AsmParser: Generalize a check.Daniel Dunbar2011-04-291-1/+1
| | | | llvm-svn: 130515
* Fix a C++0x portability issue with std::make_pair. Explicitly providing ↵Douglas Gregor2011-04-291-1/+1
| | | | | | template arguments no longer works when the call arguments are lvalues. llvm-svn: 130513
* Qualify calls to std::next(), to avoid conflicts withDouglas Gregor2011-04-292-5/+5
| | | | | | libraries/applications that define their own 'next' template. llvm-svn: 130511
* Include <pthread.h> before we use pthread_self/pthread_killDouglas Gregor2011-04-291-3/+3
| | | | llvm-svn: 130510
* Remove comments about __int8 and friends from the mangler. Turns out we don'tCharles Davis2011-04-291-7/+0
| | | | | | | actually have to implement them, since in modern versions of MSVC they're aliases to the standard C types. llvm-svn: 130509
* White-list yet more type trait names, since they're used asDouglas Gregor2011-04-291-10/+20
| | | | | | identifiers in libc++. llvm-svn: 130508
* The last hack for producing bit identical output with cfi on OS X.Rafael Espindola2011-04-291-0/+8
| | | | llvm-svn: 130504
* Change DwarfCFIException's member variables to track what it actuallyRafael Espindola2011-04-293-35/+39
| | | | | | emmits: .cfi_personality, .cfi_lsda and the moves. llvm-svn: 130503
* Teach Thumb2 isel to fold and->rotr ==> ROR.Andrew Trick2011-04-292-2/+13
| | | | | | Generalization of Nate Begeman's patch! llvm-svn: 130502
* Factor some code to needsCFIMoves. Avoid printing moves when we don't have to.Rafael Espindola2011-04-293-4/+21
| | | | llvm-svn: 130501
* Don't crash if the AST doesn't have a sensible ObjC id type.David Chisnall2011-04-291-4/+6
| | | | llvm-svn: 130500
* This is done.Benjamin Kramer2011-04-291-20/+0
| | | | llvm-svn: 130499
* Combine thumb2-ror tests.Andrew Trick2011-04-292-13/+13
| | | | llvm-svn: 130498
* docs/doxygen.css: Tweak padding on memdoc.NAKAMURA Takumi2011-04-291-0/+5
| | | | llvm-svn: 130493
* Relax the non-POD memset warning to use the less restrictive C++11Chandler Carruth2011-04-294-12/+86
| | | | | | | | | | | definition of POD. Specifically, this allows certain non-aggregate types due to their data members being private. The representation of C++11 POD testing is pretty gross. Any suggestions for improvements there are welcome. Especially the name 'isCXX11PODType()' seems truly unfortunate. llvm-svn: 130492
OpenPOWER on IntegriCloud