summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Add header files to CMake build solution. It use globing so it doesn't need ↵Cedric Venet2008-11-021-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 Xu2008-11-021-0/+7
| | | | llvm-svn: 58565
* 1. When a pointer to struct is used as an argument, GRSimpleVals::EvalCall()Zhongxing Xu2008-11-021-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 warningAnton Korobeynikov2008-11-021-4/+6
| | | | llvm-svn: 58563
* Add defined in if().Zhongxing Xu2008-11-021-1/+1
| | | | llvm-svn: 58562
* Get this building on 64 bit machines (error:Duncan Sands2008-11-021-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 notOwen Anderson2008-11-021-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 Fuentes2008-11-021-0/+1
| | | | llvm-svn: 58559
* Whoops! Remove test Output/ directory.Nick Lewycky2008-11-020-0/+0
| | | | llvm-svn: 58558
* Add a new MergeFunctions pass. It finds identical functions and merges them.Nick Lewycky2008-11-026-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 Friedman2008-11-022-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 patchNick Lewycky2008-11-022-3/+11
| | | | | | by Richard Osborne. llvm-svn: 58555
* Add 'alloca' test case for return-of-stack-address checker.Ted Kremenek2008-11-021-0/+7
| | | | llvm-svn: 58554
* Enhance return-of-stack-address checker to recognize regions created by ↵Ted Kremenek2008-11-021-0/+9
| | | | | | alloca(). llvm-svn: 58553
* Add transfer function logic for alloca().Ted Kremenek2008-11-021-0/+10
| | | | llvm-svn: 58552
* Added AllocaRegion, which represents regions created by calls to alloca().Ted Kremenek2008-11-022-2/+67
| | | | llvm-svn: 58551
* Fixed a horrible bug in HTMLDiagnostics.cpp where bugs referencing source ↵Ted Kremenek2008-11-021-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 aDan Gohman2008-11-022-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 forMon P Wang2008-11-012-5/+39
| | | | | | target intrinsics that touches memory llvm-svn: 58548
* Reverting back 58505. Will commit it once I have the bc reader/writer/docsSanjiv Gupta2008-11-011-2/+1
| | | | | | ready. llvm-svn: 58547
* Move IRBuilder type definition to common file.Daniel Dunbar2008-11-0110-45/+61
| | | | | | - No functionality change. llvm-svn: 58546
* minor tweaks.Chris Lattner2008-11-011-2/+6
| | | | llvm-svn: 58545
* Grammar tweaks.Daniel Dunbar2008-11-011-4/+4
| | | | llvm-svn: 58544
* Add recent timing results to web page.Daniel Dunbar2008-11-018-0/+769
| | | | llvm-svn: 58542
* Whitespace fixes. No functionality change.Bill Wendling2008-10-311-27/+27
| | | | llvm-svn: 58539
* Semantic checking of constructor declarations and classification of ↵Douglas Gregor2008-10-315-22/+177
| | | | | | default/copy constructors llvm-svn: 58538
* Testcase for PR2613Anton Korobeynikov2008-10-311-0/+61
| | | | llvm-svn: 58537
* Invalidate debug/eh/gc labels when unreachable MBB is deleted.Anton Korobeynikov2008-10-311-13/+27
| | | | | | Based on patch by Martin Nowack! llvm-svn: 58536
* Add comment.Evan Cheng2008-10-311-0/+2
| | | | llvm-svn: 58533
* Use better data structure for ConstPoolId2AddrMap.Evan Cheng2008-10-312-15/+20
| | | | llvm-svn: 58532
* Actually make debug output understandable.Evan Cheng2008-10-311-4/+4
| | | | llvm-svn: 58529
* x86_64 rip-relative and magic mode addressMon P Wang2008-10-311-4/+8
| | | | llvm-svn: 58528
* Forgot this in last commit.Evan Cheng2008-10-311-1/+1
| | | | llvm-svn: 58527
* Encode PICADD; some code clean up.Evan Cheng2008-10-311-76/+101
| | | | llvm-svn: 58526
* Remove some unused virtual function bodies.Dan Gohman2008-10-311-7/+5
| | | | llvm-svn: 58524
* Revert r58489. It isn't correct for all cases.Bill Wendling2008-10-312-3/+4
| | | | llvm-svn: 58523
* Symbol visibility is unsupported on cygwin too.Anton Korobeynikov2008-10-311-1/+1
| | | | | | Patch by Jay Foad! llvm-svn: 58520
* Add an assert to catch user errors like:Torok Edwin2008-10-311-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 Cheng2008-10-311-19/+19
| | | | | | tools get confused by prologue generated by llvm. llvm-svn: 58517
* Add a fixme.Evan Cheng2008-10-311-0/+3
| | | | llvm-svn: 58514
* Implement basic support for converting constructors in user-defined Douglas Gregor2008-10-318-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'reDan Gohman2008-10-311-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 Carlsson2008-10-311-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 Kremenek2008-10-311-1/+3
| | | | | | reminder to produce a test case. llvm-svn: 58510
* Implement semantic checking of static_cast and dynamic_cast.Sebastian Redl2008-10-3110-56/+602
| | | | llvm-svn: 58509
* Add a bunch of libcalls for ppcf128 that were somehowDuncan Sands2008-10-314-38/+286
| | | | | | completely forgotten about when writing LegalizeTypes. llvm-svn: 58508
* Simplify interface. We can get canonical type from the base region directly. ↵Zhongxing Xu2008-10-311-21/+23
| | | | | | No need for an extra type argument. llvm-svn: 58507
* Implement struct initialization for SCA.Zhongxing Xu2008-10-311-1/+47
| | | | llvm-svn: 58506
* For some targets pointer and int are 16-bits. Allow 16-bits as a valid indexSanjiv Gupta2008-10-311-1/+2
| | | | | | in such cases. llvm-svn: 58505
* Implement array initialization for SCA.Zhongxing Xu2008-10-311-6/+39
| | | | llvm-svn: 58504
OpenPOWER on IntegriCloud