|
TypeKind | getKind () const |
|
virtual llvm::Type * | get_llvm_type (llvm::LLVMContext &C) const |
|
virtual std::string | toString (std::string indent="") const =0 |
|
virtual Option< std::string > | get_code () const |
|
virtual bool | operator== (const Type &other) const |
|
virtual bool | operator<= (const Type &other) const |
|
|
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) |
|
|
std::ostream & | operator<< (std::ostream &os, const Type &T) |
|
llvm::raw_ostream & | operator<< (llvm::raw_ostream &os, const Type &T) |
|
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