Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions include/tsar/Support/DiagnosticKinds.td
Original file line number Diff line number Diff line change
Expand Up @@ -228,5 +228,11 @@ def warn_reverse_increment_complex: Warning<"complex increment expression preven
def warn_reverse_condition_complex: Warning<"complex conditional expression prevents loop reversal">;
def warn_reverse_initialization_complex: Warning<"complex initialization expression prevents loop reversal">;

def error_not_var : Error<"Given DeclRefExpr is not a variable">;
def error_induction_not_canonical : Error<"unable to determine counter variable name: loop is not in a canonical form">;
def error_no_inductive_found : Error<"no inductive variables found in loop, specify them manually">;
def warn_evaluate_true : Warning<"given variable may not be inductive">;
def warn_induction_parameters : Warning<"could not determine parameters automatically, specify them manually">;

// Fortran-specific diagnostics.
def warn_fortran_no_execution_part: Warning<"unable to locate execution-part statmenets">;
2 changes: 1 addition & 1 deletion lib/Transform/Clang/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ set(TRANSFORM_SOURCES Passes.cpp ExprPropagation.cpp Inline.cpp RenameLocal.cpp
DeadDeclsElimination.cpp Format.cpp OpenMPAutoPar.cpp DVMHWriter.cpp
SharedMemoryAutoPar.cpp DVMHDirecitves.cpp DVMHSMAutoPar.cpp
DVMHDataTransferIPO.cpp StructureReplacement.cpp LoopInterchange.cpp
LoopReversal.cpp UnreachableCodeElimination.cpp)
LoopReversal.cpp UnreachableCodeElimination.cpp Inductive.cpp)

if(MSVC_IDE)
file(GLOB_RECURSE TRANSFORM_HEADERS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
Expand Down
Loading