summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* Update also the generated docs.Mikhail Glushenkov2008-12-171-1/+6
| | | | llvm-svn: 61118
* Some enhancements for the 'case' expression.Mikhail Glushenkov2008-12-173-8/+36
| | | | | | Add (error) and (empty). llvm-svn: 61117
* Clarify that the scale factor from CheckForIVReuseDale Johannesen2008-12-161-11/+26
| | | | | | | | can be negative. Keep track of whether all uses of an IV are outside the loop. Some cosmetics; no functional change. llvm-svn: 61109
* A new dag combine; several permutations of thisDale Johannesen2008-12-162-0/+20
| | | | | | are there under ADD, this one was missing. llvm-svn: 61107
* Add code to renumber split intervals into new vregs. This is disabled for ↵Owen Anderson2008-12-161-0/+48
| | | | | | now until I finish working out some iterator invalidation issues. llvm-svn: 61104
* Fix another crash found by inspection. If we have a PHI node mergingChris Lattner2008-12-162-47/+92
| | | | | | | the load multiple times, make sure the check the uses of the PHI to ensure they are transformable. llvm-svn: 61102
* fix a crash found by inspection.Chris Lattner2008-12-163-9/+30
| | | | llvm-svn: 61101
* Add a helper to remove a branch and DCE the condition, and use it Eli Friedman2008-12-162-32/+71
| | | | | | | | consistently for deleting branches. In addition to being slightly more readable, this makes SimplifyCFG a bit better about cleaning up after itself when it makes conditions unused. llvm-svn: 61100
* Eliminate the loop that walks the critical path. Instead, just track theDan Gohman2008-12-161-54/+64
| | | | | | | position in the critical path during the main instruction walk. This eliminates the need for the CritialAntiDep DenseMap. llvm-svn: 61096
* Remove empty test.Bill Wendling2008-12-161-0/+0
| | | | llvm-svn: 61095
* Temporarily revert r61019, r61030, and r61040. These were breaking LLVM ReleaseBill Wendling2008-12-1610-111/+41
| | | | | | builds. llvm-svn: 61094
* Preserve SourceValue information when lowering produces multiple loads fromDan Gohman2008-12-161-3/+6
| | | | | | different offsets within the same stack slot. llvm-svn: 61093
* We have decided not to support inline asm where an output operand with a ↵Evan Cheng2008-12-162-11/+13
| | | | | | matching input operand with incompatible type (i.e. either one is a floating point and the other is an integer or the sizes of the types differ). SelectionDAGBuild will catch these and exit with an error. llvm-svn: 61092
* CMake: Added DbgInfoPrinter.cpp to lib/Analysis/CMakeFiles.txt.Oscar Fuentes2008-12-161-0/+1
| | | | llvm-svn: 61087
* add testcase for -print-dbginfoTorok Edwin2008-12-161-0/+136
| | | | llvm-svn: 61086
* Add -print-dbginfo pass that prints LLVM IR with comments inserted to showTorok Edwin2008-12-163-0/+149
| | | | | | | which source/line a certain BB/instruction comes from, original variable names, and original (unmangled) C++ name of functions. llvm-svn: 61085
* Add utility functions to search for DbgStopPointInst corresponding to anTorok Edwin2008-12-162-1/+87
| | | | | | | instruction or BasicBlock, and to search for DbgDeclareInst corresponding to a variable. llvm-svn: 61084
* use different name for parameter to make it clear that we set DIDescriptor::GVTorok Edwin2008-12-161-2/+2
| | | | llvm-svn: 61083
* Generalize support for analyzing loops to include SLE/SGE loop exit conditionsNick Lewycky2008-12-165-26/+64
| | | | | | and support for non-unit strides with signed exit conditions. llvm-svn: 61082
* switch some std::set/std::map to SmallPtrSet/DenseMap.Chris Lattner2008-12-161-14/+13
| | | | llvm-svn: 61081
* fix PR3217: fully cached queries need to be verified against the Chris Lattner2008-12-162-1/+49
| | | | | | | | visited set before they are used. If used, their blocks need to be added to the visited set so that subsequent queries don't use conflicting pointer values in the cache result blocks. llvm-svn: 61080
* Enable anti-dependence breaking by default when post-RA scheduling is enabled.Dan Gohman2008-12-162-2/+2
| | | | llvm-svn: 61078
* When breaking an anti-dependency, don't use a register which has seenDan Gohman2008-12-161-0/+1
| | | | | | | one of its aliases defined. This is conservative, but tricky subreg corner cases are outside the primary aim of this pass. llvm-svn: 61077
* Add initial support for back-scheduling address computations,Dan Gohman2008-12-166-3/+166
| | | | | | | especially in the case of addresses computed from loop induction variables. llvm-svn: 61075
* Remove some special-case logic in ScheduleDAGSDNodes's Dan Gohman2008-12-161-10/+0
| | | | | | | latency computation code that is no longer needed with the new method for handling latencies. llvm-svn: 61074
* Fix some register-alias-related bugs in the post-RA scheduler livenessDan Gohman2008-12-1612-299/+357
| | | | | | | | | | | | | | computation code. Also, avoid adding output-depenency edges when both defs are dead, which frequently happens with EFLAGS defs. Compute Depth and Height lazily, and always in terms of edge latency values. For the schedulers that don't care about latency, edge latencies are set to 1. Eliminate Cycle and CycleBound, and LatencyPriorityQueue's Latencies array. These are all subsumed by the Depth and Height fields. llvm-svn: 61073
* * Comply with HTML 4.01 StrictMisha Brukman2008-12-162-44/+86
| | | | | | | * Added code-region markings to code sections to make them stand out * Added pre.doc_code class to llvm.css to simplify marking code regions llvm-svn: 61072
* * Comply with HTML 4.01 Strict standardMisha Brukman2008-12-161-22/+22
| | | | | | | * Converted absolute links to llvm.org/docs to relative links * Fixed spelling and s/;/:/, as needed llvm-svn: 61071
* Add a simple target-independent heuristic to allow targets with noDan Gohman2008-12-161-0/+6
| | | | | | instruction itinerary data to back-schedule loads. llvm-svn: 61070
* Move addPred and removePred out-of-line.Dan Gohman2008-12-162-53/+63
| | | | llvm-svn: 61067
* Make addPred and removePred return void, since the return value is notDan Gohman2008-12-163-17/+14
| | | | | | currently used by anything. llvm-svn: 61066
* This getEdgeAttributes doesn't need a template argument.Dan Gohman2008-12-161-2/+2
| | | | llvm-svn: 61065
* Add a getSDep() access function to SUnitIterator to return theDan Gohman2008-12-161-2/+5
| | | | | | current SDep. llvm-svn: 61064
* Reorder some SDep methods. No functionality change.Dan Gohman2008-12-161-6/+6
| | | | llvm-svn: 61063
* SDep's operator== should compare the Latency field too.Dan Gohman2008-12-161-1/+1
| | | | llvm-svn: 61062
* Change so that buildit won't need a parent directory with only the build ↵Bill Wendling2008-12-161-1/+1
| | | | | | scripts in them. llvm-svn: 61061
* add testcase for r61051Chris Lattner2008-12-151-0/+42
| | | | llvm-svn: 61052
* enhance heap-sra to apply to fixed sized array allocations, not justChris Lattner2008-12-151-4/+43
| | | | | | variable sized array allocations. llvm-svn: 61051
* Added support for splitting and scalarizing vector shifts.Mon P Wang2008-12-154-0/+41
| | | | llvm-svn: 61050
* Use stripPointerCasts.Chris Lattner2008-12-151-7/+2
| | | | llvm-svn: 61047
* minor tweaks for formatting, allow bitcast in ↵Chris Lattner2008-12-151-12/+29
| | | | | | ValueIsOnlyUsedLocallyOrStoredToOneGlobal. llvm-svn: 61046
* refactor some code into a new TryToOptimizeStoreOfMallocToGlobal function.Chris Lattner2008-12-151-62/+66
| | | | | | Use GetElementPtrInst::hasAllZeroIndices where possible. llvm-svn: 61045
* add a basic test for heap-sraChris Lattner2008-12-151-0/+34
| | | | llvm-svn: 61041
* Teach basicaa to use the nocapture attribute when possible. When theChris Lattner2008-12-152-6/+30
| | | | | | intrinsics are properly marked nocapture, the fixme should be addressed. llvm-svn: 61040
* Fix printing of PseudoSourceValues in SDNode graphs.Dan Gohman2008-12-151-5/+3
| | | | llvm-svn: 61036
* Fix a typo in a comment.Dan Gohman2008-12-151-1/+1
| | | | llvm-svn: 61035
* add some more notes.Chris Lattner2008-12-151-2/+53
| | | | llvm-svn: 61033
* Add a testcase for GCC PR 23455, which lpre handles now. Add someChris Lattner2008-12-153-5/+50
| | | | | | comments about why we're not getting other cases. llvm-svn: 61032
* Update generated files after nocapture syntax change.Nick Lewycky2008-12-153-1343/+1355
| | | | llvm-svn: 61031
* It turns out that "align 1" and unaligned are different. Add a bias to theNick Lewycky2008-12-154-5/+14
| | | | | | | | | | alignment attribute such that 0 means unaligned. This will probably require a rebuild of llvm-gcc because of the change to Attributes.h. If you see many test failures on "make check", please rebuild your llvm-gcc. llvm-svn: 61030
OpenPOWER on IntegriCloud