Age | Commit message (Collapse) | Author | Files | Lines |
|
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
|
|
The results of mpz_gcdext are not uniquely defined and may depend
on the version of GMP used. Since the results may influence the
construction of the stride offset in detect_stride in isl_ast_build.c,
this may result in user visible differences.
We therefore try to obtain more consistent results by analyzing
the results of the installed version of GMP and calling a modified
version of mpz_gcdext if needed. This modified version may not
be complete and may still have to be extended. In the worst case,
we may have to revert to the open-coded version that was removed in
10a7f8a (isl_ast_build.c: use isl_int_gcdext instead of open-coded version,
Wed Apr 17 17:51:55 2013 +0200).
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
|
|
Until now a missing gmp.h was only detected during compilation
and a missing/old library only during linking.
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
|
|
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
|
|
Apparently, the bitreader component is required for ASTReader and
is no longer included implicitly.
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
|
|
In particular, the IsUserSpecified argument has been removed.
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
|
|
In particular, CompilerInstance::createDiagnostics no longer takes
argc and argv as arugments.
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
|
|
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
|
|
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
|
|
In particular, the Driver constructor no longer takes an IsProduction argument.
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
|
|
Newer versions of clang take a pointer, while older versions take a reference.
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
|
|
DiagnosticOptions was moved from Frontend to Basic and
createDiagnostics now takes a pointer to a DiagnosticOptions object.
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
|
|
This functionality is similar to that offered by CLooG and codegen(+).
The implementation in isl allows for a bit more control on how
the ASTs are generated by means of fairly flexible options.
It also has proper support for nested AST generation.
The outputs of all test cases have been verified by parsing them
using pet and then checking that the set of calls corresponds exactly
to the domain of the schedule and that they are called in an order
that matches the schedule.
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
|
|
Since 74e0407 (configure.ac: only link against libraries from LLVM
analysis component, Wed Jan 18 16:47:38 2012 +0100), we only link
against some components of LLVM, but the choice of which components
to include was made fairly arbitrarily.
This appeared to work, but fails do so on more recent versions of clang.
Instead, we now link against the same LLVM components as libclang.so.
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
|
|
This will fail at some point during the installation anyway,
so it's better to check early.
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
|
|
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
|
|
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
|
|
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
|
|
In recent versions of clang, HandleTopLevelDecl should return a boolean
indicating whether parsing should continue.
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
|
|
Before, we would link against all LLVM components, which would make
us depend on google-test.
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
|
|
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
|
|
This allows users without clang to perform a "make dist".
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
|
|
Recent clang perform the Linux header searching in the driver instead
of the fronted. We therefore need to call the driver to obtain
the system include paths and pass them along to the frontend.
Helped-by: Chandler Carruth <chandlerc@google.com>
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
|
|
In particular, getHostTriple has been renamed to getDefaultTargetTriple.
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
|
|
This patch allows --with-gmp=build (and thus makes --with-gmp-builddir= work)
This patch is required to restore possibility to build gmp and cloog in a
combined tree with gcc.
Signed-off-by: Serge Belyshev <belyshev@depni.sinp.msu.ru>
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
|
|
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
|
|
Reported-by: Tobias Grosser <tobias@grosser.es>
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
|
|
Currently, we only support the generation of a Python interface.
In particular, a ctypes based interface.
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
|
|
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
|
|
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
|
|
isl is at the moment free of warnings with 'clang -Wall'. To maintain this
enable -Wall by default. In case false positives show up, we disable the
corresponding warning type by adding e.g. -Wno-return-type. To disable all
warnings configure or compile with CFLAGS=-Wno-all.
Signed-off-by: Tobias Grosser <tobias@grosser.es>
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
|
|
The old form was deprecated back in automake 1.6, so it's probably
about time to switch.
The new form allows us to specify automake options, which in turn
allows us to use "autoreconf -i" instead of the current autogen.sh script.
This is especially useful for OS X users. OS X comes with its own
libtool, which is different from GNU's. GNU libtool is therefore
usually made available as glibtool and libtoolize as glibtoolize.
The current autogen.sh script therefore does not work as is for those users.
autoreconf would have the same problem, except that the macport version
of autoconf has a pathed version of autoreconf which looks for
glibtoolize instead of libtoolize.
Reported-by: Louis-Noel Pouchet <pouchet@cse.ohio-state.edu>
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
|
|
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
|
|
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
|
|
AM_SILENT_RULES is not available in earlier versions of automake,
so test for its presence before calling it.
Reported-by: Louis-Noel Pouchet <pouchet@cse.ohio-state.edu>
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
|
|
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
|
|
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
|
|
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
|
|
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
|
|
We need to turn on the nostdinc option of automake as otherwise
it would include -I$(top_builddir)/include/isl in DEFAULT_INCLUDES
because of
AC_CONFIG_HEADERS(include/isl/config.h)
in configure.ac.
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
|
|
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
|
|
|
|
|
|
|
|
309036c (add copyright statements) accidentally removed the piplib submodule.
Removing the piplib submodule was not a bad idea since we don't really need it
anymore, but it should be done properly.
|
|
These functions could be seen as being derived work from PolyLib
and would therefore infect the whole library with the GPLv2 license.
They will be moved into a separate isl-polylib library.
|
|
|
|
|
|
|
|
|