My Project
Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
llvm::memoir::AssocArrayType Struct Reference
Inheritance diagram for llvm::memoir::AssocArrayType:
llvm::memoir::CollectionType llvm::memoir::ObjectType llvm::memoir::Type

Public Member Functions

TypegetKeyType () const
 
TypegetValueType () const
 
TypegetElementType () const override
 
Option< std::string > get_selection () const override
 
CollectionTypeset_selection (Option< std::string > selection) override
 
std::string toString (std::string indent="") const override
 
Option< std::string > get_code () const override
 
bool operator<= (const Type &other) const override
 
- Public Member Functions inherited from llvm::memoir::CollectionType
llvm::Type * get_llvm_type (llvm::LLVMContext &C) const override
 
- Public Member Functions inherited from llvm::memoir::Type
TypeKind getKind () const
 
virtual bool operator== (const Type &other) const
 

Static Public Member Functions

static AssocArrayTypeget (Type &key_type, Type &value_type, std::optional< std::string > selection={})
 
static bool classof (const Type *T)
 
- Static Public Member Functions inherited from llvm::memoir::CollectionType
static bool classof (const Type *T)
 
- Static Public Member Functions inherited from llvm::memoir::ObjectType
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 IntegerTypeget_size_type (const llvm::DataLayout &DL)
 
static FloatTypeget_f32_type ()
 
static DoubleTypeget_f64_type ()
 
static PointerTypeget_ptr_type ()
 
static VoidTypeget_void_type ()
 
static ReferenceTypeget_ref_type (Type &referenced_type)
 
static Typedefine_type (std::string name, Type &type)
 
static Typelookup_type (std::string name)
 
static TupleTypeget_tuple_type (llvm::ArrayRef< Type * > fields)
 
static ArrayTypeget_array_type (Type &element_type, size_t length)
 
static Typefrom_code (std::string code)
 
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 is_unsized (Type &type)
 
static bool value_is_object (llvm::Value &value)
 
static bool value_is_collection_type (llvm::Value &value)
 
static bool value_is_struct_type (llvm::Value &value)
 

Protected Types

typedef OrderedMap< Type *, OrderedMap< Type *, OrderedMap< std::optional< std::string >, AssocArrayType * > > > Types
 

Protected Member Functions

 AssocArrayType (Type &key_type, Type &value_type, Option< std::string > selection={})
 
- Protected Member Functions inherited from llvm::memoir::CollectionType
 CollectionType (TypeKind code)
 
- Protected Member Functions inherited from llvm::memoir::ObjectType
 ObjectType (TypeKind code)
 
- Protected Member Functions inherited from llvm::memoir::Type
 Type (TypeKind code)
 

Protected Attributes

Typekey_type
 
Typevalue_type
 
Option< std::string > selection
 
- Protected Attributes inherited from llvm::memoir::Type
TypeKind code
 

Static Protected Attributes

static Types * assoc_array_types = nullptr
 

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