llvm/lib
Nick Lewycky a5f54a06b0 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73016 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-07 07:26:46 +00:00
..
Analysis Rename UnknownValue to CouldNotCompute, since it holds an instance of 2009-06-06 14:37:11 +00:00
Archive Add the private linkage. 2009-01-15 20:18:42 +00:00
AsmParser Create FunctionType::isValidArgumentType to go along with isValidReturnType. 2009-06-07 07:26:46 +00:00
Bitcode Split the Add, Sub, and Mul instruction opcodes into separate 2009-06-04 22:49:04 +00:00
CodeGen Slightly generalize the code that handles shuffles of consecutive loads 2009-06-07 06:52:44 +00:00
CompilerDriver -write-graph now can be used with -o. 2009-03-27 12:57:14 +00:00
Debugger Oops...I committed too much. 2009-03-13 04:39:26 +00:00
ExecutionEngine Split the Add, Sub, and Mul instruction opcodes into separate 2009-06-04 22:49:04 +00:00
Linker Add a new "available_externally" linkage type. This is intended 2009-04-13 05:44:34 +00:00
Support Add support for outputting ANSI colors to raw_fd_ostream. 2009-06-04 07:09:50 +00:00
System Fix comments. 2009-06-04 08:18:25 +00:00
Target Slightly generalize the code that handles shuffles of consecutive loads 2009-06-07 06:52:44 +00:00
Transforms Don't crash on multiple return value with no obvious inserted value. 2009-06-06 23:13:08 +00:00
VMCore Create FunctionType::isValidArgumentType to go along with isValidReturnType. 2009-06-07 07:26:46 +00:00
Makefile Reorganize llvmc code. 2009-03-02 09:01:14 +00:00