5#include <llvm/ADT/StringMap.h>
21 llvm::StringMap<unique_ptr<ty::BaseType>>
known{};
22 std::vector<unique_ptr<ty::Function>>
fn_types{};
33 auto find_or_create_fn_type(
const vector<ty::Type>& args, optional<ty::Type> ret,
const vector<ty::Type>& closure)
The Compiler the the primary top-level type during compilation. A single instance is created during t...
A built-in integral type, such as I32 or Bool.
constexpr auto int8() -> IntTypePair
constexpr auto int64() -> IntTypePair
void declare_size_type(Compiler &)
auto find_or_create_fn_ptr_type(const vector< ty::Type > &args, optional< ty::Type > ret, bool c_varargs=false) -> ty::Function *
llvm::StringMap< unique_ptr< ty::BaseType > > known
constexpr auto int16() -> IntTypePair
auto find_or_create_fn_type(const vector< ty::Type > &args, optional< ty::Type > ret, const vector< ty::Type > &closure) -> ty::Function *
array< IntTypePair, 4 > int_types
constexpr auto int32() -> IntTypePair
std::vector< unique_ptr< ty::Function > > fn_types