|
Type & | getElementType () const override |
|
size_t | getLength () const |
|
std::string | toString (std::string indent="") const override |
|
Option< std::string > | get_code () const override |
|
virtual Option< std::string > | get_selection () const |
|
virtual CollectionType & | set_selection (Option< std::string > selection) |
|
llvm::Type * | get_llvm_type (llvm::LLVMContext &C) const override |
|
TypeKind | getKind () const |
|
virtual bool | operator== (const Type &other) const |
|
virtual bool | operator<= (const Type &other) const |
|
|
static ArrayType & | get (Type &element_type, size_t length) |
|
static bool | classof (const Type *T) |
|
static bool | classof (const Type *T) |
|
static bool | classof (const Type *T) |
|
static IntegerType & | get_u64_type () |
|
static IntegerType & | get_u32_type () |
|
static IntegerType & | get_u16_type () |
|
static IntegerType & | get_u8_type () |
|
static IntegerType & | get_u2_type () |
|
static IntegerType & | get_i64_type () |
|
static IntegerType & | get_i32_type () |
|
static IntegerType & | get_i16_type () |
|
static IntegerType & | get_i8_type () |
|
static IntegerType & | get_i2_type () |
|
static IntegerType & | get_bool_type () |
|
static IntegerType & | get_size_type (const llvm::DataLayout &DL) |
|
static FloatType & | get_f32_type () |
|
static DoubleType & | get_f64_type () |
|
static PointerType & | get_ptr_type () |
|
static VoidType & | get_void_type () |
|
static ReferenceType & | get_ref_type (Type &referenced_type) |
|
static Type & | define_type (std::string name, Type &type) |
|
static Type & | lookup_type (std::string name) |
|
static TupleType & | get_tuple_type (llvm::ArrayRef< Type * > fields) |
|
static ArrayType & | get_array_type (Type &element_type, size_t length) |
|
static Type & | from_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) |
|
|
| ArrayType (Type &element_type, size_t length) |
|
| CollectionType (TypeKind code) |
|
| ObjectType (TypeKind code) |
|
| Type (TypeKind code) |
|
|
Type & | element_type |
|
size_t | length |
|
TypeKind | code |
|
|
static OrderedMultiMap< Type *, ArrayType * > * | array_types = nullptr |
|
The documentation for this struct was generated from the following files:
- /tank/tommy/memoir/upstream/compiler/memoir/ir/Types.hpp
- /tank/tommy/memoir/upstream/compiler/memoir/ir/src/Types.cpp