Lines Matching full:generator

44 #include "generator.h"
61 if (!generator::is_isl_type(type)) in first_arg_matches_class()
63 return generator::extract_type(type) == name; in first_arg_matches_class()
84 bool generator::is_static(const isl_class &clazz, FunctionDecl *method) in is_static()
93 bool generator::is_mutator(const isl_class &clazz, FunctionDecl *fd) in is_mutator()
117 FunctionDecl *generator::find_by_name(const string &name, bool required) in find_by_name()
132 const std::set<std::string> generator::automatic_conversion_functions = {
145 void generator::extract_automatic_conversion(FunctionDecl *fd) in extract_automatic_conversion()
165 void generator::extract_class_automatic_conversions(const isl_class &clazz) in extract_class_automatic_conversions()
181 void generator::extract_automatic_conversions() in extract_automatic_conversions()
196 void generator::add_subclass(RecordDecl *decl, const string &super_name, in add_subclass()
213 void generator::add_class(RecordDecl *decl) in add_class()
225 void generator::add_type_subclasses(FunctionDecl *fn_type) in add_type_subclasses()
290 if (!generator::is_mutator(*c, fd)) in handled_sets_enum()
317 ParmVarDecl *generator::persistent_callback_arg(FunctionDecl *fd) in persistent_callback_arg()
333 if (!generator::is_mutator(*c, fd)) in sets_persistent_callback()
337 param = generator::persistent_callback_arg(fd); in sets_persistent_callback()
338 if (!generator::is_callback(param->getType())) in sets_persistent_callback()
385 generator::generator(SourceManager &SM, set<RecordDecl *> &exported_types, in generator() function in generator
442 void generator::die(const char *msg) in die()
450 void generator::die(string msg) in die()
471 std::vector<string> generator::find_superclasses(Decl *decl) in find_superclasses()
503 bool generator::is_subclass(FunctionDecl *decl) in is_subclass()
510 bool generator::is_overload(Decl *decl) in is_overload()
517 bool generator::is_constructor(Decl *decl) in is_constructor()
524 bool generator::takes(Decl *decl) in takes()
531 bool generator::keeps(Decl *decl) in keeps()
538 bool generator::gives(Decl *decl) in gives()
546 isl_class *generator::method2class(FunctionDecl *fd) in method2class()
569 bool generator::is_isl_ctx(QualType type) in is_isl_ctx()
582 bool generator::first_arg_is_isl_ctx(FunctionDecl *fd) in first_arg_is_isl_ctx()
628 bool generator::callback_takes_argument(ParmVarDecl *param, in callback_takes_argument()
671 bool generator::is_isl_type(QualType type) in is_isl_type()
689 bool generator::is_isl_neg_error(QualType type) in is_isl_neg_error()
709 bool generator::is_isl_bool(QualType type) in is_isl_bool()
716 bool generator::is_isl_stat(QualType type) in is_isl_stat()
723 bool generator::is_isl_size(QualType type) in is_isl_size()
730 bool generator::is_callback(QualType type) in is_callback()
740 bool generator::is_callback_arg(FunctionDecl *fd, int i) in is_callback_arg()
750 bool generator::is_string(QualType type) in is_string()
762 bool generator::is_long(QualType type) in is_long()
779 string generator::extract_type(QualType type) in extract_type()
789 const FunctionProtoType *generator::extract_prototype(QualType type) in extract_prototype()
797 int generator::prototype_n_args(QualType type) in prototype_n_args()
814 if (generator::is_isl_type(type)) in type_suffix()
815 return generator::extract_type(type).substr(3); in type_suffix()
818 generator::die("Unsupported type suffix"); in type_suffix()
824 std::string generator::drop_suffix(const std::string &s, in drop_suffix()
851 if (!generator::is_overload(method)) in name_without_type_suffixes()
862 name = generator::drop_suffix(name, type); in name_without_type_suffixes()