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

Go to the source code of this file.

Macros

#define die(msg)   die_impl(__FILE__, __LINE__, msg)
 
#define assert(exp)   assert_impl(exp, __FILE__, __LINE__, #exp)
 

Functions

static void die_impl (const char *file, int line, const char *message)
 
static void assert_impl (bool condition, const char *file, int line, const char *message)
 
static void test_return_bool (isl::ctx ctx)
 
static void test_return (isl::ctx ctx)
 
static void test_foreach (isl::ctx ctx)
 
static void test_foreach_scc (isl::ctx ctx)
 
static void test_every (isl::ctx ctx)
 
static void test_exception (isl::ctx ctx)
 
static void test_schedule_tree (isl::ctx ctx)
 
static void test_ast_build (isl::ctx ctx)
 
static void test_typed (isl::ctx ctx)
 
int main ()
 

Macro Definition Documentation

◆ assert

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

Definition at line 37 of file isl_test_cpp.cc.

◆ die

#define die (   msg)    die_impl(__FILE__, __LINE__, msg)

Definition at line 35 of file isl_test_cpp.cc.

Function Documentation

◆ assert_impl()

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

Definition at line 26 of file isl_test_cpp.cc.

References condition, and die_impl().

◆ die_impl()

static void die_impl ( const char *  file,
int  line,
const char *  message 
)
static

Definition at line 20 of file isl_test_cpp.cc.

Referenced by assert_impl().

◆ main()

int main ( )

◆ test_ast_build()

static void test_ast_build ( isl::ctx  ctx)
static

Definition at line 281 of file isl_test_cpp.cc.

References assert, schedule, and test_ast_build_generic().

Referenced by main().

◆ test_every()

static void test_every ( isl::ctx  ctx)
static

Definition at line 156 of file isl_test_cpp.cc.

References assert, die, isl::union_set::every_set(), and test_every_generic().

Referenced by main().

◆ test_exception()

static void test_exception ( isl::ctx  ctx)
static

Definition at line 180 of file isl_test_cpp.cc.

References assert, die, isl::union_map::from(), and mupa.

Referenced by main().

◆ test_foreach()

static void test_foreach ( isl::ctx  ctx)
static

Definition at line 87 of file isl_test_cpp.cc.

References assert, die, isl::set::foreach_basic_set(), and is_equal().

Referenced by main().

◆ test_foreach_scc()

static void test_foreach_scc ( isl::ctx  ctx)
static

◆ test_return()

static void test_return ( isl::ctx  ctx)
static

Definition at line 72 of file isl_test_cpp.cc.

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

Referenced by main().

◆ test_return_bool()

static void test_return_bool ( isl::ctx  ctx)
static

Definition at line 46 of file isl_test_cpp.cc.

References assert, die, and isl::set::is_empty().

Referenced by test_return().

◆ test_schedule_tree()

static void test_schedule_tree ( isl::ctx  ctx)
static

◆ test_typed()

static void test_typed ( isl::ctx  ctx)
static

Definition at line 328 of file isl_test_cpp.cc.

Referenced by main().