llvm-6502/lib/VMCore
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
..
AsmWriter.cpp Give embedded metadata its own type instead of relying on EmptyStructTy. 2009-05-30 05:06:04 +00:00
Attributes.cpp Add new function attribute - noimplicitfloat 2009-06-05 21:57:13 +00:00
AutoUpgrade.cpp
BasicBlock.cpp
CMakeLists.txt
ConstantFold.cpp Split the Add, Sub, and Mul instruction opcodes into separate 2009-06-04 22:49:04 +00:00
ConstantFold.h
Constants.cpp Split the Add, Sub, and Mul instruction opcodes into separate 2009-06-04 22:49:04 +00:00
Core.cpp Add a getAlignOf helper for getting the ABI alignment of a 2009-05-21 15:52:21 +00:00
Dominators.cpp Fix some incorrect logic in DominanceFrontier::splitBlock. Part of 2009-05-21 20:40:30 +00:00
Function.cpp
Globals.cpp
InlineAsm.cpp
Instruction.cpp Split the Add, Sub, and Mul instruction opcodes into separate 2009-06-04 22:49:04 +00:00
Instructions.cpp Split the Add, Sub, and Mul instruction opcodes into separate 2009-06-04 22:49:04 +00:00
IntrinsicInst.cpp
LeakDetector.cpp
Makefile
Mangler.cpp Quotes should be printed before private prefix; some code clean up. 2009-05-05 22:50:29 +00:00
Module.cpp
ModuleProvider.cpp
Pass.cpp
PassManager.cpp Always verify dominfo if expensive checking is enabled. 2009-05-22 08:52:53 +00:00
PrintModulePass.cpp
SymbolTableListTraitsImpl.h
Type.cpp Create FunctionType::isValidArgumentType to go along with isValidReturnType. 2009-06-07 07:26:46 +00:00
TypeSymbolTable.cpp
Use.cpp
Value.cpp Restore minor deletion. 2009-05-04 18:40:41 +00:00
ValueSymbolTable.cpp Use v.data() instead of &v[0] when SmallVector v might be empty. 2009-05-21 09:52:38 +00:00
ValueTypes.cpp
Verifier.cpp Remove cyclic MDNode detection. Any attempt to create a cyclic MDNode will 2009-06-07 04:03:01 +00:00