Dan Gohman
a826a88755
Factor out Instruction::isSafeToSpeculativelyExecute's code for
...
testing for dereferenceable pointers into a helper function,
isDereferenceablePointer. Teach it how to reason about GEPs
with simple non-zero indices.
Also eliminate ArgumentPromtion's IsAlwaysValidPointer,
which didn't check for weak externals or out of range gep
indices.
llvm-svn: 118840
2010-11-11 21:23:25 +00:00
..
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 17:02:12 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2010-01-05 17:55:26 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2010-08-30 10:48:29 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-11-10 21:02:18 +00:00
2009-09-11 18:01:28 +00:00
2010-01-05 17:55:26 +00:00
2009-09-11 18:01:28 +00:00
2010-03-02 01:11:08 +00:00
2010-03-31 20:37:13 +00:00
2010-10-24 12:23:30 +00:00
2010-08-14 00:29:42 +00:00
2010-01-05 17:55:26 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-08 22:34:10 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-12-30 05:54:51 +00:00
2009-09-11 18:01:28 +00:00
2010-01-05 17:55:26 +00:00
2009-09-11 17:02:12 +00:00
2009-09-11 17:02:12 +00:00
2010-08-16 14:41:14 +00:00
2009-10-13 18:13:05 +00:00
2009-09-11 18:01:28 +00:00
2010-02-05 22:03:18 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-10-31 17:33:01 +00:00
2009-09-11 17:02:12 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 17:02:12 +00:00
2010-11-11 21:23:25 +00:00
2009-09-11 17:02:12 +00:00
2009-09-11 17:02:12 +00:00
2010-01-05 17:55:26 +00:00
2009-09-11 17:02:12 +00:00
2009-09-08 22:34:10 +00:00
2009-09-08 22:34:10 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2010-06-13 16:16:54 +00:00
2010-01-05 17:55:26 +00:00
2009-09-11 17:02:12 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00