![]() |
Public Member Functions | |
virtual Type & | getElementType () const =0 |
opt< std::string > | get_code () const override |
![]() | |
TypeCode | getCode () const |
virtual std::string | toString (std::string indent="") const =0 |
Static Public Member Functions | |
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 FloatType & | get_f32_type () |
static DoubleType & | get_f64_type () |
static PointerType & | get_ptr_type () |
static ReferenceType & | get_ref_type (Type &referenced_type) |
static StructType & | define_struct_type (DefineStructTypeInst &definition, std::string name, vector< Type *> field_types) |
static StructType & | get_struct_type (std::string name) |
static FieldArrayType & | get_field_array_type (StructType &type, unsigned field_index) |
static StaticTensorType & | get_static_tensor_type (Type &element_type, vector< size_t > dimension_lengths) |
static TensorType & | get_tensor_type (Type &element_type, unsigned num_dimensions) |
static AssocArrayType & | get_assoc_array_type (Type &key_type, Type &value_type) |
static SequenceType & | get_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) | |
![]() | |
Type (TypeCode code) | |
Friends | |
class | TypeAnalysis |
Additional Inherited Members | |
![]() | |
TypeCode | code |