llvm-6502/lib/AsmParser
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
..
CMakeLists.txt update the cmakefile. This is a "best guess", I haven't tested this. 2009-01-02 07:14:23 +00:00
LLLexer.cpp Add an 'inline hint' attribute to represent source 2009-08-26 01:08:21 +00:00
LLLexer.h Make LLVMContext and LLVMContextImpl classes instead of structs. 2009-08-11 17:45:13 +00:00
LLParser.cpp Include optional subclass flags, such as inbounds, nsw, etc., in the 2009-09-04 12:08:11 +00:00
LLParser.h Retype from unsigned to CallingConv::ID accordingly. Approved by Bob Wilson. 2009-09-02 08:44:58 +00:00
LLToken.h Add an 'inline hint' attribute to represent source 2009-08-26 01:08:21 +00:00
Makefile Removed trailing whitespace from Makefiles. 2009-01-09 16:44:42 +00:00
Parser.cpp Refactor common code from ParseAssemblyString and ParseAssemblyFile, 2009-09-02 17:18:19 +00:00