summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix memory leak.Devang Patel2007-07-091-3/+0
| | | | llvm-svn: 38469
* Initialize the IndexedModeActions array with memset beforeDan Gohman2007-07-091-1/+3
| | | | | | | | | | | updating it with calls to setIndexedLoadAction/setIndexedStoreAction, which only update a few bits at a time. This avoids ostensible undefined behavior of operationg on values which may be trap-representations, and as a practical matter fixes errors from valgrind, which doesn't track uninitialized memory with bit granularity. llvm-svn: 38468
* Fix an error in the assignment operator that was causing an infinite loop in ↵Owen Anderson2007-07-091-3/+11
| | | | | | | | GVNPRE.cpp. Patch by Chis Lattner. llvm-svn: 38467
* The various "getModuleMatchQuality" implementations should returnChris Lattner2007-07-097-3/+24
| | | | | | zero if they see a target triple they don't understand. llvm-svn: 38463
* implement operator= for smallptrsetChris Lattner2007-07-091-0/+36
| | | | llvm-svn: 38460
* Fix a comment.Owen Anderson2007-07-091-1/+1
| | | | llvm-svn: 38459
* Fix this warning:Chris Lattner2007-07-091-1/+1
| | | | | | | | | DAGCombiner.cpp: In member function 'llvm::SDOperand<unnamed>::DAGCombiner::visitOR(llvm::SDNode*)': DAGCombiner.cpp:1608: warning: passing negative value '-0x00000000000000001' for argument 1 to 'llvm::SDOperand llvm::SelectionDAG::getConstant(uint64_t, llvm::MVT::ValueType, bool)' oiy. llvm-svn: 38458
* Move the APInt form of SCEVUnknown::getIntegerSCEV to SCEVConstant::get, andDan Gohman2007-07-091-15/+14
| | | | | | | use SCEVConstant::get instead of SCEVUnknown::get when constructing a SCEV for a ConstantInt. llvm-svn: 38457
* fix typosGabor Greif2007-07-092-36/+36
| | | | llvm-svn: 38453
* Improve a hotspot that was making build_sets() slower by calling lookup() tooOwen Anderson2007-07-091-27/+30
| | | | | | often. This improves Anton's testcase from 36s to 32s. llvm-svn: 38441
* Start using a set representation that remembers the set of value numbers ↵Owen Anderson2007-07-091-141/+176
| | | | | | | | | represented in the set. For the moment, this results in a slight performance decrease, but it lays the groundwork for future improvements. llvm-svn: 38439
* Fix an error where ANTIC_OUT was ending up with more than one expression ofOwen Anderson2007-07-071-1/+1
| | | | | | the same value number. This fixes an infinite loop on 444.namd. llvm-svn: 37967
* Back out Devang's fix for PR1320 because it causes PR1542.Nick Lewycky2007-07-071-93/+19
| | | | llvm-svn: 37966
* No need for ccop anymore.Evan Cheng2007-07-063-23/+17
| | | | llvm-svn: 37965
* Teach if-conversion about instructions that were already predicated, e.g. ↵Evan Cheng2007-07-061-3/+14
| | | | | | conditional move. llvm-svn: 37964
* Incorrect check.Evan Cheng2007-07-061-4/+2
| | | | llvm-svn: 37962
* Do away with ImmutablePredicateOperand.Evan Cheng2007-07-062-3/+3
| | | | llvm-svn: 37961
* isUnpredicatedTerminator should treat conditional branches as unpredicated ↵Evan Cheng2007-07-062-3/+13
| | | | | | terminator. llvm-svn: 37960
* Do away with ImmutablePredicateOperand.Evan Cheng2007-07-061-8/+1
| | | | llvm-svn: 37959
* A first stab at memory dependence analysis. This is an interface on top ofOwen Anderson2007-07-061-0/+171
| | | | | | | alias analysis, adding caching and lazy computation of queries. This will be used in planned improvements to memory access optimizations. llvm-svn: 37958
* These rountines are now available as part of basic block utilities.Devang Patel2007-07-061-66/+5
| | | | llvm-svn: 37955
* Request DominanceFrontiner in advance.Devang Patel2007-07-061-0/+5
| | | | llvm-svn: 37954
* Preserve various analysis info.Devang Patel2007-07-061-19/+88
| | | | llvm-svn: 37953
* Add SplitEdge and SplitBlock utility routines. Devang Patel2007-07-061-0/+61
| | | | llvm-svn: 37952
* Be more aggressive in the heuristic. This mostly exposes more opportunitiesOwen Anderson2007-07-061-8/+16
| | | | | | for the GVN part of GVNPRE to apply. llvm-svn: 37951
* finishing touches of bytecode -> bitcode changes. also unbreak WindowsGabor Greif2007-07-062-2/+2
| | | | llvm-svn: 37950
* Achieve what the incorrect test was trying to do by simply requiring that allOwen Anderson2007-07-061-6/+1
| | | | | | critical edges be split before we begin. llvm-svn: 37949
* Remove an incorrect check.Owen Anderson2007-07-061-5/+0
| | | | llvm-svn: 37948
* The exception handling intrinsics return values,Duncan Sands2007-07-062-2/+11
| | | | | | | | | | | | | so must be lowered to a value, not nothing at all. Subtle point: I made eh_selector return 0 and eh_typeid_for return 1. This means that only cleanups (destructors) will be run as the exception unwinds [if eh_typeid_for returned 0 then it would be as if the first catch always matched, and the corresponding handler would be run], which is probably want you want in the CBE. llvm-svn: 37947
* eliminate residual cruft related to recognizing bytecodeGabor Greif2007-07-066-49/+9
| | | | | | | files. bitcode files are the only LLVM format left. llvm-svn: 37945
* Indexes into the list of filter ids cannot be outputDuncan Sands2007-07-061-27/+47
| | | | | | | | directly: they need to be turned into byte offsets (often the same, but may not be if there are many type infos). llvm-svn: 37942
* Add the byval attributeRafael Espindola2007-07-067-4/+23
| | | | llvm-svn: 37940
* Solaris 2.x does not have RLIMIT_RSS, check for this symbol (analog NetBSD ↵Gabor Greif2007-07-061-1/+1
| | | | | | below), should subsume Cygwin llvm-svn: 37939
* Remove propagateEHRegister in favour of a more limitedDuncan Sands2007-07-061-24/+8
| | | | | | fix, that is adequate while PR1508 remains unresolved. llvm-svn: 37938
* Remove ExtractGlobalVariable - use StripPointerCastsDuncan Sands2007-07-061-20/+3
| | | | | | instead. llvm-svn: 37937
* Correct a typo.Zhou Sheng2007-07-061-1/+1
| | | | llvm-svn: 37936
* Workaround of getCopyToRegs and getCopyFromRegs bugs for big-endian machines.Evan Cheng2007-07-061-4/+8
| | | | llvm-svn: 37935
* Change CalculateHeights and CalculateDepths to be non-recursive.Evan Cheng2007-07-061-22/+28
| | | | llvm-svn: 37934
* Print the s bit if the instruction is toggled to its CPSR setting form.Evan Cheng2007-07-061-0/+9
| | | | llvm-svn: 37932
* PredicateDefOperand -> OptionalDefOperand.Evan Cheng2007-07-061-3/+3
| | | | llvm-svn: 37931
* Add OptionalDefOperand to stand for optionally defined result.Evan Cheng2007-07-061-7/+10
| | | | llvm-svn: 37930
* Fix a bunch of issues found in a testcase from 400.perlbench.Owen Anderson2007-07-051-16/+19
| | | | llvm-svn: 37929
* Initial ARM JIT support by Raul Fernandes Herbster.Evan Cheng2007-07-057-2/+366
| | | | llvm-svn: 37926
* Proper flag __alloca callAnton Korobeynikov2007-07-051-17/+20
| | | | llvm-svn: 37923
* Make the debug string for ISD::MERGE_VALUES consistent with the others.Dan Gohman2007-07-051-1/+1
| | | | llvm-svn: 37922
* Add a parameter to getCopyToParts and getCopyFromParts to specify whetherDan Gohman2007-07-051-197/+211
| | | | | | | | endian swapping should be done, and update the code to use it. This fixes some register ordering issues on big-endian systems, such as PowerPC, introduced by the recent illegal by-val arguments changes. llvm-svn: 37921
* This enum is deadChris Lattner2007-07-051-1/+0
| | | | llvm-svn: 37920
* update the .cvs filesChris Lattner2007-07-055-5128/+4012
| | | | llvm-svn: 37918
* DohEvan Cheng2007-07-051-1/+2
| | | | llvm-svn: 37917
* remove a dead caseChris Lattner2007-07-051-1/+0
| | | | llvm-svn: 37916
OpenPOWER on IntegriCloud