summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Refactor the code for unfolding a load into a separate function.Dan Gohman2009-10-291-50/+62
| | | | llvm-svn: 85515
* Reapply r85338.Bill Wendling2009-10-292-2/+22
| | | | llvm-svn: 85514
* Patch for destruction of array of objects on block exit.Fariborz Jahanian2009-10-291-4/+13
| | | | llvm-svn: 85512
* Update checker build.Ted Kremenek2009-10-291-1/+1
| | | | llvm-svn: 85511
* Make sure to call CompleteConstructorCall for bases and members that are ↵Anders Carlsson2009-10-294-29/+81
| | | | | | initialized implicitly in constructors so that default arguments etc are set correctly. Fixes PR5283. llvm-svn: 85510
* Fix Release-Asserts build breakageDouglas Gregor2009-10-291-3/+17
| | | | llvm-svn: 85509
* Fix MSVC build.Benjamin Kramer2009-10-291-0/+1
| | | | llvm-svn: 85505
* make clang emit undefs for padding of structs and unions instead of zeros. ↵Nuno Lopes2009-10-293-5/+5
| | | | | | this enables constant compaction optimizations. llvm-svn: 85504
* Apparently when is now.John McCall2009-10-291-4/+0
| | | | llvm-svn: 85501
* Track source information for template arguments and template specializationJohn McCall2009-10-2930-416/+970
| | | | | | | types. Preserve it through template instantiation. Preserve it through PCH, although TSTs themselves aren't serializable, so that's pretty much meaningless. llvm-svn: 85500
* Extract TemplateArgument into a new header just for common templateJohn McCall2009-10-295-275/+330
| | | | | | | | classes. Move its implementation into a new module. This will seem marginally more justified in a bit. llvm-svn: 85499
* Apply some cleanups. No functionality changes.Nick Lewycky2009-10-291-27/+23
| | | | llvm-svn: 85498
* Add an assertion to ensure NullDerefChecker exists.Zhongxing Xu2009-10-291-0/+1
| | | | llvm-svn: 85497
* add sanity check for indbr.Chris Lattner2009-10-291-1/+2
| | | | llvm-svn: 85496
* just for the hell of it, allow globalopt to statically evaluate Chris Lattner2009-10-291-0/+6
| | | | | | static constructors with indirect gotos :) llvm-svn: 85495
* Fix accidental use of CheckSVal instead of CheckLocation, and add aTed Kremenek2009-10-292-2/+8
| | | | | | small test case to show we handle dereferences of undefined values. llvm-svn: 85492
* StringSwitch-ify attribute name mapping.Douglas Gregor2009-10-291-90/+55
| | | | llvm-svn: 85491
* add interpreter support for indirect goto / blockaddress. The interpreterChris Lattner2009-10-295-13/+35
| | | | | | | now correctly runs clang's test/CodeGen/indirect-goto.c. The JIT will abort on it until someone feels compelled to implement this. llvm-svn: 85488
* make this interpretable.Chris Lattner2009-10-291-1/+1
| | | | llvm-svn: 85487
* Fix an insidious bug in RegionStore::RemoveDeadBindings() pointed outTed Kremenek2009-10-292-2/+52
| | | | | | | | by Zhongxing Xu. RemoveDeadBindings() would falsely prune SymbolicRegions from the store that wrapped derived symbols whose liveness could only be determined after scanning the store. llvm-svn: 85484
* add newline to make cl.exe happy.Zhongxing Xu2009-10-291-1/+1
| | | | llvm-svn: 85483
* add two new and very exhaustive preprocessor tests, patch byChris Lattner2009-10-292-0/+2189
| | | | | | Ken Dyck! llvm-svn: 85482
* simplify intmax setup, patch by Ken Dyck!Chris Lattner2009-10-291-15/+3
| | | | llvm-svn: 85481
* fix 80-col.Zhongxing Xu2009-10-291-1/+1
| | | | llvm-svn: 85480
* greatly improve the LLVM IR bitcode encoding documentation,Chris Lattner2009-10-291-48/+451
| | | | | | patch by Peter Housel! llvm-svn: 85479
* Explicitly convert to double to suppress Visual C++ 2008 build error C2668 ↵Zhongxing Xu2009-10-291-1/+1
| | | | | | pow is ambiguous call to overloaded function llvm-svn: 85478
* To get more thorough testing from llc-beta nightly runs, do dynamic stackJim Grosbach2009-10-291-4/+9
| | | | | | realignment regardless of whether it's strictly necessary. llvm-svn: 85476
* Remove some obsolete or unnecessary FIXMEs.Daniel Dunbar2009-10-291-17/+4
| | | | llvm-svn: 85475
* When the function is doing dynamic stack realignment, the spill slot will beJim Grosbach2009-10-291-2/+2
| | | | | | | | indexed via the stack pointer, even if a frame pointer is present. Update the heuristic to place it nearest the stack pointer in that case, rather than nearest the frame pointer. llvm-svn: 85474
* PR5328: Allow duplicatic -pedantic (and -pedantic-errors) options.Daniel Dunbar2009-10-291-1/+3
| | | | | | - clang-cc doesn't care about their relative order with other -W options. llvm-svn: 85473
* Kill off MakeFormattedString helper function.Daniel Dunbar2009-10-291-14/+5
| | | | llvm-svn: 85472
* Move NullDeref and UndefDeref into their own checker. Zhongxing Xu2009-10-298-209/+295
| | | | | | | | Add a CheckLocation() interface to Checker. Now ImplicitNullDeref nodes are cached in NullDerefChecker. More cleanups follow. llvm-svn: 85471
* Sorry to break the build.Johnny Chen2009-10-291-1158/+0
| | | | | | | I was trying to check the WIP file to some local repository, but ended up checking in the llvm repository. Oops! llvm-svn: 85470
* Reject -I- in driver instead of clang-cc.Daniel Dunbar2009-10-294-13/+6
| | | | llvm-svn: 85469
* Formatting fixes.Daniel Dunbar2009-10-291-12/+12
| | | | llvm-svn: 85468
* Minor tweak to forgo the the curly braces for most case blocks, except whenJohnny Chen2009-10-291-0/+1158
| | | | | | declaring local variables. llvm-svn: 85467
* teach various passes about blockaddress. We no longerChris Lattner2009-10-293-33/+57
| | | | | | crash on any clang tests. llvm-svn: 85465
* make this more interesting, test the static const array.Chris Lattner2009-10-291-5/+16
| | | | llvm-svn: 85464
* When there is a 2-instruction spill sequence, recordDale Johannesen2009-10-291-2/+3
| | | | | | | | the second (store) instruction in SpillSlotToUsesMap consistently. I don't think this matters functionally, but it's cleaner and Evan wants it this way. llvm-svn: 85463
* Add test case for <rdar://problem/7342806>.Ted Kremenek2009-10-291-0/+43
| | | | llvm-svn: 85462
* [llvm up]Douglas Gregor2009-10-293-124/+75
| | | | | | | Switch a few ugly switch-on-string-literal constructs to use the new llvm::StringSwitch. llvm-svn: 85461
* Don't put in these EH changes.Bill Wendling2009-10-294-307/+38
| | | | llvm-svn: 85460
* A switch-on-string-literal construct that is a nice alternative toDouglas Gregor2009-10-291-0/+83
| | | | | | cascading "ifs" of strcmps/memcmps. llvm-svn: 85459
* teach ValueMapper about BlockAddress', making bugpoint a lot more useful.Chris Lattner2009-10-291-7/+10
| | | | llvm-svn: 85458
* unindent massive blocks, no functionality change.Chris Lattner2009-10-291-69/+75
| | | | llvm-svn: 85457
* Nested function test in compiler-rt should not be run under Clang.Edward O'Callaghan2009-10-291-19/+28
| | | | llvm-svn: 85456
* Reverting r85338 for now. It's causing a bootstrap failure on PPC darwin9.Bill Wendling2009-10-296-60/+309
| | | | | | | | --- Reverse-merging r85338 into '.': U lib/CodeGen/SimpleRegisterCoalescing.cpp U lib/CodeGen/SimpleRegisterCoalescing.h llvm-svn: 85454
* optimize out some ifdefs.Chris Lattner2009-10-292-8/+0
| | | | llvm-svn: 85453
* Fix test suit for last CMake changes to CompilerRT.Edward O'Callaghan2009-10-291-1/+2
| | | | llvm-svn: 85452
* Add indirectbr and blockaddress to the vim syntax highlighting file.Dan Gohman2009-10-291-1/+2
| | | | llvm-svn: 85451
OpenPOWER on IntegriCloud