Polly 19.0.0git
Classes | Namespaces | Macros | Functions
GICHelper.h File Reference
#include "llvm/ADT/APInt.h"
#include "llvm/IR/DiagnosticInfo.h"
#include "llvm/Support/raw_ostream.h"
#include "isl/ctx.h"
#include "isl/isl-noexceptions.h"
#include "isl/options.h"

Go to the source code of this file.

Classes

class  polly::IslQuotaScope
 Scope guard for code that allows arbitrary isl function to return an error if the max-operations quota exceeds. More...
 
class  polly::IslMaxOperationsGuard
 Scoped limit of ISL operations. More...
 

Namespaces

namespace  polly
 

Macros

#define ISL_CPP_OBJECT_TO_STRING(name)
 Get c++ string from Isl objects.
 
#define ISL_OBJECT_TO_STRING(name)
 
#define ISL_DUMP_OBJECT(name)
 C++ wrapper for isl_*_dump() functions.
 

Functions

__isl_give isl_valpolly::isl_valFromAPInt (isl_ctx *Ctx, const llvm::APInt Int, bool IsSigned)
 Translate an llvm::APInt to an isl_val.
 
isl::val polly::valFromAPInt (isl_ctx *Ctx, const llvm::APInt Int, bool IsSigned)
 Translate an llvm::APInt to an isl::val.
 
llvm::APInt polly::APIntFromVal (__isl_take isl_val *Val)
 Translate isl_val to llvm::APInt.
 
llvm::APInt polly::APIntFromVal (isl::val V)
 Translate isl::val to llvm::APInt.
 
llvm::raw_ostream & polly::operator<< (llvm::raw_ostream &OS, __isl_keep isl_union_map *Map)
 
llvm::raw_ostream & polly::operator<< (llvm::raw_ostream &OS, __isl_keep isl_map *Map)
 
llvm::raw_ostream & polly::operator<< (llvm::raw_ostream &OS, __isl_keep isl_set *Set)
 
llvm::raw_ostream & polly::operator<< (llvm::raw_ostream &OS, __isl_keep isl_pw_aff *Map)
 
llvm::raw_ostream & polly::operator<< (llvm::raw_ostream &OS, __isl_keep isl_pw_multi_aff *PMA)
 
llvm::raw_ostream & polly::operator<< (llvm::raw_ostream &OS, __isl_keep isl_multi_aff *MA)
 
llvm::raw_ostream & polly::operator<< (llvm::raw_ostream &OS, __isl_keep isl_union_pw_multi_aff *UPMA)
 
llvm::raw_ostream & polly::operator<< (llvm::raw_ostream &OS, __isl_keep isl_schedule *Schedule)
 
llvm::raw_ostream & polly::operator<< (llvm::raw_ostream &OS, __isl_keep isl_space *Space)
 
std::string polly::getIslCompatibleName (const std::string &Prefix, const llvm::Value *Val, long Number, const std::string &Suffix, bool UseInstructionNames)
 Combine Prefix, Val (or Number) and Suffix to an isl-compatible name.
 
std::string polly::getIslCompatibleName (const std::string &Prefix, const std::string &Middle, long Number, const std::string &Suffix, bool UseInstructionNames)
 Combine Prefix, Name (or Number) and Suffix to an isl-compatible name.
 
std::string polly::getIslCompatibleName (const std::string &Prefix, const std::string &Middle, const std::string &Suffix)
 
llvm::DiagnosticInfoOptimizationBase & polly::operator<< (llvm::DiagnosticInfoOptimizationBase &OS, const isl::union_map &Obj)
 
void polly::dumpIslObj (const isl::schedule_node &Node, llvm::raw_ostream &OS)
 Emit the equivaltent of the isl_*_dump output into a raw_ostream.
 
void polly::dumpIslObj (__isl_keep isl_schedule_node *node, llvm::raw_ostream &OS)
 

Macro Definition Documentation

◆ ISL_CPP_OBJECT_TO_STRING

#define ISL_CPP_OBJECT_TO_STRING (   name)
Value:
inline std::string stringFromIslObj(const name &Obj, \
std::string DefaultValue = "") { \
return stringFromIslObj(Obj.get(), DefaultValue); \
}
const char * name
Definition: isl_test.c:10938

Get c++ string from Isl objects.

Definition at line 153 of file GICHelper.h.

◆ ISL_DUMP_OBJECT

#define ISL_DUMP_OBJECT (   name)
Value:
void dumpIslObj(const isl::name &Obj); \
void dumpIslObj(isl_##name *Obj);

C++ wrapper for isl_*_dump() functions.

Definition at line 193 of file GICHelper.h.

◆ ISL_OBJECT_TO_STRING

#define ISL_OBJECT_TO_STRING (   name)
Value:
std::string stringFromIslObj(__isl_keep isl_##name *Obj, \
std::string DefaultValue = ""); \
ISL_CPP_OBJECT_TO_STRING(isl::name)
#define __isl_keep
Definition: ctx.h:25

Definition at line 159 of file GICHelper.h.