summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis
Commit message (Collapse)AuthorAgeFilesLines
* Remove the 'printname' argument to WriteAsOperand. It is always true, andChris Lattner2006-12-065-11/+11
| | | | | | passing false would make the asmprinter fail anyway. llvm-svn: 32264
* Finally get the casting right in this file. Also, remove some unnecessaryReid Spencer2006-12-051-7/+6
| | | | | | casting because sdiv doesn't require operand signs to match any more. llvm-svn: 32240
* straighten out various memory ownership issues in the callgraph stuff.Chris Lattner2006-12-051-3/+2
| | | | | | This fixes Regression/Other/2002-01-31-CallGraph.ll. llvm-svn: 32237
* Bail on the getInferredCast idea. Remove the function and convertReid Spencer2006-12-051-9/+10
| | | | | | remaining uses to more specific casts. llvm-svn: 32231
* Fix comment grammaroReid Spencer2006-12-041-2/+2
| | | | llvm-svn: 32198
* Add a comment and fix a memory leak. Thanks to Vikram for pointing this out.Chris Lattner2006-12-041-4/+5
| | | | llvm-svn: 32196
* Fix inferred casts.Reid Spencer2006-12-041-6/+9
| | | | llvm-svn: 32180
* Fix 80 cols violationReid Spencer2006-12-041-2/+3
| | | | llvm-svn: 32179
* Change inferred casts to explicit casts.Reid Spencer2006-12-041-9/+5
| | | | llvm-svn: 32165
* Unbreak VC++ build.Jeff Cohen2006-12-022-0/+2
| | | | llvm-svn: 32113
* WTF? These weird newlines got in there...Bill Wendling2006-11-291-26/+0
| | | | llvm-svn: 31998
* Replacing std::iostreams with llvm iostreams. Some of these changes involveBill Wendling2006-11-296-37/+44
| | | | | | | adding a temporary wrapper around the ostream to make it friendly to functions expecting an LLVM stream. This should be fixed in the future. llvm-svn: 31990
* Convert to using llvm streams instead of iostreams.Bill Wendling2006-11-287-36/+36
| | | | llvm-svn: 31989
* Removed some of the iostream #includes. Moved towards converting to usingBill Wendling2006-11-2811-86/+114
| | | | | | llvm streams llvm-svn: 31983
* For PR950:Reid Spencer2006-11-278-106/+107
| | | | | | | | | | The long awaited CAST patch. This introduces 12 new instructions into LLVM to replace the cast instruction. Corresponding changes throughout LLVM are provided. This passes llvm-test, llvm/test, and SPEC CPUINT2000 with the exception of 175.vpr which fails only on a slight floating point output difference. llvm-svn: 31931
* For PR950:Reid Spencer2006-11-201-0/+23
| | | | | | | | First in a series of patches to convert SetCondInst into ICmpInst and FCmpInst using only two opcodes and having the instructions contain their predicate value. Nothing uses these classes yet. More patches to follow. llvm-svn: 31867
* Needed <iostream> for now.Bill Wendling2006-11-171-0/+1
| | | | llvm-svn: 31816
* Needs the iostream include.Bill Wendling2006-11-171-0/+1
| | | | llvm-svn: 31815
* Replaced DEBUG(std::cerr with DOUT.Bill Wendling2006-11-171-6/+5
| | | | llvm-svn: 31812
* Replace DEBUG(std::cerr with DOUT. Removed some iostream #includes.Bill Wendling2006-11-176-106/+95
| | | | llvm-svn: 31811
* Removed unneeded <iostream> #include.Bill Wendling2006-11-172-2/+0
| | | | llvm-svn: 31810
* A shim over other AA impls to catch incorrect usesAndrew Lenharth2006-11-141-0/+125
| | | | llvm-svn: 31724
* remove redundant codeChris Lattner2006-11-131-2/+0
| | | | llvm-svn: 31697
* Remove redundant <cmath>.Jim Laskey2006-11-082-2/+0
| | | | llvm-svn: 31561
* For PR950:Reid Spencer2006-11-081-1/+2
| | | | | | | | This patch converts the old SHR instruction into two instructions, AShr (Arithmetic) and LShr (Logical). The Shr instructions now are not dependent on the sign of their operands. llvm-svn: 31542
* Optionally allow comparison operations from affect DSGraphsAndrew Lenharth2006-11-071-1/+6
| | | | llvm-svn: 31511
* Allow loop detection during debug in forwarding nodes, and revert auxcall ↵Andrew Lenharth2006-11-071-8/+20
| | | | | | patch as it make 176.gcc untenable llvm-svn: 31510
* debug type for DSA TDAndrew Lenharth2006-11-071-1/+1
| | | | llvm-svn: 31509
* Fix BasicAA/2006-11-03-BasicAAVectorCrash.ll by handling out-of-rangeChris Lattner2006-11-031-8/+20
| | | | | | vector accesses like we handle out-of-range array accesses. llvm-svn: 31427
* Split the External and Intrinsic handling into seperate functions. ThisAndrew Lenharth2006-11-031-497/+505
| | | | | | | | | | improves readability of the call handling code significantly, as well as makes it clear which parts are hacky (externals) and which parts are good (call handling). No functionality change. llvm-svn: 31415
* For PR786:Reid Spencer2006-11-025-10/+6
| | | | | | | | | | Turn on -Wunused and -Wno-unused-parameter. Clean up most of the resulting fall out by removing unused variables. Remaining warnings have to do with unused functions (I didn't want to delete code without review) and unused variables in generated code. Maintainers should clean up the remaining issues when they see them. All changes pass DejaGnu tests and Olden. llvm-svn: 31380
* For PR950:Reid Spencer2006-11-021-1/+1
| | | | | | Replace the REM instruction with UREM, SREM and FREM. llvm-svn: 31369
* Make ScalarEvolution actually use a ZeroExtend expression instead ofReid Spencer2006-11-011-2/+2
| | | | | | having SCZeroExtendExpr be equivalent to SCTruncate llvm-svn: 31355
* add a methodChris Lattner2006-10-281-0/+20
| | | | llvm-svn: 31249
* For PR950:Reid Spencer2006-10-261-15/+14
| | | | | | | | Make necessary changes to support DIV -> [SUF]Div. This changes llvm to have three division instructions: signed, unsigned, floating point. The bytecode and assembler are bacwards compatible, however. llvm-svn: 31195
* Make these hack flags hidden, like other dsa hack flagsAndrew Lenharth2006-10-231-2/+2
| | | | llvm-svn: 31136
* Revert the aggressive inlining for now, it doesn't handle external correctlyAndrew Lenharth2006-10-231-112/+78
| | | | llvm-svn: 31135
* [SU]int update - inactive code may get activated somedayJim Laskey2006-10-231-1/+1
| | | | llvm-svn: 31128
* For PR950:Reid Spencer2006-10-206-31/+31
| | | | | | | | This patch implements the first increment for the Signless Types feature. All changes pertain to removing the ConstantSInt and ConstantUInt classes in favor of just using ConstantInt. llvm-svn: 31063
* Move some warnings to debug mode.Andrew Lenharth2006-10-134-21/+23
| | | | llvm-svn: 30933
* Fix a bug pointed out by Zhongxing XuChris Lattner2006-10-091-1/+1
| | | | llvm-svn: 30831
* Fix more static dtor issuesChris Lattner2006-10-041-14/+17
| | | | llvm-svn: 30725
* Fix some more static dtor issues.Chris Lattner2006-10-041-33/+36
| | | | llvm-svn: 30724
* Add ability to annotate (color) nodes in a viewGraph.Jim Laskey2006-10-021-1/+1
| | | | llvm-svn: 30686
* Fixme is already doneChris Lattner2006-10-011-1/+0
| | | | llvm-svn: 30685
* Teach globalsmodref-aa to track scalar pointer global variables which pointChris Lattner2006-10-011-52/+209
| | | | | | | | | to unaliased allocations. Use this information to disambiguate pointers loaded from them. This is a very common case, so it's worthwhile to handle efficiently. This implements Analysis/GlobalsModRef/indirect-global.ll llvm-svn: 30684
* Eliminate ConstantBool::True and ConstantBool::False. Instead, provideChris Lattner2006-09-281-4/+4
| | | | | | ConstantBool::getTrue() and ConstantBool::getFalse(). llvm-svn: 30666
* Simplify some codeChris Lattner2006-09-281-2/+2
| | | | llvm-svn: 30658
* Fix DFS walk.Devang Patel2006-09-271-15/+28
| | | | | | Fix http://llvm.org/bugs/show_bug.cgi?id=923 llvm-svn: 30630
* Explain change with a comment.Nick Lewycky2006-09-171-2/+2
| | | | llvm-svn: 30443
OpenPOWER on IntegriCloud