Files
SAPFOR/Sapfor/_src/SageAnalysisTool/constanteSet.h
2025-03-25 20:39:29 +03:00

20 lines
458 B
C

#pragma once
//
// Here we compute the induction variables for a loop
// this use the result of recheing analysis and invariant computation in loop.
// we use as element of sets the following structure.
//
struct constprop
{
int flag; // can be UNDEFFLAG, NONCONSTFLAG, CONSTFLAG
SgExpression *var; // this is a var ref;
int value;
SgStatement *stmt;
SgExpression *expr;
};
typedef struct constprop *PT_CONSTPROP;