00001 00015 #ifndef XAIFIRInterface_h 00016 #define XAIFIRInterface_h 00017 00018 #include <OpenAnalysis/Utils/OA_ptr.hpp> 00019 #include <OpenAnalysis/IRInterface/IRHandles.hpp> 00020 00021 namespace OA { 00022 namespace XAIF { 00023 00027 class XAIFIRInterface : public virtual IRHandlesIRInterface { 00028 public: 00029 XAIFIRInterface() { } 00030 virtual ~XAIFIRInterface() { } 00031 00037 //FIXME: this is currently broken, probably want to get rid of it 00038 //virtual OA_ptr<IRTopMemRefIterator> getTopMemRefIterator(StmtHandle h) = 0; 00039 00043 virtual OA_ptr<IRStmtIterator> getStmtIterator(ProcHandle h) = 0; 00044 00048 virtual OA_ptr<MemRefHandleIterator> getAllMemRefs(StmtHandle stmt) = 0; 00049 00050 00051 }; 00052 00053 } // end of namespace XAIF 00054 } // end of namespace OA 00055 00056 #endif
1.7.1