Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add header files to CMake build solution. It use globing so it doesn't need ↵ | Cedric Venet | 2008-11-02 | 1 | -2/+16 | |
| | | | | | | to be manually maintained, but it won't automatically detect a new header. I think this is a good compromise for the header files, since there presence in the solution is just an help for the user. Moreover, a new header is often introduced with a new cpp source file which need a makefile change, which will regenerate the solution and detect the new header. llvm-svn: 58566 | |||||
* | Add function side-effect test cast. | Zhongxing Xu | 2008-11-02 | 1 | -0/+7 | |
| | | | | llvm-svn: 58565 | |||||
* | 1. When a pointer to struct is used as an argument, GRSimpleVals::EvalCall() | Zhongxing Xu | 2008-11-02 | 1 | -18/+23 | |
| | | | | | | | | | | | sets the whole struct to Unknown. Then we cannot assume the V passed to BindStruct() is always a CompoundVal. When it is an UnknownVal, we call BindStructToVal(UnknownVal). 2. Change the signature of InitializeStructToUndefined() to BindStructToVal() to reuse the code. llvm-svn: 58564 | |||||
* | Silence a warning | Anton Korobeynikov | 2008-11-02 | 1 | -4/+6 | |
| | | | | llvm-svn: 58563 | |||||
* | Add defined in if(). | Zhongxing Xu | 2008-11-02 | 1 | -1/+1 | |
| | | | | llvm-svn: 58562 | |||||
* | Get this building on 64 bit machines (error: | Duncan Sands | 2008-11-02 | 1 | -5/+5 | |
| | | | | | | | cast from ‘const llvm::PointerType*’ to ‘unsigned int’ loses precision). llvm-svn: 58561 | |||||
* | Don't do pre-splitting if doing so would create a value join that did not | Owen Anderson | 2008-11-02 | 1 | -0/+10 | |
| | | | | | | | | | exist before. Updating the live intervals in that care is tricky in the general case. Evan, if you see a tighter guard condition for this, let me know. llvm-svn: 58560 | |||||
* | CMake: added a source file. | Oscar Fuentes | 2008-11-02 | 1 | -0/+1 | |
| | | | | llvm-svn: 58559 | |||||
* | Whoops! Remove test Output/ directory. | Nick Lewycky | 2008-11-02 | 0 | -0/+0 | |
| | | | | llvm-svn: 58558 | |||||
* | Add a new MergeFunctions pass. It finds identical functions and merges them. | Nick Lewycky | 2008-11-02 | 6 | -3/+429 | |
| | | | | | | | | This triggers only 60 times in llvm-test (look at .llvm.bc, not .linked.rbc) and so it probably wont be turned on by default. Also, may of those are likely to go away when PR2973 is fixed. llvm-svn: 58557 | |||||
* | More fallout from r58501: primary fix is some more corrections to make | Eli Friedman | 2008-11-02 | 2 | -9/+20 | |
| | | | | | | | | | | | | | | | | | the types for size_t and ptrdiff_t more accurate. I think all of these are correct, but please compare the defines for __PTRDIFF_TYPE__ and __SIZE_TYPE__ to gcc to double-check; this particularly applies to those on BSD variants, since I'm not sure what they do here; I assume here that they're the same as on Linux. Fixes wchar_t to be "int", not "unsigned int" (which I think is correct on everything but Windows). Fixes ptrdiff_t to be "int" rather than "short" on PIC16; "short" is an somewhat strange choice because it normally gets promoted, and it's not consistent with the choice for size_t. llvm-svn: 58556 | |||||
* | Fix demanded bits analysis with srem by negative number. Based on a patch | Nick Lewycky | 2008-11-02 | 2 | -3/+11 | |
| | | | | | | by Richard Osborne. llvm-svn: 58555 | |||||
* | Add 'alloca' test case for return-of-stack-address checker. | Ted Kremenek | 2008-11-02 | 1 | -0/+7 | |
| | | | | llvm-svn: 58554 | |||||
* | Enhance return-of-stack-address checker to recognize regions created by ↵ | Ted Kremenek | 2008-11-02 | 1 | -0/+9 | |
| | | | | | | alloca(). llvm-svn: 58553 | |||||
* | Add transfer function logic for alloca(). | Ted Kremenek | 2008-11-02 | 1 | -0/+10 | |
| | | | | llvm-svn: 58552 | |||||
* | Added AllocaRegion, which represents regions created by calls to alloca(). | Ted Kremenek | 2008-11-02 | 2 | -2/+67 | |
| | | | | llvm-svn: 58551 | |||||
* | Fixed a horrible bug in HTMLDiagnostics.cpp where bugs referencing source ↵ | Ted Kremenek | 2008-11-02 | 1 | -3/+3 | |
| | | | | | | ranges that occur within macros would not be emitted at all. llvm-svn: 58550 | |||||
* | Fix this recently moved code to use the correct type. CI is now a | Dan Gohman | 2008-11-02 | 2 | -2/+14 | |
| | | | | | | | ConstantInt, and SI is the original cast instruction. This fixes PR2996. llvm-svn: 58549 | |||||
* | Added interface to allow clients to create a MemIntrinsicNode for | Mon P Wang | 2008-11-01 | 2 | -5/+39 | |
| | | | | | | target intrinsics that touches memory llvm-svn: 58548 | |||||
* | Reverting back 58505. Will commit it once I have the bc reader/writer/docs | Sanjiv Gupta | 2008-11-01 | 1 | -2/+1 | |
| | | | | | | ready. llvm-svn: 58547 | |||||
* | Move IRBuilder type definition to common file. | Daniel Dunbar | 2008-11-01 | 10 | -45/+61 | |
| | | | | | | - No functionality change. llvm-svn: 58546 | |||||
* | minor tweaks. | Chris Lattner | 2008-11-01 | 1 | -2/+6 | |
| | | | | llvm-svn: 58545 | |||||
* | Grammar tweaks. | Daniel Dunbar | 2008-11-01 | 1 | -4/+4 | |
| | | | | llvm-svn: 58544 | |||||
* | Add recent timing results to web page. | Daniel Dunbar | 2008-11-01 | 8 | -0/+769 | |
| | | | | llvm-svn: 58542 | |||||
* | Whitespace fixes. No functionality change. | Bill Wendling | 2008-10-31 | 1 | -27/+27 | |
| | | | | llvm-svn: 58539 | |||||
* | Semantic checking of constructor declarations and classification of ↵ | Douglas Gregor | 2008-10-31 | 5 | -22/+177 | |
| | | | | | | default/copy constructors llvm-svn: 58538 | |||||
* | Testcase for PR2613 | Anton Korobeynikov | 2008-10-31 | 1 | -0/+61 | |
| | | | | llvm-svn: 58537 | |||||
* | Invalidate debug/eh/gc labels when unreachable MBB is deleted. | Anton Korobeynikov | 2008-10-31 | 1 | -13/+27 | |
| | | | | | | Based on patch by Martin Nowack! llvm-svn: 58536 | |||||
* | Add comment. | Evan Cheng | 2008-10-31 | 1 | -0/+2 | |
| | | | | llvm-svn: 58533 | |||||
* | Use better data structure for ConstPoolId2AddrMap. | Evan Cheng | 2008-10-31 | 2 | -15/+20 | |
| | | | | llvm-svn: 58532 | |||||
* | Actually make debug output understandable. | Evan Cheng | 2008-10-31 | 1 | -4/+4 | |
| | | | | llvm-svn: 58529 | |||||
* | x86_64 rip-relative and magic mode address | Mon P Wang | 2008-10-31 | 1 | -4/+8 | |
| | | | | llvm-svn: 58528 | |||||
* | Forgot this in last commit. | Evan Cheng | 2008-10-31 | 1 | -1/+1 | |
| | | | | llvm-svn: 58527 | |||||
* | Encode PICADD; some code clean up. | Evan Cheng | 2008-10-31 | 1 | -76/+101 | |
| | | | | llvm-svn: 58526 | |||||
* | Remove some unused virtual function bodies. | Dan Gohman | 2008-10-31 | 1 | -7/+5 | |
| | | | | llvm-svn: 58524 | |||||
* | Revert r58489. It isn't correct for all cases. | Bill Wendling | 2008-10-31 | 2 | -3/+4 | |
| | | | | llvm-svn: 58523 | |||||
* | Symbol visibility is unsupported on cygwin too. | Anton Korobeynikov | 2008-10-31 | 1 | -1/+1 | |
| | | | | | | Patch by Jay Foad! llvm-svn: 58520 | |||||
* | Add an assert to catch user errors like: | Torok Edwin | 2008-10-31 | 1 | -2/+6 | |
| | | | | | | | | | MyFunctionPass() : FunctionPass(ID) {} when the user actually meant to write: MyFunctionPass() : FunctionPass(&ID) {} llvm-svn: 58518 | |||||
* | Change x86 register allocation ordering to match that of gcc. Otherwise some ↵ | Evan Cheng | 2008-10-31 | 1 | -19/+19 | |
| | | | | | | tools get confused by prologue generated by llvm. llvm-svn: 58517 | |||||
* | Add a fixme. | Evan Cheng | 2008-10-31 | 1 | -0/+3 | |
| | | | | llvm-svn: 58514 | |||||
* | Implement basic support for converting constructors in user-defined | Douglas Gregor | 2008-10-31 | 8 | -35/+230 | |
| | | | | | | | | | | | | | conversions. Notes: - Overload resolution for converting constructors need to prohibit user-defined conversions (hence, the test isn't -verify safe yet). - We still use hacks for conversions from a class type to itself. This will be the case until we start implicitly declaring the appropriate special member functions. (That's next on my list) llvm-svn: 58513 | |||||
* | Totally disable the setSubgraphColor calls temporarily, as they're | Dan Gohman | 2008-10-31 | 1 | -2/+2 | |
| | | | | | | currently troublesome even for #ifndef NDEBUG builds. llvm-svn: 58512 | |||||
* | Fix a bug that was introduced in 58501. Ideally I think we should force all ↵ | Anders Carlsson | 2008-10-31 | 1 | -1/+1 | |
| | | | | | | targets to set these values and not have defaults. llvm-svn: 58511 | |||||
* | Comment out invalid assertion. I'm leaving it in the code for now as a ↵ | Ted Kremenek | 2008-10-31 | 1 | -1/+3 | |
| | | | | | | reminder to produce a test case. llvm-svn: 58510 | |||||
* | Implement semantic checking of static_cast and dynamic_cast. | Sebastian Redl | 2008-10-31 | 10 | -56/+602 | |
| | | | | llvm-svn: 58509 | |||||
* | Add a bunch of libcalls for ppcf128 that were somehow | Duncan Sands | 2008-10-31 | 4 | -38/+286 | |
| | | | | | | completely forgotten about when writing LegalizeTypes. llvm-svn: 58508 | |||||
* | Simplify interface. We can get canonical type from the base region directly. ↵ | Zhongxing Xu | 2008-10-31 | 1 | -21/+23 | |
| | | | | | | No need for an extra type argument. llvm-svn: 58507 | |||||
* | Implement struct initialization for SCA. | Zhongxing Xu | 2008-10-31 | 1 | -1/+47 | |
| | | | | llvm-svn: 58506 | |||||
* | For some targets pointer and int are 16-bits. Allow 16-bits as a valid index | Sanjiv Gupta | 2008-10-31 | 1 | -1/+2 | |
| | | | | | | in such cases. llvm-svn: 58505 | |||||
* | Implement array initialization for SCA. | Zhongxing Xu | 2008-10-31 | 1 | -6/+39 | |
| | | | | llvm-svn: 58504 |