Public Member Functions | Static Public Member Functions | Protected Member Functions | Friends | List of all members
llvm::memoir::CollectionType Struct Referenceabstract
Inheritance diagram for llvm::memoir::CollectionType:
llvm::memoir::Type llvm::memoir::AssocArrayType llvm::memoir::FieldArrayType llvm::memoir::SequenceType llvm::memoir::StaticTensorType llvm::memoir::TensorType

Public Member Functions

virtual TypegetElementType () const =0
 
opt< std::string > get_code () const override
 
- Public Member Functions inherited from llvm::memoir::Type
TypeCode getCode () const
 
virtual std::string toString (std::string indent="") const =0
 

Static Public Member Functions

static bool classof (const Type *T)
 
- Static Public Member Functions inherited from llvm::memoir::Type
static IntegerTypeget_u64_type ()
 
static IntegerTypeget_u32_type ()
 
static IntegerTypeget_u16_type ()
 
static IntegerTypeget_u8_type ()
 
static IntegerTypeget_u2_type ()
 
static IntegerTypeget_i64_type ()
 
static IntegerTypeget_i32_type ()
 
static IntegerTypeget_i16_type ()
 
static IntegerTypeget_i8_type ()
 
static IntegerTypeget_i2_type ()
 
static IntegerTypeget_bool_type ()
 
static FloatTypeget_f32_type ()
 
static DoubleTypeget_f64_type ()
 
static PointerTypeget_ptr_type ()
 
static ReferenceTypeget_ref_type (Type &referenced_type)
 
static StructTypedefine_struct_type (DefineStructTypeInst &definition, std::string name, vector< Type *> field_types)
 
static StructTypeget_struct_type (std::string name)
 
static FieldArrayTypeget_field_array_type (StructType &type, unsigned field_index)
 
static StaticTensorTypeget_static_tensor_type (Type &element_type, vector< size_t > dimension_lengths)
 
static TensorTypeget_tensor_type (Type &element_type, unsigned num_dimensions)
 
static AssocArrayTypeget_assoc_array_type (Type &key_type, Type &value_type)
 
static SequenceTypeget_sequence_type (Type &element_type)
 
static bool is_primitive_type (Type &type)
 
static bool is_reference_type (Type &type)
 
static bool is_struct_type (Type &type)
 
static bool is_collection_type (Type &type)
 
static bool value_is_collection_type (llvm::Value &value)
 
static bool value_is_struct_type (llvm::Value &value)
 

Protected Member Functions

 CollectionType (TypeCode code)
 
- Protected Member Functions inherited from llvm::memoir::Type
 Type (TypeCode code)
 

Friends

class TypeAnalysis
 

Additional Inherited Members

- Protected Attributes inherited from llvm::memoir::Type
TypeCode code
 

The documentation for this struct was generated from the following files: