Skip to content

LoopTransformInterface

QY: Singular interface class which remembers configurations for loop optimizations*

Synopsis

Declared in <src/midend/programTransformation/loopProcessing/driver/LoopTransformInterface.h>

class LoopTransformInterface;

Static Member Functions

Name Description
CreateArrayAccess
static AstNodePtr CreateArrayAccess( AstNodePtr const& arr, AstInterface::AstList& index);
CreateDynamicFusionConfig
static AstNodePtr CreateDynamicFusionConfig( AstNodePtr const& groupNum, AstInterface::AstNodeList& args, int& id);
CreateDynamicFusionEnd
static AstNodePtr CreateDynamicFusionEnd(int id);
GetArrayBound
static bool GetArrayBound( AstNodePtr const& array, int dim, int& lb, int& ub);
GetFunctionCallSideEffect
static bool GetFunctionCallSideEffect( AstNodePtr const& fc, CollectObject<AstNodePtr>& collectmod, CollectObject<AstNodePtr>& collectread);
IsAliasedRef
static bool IsAliasedRef( AstNodePtr const& r1, AstNodePtr const& r2);
IsArrayAccess
static bool IsArrayAccess( AstNodePtr const& s, AstNodePtr* array = 0, AstInterface::AstNodeList* index = 0);
IsDynamicFusionConfig
static bool IsDynamicFusionConfig( AstNodePtr const& n, AstNodePtr* configvar = 0, int* configID = 0, AstInterface::AstNodeList* params = 0);
IsDynamicFusionEnd
static bool IsDynamicFusionEnd(AstNodePtr const& n);
IsMemoryAccess
static bool IsMemoryAccess(AstNodePtr const& s);
IsUniqueArray
static bool IsUniqueArray(AstNodePtr const& array);
PrintTransformUsage
static void PrintTransformUsage(std::ostream& out);
TransformTraverse
static AstNodePtr TransformTraverse( AstInterfaceImpl& scope, AstNodePtr const& head);
*** QY: apply transformations to head; return the transformation result**
cmdline_configure
static void cmdline_configure(std::vector<std::string>& argv);
getAliasInfo
static AliasAnalysisInterface* getAliasInfo();
getAstInterface
static AstInterface& getAstInterface();
getSideEffectInterface
static FunctionSideEffectInterface* getSideEffectInterface();
get_arrayInfo
static ArrayAbstractionInterface* get_arrayInfo();
get_astInterface
static AstInterface* get_astInterface();
set_aliasInfo
static void set_aliasInfo(AliasAnalysisInterface* alias);
set_arrayInfo
static void set_arrayInfo(ArrayAbstractionInterface* array);
set_astInterface
static void set_astInterface(AstInterface& _fa);
set_astInterfacePtr
static void set_astInterfacePtr(AstInterface* fa_ptr);
set_sideEffectInfo
static void set_sideEffectInfo(FunctionSideEffectInterface* func);

Private Static Data Members

Name
aliasInfo
arrayInfo
configIndex
fa
funcInfo

Created with MrDocs