update isl to version 0.25
[pet.git] / id.h
blob624daf8cc140bd570c9ae8d7d55605f1fb860350
1 #ifndef PET_ID_H
2 #define PET_ID_H
4 #include <clang/AST/Decl.h>
5 #include <clang/AST/Type.h>
6 #include <isl/id.h>
8 #include "expr.h"
10 __isl_give isl_id *pet_id_from_decl(isl_ctx *ctx, clang::ValueDecl *decl);
11 __isl_give isl_id *pet_id_from_name_and_decl(isl_ctx *ctx, const char *name,
12 clang::ValueDecl *decl);
13 __isl_give isl_id *pet_id_arg_from_type(isl_ctx *ctx, int n,
14 clang::QualType qt);
15 __isl_give isl_id *pet_id_ret_from_type(isl_ctx *ctx, int n,
16 clang::QualType qt);
17 clang::ValueDecl *pet_id_get_decl(__isl_keep isl_id *id);
18 clang::QualType pet_id_get_array_type(__isl_keep isl_id *id);
20 __isl_give pet_expr *pet_id_create_index_expr(__isl_take isl_id *id);
22 #endif