Polly 20.0.0git
Namespaces | Macros | Functions
isl_test_cpp-checked.cc File Reference
#include <vector>
#include <string>
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <isl/options.h>
#include <isl/cpp-checked.h>
#include "isl_test_cpp-generic.cc"

Go to the source code of this file.

Namespaces

namespace  isl
 These are automatically generated checked C++ bindings for isl.
 

Macros

#define assert(exp)   assert_impl(exp, __FILE__, __LINE__, #exp)
 
#define IS_TRUE(b)   (b).is_true()
 
#define SIZE_VAL(s)   size_val(s)
 

Functions

static void assert_impl (bool condition, const char *file, int line, const char *message)
 
static void assert_impl (isl::boolean condition, const char *file, int line, const char *message)
 
static int size_val (isl::size s)
 
void test_return_bool (isl::ctx ctx)
 
void test_return (isl::ctx ctx)
 
void test_foreach (isl::ctx ctx)
 
static void test_every (isl::ctx ctx)
 
static void test_schedule_tree (isl::ctx ctx)
 
static void test_ast_build (isl::ctx ctx)
 
int main ()
 

Macro Definition Documentation

◆ assert

#define assert (   exp)    assert_impl(exp, __FILE__, __LINE__, #exp)

Definition at line 43 of file isl_test_cpp-checked.cc.

◆ IS_TRUE

#define IS_TRUE (   b)    (b).is_true()

Definition at line 44 of file isl_test_cpp-checked.cc.

◆ SIZE_VAL

#define SIZE_VAL (   s)    size_val(s)

Definition at line 45 of file isl_test_cpp-checked.cc.

Function Documentation

◆ assert_impl() [1/2]

static void assert_impl ( bool  condition,
const char *  file,
int  line,
const char *  message 
)
static

Definition at line 19 of file isl_test_cpp-checked.cc.

References condition.

Referenced by assert_impl().

◆ assert_impl() [2/2]

static void assert_impl ( isl::boolean  condition,
const char *  file,
int  line,
const char *  message 
)
static

Definition at line 29 of file isl_test_cpp-checked.cc.

References assert_impl(), and condition.

◆ main()

int main ( )

◆ size_val()

static int size_val ( isl::size  s)
static

Definition at line 37 of file isl_test_cpp-checked.cc.

References isl::size::is_error().

◆ test_ast_build()

static void test_ast_build ( isl::ctx  ctx)
static

Definition at line 243 of file isl_test_cpp-checked.cc.

References assert, schedule, and test_ast_build_generic().

Referenced by main().

◆ test_every()

static void test_every ( isl::ctx  ctx)
static

◆ test_foreach()

void test_foreach ( isl::ctx  ctx)

◆ test_return()

void test_return ( isl::ctx  ctx)

Definition at line 118 of file isl_test_cpp-checked.cc.

References test_return_bool(), test_return_int(), test_return_obj(), and test_return_string().

Referenced by main().

◆ test_return_bool()

void test_return_bool ( isl::ctx  ctx)

◆ test_schedule_tree()

static void test_schedule_tree ( isl::ctx  ctx)
static

Definition at line 188 of file isl_test_cpp-checked.cc.

References assert, count(), domain, inc_count(), and test_schedule_tree_generic().

Referenced by main().