llvm-6502/lib/Transforms
Dan Gohman 859fff476d Include optional subclass flags, such as inbounds, nsw, etc., in the
Constant uniquing tables. This allows distinct ConstantExpr objects
with the same operation and different flags.

Even though a ConstantExpr "a + b" is either always overflowing or
never overflowing (due to being a ConstantExpr), it's still necessary
to be able to represent it both with and without overflow flags at
the same time within the IR, because the safety of the flag may
depend on the context of the use. If the constant really does overflow,
it wouldn't ever be safe to use with the flag set, however the use
may be in code that is never actually executed.

This also makes it possible to merge all the flags tests into a single test.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80998 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-04 12:08:11 +00:00
..
Hello Kill off more cerr/cout uses and prune includes a bit. 2009-08-23 11:37:21 +00:00
Instrumentation Code Cleanup. 2009-09-03 08:52:52 +00:00
IPO Remove VISIBILITY_HIDDEN from this file. 2009-09-03 06:43:15 +00:00
Scalar Include optional subclass flags, such as inbounds, nsw, etc., in the 2009-09-04 12:08:11 +00:00
Utils Add a verifyAnalysis to LoopInfo, LoopSimplify, and LCSSA form that verify 2009-09-03 16:31:42 +00:00
Makefile The attached patches attempt to fix cross builds. For example, if you 2009-08-18 00:40:33 +00:00