aboutsummaryrefslogtreecommitdiffstats
path: root/flow.c
AgeCommit message (Expand)AuthorFilesLines
2011-04-13flow.c: make comment for `dominates' reflect codeJan Pokorný1-2/+2
2008-12-17Unhardcode byte size being 8 bits.David Given1-4/+6
2007-03-09Fix typos in commentsJosh Triplett1-5/+4
2007-01-16Update usage chain for dead branch instruction.Christopher Li1-1/+1
2007-01-16Update usage chain for dead instructionsChristopher Li1-0/+1
2007-01-16Add instruction to pseudo user tracking.Christopher Li1-25/+26
2007-01-16Change the symbol access list to a pseudo listChristopher Li1-4/+4
2005-04-07Use the new per-instruction position information for betterLinus Torvalds1-1/+1
2005-04-07Make "check_access()" take the size of the access properlyLinus Torvalds1-2/+2
2005-04-07Add warning for accessing outside of a symbolLinus Torvalds1-1/+19
2005-04-07Split OP_SETVAL into OP_SETVAL (fp expressions and labels) and OP_SYMADDRLinus Torvalds1-10/+5
2005-04-07Remove phi source merging.Linus Torvalds1-10/+0
2005-04-07Remove unreachable bb's from the list of bb's when we kill them.Linus Torvalds1-0/+3
2005-04-07When we simplify branches-to-branches, assert that we actually foundLinus Torvalds1-5/+8
2005-04-07Mark asms as having side effects, so that we don'tLinus Torvalds1-0/+8
2005-04-07Much cleaner entrypoint dominance handling: instead of makingLinus Torvalds1-1/+1
2005-04-07Fix conditional branch to same target simplification.Linus Torvalds1-8/+0
2005-04-07Make the "entrypoint" be a special OP_ENTRY instruction instead ofLinus Torvalds1-7/+2
2005-04-07Fix thinko. If we follow a conditional branch, we should _not_Linus Torvalds1-1/+1
2005-04-07Allow conditional branch following to trigger more often.Linus Torvalds1-17/+15
2005-04-07Implement conditional branch following when simplifying branches.Linus Torvalds1-5/+50
2005-04-07Dang. Bitten by that non-canonical phi-list thing again.Linus Torvalds1-2/+6
2005-04-07Split up branch flow simplification a bit in preparation for addingLinus Torvalds1-15/+19
2005-04-07A sparse "context" instruction has side effects. Don't allowLinus Torvalds1-0/+1
2005-04-07Do real flow simplification only after liveness analysis.Linus Torvalds1-26/+68
2005-04-07Move constant switch simplification to the instructionLinus Torvalds1-37/+0
2005-04-07Associate pseudos with the symbol name whose value they got.Linus Torvalds1-0/+2
2005-04-07Start using instruction sizes properly.Linus Torvalds1-8/+6
2005-04-07Don't get confused by infinite loops. They happen, and weLinus Torvalds1-1/+6
2005-04-07Pair up removals from parents and children properly.Linus Torvalds1-0/+1
2005-04-07Remember to kill the use of the conditional if bothLinus Torvalds1-0/+1
2005-04-07Fix entrypoint branch rewriting..Linus Torvalds1-1/+3
2005-04-07When turning a conditional branch into an unconditional one,Linus Torvalds1-1/+5
2005-04-07Clean up bb merging a bit. Still chasing "the bug".Linus Torvalds1-9/+5
2005-04-07Check switch and computed goto target lists too when verifying.Linus Torvalds1-1/+7
2005-04-07Add a flow verification thing.Linus Torvalds1-0/+64
2005-04-07Be more careful when rewriting parent branches.Linus Torvalds1-7/+9
2005-04-07Allow CSE to run after bb packing. Linus Torvalds1-0/+18
2005-04-07Make list-ptr remove/replace take a count.Linus Torvalds1-4/+4
2005-04-07Leave symbol pseudo usage intact when doing phi-node conversion.Linus Torvalds1-1/+3
2005-04-07We had a big comment about destroying the use chains. So fix it already.Linus Torvalds1-10/+1
2005-04-07Expose "dominates()" function for memop domination checking.Linus Torvalds1-8/+7
2005-04-07Export the load instruction conversion functions.Linus Torvalds1-6/+6
2005-04-07Fix check for "local" symbols.Linus Torvalds1-2/+2
2005-04-07Nonlocal memops are non-determinedly dominated by the entry.Linus Torvalds1-0/+3
2005-04-07Be a lot more careful when re-writing branches.Linus Torvalds1-11/+3
2005-04-07Fix total braino in empty block packing.Linus Torvalds1-3/+1
2005-04-07Use "has_use_list()" to determine whether to clear it on killingLinus Torvalds1-6/+4
2005-04-07Be more careful about insn->bb pointers.Linus Torvalds1-5/+1
2005-04-07When packing basic blocks, update the instructions bb pointers.Linus Torvalds1-2/+8
2005-04-07Make the CSE "repeat" logic be more fine-grained than justLinus Torvalds1-0/+5
2005-04-07Clean up OP_STORE kill, and remove the use of the data.Linus Torvalds1-10/+18
2005-04-07Do early CSE before even doing the symbol simplification.Linus Torvalds1-5/+20
2005-04-07More instruction kill care, making sure the use chainsLinus Torvalds1-0/+15
2005-04-07Be more thorough about killing unreachable instructions.Linus Torvalds1-0/+6
2005-04-07Use cleaned-up ptr list removal for removing basic blocksLinus Torvalds1-0/+9
2005-04-07Once again, remember that basic blocks may not have any instructions.Linus Torvalds1-1/+1
2005-04-07When killing a basic block, mark all its instructions unreachable.Linus Torvalds1-1/+7
2005-04-07Handle degenerate case of an instruction rewriting itselfLinus Torvalds1-0/+2
2005-04-07Clean up rewriting a switch into a branch.Linus Torvalds1-4/+4
2005-04-07Move instruction simplification to new file "simplify.c".Linus Torvalds1-2/+4
2005-04-07Validity-check the pseudo 'use' list.Linus Torvalds1-0/+2
2005-04-07Fix up various pseudo usage list issues:Linus Torvalds1-24/+13
2005-04-07Oops. Forgot to add usage of a dominator list pseudo.Linus Torvalds1-1/+1
2005-04-07When checking for a single parent, allow duplicates.Linus Torvalds1-5/+13
2005-04-07Oops. Clean up some left-overs from phi removal.Linus Torvalds1-3/+4
2005-04-07Remove "struct phi", replace with instruction that generates a pseudo.Linus Torvalds1-37/+27
2005-04-07Clear a phinode list that is all empty, so that we don't need to checkLinus Torvalds1-0/+1
2005-04-07Teach basic block packing about deleted phi-nodes and no-ops.Linus Torvalds1-7/+24
2005-04-07Do "flow" simplification earlier (separate from packing).Linus Torvalds1-5/+8
2005-04-07Make CSE convert instructions to OP_NOPLinus Torvalds1-1/+5
2005-04-07Add simple-stupid dominance testing for CSE.Linus Torvalds1-1/+1
2005-04-07Add initial CSE passLinus Torvalds1-11/+2
2005-04-07If all our dominators are the same pseudo, just use it.Linus Torvalds1-14/+17
2005-04-07Revert the last load dominator change.Linus Torvalds1-21/+4
2005-04-07If we find an exclusive dominating load, see if we can follow it further.Linus Torvalds1-4/+21
2005-04-07Remove incorrect left-over from (not useful) old load-loadLinus Torvalds1-2/+0
2005-04-07Move flow analysis out of "linearize.c" and into new "flow.c"Linus Torvalds1-0/+783