Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Testcase for Revision 47478. | Zhou Sheng | 2008-02-23 | 1 | -0/+9 |
| | | | | llvm-svn: 47531 | ||||
* | Minor code cleanup. | Eli Friedman | 2008-02-23 | 1 | -5/+2 |
| | | | | llvm-svn: 47530 | ||||
* | Rematerialization logic was overly conservative when it comes to loads from ↵ | Evan Cheng | 2008-02-23 | 2 | -20/+55 |
| | | | | | | fixed stack slots. llvm-svn: 47529 | ||||
* | Update test. | Evan Cheng | 2008-02-23 | 1 | -11/+13 |
| | | | | llvm-svn: 47527 | ||||
* | If remating a machine instr with virtual register operand, make sure the vr ↵ | Evan Cheng | 2008-02-23 | 1 | -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 Cheng | 2008-02-23 | 1 | -1/+1 |
| | | | | llvm-svn: 47525 | ||||
* | Turning on remat of pic loads. | Evan Cheng | 2008-02-23 | 1 | -1/+1 |
| | | | | llvm-svn: 47524 | ||||
* | Fix a bug that caused opt and other tools to silently ignore | Dan Gohman | 2008-02-23 | 2 | -1/+4 |
| | | | | | | invalid command-line options. llvm-svn: 47523 | ||||
* | No need recognize load from a fixed argument slot as re-materializable. ↵ | Evan Cheng | 2008-02-23 | 1 | -12/+0 |
| | | | | | | LiveIntervalAnalysis already handles it as a special case. llvm-svn: 47522 | ||||
* | Properly read and write bitcodes for multiple return values. | Devang Patel | 2008-02-23 | 3 | -19/+40 |
| | | | | llvm-svn: 47521 | ||||
* | Recognize loads of arguments as re-materializable first. Therefore if ↵ | Evan Cheng | 2008-02-23 | 1 | -24/+26 |
| | | | | | | isReallyTriviallyReMaterializable() returns true it doesn't confuse it as a "normal" re-materializable instruction. llvm-svn: 47520 | ||||
* | Regenerate. | Devang Patel | 2008-02-23 | 2 | -2/+2 |
| | | | | llvm-svn: 47519 | ||||
* | Use isa check instead of getTypeID() check. | Devang Patel | 2008-02-23 | 1 | -1/+1 |
| | | | | llvm-svn: 47518 | ||||
* | Fixed buffer overflow reported by Argiris Kirtzidis. | Ted Kremenek | 2008-02-23 | 1 | -1/+1 |
| | | | | llvm-svn: 47517 | ||||
* | Remove unnecessary "inline" keywords. | Devang Patel | 2008-02-23 | 1 | -25/+21 |
| | | | | llvm-svn: 47516 | ||||
* | Change encoding of TokenKind in IdentifierTable to be of type "unsigned" | Ted Kremenek | 2008-02-23 | 2 | -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 Patel | 2008-02-23 | 1 | -11/+1 |
| | | | | llvm-svn: 47514 | ||||
* | Really. Why doesn't every arch support MMX? | Evan Cheng | 2008-02-23 | 1 | -1/+1 |
| | | | | llvm-svn: 47513 | ||||
* | Patch from Argiris Kirtzidis: | Ted Kremenek | 2008-02-23 | 2 | -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 Patel | 2008-02-23 | 2 | -3/+7 |
| | | | | llvm-svn: 47511 | ||||
* | Forgot this. | Evan Cheng | 2008-02-23 | 1 | -1/+1 |
| | | | | llvm-svn: 47510 | ||||
* | Regenerate | Devang Patel | 2008-02-23 | 3 | -487/+447 |
| | | | | llvm-svn: 47509 | ||||
* | To support multiple return values, now ret instruction supports multiple ↵ | Devang Patel | 2008-02-23 | 6 | -65/+77 |
| | | | | | | operands instead of one aggregate operand. llvm-svn: 47508 | ||||
* | Fix spill weight updating bug. | Evan Cheng | 2008-02-23 | 1 | -15/+27 |
| | | | | llvm-svn: 47507 | ||||
* | Fixed horrid bug in LiveVariables analysis where we were only merging at | Ted Kremenek | 2008-02-22 | 1 | -1/+1 |
| | | | | | | | confluence points the liveness information for variables (Decls) and NOT block-level expressions. llvm-svn: 47506 | ||||
* | Split ParameterAttributes.h, putting the complicated | Dale Johannesen | 2008-02-22 | 26 | -763/+791 |
| | | | | | | | stuff into ParamAttrsList.h. Per feedback from ParamAttrs changes. llvm-svn: 47504 | ||||
* | Improving wording. | Gordon Henriksen | 2008-02-22 | 1 | -7/+8 |
| | | | | llvm-svn: 47503 | ||||
* | Adding a note about IR generation to the LLVM FAQ. | Gordon Henriksen | 2008-02-22 | 1 | -0/+54 |
| | | | | llvm-svn: 47502 | ||||
* | Test case for PR2082. | Evan Cheng | 2008-02-22 | 1 | -0/+55 |
| | | | | llvm-svn: 47501 | ||||
* | Same isPhysRegAvailable bug as local register allocator. | Evan Cheng | 2008-02-22 | 1 | -1/+1 |
| | | | | llvm-svn: 47500 | ||||
* | Really really bad local register allocator bug. On X86, it was never using ↵ | Evan Cheng | 2008-02-22 | 1 | -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 the | Ted Kremenek | 2008-02-22 | 3 | -4/+6 |
| | | | | | | --analyze-function option to analyze specific functions. llvm-svn: 47498 | ||||
* | clang driver options --dump-cfg and --view-cfg now (optionally) use the | Ted Kremenek | 2008-02-22 | 3 | -10/+18 |
| | | | | | | --analyze-function option to dump/view the CFGs of specific functions. llvm-svn: 47497 | ||||
* | Add debugging printfs. | Evan Cheng | 2008-02-22 | 1 | -0/+2 |
| | | | | llvm-svn: 47496 | ||||
* | Regenerate | Devang Patel | 2008-02-22 | 3 | -468/+466 |
| | | | | llvm-svn: 47495 | ||||
* | Use SymbolicValueRef to parse getresult operand | Devang Patel | 2008-02-22 | 1 | -3/+2 |
| | | | | llvm-svn: 47494 | ||||
* | Remove an invalid assertion now that there are implicit virtual register ↵ | Evan Cheng | 2008-02-22 | 1 | -2/+0 |
| | | | | | | operands. llvm-svn: 47493 | ||||
* | Make sure reload of implicit uses are issued before remat's. | Evan Cheng | 2008-02-22 | 1 | -3/+15 |
| | | | | llvm-svn: 47492 | ||||
* | When running the GRSimpleVals analysis, skip functions that do not | Ted Kremenek | 2008-02-22 | 1 | -2/+4 |
| | | | | | | appear in a file. llvm-svn: 47491 | ||||
* | Punt on unifying symbolic lvalues. This won't be needed for many checkers. | Ted Kremenek | 2008-02-22 | 1 | -6/+12 |
| | | | | llvm-svn: 47489 | ||||
* | Add StripDeadPrototypes pass. | Devang Patel | 2008-02-22 | 1 | -0/+1 |
| | | | | llvm-svn: 47488 | ||||
* | Generated files for 47484. | Dale Johannesen | 2008-02-22 | 3 | -293/+295 |
| | | | | llvm-svn: 47485 | ||||
* | Pass alignment on ByVal parameters, from FE, all | Dale Johannesen | 2008-02-22 | 9 | -2/+65 |
| | | | | | | the way through. It is now used for codegen. llvm-svn: 47484 | ||||
* | MMX vectors are passed 4-byte aligned. | Dale Johannesen | 2008-02-22 | 1 | -4/+4 |
| | | | | llvm-svn: 47483 | ||||
* | Add smart refcounting pointer class to ADT back (known before as ↵ | Anton Korobeynikov | 2008-02-22 | 1 | -0/+264 |
| | | | | | | IntrusiveSPtr.h). llvm-svn: 47482 | ||||
* | fix some bugs in tutorial, patch by Erick Tryzelaar | Chris Lattner | 2008-02-22 | 1 | -2/+2 |
| | | | | llvm-svn: 47481 | ||||
* | Unbreak build for VC2008. Patch by Argiris Kirtzidis! | Anton Korobeynikov | 2008-02-22 | 2 | -1/+3 |
| | | | | llvm-svn: 47480 | ||||
* | Provide __main hooks for cygwin & mingw32 | Anton Korobeynikov | 2008-02-22 | 2 | -17/+28 |
| | | | | llvm-svn: 47479 | ||||
* | Fixed a typo. | Zhou Sheng | 2008-02-22 | 1 | -1/+1 |
| | | | | llvm-svn: 47478 | ||||
* | Allow re-materialization of pic load (controlled by -remat-pic-load for now). | Evan Cheng | 2008-02-22 | 2 | -3/+68 |
| | | | | llvm-svn: 47476 |