Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-10 08:48:20

0001 //===------ IslOstream.h ----------------------------------------*- C++ -*-===//
0002 //
0003 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
0004 // See https://llvm.org/LICENSE.txt for license information.
0005 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
0006 //
0007 //===----------------------------------------------------------------------===//
0008 //
0009 // raw_ostream printers for isl C++ objects.
0010 //
0011 //===----------------------------------------------------------------------===//
0012 
0013 #include "polly/Support/GICHelper.h"
0014 #include "llvm/Support/raw_ostream.h"
0015 #include "isl/isl-noexceptions.h"
0016 namespace polly {
0017 
0018 #define ADD_OSTREAM_PRINTER(name)                                              \
0019   inline llvm::raw_ostream &operator<<(llvm::raw_ostream &OS,                  \
0020                                        const name &Obj) {                      \
0021     OS << stringFromIslObj(Obj);                                               \
0022     return OS;                                                                 \
0023   }
0024 
0025 ADD_OSTREAM_PRINTER(isl::aff)
0026 ADD_OSTREAM_PRINTER(isl::ast_expr)
0027 ADD_OSTREAM_PRINTER(isl::ast_node)
0028 ADD_OSTREAM_PRINTER(isl::basic_map)
0029 ADD_OSTREAM_PRINTER(isl::basic_set)
0030 ADD_OSTREAM_PRINTER(isl::map)
0031 ADD_OSTREAM_PRINTER(isl::set)
0032 ADD_OSTREAM_PRINTER(isl::id)
0033 ADD_OSTREAM_PRINTER(isl::multi_aff)
0034 ADD_OSTREAM_PRINTER(isl::multi_pw_aff)
0035 ADD_OSTREAM_PRINTER(isl::multi_union_pw_aff)
0036 ADD_OSTREAM_PRINTER(isl::point)
0037 ADD_OSTREAM_PRINTER(isl::pw_aff)
0038 ADD_OSTREAM_PRINTER(isl::pw_multi_aff)
0039 ADD_OSTREAM_PRINTER(isl::schedule)
0040 ADD_OSTREAM_PRINTER(isl::schedule_node)
0041 ADD_OSTREAM_PRINTER(isl::space)
0042 ADD_OSTREAM_PRINTER(isl::union_access_info)
0043 ADD_OSTREAM_PRINTER(isl::union_flow)
0044 ADD_OSTREAM_PRINTER(isl::union_set)
0045 ADD_OSTREAM_PRINTER(isl::union_map)
0046 ADD_OSTREAM_PRINTER(isl::union_pw_aff)
0047 ADD_OSTREAM_PRINTER(isl::union_pw_multi_aff)
0048 } // namespace polly