-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathid.h
More file actions
22 lines (17 loc) · 674 Bytes
/
id.h
File metadata and controls
22 lines (17 loc) · 674 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef PET_ID_H
#define PET_ID_H
#include <clang/AST/Decl.h>
#include <clang/AST/Type.h>
#include <isl/id.h>
#include "expr.h"
__isl_give isl_id *pet_id_from_decl(isl_ctx *ctx, clang::ValueDecl *decl);
__isl_give isl_id *pet_id_from_name_and_decl(isl_ctx *ctx, const char *name,
clang::ValueDecl *decl);
__isl_give isl_id *pet_id_arg_from_type(isl_ctx *ctx, int n,
clang::QualType qt);
__isl_give isl_id *pet_id_ret_from_type(isl_ctx *ctx, int n,
clang::QualType qt);
clang::ValueDecl *pet_id_get_decl(__isl_keep isl_id *id);
clang::QualType pet_id_get_array_type(__isl_keep isl_id *id);
__isl_give pet_expr *pet_id_create_index_expr(__isl_take isl_id *id);
#endif