summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Testcase for Revision 47478.Zhou Sheng2008-02-231-0/+9
| | | | llvm-svn: 47531
* Minor code cleanup.Eli Friedman2008-02-231-5/+2
| | | | llvm-svn: 47530
* Rematerialization logic was overly conservative when it comes to loads from ↵Evan Cheng2008-02-232-20/+55
| | | | | | fixed stack slots. llvm-svn: 47529
* Update test.Evan Cheng2008-02-231-11/+13
| | | | llvm-svn: 47527
* If remating a machine instr with virtual register operand, make sure the vr ↵Evan Cheng2008-02-231-2/+1
| | | | | | is avaliable at all uses regardless of whether it would be folded. llvm-svn: 47526
* Remat of pic loads are now on by default.Evan Cheng2008-02-231-1/+1
| | | | llvm-svn: 47525
* Turning on remat of pic loads.Evan Cheng2008-02-231-1/+1
| | | | llvm-svn: 47524
* Fix a bug that caused opt and other tools to silently ignoreDan Gohman2008-02-232-1/+4
| | | | | | invalid command-line options. llvm-svn: 47523
* No need recognize load from a fixed argument slot as re-materializable. ↵Evan Cheng2008-02-231-12/+0
| | | | | | LiveIntervalAnalysis already handles it as a special case. llvm-svn: 47522
* Properly read and write bitcodes for multiple return values.Devang Patel2008-02-233-19/+40
| | | | llvm-svn: 47521
* Recognize loads of arguments as re-materializable first. Therefore if ↵Evan Cheng2008-02-231-24/+26
| | | | | | isReallyTriviallyReMaterializable() returns true it doesn't confuse it as a "normal" re-materializable instruction. llvm-svn: 47520
* Regenerate.Devang Patel2008-02-232-2/+2
| | | | llvm-svn: 47519
* Use isa check instead of getTypeID() check.Devang Patel2008-02-231-1/+1
| | | | llvm-svn: 47518
* Fixed buffer overflow reported by Argiris Kirtzidis.Ted Kremenek2008-02-231-1/+1
| | | | llvm-svn: 47517
* Remove unnecessary "inline" keywords.Devang Patel2008-02-231-25/+21
| | | | llvm-svn: 47516
* Change encoding of TokenKind in IdentifierTable to be of type "unsigned"Ted Kremenek2008-02-232-8/+16
| | | | | | | | instead of TokenKind because of signedness issues with MSVC and enums. Patch from Argiris Kirtzidis. llvm-svn: 47515
* print getresult operand and its type directly.Devang Patel2008-02-231-11/+1
| | | | llvm-svn: 47514
* Really. Why doesn't every arch support MMX?Evan Cheng2008-02-231-1/+1
| | | | llvm-svn: 47513
* Patch from Argiris Kirtzidis:Ted Kremenek2008-02-232-2/+5
| | | | | | | | | | | | | | | | | | | | | | The patch fixes some debug assertions that the msvcrt throws: 1) - if (isprint(value) && value < 256) { + if (value < 256 && isprint(value)) { isprint() does an assertion check of its own for value < 256; check value before calling it to prevent it. 2) - Stmt->Names.push_back(std::string(&data[0], data.size())); + if (data.size() == 0) + Stmt->Names.push_back(std::string()); + else + Stmt->Names.push_back(std::string(&data[0], data.size())); If data.size() == 0 then data[0] throws "out of range" assertion. llvm-svn: 47512
* Use dyn_cast instead of isa + cast.Devang Patel2008-02-232-3/+7
| | | | llvm-svn: 47511
* Forgot this.Evan Cheng2008-02-231-1/+1
| | | | llvm-svn: 47510
* RegenerateDevang Patel2008-02-233-487/+447
| | | | llvm-svn: 47509
* To support multiple return values, now ret instruction supports multiple ↵Devang Patel2008-02-236-65/+77
| | | | | | operands instead of one aggregate operand. llvm-svn: 47508
* Fix spill weight updating bug.Evan Cheng2008-02-231-15/+27
| | | | llvm-svn: 47507
* Fixed horrid bug in LiveVariables analysis where we were only merging atTed Kremenek2008-02-221-1/+1
| | | | | | | confluence points the liveness information for variables (Decls) and NOT block-level expressions. llvm-svn: 47506
* Split ParameterAttributes.h, putting the complicatedDale Johannesen2008-02-2226-763/+791
| | | | | | | stuff into ParamAttrsList.h. Per feedback from ParamAttrs changes. llvm-svn: 47504
* Improving wording.Gordon Henriksen2008-02-221-7/+8
| | | | llvm-svn: 47503
* Adding a note about IR generation to the LLVM FAQ.Gordon Henriksen2008-02-221-0/+54
| | | | llvm-svn: 47502
* Test case for PR2082.Evan Cheng2008-02-221-0/+55
| | | | llvm-svn: 47501
* Same isPhysRegAvailable bug as local register allocator.Evan Cheng2008-02-221-1/+1
| | | | llvm-svn: 47500
* Really really bad local register allocator bug. On X86, it was never using ↵Evan Cheng2008-02-221-1/+1
| | | | | | | | ESI, EDI, and EBP because of a bug in RALocal::isPhysRegAvailable(). For example, when it checks if ESI is available, it then looks at registers aliases to ESI. SIL is marked -2 (not allocatable) but isPhysRegAvailable() incorrectly assumes it is in use and returns false for ESI. llvm-svn: 47499
* Modified clang driver option -dump-live-variables to (optionally) use theTed Kremenek2008-02-223-4/+6
| | | | | | --analyze-function option to analyze specific functions. llvm-svn: 47498
* clang driver options --dump-cfg and --view-cfg now (optionally) use theTed Kremenek2008-02-223-10/+18
| | | | | | --analyze-function option to dump/view the CFGs of specific functions. llvm-svn: 47497
* Add debugging printfs.Evan Cheng2008-02-221-0/+2
| | | | llvm-svn: 47496
* RegenerateDevang Patel2008-02-223-468/+466
| | | | llvm-svn: 47495
* Use SymbolicValueRef to parse getresult operandDevang Patel2008-02-221-3/+2
| | | | llvm-svn: 47494
* Remove an invalid assertion now that there are implicit virtual register ↵Evan Cheng2008-02-221-2/+0
| | | | | | operands. llvm-svn: 47493
* Make sure reload of implicit uses are issued before remat's.Evan Cheng2008-02-221-3/+15
| | | | llvm-svn: 47492
* When running the GRSimpleVals analysis, skip functions that do notTed Kremenek2008-02-221-2/+4
| | | | | | appear in a file. llvm-svn: 47491
* Punt on unifying symbolic lvalues. This won't be needed for many checkers.Ted Kremenek2008-02-221-6/+12
| | | | llvm-svn: 47489
* Add StripDeadPrototypes pass.Devang Patel2008-02-221-0/+1
| | | | llvm-svn: 47488
* Generated files for 47484.Dale Johannesen2008-02-223-293/+295
| | | | llvm-svn: 47485
* Pass alignment on ByVal parameters, from FE, allDale Johannesen2008-02-229-2/+65
| | | | | | the way through. It is now used for codegen. llvm-svn: 47484
* MMX vectors are passed 4-byte aligned.Dale Johannesen2008-02-221-4/+4
| | | | llvm-svn: 47483
* Add smart refcounting pointer class to ADT back (known before as ↵Anton Korobeynikov2008-02-221-0/+264
| | | | | | IntrusiveSPtr.h). llvm-svn: 47482
* fix some bugs in tutorial, patch by Erick TryzelaarChris Lattner2008-02-221-2/+2
| | | | llvm-svn: 47481
* Unbreak build for VC2008. Patch by Argiris Kirtzidis!Anton Korobeynikov2008-02-222-1/+3
| | | | llvm-svn: 47480
* Provide __main hooks for cygwin & mingw32Anton Korobeynikov2008-02-222-17/+28
| | | | llvm-svn: 47479
* Fixed a typo.Zhou Sheng2008-02-221-1/+1
| | | | llvm-svn: 47478
* Allow re-materialization of pic load (controlled by -remat-pic-load for now).Evan Cheng2008-02-222-3/+68
| | | | llvm-svn: 47476
OpenPOWER on IntegriCloud