README: update LLVM/clang installation instructions
[pet.git] / id.h
blob8e1db2d9a7c8b1d6f0a8a2a3022385c5c4c3053f
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 clang::ValueDecl *pet_id_get_decl(__isl_keep isl_id *id);
16 clang::QualType pet_id_get_array_type(__isl_keep isl_id *id);
18 __isl_give pet_expr *pet_id_create_index_expr(__isl_take isl_id *id);
20 #endif