mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-27 18:36:05 +00:00
Add files forgotten in r264452
llvm-svn: 264460
This commit is contained in:
parent
f3ab6d9e10
commit
7dcae2e14a
7
polly/lib/External/isl/include/isl/maybe.h
vendored
Normal file
7
polly/lib/External/isl/include/isl/maybe.h
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
#ifndef ISL_MAYBE_H
|
||||
#define ISL_MAYBE_H
|
||||
|
||||
#define ISL_xMAYBE(TYPE) isl_maybe_ ## TYPE
|
||||
#define ISL_MAYBE(TYPE) ISL_xMAYBE(TYPE)
|
||||
|
||||
#endif
|
8
polly/lib/External/isl/include/isl/maybe_ast_expr.h
vendored
Normal file
8
polly/lib/External/isl/include/isl/maybe_ast_expr.h
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
#ifndef ISL_MAYBE_AST_EXPR_H
|
||||
#define ISL_MAYBE_AST_EXPR_H
|
||||
|
||||
#define ISL_TYPE isl_ast_expr
|
||||
#include <isl/maybe_templ.h>
|
||||
#undef ISL_TYPE
|
||||
|
||||
#endif
|
8
polly/lib/External/isl/include/isl/maybe_basic_set.h
vendored
Normal file
8
polly/lib/External/isl/include/isl/maybe_basic_set.h
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
#ifndef ISL_MAYBE_BASIC_SET_H
|
||||
#define ISL_MAYBE_BASIC_SET_H
|
||||
|
||||
#define ISL_TYPE isl_basic_set
|
||||
#include <isl/maybe_templ.h>
|
||||
#undef ISL_TYPE
|
||||
|
||||
#endif
|
8
polly/lib/External/isl/include/isl/maybe_id.h
vendored
Normal file
8
polly/lib/External/isl/include/isl/maybe_id.h
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
#ifndef ISL_MAYBE_ID_H
|
||||
#define ISL_MAYBE_ID_H
|
||||
|
||||
#define ISL_TYPE isl_id
|
||||
#include <isl/maybe_templ.h>
|
||||
#undef ISL_TYPE
|
||||
|
||||
#endif
|
8
polly/lib/External/isl/include/isl/maybe_pw_aff.h
vendored
Normal file
8
polly/lib/External/isl/include/isl/maybe_pw_aff.h
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
#ifndef ISL_MAYBE_PW_AFF_H
|
||||
#define ISL_MAYBE_PW_AFF_H
|
||||
|
||||
#define ISL_TYPE isl_pw_aff
|
||||
#include <isl/maybe_templ.h>
|
||||
#undef ISL_TYPE
|
||||
|
||||
#endif
|
12
polly/lib/External/isl/include/isl/maybe_templ.h
vendored
Normal file
12
polly/lib/External/isl/include/isl/maybe_templ.h
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
#include <isl/ctx.h>
|
||||
#include <isl/maybe.h>
|
||||
|
||||
/* A structure that possibly contains a pointer to an object of type ISL_TYPE.
|
||||
* The pointer in "value" is only valid if "valid" is isl_bool_true.
|
||||
* Otherwise, "value" is set to NULL.
|
||||
*/
|
||||
struct ISL_MAYBE(ISL_TYPE) {
|
||||
isl_bool valid;
|
||||
ISL_TYPE *value;
|
||||
};
|
||||
typedef struct ISL_MAYBE(ISL_TYPE) ISL_MAYBE(ISL_TYPE);
|
Loading…
x
Reference in New Issue
Block a user