llvm-project/llvm/lib/AsmParser
Nick Lewycky 0aa6a74a79 Create FunctionType::isValidArgumentType to go along with isValidReturnType.
Also create isValidElementType for ArrayType, PointerType, StructType and
VectorType.

Make LLParser use them. This closes up some holes like an assertion failure on:

  %x = type {label}

but largely doesn't change any semantics. The only thing we accept now which
we didn't before is vectors of opaque type such as "<4 x opaque>". The opaque
can be resolved to an int or float when linking.

llvm-svn: 73016
2009-06-07 07:26:46 +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 new function attribute - noimplicitfloat 2009-06-05 21:57:13 +00:00
LLLexer.h Fix internal representation of fp80 to be the 2009-03-23 21:16:53 +00:00
LLParser.cpp Create FunctionType::isValidArgumentType to go along with isValidReturnType. 2009-06-07 07:26:46 +00:00
LLParser.h Make MDNode use CallbackVH. Also change MDNode to store Value* instead of 2009-05-10 20:57:05 +00:00
LLToken.h Add new function attribute - noimplicitfloat 2009-06-05 21:57:13 +00:00
Makefile Removed trailing whitespace from Makefiles. 2009-01-09 16:44:42 +00:00
Parser.cpp Fix the path to llvm/Assembly/Parser.h in a comment. 2009-01-08 22:17:05 +00:00