add isl_ctx_alloc_with_pet_options
commit874f1a7cf2a5f0d4093fa59825a7cd6684efa9b6
authorSven Verdoolaege <skimo@kotnet.org>
Tue, 24 Nov 2015 14:12:06 +0000 (24 15:12 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Wed, 23 Dec 2015 08:08:07 +0000 (23 09:08 +0100)
tree9afcf2693e69544a525e62330ccaf4b3b100e657
parent92c5053eda69db624e0a57da3c2a279565579243
add isl_ctx_alloc_with_pet_options

The isl_ctx created by isl_ctx_alloc does not reference the pet options and
can therefore not be used in any pet operations.  Instead, the user needs
to construct an isl_ctx using isl_ctx_alloc_with_options with an option
hierarchy that includes the pet options.
The isl_ctx_alloc_with_pet_options function simplifies this process
in the case no extra options are required.
In particular, this will be useful for the upcoming python interface to pet.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
include/pet.h
options.c