Chris Lattner
94d4de408b
adjust to llvm mainline changes.
...
Swift SVN r12226
2014-01-13 15:13:08 +00:00
Nadav Rotem
f5a7d0ca55
Make sure we are not calculating dominance for an empty function.
...
Swift SVN r11273
2013-12-13 22:06:21 +00:00
Stephen Lin
99737edf19
Fix segfault crash bug in Verifier check and correct error message
...
Swift SVN r9162
2013-10-10 18:59:23 +00:00
Chris Lattner
a9e92a2b61
Expose basic post-dominance information.
...
Swift SVN r6421
2013-07-21 04:29:29 +00:00
John McCall
dd4f26c6dc
It does seem to make non-generic assumptions about the node
...
type, though; I had to define a WriteAsOperand function and
add a front() method to SILFunction to get this to work.
Rip out my dominators implementation and replace it with
LLVM's. I'd forgotten that LLVM's was actually generic.
Swift SVN r4717
2013-04-12 21:24:27 +00:00
John McCall
3274de9c21
Add a simple dominance analysis based on Cooper, Harvey, and
...
Kennedy (2001).
This hasn't been tested yet.
Swift SVN r4712
2013-04-12 08:15:09 +00:00