Packed types, brought to you by Brad Jones

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15938 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Brian Gaeke
2004-08-20 06:00:58 +00:00
parent 4e5b9e136f
commit 715c90ba52
15 changed files with 460 additions and 17 deletions

View File

@ -23,6 +23,7 @@ namespace llvm {
class ArrayType;
class StructType;
class PointerType;
class PackedType;
class ConstantArray;
class Module;
@ -250,6 +251,14 @@ public:
Constant* Val ///< The constant value
) {}
/// @brief Handle a constant packed
virtual void handleConstantPacked(
const PackedType* PT, ///< Type of the array
std::vector<Constant*>& ElementSlots,///< Slot nums for packed values
unsigned TypeSlot, ///< Slot # of type
Constant* Val ///< The constant value
) {}
/// @brief Handle a constant pointer
virtual void handleConstantPointer(
const PointerType* PT, ///< Type of the pointer