summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* remove two obsolete tests, not sure why my previous commit didn't commit the ↵Chris Lattner2008-03-062-54/+0
| | | | | | removal. llvm-svn: 47986
* Refine Cell's i64 constant generation code to cover more constants where theScott Michel2008-03-062-8/+33
| | | | | | upper and lower 32-bits are the same (in addition to 0 and -1 previously.) llvm-svn: 47985
* Added boilerplate to execute the CF reference count checker (which isn't yet ↵Ted Kremenek2008-03-066-1/+153
| | | | | | implemented). llvm-svn: 47982
* gcc likes things spelled correctlyAndrew Lenharth2008-03-051-1/+1
| | | | llvm-svn: 47981
* Skip, for now, callsites where use of sret argument is not dominated by ↵Devang Patel2008-03-051-0/+4
| | | | | | callsite. llvm-svn: 47980
* Added "CheckerState" field to ValueState.Ted Kremenek2008-03-051-2/+6
| | | | llvm-svn: 47979
* Next bit of PPC ByVal handling; call-site code seemsDale Johannesen2008-03-051-3/+11
| | | | | | correct now. llvm-svn: 47978
* Missed patch from my last commitAnton Korobeynikov2008-03-051-0/+10
| | | | llvm-svn: 47977
* Resolve aliases to aliasees, where possibleAnton Korobeynikov2008-03-051-0/+3
| | | | llvm-svn: 47975
* Handle functions as targets during linking of aliases as wellAnton Korobeynikov2008-03-051-1/+25
| | | | llvm-svn: 47974
* - Fix support for "special" i64 immediates that can be loadedScott Michel2008-03-054-647/+361
| | | | | | | | | | | using IL, ILA, et. al. v2i64 and i64 are now supported by the select bits (SELB) instruction. - Add missing comparison operations (testcase forthcoming) - More multiclass refactoring. llvm-svn: 47973
* - Expand tabs to spaces.Scott Michel2008-03-0524-879/+1158
| | | | | | | | - select_bits.ll now fully functional now that PR1993 is closed. It was previously broken by refactoring in SPUInstrInfo.td and using multiclasses. - Same for eqv.ll llvm-svn: 47972
* Added transfer function support for __builtin_expect.Ted Kremenek2008-03-051-2/+15
| | | | llvm-svn: 47971
* Small bug fix when handling CallExprs that generate sink nodes.Ted Kremenek2008-03-052-17/+11
| | | | llvm-svn: 47970
* Update vcproj file.Steve Naroff2008-03-051-0/+5
| | | | llvm-svn: 47969
* Try hard to link aliases. Checks can be too strict by now.Anton Korobeynikov2008-03-051-20/+101
| | | | llvm-svn: 47968
* Update vcproj files.Steve Naroff2008-03-057-5/+77
| | | | llvm-svn: 47967
* Fix a coalescer bug wrt how dead copy interval is shortened.Evan Cheng2008-03-053-13/+54
| | | | llvm-svn: 47966
* Handle 'ret' with multiple values.Devang Patel2008-03-051-11/+23
| | | | llvm-svn: 47965
* Fixed bug that could case unwanted bifurcation of states when evaluating calls.Ted Kremenek2008-03-053-21/+46
| | | | llvm-svn: 47964
* test for something more interesting than not crashingAndrew Lenharth2008-03-051-1/+1
| | | | llvm-svn: 47962
* sync ops on ptrs, was breaking libgompAndrew Lenharth2008-03-051-0/+25
| | | | llvm-svn: 47960
* Add Hybrid Cycle Detection to Andersen's analysis.Daniel Berlin2008-03-051-32/+272
| | | | | | Patch by Curtis Dunham. llvm-svn: 47959
* Fixed bogus assumption mistakenly introduced in r47955.Ted Kremenek2008-03-051-2/+1
| | | | llvm-svn: 47958
* Clarify that CALLSEQ_START..END may not be nested,Dale Johannesen2008-03-052-0/+8
| | | | | | and add some protection against creating such. llvm-svn: 47957
* Fixed a horribly insidious bit-masking bug in the implementation ofTed Kremenek2008-03-052-4/+14
| | | | | | ExplodedNode that would occasionally result in heap corruption. llvm-svn: 47956
* Minor cleanups (mainly indentation).Ted Kremenek2008-03-053-17/+5
| | | | llvm-svn: 47955
* remove the source location arguments to various target query methods.Chris Lattner2008-03-0526-299/+168
| | | | llvm-svn: 47954
* add analysis source files to project.Chris Lattner2008-03-051-16/+54
| | | | llvm-svn: 47953
* Add the various pathsensitive headers to the project.Chris Lattner2008-03-051-0/+28
| | | | llvm-svn: 47952
* ProgramEdge.h doesn't exist anymore.Chris Lattner2008-03-051-2/+0
| | | | llvm-svn: 47951
* This patch fixes a problem encountered by the CellSPU backend where variantsScott Michel2008-03-052-53/+132
| | | | | | | | | | | | | | were being pruned in patterns where a variable was used more than once, e.g.: (or (and R32C:$rA, R32C:$rC), (and R32C:$rB, (not R32C:$rC))) In this example, $rC is used more than once and is actually significant to instruction selection pattern matching when commuted variants are produced. This patch scans the pattern's clauses and collects the variables, creating a set of variables that are used more than once. TreePatternNode::isIsomorphicTo() also understands that multiply-used variables are significant. llvm-svn: 47950
* evan implemented this.Chris Lattner2008-03-051-26/+0
| | | | llvm-svn: 47948
* Fix test not to emit junk into source directoryAnton Korobeynikov2008-03-051-2/+2
| | | | llvm-svn: 47947
* Testcase for PR2054Anton Korobeynikov2008-03-052-0/+28
| | | | llvm-svn: 47946
* Remember the source->dest mapping when copying aliases. This fixes PR2054Anton Korobeynikov2008-03-051-4/+10
| | | | llvm-svn: 47945
* Clarify the state-of-the-artAnton Korobeynikov2008-03-051-9/+12
| | | | llvm-svn: 47944
* Use AC_PATH_PROG correctly:Bill Wendling2008-03-052-46/+35
| | | | | | http://www.gnu.org/software/autoconf/manual/autoconf.html#Generic-Programs llvm-svn: 47943
* isTwoAddress = 1 -> Constraints.Evan Cheng2008-03-051-47/+47
| | | | llvm-svn: 47941
* PSLLWri etc. are two-address instructions.Evan Cheng2008-03-051-1/+3
| | | | llvm-svn: 47940
* add a noteChris Lattner2008-03-051-0/+30
| | | | llvm-svn: 47939
* Generalize FP constant shrinking optimization to apply to any vtChris Lattner2008-03-052-26/+32
| | | | | | | | except ppc long double. This allows us to shrink constant pool entries for x86 long double constants, which in turn allows us to use flds/fldl instead of fldt. llvm-svn: 47938
* Improve comment, pass in the original VT so that we can shrink a long double ↵Chris Lattner2008-03-051-2/+4
| | | | | | | | constant all the way to float, not stopping at double. llvm-svn: 47937
* Reverted patch 47926 for ProgramPoint.h because it is currently buggy. May ↵Ted Kremenek2008-03-052-40/+5
| | | | | | | | add back (fixed) later. Updated CFGStmtVisitor to be in accord with rr47913: CallExprs are no longer (automatically) block-level expressions in the CFG. llvm-svn: 47935
* Ignore debugging related instructions if they get this far.Evan Cheng2008-03-051-0/+4
| | | | llvm-svn: 47934
* Rather than asserting. Dump out the MI that we are not able to encode and abort.Evan Cheng2008-03-051-1/+6
| | | | llvm-svn: 47933
* Codegen support for i128 UINT_TO_FP. This just fixes aDan Gohman2008-03-052-6/+2
| | | | | | | | bug in r47928 (Int64Ty is the correct type for the constant pool entry here) and removes the asserts, now that the code is capable of handling i128. llvm-svn: 47932
* Add a target lowering hook to control whether it's worthwhile to compress fp ↵Evan Cheng2008-03-054-1/+24
| | | | | | | | constant. For x86, if sse2 is available, it's not a good idea since cvtss2sd is slower than a movsd load and it prevents load folding. On x87, it's important to shrink fp constant since fldt is very expensive. llvm-svn: 47931
* Remove the first layer of support for "portability" warnings. This is Chris Lattner2008-03-0518-620/+60
| | | | | | | | | | | | | | | theoretically useful, but not useful in practice. It adds a bunch of complexity, and not much value. It's best to nuke it. One big advantage is that it means the target interfaces will soon lose their SLoc arguments and target queries can never emit diagnostics anymore (yay). Removing this also simplifies some of the core preprocessor which should make it slightly faster. Ted, I didn't simplify TripleProcessor, which can now have at most one triple, and can probably just be removed. Please poke at it when you have time. llvm-svn: 47930
* 64bit CAS on 32bit x86.Andrew Lenharth2008-03-054-8/+75
| | | | llvm-svn: 47929
OpenPOWER on IntegriCloud